◆ add_member_action()
| add_member_action |
( |
|
$group_id | ) |
|
Adds selected persons to given group. user_ids to add come from a MultiPersonSearch object which was triggered in group actions.
- Parameters
-
◆ batch_action_action()
Batch action for several groups or group members at once.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_create_action()
Batch creation of statusgroups according to given settings.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_delete_groups_action()
| batch_delete_groups_action |
( |
| ) |
|
Deletes several groups at once.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_delete_members_action()
| batch_delete_members_action |
( |
|
$group_id | ) |
|
Removes selected group members from given group.
- Parameters
-
| String | $group_id | group to remove members from. |
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_move_members_action()
| batch_move_members_action |
( |
| ) |
|
Moves selected group members to another group.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_save_groups_selfassign_action()
| batch_save_groups_selfassign_action |
( |
| ) |
|
Sets data for several groups at once.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ batch_save_groups_size_action()
| batch_save_groups_size_action |
( |
| ) |
|
Sets data for several groups at once.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ before_filter()
| before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
◆ create_groups_action()
Provides the possibility to batch create several groups at once.
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ delete_action()
| delete_action |
( |
|
$group_id | ) |
|
Deletes the given statusgroup.
- Parameters
-
| String | $group_id | ID of the group to delete |
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ delete_member_action()
| delete_member_action |
( |
|
$user_id, |
|
|
|
$group_id |
|
) |
| |
Removes the given user from the given statusgroup.
- Parameters
-
| String | $user_id | user to remove |
| String | $group_id | affected group |
◆ edit_action()
| edit_action |
( |
|
$group_id = '' | ) |
|
Allows editing of a given statusgroup or creating a new one.
- Parameters
-
| String | $group_id | ID of the group to edit |
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ getgroup_action()
| getgroup_action |
( |
|
$group_id | ) |
|
Fetches the members of the given group.
- Parameters
-
| String | $group_id | the statusgroup to get members for. |
◆ groupinfo_action()
| groupinfo_action |
( |
|
$group_id | ) |
|
Provides extended info about a status group, like maximum number of participants, selfassign, exclusive entry, selfassign start and end times.
- Parameters
-
| String | $group_id | The group to show info for. |
◆ index_action()
Lists all available statusgroups.
◆ join_action()
| join_action |
( |
|
$group_id = '' | ) |
|
Adds the current user to the given group.
- Exceptions
-
| Trails_Exception | 403 if current user may not join the given group. |
◆ joinables_action()
Shows a list of all groups that can be joined by current user and allows the user to select one.
◆ leave_action()
| leave_action |
( |
|
$group_id | ) |
|
Removes the current user from the given group.
- Exceptions
-
| Trails_Exception | 403 if current user may not join the given group. |
◆ move_member_action()
| move_member_action |
( |
|
$user_id, |
|
|
|
$group_id |
|
) |
| |
◆ save_action()
| save_action |
( |
|
$group_id = '' | ) |
|
Saves changes to given statusgroup or creates a new entry.
- Parameters
-
| String | $group_id | ID of the group to edit |
- Exceptions
-
| Trails_Exception | 403 if access not allowed with current permission level. |
◆ sortgroups_action()
The documentation for this class was generated from the following file: