Forum und email

DOMDocument->createTextNode()

(No version information available, might be only in CVS)

DOMDocument->createTextNode() — Create new text node

Beschreibung

DOMDocument
DOMText 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.