ILIAS
Release_4_2_x_branch Revision 61807
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilObjChatroomAdminAccess.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"classes/class.ilObjectAccess.php"
);
6
17
class
ilObjChatroomAdminAccess
extends
ilObjectAccess
18
{
19
32
public
function
_getCommands
()
33
{
34
$commands = array();
35
$commands[] = array(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"enter"
,
"default"
=>
true
);
36
$commands[] = array(
"permission"
=>
"write"
,
"cmd"
=>
"edit"
,
"lang_var"
=>
"edit"
);
37
$commands[] = array(
"permission"
=>
"write"
,
"cmd"
=>
"versions"
,
"lang_var"
=>
"versions"
);
38
39
return
$commands;
40
}
41
51
public
function
_checkGoto
($a_target)
52
{
53
global $ilAccess;
54
55
$t_arr = explode(
"_"
, $a_target);
56
57
if
($t_arr[0] !=
"chtr"
|| ((
int
) $t_arr[1]) <= 0)
58
{
59
return
false
;
60
}
61
62
if
($ilAccess->checkAccess(
"visible"
,
""
, $t_arr[1]))
63
{
64
return
true
;
65
}
66
67
return
false
;
68
}
69
70
}
71
72
?>
Modules
Chatroom
classes
class.ilObjChatroomAdminAccess.php
Generated on Fri Apr 22 2016 19:03:46 for ILIAS by
1.8.1.2 (using
Doxyfile
)