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

Public Member Functions

 __construct ($attr, $css)
 
 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 converts a boolean attribute to fixed CSS

Definition at line 6 of file BoolToCSS.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrTransform_BoolToCSS::__construct (   $attr,
  $css 
)
Parameters
$attrstring attribute name to convert from
$cssstring CSS declarations to add to style (needs semicolon)

Definition at line 22 of file BoolToCSS.php.

References $attr, and $css.

Member Function Documentation

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

Definition at line 27 of file BoolToCSS.php.

References $attr, and HTMLPurifier_AttrTransform\prependCSS().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_AttrTransform_BoolToCSS::$attr
protected

Name of boolean attribute that is trigger

Definition at line 11 of file BoolToCSS.php.

Referenced by __construct(), and transform().

HTMLPurifier_AttrTransform_BoolToCSS::$css
protected

CSS declarations to add to style, needs trailing semicolon

Definition at line 16 of file BoolToCSS.php.

Referenced by __construct().


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