Skip to the content
Documentation

The Integer Field Type: comparison of v.1 vs v.2

No ratings yet

Versions Compared

Old Version 1

changes.mady.by.user Petar Spanja

Saved on May 23, 2014

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on Jan 28, 2016

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This field type Field Type represents an integer value.

...

Table of Contents
minLevel 2

Description

This FieldType Field Type stores numeric values which will be provided as integers.

Input expectations

Type Example
integer 2397

Value object

...

Hash format

Hash value of this FieldType Field Type is simply integer value as a string.

...

String representation of the FieldTypeField Type's value will return the integer value as a string.

Example:

"8"

Validation

This FieldType Field Type supports IntegerValueValidator, defining maximal and minimal float value:

...

Code Block
language php
title Example of validator configuration in PHP
linenumbers true
$validatorConfiguration = array(
	"minIntegerValue" => 1,
	"maxIntegerValue" => 24
);

Settings

This FieldType Field Type does not support settings.

...

Comments

Add a comment

Comments are read by a moderator before they appear.