Zend_Validate_Interface::isValid
Returns true if and only if $value meets the validation requirements
If $value fails validation, then this method returns false, and getMessages() will return an array of messages that explain why the validation failed.
Signature
public function isValid(mixed
$value )
Parameters
$value
— mixed
Returns
- boolean
Errors/Exceptions
-
Zend_Valid_Exception
- If validation of $value is impossible