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

Public Member Functions

 transform ($tag, $config, $context)
 

Public Attributes

 $transform_to
 

Protected Member Functions

 prependCSS (&$attr, $css)
 

Detailed Description

Defines a mutation of an obsolete tag into a valid tag.

Definition at line 6 of file TagTransform.php.

Member Function Documentation

HTMLPurifier_TagTransform::prependCSS ( $attr,
  $css 
)
protected

Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

Warning
Copied over from AttrTransform, be sure to keep in sync
Parameters
$attrAttribute array to process (passed by reference)
$cssCSS to prepend

Definition at line 29 of file TagTransform.php.

Referenced by HTMLPurifier_TagTransform_Simple\transform().

Here is the caller graph for this function:

HTMLPurifier_TagTransform::transform (   $tag,
  $config,
  $context 
)
abstract

Transforms the obsolete tag into the valid tag.

Parameters
$tagTag to be transformed.
$configMandatory HTMLPurifier_Config object
$contextMandatory HTMLPurifier_Context object

Member Data Documentation

HTMLPurifier_TagTransform::$transform_to

Tag name to transform the tag to.

Definition at line 12 of file TagTransform.php.

Referenced by HTMLPurifier_TagTransform_Simple\__construct(), and HTMLPurifier_TagTransform_Simple\transform().


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