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

Public Member Functions

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

Protected Attributes

 $attr
 
 $css
 

Detailed Description

Pre-transform that changes deprecated hspace and vspace attributes to CSS

Definition at line 6 of file ImgSpace.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrTransform_ImgSpace::__construct (   $attr)

Definition at line 14 of file ImgSpace.php.

References $attr.

Member Function Documentation

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

Definition at line 21 of file ImgSpace.php.

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

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_AttrTransform_ImgSpace::$attr
protected

Definition at line 8 of file ImgSpace.php.

Referenced by __construct(), and transform().

HTMLPurifier_AttrTransform_ImgSpace::$css
protected
Initial value:
= array(
'hspace' => array('left', 'right'),
'vspace' => array('top', 'bottom')
)

Definition at line 9 of file ImgSpace.php.


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