HTMLPurifier_Injector_SafeObject Klassenreferenz

Klassendiagramm für HTMLPurifier_Injector_SafeObject:

Inheritance graph
[Legende]
Zusammengehörigkeiten von HTMLPurifier_Injector_SafeObject:

Collaboration graph
[Legende]

Öffentliche Methoden

 prepare ($config, $context)
 handleElement (&$token)
 handleEnd (&$token)

Datenfelder

 $name = 'SafeObject'
 $needed = array('object', 'param')

Geschützte Attribute

 $objectStack = array()
 $paramStack = array()
 $addParam
 $allowedParam

Ausführliche Beschreibung

Adds important param elements to inside of object in order to make things safe.

Definiert in Zeile 7 der Datei SafeObject.php.


Dokumentation der Elementfunktionen

handleElement ( &$  token  ) 

Handler that is called when a start or empty token is processed

Erneute Implementation von HTMLPurifier_Injector.

Definiert in Zeile 29 der Datei SafeObject.php.

handleEnd ( &$  token  ) 

Handler that is called when an end token is processed

Erneute Implementation von HTMLPurifier_Injector.

Definiert in Zeile 75 der Datei SafeObject.php.

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()).

Parameter:
$config Instance of HTMLPurifier_Config
$context Instance of HTMLPurifier_Context
Rückgabe:
Boolean false if success, string of missing needed element/attribute if failure

Erneute Implementation von HTMLPurifier_Injector.

Definiert in Zeile 25 der Datei SafeObject.php.


Dokumentation der Datenelemente

$addParam [protected]

Initialisierung:

 array(
        'allowScriptAccess' => 'never',
        'allowNetworking' => 'internal',
    )

Definiert in Zeile 16 der Datei SafeObject.php.

$allowedParam [protected]

Initialisierung:

 array(
        'wmode' => true,
        'movie' => true,
    )

Definiert in Zeile 20 der Datei SafeObject.php.

$name = 'SafeObject'

Advisory name of injector, this is for friendly error messages

Erneute Implementation von HTMLPurifier_Injector.

Definiert in Zeile 9 der Datei SafeObject.php.

$needed = array('object', 'param')

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')

Erneute Implementation von HTMLPurifier_Injector.

Definiert in Zeile 10 der Datei SafeObject.php.

$objectStack = array() [protected]

Definiert in Zeile 12 der Datei SafeObject.php.

$paramStack = array() [protected]

Definiert in Zeile 13 der Datei SafeObject.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