ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilObjLTIConsumerVerificationAccess.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
30
class
ilObjLTIConsumerVerificationAccess
extends
ilObjectAccess
31
{
35
public
static
function
_getCommands
(): array
36
{
37
$commands = array();
38
$commands[] = array(
"permission"
=>
"read"
,
"cmd"
=>
"view"
,
"lang_var"
=>
"show"
,
"default"
=>
true
);
39
return
$commands;
40
}
41
42
public
static
function
_checkGoto
(
string
$target): bool
43
{
44
global
$DIC
;
/* @var \ILIAS\DI\Container $DIC */
45
46
$t_arr = explode(
"_"
, $target);
47
48
// #11021
49
// personal workspace context: do not force normal login
50
if
(isset($t_arr[2]) && $t_arr[2] ==
"wsp"
) {
51
return
ilSharedResourceGUI::hasAccess
((
int
) $t_arr[1]);
52
}
53
return
(
bool
) $DIC->access()->checkAccess(
"read"
,
""
, (
int
) $t_arr[1]);
54
}
55
}
ilObjectAccess
$DIC
global $DIC
Definition:
shib_login.php:26
ilSharedResourceGUI\hasAccess
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)
Definition:
class.ilSharedResourceGUI.php:168
ilObjLTIConsumerVerificationAccess
Definition:
class.ilObjLTIConsumerVerificationAccess.php:30
ilObjLTIConsumerVerificationAccess\_checkGoto
static _checkGoto(string $target)
Definition:
class.ilObjLTIConsumerVerificationAccess.php:42
ilObjLTIConsumerVerificationAccess\_getCommands
static _getCommands()
Definition:
class.ilObjLTIConsumerVerificationAccess.php:35
components
ILIAS
LTIConsumer
classes
Verification
class.ilObjLTIConsumerVerificationAccess.php
Generated on Sun Aug 31 2025 23:03:17 for ILIAS by
1.8.13 (using
Doxyfile
)