Zend_Validate_Interface::getErrors
Returns an array of message codes that explain why a previous isValid() call returned false.
If isValid() was never called or if the most recent isValid() call returned true, then this method returns an empty array. This is now the same as calling array_keys() on the return value from getMessages().
Signature
public function getErrors()
Returns
- array