Property | Type | Description | |
---|---|---|---|
$attr | Name of attribute to transform from. | ||
$caseSensitive | Case sensitivity of the matching. | ||
$enumToCSS | Lookup array of attribute values to CSS. |
Method | Description | |
---|---|---|
__construct ( string $attr, array $enum_to_css, boolean $case_sensitive = false ) | ||
transform ( array $attr, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : array |