|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($max) | |
| getMax () | |
| setMax ($max) | |
| isValid ($value) | |
Data Fields | |
| const | NOT_LESS = 'notLessThan' |
Protected Attributes | |
| $_messageTemplates | |
| $_messageVariables | |
| $_max | |
Definition at line 33 of file LessThan.php.
| __construct | ( | $ | max | ) |
Sets validator options
| mixed | Zend_Config | $max |
Definition at line 64 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 112 of file LessThan.php.

| setMax | ( | $ | max | ) |
Sets the max option
| mixed | $max |
Definition at line 98 of file LessThan.php.

$_max [protected] |
Definition at line 56 of file LessThan.php.
$_messageTemplates [protected] |
array( self::NOT_LESS => "'%value%' is not less than '%max%'" )
Reimplemented from Zend_Validate_Abstract.
Definition at line 40 of file LessThan.php.
$_messageVariables [protected] |
array( 'max' => '_max' )
Reimplemented from Zend_Validate_Abstract.
Definition at line 47 of file LessThan.php.
| const NOT_LESS = 'notLessThan' |
Definition at line 35 of file LessThan.php.