ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilObjSCORMVerificationAccess.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
ilObjSCORMVerificationAccess
extends
ilObjectAccess
15
{
28
public
static
function
_getCommands
()
29
{
30
$commands = array();
31
$commands[] = array(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"show"
,
"default"
=>
true
);
32
return
$commands;
33
}
34
35
public
static
function
_checkGoto
($a_target)
36
{
37
global
$DIC
;
38
$ilAccess = $DIC[
'ilAccess'
];
39
40
$t_arr = explode(
"_"
, $a_target);
41
42
// #11021
43
// personal workspace context: do not force normal login
44
if
(isset($t_arr[2]) && $t_arr[2] ==
"wsp"
) {
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
return
true
;
51
}
52
return
false
;
53
}
54
}
$DIC
global $DIC
Definition:
saml.php:7
ilObjSCORMVerificationAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjSCORMVerificationAccess.php:28
ilSharedResourceGUI\hasAccess
static hasAccess($a_node_id, $a_is_portfolio=false)
Definition:
class.ilSharedResourceGUI.php:203
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:16
php
ilObjSCORMVerificationAccess\_checkGoto
static _checkGoto($a_target)
Definition:
class.ilObjSCORMVerificationAccess.php:35
ilObjSCORMVerificationAccess
Class ilObjSCORMVerificationAccess.
Definition:
class.ilObjSCORMVerificationAccess.php:14
Modules
ScormAicc
classes
Verification
class.ilObjSCORMVerificationAccess.php
Generated on Thu Jan 16 2025 19:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)