XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_TagTransform_Simple Class Reference
Inheritance diagram for HTMLPurifier_TagTransform_Simple:
Inheritance graph

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

HTMLPurifier_TagTransform_Simple::__construct (   $transform_to,
  $style = null 
)
Parameters
$transform_toTag name to transform to.
$styleCSS style to add to the tag

Definition at line 17 of file Simple.php.

References $style, and HTMLPurifier_TagTransform\$transform_to.

Member Function Documentation

HTMLPurifier_TagTransform_Simple::transform (   $tag,
  $config,
  $context 
)

Definition at line 22 of file Simple.php.

References HTMLPurifier_TagTransform\$transform_to, and HTMLPurifier_TagTransform\prependCSS().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_TagTransform_Simple::$style
protected

Definition at line 11 of file Simple.php.

Referenced by __construct().


The documentation for this class was generated from the following file: