Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorEmail Class Reference
Inheritance diagram for FormValidatorEmail:
FormValidator

Public Member Functions

 FormValidatorEmail (&$form, $field, $type= 'optional', $message= 'email.invalid')
 
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 
 getField ()
 
 getFieldValue ()
 
getForm ()
 
 getMessage ()
 
 getType ()
 
getValidator ()
 
 isEmptyAndOptional ()
 
 isValid ()
 

Additional Inherited Members

- Public Attributes inherited from FormValidator
 $_field
 
 $_form
 
 $_message
 
 $_type
 
 $_validator
 

Detailed Description

Form validation check for email addresses.

See Also
FormValidator

Definition at line 20 of file FormValidatorEmail.inc.php.

Member Function Documentation

FormValidatorEmail::FormValidatorEmail ( $form,
  $field,
  $type = 'optional',
  $message = 'email.invalid' 
)

Constructor.

Parameters
$formForm the associated form
$fieldstring the name of the associated field
$typestring the type of check, either "required" or "optional"
$messagestring the error message for validation failures (i18n key)

Definition at line 28 of file FormValidatorEmail.inc.php.


The documentation for this class was generated from the following file: