Forum und email

DOMDocument->createTextNode()

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

DOMDocument->createTextNode() — Create new text node

說明

DOMDocument
DOMText createTextNode ( string $content )

This function creates a new instance of class DOMText. 本節點不會出現在文件中,除非是用例如 DOMNode->appendChild() 函式來將其插入。

參數

content

The content of the text.

Return值

The new DOMText or FALSE if an error occured.