Class HTMLPurifier_TagTransform_Simple

Description

Simple transformation, just change tag name to something else, and possibly add some styling. tag cases.

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 /library/HTMLPurifier/TagTransform/Simple.php (line 8)

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 11)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_TagTransform

HTMLPurifier_TagTransform::$transform_to
Methods
Constructor __construct (line 17)
  • 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 22)
  • 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 Thu, 19 Jun 2008 18:50:20 -0400 by phpDocumentor 1.4.2