|
HTMLPurifier 4.4.0
|
Class for handling width/height length attribute transformations to CSS. More...
Public Member Functions | |
| __construct ($name, $css_name=null) | |
| transform ($attr, $config, $context) | |
| Abstract: makes changes to the attributes dependent on multiple values. | |
| __construct ($name, $css_name=null) | |
| transform ($attr, $config, $context) | |
| Abstract: makes changes to the attributes dependent on multiple values. | |
Protected Attributes | |
| $name | |
| $cssName | |
Class for handling width/height length attribute transformations to CSS.
Definition at line 6 of file Length.php.
| HTMLPurifier_AttrTransform_Length::__construct | ( | $ | name, |
| $ | css_name = null |
||
| ) |
Definition at line 12 of file Length.php.
References $name.
| HTMLPurifier_AttrTransform_Length::__construct | ( | $ | name, |
| $ | css_name = null |
||
| ) |
Definition at line 11017 of file HTMLPurifier.standalone.php.
References $name.
| HTMLPurifier_AttrTransform_Length::transform | ( | $ | attr, |
| $ | config, | ||
| $ | context | ||
| ) |
Abstract: makes changes to the attributes dependent on multiple values.
| $attr | Assoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_AttrTransform.
Definition at line 17 of file Length.php.
References HTMLPurifier_AttrTransform::confiscateAttr(), and HTMLPurifier_AttrTransform::prependCSS().
| HTMLPurifier_AttrTransform_Length::transform | ( | $ | attr, |
| $ | config, | ||
| $ | context | ||
| ) |
Abstract: makes changes to the attributes dependent on multiple values.
| $attr | Assoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_Context object |
Reimplemented from HTMLPurifier_AttrTransform.
Definition at line 11022 of file HTMLPurifier.standalone.php.
References HTMLPurifier_AttrTransform::confiscateAttr(), and HTMLPurifier_AttrTransform::prependCSS().
HTMLPurifier_AttrTransform_Length::$cssName [protected] |
Definition at line 10 of file Length.php.
HTMLPurifier_AttrTransform_Length::$name [protected] |
Definition at line 9 of file Length.php.
Referenced by __construct().