ClassInterface Zend_Validate_Interface

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

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.

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

Documentation generated on Thu, 18 Jan 2007 10:00:58 -0800 by phpDocumentor 1.3.1