ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilDclExportGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilDclExportGUI:
+ Collaboration diagram for ilDclExportGUI:

Public Member Functions

 createExportFile ()
 overwrite to check if exportable fields are available (for async xls export) More...
 
- Public Member Functions inherited from ilExportGUI
 __construct (object $a_parent_gui, ?ilObject $a_main_obj=null)
 
 addFormat (string $a_key, string $a_txt="", object $a_call_obj=null, string $a_call_func="")
 
 getFormats ()
 
 addCustomColumn (string $a_txt, object $a_obj, string $a_func)
 
 addCustomMultiCommand (string $a_txt, object $a_obj, string $a_func)
 
 getCustomMultiCommands ()
 
 getCustomColumns ()
 
 executeCommand ()
 
 listExportFiles ()
 
 createExportFile ()
 
 confirmDeletion ()
 Confirm file deletion. More...
 
 delete ()
 
 download ()
 Download file. More...
 
 handleCustomMultiCommand ()
 

Protected Member Functions

 buildExportTableGUI ()
 
- Protected Member Functions inherited from ilExportGUI
 initFileIdentifierFromQuery ()
 
 initFileIdentifiersFromPost ()
 
 initFormatFromPost ()
 
 initExportOptionsFromPost ()
 
 buildExportTableGUI ()
 
 getParentGUI ()
 
 showItemSelection ()
 Show container item selection table. More...
 
 saveItemSelection ()
 

Additional Inherited Members

- Protected Attributes inherited from ilExportGUI
Factory $refinery
 
Services $http
 
array $formats = array()
 
array $custom_columns = array()
 
array $custom_multi_commands = array()
 
ilObject $obj
 
ilLanguage $lng
 
ilGlobalTemplateInterface $tpl
 
ilCtrlInterface $ctrl
 
ilAccessHandler $access
 
ilErrorHandling $error
 
ilToolbarGUI $toolbar
 
ilObjectDefinition $objDefinition
 
ilTree $tree
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file class.ilDclExportGUI.php.

Member Function Documentation

◆ buildExportTableGUI()

ilDclExportGUI::buildExportTableGUI ( )
protected

Definition at line 21 of file class.ilDclExportGUI.php.

22  {
23  $table = new ilDclExportTableGUI($this, 'listExportFiles', $this->obj);
24 
25  return $table;
26  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ createExportFile()

ilDclExportGUI::createExportFile ( )

overwrite to check if exportable fields are available (for async xls export)

Definition at line 31 of file class.ilDclExportGUI.php.

References $format, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().

31  : void
32  {
33  $format = "";
34  if ($this->http->wrapper()->post()->has('format')) {
35  $format = $this->http->wrapper()->post()->retrieve('format', $this->refinery->kindlyTo()->string());
36  }
37  if ($format === 'xlsx') {
38  $this->checkForExportableFields();
39  }
40 
41  parent::createExportFile();
42  }
static http()
Fetches the global http state from ILIAS.
$format
Definition: metadata.php:235
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: