HTMLPurifier_AttrTransform_BoolToCSS Class Reference

Pre-transform that changes converts a boolean attribute to fixed CSS. More...

List of all members.

Public Member Functions

 __construct ($attr, $css)
 
Parameters:
$attr string attribute name to convert from

 transform ($attr, $config, $context)
 __construct ($attr, $css)
 
Parameters:
$attr string attribute name to convert from

 transform ($attr, $config, $context)

Protected Attributes

 $attr
 Name of boolean attribute that is trigger.
 $css
 CSS declarations to add to style, needs trailing semicolon.


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:
$attr string attribute name to convert from

Parameters:
$css string CSS declarations to add to style (needs semicolon)

Definition at line 22 of file BoolToCSS.php.

References $attr, and $css.

HTMLPurifier_AttrTransform_BoolToCSS::__construct ( attr,
css 
)

Parameters:
$attr string attribute name to convert from

Parameters:
$css string CSS declarations to add to style (needs semicolon)

Definition at line 9204 of file HTMLPurifier.standalone.php.


Member Function Documentation

HTMLPurifier_AttrTransform_BoolToCSS::transform ( attr,
config,
context 
)

Definition at line 27 of file BoolToCSS.php.

References $attr.

HTMLPurifier_AttrTransform_BoolToCSS::transform ( attr,
config,
context 
)

Definition at line 9209 of file HTMLPurifier.standalone.php.


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 files:
Generated on Thu Jun 19 18:47:29 2008 for HTMLPurifier by  doxygen 1.5.3