24     return get_data_row(
"SELECT * from {$CONFIG->dbprefix}groups_entity where guid=$guid");
 
   42     if (!isset(
$CONFIG->group_tool_options)) {
 
   43         $CONFIG->group_tool_options = array();
 
   46     $group_tool_option = new \stdClass;
 
   48     $group_tool_option->name = 
$name;
 
   49     $group_tool_option->label = 
$label;
 
   50     $group_tool_option->default_on = $default_on;
 
   52     $CONFIG->group_tool_options[] = $group_tool_option;
 
   68     if (!isset(
$CONFIG->group_tool_options)) {
 
   72     foreach (
$CONFIG->group_tool_options as $i => $option) {
 
   73         if ($option->name == 
$name) {
 
   74             unset(
$CONFIG->group_tool_options[$i]);
 
  128     $events->registerHandler(
'init', 
'system', 
'_elgg_groups_init');
 
$label
Elgg profile plugin edit default profile action.
 
if($guid==elgg_get_logged_in_user_guid()) $name
 
$guid
Removes an admin notice.
 
elgg_register_plugin_hook_handler($hook, $type, $callback, $priority=500)
 
get_data_row($query, $callback="")
Retrieve a single row from the database.
 
elgg_instanceof($entity, $type=null, $subtype=null, $class=null)
Checks if $entity is an \ElggEntity and optionally for type and subtype.
 
remove_group_tool_option($name)
Removes a group tool option based on name.
 
_elgg_groups_container_override($hook, $type, $result, $params)
Allow group members to write to the group container.
 
add_group_tool_option($name, $label, $default_on=true)
Adds a group tool option.
 
_elgg_groups_init()
init the groups library @access private
 
_elgg_groups_test($hook, $type, $value)
Runs unit tests for the group entities.
 
get_group_entity_as_row($guid)
Get the group entity.