ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4require_once 'Services/Export/classes/class.ilExportTableGUI.php';
5require_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}
$filename
Definition: buildRTE.php:89
User interface class for advanced drop-down selection lists.
Class ilQuestionPoolExportTableGUI.
__construct($a_parent_obj, $a_parent_cmd, $a_exp_obj)
Constructor.
getParentObject()
Get parent object.
addMultiCommand($a_cmd, $a_text)
Add Command button.
global $ilCtrl
Definition: ilias.php:18