TYPE_TABS
TYPE_TABS
Bootstrap menu.
renderMenuItem(array $item) : string
### .renderMenuItem()
Renders the content of a menu item. Note that the container and the sub-menus are not rendered here.
array | $item | the menu item to be rendered. Please see {@link items} on what data might be in the item. |
the rendered item
normalizeItems(array $items, string $route, boolean $active) : array
### .normalizeItems()
Normalizes the {@link items} property so that the 'active' state is properly identified for every menu item.
array | $items | the items to be normalized. |
string | $route | the route of the current request. |
boolean | $active | whether there is an active child menu item. |
the normalized menu items