Class HTMLPurifier_AttrDef_CSS_DenyElementDecorator

Description

Decorator which enables CSS properties to be disabled for specific elements.

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

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_CSS_DenyElementDecorator
Variable Summary
mixed $def
mixed $element
Method Summary
HTMLPurifier_AttrDef_CSS_DenyElementDecorator __construct ($def $def, $element $element)
void validate ( $string,  $config,  $context)
Variables
mixed $def (line 8603)
  • access: public
mixed $element (line 8603)
  • access: public

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 8609)
  • access: public
HTMLPurifier_AttrDef_CSS_DenyElementDecorator __construct ($def $def, $element $element)
  • $def $def: Definition to wrap
  • $element $element: Element to deny
validate (line 8616)

Checks if CurrentToken is set and equal to $this->element

  • 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::expandCSSEscape()
HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

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