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

Public Member Functions

 __construct ($name, $css_name=null)
 
 transform ($attr, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrTransform
 confiscateAttr (&$attr, $key)
 
 prependCSS (&$attr, $css)
 
 transform ($attr, $config, $context)
 

Protected Attributes

 $cssName
 
 $name
 

Detailed Description

Class for handling width/height length attribute transformations to CSS

Definition at line 6 of file Length.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrTransform_Length::__construct (   $name,
  $css_name = null 
)

Definition at line 12 of file Length.php.

References $name.

Member Function Documentation

HTMLPurifier_AttrTransform_Length::transform (   $attr,
  $config,
  $context 
)

Definition at line 17 of file Length.php.

References HTMLPurifier_AttrTransform\confiscateAttr(), and HTMLPurifier_AttrTransform\prependCSS().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_AttrTransform_Length::$cssName
protected

Definition at line 10 of file Length.php.

HTMLPurifier_AttrTransform_Length::$name
protected

Definition at line 9 of file Length.php.

Referenced by __construct().


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