Documentation

IMP_Ftree_Iterator_Ancestors extends IMP_Ftree_Iterator
in package

Iterator that returns all the ancestors (and their siblings) for an element.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Properties

$_elts  : array<string|int, mixed>
Sorted list of elements.

Methods

__construct()  : mixed
Constructor.
current()  : mixed
getChildren()  : mixed
hasChildren()  : bool
key()  : mixed
next()  : void
rewind()  : void
valid()  : bool

Properties

$_elts

Sorted list of elements.

protected array<string|int, mixed> $_elts = array()

Methods

__construct()

Constructor.

public __construct(mixed $elt) : mixed
Parameters
$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.

hasChildren()

public hasChildren() : bool
Return values
bool

valid()

public valid() : bool
Return values
bool

        
On this page

Search results