![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| prepare ($config, $context) | |
| handleElement (&$token) | |
| handleEnd (&$token) | |
Public Member Functions inherited from HTMLPurifier_Injector | |
| rewindOffset ($offset) | |
| getRewindOffset () | |
| prepare ($config, $context) | |
| checkNeeded ($config) | |
| allowsElement ($name) | |
| handleText (&$token) | |
| handleElement (&$token) | |
| handleEnd (&$token) | |
| notifyEnd ($token) | |
Data Fields | |
| $name = 'RemoveSpansWithoutAttributes' | |
| $needed = array('span') | |
Data Fields inherited from HTMLPurifier_Injector | |
| $name | |
| $needed = array() | |
Additional Inherited Members | |
Protected Member Functions inherited from HTMLPurifier_Injector | |
| forward (&$i, &$current) | |
| forwardUntilEndToken (&$i, &$current, &$nesting) | |
| backward (&$i, &$current) | |
Protected Attributes inherited from HTMLPurifier_Injector | |
| $htmlDefinition | |
| $currentNesting | |
| $currentToken | |
| $inputZipper | |
| $rewindOffset = false | |
Injector that removes spans with no attributes
| handleElement | ( | & | $token | ) |
| HTMLPurifier_Token | $token |
Reimplemented from HTMLPurifier_Injector.

| handleEnd | ( | & | $token | ) |
| HTMLPurifier_Token | $token |
Reimplemented from HTMLPurifier_Injector.
| 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()).
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_Injector.
| $name = 'RemoveSpansWithoutAttributes' |
@type string
| $needed = array('span') |
@type array