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 TMenuItem

Description

MenuItem Widget

Located in /widget/menu/TMenuItem.php (line 19)

TElement
   |
   --TMenuItem
Method Summary
__construct ($label, $action, [$image = NULL], [$level = 0])
setLinkClass ($class)
setMenu ($menu)
show ()
Variables

Inherited Variables

Inherited from TElement

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

Class constructor

  • access: public
__construct ($label, $action, [$image = NULL], [$level = 0])
  • $label: The menu label
  • $action: The menu action
  • $image: The menu image
  • $level

Redefinition of:
TElement::__construct()
Class Constructor
setLinkClass (line 53)

Set link class

  • access: public
setLinkClass ($class)
  • $class
setMenu (line 62)

Define the submenu for the item

  • access: public
setMenu ($menu)
  • $menu: A TMenu object
show (line 71)

Shows the widget at the screen

  • 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()