Zend_Validate::addValidator
Adds a validator to the end of the chain
If $breakChainOnFailure is true, then if the validator fails, the next validator in the chain, if one exists, will not be executed.
Signature
public function addValidator(Zend_Validate_Interface
$validator,
[boolean
$breakChainOnFailure = false] )
Parameters
$validator
— Zend_Validate_Interface
$breakChainOnFailure
— boolean
Returns
- Zend_Validate
- Provides a fluent interface