HTMLPurifier_Strategy_MakeWellFormed Klassenreferenz

Klassendiagramm für HTMLPurifier_Strategy_MakeWellFormed:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_Strategy_MakeWellFormed:

Collaboration graph
[Legende]

Öffentliche Methoden

 execute ($tokens, $config, $context)

Geschützte Methoden

 processToken ($token, $injector=-1)

Geschützte Attribute

 $tokens
 $t
 $stack
 $injectors
 $config
 $context

Ausführliche Beschreibung

Takes tokens makes them well-formed (balance end tags, etc.)

Definiert in Zeile 6 der Datei MakeWellFormed.php.


Dokumentation der Elementfunktionen

execute ( tokens,
config,
context 
)

Executes the strategy on the tokens.

Parameter:
$tokens Array of HTMLPurifier_Token objects to be operated on.
$config Configuration options
Rückgabe:
Processed array of token objects.

Erneute Implementation von HTMLPurifier_Strategy.

Definiert in Zeile 39 der Datei MakeWellFormed.php.

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

processToken ( token,
injector = -1 
) [protected]

Processes arbitrary token values for complicated substitution patterns. In general:

If $token is an array, it is a list of tokens to substitute for the current token. These tokens then get individually processed. If there is a leading integer in the list, that integer determines how many tokens from the stream should be removed.

If $token is a regular token, it is swapped with the current token.

If $token is false, the current token is deleted.

If $token is an integer, that number of tokens (with the first token being the current one) will be deleted.

Parameter:
$token Token substitution value
$injector Injector that performed the substitution; default is if this is not an injector related operation.

Definiert in Zeile 406 der Datei MakeWellFormed.php.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:


Dokumentation der Datenelemente

$config [protected]

Current instance of HTMLPurifier_Config.

Definiert in Zeile 32 der Datei MakeWellFormed.php.

$context [protected]

Current instance of HTMLPurifier_Context.

Definiert in Zeile 37 der Datei MakeWellFormed.php.

$injectors [protected]

Injectors active in this stream processing.

Definiert in Zeile 27 der Datei MakeWellFormed.php.

$stack [protected]

Current nesting of elements.

Definiert in Zeile 22 der Datei MakeWellFormed.php.

$t [protected]

Current index in $tokens.

Definiert in Zeile 17 der Datei MakeWellFormed.php.

$tokens [protected]

Array stream of tokens being processed.

Definiert in Zeile 12 der Datei MakeWellFormed.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen