Class ilObjChatroomAdminAccess Access class for chatroom objects.
More...
◆ _checkGoto()
static ilObjChatroomAdminAccess::_checkGoto |
( |
|
$a_target | ) |
|
|
static |
{}
Definition at line 31 of file class.ilObjChatroomAdminAccess.php.
References $DIC.
35 $t_arr = explode(
'_', $a_target);
37 if ($t_arr[0] !=
'chtr' || ((
int) $t_arr[1]) <= 0) {
41 if ($DIC->rbac()->system()->checkAccess(
'visible', $t_arr[1])) {
◆ _getCommands()
static ilObjChatroomAdminAccess::_getCommands |
( |
| ) |
|
|
static |
{}
Definition at line 18 of file class.ilObjChatroomAdminAccess.php.
21 $commands[] = array(
"permission" =>
"read",
"cmd" =>
"view",
"lang_var" =>
"enter",
"default" =>
true);
22 $commands[] = array(
"permission" =>
"write",
"cmd" =>
"edit",
"lang_var" =>
"edit");
23 $commands[] = array(
"permission" =>
"write",
"cmd" =>
"versions",
"lang_var" =>
"versions");
The documentation for this class was generated from the following file: