HTMLPurifier 4.4.0
|
Decorator which enables !important to be used in CSS values. More...
Public Member Functions | |
__construct ($def, $allow=false) | |
validate ($string, $config, $context) | |
Intercepts and removes !important if necessary. | |
__construct ($def, $allow=false) | |
validate ($string, $config, $context) | |
Intercepts and removes !important if necessary. | |
Public Attributes | |
$def | |
$allow |
Decorator which enables !important to be used in CSS values.
Definition at line 6 of file ImportantDecorator.php.
HTMLPurifier_AttrDef_CSS_ImportantDecorator::__construct | ( | $ | def, |
$ | allow = false |
||
) |
$def | Definition to wrap |
$allow | Whether or not to allow !important |
Definition at line 14 of file ImportantDecorator.php.
HTMLPurifier_AttrDef_CSS_ImportantDecorator::__construct | ( | $ | def, |
$ | allow = false |
||
) |
$def | Definition to wrap |
$allow | Whether or not to allow !important |
Definition at line 9586 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrDef_CSS_ImportantDecorator::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Intercepts and removes !important if necessary.
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 21 of file ImportantDecorator.php.
References $config.
HTMLPurifier_AttrDef_CSS_ImportantDecorator::validate | ( | $ | string, |
$ | config, | ||
$ | context | ||
) |
Intercepts and removes !important if necessary.
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 9593 of file HTMLPurifier.standalone.php.
References $config.
HTMLPurifier_AttrDef_CSS_ImportantDecorator::$allow |
Definition at line 8 of file ImportantDecorator.php.
Referenced by __construct().
HTMLPurifier_AttrDef_CSS_ImportantDecorator::$def |
Definition at line 8 of file ImportantDecorator.php.
Referenced by __construct().