<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.recursivetreeiterator.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'recursivetreeiterator.construct.php',
    1 => 'RecursiveTreeIterator::__construct',
    2 => 'Construct a RecursiveTreeIterator',
  ),
  'up' => 
  array (
    0 => 'class.recursivetreeiterator.php',
    1 => 'RecursiveTreeIterator',
  ),
  'prev' => 
  array (
    0 => 'recursivetreeiterator.callhaschildren.php',
    1 => 'RecursiveTreeIterator::callHasChildren',
  ),
  'next' => 
  array (
    0 => 'recursivetreeiterator.current.php',
    1 => 'RecursiveTreeIterator::current',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/spl/recursivetreeiterator/construct.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="recursivetreeiterator.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">RecursiveTreeIterator::__construct</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">RecursiveTreeIterator::__construct</span> &mdash; <span class="dc-title">Construct a RecursiveTreeIterator</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-recursivetreeiterator.construct-description">
  <h3 class="title">Опис</h3>
  <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>RecursiveTreeIterator::__construct</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="class.recursiveiterator.php" class="type RecursiveIterator">RecursiveIterator</a></span>|<span class="type"><a href="class.iteratoraggregate.php" class="type IteratorAggregate">IteratorAggregate</a></span></span> <code class="parameter">$iterator</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = RecursiveTreeIterator::BYPASS_KEY</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$cachingIteratorFlags</code><span class="initializer"> = CachingIterator::CATCH_GET_CHILD</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$mode</code><span class="initializer"> = RecursiveTreeIterator::SELF_FIRST</span></span><br>)</div>

  <p class="para rdfs-comment">
   Constructs a new <span class="classname"><a href="class.recursivetreeiterator.php" class="classname">RecursiveTreeIterator</a></span> from the supplied recursive iterator.
  </p>

  <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Наразі ця функція не
документована. Доступний лише список її параметрів.
</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-recursivetreeiterator.construct-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">iterator</code></dt>
     <dd>
      <p class="para">
       The <span class="classname"><a href="class.recursiveiterator.php" class="classname">RecursiveIterator</a></span> or <span class="classname"><a href="class.iteratoraggregate.php" class="classname">IteratorAggregate</a></span> to iterate over.
      </p>
     </dd>
    
    
     <dt><code class="parameter">flags</code></dt>
     <dd>
      <p class="para">
       Flags may be provided which will affect the behavior of some methods. 
       A list of the flags can found under <a href="class.recursivetreeiterator.php#recursivetreeiterator.constants" class="link">RecursiveTreeIterator predefined constants</a>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">caching_it_flags</code></dt>
     <dd>
      <p class="para">
       Flags to affect the behavior of the <span class="classname"><a href="class.recursivecachingiterator.php" class="classname">RecursiveCachingIterator</a></span> used internally. 
      </p>
     </dd>
    
    
     <dt><code class="parameter">mode</code></dt>
     <dd>
      <p class="para">
       Flags to affect the behavior of the <span class="classname"><a href="class.recursiveiteratoriterator.php" class="classname">RecursiveIteratorIterator</a></span> used internally. 
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


</div><?php manual_footer($setup); ?>