This function returns a new instance of class DOMText. The content of the text is the value of the passed parameter. Ce noeud ne sera pas affiché dans le document, à moins qu'il ne soit inséré avec DOMNode->appendChild().
The return value is FALSE if an error occurred.
See also DOMNode->appendChild(), DOMDocument->createElement(), DOMDocument->createAttribute() and DOMDocument->createComment().
Précédent | Sommaire | Suivant |
DOMDocument->createProcessingInstruction | Niveau supérieur | DOMDocument->getElementById |