PHP Class IMP_Ftree_Iterator, horde

Author: Michael Slusarz ([email protected])
Inheritance: implements RecursiveIterator
Exibir arquivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_elts array Sorted list of elements.

Public Methods

Method Description
__construct ( mixed $elt ) Constructor.
current ( )
getChildren ( )
hasChildren ( )
key ( )
next ( )
rewind ( )
valid ( )

Method Details

__construct() public method

Constructor.
public __construct ( mixed $elt )
$elt mixed Either the parent element of the level (IMP_Ftree_Element object), or a flat list of Ftree elements to use as the base level.

current() public method

public current ( )

getChildren() public method

public getChildren ( )

hasChildren() public method

public hasChildren ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )

Property Details

$_elts protected_oe property

Sorted list of elements.
protected array $_elts
return array