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


Public Member Functions | |
| prepare ($config, $context) | |
| handleText (&$token) | |
Data Fields | |
| $name = 'PurifierLinkify' | |
| $docURL | |
| $needed = array('a' => array('href')) | |
Injector that converts configuration directive syntax Namespace.Directive to links
Definition at line 7 of file PurifierLinkify.php.
| handleText | ( | &$ | token | ) |
Handler that is called when a text token is processed
Reimplemented from HTMLPurifier_Injector.
Definition at line 19 of file PurifierLinkify.php.

| prepare | ( | $ | config, |
| $ | context | ||
| ) |
Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).
| $config | Instance of HTMLPurifier_Config |
| $context | Instance of HTMLPurifier_Context |
Reimplemented from HTMLPurifier_Injector.
Definition at line 14 of file PurifierLinkify.php.
| $docURL |
Definition at line 11 of file PurifierLinkify.php.
| $name = 'PurifierLinkify' |
Advisory name of injector, this is for friendly error messages
Reimplemented from HTMLPurifier_Injector.
Definition at line 10 of file PurifierLinkify.php.
Array of elements and attributes this injector creates and therefore need to be allowed by the definition. Takes form of array('element' => array('attr', 'attr2'), 'element2')
Reimplemented from HTMLPurifier_Injector.
Definition at line 12 of file PurifierLinkify.php.