Method | Description | |
---|---|---|
getDividerCssClass ( ) : string | ### .getDividerCssClass() | |
getDropdownCssClass ( ) : string | ### .getDropdownCssClass() | |
isVertical ( ) : boolean | ### .isVertical() |
Method | Description | |
---|---|---|
normalizeItems ( array $items, string $route, boolean &$active ) : array | ### .normalizeItems() | |
renderMenu ( array $items ) | ### .renderMenu() | |
renderMenuItem ( array $item ) : string | ### .renderMenuItem() |
abstract public getDividerCssClass ( ) : string | ||
return | string | the class name |
abstract public getDropdownCssClass ( ) : string | ||
return | string | the class name |
abstract public isVertical ( ) : boolean | ||
return | boolean | the result |
protected renderMenu ( array $items ) | ||
$items | array | menu items. Each menu item will be an array with at least two elements: 'label' and 'active'. It may have three other optional elements: 'items', 'linkOptions' and 'itemOptions'. |
protected renderMenuItem ( array $item ) : string | ||
$item | array | the menu item to be rendered. Please see {@link items} on what data might be in the item. |
return | string | the rendered item |