|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Adds important param elements to inside of object in order to make things safe. More...
Inheritance diagram for HTMLPurifier_Injector_SafeObject:
Collaboration diagram for HTMLPurifier_Injector_SafeObject:Public Member Functions | |
| prepare ($config, $context) | |
| handleElement (&$token) | |
| handleEnd (&$token) | |
| Handler that is called when an end token is processed. More... | |
Public Member Functions inherited from HTMLPurifier_Injector | |
| rewindOffset ($offset) | |
| Rewind to a spot to re-perform processing. More... | |
| getRewindOffset () | |
| Retrieves rewind offset, and then unsets it. More... | |
| 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. More... | |
| 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. More... | |
| allowsElement ($name) | |
| Tests if the context node allows a certain element. More... | |
| handleText (&$token) | |
| Handler that is called when a text token is processed. More... | |
| handleElement (&$token) | |
| Handler that is called when a start or empty token is processed. More... | |
| handleEnd (&$token) | |
| Handler that is called when an end token is processed. More... | |
| notifyEnd ($token) | |
| Notifier that is called when an end token is processed. More... | |
Data Fields | |
| $name = 'SafeObject' | |
| @type string More... | |
| $needed = array('object', 'param') | |
| @type array More... | |
Data Fields inherited from HTMLPurifier_Injector | |
| $name | |
| Advisory name of injector, this is for friendly error messages. More... | |
| $needed = array() | |
| Array of elements and attributes this injector creates and therefore need to be allowed by the definition. More... | |
Protected Attributes | |
| $objectStack = array() | |
| @type array More... | |
| $paramStack = array() | |
| @type array More... | |
| $addParam | |
| Keep this synchronized with AttrTransform/SafeParam.php. More... | |
| $allowedParam | |
| These are all lower-case keys. More... | |
Protected Attributes inherited from HTMLPurifier_Injector | |
| $htmlDefinition | |
| @type HTMLPurifier_HTMLDefinition More... | |
| $currentNesting | |
| Reference to CurrentNesting variable in Context. More... | |
| $currentToken | |
| Reference to current token. More... | |
| $inputZipper | |
| Reference to InputZipper variable in Context. More... | |
| $rewindOffset = false | |
| Number of elements to rewind backwards (relative). More... | |
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. More... | |
| 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. More... | |
| backward (&$i, &$current) | |
| Iterator function, starts with the previous token and continues until you reach the beginning of input tokens. More... | |
Adds important param elements to inside of object in order to make things safe.
Definition at line 7 of file SafeObject.php.
| HTMLPurifier_Injector_SafeObject::handleElement | ( | & | $token | ) |
| HTMLPurifier_Token | $token |
Reimplemented from HTMLPurifier_Injector.
Definition at line 63 of file SafeObject.php.
| HTMLPurifier_Injector_SafeObject::handleEnd | ( | & | $token | ) |
Handler that is called when an end token is processed.
Reimplemented from HTMLPurifier_Injector.
Definition at line 112 of file SafeObject.php.
| HTMLPurifier_Injector_SafeObject::prepare | ( | $config, | |
| $context | |||
| ) |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_Injector.
Definition at line 55 of file SafeObject.php.
References $config.
|
protected |
Keep this synchronized with AttrTransform/SafeParam.php.
@type array
Definition at line 33 of file SafeObject.php.
|
protected |
These are all lower-case keys.
@type array
Definition at line 42 of file SafeObject.php.
| HTMLPurifier_Injector_SafeObject::$name = 'SafeObject' |
| HTMLPurifier_Injector_SafeObject::$needed = array('object', 'param') |
@type array
Definition at line 17 of file SafeObject.php.
|
protected |
@type array
Definition at line 22 of file SafeObject.php.
|
protected |
@type array
Definition at line 27 of file SafeObject.php.