DOMDocument->createTextNode()
(No version information available, might be only in CVS)
DOMDocument->createTextNode() — Create new text node
Descrição
DOMDocument
DOMText 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 occured.
Veja também
- DOMNode->appendChild()
- DOMDocument->createAttribute()
- DOMDocument->createAttributeNS()
- DOMDocument->createCDATASection()
- DOMDocument->createComment()
- DOMDocument->createDocumentFragment()
- DOMDocument->createElement()
- DOMDocument->createElementNS()
- DOMDocument->createEntityReference()
- DOMDocument->createProcessingInstruction()