HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_URI_Email_SimpleCheck Class Reference

Primitive email validation class based on the regexp found at http://www.regular-expressions.info/email.html. More...

Inheritance diagram for HTMLPurifier_AttrDef_URI_Email_SimpleCheck:
HTMLPurifier_AttrDef_URI_Email HTMLPurifier_AttrDef_URI_Email HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.

Detailed Description

Primitive email validation class based on the regexp found at http://www.regular-expressions.info/email.html.

Definition at line 7 of file SimpleCheck.php.


Member Function Documentation

HTMLPurifier_AttrDef_URI_Email_SimpleCheck::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 10 of file SimpleCheck.php.

HTMLPurifier_AttrDef_URI_Email_SimpleCheck::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 10651 of file HTMLPurifier.standalone.php.


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