Public Member Functions | |
isValid ($value) | |
Data Fields | |
const | INVALID = 'hexInvalid' |
const | NOT_HEX = 'notHex' |
Protected Attributes | |
$_messageTemplates |
Definition at line 36 of file Hex.php.
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.
$_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.