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 deleteData
(
int $offset
,
int $count
) :
void
public insertData
(
int $offset
,
string $data
) :
void
public replaceData
(
int $offset
,
int $count
,
string $data
) :
void
public DOMNode::C14N
([
bool $exclusive
[,
bool $with_comments
[,
array $xpath
[,
array $ns_prefixes
]]]] ) :
string
public DOMNode::C14NFile
(
string $uri
[,
bool $exclusive
= FALSE
[,
bool $with_comments
= FALSE
[,
array $xpath
[,
array $ns_prefixes
]]]] ) :
int
}
Properties
- data
-
The contents of the node.
- length
-
The length of the contents.
Table of Contents