ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjQuestionPoolTaxonomyEditingCommandForwarder Class Reference
+ Collaboration diagram for ilObjQuestionPoolTaxonomyEditingCommandForwarder:

Public Member Functions

 __construct (ilObjQuestionPool $poolOBJ, ilDBInterface $db, Refinery $refinery, ilComponentRepository $component_repository, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng, Service $taxonomy)
 
 forward ()
 

Protected Attributes

Service $taxonomy
 
ilObjQuestionPool $poolOBJ
 
ilDBInterface $db
 
Refinery $refinery
 
ilComponentRepository $component_repository
 
ilCtrlInterface $ctrl
 
ilTabsGUI $tabs
 
ilLanguage $lng
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::__construct ( ilObjQuestionPool  $poolOBJ,
ilDBInterface  $db,
Refinery  $refinery,
ilComponentRepository  $component_repository,
ilCtrl  $ctrl,
ilTabsGUI  $tabs,
ilLanguage  $lng,
Service  $taxonomy 
)

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

References $component_repository, $ctrl, $db, $lng, $poolOBJ, $refinery, $tabs, $taxonomy, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().

47  {
48  $this->poolOBJ = $poolOBJ;
49  $this->db = $db;
50  $this->refinery = $refinery;
51  $this->component_repository = $component_repository;
52  $this->ctrl = $ctrl;
53  $this->tabs = $tabs;
54  $this->lng = $lng;
55  $this->taxonomy = $taxonomy;
56  }
+ Here is the call graph for this function:

Member Function Documentation

◆ forward()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::forward ( )

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

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().

58  : void
59  {
60  $this->tabs->setTabActive('settings');
61  $this->lng->loadLanguageModule('tax');
62 
63  $questionList = new ilAssQuestionList(
64  $this->db,
65  $this->lng,
66  $this->refinery,
67  $this->component_repository
68  );
69 
70  $questionList->setParentObjId($this->poolOBJ->getId());
71 
72  $questionList->load();
73 
74  $tax_gui = $this->taxonomy->gui()->getSettingsGUI(
75  $this->poolOBJ->getId(),
76  $this->lng->txt('qpl_taxonomy_tab_info_message'),
77  true
78  )->withAssignedItemSorting(
79  $questionList,
80  'qpl',
81  $this->poolOBJ->getId(),
82  'quest'
83  );
84 
85  $this->ctrl->forwardCommand($tax_gui);
86  }
+ Here is the call graph for this function:

Field Documentation

◆ $component_repository

ilComponentRepository ilObjQuestionPoolTaxonomyEditingCommandForwarder::$component_repository
protected

◆ $ctrl

ilCtrlInterface ilObjQuestionPoolTaxonomyEditingCommandForwarder::$ctrl
protected

◆ $db

ilDBInterface ilObjQuestionPoolTaxonomyEditingCommandForwarder::$db
protected

◆ $lng

ilLanguage ilObjQuestionPoolTaxonomyEditingCommandForwarder::$lng
protected

◆ $poolOBJ

ilObjQuestionPool ilObjQuestionPoolTaxonomyEditingCommandForwarder::$poolOBJ
protected

◆ $refinery

Refinery ilObjQuestionPoolTaxonomyEditingCommandForwarder::$refinery
protected

◆ $tabs

ilTabsGUI ilObjQuestionPoolTaxonomyEditingCommandForwarder::$tabs
protected

◆ $taxonomy

Service ilObjQuestionPoolTaxonomyEditingCommandForwarder::$taxonomy
protected

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