TTreeView
extends TElement
in package
TreeView
Tags
Table of Contents
Properties
- $callback : mixed
- $collapsed : mixed
- $folderCallback : mixed
- $itemAction : mixed
- $itemIcon : mixed
Methods
- __construct() : mixed
- Class Constructor
- collapse() : mixed
- Collapse the Tree
- expandTo() : mixed
- Expand to Tree Node
- fromArray() : mixed
- Fill treeview from an multi-dimensional array
- setFolderTransformer() : mixed
- Set node transformer
- setItemAction() : mixed
- Set item action
- setItemIcon() : mixed
- Set item icon
- setSize() : mixed
- Set size
- setTransformer() : mixed
- Set node transformer
- show() : mixed
- Shows the tag
- fromOptions() : mixed
- Fill one level of the treeview
Properties
$callback
private
mixed
$callback
$collapsed
private
mixed
$collapsed
$folderCallback
private
mixed
$folderCallback
$itemAction
private
mixed
$itemAction
$itemIcon
private
mixed
$itemIcon
Methods
__construct()
Class Constructor
public
__construct() : mixed
collapse()
Collapse the Tree
public
collapse() : mixed
expandTo()
Expand to Tree Node
public
expandTo( $key) : mixed
Parameters
fromArray()
Fill treeview from an multi-dimensional array
public
fromArray(mixed $array) : mixed
Parameters
- $array : mixed
setFolderTransformer()
Set node transformer
public
setFolderTransformer(mixed $callback) : mixed
Parameters
- $callback : mixed
setItemAction()
Set item action
public
setItemAction( $action) : mixed
Parameters
setItemIcon()
Set item icon
public
setItemIcon( $icon) : mixed
Parameters
setSize()
Set size
public
setSize(mixed $width) : mixed
Parameters
- $width : mixed
setTransformer()
Set node transformer
public
setTransformer(mixed $callback) : mixed
Parameters
- $callback : mixed
show()
Shows the tag
public
show() : mixed
fromOptions()
Fill one level of the treeview
private
fromOptions( $options[, mixed $parent = null ]) : mixed