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 getMessages ()
 boolean isValid (mixed $value)
Methods
getMessages (line 52)

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 42)

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 Sat, 05 May 2007 11:55:52 -0700 by phpDocumentor 1.3.2