Function inventMenuItem
"invents" a menu item for the current page (for when one does not exist) Adds the item to the current menuset and modifies its "parent" as needed
returns a contrived sort_order for the item.
Package: plugins\menu-manager
Author: Stephen Billard (sbillard), Malte Müller (acrylian)
Located at zp-extensions/menu_manager.php
Author: Stephen Billard (sbillard), Malte Müller (acrylian)
Located at zp-extensions/menu_manager.php
string |
$menuset |
|
string |
$visibility |
|
string |
$field = 'sort_order' |
The field of the array item to get, "all" for the full item array, "key" for the array index of the item within the items array (old default value) |
integer|array|string
|
int|array|string |