\Zend_Validate_Interface
- Copyright: Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
interface Zend_Validate_Interface
{
- // methods
- public boolean isValid()
- public array getMessages()
- public array getErrors()
Methods
public
- getErrors() — Returns an array of message codes that explain why a previous isValid() call returned false.
- getMessages() — 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.
- isValid() — Returns true if and only if $value meets the validation requirements