Class MenuOption
Each menu option is an object.
Package: awl\MenuSet
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at MenuSet.php
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU GPL v2 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Located at MenuSet.php
public
|
#
MenuOption( string $label, string $target, string $title = "", string $style = "menu", integer $sortkey = 1000 )
The thing we click |
public
string
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
public
string
|
$label
The label for the menu item |
|
public
string
|
$target
The target URL for the menu |
|
public
string
|
$title
The title for the item when moused over, which should be displayed as a tooltip. |
|
public
string
|
$active
Whether the menu option is active |
|
public
string
|
$sortkey
For sorting menu options |
|
public
string
|
$style
Style to render the menu option with. |
|
public
string
|
$submenu_set
The MenuSet that this menu is a parent of |
|
public
reference
|
$self
A reference to this menu option itself |
|
public
string
|
$rendered
The rendered HTML fragment (once it has been). |