DOMDocument
PHP Manual

DOMDocument::createTextNode

(PHP 5)

DOMDocument::createTextNodeCreate new text node

Beschreibung

DOMText DOMDocument::createTextNode ( string $content )

This function creates a new instance of class DOMText. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode->appendChild() eingefügt wird.

Parameter-Liste

content

The content of the text.

Rückgabewerte

The new DOMText or FALSE if an error occured.

Siehe auch


DOMDocument
PHP Manual