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

Public Member Functions

 __construct ()
 transform ($attr, $config, $context)

Detailed Description

Post-transform that performs validation to the name attribute; if it is present with an equivalent id attribute, it is passed through; otherwise validation is performed.

Definition at line 8 of file NameSync.php.


Constructor & Destructor Documentation

Definition at line 11 of file NameSync.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 15 of file NameSync.php.


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