ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
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
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
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.ilCloudPluginItemCreationListGUI.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once(
"class.ilCloudPluginListGUI.php"
);
5
16
class
ilCloudPluginItemCreationListGUI
extends
ilCloudPluginListGUI
17
{
21
protected
$gl
= null;
22
28
public
function
getGroupedListItemsHTML
($showUpload =
false
, $showCreateFolders =
false
)
29
{
30
31
32
global
$lng
;
33
34
include_once(
"./Services/UIComponent/GroupedList/classes/class.ilGroupedListGUI.php"
);
35
$this->gl =
new
ilGroupedListGUI
();
36
37
$this->
addItemsBefore
();
38
39
if
($showUpload)
40
{
41
include_once(
"Services/FileUpload/classes/class.ilFileUploadGUI.php"
);
42
ilFileUploadGUI::initFileUpload
();
43
$icon_path =
"./Modules/Cloud/templates/images/icon_file_s.png"
;
44
$this->gl->addEntry(
ilUtil::img
($icon_path) .
" "
.$lng->txt(
"cld_add_file"
),
"javascript:il.CloudFileList.uploadFile();"
,
45
"_top"
,
""
,
""
,
"il_cld_add_file"
, $lng->txt(
"cld_info_add_file_to_current_directory"
),
"bottom center"
,
"top center"
,
false
);
46
}
47
48
if
($showCreateFolders)
49
{
50
$icon_path =
"./Modules/Cloud/templates/images/icon_folder_s.png"
;
51
$this->gl->addEntry(
ilUtil::img
($icon_path).
" "
.$lng->txt(
"cld_add_folder"
),
"javascript:il.CloudFileList.createFolder();"
,
52
"_top"
,
""
,
""
,
"il_cld_add_folder"
, $lng->txt(
"cld_info_add_folder_to_current_directory"
),
"bottom center"
,
"top center"
,
false
);
53
}
54
55
$this->
addItemsAfter
();
56
57
return
$this->gl->getHTML();
58
}
59
60
protected
function
addItemsBefore
()
61
{
62
}
63
64
protected
function
addItemsAfter
()
65
{
66
}
67
}
68
?>
ilFileUploadGUI\initFileUpload
static initFileUpload()
Initializes the file upload and loads the needed javascripts and styles.
Definition:
class.ilFileUploadGUI.php:50
ilUtil\img
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="")
Build img tag.
Definition:
class.ilUtil.php:2090
ilCloudPluginItemCreationListGUI\$gl
$gl
Definition:
class.ilCloudPluginItemCreationListGUI.php:21
ilGroupedListGUI
Grouped list GUI class.
Definition:
class.ilGroupedListGUI.php:12
ilCloudPluginItemCreationListGUI
Class ilCloudPluginItemCreationListGUI.
Definition:
class.ilCloudPluginItemCreationListGUI.php:16
$lng
global $lng
Definition:
privfeed.php:40
ilCloudPluginListGUI
Class ilCloudPluginListGUI.
Definition:
class.ilCloudPluginListGUI.php:15
ilCloudPluginItemCreationListGUI\addItemsBefore
addItemsBefore()
Definition:
class.ilCloudPluginItemCreationListGUI.php:60
ilCloudPluginItemCreationListGUI\addItemsAfter
addItemsAfter()
Definition:
class.ilCloudPluginItemCreationListGUI.php:64
ilCloudPluginItemCreationListGUI\getGroupedListItemsHTML
getGroupedListItemsHTML($showUpload=false, $showCreateFolders=false)
Definition:
class.ilCloudPluginItemCreationListGUI.php:28
Modules
Cloud
classes
class.ilCloudPluginItemCreationListGUI.php
Generated on Mon Dec 21 2020 19:01:00 for ILIAS by
1.8.13 (using
Doxyfile
)