DOMDocument
PHP Manual

DOMDocument::createTextNode

(PHP 5)

DOMDocument::createTextNodeCreate new text node

Descrição

public DOMText DOMDocument::createTextNode ( string $content )

This function creates a new instance of class DOMText. Este nó não será exibido no documento a não ser que ele seja inserido, por exemplo, com DOMNode->appendChild().

Parâmetros

content

The content of the text.

Valor Retornado

The new DOMText or FALSE if an error occurred.

Veja Também


DOMDocument
PHP Manual