downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/class.appenditerator.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/spl.iterators.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'class.appenditerator.php',
   
1 => 'AppendIterator',
  ),
 
'up' =>
  array (
   
0 => 'spl.iterators.php',
   
1 => 'Iterators',
  ),
 
'prev' =>
  array (
   
0 => 'spl.iterators.php',
   
1 => 'Iterators',
  ),
 
'next' =>
  array (
   
0 => 'appenditerator.append.php',
   
1 => 'AppendIterator::append',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>

 <h1 class="title">The AppendIterator class</h1>
 

 <div class="partintro">


  <div id="appenditerator.intro" class="section">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Iterate over multiple collections.
   </p>
  </div>


  <div id="appenditerator.synopsis" class="section">
   <h2 class="title">Class synopsis</h2>


   <div class="classsynopsis">
    <div class="ooclass"><b class="classname">AppendIterator</b></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <b class="classname">AppendIterator</b>
     </span>
    
     <span class="ooclass">
      <span class="modifier">extends</span>
      <a href="class.iteratoriterator.php" class="classname">IteratorIterator</a>
     </span>
    
     <span class="oointerface">implements
      <a href="class.outeriterator.php" class="interfacename">OuterIterator</a>
     </span>

     <span class="oointerface">,
      <a href="class.traversable.php" class="interfacename">Traversable</a>
     </span>

     <span class="oointerface">,
      <a href="class.iterator.php" class="interfacename">Iterator</a>
     </span>
     {</div>

   
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.append.php" class="function">append</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.iterator.php" class="type Iterator">Iterator</a></span> <tt class="parameter">$iterator</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
    <span class="methodname"><a href="appenditerator.construct.php" class="function">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.current.php" class="function">current</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.getarrayiterator.php" class="function">getArrayIterator</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.getinneriterator.php" class="function">getInnerIterator</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.getiteratorindex.php" class="function">getIteratorIndex</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.key.php" class="function">key</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.next.php" class="function">next</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.rewind.php" class="function">rewind</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="appenditerator.valid.php" class="function">valid</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Inherited methods */</div>
    <div class="methodsynopsis dc-description">
    <span class="methodname"><a href="iteratoriterator.construct.php" class="function">IteratorIterator::__construct</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.traversable.php" class="type Traversable">Traversable</a></span> <tt class="parameter">$iterator</tt></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="iteratoriterator.current.php" class="function">IteratorIterator::current</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="iteratoriterator.getinneriterator.php" class="function">IteratorIterator::getInnerIterator</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="iteratoriterator.key.php" class="function">IteratorIterator::key</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="iteratoriterator.next.php" class="function">IteratorIterator::next</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="iteratoriterator.rewind.php" class="function">IteratorIterator::rewind</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="iteratoriterator.valid.php" class="function">IteratorIterator::valid</a></span>
    ( <span class="methodparam">void</span>
   )</div>


   }</div>


  </div>

 </div>

 







































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="appenditerator.append.php">AppendIterator::append</a> — Appends an iterator</li><li><a href="appenditerator.construct.php">AppendIterator::__construct</a> — Constructs an AppendIterator</li><li><a href="appenditerator.current.php">AppendIterator::current</a> — Gets the current value</li><li><a href="appenditerator.getarrayiterator.php">AppendIterator::getArrayIterator</a> — The getArrayIterator method</li><li><a href="appenditerator.getinneriterator.php">AppendIterator::getInnerIterator</a> — Gets an inner iterator</li><li><a href="appenditerator.getiteratorindex.php">AppendIterator::getIteratorIndex</a> — Gets an index of iterators</li><li><a href="appenditerator.key.php">AppendIterator::key</a> — Gets the current key</li><li><a href="appenditerator.next.php">AppendIterator::next</a> — Moves to the next element</li><li><a href="appenditerator.rewind.php">AppendIterator::rewind</a> — Rewinds the Iterator</li><li><a href="appenditerator.valid.php">AppendIterator::valid</a> — Checks validity of the current element</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites