<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.appenditerator.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'appenditerator.rewind.php', 1 => 'AppendIterator::rewind', 2 => 'Rewinds the Iterator', ), 'up' => array ( 0 => 'class.appenditerator.php', 1 => 'AppendIterator', ), 'prev' => array ( 0 => 'appenditerator.next.php', 1 => 'AppendIterator::next', ), 'next' => array ( 0 => 'appenditerator.valid.php', 1 => 'AppendIterator::valid', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/appenditerator/rewind.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="appenditerator.rewind" class="refentry"> <div class="refnamediv"> <h1 class="refname">AppendIterator::rewind</h1> <p class="verinfo">(PHP 5 >= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">AppendIterator::rewind</span> — <span class="dc-title">Rewinds the Iterator</span></p> </div> <div class="refsect1 description" id="refsect1-appenditerator.rewind-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>AppendIterator::rewind</strong></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div> <p class="para rdfs-comment"> Rewind to the first element of the first inner Iterator. </p> </div> <div class="refsect1 parameters" id="refsect1-appenditerator.rewind-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-appenditerator.rewind-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> 没有返回值。 </p> </div> <div class="refsect1 seealso" id="refsect1-appenditerator.rewind-seealso"> <h3 class="title">参见</h3> <p class="para"> <ul class="simplelist"> <li><span class="methodname"><a href="iterator.rewind.php" class="methodname" rel="rdfs-seeAlso">Iterator::rewind()</a> - 返回到迭代器的第一个元素</span></li> <li><span class="methodname"><a href="appenditerator.current.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::current()</a> - Gets the current value</span></li> <li><span class="methodname"><a href="appenditerator.key.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::key()</a> - Gets the current key</span></li> <li><span class="methodname"><a href="appenditerator.next.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::next()</a> - Moves to the next element</span></li> <li><span class="methodname"><a href="appenditerator.valid.php" class="methodname" rel="rdfs-seeAlso">AppendIterator::valid()</a> - Checks validity of the current element</span></li> </ul> </p> </div> </div><?php manual_footer($setup); ?>