The DOMCharacterData class
(PHP 5, PHP 7)
Introduction
Represents nodes with character data. No nodes directly correspond to
this class, but other nodes do inherit from it.
Class synopsis
public void deleteData
(
int $offset
,
int $count
)
public void insertData
(
int $offset
,
string $data
)
public void replaceData
(
int $offset
,
int $count
,
string $data
)
public string DOMNode::C14N
([
bool $exclusive
[,
bool $with_comments
[,
array $xpath
[,
array $ns_prefixes
]]]] )
public int DOMNode::C14NFile
(
string $uri
[,
bool $exclusive
= FALSE
[,
bool $with_comments
= FALSE
[,
array $xpath
[,
array $ns_prefixes
]]]] )
}
Properties
- data
-
The contents of the node.
- length
-
The length of the contents.
Table of Contents