ILIAS
Release_5_0_x_branch Revision 61816
◀ 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.ilObjCourseVerificationAccess.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(
"./Services/Object/classes/class.ilObjectAccess.php"
);
6
14
class
ilObjCourseVerificationAccess
extends
ilObjectAccess
15
{
28
function
_getCommands
()
29
{
30
$commands = array();
31
$commands[] = array(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"show"
,
"default"
=>
true
);
32
return
$commands;
33
}
34
35
function
_checkGoto
($a_target)
36
{
37
global $ilAccess;
38
39
$t_arr = explode(
"_"
, $a_target);
40
41
// #11021
42
// personal workspace context: do not force normal login
43
if
(isset($t_arr[2]) && $t_arr[2] ==
"wsp"
)
44
{
45
include_once
"Services/PersonalWorkspace/classes/class.ilSharedResourceGUI.php"
;
46
return
ilSharedResourceGUI::hasAccess
($t_arr[1]);
47
}
48
49
if
($ilAccess->checkAccess(
"read"
,
""
, $t_arr[1]))
50
{
51
return
true
;
52
}
53
return
false
;
54
}
55
}
56
57
?>
Modules
Course
classes
Verification
class.ilObjCourseVerificationAccess.php
Generated on Wed Apr 27 2016 21:01:03 for ILIAS by
1.8.1.2 (using
Doxyfile
)