![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| __construct ($attr, $enum_to_css, $case_sensitive=false) | |
| transform ($attr, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrTransform | |
| transform ($attr, $config, $context) | |
| prependCSS (&$attr, $css) | |
| confiscateAttr (&$attr, $key) | |
Protected Attributes | |
| $attr | |
| $enumToCSS = array() | |
| $caseSensitive = false | |
Generic pre-transform that converts an attribute with a fixed number of values (enumerated) to CSS.
| __construct | ( | $attr, | |
| $enum_to_css, | |||
$case_sensitive = false |
|||
| ) |
| string | $attr | Attribute name to transform from |
| array | $enum_to_css | Lookup array of attribute values to CSS |
| bool | $case_sensitive | Case sensitivity indicator, default false |
| transform | ( | $attr, | |
| $config, | |||
| $context | |||
| ) |
| array | $attr | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrTransform.

|
protected |
Name of attribute to transform from. @type string
|
protected |
Case sensitivity of the matching. @type bool
|
protected |
Lookup array of attribute values to CSS. @type array