Navigation.php
Table of Contents
Functions
- bb_get_menus() : null|array<string|int, mixed>
- Gets the Menus
- bb_get_menu() : null|array<string|int, mixed>
- Gets the Menu by the Id
- bb_register_menuitem() : void
- Registers a MenuItem in a category
- bb_sort_navigation() : array<string|int, mixed>
- Returns a Sorted Navigation for all Items
Functions
bb_get_menus()
Gets the Menus
bb_get_menus() : null|array<string|int, mixed>
Return values
null|array<string|int, mixed>bb_get_menu()
Gets the Menu by the Id
bb_get_menu(mixed $menuId) : null|array<string|int, mixed>
Parameters
- $menuId : mixed
Return values
null|array<string|int, mixed>bb_register_menuitem()
Registers a MenuItem in a category
bb_register_menuitem(mixed $menuId, mixed $category, MenuItem $item[, mixed $permissionRequired = null ]) : void
Parameters
- $menuId : mixed
-
Id of the Menu (for instance: MainMenu, FooterMenu)
- $category : mixed
-
Category in the Menu
- $item : MenuItem
-
Item
- $permissionRequired : mixed = null
bb_sort_navigation()
Returns a Sorted Navigation for all Items
bb_sort_navigation() : array<string|int, mixed>