Class HTMLPurifier_AttrDef_CSS_ImportantDecorator

Description

Decorator which enables !important to be used in CSS values.

Decorator which enables !important to be used in CSS values.

Located in /library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php (line 6)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_CSS_ImportantDecorator
Variable Summary
mixed $allow
mixed $def
Method Summary
HTMLPurifier_AttrDef_CSS_ImportantDecorator __construct ($def $def, [$allow $allow = false])
void validate ( $string,  $config,  $context)
Variables
mixed $allow (line 8)
  • access: protected
mixed $def (line 8)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 14)
  • access: public
HTMLPurifier_AttrDef_CSS_ImportantDecorator __construct ($def $def, [$allow $allow = false])
  • $def $def: Definition to wrap
  • $allow $allow: Whether or not to allow !important
validate (line 21)

Intercepts and removes !important if necessary

Intercepts and removes !important if necessary

  • 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:49:37 -0400 by phpDocumentor 1.4.2