ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
switch
(
$a_type
)
21
{
22
default
:
23
switch
($a_class)
24
{
25
case
'RepositoryContent'
:
26
if
(
$_SESSION
[
'il_rep_mode'
] ==
'flat'
or
!isset(
$_SESSION
[
'il_rep_mode'
]))
27
{
28
//return 'bottom';
29
return
'_top'
;
30
}
31
else
32
{
33
return
'rep_content'
;
34
}
35
36
case
'MainContent'
:
37
//return 'bottom';
38
return
'_top'
;
39
40
// frame for external content (e.g. web bookmarks, external links)
41
case
'ExternalContent'
:
42
return
'_blank'
;
43
}
44
}
45
46
return
''
;
47
}
48
}
$_SESSION
$_SESSION["AccountId"]
Definition:
cfg.phpunit.template.php:10
ilFrameTargetInfo
ilFrameTargetInfo
Definition:
class.ilFrameTargetInfo.php:9
$a_type
$a_type
Definition:
workflow.php:93
ilFrameTargetInfo\_getFrame
static _getFrame($a_class, $a_type='')
Get content frame name.
Definition:
class.ilFrameTargetInfo.php:18
php
or
Services
UICore
classes
class.ilFrameTargetInfo.php
Generated on Fri Jan 17 2025 19:01:18 for ILIAS by
1.8.13 (using
Doxyfile
)