ClassInterface Zend_Validate_Interface

Description
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Validate/Interface.php (line 30)


	
			
Method Summary
 array getErrors ()
 array getMessages ()
 boolean isValid (mixed $value)
Methods
getErrors (line 65)

Returns an array of errors 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.

  • access: public
array getErrors ()
getMessages (line 54)

Returns an array of messages 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.

  • access: public
array getMessages ()
isValid (line 43)

Returns true if and only if $value meets the validation requirements

If $value fails validation, then this method returns false, and $messages will contain an array of messages that explain why the validation failed.

  • throws: Zend_Valid_Exception If validation of $value is impossible
  • access: public
boolean isValid (mixed $value)
  • mixed $value

Documentation generated on Sun, 27 May 2007 23:25:07 -0700 by phpDocumentor 1.3.2