ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
class.ilQuestionPoolExportTableGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/Export/classes/class.ilExportTableGUI.php';
5 require_once 'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
6 
13 {
21  public function __construct($a_parent_obj, $a_parent_cmd, $a_exp_obj)
22  {
23  parent::__construct($a_parent_obj, $a_parent_cmd, $a_exp_obj);
24 
25  // NOT REQUIRED ANYMORE, PROBLEM NOW FIXED IN THE ROOT
26  // KEEP CODE, JF OPINIONS / ROOT FIXINGS CAN CHANGE
27  //$this->addCustomColumn($this->lng->txt('actions'), $this, 'formatActionsList');
28  }
29 
34  protected function formatActionsList($type, $filename)
35  {
39  global $ilCtrl;
40 
41  $list = new ilAdvancedSelectionListGUI();
42  $list->setListTitle($this->lng->txt('actions'));
43  $ilCtrl->setParameter($this->getParentObject(), 'file', $type.':'.$filename);
44  $list->addItem($this->lng->txt('download'), '', $ilCtrl->getLinkTarget($this->getParentObject(), 'download'));
45  $ilCtrl->setParameter($this->getParentObject(), 'file', '');
46  return $list->getHTML();
47  }
48 
49  /***
50  *
51  */
52  protected function initMultiCommands()
53  {
54  $this->addMultiCommand('confirmDeletion', $this->lng->txt('delete'));
55  }
56 }
Class ilQuestionPoolExportTableGUI.
getParentObject()
Get parent object.
global $ilCtrl
Definition: ilias.php:18
addMultiCommand($a_cmd, $a_text)
Add Command button.
$filename
Definition: buildRTE.php:89
User interface class for advanced drop-down selection lists.
__construct($a_parent_obj, $a_parent_cmd, $a_exp_obj)
Constructor.