Class ilObjChatroomAdminAccess Access class for chatroom objects.
More...
◆ _checkGoto()
static ilObjChatroomAdminAccess::_checkGoto |
( |
string |
$target | ) |
|
|
static |
Definition at line 40 of file class.ilObjChatroomAdminAccess.php.
References $DIC.
44 $t_arr = explode(
'_', $target);
46 if ($t_arr[0] !==
'chtr' || !isset($t_arr[1]) || ((
int) $t_arr[1]) <= 0) {
50 if ($DIC->rbac()->system()->checkAccess(
'visible', (
int) $t_arr[1])) {
◆ _getCommands()
static ilObjChatroomAdminAccess::_getCommands |
( |
| ) |
|
|
static |
Definition at line 30 of file class.ilObjChatroomAdminAccess.php.
33 $commands[] = [
'permission' =>
'read',
'cmd' =>
'view',
'lang_var' =>
'enter',
'default' =>
true];
34 $commands[] = [
'permission' =>
'write',
'cmd' =>
'edit',
'lang_var' =>
'edit'];
35 $commands[] = [
'permission' =>
'write',
'cmd' =>
'versions',
'lang_var' =>
'versions'];
The documentation for this class was generated from the following file: