|
| confiscateAttr (&$attr, $key) |
| Retrieves and removes an attribute.
|
|
| prependCSS (&$attr, $css) |
| Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
|
|
| transform ($attr, $config, $context) |
|
|
| $name = "SafeObject" |
| @type string
|
|
◆ confiscateAttr()
HTMLPurifier_AttrTransform::confiscateAttr |
( |
& | $attr, |
|
|
| $key ) |
|
inherited |
Retrieves and removes an attribute.
- Parameters
-
array | &$attr | Attribute array to process (passed by reference) |
mixed | $key | Key of attribute to confiscate |
- Return values
-
◆ prependCSS()
HTMLPurifier_AttrTransform::prependCSS |
( |
& | $attr, |
|
|
| $css ) |
|
inherited |
Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
- Parameters
-
array | &$attr | Attribute array to process (passed by reference) |
string | $css | CSS to prepend |
◆ transform()
HTMLPurifier_AttrTransform_SafeObject::transform |
( |
| $attr, |
|
|
| $config, |
|
|
| $context ) |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/AttrTransform/SafeObject.php