TMenuItem
extends TElement
in package
MenuItem Widget
Tags
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
$action
private
mixed
$action
$classIcon
private
mixed
$classIcon
$classLink
private
mixed
$classLink
$image
private
mixed
$image
$label
private
mixed
$label
$level
private
mixed
$level
$link
private
mixed
$link
$linkClass
private
mixed
$linkClass
$menu
private
mixed
$menu
$menu_transformer
private
mixed
$menu_transformer
$tagLabel
private
mixed
$tagLabel
Methods
__construct()
Class constructor
public
__construct( $label, $action[, $image = NULL ][, mixed $level = 0 ][, mixed $menu_transformer = null ]) : mixed
Parameters
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
getLink()
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
setClassLink()
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
setTagLabel()
Set tag label
public
setTagLabel(mixed $tag) : mixed
Parameters
- $tag : mixed
show()
Shows the widget at the screen
public
show() : mixed