ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
ilObjLTIConsumerVerificationAccess
Definition:
class.ilObjLTIConsumerVerificationAccess.php:31
ilObjLTIConsumerVerificationAccess\_checkGoto
static _checkGoto(string $target)
check whether goto script will succeed
Definition:
class.ilObjLTIConsumerVerificationAccess.php:42
ilObjLTIConsumerVerificationAccess\_getCommands
static _getCommands()
Definition:
class.ilObjLTIConsumerVerificationAccess.php:35
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:32
ilSharedResourceGUI\hasAccess
static hasAccess(int $a_node_id, bool $a_is_portfolio=false)
Definition:
class.ilSharedResourceGUI.php:168
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
LTIConsumer
classes
Verification
class.ilObjLTIConsumerVerificationAccess.php
Generated on Sat Oct 18 2025 23:03:22 for ILIAS by
1.9.4 (using
Doxyfile
)