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


Public Member Functions | |
| isValid ($value) | |
Data Fields | |
| const | INVALID = 'hexInvalid' |
| const | NOT_HEX = 'notHex' |
Protected Attributes | |
| $_messageTemplates | |
| isValid | ( | $ | value | ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value contains only hexadecimal digit characters
| string | $value |
Implements Zend_Validate_Interface.
Definition at line 56 of file Hex.php.

$_messageTemplates [protected] |
array( self::INVALID => "Invalid type given, value should be a string", self::NOT_HEX => "'%value%' has not only hexadecimal digit characters", )
Reimplemented from Zend_Validate_Abstract.