Register menu items to the entity_navigation menu.
More...
Register menu items to the entity_navigation menu.
- Since
- 4.0
Definition at line 13 of file EntityNavigation.php.
static Elgg\Menus\EntityNavigation::getNextMenuItem |
( |
\ElggEntity |
$entity, |
|
|
array |
$base_options |
|
) |
| |
|
staticprotected |
Get a menu item to an entity after the current entity.
- Parameters
-
\ElggEntity | $entity | the current entity |
array | $base_options | elgg_get_entities options |
- Returns
- void|
Definition at line 102 of file EntityNavigation.php.
static Elgg\Menus\EntityNavigation::getPreviousMenuItem |
( |
\ElggEntity |
$entity, |
|
|
array |
$base_options |
|
) |
| |
|
staticprotected |
Get a menu item to an entity before the current entity.
- Parameters
-
\ElggEntity | $entity | the current entity |
array | $base_options | elgg_get_entities options |
- Returns
- void|
Definition at line 59 of file EntityNavigation.php.
static Elgg\Menus\EntityNavigation::registerPreviousNext |
( |
\Elgg\Event |
$event | ) |
|
|
static |
Register the previous/next menu items.
- Parameters
-
\Elgg\Event | $event | 'register', 'menu:entity_navigation' |
- Returns
- void|MenuItems
Definition at line 22 of file EntityNavigation.php.
The documentation for this class was generated from the following file: