Class HTMLPurifier_AttrTransform_Background
Inheritance | HTMLPurifier_AttrTransform_Background » HTMLPurifier_AttrTransform |
---|
Pre-transform that changes proprietary background attribute to CSS.
Public Methods
Method | Description | Defined By |
---|---|---|
confiscateAttr() | Retrieves and removes an attribute | HTMLPurifier_AttrTransform |
prependCSS() | Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. | HTMLPurifier_AttrTransform |
transform() | HTMLPurifier_AttrTransform_Background |
Method Details
public array transform ( $attr, $config, $context ) | ||
$attr | array | |
$config | HTMLPurifier_Config | |
$context | HTMLPurifier_Context |