RecursiveIteratorIterator
PHP Manual

RecursiveIteratorIterator::__construct

(PHP 5 >= 5.1.3)

RecursiveIteratorIterator::__constructConstruct a RecursiveIteratorIterator

说明

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

Creates a RecursiveIteratorIterator from a RecursiveIterator.

Warning

本函数还未编写文档,仅有参数列表。

参数

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

返回值


RecursiveIteratorIterator
PHP Manual