\Zend_Validate
- 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
class Zend_Validate
implements
Zend_Validate_Interface
{
- // members
- protected array $_validators = ;
- protected array $_messages = ;
- protected array $_errors = ;
- // methods
- public Zend_Validate addValidator()
- public boolean isValid()
- public array getMessages()
- public array getErrors()
- public static boolean is()
Hierarchy
Implements
Members
protected
- $_errors
—
array
Array of validation failure message codes - $_messages
—
array
Array of validation failure messages - $_validators
—
array
Validator chain
Methods
public
- addValidator() — Adds a validator to the end of the chain
- getErrors() — Defined by Zend_Validate_Interface
- getMessages() — Defined by Zend_Validate_Interface
- is()
- isValid() — Returns true if and only if $value passes all validations in the chain