php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Dom\CharacterData Class Reference
Inheritance diagram for Dom\CharacterData:
Dom\Node Dom\ChildNode Dom\Comment Dom\ProcessingInstruction Dom\Text Dom\CDATASection

Public Member Functions

 substringData (int $offset, int $count)
 
 appendData (string $data)
 
 insertData (int $offset, string $data)
 
 deleteData (int $offset, int $count)
 
 replaceData (int $offset, int $count, string $data)
 
 remove ()
 
 before (Node|string ... $nodes)
 
 after (Node|string ... $nodes)
 
 replaceWith (Node|string ... $nodes)
 
- Public Member Functions inherited from Dom\Node
 getRootNode (array $options=[])
 
 hasChildNodes ()
 
 normalize ()
 
 cloneNode (bool $deep=false)
 
 isEqualNode (?Node $otherNode)
 
 isSameNode (?Node $otherNode)
 
 compareDocumentPosition (Node $other)
 
 contains (?Node $other)
 
 lookupPrefix (?string $namespace)
 
 lookupNamespaceURI (?string $prefix)
 
 isDefaultNamespace (?string $namespace)
 
 insertBefore (Node $node, ?Node $child)
 
 appendChild (Node $node)
 
 replaceChild (Node $node, Node $child)
 
 removeChild (Node $child)
 
 getLineNo ()
 
 getNodePath ()
 
 C14N (bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
 
 C14NFile (string $uri, bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

Element $previousElementSibling
 
Element $nextElementSibling
 
string $data
 
int $length
 
- Data Fields inherited from Dom\Node
int $nodeType
 
string $nodeName
 
string $baseURI
 
bool $isConnected
 
Document $ownerDocument
 
Node $parentNode
 
Element $parentElement
 
NodeList $childNodes
 
Node $firstChild
 
Node $lastChild
 
Node $previousSibling
 
Node $nextSibling
 
string $nodeValue
 
string $textContent
 
const int DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const int DOCUMENT_POSITION_PRECEDING = 0x02
 
const int DOCUMENT_POSITION_FOLLOWING = 0x04
 
const int DOCUMENT_POSITION_CONTAINS = 0x08
 
const int DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 

Detailed Description

Definition at line 1750 of file php_dom.stub.php.

Member Function Documentation

◆ after()

Dom\CharacterData::after ( Node|string ... $nodes)

@implementation-alias DOMElement\after

Implements Dom\ChildNode.

Definition at line 1782 of file php_dom.stub.php.

◆ appendData()

Dom\CharacterData::appendData ( string $data)

Definition at line 1772 of file php_dom.stub.php.

◆ before()

Dom\CharacterData::before ( Node|string ... $nodes)

@implementation-alias DOMElement\before

Implements Dom\ChildNode.

Definition at line 1780 of file php_dom.stub.php.

◆ deleteData()

Dom\CharacterData::deleteData ( int $offset,
int $count )

Definition at line 1774 of file php_dom.stub.php.

◆ insertData()

Dom\CharacterData::insertData ( int $offset,
string $data )

Definition at line 1773 of file php_dom.stub.php.

◆ remove()

Dom\CharacterData::remove ( )

@implementation-alias DOMElement\remove

Implements Dom\ChildNode.

Definition at line 1778 of file php_dom.stub.php.

◆ replaceData()

Dom\CharacterData::replaceData ( int $offset,
int $count,
string $data )

Definition at line 1775 of file php_dom.stub.php.

◆ replaceWith()

Dom\CharacterData::replaceWith ( Node|string ... $nodes)

@implementation-alias DOMElement\replaceWith

Implements Dom\ChildNode.

Definition at line 1784 of file php_dom.stub.php.

◆ substringData()

Dom\CharacterData::substringData ( int $offset,
int $count )

@implementation-alias DOMCharacterData\substringData

Definition at line 1771 of file php_dom.stub.php.

Field Documentation

◆ $data

string Dom\CharacterData::$data

@virtual

Definition at line 1764 of file php_dom.stub.php.

◆ $length

int Dom\CharacterData::$length

@readonly @virtual

Definition at line 1769 of file php_dom.stub.php.

◆ $nextElementSibling

Element Dom\CharacterData::$nextElementSibling

@readonly @virtual

Definition at line 1761 of file php_dom.stub.php.

◆ $previousElementSibling

Element Dom\CharacterData::$previousElementSibling

@readonly @virtual

Definition at line 1756 of file php_dom.stub.php.


The documentation for this class was generated from the following file: