array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.domtext.php', 1 => 'DOMText', ), 'up' => array ( 0 => 'book.dom.php', 1 => 'DOM', ), 'prev' => array ( 0 => 'domprocessinginstruction.construct.php', 1 => 'DOMProcessingInstruction::__construct', ), 'next' => array ( 0 => 'domtext.construct.php', 1 => 'DOMText::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domtext.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.domtext.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.
$exclusive
= false
,$withComments
= false
,$xpath
= null
,$nsPrefixes
= null
Holds all the text of logically-adjacent (not separated by Element, Comment or Processing Instruction) Text nodes.
Version | Description |
---|---|
8.0.0 | The unimplemented method DOMText::replaceWholeText() has been removed. |