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.
类摘要
DOMCharacterData
extends
DOMNode
{
/* 属性 */
/* 继承的属性 */
/* 方法 */
/* 继承的方法 */
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属性
- data
-
The contents of the node.
- length
-
The length of the contents.
Table of Contents
- DOMCharacterData::appendData — Append the string to the end of the character data of the node
- DOMCharacterData::deleteData — Remove a range of characters from the node
- DOMCharacterData::insertData — Insert a string at the specified 16-bit unit offset
- DOMCharacterData::replaceData — Replace a substring within the DOMCharacterData node
- DOMCharacterData::substringData — Extracts a range of data from the node