4require_once(
'class.ilCloudPluginListGUI.php');
 
    5require_once(
'./Services/UIComponent/GroupedList/classes/class.ilGroupedListGUI.php');
 
    6require_once(
'./Services/FileUpload/classes/class.ilFileUploadGUI.php');
 
    7require_once(
'./Modules/Cloud/classes/class.ilCloudGroupedListGUI.php');
 
   38        return $gl->getHTML();
 
   56        $this->gl->setAsDropDown(
true);
 
   62            $a_ttip = 
$lng->txt(
'cld_info_add_file_to_current_directory');
 
   63            $this->gl->addEntry(
$img . 
' ' 
   64                                . 
$lng->txt(
'cld_add_file'), 
'#', 
'_top', 
'javascript:il.CloudFileList.uploadFile();', 
'', 
'il_cld_add_file', $a_ttip, 
'bottom center', 
'top center', 
false);
 
   67        if ($show_create_folders) {
 
   70            $a_ttip1 = 
$lng->txt(
'cld_info_add_folder_to_current_directory');
 
   71            $this->gl->addEntry($img1 . 
' ' 
   72                                . 
$lng->txt(
'cld_add_folder'), 
'#', 
'_top', 
'javascript:il.CloudFileList.createFolder();', 
'', 
'il_cld_add_file', $a_ttip1, 
'bottom center', 
'top center', 
false);
 
An exception for terminatinating execution or to throw for unit testing.
Class ilCloudGroupedListGUI.
Class ilCloudPluginItemCreationListGUI.
getGroupedListItemsHTML($showUpload=false, $showCreateFolders=false)
getGroupedListItems($show_upload=false, $show_create_folders=false)
Class ilCloudPluginListGUI.
static initFileUpload()
Initializes the file upload and loads the needed javascripts and styles.
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)