⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spldoublylinkedlist.setiteratormode.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Sets the mode of iteration</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="spldoublylinkedlist.rewind.html">SplDoublyLinkedList::rewind</a></div> <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.shift.html">SplDoublyLinkedList::shift</a></div> <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="spldoublylinkedlist.setiteratormode" class="refentry"> <div class="refnamediv">  <h1 class="refname">SplDoublyLinkedList::setIteratorMode</h1>  <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">SplDoublyLinkedList::setIteratorMode</span> &mdash; <span class="dc-title">Sets the mode of iteration</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type void">void</span></span> <span class="methodname"><b><b>SplDoublyLinkedList::setIteratorMode</b></b></span>    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$mode</tt></span>   )</div> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">mode</tt></i></span>     <dd>      <p class="para">       There are two orthogonal sets of modes that can be set:      </p>      <ul class="itemizedlist">       <li class="listitem">        <span class="simpara">The direction of the iteration (either one or the other):</span>        <ul class="itemizedlist">         <li class="listitem"><span class="simpara"><b><tt>SplDoublyLnkedList::IT_MODE_LIFO</tt></b> (Stack style)</span></li>         <li class="listitem"><span class="simpara"><b><tt>SplDoublyLnkedList::IT_MODE_FIFO</tt></b> (Queue style)</span></li>        </ul>       </li>       <li class="listitem">        <span class="simpara">The behavior of the iterator (either one or the other):</span>        <ul class="itemizedlist">         <li class="listitem"><span class="simpara"><b><tt>SplDoublyLnkedList::IT_MODE_DELETE</tt></b> (Elements are deleted by the iterator)</span></li>         <li class="listitem"><span class="simpara"><b><tt>SplDoublyLnkedList::IT_MODE_KEEP</tt></b> (Elements are traversed by the iterator)</span></li>        </ul>       </li>      </ul>      <p class="para">       The default mode is: <b><tt>SplDoublyLnkedList::IT_MODE_FIFO</tt></b> | <b><tt>SplDoublyLnkedList::IT_MODE_KEEP</tt></b>      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   No value is returned.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="spldoublylinkedlist.rewind.html">SplDoublyLinkedList::rewind</a></div> <div class="next" style="text-align: right; float: right;"><a href="spldoublylinkedlist.shift.html">SplDoublyLinkedList::shift</a></div> <div class="up"><a href="class.spldoublylinkedlist.html">SplDoublyLinkedList</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 + -