ref.tidy.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 360 行
HTML
360 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Tidy Functions</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="book.tidy.html">Tidy</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.ob-tidyhandler.html">ob_tidyhandler</a></div> <div class="up"><a href="book.tidy.html">Tidy</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">Tidy Functions</h1> <div class="partintro"> <div id="tidy.classes" class="section"> <h2 class="title">Predefined Classes</h2> <div id="tidy.class.tidynode" class="section"> <h2 class="title"><b class="classname">tidyNode</b></h2> <div id="tidy.class.tidynode.methods" class="section"> <h2 class="title">Methods</h2> <ul class="itemizedlist"> <li class="listitem"> <p class="para"><a href="function.tidynode-getparent.html" class="xref">tidyNode::getParent</a> - Returns the parent of the current node</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-haschildren.html" class="xref">tidyNode->hasChildren</a> - Returns <b><tt>TRUE</tt></b> if the current node has children</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-hassiblings.html" class="xref">tidyNode->hasSiblings</a> - Returns <b><tt>TRUE</tt></b> if the current node has siblings</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-isasp.html" class="xref">tidyNode->isAsp</a> - Returns <b><tt>TRUE</tt></b> if the current node is ASP code</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-iscomment.html" class="xref">tidyNode->isComment</a> - Returns <b><tt>TRUE</tt></b> if the current node is a comment</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-ishtml.html" class="xref">tidyNode->isHtml</a> - Returns <b><tt>TRUE</tt></b> if the current node is HTML</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-isjste.html" class="xref">tidyNode->isJste</a> - Returns <b><tt>TRUE</tt></b> if the current node is JSTE</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-isphp.html" class="xref">tidyNode->isPhp</a> - Returns <b><tt>TRUE</tt></b> if the current node is PHP</p> </li> <li class="listitem"> <p class="para"><a href="function.tidynode-istext.html" class="xref">tidyNode->isText</a> - Returns <b><tt>TRUE</tt></b> if the current node is Text (no markup)</p> </li> </ul> </div> <div id="tidy.class.tidynode.properties" class="section"> <h2 class="title">Properties</h2> <ul class="itemizedlist"> <li class="listitem"> <p class="para">value - the value of the node (e.g. the html text)</p> </li> <li class="listitem"> <p class="para">name - the name of the tag (e.g. html, a, etc..)</p> </li> <li class="listitem"> <p class="para">type - the type of the node (one of the constants above, e.g. <b><tt>TIDY_NODETYPE_PHP</tt></b>)</p> </li> <li class="listitem"> <p class="para">line* - the line where the node starts</p> </li> <li class="listitem"> <p class="para">column* - the column where the node starts</p> </li> <li class="listitem"> <p class="para">proprietary* - <b><tt>TRUE</tt></b> if the node refers to a proprietary tag</p> </li> <li class="listitem"> <p class="para">id - the ID of the tag (one of the constants above, e.g. <b><tt>TIDY_TAG_FRAME</tt></b>)</p> </li> <li class="listitem"> <p class="para">attribute - an array with the attributes of the current node, or <b><tt>NULL</tt></b> if there aren't any</p> </li> <li class="listitem"> <p class="para">child - an array with the child <span class="type tidyNode">tidyNode</span>s, or <b><tt>NULL</tt></b> if there aren't any</p> </li> </ul> <blockquote><p><b class="note">Note</b>: The properties marked with * are just available since PHP 5.1.0. <br /> </p></blockquote> </div> </div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.ob-tidyhandler.html">ob_tidyhandler</a> 鈥
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?