Public Member Functions | |
isValid ($value) | |
Data Fields | |
const | NOT_DIGITS = 'notDigits' |
const | STRING_EMPTY = 'stringEmpty' |
const | INVALID = 'digitsInvalid' |
Protected Attributes | |
$_messageTemplates | |
Static Protected Attributes | |
static | $_filter = null |
Definition at line 36 of file Digits.php.
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value only contains digit characters
string | $value |
Implements Zend_Validate_Interface.
Definition at line 68 of file Digits.php.
$_messageTemplates [protected] |
array( self::NOT_DIGITS => "'%value%' contains not only digit characters", self::STRING_EMPTY => "'%value%' is an empty string", self::INVALID => "Invalid type given, value should be string, integer or float", )
Reimplemented from Zend_Validate_Abstract.
Definition at line 54 of file Digits.php.