ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilExportGUI 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 ilExportGUI:
+ Collaboration diagram for ilExportGUI:

Public Member Functions

 __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

 initFileIdentifierFromQuery ()
 
 initFileIdentifiersFromPost ()
 
 initFormatFromPost ()
 
 initExportOptionsFromPost ()
 
 buildExportTableGUI ()
 
 getParentGUI ()
 
 showItemSelection ()
 Show container item selection table. More...
 
 saveItemSelection ()
 

Protected Attributes

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
 

Private Attributes

object $parent_gui
 

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 Export User Interface Class

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de ilExportGUI:

Definition at line 29 of file class.ilExportGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilExportGUI::__construct ( object  $a_parent_gui,
?ilObject  $a_main_obj = null 
)

Definition at line 49 of file class.ilExportGUI.php.

References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().

50  {
51  global $DIC;
52 
53  $this->lng = $DIC->language();
54  $this->lng->loadLanguageModule("exp");
55 
56  $this->http = $DIC->http();
57  $this->refinery = $DIC->refinery();
58 
59  $this->tpl = $DIC->ui()->mainTemplate();
60  $this->ctrl = $DIC->ctrl();
61  $this->access = $DIC->access();
62  $this->error = $DIC['ilErr'];
63  $this->toolbar = $DIC->toolbar();
64  $this->parent_gui = $a_parent_gui;
65  $this->objDefinition = $DIC['objDefinition'];
66  $this->tree = $DIC->repositoryTree();
67  if ($a_main_obj == null) {
68  $this->obj = $a_parent_gui->getObject();
69  } else {
70  $this->obj = $a_main_obj;
71  }
72  }
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:

Member Function Documentation

◆ addCustomColumn()

ilExportGUI::addCustomColumn ( string  $a_txt,
object  $a_obj,
string  $a_func 
)

Definition at line 159 of file class.ilExportGUI.php.

159  : void
160  {
161  $this->custom_columns[] = array("txt" => $a_txt,
162  "obj" => $a_obj,
163  "func" => $a_func
164  );
165  }

◆ addCustomMultiCommand()

ilExportGUI::addCustomMultiCommand ( string  $a_txt,
object  $a_obj,
string  $a_func 
)

Definition at line 167 of file class.ilExportGUI.php.

167  : void
168  {
169  $this->custom_multi_commands[] = array("txt" => $a_txt,
170  "obj" => $a_obj,
171  "func" => $a_func
172  );
173  }

◆ addFormat()

ilExportGUI::addFormat ( string  $a_key,
string  $a_txt = "",
object  $a_call_obj = null,
string  $a_call_func = "" 
)

Definition at line 137 of file class.ilExportGUI.php.

References ILIAS\Repository\lng().

Referenced by ilCmiXapiExportGUI\__construct(), and ilTestExportGUI\__construct().

