Public Member Functions | |
__construct ($max) | |
getMax () | |
setMax ($max) | |
isValid ($value) | |
Data Fields | |
const | NOT_LESS = 'notLessThan' |
Protected Attributes | |
$_messageTemplates | |
$_messageVariables | |
$_max |
Definition at line 36 of file LessThan.php.
__construct | ( | $ | max ) |
Sets validator options
mixed | $max |
Definition at line 68 of file LessThan.php.
getMax | ( | ) |
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value is less than max option
mixed | $value |
Implements Zend_Validate_Interface.
Definition at line 103 of file LessThan.php.
setMax | ( | $ | max ) |
Sets the max option
mixed | $max |
Definition at line 89 of file LessThan.php.
$_messageTemplates [protected] |
array(
self::NOT_LESS => "'%value%' is not less than '%max%'"
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 44 of file LessThan.php.
$_messageVariables [protected] |
array( 'max' => '_max' )
Reimplemented from Zend_Validate_Abstract.
Definition at line 51 of file LessThan.php.