Class HTMLPurifier_AttrDef_CSS_DenyElementDecorator
Decorator which enables CSS properties to be disabled for specific
elements.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_CSS_DenyElementDecorator
Methods summary
public
|
#
__construct( $def $def, $element $element )
Parameters
- $def
$def Definition to wrap
- $element
$element Element to deny
|
public
|
#
validate( $string $string, $config $config, $context $context )
Checks if CurrentToken is set and equal to $this->element
Checks if CurrentToken is set and equal to $this->element
Parameters
- $string
$string String to be validated and cleaned.
- $config
$config Mandatory HTMLPurifier_Config object.
- $context
$context Mandatory HTMLPurifier_AttrContext object.
|