ILIAS
Release_5_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
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
}
Services
UICore
classes
class.ilFrameTargetInfo.php
Generated on Wed Apr 27 2016 21:02:12 for ILIAS by
1.8.1.2 (using
Doxyfile
)