Go to the source code of this file.
_elgg_groups_container_override |
( |
|
$hook, |
|
|
|
$type, |
|
|
|
$result, |
|
|
|
$params |
|
) |
| |
Allow group members to write to the group container.
- Parameters
-
string | $hook | Hook name |
string | $type | Hook type |
bool | $result | The value of the hook |
array | $params | Parameters related to the hook |
- Returns
- bool private
Definition at line 89 of file group.php.
init the groups library private
Definition at line 122 of file group.php.
_elgg_groups_test |
( |
|
$hook, |
|
|
|
$type, |
|
|
|
$value |
|
) |
| |
Runs unit tests for the group entities.
- Parameters
-
string | $hook | Hook name |
string | $type | Hook type |
array | $value | Array of unit test locations |
- Returns
- array private
Definition at line 112 of file group.php.
add_group_tool_option |
( |
|
$name, |
|
|
|
$label, |
|
|
|
$default_on = true |
|
) |
| |
Adds a group tool option.
- See also
- remove_group_tool_option().
- Parameters
-
string | $name | Name of the group tool option |
string | $label | Used for the group edit form |
bool | $default_on | True if this option should be active by default |
- Returns
- void
- Since
- 1.5.0
Definition at line 39 of file group.php.
get_group_entity_as_row |
( |
|
$guid | ) |
|
Get the group entity.
- Parameters
-
- Returns
- array|false private
Definition at line 19 of file group.php.
remove_group_tool_option |
( |
|
$name | ) |
|
Removes a group tool option based on name.
- See also
- add_group_tool_option()
- Parameters
-
string | $name | Name of the group tool option |
- Returns
- void
- Since
- 1.7.5
Definition at line 65 of file group.php.