Class HTMLPurifier_AttrDef_HTML_Color

Description

Validates a color according to the HTML spec.

Validates a color according to the HTML spec.

Located in /library/HTMLPurifier/AttrDef/HTML/Color.php (line 6)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_HTML_Color
Method Summary
void validate ( $string,  $config,  $context)
Variables
Methods
validate (line 9)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

Redefinition of:
HTMLPurifier_AttrDef::validate()
Validates and cleans passed string according to a definition.

Inherited Methods

Inherited From HTMLPurifier_AttrDef

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

Documentation generated on Thu, 19 Jun 2008 18:48:55 -0400 by phpDocumentor 1.4.2