📄 function.domnode-previous-sibling.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Returns the previous sibling of node</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="function.domnode-prefix.html">DomNode->prefix</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.domnode-remove-child.html">DomNode->remove_child</a></div> <div class="up"><a href="ref.domxml.html">DOM XML Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.domnode-previous-sibling" class="refentry"> <div class="refnamediv"> <h1 class="refname">DomNode->previous_sibling</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">DomNode->previous_sibling</span> — <span class="dc-title"> Returns the previous sibling of node </span></p> </div> <div class="refsect1 unknown"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><a href="class.domelement.html" class="type domelement">domelement</a></span> <span class="methodname"><b><b>DomNode->previous_sibling</b></b></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> This function returns the previous sibling of the current node. If there is no previous sibling it returns <b><tt>FALSE</tt></b> (< 4.3) or <b><tt>NULL</tt></b> (>= 4.3). You can use this function to iterate over all children of a node as shown in the example. </p> <p class="para"> See also <a href="function.domnode-next-sibling.html" class="function">domnode_next_sibling()</a>. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.domnode-prefix.html">DomNode->prefix</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.domnode-remove-child.html">DomNode->remove_child</a></div> <div class="up"><a href="ref.domxml.html">DOM XML Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -