static boolean
is
(mixed $value, string $classBaseName, [ $args = array()], [mixed $namespaces = array()])
-
mixed
$value
-
string
$classBaseName
-
array
$args: OPTIONAL
-
mixed
$namespaces: OPTIONAL
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.
Defined by Zend_Validate_Interface
Returns array of validation failure messages
array
getErrors
()
Implementation of:
- Zend_Validate_Interface::getErrors()
- Returns an array of errors that explain why a previous isValid() call returned false.
Defined by Zend_Validate_Interface
Returns array of validation failure messages
array
getMessages
()
Implementation of:
- Zend_Validate_Interface::getMessages()
- Returns an array of messages that explain why a previous isValid() call returned false.
Returns true if and only if $value passes all validations in the chain
Validators are run in the order in which they were added to the chain (FIFO).
boolean
isValid
(mixed $value)
Implementation of:
- Zend_Validate_Interface::isValid()
- Returns true if and only if $value meets the validation requirements