## ZFormElementValidator

Description

- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /library/Zend/Form/ZFormElementValidator.php (line 30)

Direct descendents

Class | Description
--- | ---
ZFormRegExpValidator |

Class Constant Summary
BOTH = 3
CLIENT = 1
GENERIC_ERROR_MSG = 'Error occured in validation!'
SERVER = 2
Variable Summary
mixed $_element
mixed $_errorMessage
mixed $_name
mixed $_options
mixed $_runat
mixed $_validator
Method Summary
ZFormElementValidator __construct (ZFormElement $element, [ $serverValidator = null], [ $serverValidatorOptions = null], [ $errorMsg = ZFormElementValidator::GENERIC_ERROR_MSG], [ $runat = ZFormElementValidator::SERVER])
void emitClientValidator (ZFormElement $target)
void getElement ()
void getErrorMessage ()
void getName ()
void getRunat ()
void performValidation (ZFormElement $target)
void setName ( $name)
Variables
mixed $_element (line 38)

- access: protected

mixed $_errorMessage (line 37)

- access: protected

mixed $_name (line 40)

- access: protected

mixed $_options (line 41)

- access: protected

mixed $_runat (line 39)

- access: protected

mixed $_validator (line 42)

- access: protected

Methods
Constructor __construct (line 44)

- access: public

ZFormElementValidator __construct (ZFormElement $element, [ $serverValidator = null], [ $serverValidatorOptions = null], [ $errorMsg = ZFormElementValidator::GENERIC_ERROR_MSG], [ $runat = ZFormElementValidator::SERVER])

- ZFormElement $element
- $serverValidator
- $serverValidatorOptions
- $errorMsg
- $runat

Redefined in descendants as:

- ZFormRegExpValidator::__construct()

emitClientValidator (line 95)

- access: public

void emitClientValidator (ZFormElement $target)

- ZFormElement $target

Redefined in descendants as:

- ZFormRegExpValidator::emitClientValidator()

getElement (line 73)

- access: public

void getElement ()
getErrorMessage (line 68)

- access: public

void getErrorMessage ()
getName (line 60)

- access: public

void getName ()
getRunat (line 77)

- access: public

void getRunat ()
performValidation (line 82)

- access: public

void performValidation (ZFormElement $target)

- ZFormElement $target

Redefined in descendants as:

- ZFormRegExpValidator::performValidation()

setName (line 64)

- access: public

void setName ( $name)

- $name

Class Constants
BOTH = 3 (line 35)
CLIENT = 1 (line 33)
GENERIC_ERROR_MSG = 'Error occured in validation!' (line 32)
SERVER = 2 (line 34)

Documentation generated on Tue, 11 Jul 2006 12:24:29 -0500 by phpDocumentor 1.3.0RC6