RecursiveIteratorIterator
PHP Manual

RecursiveIteratorIterator::__construct

(PHP 5 >= 5.1.3)

RecursiveIteratorIterator::__constructConstruct a RecursiveIteratorIterator

Opis

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

Creates a RecursiveIteratorIterator from a RecursiveIterator.

Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Parametry

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

Zwracane wartości


RecursiveIteratorIterator
PHP Manual