ClassInterface Zend_Validate_Interface

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

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


	
			
Direct descendents
Class Description
 class Zend_Captcha_Adapter Generic Captcha adapter interface
Method Summary
 array getMessages ()
 boolean isValid (mixed $value)
Methods
getMessages (line 53)

Returns an array of messages that explain why the most recent isValid() call returned false. The array keys are validation failure message identifiers, and the array values are the corresponding human-readable message strings.

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

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

If $value fails validation, then this method returns false, and getMessages() will return 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 Mon, 21 Jun 2010 15:29:35 -0400 by phpDocumentor 1.4.3