HTMLPurifier 4.4.0
|
Defines a mutation of an obsolete tag into a valid tag. More...
Public Member Functions | |
transform ($tag, $config, $context) | |
Transforms the obsolete tag into the valid tag. | |
transform ($tag, $config, $context) | |
Transforms the obsolete tag into the valid tag. | |
Public Attributes | |
$transform_to | |
Tag name to transform the tag to. | |
Protected Member Functions | |
prependCSS (&$attr, $css) | |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. | |
prependCSS (&$attr, $css) | |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. |
Defines a mutation of an obsolete tag into a valid tag.
Definition at line 6 of file TagTransform.php.
HTMLPurifier_TagTransform::prependCSS | ( | &$ | attr, |
$ | css | ||
) | [protected] |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
$attr | Attribute array to process (passed by reference) |
$css | CSS to prepend |
Definition at line 29 of file TagTransform.php.
Referenced by HTMLPurifier_TagTransform_Simple::transform().
HTMLPurifier_TagTransform::prependCSS | ( | &$ | attr, |
$ | css | ||
) | [protected] |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
$attr | Attribute array to process (passed by reference) |
$css | CSS to prepend |
Definition at line 6946 of file HTMLPurifier.standalone.php.
HTMLPurifier_TagTransform::transform | ( | $ | tag, |
$ | config, | ||
$ | context | ||
) | [abstract] |
Transforms the obsolete tag into the valid tag.
$tag | Tag to be transformed. |
$config | Mandatory HTMLPurifier_Config object |
$context | Mandatory HTMLPurifier_Context object |
Reimplemented in HTMLPurifier_TagTransform_Font, HTMLPurifier_TagTransform_Simple, HTMLPurifier_TagTransform_Font, and HTMLPurifier_TagTransform_Simple.
HTMLPurifier_TagTransform::transform | ( | $ | tag, |
$ | config, | ||
$ | context | ||
) | [abstract] |
Transforms the obsolete tag into the valid tag.
$tag | Tag to be transformed. |
$config | Mandatory HTMLPurifier_Config object |
$context | Mandatory HTMLPurifier_Context object |
Reimplemented in HTMLPurifier_TagTransform_Font, HTMLPurifier_TagTransform_Simple, HTMLPurifier_TagTransform_Font, and HTMLPurifier_TagTransform_Simple.
HTMLPurifier_TagTransform::$transform_to |
Tag name to transform the tag to.
Reimplemented in HTMLPurifier_TagTransform_Font.
Definition at line 12 of file TagTransform.php.
Referenced by HTMLPurifier_TagTransform_Simple::__construct().