\HTMLPurifier_AttrTransform_Length
Class for handling width/height length attribute transformations to CSS
Synopsis
class HTMLPurifier_AttrTransform_Length
extends HTMLPurifier_AttrTransform
{
- // methods
- public void __construct()
- public void transform()
- // Inherited methods from HTMLPurifier_AttrTransform
- public abstract void transform()
- public void prependCSS()
- public void confiscateAttr()
Hierarchy
Extends
Members
protected
- $cssName
- $name
Methods
public
Inherited from HTMLPurifier_AttrTransform
public
- confiscateAttr() — Retrieves and removes an attribute
- prependCSS() — Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
- transform() — Abstract: makes changes to the attributes dependent on multiple values.