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


Public Member Functions | |
| handleText (&$token) | |
| handleElement (&$token) | |
Data Fields | |
| $name = 'AutoParagraph' | |
| $needed = array('p') | |
Injector that auto paragraphs text in the root node based on double-spacing.
Ensure all states are unit tested, including variations as well.
Make a graph of the flow control for this Injector.
Definition at line 9 of file AutoParagraph.php.
| handleElement | ( | &$ | token | ) |
Handler that is called when a start or empty token is processed
Reimplemented from HTMLPurifier_Injector.
Definition at line 97 of file AutoParagraph.php.

| handleText | ( | &$ | token | ) |
Handler that is called when a text token is processed
Reimplemented from HTMLPurifier_Injector.
Definition at line 21 of file AutoParagraph.php.

| $name = 'AutoParagraph' |
Advisory name of injector, this is for friendly error messages
Reimplemented from HTMLPurifier_Injector.
Definition at line 12 of file AutoParagraph.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 13 of file AutoParagraph.php.