HTMLPurifier_Node Klassenreferenz

HTMLPurifier_Node Klassenreferenz
Klassendiagramm für HTMLPurifier_Node:

Öffentliche Methoden

 toTokenPair ()
 

Datenfelder

 $line
 
 $col
 
 $armor = array()
 
 $dead = false
 

Ausführliche Beschreibung

Abstract base node class that all others inherit from.

Why do we not use the DOM extension? (1) It is not always available, (2) it has funny constraints on the data it can represent, whereas we want a maximally flexible representation, and (3) its interface is a bit cumbersome.

Definiert in Zeile 11 der Datei Node.php.

Dokumentation der Elementfunktionen

toTokenPair ( )
abstract

Returns a pair of start and end tokens, where the end token is null if it is not necessary. Does not include children. array

Dokumentation der Datenelemente

$armor = array()

Lookup array of processing that this token is exempt from. Currently, valid values are "ValidateAttributes". array

Definiert in Zeile 30 der Datei Node.php.

Wird benutzt von HTMLPurifier_Node_Element\__construct().

$col

Column number of the start token in the source document. Null if unknown. int

Definiert in Zeile 23 der Datei Node.php.

Wird benutzt von HTMLPurifier_Node_Comment\__construct(), HTMLPurifier_Node_Element\__construct() und HTMLPurifier_Node_Text\__construct().

$dead = false

When true, this node should be ignored as non-existent.

Who is responsible for ignoring dead nodes? FixNesting is responsible for removing them before passing on to child validators.

Definiert in Zeile 39 der Datei Node.php.

$line

Line number of the start token in the source document int

Definiert in Zeile 17 der Datei Node.php.

Wird benutzt von HTMLPurifier_Node_Comment\__construct(), HTMLPurifier_Node_Element\__construct() und HTMLPurifier_Node_Text\__construct().


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.