Class HTMLPurifier_AttrTransform_ImgSpace
| Inheritance | HTMLPurifier_AttrTransform_ImgSpace » HTMLPurifier_AttrTransform |
|---|
Pre-transform that changes deprecated hspace and vspace attributes to CSS
Protected Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $attr | HTMLPurifier_AttrTransform_ImgSpace | ||
| $css | HTMLPurifier_AttrTransform_ImgSpace |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | HTMLPurifier_AttrTransform_ImgSpace | |
| 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_ImgSpace |
Property Details
Method Details
| public void __construct ( $attr ) | ||
| $attr | string | |
| public array transform ( $attr, $config, $context ) | ||
| $attr | array | |
| $config | HTMLPurifier_Config | |
| $context | HTMLPurifier_Context | |