HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_CSS_DenyElementDecorator Class Reference

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

Inheritance diagram for HTMLPurifier_AttrDef_CSS_DenyElementDecorator:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ($def, $element)
 validate ($string, $config, $context)
 Checks if CurrentToken is set and equal to $this->element.
 __construct ($def, $element)
 validate ($string, $config, $context)
 Checks if CurrentToken is set and equal to $this->element.

Public Attributes

 $def
 $element

Detailed Description

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

Definition at line 6 of file DenyElementDecorator.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::__construct ( def,
element 
)
Parameters:
$defDefinition to wrap
$elementElement to deny

Definition at line 14 of file DenyElementDecorator.php.

References $def, and $element.

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::__construct ( def,
element 
)
Parameters:
$defDefinition to wrap
$elementElement to deny

Definition at line 9129 of file HTMLPurifier.standalone.php.

References $def, and $element.


Member Function Documentation

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::validate ( string,
config,
context 
)

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

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 21 of file DenyElementDecorator.php.

References $config.

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::validate ( string,
config,
context 
)

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

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9136 of file HTMLPurifier.standalone.php.

References $config.


Member Data Documentation

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::$def

Definition at line 8 of file DenyElementDecorator.php.

Referenced by __construct().

HTMLPurifier_AttrDef_CSS_DenyElementDecorator::$element

Definition at line 8 of file DenyElementDecorator.php.

Referenced by __construct().


The documentation for this class was generated from the following files: