|
eZ Publish
[4.2]
|
The class eZIntegerValidator does. More...
Inheritance diagram for eZIntegerValidator:
Collaboration diagram for eZIntegerValidator:Public Member Functions | |
| eZIntegerValidator ($min=false, $max=false) | |
| fixup ($text) | |
| setRange ($min, $max) | |
| validate ($text) | |
Public Attributes | |
| $MaxValue | |
| $MinValue | |
The class eZIntegerValidator does.
Definition at line 40 of file ezintegervalidator.php.
| eZIntegerValidator::eZIntegerValidator | ( | $ | min = false, |
| $ | max = false |
||
| ) |
Constructor
Definition at line 45 of file ezintegervalidator.php.
| eZIntegerValidator::fixup | ( | $ | text | ) |
Tries to fix the text $text which was previously marked as eZInputValidator::STATE_INTERMEDIATE so that it can be seen as eZInputValidator::STATE_ACCEPTED.
Reimplemented from eZRegExpValidator.
Definition at line 77 of file ezintegervalidator.php.
| eZIntegerValidator::setRange | ( | $ | min, |
| $ | max | ||
| ) |
Definition at line 57 of file ezintegervalidator.php.
| eZIntegerValidator::validate | ( | $ | text | ) |
Tries to validate to the text $text and returns one of the validator states eZInputValidator::STATE_ACCEPTED, eZInputValidator::STATE_INTERMEDIATE or eZInputValidator::STATE_INVALID. This returns eZInputValidator::STATE_ACCEPTED as default and must be reimplemented in real valiators.
Reimplemented from eZRegExpValidator.
Definition at line 65 of file ezintegervalidator.php.
| eZIntegerValidator::$MaxValue |
Definition at line 90 of file ezintegervalidator.php.
| eZIntegerValidator::$MinValue |
Definition at line 89 of file ezintegervalidator.php.