Class HTMLPurifier_TagTransform_Simple

Description

Simple transformation, just change tag name to something else, and possibly add some styling. This will cover most of the deprecated tag cases.

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 15409)

HTMLPurifier_TagTransform
   |
   --HTMLPurifier_TagTransform_Simple
Variable Summary
mixed $style
Method Summary
HTMLPurifier_TagTransform_Simple __construct ($transform_to $transform_to, [$style $style = null])
void transform ( $tag,  $config,  $context)
Variables
mixed $style (line 15412)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_TagTransform

HTMLPurifier_TagTransform::$transform_to
Methods
Constructor __construct (line 15418)
  • access: public
HTMLPurifier_TagTransform_Simple __construct ($transform_to $transform_to, [$style $style = null])
  • $transform_to $transform_to: Tag name to transform to.
  • $style $style: CSS style to add to the tag
transform (line 15423)
  • access: public
void transform ( $tag,  $config,  $context)
  • $tag
  • $config
  • $context

Redefinition of:
HTMLPurifier_TagTransform::transform()
Transforms the obsolete tag into the valid tag.

Inherited Methods

Inherited From HTMLPurifier_TagTransform

HTMLPurifier_TagTransform::prependCSS()
HTMLPurifier_TagTransform::transform()

Documentation generated on Sun, 06 Mar 2011 00:24:13 -0500 by phpDocumentor 1.4.3