ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObjQuestionPoolTaxonomyEditingCommandForwarder Class Reference
+ Collaboration diagram for ilObjQuestionPoolTaxonomyEditingCommandForwarder:

Public Member Functions

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

Protected Attributes

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

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ forward()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::forward ( )

forward method

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

80  {
81  $this->tabs->setTabActive('settings');
82  $this->lng->loadLanguageModule('tax');
83 
84  require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
85  $questionList = new ilAssQuestionList($this->db, $this->lng, $this->pluginAdmin);
86 
87  $questionList->setParentObjId($this->poolOBJ->getId());
88 
89  $questionList->load();
90 
91  require_once 'Services/Taxonomy/classes/class.ilObjTaxonomyGUI.php';
92  $taxGUI = new ilObjTaxonomyGUI();
93 
94  $taxGUI->setAssignedObject($this->poolOBJ->getId());
95  $taxGUI->setMultiple(true);
96 
97  $taxGUI->activateAssignedItemSorting($questionList, 'qpl', $this->poolOBJ->getId(), 'quest');
98 
99  $this->ctrl->forwardCommand($taxGUI);
100  }
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

◆ $tabs

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$tabs = null
protected

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