|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct () | |
| transform ($attr, $config, $context) | |
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.
| __construct | ( | ) |
Definition at line 11 of file NameSync.php.
| 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 15 of file NameSync.php.