ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilFrameTargetInfo.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilFrameTargetInfo
26
{
27
public
static
function
_getFrame
(
string
$a_class): string
28
{
29
switch
($a_class) {
30
case
'RepositoryContent'
:
31
case
'MainContent'
:
32
return
self::getLtiFrame();
33
34
case
'ExternalContent'
:
35
return
'_blank'
;
36
37
default
:
38
return
''
;
39
}
40
}
41
42
protected
static
function
getLtiFrame
(): string
43
{
44
global
$DIC
;
45
46
if
($DIC->offsetExists(
'lti'
) && $DIC[
'lti'
]->isActive()) {
47
return
'_self'
;
48
}
49
50
return
'_top'
;
51
}
52
}
ilFrameTargetInfo
Definition:
class.ilFrameTargetInfo.php:25
$DIC
global $DIC
Definition:
shib_login.php:26
ilFrameTargetInfo\getLtiFrame
static getLtiFrame()
Definition:
class.ilFrameTargetInfo.php:42
ilFrameTargetInfo\_getFrame
static _getFrame(string $a_class)
Definition:
class.ilFrameTargetInfo.php:27
components
ILIAS
UICore
classes
class.ilFrameTargetInfo.php
Generated on Sun Aug 31 2025 23:04:18 for ILIAS by
1.8.13 (using
Doxyfile
)