142  : void {
143  if ($a_txt == "") {
144  $a_txt = $this->lng->txt("exp_" . $a_key);
145  }
146  $this->formats[] = array(
147  "key" => $a_key,
148  "txt" => $a_txt,
149  "call_obj" => $a_call_obj,
150  "call_func" => $a_call_func
151  );
152  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildExportTableGUI()

ilExportGUI::buildExportTableGUI ( )
protected

Definition at line 127 of file class.ilExportGUI.php.

Referenced by listExportFiles().

128  {
129  return new ilExportTableGUI($this, "listExportFiles", $this->obj);
130  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

◆ confirmDeletion()

ilExportGUI::confirmDeletion ( )

Confirm file deletion.

Definition at line 288 of file class.ilExportGUI.php.

References $filename, $i, ILIAS\Repository\ctrl(), initFileIdentifiersFromPost(), and ILIAS\Repository\lng().

288  : void
289  {
290  $files = $this->initFileIdentifiersFromPost();
291  if (!count($files)) {
292  $this->tpl->setOnScreenMessage('info', $this->lng->txt("no_checkbox"), true);
293  $this->ctrl->redirect($this, "listExportFiles");
294  } else {
295  $cgui = new ilConfirmationGUI();
296  $cgui->setFormAction($this->ctrl->getFormAction($this));
297  $cgui->setHeaderText($this->lng->txt("exp_really_delete"));
298  $cgui->setCancel($this->lng->txt("cancel"), "listExportFiles");
299  $cgui->setConfirm($this->lng->txt("delete"), "delete");
300 
301  foreach ($files as $i) {
302  if (strpos($i, ':') !== false) {
303  $iarr = explode(":", $i);
304  $filename = $iarr[1];
305  } else {
306  $filename = $i;
307  }
308  $cgui->addItem("file[]", $i, $filename);
309  }
310  $this->tpl->setContent($cgui->getHTML());
311  }
312  }
$filename
Definition: buildRTE.php:78
$i
Definition: metadata.php:41
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ createExportFile()

ilExportGUI::createExportFile ( )

Definition at line 260 of file class.ilExportGUI.php.

References Vendor\Package\$f, $format, ILIAS\Repository\ctrl(), getFormats(), getParentGUI(), initFormatFromPost(), ILIAS\Repository\lng(), and showItemSelection().

Referenced by executeCommand().

260  : void
261  {
262  if ($this->ctrl->getCmd() == "createExportFile") {
263  $format = $this->initFormatFromPost();
264  } else {
265  $format = substr($this->ctrl->getCmd(), 7);
266  }
267  foreach ($this->getFormats() as $f) {
268  if ($f["key"] == $format) {
269  if (is_object($f["call_obj"])) {
270  $f["call_obj"]->{$f["call_func"]}();
271  } elseif ($this->getParentGUI() instanceof ilContainerGUI) {
272  $this->showItemSelection();
273  return;
274  } elseif ($format == "xml") { // standard procedure
275  $exp = new ilExport();
276  $exp->exportObject($this->obj->getType(), $this->obj->getId());
277  }
278  }
279  }
280 
281  $this->tpl->setOnScreenMessage('success', $this->lng->txt("exp_file_created"), true);
282  $this->ctrl->redirect($this, "listExportFiles");
283  }
showItemSelection()
Show container item selection table.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$format
Definition: metadata.php:235
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilExportGUI::delete ( )

Definition at line 314 of file class.ilExportGUI.php.

References ilExport\_getExportDirectory(), ILIAS\Repository\ctrl(), ilFileUtils\delDir(), ilExportFileInfo\delete(), initFileIdentifiersFromPost(), and ILIAS\Repository\lng().

314  : void
315  {
316  $files = $this->initFileIdentifiersFromPost();
317  foreach ($files as $file) {
318  $file = explode(":", $file);
319 
320  $file[1] = basename($file[1]);
321 
322  $export_dir = ilExport::_getExportDirectory(
323  $this->obj->getId(),
324  str_replace("..", "", $file[0]),
325  $this->obj->getType()
326  );
327 
328  $exp_file = $export_dir . "/" . str_replace("..", "", $file[1]);
329  $exp_dir = $export_dir . "/" . substr($file[1], 0, strlen($file[1]) - 4);
330  if (is_file($exp_file)) {
331  unlink($exp_file);
332  }
333  if (is_dir($exp_dir)) {
334  ilFileUtils::delDir($exp_dir);
335  }
336 
337  // delete entry in database
338  $info = new ilExportFileInfo($this->obj->getId(), $file[0], $file[1]);
339  $info->delete();
340  }
341  if (count($files) > 0) {
342  $this->tpl->setOnScreenMessage('success', $this->lng->txt('export_files_deleted'), true);
343  }
344  $this->ctrl->redirect($this, "listExportFiles");
345  }
static _getExportDirectory(int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="")
Get export directory for an repository object.
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ download()

ilExportGUI::download ( )

Download file.

Definition at line 350 of file class.ilExportGUI.php.

References ilExport\_getExportDirectory(), ILIAS\Repository\ctrl(), ilFileDelivery\deliverFileLegacy(), and initFileIdentifierFromQuery().

Referenced by ilTestExportGUI\getExportTypeFromFileName().

350  : void
351  {
352  $file = $this->initFileIdentifierFromQuery();
353  if (!$file) {
354  $this->ctrl->redirect($this, "listExportFiles");
355  }
356 
357  $file = explode(":", trim($file));
358  $export_dir = ilExport::_getExportDirectory(
359  $this->obj->getId(),
360  str_replace("..", "", $file[0]),
361  $this->obj->getType()
362  );
363 
364  $file[1] = basename($file[1]);
365 
367  $export_dir . "/" . $file[1],
368  $file[1]
369  );
370  }
static _getExportDirectory(int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="")
Get export directory for an repository object.
static deliverFileLegacy(string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilExportGUI::executeCommand ( )

Definition at line 185 of file class.ilExportGUI.php.

References ilObject\_lookupType(), ILIAS\Repository\access(), createExportFile(), ILIAS\Repository\ctrl(), handleCustomMultiCommand(), ILIAS\Repository\lng(), and ilExportLimitation\SET_EXPORT_DISABLED.

185  : void
186  {
187  // this should work (at least) for repository objects
188  if (method_exists($this->obj, 'getRefId') and $this->obj->getRefId()) {
189  if (!$this->access->checkAccess('write', '', $this->obj->getRefId())) {
190  $this->error->raiseError($this->lng->txt('permission_denied'), $this->error->WARNING);
191  }
192 
193  // check export activation of container
194  $exp_limit = new ilExportLimitation();
195  if ($this->objDefinition->isContainer(ilObject::_lookupType($this->obj->getRefId(), true)) &&
196  $exp_limit->getLimitationMode() == ilExportLimitation::SET_EXPORT_DISABLED) {
197  $this->tpl->setOnScreenMessage('failure', $this->lng->txt("exp_error_disabled"));
198  return;
199  }
200  }
201 
202  $cmd = $this->ctrl->getCmd("listExportFiles");
203 
204  switch ($cmd) {
205  case "listExportFiles":
206  $this->$cmd();
207  break;
208 
209  default:
210  if (substr($cmd, 0, 7) == "create_") {
211  $this->createExportFile();
212  } elseif (substr($cmd, 0, 6) == "multi_") { // custom multi command
213  $this->handleCustomMultiCommand();
214  } else {
215  $this->$cmd();
216  }
217  break;
218  }
219  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupType(int $id, bool $reference=false)
+ Here is the call graph for this function:

◆ getCustomColumns()

ilExportGUI::getCustomColumns ( )

Definition at line 180 of file class.ilExportGUI.php.

References $custom_columns.

Referenced by ilTestExportGUI\listExportFiles(), and listExportFiles().

180  : array
181  {
182  return $this->custom_columns;
183  }
+ Here is the caller graph for this function:

◆ getCustomMultiCommands()

ilExportGUI::getCustomMultiCommands ( )

Definition at line 175 of file class.ilExportGUI.php.

References $custom_multi_commands.

Referenced by handleCustomMultiCommand(), ilTestExportGUI\listExportFiles(), and listExportFiles().

175  : array
176  {
178  }
array $custom_multi_commands
+ Here is the caller graph for this function:

◆ getFormats()

ilExportGUI::getFormats ( )

Definition at line 154 of file class.ilExportGUI.php.

References $formats.

Referenced by createExportFile(), ilTestExportGUI\listExportFiles(), and listExportFiles().

154  : array
155  {
156  return $this->formats;
157  }
+ Here is the caller graph for this function:

◆ getParentGUI()

ilExportGUI::getParentGUI ( )
protected

Definition at line 132 of file class.ilExportGUI.php.

References $parent_gui.

Referenced by createExportFile(), ilTestExportGUI\getExportTypeFromFileName(), ilTestExportGUI\listExportFiles(), saveItemSelection(), and showItemSelection().

132  : object
133  {
134  return $this->parent_gui;
135  }
+ Here is the caller graph for this function:

◆ handleCustomMultiCommand()

ilExportGUI::handleCustomMultiCommand ( )

Definition at line 372 of file class.ilExportGUI.php.

References $c, ILIAS\Repository\ctrl(), getCustomMultiCommands(), and initFileIdentifiersFromPost().

Referenced by executeCommand().

372  : void
373  {
374  $cmd = substr($this->ctrl->getCmd(), 6);
375  foreach ($this->getCustomMultiCommands() as $c) {
376  if ($c["func"] == $cmd) {
377  $c["obj"]->{$c["func"]}($this->initFileIdentifiersFromPost());
378  }
379  }
380  }
$c
Definition: cli.php:38
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initExportOptionsFromPost()

ilExportGUI::initExportOptionsFromPost ( )
protected

Definition at line 109 of file class.ilExportGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by saveItemSelection().

109  : array
110  {
111  $options = [];
112  if ($this->http->wrapper()->post()->has('cp_options')) {
113  $custom_transformer = $this->refinery->custom()->transformation(
114  function ($array) {
115  return $array;
116  }
117  );
118  $options = $this->http->wrapper()->post()->retrieve(
119  'cp_options',
120  $custom_transformer
121  );
122  }
123  return $options;
124  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initFileIdentifierFromQuery()

ilExportGUI::initFileIdentifierFromQuery ( )
protected

Definition at line 74 of file class.ilExportGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by download().

74  : string
75  {
76  if ($this->http->wrapper()->query()->has('file')) {
77  return $this->http->wrapper()->query()->retrieve(
78  'file',
79  $this->refinery->kindlyTo()->string()
80  );
81  }
82  return '';
83  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initFileIdentifiersFromPost()

ilExportGUI::initFileIdentifiersFromPost ( )
protected

Definition at line 85 of file class.ilExportGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by confirmDeletion(), delete(), and handleCustomMultiCommand().

85  : array
86  {
87  if ($this->http->wrapper()->post()->has('file')) {
88  return $this->http->wrapper()->post()->retrieve(
89  'file',
90  $this->refinery->kindlyTo()->listOf(
91  $this->refinery->kindlyTo()->string()
92  )
93  );
94  }
95  return [];
96  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initFormatFromPost()

ilExportGUI::initFormatFromPost ( )
protected

Definition at line 98 of file class.ilExportGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by createExportFile().

98  : string
99  {
100  if ($this->http->wrapper()->post()->has('format')) {
101  return $this->http->wrapper()->post()->retrieve(
102  'format',
103  $this->refinery->kindlyTo()->string()
104  );
105  }
106  return '';
107  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ listExportFiles()

ilExportGUI::listExportFiles ( )

Definition at line 221 of file class.ilExportGUI.php.

References $c, Vendor\Package\$f, $format, buildExportTableGUI(), ILIAS\Repository\ctrl(), getCustomColumns(), getCustomMultiCommands(), getFormats(), ilSubmitButton\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().

221  : void
222  {
223  $button = ilSubmitButton::getInstance();
224 
225  // creation buttons
226  $this->toolbar->setFormAction($this->ctrl->getFormAction($this));
227  if (count($this->getFormats()) > 1) {
228  // type selection
229  $options = [];
230  foreach ($this->getFormats() as $f) {
231  $options[$f["key"]] = $f["txt"];
232  }
233  $si = new ilSelectInputGUI($this->lng->txt("type"), "format");
234  $si->setOptions($options);
235  $this->toolbar->addInputItem($si, true);
236 
237  $button->setCaption("exp_create_file");
238  $button->setCommand("createExportFile");
239  } else {
240  $format = $this->getFormats();
241  $format = $format[0];
242 
243  $button->setCaption($this->lng->txt("exp_create_file") . " (" . $format["txt"] . ")", false);
244  $button->setCommand("create_" . $format["key"]);
245  }
246 
247  $this->toolbar->addButtonInstance($button);
248 
249  $table = $this->buildExportTableGUI();
250  $table->setSelectAllCheckbox("file");
251  foreach ($this->getCustomColumns() as $c) {
252  $table->addCustomColumn($c["txt"], $c["obj"], $c["func"]);
253  }
254  foreach ($this->getCustomMultiCommands() as $c) {
255  $table->addCustomMultiCommand($c["txt"], "multi_" . $c["func"]);
256  }
257  $this->tpl->setContent($table->getHTML());
258  }
$c
Definition: cli.php:38
$format
Definition: metadata.php:235
+ Here is the call graph for this function:

◆ saveItemSelection()

ilExportGUI::saveItemSelection ( )
protected

Definition at line 395 of file class.ilExportGUI.php.

References Vendor\Package\$e, $ref_id, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\access(), ilExportOptions\allocateExportId(), ILIAS\Repository\ctrl(), ilExportOptions\EXPORT_BUILD, ilExportOptions\EXPORT_OMIT, getParentGUI(), initExportOptionsFromPost(), ilExportOptions\KEY_ITEM_MODE, ilExportOptions\KEY_ROOT, ILIAS\Repository\lng(), ilExportOptions\newInstance(), and showItemSelection().

395  : void
396  {
398  $eo->addOption(ilExportOptions::KEY_ROOT, 0, 0, $this->obj->getId());
399 
400  $cp_options = $this->initExportOptionsFromPost();
401 
402  // check export limitation
403  $exp_limit = new ilExportLimitation();
404  try {
405  $exp_limit->checkLimitation(
406  $this->getParentGUI()->getObject()->getRefId(),
407  $cp_options
408  );
409  } catch (Exception $e) {
410  $this->tpl->setOnScreenMessage('failure', $e->getMessage());
411  $this->showItemSelection();
412  return;
413  }
414 
415  $items_selected = false;
416  foreach ($this->tree->getSubTree($root = $this->tree->getNodeData($this->getParentGUI()->getObject()->getRefId())) as $node) {
417  if ($node['type'] === 'rolf') {
418  continue;
419  }
420  if ($node['ref_id'] == $this->getParentGUI()->getObject()->getRefId()) {
421  $eo->addOption(
423  (int) $node['ref_id'],
424  (int) $node['obj_id'],
426  );
427  continue;
428  }
429  // no export available or no access
430  if (!$this->objDefinition->allowExport($node['type']) || !$this->access->checkAccess(
431  'write',
432  '',
433  (int) $node['ref_id']
434  )) {
435  $eo->addOption(
437  (int) $node['ref_id'],
438  (int) $node['obj_id'],
440  );
441  continue;
442  }
443 
444  $mode = $cp_options[$node['ref_id']]['type'] ?? ilExportOptions::EXPORT_OMIT;
445  $eo->addOption(
447  (int) $node['ref_id'],
448  (int) $node['obj_id'],
449  $mode
450  );
451  if ($mode != ilExportOptions::EXPORT_OMIT) {
452  $items_selected = true;
453  }
454  }
455 
456  if ($items_selected) {
457  // TODO: move this to background soap
458  $eo->read();
459  $exp = new ilExport();
460  foreach ($eo->getSubitemsForCreation($this->obj->getRefId()) as $ref_id) {
461  $obj_id = ilObject::_lookupObjId($ref_id);
462  $type = ilObject::_lookupType($obj_id);
463  $exp->exportObject($type, $obj_id);
464  }
465  // Fixme: there is a naming conflict between the container settings xml and the container subitem xml.
466  sleep(1);
467  // Export container
468  $cexp = new ilExportContainer($eo);
469  $cexp->exportObject($this->obj->getType(), $this->obj->getId());
470  } else {
471  $exp = new ilExport();
472  $exp->exportObject($this->obj->getType(), $this->obj->getId());
473  }
474 
475  // Delete export options
476  $eo->delete();
477 
478  $this->tpl->setOnScreenMessage('success', $this->lng->txt('export_created'), true);
479  $this->ctrl->redirect($this, "listExportFiles");
480  }
showItemSelection()
Show container item selection table.
$type
static newInstance(int $a_export_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupObjId(int $ref_id)
$ref_id
Definition: ltiauth.php:67
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...
static _lookupType(int $id, bool $reference=false)
+ Here is the call graph for this function:

◆ showItemSelection()

ilExportGUI::showItemSelection ( )
protected

Show container item selection table.

Definition at line 385 of file class.ilExportGUI.php.

References getParentGUI().

Referenced by createExportFile(), and saveItemSelection().

385  : void
386  {
387  $this->tpl->addJavaScript('./Services/CopyWizard/js/ilContainer.js');
388  $this->tpl->setVariable('BODY_ATTRIBUTES', 'onload="ilDisableChilds(\'cmd\');"');
389 
390  $table = new ilExportSelectionTableGUI($this, 'listExportFiles');
391  $table->parseContainer($this->getParentGUI()->getObject()->getRefId());
392  $this->tpl->setContent($table->getHTML());
393  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilExportGUI::$access
protected

Definition at line 42 of file class.ilExportGUI.php.

◆ $ctrl

ilCtrlInterface ilExportGUI::$ctrl
protected

Definition at line 41 of file class.ilExportGUI.php.

◆ $custom_columns

array ilExportGUI::$custom_columns = array()
protected

Definition at line 34 of file class.ilExportGUI.php.

Referenced by getCustomColumns().

◆ $custom_multi_commands

array ilExportGUI::$custom_multi_commands = array()
protected

Definition at line 35 of file class.ilExportGUI.php.

Referenced by getCustomMultiCommands().

◆ $error

ilErrorHandling ilExportGUI::$error
protected

Definition at line 43 of file class.ilExportGUI.php.

◆ $formats

array ilExportGUI::$formats = array()
protected

Definition at line 33 of file class.ilExportGUI.php.

Referenced by getFormats().

◆ $http

Services ilExportGUI::$http
protected

Definition at line 32 of file class.ilExportGUI.php.

◆ $lng

◆ $obj

ilObject ilExportGUI::$obj
protected

Definition at line 38 of file class.ilExportGUI.php.

◆ $objDefinition

ilObjectDefinition ilExportGUI::$objDefinition
protected

Definition at line 45 of file class.ilExportGUI.php.

◆ $parent_gui

object ilExportGUI::$parent_gui
private

Definition at line 37 of file class.ilExportGUI.php.

Referenced by getParentGUI().

◆ $refinery

Factory ilExportGUI::$refinery
protected

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

◆ $toolbar

ilToolbarGUI ilExportGUI::$toolbar
protected

Definition at line 44 of file class.ilExportGUI.php.

◆ $tpl

ilGlobalTemplateInterface ilExportGUI::$tpl
protected

Definition at line 40 of file class.ilExportGUI.php.

Referenced by ilTestExportGUI\listExportFiles().

◆ $tree

ilTree ilExportGUI::$tree
protected

Definition at line 46 of file class.ilExportGUI.php.


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