Class ZFormElementValidator

Description

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


	
			
Direct descendents
Class Description
 class ZFormRegExpValidator
Class Constant Summary
 BOTH = 3
 CLIENT = 1
 GENERIC_ERROR_MSG = 'Error occured in validation!'
 SERVER = 2
Variable Summary
 mixed $_element
 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 getElement ()
 void getErrorMessage ()
 void getName ()
 void getRunat ()
 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:
emitClientValidator (line 95)
  • access: public
void emitClientValidator (ZFormElement $target)

Redefined in descendants as:
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)

Redefined in descendants as:
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 Wed, 21 Feb 2007 12:03:28 -0800 by phpDocumentor 1.3.1