ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjChatroomAdminAccess.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Object/classes/class.ilObjectAccess.php'
;
5
13
class
ilObjChatroomAdminAccess
extends
ilObjectAccess
14
{
18
public
static
function
_getCommands
()
19
{
20
$commands = array();
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"
);
24
25
return
$commands;
26
}
27
31
public
static
function
_checkGoto
($a_target)
32
{
33
global
$DIC
;
34
35
$t_arr = explode(
'_'
, $a_target);
36
37
if
($t_arr[0] !=
'chtr'
|| ((
int
) $t_arr[1]) <= 0) {
38
return
false
;
39
}
40
41
if
($DIC->rbac()->system()->checkAccess(
'visible'
, $t_arr[1])) {
42
return
true
;
43
}
44
45
return
false
;
46
}
47
}
ilObjChatroomAdminAccess\_getCommands
static _getCommands()
{}
Definition:
class.ilObjChatroomAdminAccess.php:18
$DIC
global $DIC
Definition:
saml.php:7
ilObjChatroomAdminAccess
Class ilObjChatroomAdminAccess Access class for chatroom objects.
Definition:
class.ilObjChatroomAdminAccess.php:13
ilObjChatroomAdminAccess\_checkGoto
static _checkGoto($a_target)
{}
Definition:
class.ilObjChatroomAdminAccess.php:31
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:16
php
Modules
Chatroom
classes
class.ilObjChatroomAdminAccess.php
Generated on Thu Feb 27 2025 19:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)