The Dom\CharacterData class
(PHP 8 >= 8.4.0)
Introduction
Represents nodes with character data. No nodes directly correspond to this class, but other nodes do inherit from it.
This is the modern, spec-compliant equivalent of DOMCharacterData.
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Methods */
/* Inherited methods */
/* Not documented yet */
}Properties
Table of Contents
- Dom\CharacterData::after — Adds nodes after the character data
- Dom\CharacterData::appendData — Append the string to the end of the character data of the node
- Dom\CharacterData::before — Adds nodes before the character data
- Dom\CharacterData::deleteData — Remove a range of characters from the character data
- Dom\CharacterData::insertData — Insert a string at the specified UTF-8 codepoint offset
- Dom\CharacterData::remove — Removes the character data node
- Dom\CharacterData::replaceData — Replace a substring within the character data
- Dom\CharacterData::replaceWith — Replaces the character data with new nodes
- Dom\CharacterData::substringData — Extracts a range of data from the character data
↑ and ↓ to navigate • Enter to select • Esc to close • / to open