Cheetah
Public Member Functions | Protected Attributes | List of all members
HTMLPurifier_AttrTransform_Length Class Reference
Inheritance diagram for HTMLPurifier_AttrTransform_Length:
HTMLPurifier_AttrTransform

Public Member Functions

 __construct ($name, $css_name=null)
 
 transform ($attr, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrTransform
 prependCSS (&$attr, $css)
 
 confiscateAttr (&$attr, $key)
 

Protected Attributes

 $name
 
 $cssName
 

Detailed Description

Class for handling width/height length attribute transformations to CSS

Definition at line 14040 of file HTMLPurifier.standalone.php.

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_AttrTransform_Length::__construct (   $name,
  $css_name = null 
)

Definition at line 14053 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ transform()

HTMLPurifier_AttrTransform_Length::transform (   $attr,
  $config,
  $context 
)
Parameters
array$attr
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
array

Reimplemented from HTMLPurifier_AttrTransform.

Definition at line 14065 of file HTMLPurifier.standalone.php.

Member Data Documentation

◆ $cssName

HTMLPurifier_AttrTransform_Length::$cssName
protected

@type string

Definition at line 14051 of file HTMLPurifier.standalone.php.

◆ $name

HTMLPurifier_AttrTransform_Length::$name
protected

@type string

Definition at line 14046 of file HTMLPurifier.standalone.php.


The documentation for this class was generated from the following file: