|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Pre-transform that changes converts a boolean attribute to fixed CSS. More...
Inheritance diagram for HTMLPurifier_AttrTransform_BoolToCSS:
Collaboration diagram for HTMLPurifier_AttrTransform_BoolToCSS:Public Member Functions | |
| __construct ($attr, $css) | |
| transform ($attr, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrTransform | |
| transform ($attr, $config, $context) | |
| Abstract: makes changes to the attributes dependent on multiple values. More... | |
| prependCSS (&$attr, $css) | |
| Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. More... | |
| confiscateAttr (&$attr, $key) | |
| Retrieves and removes an attribute. More... | |
Protected Attributes | |
| $attr | |
| Name of boolean attribute that is trigger. More... | |
| $css | |
| CSS declarations to add to style, needs trailing semicolon. More... | |
Pre-transform that changes converts a boolean attribute to fixed CSS.
Definition at line 6 of file BoolToCSS.php.
| HTMLPurifier_AttrTransform_BoolToCSS::__construct | ( | $attr, | |
| $css | |||
| ) |
| string | $attr | attribute name to convert from |
| string | $css | CSS declarations to add to style (needs semicolon) |
Definition at line 24 of file BoolToCSS.php.
| HTMLPurifier_AttrTransform_BoolToCSS::transform | ( | $attr, | |
| $config, | |||
| $context | |||
| ) |
| array | $attr | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrTransform.
Definition at line 36 of file BoolToCSS.php.
References $attr, and HTMLPurifier_AttrTransform\prependCSS().
Here is the call graph for this function:
|
protected |
Name of boolean attribute that is trigger.
@type string
Definition at line 12 of file BoolToCSS.php.
Referenced by __construct(), and transform().
|
protected |
CSS declarations to add to style, needs trailing semicolon.
@type string
Definition at line 18 of file BoolToCSS.php.
Referenced by __construct().