DOMDocument->createTextNode()

(no version information, might be only in CVS)

DOMDocument->createTextNode() -- Create new text node

說明

class DOMDocument {

DOMText createTextNode ( string content )

}

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

參數

content

The content of the text.

返回值

The new DOMText or FALSE if an error occured.