ILIAS
release_4-4 Revision
|
Simple transformation, just change tag name to something else, and possibly add some styling. More...
Public Member Functions | |
__construct ($transform_to, $style=null) | |
transform ($tag, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_TagTransform | |
transform ($tag, $config, $context) | |
Transforms the obsolete tag into the valid tag. More... | |
Protected Attributes | |
$style | |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_TagTransform | |
$transform_to | |
Tag name to transform the tag to. More... | |
Protected Member Functions inherited from HTMLPurifier_TagTransform | |
prependCSS (&$attr, $css) | |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. More... | |
Simple transformation, just change tag name to something else, and possibly add some styling.
This will cover most of the deprecated tag cases.
Definition at line 8 of file Simple.php.
HTMLPurifier_TagTransform_Simple::__construct | ( | $transform_to, | |
$style = null |
|||
) |
$transform_to | Tag name to transform to. |
$style | CSS style to add to the tag |
Definition at line 17 of file Simple.php.
References $style, and HTMLPurifier_TagTransform\$transform_to.
HTMLPurifier_TagTransform_Simple::transform | ( | $tag, | |
$config, | |||
$context | |||
) |
Definition at line 22 of file Simple.php.
References HTMLPurifier_TagTransform\$transform_to, and HTMLPurifier_TagTransform\prependCSS().
|
protected |
Definition at line 11 of file Simple.php.
Referenced by __construct().