Elgg  Version 1.11
Namespaces | Functions | Variables
friends.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Functions

 _elgg_friends_init ()
 Init friends library. More...
 
 _elgg_friends_page_setup ()
 Register some menu items for friends UI private. More...
 
 _elgg_friends_setup_user_hover_menu ($hook, $type, $return, $params)
 Adds friending to user hover menu. More...
 
 _elgg_friends_page_handler ($segments, $handler)
 Page handler for friends-related pages. More...
 
 _elgg_collections_page_handler ($page_elements)
 Page handler for friends collections. More...
 
 _elgg_setup_collections_menu ()
 Adds collection sidebar menu items. More...
 
 _elgg_send_friend_notification ($event, $type, $object)
 Notify user that someone has friended them. More...
 

Variables

return function (\Elgg\EventsService $events,\Elgg\HooksRegistrationService $hooks)
 

Function Documentation

_elgg_collections_page_handler (   $page_elements)

Page handler for friends collections.

Parameters
array$page_elementsPage elements
Returns
bool private

Definition at line 150 of file friends.php.

_elgg_friends_init ( )

Init friends library.

private

Definition at line 16 of file friends.php.

_elgg_friends_page_handler (   $segments,
  $handler 
)

Page handler for friends-related pages.

Parameters
array$segmentsURL segments
string$handlerThe first segment in URL used for routing
Returns
bool private

Definition at line 118 of file friends.php.

_elgg_friends_page_setup ( )

Register some menu items for friends UI private.

Definition at line 40 of file friends.php.

_elgg_friends_setup_user_hover_menu (   $hook,
  $type,
  $return,
  $params 
)

Adds friending to user hover menu.

private

Definition at line 79 of file friends.php.

_elgg_send_friend_notification (   $event,
  $type,
  $object 
)

Notify user that someone has friended them.

Parameters
string$eventEvent name
string$typeObject type
\ElggRelationship$objectObject
Returns
bool private

Definition at line 205 of file friends.php.

_elgg_setup_collections_menu ( )

Adds collection sidebar menu items.

Returns
void private

Definition at line 181 of file friends.php.

Variable Documentation

Definition at line 226 of file friends.php.