API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TMenuItem extends TElement
in package

MenuItem Widget

Tags
version
7.6
subpackage

menu

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$action  : mixed
$classIcon  : mixed
$classLink  : mixed
$image  : mixed
$label  : mixed
$level  : mixed
$link  : mixed
$linkClass  : mixed
$menu  : mixed
$menu_transformer  : mixed
$tagLabel  : mixed

Methods

__construct()  : mixed
Class constructor
getAction()  : mixed
Returns the action
getImage()  : mixed
Returns the image
getLabel()  : mixed
Returns the label
getLevel()  : mixed
Returns the level
getLink()  : mixed
Returns the link
getMenu()  : mixed
Returns the menu
setAction()  : mixed
Set the action
setClassIcon()  : mixed
Set icon class Item
setClassLink()  : mixed
Set link class Item
setImage()  : mixed
Set the image
setLabel()  : mixed
Set the label
setLinkClass()  : mixed
Set link class
setMenu()  : mixed
Define the submenu for the item
setTagLabel()  : mixed
Set tag label
show()  : mixed
Shows the widget at the screen

Properties

$menu_transformer

private mixed $menu_transformer

Methods

__construct()

Class constructor

public __construct( $label,  $action[,  $image = NULL ][, mixed $level = 0 ][, mixed $menu_transformer = null ]) : mixed
Parameters
$label :

The menu label

$action :

The menu action

$image : = NULL

The menu image

$level : mixed = 0
$menu_transformer : mixed = null

getAction()

Returns the action

public getAction() : mixed

getImage()

Returns the image

public getImage() : mixed

getLabel()

Returns the label

public getLabel() : mixed

getLevel()

Returns the level

public getLevel() : mixed

Returns the link

public getLink() : mixed

getMenu()

Returns the menu

public getMenu() : mixed

setAction()

Set the action

public setAction(mixed $action) : mixed
Parameters
$action : mixed

setClassIcon()

Set icon class Item

public setClassIcon(mixed $class) : mixed
Parameters
$class : mixed

Set link class Item

public setClassLink(mixed $class) : mixed
Parameters
$class : mixed

setImage()

Set the image

public setImage(mixed $image) : mixed
Parameters
$image : mixed

setLabel()

Set the label

public setLabel(mixed $label) : mixed
Parameters
$label : mixed

setLinkClass()

Set link class

public setLinkClass(mixed $class) : mixed
Parameters
$class : mixed

setMenu()

Define the submenu for the item

public setMenu( $menu) : mixed
Parameters
$menu :

A TMenu object

setTagLabel()

Set tag label

public setTagLabel(mixed $tag) : mixed
Parameters
$tag : mixed

show()

Shows the widget at the screen

public show() : mixed

        
On this page

Search results