Public Member Functions | ||||
| __construct ($attr, $enum_to_css, $case_sensitive=false) | ||||
| ||||
| transform ($attr, $config, $context) | ||||
| __construct ($attr, $enum_to_css, $case_sensitive=false) | ||||
| ||||
| transform ($attr, $config, $context) | ||||
Protected Attributes | ||||
| $attr | ||||
| Name of attribute to transform from. | ||||
| $enumToCSS = array() | ||||
| Lookup array of attribute values to CSS. | ||||
| $caseSensitive = false | ||||
| Case sensitivity of the matching. | ||||
Definition at line 7 of file EnumToCSS.php.
| HTMLPurifier_AttrTransform_EnumToCSS::__construct | ( | $ | attr, | |
| $ | enum_to_css, | |||
| $ | case_sensitive = false | |||
| ) |
| $attr | String attribute name to transform from |
| $enumToCSS | Lookup array of attribute values to CSS | |
| $case_sensitive | Boolean case sensitivity indicator, default false |
Definition at line 31 of file EnumToCSS.php.
References $attr.
| HTMLPurifier_AttrTransform_EnumToCSS::__construct | ( | $ | attr, | |
| $ | enum_to_css, | |||
| $ | case_sensitive = false | |||
| ) |
| $attr | String attribute name to transform from |
| $enumToCSS | Lookup array of attribute values to CSS | |
| $case_sensitive | Boolean case sensitivity indicator, default false |
Definition at line 9267 of file HTMLPurifier.standalone.php.
| HTMLPurifier_AttrTransform_EnumToCSS::transform | ( | $ | attr, | |
| $ | config, | |||
| $ | context | |||
| ) |
| HTMLPurifier_AttrTransform_EnumToCSS::transform | ( | $ | attr, | |
| $ | config, | |||
| $ | context | |||
| ) |
Definition at line 9273 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrTransform_EnumToCSS::$attr [protected] |
Name of attribute to transform from.
Definition at line 12 of file EnumToCSS.php.
Referenced by __construct(), and transform().
HTMLPurifier_AttrTransform_EnumToCSS::$enumToCSS = array() [protected] |
HTMLPurifier_AttrTransform_EnumToCSS::$caseSensitive = false [protected] |
Case sensitivity of the matching.
Definition at line 24 of file EnumToCSS.php.
1.5.3