email Class Reference

Detailed Description

default validator for email input elements

Definition at line 12 of file validators/email.php.

Inheritance diagram for email:

Public Member Functions

 validate ($email, $parameters=array())
 email validation More...
 
- Public Member Functions inherited from validator
 __construct ($log=null)
 validator constructor More...
 
 validate ($value, $parameters=array())
 default validator. More...
 
 getPatternAttribute ()
 returns validators' regular expression as HTML5 pattern attribute More...
 

Additional Inherited Members

- Static Public Member Functions inherited from validator
static factory ($argument, $log=null)
 valdiator object factory More...
 
static isValid ($input)
 
- Protected Member Functions inherited from validator
 log ($argument, $type)
 error logging method More...
 
- Protected Attributes inherited from validator
 $log
 log object More...
 

Member Function Documentation

validate (   $email,
  $parameters = array() 
)

email validation

Parameters
string$emailemail to be validated
array$parametersvalidation parameters
Returns
bool validation result

Definition at line 21 of file validators/email.php.


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