ElggMenuBuilder::__construct |
( |
array |
$menu | ) |
|
static ElggMenuBuilder::compareByName |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
static |
Compare two menu items by their identifiers.
- Parameters
-
- Returns
- bool
Definition at line 262 of file ElggMenuBuilder.php.
static ElggMenuBuilder::compareByPriority |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
static |
Compare two menu items by their priority.
- Parameters
-
- Returns
- bool
- Since
- 1.9.0
Definition at line 281 of file ElggMenuBuilder.php.
static ElggMenuBuilder::compareByText |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
static |
Compare two menu items by their display text.
- Parameters
-
- Returns
- bool
Definition at line 244 of file ElggMenuBuilder.php.
static ElggMenuBuilder::compareByWeight |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
static |
Compare two menu items by their priority.
- Parameters
-
- Returns
- bool
Definition at line 299 of file ElggMenuBuilder.php.
ElggMenuBuilder::findSelected |
( |
| ) |
|
|
protected |
ElggMenuBuilder::getMenu |
( |
|
$sort_by = 'text' | ) |
|
ElggMenuBuilder::getSelected |
( |
| ) |
|
ElggMenuBuilder::selectFromContext |
( |
| ) |
|
|
protected |
Select menu items for the current context.
- Returns
- void
Definition at line 62 of file ElggMenuBuilder.php.
ElggMenuBuilder::setupSections |
( |
| ) |
|
|
protected |
ElggMenuBuilder::setupTrees |
( |
| ) |
|
|
protected |
ElggMenuBuilder::sort |
( |
|
$sort_by | ) |
|
|
protected |
Sort the menu sections and trees.
- Parameters
-
mixed | $sort_by | Sort type as string or php callback |
- Returns
- void
Definition at line 184 of file ElggMenuBuilder.php.
ElggMenuBuilder::$menu = array() |
|
protected |
ElggMenuBuilder::$selected = null |
|
protected |
The documentation for this class was generated from the following file: