$Group
- is system object, that provides groups manipulating interface, instance can be obtained in such way:
<?php
$Group = \cs\Group::instance();
$Group
object has next public methods:
- add()
- get()
- set()
- del()
- get_all()
- get_permissions()
- set_permissions()
- del_permissions_all()
Add new group
Get group data
Set group data
Delete group
Get list of all groups
Get group permissions
Set group permissions
Delete all permissions of specified group
###[Up](#) Events$Group
object supports next events:
- System/Group/Group/add
- System/Group/Group/del/before
- System/Group/Group/del/after
Is running after successful group addition. Parameters array:
[
'id' => group_id
]
Is running before group deletion. Parameters array:
[
'id' => group_id
]
Is running after group deletion. Parameters array:
[
'id' => group_id
]