ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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:22
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 Sat Apr 5 2025 23:03:32 for ILIAS by
1.8.13 (using
Doxyfile
)