ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjQuestionPoolTaxonomyEditingCommandForwarder Class Reference
+ Collaboration diagram for ilObjQuestionPoolTaxonomyEditingCommandForwarder:

Public Member Functions

 __construct (ilObjQuestionPool $poolOBJ, ilDBInterface $db, ILIAS\Refinery\Factory $refinery, ilPluginAdmin $pluginAdmin, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
 Constructor. More...
 
 forward ()
 forward method More...
 

Protected Attributes

 $poolOBJ = null
 
 $db = null
 
 $refinery
 
 $pluginAdmin = null
 
 $ctrl = null
 
 $tabs = null
 
 $lng = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::__construct ( ilObjQuestionPool  $poolOBJ,
ilDBInterface  $db,
ILIAS\Refinery\Factory  $refinery,
ilPluginAdmin  $pluginAdmin,
ilCtrl  $ctrl,
ilTabsGUI  $tabs,
ilLanguage  $lng 
)

Member Function Documentation

◆ forward()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::forward ( )

forward method

Definition at line 88 of file class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php.

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  }
Taxonomy GUI class.

Field Documentation

◆ $ctrl

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$ctrl = null
protected

◆ $db

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$db = null
protected

◆ $lng

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$lng = null
protected

◆ $pluginAdmin

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$pluginAdmin = null
protected

◆ $poolOBJ

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$poolOBJ = null
protected

◆ $refinery

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$refinery
protected

◆ $tabs

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$tabs = null
protected

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