RecursiveIteratorIterator
PHP Manual

RecursiveIteratorIterator::setMaxDepth

(PHP 5 >= 5.1.0)

RecursiveIteratorIterator::setMaxDepthSet max depth

説明

public void RecursiveIteratorIterator::setMaxDepth ([ string $max_depth = -1 ] )

Set the maximum allowed depth.

警告

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

パラメータ

max_depth

The maximum allowed depth. -1 is used for any depth.

返り値

値を返しません。

エラー / 例外

Emits an Exception if max_depth is less than -1.


RecursiveIteratorIterator
PHP Manual