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
|
#
__construct( string $id = "", string $name = "", boolean $collapsed = false )
Constructor to create an instance of this class. |
public
string
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
protected
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
object
|
|
public
|
|
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
|
|
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
|
protected
array
|
$_subitems | array() |
#
Sub Items of this tree item |
protected
boolean
|
$_collapsed |
|
#
Determinates if this tree item is collapsed |
protected
string
|
$_id |
|
#
ID of this tree item |
protected
string
|
$_name |
|
#
Name of this tree item |
protected
integer
|
$_level |
|
#
level of this tree item |
protected
array
|
$_attributes | array() |
#
Contains custom entries |
protected
array
|
$_parent | false |
#
parent of this tree item |
protected
array
|
$_next | false |
#
next sibling of this tree item |
protected
array
|
$_previous | false |
#
previous sibling of this tree item |