Class HTMLPurifier_AttrTransform_EnumToCSS
Generic pre-transform that converts an attribute with a fixed number of values (enumerated) to CSS.
- HTMLPurifier_AttrTransform
- HTMLPurifier_AttrTransform_EnumToCSS
public
|
|
public
array
|
confiscateAttr(),
prependCSS()
|
protected
mixed
|
$attr |
|
#
Name of attribute to transform from. |
protected
array
|
$enumToCSS | array() |
#
Lookup array of attribute values to CSS. |
protected
boolean
|
$caseSensitive | false |
#
Case sensitivity of the matching. |