Class HTMLPurifier_AttrTransform_BoolToCSS

Description

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

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

Located in /library/HTMLPurifier/AttrTransform/BoolToCSS.php (line 6)

HTMLPurifier_AttrTransform
   |
   --HTMLPurifier_AttrTransform_BoolToCSS
Variable Summary
mixed $attr
mixed $css
Method Summary
HTMLPurifier_AttrTransform_BoolToCSS __construct ($attr $attr, $css $css)
void transform ( $attr,  $config,  $context)
Variables
mixed $attr (line 11)

Name of boolean attribute that is trigger

Name of boolean attribute that is trigger

  • access: protected
mixed $css (line 16)

CSS declarations to add to style, needs trailing semicolon

CSS declarations to add to style, needs trailing semicolon

  • access: protected
Methods
Constructor __construct (line 22)
  • access: public
HTMLPurifier_AttrTransform_BoolToCSS __construct ($attr $attr, $css $css)
  • $attr $attr: string attribute name to convert from
  • $css $css: string CSS declarations to add to style (needs semicolon)
transform (line 27)
  • access: public
void transform ( $attr,  $config,  $context)
  • $attr
  • $config
  • $context

Redefinition of:
HTMLPurifier_AttrTransform::transform()
Abstract: makes changes to the attributes dependent on multiple values.

Inherited Methods

Inherited From HTMLPurifier_AttrTransform

HTMLPurifier_AttrTransform::confiscateAttr()
HTMLPurifier_AttrTransform::prependCSS()
HTMLPurifier_AttrTransform::transform()

Documentation generated on Thu, 19 Jun 2008 18:48:53 -0400 by phpDocumentor 1.4.2