The RecursiveIteratorIterator class

(PHP 5)

Введение

Can be used to iterate through recursive iterators.

Обзор классов

RecursiveIteratorIterator implements OuterIterator , Traversable , Iterator {
/* Методы */
public void beginChildren ( void )
public void beginIteration ( void )
public RecursiveIterator callGetChildren ( void )
public bool callHasChildren ( void )
public __construct ( Traversable $iterator [, int $mode = RecursiveIteratorIterator::LEAVES_ONLY [, int $flags = 0 ]] )
public mixed current ( void )
public void endChildren ( void )
public void endIteration ( void )
public int getDepth ( void )
public iterator getInnerIterator ( void )
public mixed getMaxDepth ( void )
public RecursiveIterator getSubIterator ( void )
public mixed key ( void )
public void next ( void )
public void nextElement ( void )
public void rewind ( void )
public void setMaxDepth ([ string $max_depth = -1 ] )
public bool valid ( void )
/* Наследуемые методы */
public Iterator OuterIterator::getInnerIterator ( void )
}

Содержание


Участник рейтинга Тэглайн 2010