DOMCharacterData::substringData
DOMComment::__construct
DOM
PHP Manual
The DOMComment class
简介
Represents comment nodes, characters delimited by
<!--
and
-->
.
类摘要
DOMComment
extends
DOMCharacterData
{
/* 方法 */
DOMComment::__construct
([
string
$value
] )
/* 继承的方法 */
void
DOMCharacterData::appendData
(
string
$data
)
void
DOMCharacterData::deleteData
(
int
$offset
,
int
$count
)
void
DOMCharacterData::insertData
(
int
$offset
,
string
$data
)
void
DOMCharacterData::replaceData
(
int
$offset
,
int
$count
,
string
$data
)
string
DOMCharacterData::substringData
(
int
$offset
,
int
$count
)
DOMNode
DOMNode::appendChild
(
DOMNode
$newnode
)
DOMNode
DOMNode::cloneNode
([
bool
$deep
] )
public
int
DOMNode::getLineNo
(
void
)
bool
DOMNode::hasAttributes
(
void
)
bool
DOMNode::hasChildNodes
(
void
)
DOMNode
DOMNode::insertBefore
(
DOMNode
$newnode
[,
DOMNode
$refnode
] )
bool
DOMNode::isDefaultNamespace
(
string
$namespaceURI
)
bool
DOMNode::isSameNode
(
DOMNode
$node
)
bool
DOMNode::isSupported
(
string
$feature
,
string
$version
)
string
DOMNode::lookupNamespaceURI
(
string
$prefix
)
string
DOMNode::lookupPrefix
(
string
$namespaceURI
)
void
DOMNode::normalize
(
void
)
DOMNode
DOMNode::removeChild
(
DOMNode
$oldnode
)
DOMNode
DOMNode::replaceChild
(
DOMNode
$newnode
,
DOMNode
$oldnode
)
}
参见
» W3C specification of Comment
Table of Contents
DOMComment::__construct
— Creates a new DOMComment object
DOMCharacterData::substringData
DOMComment::__construct
DOM
PHP Manual