A class to represent menu items for building an admin navigation.
This class is used to build admin navigations.
| package |
CMS |
|---|---|
| since | 2.0 |
| license |
GPL |
| author |
Robert Campbell calguy1000@cmsmadesimple.org |
| see |
valid()
from_module(\CMSModule $mod)
module : string
The module that hosts the destination action
string section : string
The admin section (from CMSModule::GetAdminSection)
string title : string
The title of the menu item
string action : string
The module action
string url : string
The actual URL for the menu item link. If this is not specified, it is created from the module and action.
string icon : string
The URL to the icon to associate with this action
string priority : integer
Priority for the menu item (minimum of 2)
integer