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.
반환값
The new DOMText or FALSE if an error occured.
참고
- DOMNode->appendChild()
- DOMDocument->createAttribute()
- DOMDocument->createAttributeNS()
- DOMDocument->createCDATASection()
- DOMDocument->createComment()
- DOMDocument->createDocumentFragment()
- DOMDocument->createElement()
- DOMDocument->createElementNS()
- DOMDocument->createEntityReference()
- DOMDocument->createProcessingInstruction()