Class Menu
Copyright:
2004-2016 The Admidio Team
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
Located at menu.php
License: GNU General Public License v2.0 only **********************************************************************************************
Class:
Menu Create, modify and display menus. Each menu item is defined by
- $id : identifier of the menu item
- $link : URL, relative to the admidio root directory, starting with a /
or full URL with http or https protocol
- $text : menu text
- $icon : URL, relative to the theme plugin, starting with a /
: or full URL with http or https protocol
- $desc : (optional) long description of the menu item
Located at menu.php
Methods summary
public
|
|
private
array<string,string|array>
|
|
public
|
|
public
|
|
public
integer|false
|
|
public
|
#
insertItem( integer $position, string $id, string $link, string $text, string $icon, string $desc = '' )
inserts a new menu entry before the named position |
public
string
|