| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for HTMLPurifier_Injector_RemoveEmpty:
 Inheritance diagram for HTMLPurifier_Injector_RemoveEmpty: Collaboration diagram for HTMLPurifier_Injector_RemoveEmpty:
 Collaboration diagram for HTMLPurifier_Injector_RemoveEmpty:| Public Member Functions | |
| 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. | |
| handleElement (&$token) | |
| Handler that is called when a start or empty token is processed. | |
|  Public Member Functions inherited from HTMLPurifier_Injector | |
| rewind ($index) | |
| Rewind to a spot to re-perform processing. | |
| getRewind () | |
| Retrieves rewind, and then unsets it. | |
| checkNeeded ($config) | |
| This function checks if the HTML environment will work with the Injector: if p tags are not allowed, the Auto-Paragraphing injector should not be enabled. | |
| allowsElement ($name) | |
| Tests if the context node allows a certain element. | |
| handleText (&$token) | |
| Handler that is called when a text token is processed. | |
| handleEnd (&$token) | |
| Handler that is called when an end token is processed. | |
| notifyEnd ($token) | |
| Notifier that is called when an end token is processed. | |
| Data Fields | |
| $config | |
| $attrValidator | |
| $removeNbsp | |
| $removeNbspExceptions | |
|  Data Fields inherited from HTMLPurifier_Injector | |
| $name | |
| Advisory name of injector, this is for friendly error messages. | |
| $needed = array() | |
| Array of elements and attributes this injector creates and therefore need to be allowed by the definition. | |
| Private Attributes | |
| $context | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from HTMLPurifier_Injector | |
| forward (&$i, &$current) | |
| Iterator function, which starts with the next token and continues until you reach the end of the input tokens. | |
| forwardUntilEndToken (&$i, &$current, &$nesting) | |
| Similar to _forward, but accepts a third parameter $nesting (which should be initialized at 0) and stops when we hit the end tag for the node $this->inputIndex starts in. | |
| backward (&$i, &$current) | |
| Iterator function, starts with the previous token and continues until you reach the beginning of input tokens. | |
| current (&$i, &$current) | |
| Initializes the iterator at the current position. | |
|  Protected Attributes inherited from HTMLPurifier_Injector | |
| $htmlDefinition | |
| Instance of HTMLPurifier_HTMLDefinition. | |
| $currentNesting | |
| Reference to CurrentNesting variable in Context. | |
| $inputTokens | |
| Reference to InputTokens variable in Context. | |
| $inputIndex | |
| Reference to InputIndex variable in Context. | |
| $rewind = false | |
| Index of inputTokens to rewind to. | |
Definition at line 3 of file RemoveEmpty.php.
| HTMLPurifier_Injector_RemoveEmpty::handleElement | ( | & | $token | ) | 
Handler that is called when a start or empty token is processed.
Reimplemented from HTMLPurifier_Injector.
Definition at line 17 of file RemoveEmpty.php.
References HTMLPurifier_Injector\rewind().
 Here is the call graph for this function:
 Here is the call graph for this function:| HTMLPurifier_Injector_RemoveEmpty::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 8 of file RemoveEmpty.php.
References $config, and $context.
| HTMLPurifier_Injector_RemoveEmpty::$attrValidator | 
Definition at line 6 of file RemoveEmpty.php.
| HTMLPurifier_Injector_RemoveEmpty::$config | 
Definition at line 6 of file RemoveEmpty.php.
Referenced by prepare().
| 
 | private | 
Definition at line 6 of file RemoveEmpty.php.
Referenced by prepare().
| HTMLPurifier_Injector_RemoveEmpty::$removeNbsp | 
Definition at line 6 of file RemoveEmpty.php.
| HTMLPurifier_Injector_RemoveEmpty::$removeNbspExceptions | 
Definition at line 6 of file RemoveEmpty.php.