Public Member Functions | |
__construct ($token=null) | |
setToken ($token) | |
getToken () | |
isValid ($value) | |
Data Fields | |
const | NOT_SAME = 'notSame' |
const | MISSING_TOKEN = 'missingToken' |
Protected Attributes | |
$_messageTemplates | |
$_messageVariables | |
$_tokenString | |
$_token |
Definition at line 31 of file Identical.php.
__construct | ( | $ | token = null ) |
Sets validator options
mixed | $token |
Definition at line 69 of file Identical.php.
getToken | ( | ) |
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if a token has been set and the provided value matches that token.
mixed | $value |
Implements Zend_Validate_Interface.
Definition at line 108 of file Identical.php.
setToken | ( | $ | token ) |
Set token against which to compare
mixed | $token |
Definition at line 82 of file Identical.php.
$_messageTemplates [protected] |
array( self::NOT_SAME => "The token '%token%' does not match the given token '%value%'", self::MISSING_TOKEN => 'No token was provided to match against', )
Reimplemented from Zend_Validate_Abstract.
Definition at line 44 of file Identical.php.
$_messageVariables [protected] |
array( 'token' => '_tokenString' )
Reimplemented from Zend_Validate_Abstract.
Definition at line 52 of file Identical.php.
const NOT_SAME = 'notSame' |
Error codes string
Definition at line 37 of file Identical.php.