Elgg
Version 2.3
|
A complete menu, sorted, filtered by the "prepare" hook, and split into sections. More...
Public Member Functions | |
__construct (array $params) | |
Constructor. More... | |
getSections () | |
Get all menu sections. More... | |
getSection ($name, $default=null) | |
Get a single menu section. More... | |
getName () | |
Get the menu's name. More... | |
getParams () | |
Get the menu parameters. More... | |
A complete menu, sorted, filtered by the "prepare" hook, and split into sections.
This also encapsulates parameters to be passed to views.
Elgg\Menu\Menu::__construct | ( | array | $params | ) |
Elgg\Menu\Menu::getName | ( | ) |
Elgg\Menu\Menu::getParams | ( | ) |
Elgg\Menu\Menu::getSection | ( | $name, | |
$default = null |
|||
) |
Get a single menu section.
string | $name | Section name |
mixed | $default | Value to return if section is not found |
Elgg\Menu\Menu::getSections | ( | ) |