extends |
HTMLPurifier_AttrDef_URI_Email |
---|
Primitive email validation class based on the regexp found at http://www.regular-expressions.info/email.html
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
validate(string $string, HTMLPurifier_Config $config, HTMLPurifier_Context $context): bool|string
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition. Parameters
Implements |
# |
Methods inherited from HTMLPurifier_AttrDef_URI_Email |
---|
unpack() |
Methods inherited from HTMLPurifier_AttrDef |
---|
parseCDATA(), make(), mungeRgb(), expandCSSEscape() |
Properties inherited from HTMLPurifier_AttrDef |
---|
$minimized, $required |