PHP Classes & Interfaces


Name: RecursiveIteratorIterator

Date: Apr-24-2017
PHP version: 5.3.3
Type: Internal

class RecursiveIteratorIterator implements Iterator, Traversable, OuterIterator

Public Methods

public __construct ( Traversable $iterator, $mode, $flags )

public rewind ( )

public valid ( )

public key ( )

public current ( )

public next ( )

public getDepth ( )

public getSubIterator ( $level )

public getInnerIterator ( )

public beginIteration ( )

public endIteration ( )

public callHasChildren ( )

public callGetChildren ( )

public beginChildren ( )

public endChildren ( )

public nextElement ( )

public setMaxDepth ( $max_depth )

public getMaxDepth ( )

Constants

const LEAVES_ONLY = 0

const SELF_FIRST = 1

const CHILD_FIRST = 2

const CATCH_GET_CHILD = 16