menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TTreeView

Description

TreeView

Located in /widget/util/TTreeView.php (line 17)

TElement
   |
   --TTreeView
Method Summary
expandTo ($key)
fromArray ($array)
setItemAction ($action)
setItemIcon ($icon)
setSize ($width)
setTransformer ($callback)
show ()
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
Constructor __construct (line 27)

Class Constructor

  • access: public
__construct ()

Redefinition of:
TElement::__construct()
Class Constructor
collapse (line 72)

Collapse the Tree

  • access: public
collapse ()
expandTo (line 81)

Expand to Tree Node

  • access: public
expandTo ($key)
  • $key: Node key
fromArray (line 95)

Fill treeview from an multi-dimensional array

  • access: public
fromArray ($array)
  • $array: array
setItemAction (line 64)

Set item action

  • access: public
setItemAction ($action)
  • $action: icon action
setItemIcon (line 55)

Set item icon

  • access: public
setItemIcon ($icon)
  • $icon: icon location
setSize (line 46)

Set size

  • access: public
setSize ($width)
  • $width: width
setTransformer (line 37)

Set node transformer

  • access: public
setTransformer ($callback)
  • $callback
show (line 208)

Shows the tag

  • access: public
show ()

Redefinition of:
TElement::show()
Shows the tag

Inherited Methods

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::clearChildren()
TElement::close()
TElement::del()
TElement::get()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::insert()
TElement::open()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()