Elgg  Version master
Static Public Member Functions | List of all members
Elgg\Menus\Entity Class Reference

Register menu items to the entity menu. More...

Static Public Member Functions

static registerEdit (\Elgg\Event $event)
 Register the edit menu item. More...
 
static registerDelete (\Elgg\Event $event)
 Register the delete menu item. More...
 
static registerTrash (\Elgg\Event $event)
 Register the trash menu item. More...
 
static registerComment (\Elgg\Event $event)
 Registers menu items for the entity menu of a comment. More...
 
static registerPlugin (\Elgg\Event $event)
 Registers menu items for the entity menu of a plugin. More...
 
static registerUpgrade (\Elgg\Event $event)
 Add menu items to the entity menu of ElggUpgrade. More...
 
static registerUserHoverAdminSection (\Elgg\Event $event)
 Add the user hover admin section to the entity menu of an ElggUser, if requested. More...
 

Detailed Description

Register menu items to the entity menu.

Since
4.0

Definition at line 14 of file Entity.php.

Member Function Documentation

static Elgg\Menus\Entity::registerComment ( \Elgg\Event  $event)
static

Registers menu items for the entity menu of a comment.

Parameters
\Elgg\Event$event'register', 'menu:entity:object:comment'
Returns
void|MenuItems

Definition at line 150 of file Entity.php.

static Elgg\Menus\Entity::registerDelete ( \Elgg\Event  $event)
static

Register the delete menu item.

Parameters
\Elgg\Event$event'register', 'menu:entity|menu:entity:trash'
Returns
void|MenuItems

Definition at line 67 of file Entity.php.

static Elgg\Menus\Entity::registerEdit ( \Elgg\Event  $event)
static

Register the edit menu item.

Parameters
\Elgg\Event$event'register', 'menu:entity'
Returns
void|MenuItems

Definition at line 23 of file Entity.php.

static Elgg\Menus\Entity::registerPlugin ( \Elgg\Event  $event)
static

Registers menu items for the entity menu of a plugin.

Parameters
\Elgg\Event$event'register', 'menu:entity:object:plugin'
Returns
void|MenuItems

Definition at line 179 of file Entity.php.

static Elgg\Menus\Entity::registerTrash ( \Elgg\Event  $event)
static

Register the trash menu item.

Parameters
\Elgg\Event$event'register', 'menu:entity'
Returns
null|MenuItems

Definition at line 105 of file Entity.php.

static Elgg\Menus\Entity::registerUpgrade ( \Elgg\Event  $event)
static

Add menu items to the entity menu of ElggUpgrade.

Parameters
\Elgg\Event$event'register', 'menu:entity:object:elgg_upgrade'
Returns
void|MenuItems

Definition at line 273 of file Entity.php.

static Elgg\Menus\Entity::registerUserHoverAdminSection ( \Elgg\Event  $event)
static

Add the user hover admin section to the entity menu of an ElggUser, if requested.

Parameters
\Elgg\Event$event'register', 'menu:entity'
Returns
void|MenuItems

Definition at line 320 of file Entity.php.


The documentation for this class was generated from the following file: