Home | MySQL Russian Manual | MySQL Manual | Apache HTTP Server Rus Documentation | Apache HTTP Server Documentation | downloads | faq

search for in the  Language: Russian


RecursiveIteratorIterator::__construct

(PHP 5 >= 5.1.3)

RecursiveIteratorIterator::__constructConstruct a RecursiveIteratorIterator

Description

RecursiveIteratorIterator::__construct ( Traversable $iterator [, int $mode = LEAVES_ONLY [, int $flags = 0 ]] )

Creates a RecursiveIteratorIterator from a RecursiveIterator.

Warning

This function is currently not documented; only its argument list is available.

Parameters

iterator

The iterator being constructed from, which is from a RecursiveIterator or IteratorAggregate.

mode

The mode. Options are LEAVES_ONLY (default), SELF_FIRST and CHILD_FIRST.

flags

Return Values


User Contributed Notes
RecursiveIteratorIterator::__construct
Matt Creenan
05-Mar-2010 05:39
Note that LEAVES_ONLY, SELF_FIRST and CHILD_FIRST do not work by themselves.

They are class constants so you need to use RecursiveIteratorIterator::LEAVES_ONLY, etc.
 

 
credits | contact