RecursiveIteratorIterator
PHP Manual

RecursiveIteratorIterator::setMaxDepth

(PHP 5 >= 5.1.0)

RecursiveIteratorIterator::setMaxDepthSet max depth

Descripción

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

Set the maximum allowed depth.

Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

max_depth

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

Valores devueltos

No se devuelve ningún valor.

Errores/Excepciones

Emits an Exception if max_depth is less than -1.


RecursiveIteratorIterator
PHP Manual