XOOPS 2.5.6
Final
|
Public Member Functions | |
__construct ($transform_to, $style=null) | |
transform ($tag, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_TagTransform | |
transform ($tag, $config, $context) | |
Protected Attributes | |
$style | |
Additional Inherited Members | |
Public Attributes inherited from HTMLPurifier_TagTransform | |
$transform_to | |
Protected Member Functions inherited from HTMLPurifier_TagTransform | |
prependCSS (&$attr, $css) | |
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().