|
ILIAS
eassessment Revision 61809
|
Decorator which enables CSS properties to be disabled for specific elements. More...
Inheritance diagram for HTMLPurifier_AttrDef_CSS_DenyElementDecorator:
Collaboration diagram for HTMLPurifier_AttrDef_CSS_DenyElementDecorator:Public Member Functions | |
| __construct ($def, $element) | |
| validate ($string, $config, $context) | |
| Checks if CurrentToken is set and equal to $this->element. | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| parseCDATA ($string) | |
| Convenience method that parses a string as if it were CDATA. | |
| make ($string) | |
| Factory method for creating this class from a string. | |
Data Fields | |
| $def | |
| $element | |
Data Fields inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| Tells us whether or not an HTML attribute is minimized. | |
| $required = false | |
| Tells us whether or not an HTML attribute is required. | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. | |
Decorator which enables CSS properties to be disabled for specific elements.
Definition at line 6 of file DenyElementDecorator.php.
| HTMLPurifier_AttrDef_CSS_DenyElementDecorator::__construct | ( | $def, | |
| $element | |||
| ) |
| 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::$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().