The DOMText class
Introduction
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
Class synopsis
DOMText
extends
DOMCharacterData
{
/* Properties */
/* Methods */
DOMText::__construct
([ string $value
] )
/* Inherited methods */
}Properties
- wholeText
-
Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
Table of Contents
- DOMText::__construct — Creates a new DOMText object
- DOMText::isWhitespaceInElementContent — Indicates whether this text node contains whitespace
- DOMText::splitText — Breaks this node into two nodes at the specified offset