ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
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
4
11
class
ilFrameTargetInfo
12
{
16
function
_getFrame
($a_class, $a_type =
""
)
17
{
18
switch
($a_type)
19
{
20
default
:
21
switch
($a_class)
22
{
23
case
"RepositoryContent"
:
24
if
(
$_SESSION
[
"il_rep_mode"
] ==
"flat"
or !isset(
$_SESSION
[
'il_rep_mode'
]))
25
{
26
//return "bottom";
27
return
"_top"
;
28
}
29
else
30
{
31
return
"rep_content"
;
32
}
33
34
case
"MainContent"
:
35
//return "bottom";
36
return
"_top"
;
37
38
// frame for external content (e.g. web bookmarks, external links)
39
case
"ExternalContent"
:
40
return
"_blank"
;
41
}
42
}
43
44
return
""
;
45
}
46
47
}
// END class.ilFrameTargetInfo
48
?>
classes
class.ilFrameTargetInfo.php
Generated on Wed Apr 27 2016 19:01:15 for ILIAS by
1.8.1.2 (using
Doxyfile
)