The DOMCharacterData class
(PHP 5, PHP 7)
简介
Represents nodes with character data. No nodes directly correspond to
this class, but other nodes do inherit from it.
类摘要
public deleteData
(
int $offset
,
int $count
) :
bool
public insertData
(
int $offset
,
string $data
) :
bool
public replaceData
(
int $offset
,
int $count
,
string $data
) :
bool
public DOMNode::C14N
(
bool $exclusive
= false
,
bool $withComments
= false
,
array|null $xpath
= null
,
array|null $nsPrefixes
= null
) :
string|false
public DOMNode::C14NFile
(
string $uri
,
bool $exclusive
= false
,
bool $withComments
= false
,
array|null $xpath
= null
,
array|null $nsPrefixes
= null
) :
int|false
}
属性
- data
-
The contents of the node.
- length
-
The length of the contents.
目录