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 TMenu

Description

Menu Widget

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

TElement
   |
   --TMenu
Method Summary
__construct ($xml, [$permission_callback = NULL], [$menu_level = 1], [$menu_class = 'dropdown-menu'], [$item_class = ''], [$link_class = 'dropdown-toggle'])
addMenuItem ($menuitem)
parse ($xml, [$permission_callback = NULL])
show ()
Variables

Inherited Variables

Inherited from TElement

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

Class Constructor

  • access: public
__construct ($xml, [$permission_callback = NULL], [$menu_level = 1], [$menu_class = 'dropdown-menu'], [$item_class = ''], [$link_class = 'dropdown-toggle'])
  • $xml: SimpleXMLElement parsed from XML Menu
  • $permission_callback
  • $menu_level
  • $menu_class
  • $item_class
  • $link_class

Redefinition of:
TElement::__construct()
Class Constructor
addMenuItem (line 52)

Add a MenuItem

  • access: public
addMenuItem ($menuitem)
  • $menuitem: A TMenuItem Object
getMenuItems (line 60)

Return the menu items

  • access: public
getMenuItems ()
parse (line 70)

Parse a XMLElement reading menu entries

  • access: public
parse ($xml, [$permission_callback = NULL])
  • $xml: A SimpleXMLElement Object
  • $permission_callback: check permission callback
show (line 127)

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