ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
5 
15 {
21  protected $poolOBJ = null;
22 
28  protected $db = null;
29 
30 
34  protected $refinery;
35 
41  protected $pluginAdmin = null;
42 
48  protected $ctrl = null;
49 
55  protected $tabs = null;
56 
62  protected $lng = null;
63 
75  {
76  $this->poolOBJ = $poolOBJ;
77  $this->db = $db;
78  $this->refinery = $refinery;
79  $this->pluginAdmin = $pluginAdmin;
80  $this->ctrl = $ctrl;
81  $this->tabs = $tabs;
82  $this->lng = $lng;
83  }
84 
88  public function forward()
89  {
90  $this->tabs->setTabActive('settings');
91  $this->lng->loadLanguageModule('tax');
92 
93  require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
94  $questionList = new ilAssQuestionList($this->db, $this->lng, $this->refinery, $this->pluginAdmin);
95 
96  $questionList->setParentObjId($this->poolOBJ->getId());
97 
98  $questionList->load();
99 
100  require_once 'Services/Taxonomy/classes/class.ilObjTaxonomyGUI.php';
101  $taxGUI = new ilObjTaxonomyGUI();
102 
103  $taxGUI->setAssignedObject($this->poolOBJ->getId());
104  $taxGUI->setMultiple(true);
105 
106  $taxGUI->activateAssignedItemSorting($questionList, 'qpl', $this->poolOBJ->getId(), 'quest');
107 
108  $this->ctrl->forwardCommand($taxGUI);
109  }
110 }
This class provides processing control methods.
Tabs GUI.
Class ChatMainBarProvider .
__construct(ilObjQuestionPool $poolOBJ, ilDBInterface $db, ILIAS\Refinery\Factory $refinery, ilPluginAdmin $pluginAdmin, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
Constructor.
Administration class for plugins.
Taxonomy GUI class.