ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilFrameTargetInfo.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
9
class
ilFrameTargetInfo
10
{
18
public
static
function
_getFrame
($a_class, $a_type =
''
)
19
{
20
// LTI
21
global
$DIC
;
22
$ltiview = $DIC[
'lti'
];
23
24
switch
($a_type) {
25
default
:
26
switch
($a_class) {
27
case
'RepositoryContent'
:
28
if
(
$_SESSION
[
'il_rep_mode'
] ==
'flat'
or !isset(
$_SESSION
[
'il_rep_mode'
])) {
29
//return 'bottom';
30
// LTI
31
if
($ltiview->isActive()) {
32
return
'_self'
;
33
}
else
{
34
return
'_top'
;
35
}
36
}
else
{
37
return
'rep_content'
;
38
}
39
40
// no break
41
case
'MainContent'
:
42
//return 'bottom';
43
// LTI
44
if
($ltiview->isActive()) {
45
return
'_self'
;
46
}
else
{
47
return
'_top'
;
48
}
49
50
// no break
51
case
'ExternalContent'
:
52
return
'_blank'
;
53
}
54
}
55
56
return
''
;
57
}
58
}
$_SESSION
$_SESSION["AccountId"]
Definition:
cfg.phpunit.template.php:10
ilFrameTargetInfo
ilFrameTargetInfo
Definition:
class.ilFrameTargetInfo.php:9
$DIC
global $DIC
Definition:
goto.php:24
ilFrameTargetInfo\_getFrame
static _getFrame($a_class, $a_type='')
Get content frame name.
Definition:
class.ilFrameTargetInfo.php:18
Services
UICore
classes
class.ilFrameTargetInfo.php
Generated on Sat Apr 5 2025 21:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)