Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_AttrTransform_Length Class Reference
Inheritance diagram for HTMLPurifier_AttrTransform_Length:
Collaboration diagram for HTMLPurifier_AttrTransform_Length:

Public Member Functions

 __construct ($name, $css_name=null)
 transform ($attr, $config, $context)

Protected Attributes

 $name
 $cssName

Detailed Description

Class for handling width/height length attribute transformations to CSS

Definition at line 6 of file Length.php.


Constructor & Destructor Documentation

__construct ( name,
css_name = null 
)

Definition at line 12 of file Length.php.


Member Function Documentation

transform ( attr,
config,
context 
)

Abstract: makes changes to the attributes dependent on multiple values.

Parameters:
$attrAssoc array of attributes, usually from HTMLPurifier_Token_Tag::$attr
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_Context object
Returns:
Processed attribute array.

Reimplemented from HTMLPurifier_AttrTransform.

Definition at line 17 of file Length.php.

Here is the call graph for this function:


Field Documentation

$cssName [protected]

Definition at line 10 of file Length.php.

$name [protected]

Definition at line 9 of file Length.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations