RecursiveIteratorIterator::callHasChildren
RecursiveIteratorIterator::current
RecursiveIteratorIterator
PHP Manual

# RecursiveIteratorIterator::__construct

(PHP 5 >= 5.1.3)

RecursiveIteratorIterator::__construct — Construct a RecursiveIteratorIterator

### 説明

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

Creates a RecursiveIteratorIterator from a RecursiveIterator.

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

### パラメータ

`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::callHasChildren
RecursiveIteratorIterator::current
RecursiveIteratorIterator
PHP Manual