Class cTreeItem
Tree item class
Direct known subclasses
cTreeIndirect known subclasses
cGuiTree
Package: Core\GUI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bjoern Behrens
Located at classes/tree/class.ctreeitem.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bjoern Behrens
Located at classes/tree/class.ctreeitem.php
public
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
protected
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
object
|
|
public
|
#
getItemByID( string $id )
Retrieves a specific item by its ID. Note that this function traverses all subitems to find the correct item. |
public
|
#
setAttribute( string $attributeName, array $attributeValue )
sets a custom attribute for this TreeItem |
public
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|boolean
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
|
#
getExpandedList( array & $list )
getExpandedList Returns all items (as ID array) which are expanded. |
public
|
|
public
object
|
|
public
|
|
public
array
|
#
flatTraverse( integer $level = 0 )
Traverses the tree starting from this item, and returning all objects as $objects in a flat array. |
public
none
|
public
array
|
$_subitems | array() |
#
Sub Items for this tree item |
public
boolean
|
$_collapsed |
|
#
Determinates if this tree item is collapsed |
public
string
|
$_id |
|
#
ID for this item |
public
string
|
$_name |
|
#
Name for this item |
public
integer
|
$_level |
|
#
Contains the level of this item |
public
array
|
$_attributes | array() |
#
Contains custom entries |
public
array
|
$_parent | false |
#
Contains the parent of this item |
public
array
|
$_next | false |
#
Contains the next item |
public
array
|
$_previous | false |
#
Contains the previous item |