Elgg  Version 3.0
Namespaces | Functions | Variables
group.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Updates the advanced settings for the primary site object.
 

Functions

 elgg_group_tool_gatekeeper ($option, $group_guid=null)
 Checks if a group has a specific tool enabled. More...
 
 _elgg_groups_container_override ($hook, $type, $result, $params)
 Allow group members to write to the group container. More...
 
 _elgg_groups_test ($hook, $type, $value)
 Runs unit tests for the group entities. More...
 
 _elgg_groups_init ()
 init the groups library More...
 

Variables

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

Function Documentation

_elgg_groups_container_override (   $hook,
  $type,
  $result,
  $params 
)

Allow group members to write to the group container.

Parameters
string$hookHook name
string$typeHook type
bool$resultThe value of the hook
array$paramsParameters related to the hook
Returns
bool

Definition at line 55 of file group.php.

_elgg_groups_init ( )

init the groups library

Returns
void

Definition at line 92 of file group.php.

_elgg_groups_test (   $hook,
  $type,
  $value 
)

Runs unit tests for the group entities.

Parameters
string$hookHook name
string$typeHook type
array$valueArray of unit test locations
Returns
array

Definition at line 80 of file group.php.

elgg_group_tool_gatekeeper (   $option,
  $group_guid = null 
)

Checks if a group has a specific tool enabled.

Forward to the group if the tool is disabled.

Parameters
string$optionThe group tool option to check
int$group_guidThe group that owns the page. If not set, this will be pulled from elgg_get_page_owner_guid().
Returns
void
Exceptions

Definition at line 23 of file group.php.

Variable Documentation

See also
::loadCore Do not do work here. Just register for events.

Definition at line 100 of file group.php.