DOMCharacterData::substringData
DOMComment::__construct
DOM
PHP 手册
The DOMComment class
简介
Represents comment nodes, characters delimited by
<!--
and
-->
.
Class synopsis
DOMComment
DOMComment
extends
DOMCharacterData
{
/* Methods */
__construct
([
string
$value
] )
/* Inherited methods */
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
)
}
参见
» W3C specification of Comment
Table of Contents
DOMComment::__construct
— Creates a new DOMComment object
DOMCharacterData::substringData
DOMComment::__construct
DOM
PHP 手册