Class HTMLPurifier_AttrDef_URI_Email

Description

Base class for all validating attribute definitions.

This family of classes forms the core for not only HTML attribute validation, but also any sort of string that needs to be validated or cleaned (which means CSS properties and composite definitions are defined here too). Besides defining (through code) what precisely makes the string valid, subclasses are also responsible for cleaning the code if possible.

  • abstract:

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 9695)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_URI_Email
Direct descendents
Class Description
HTMLPurifier_AttrDef_URI_Email_SimpleCheck Primitive email validation class based on the regexp found at
Method Summary
void unpack ( $string)
Variables
Methods
unpack (line 9701)

Unpacks a mailbox into its display-name and address

void unpack ( $string)
  • $string

Inherited Methods

Inherited From HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::expandCSSEscape()
HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

Documentation generated on Sun, 06 Mar 2011 00:24:00 -0500 by phpDocumentor 1.4.3