📄 class.domcomment.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>The DOMComment class</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="domcharacterdata.substringdata.html">DOMCharacterData::substringData</a></div> <div class="next" style="text-align: right; float: right;"><a href="domcomment.construct.html">DOMComment::__construct</a></div> <div class="up"><a href="book.dom.html">DOM</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">The DOMComment class</h1> <div class="partintro"> <div id="domcomment.intro" class="section"> <h2 class="title">Introduction</h2> <p class="para"> Represents comment nodes, characters delimited by <code class="code"><!--</code> and <code class="code">--></code>. </p> </div> <div id="domcomment.synopsis" class="section"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"><b class="classname">DOMComment</b></div> <div class="classsynopsisinfo"> <span class="ooclass"> <b class="classname">DOMComment</b> </span> <span class="ooclass"> <span class="modifier">extends</span> <a href="class.domcharacterdata.html" class="classname">DOMCharacterData</a> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="methodname"><b><b>__construct</b></b></span> ([ <span class="methodparam"><span class="type">string</span> <tt class="parameter">$value</tt></span> ] )</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Inherited methods */</div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="domcharacterdata.appenddata.html" class="function">DOMCharacterData::appendData</a></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$data</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="domcharacterdata.deletedata.html" class="function">DOMCharacterData::deleteData</a></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$offset</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$count</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="domcharacterdata.insertdata.html" class="function">DOMCharacterData::insertData</a></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$offset</tt></span> , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$data</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="domcharacterdata.replacedata.html" class="function">DOMCharacterData::replaceData</a></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$offset</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$count</tt></span> , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$data</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="domcharacterdata.substringdata.html" class="function">DOMCharacterData::substringData</a></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$offset</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$count</tt></span> )</div> }</div> </div> <div class="section"> <h2 class="title">See Also</h2> <p class="para"> <ul class="simplelist"> <li class="member"><a href="http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1728279322" class="link external">» W3C specification of Comment</a></li> </ul> </p> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="domcomment.construct.html">DOMComment::__construct</a> 鈥
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -