ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilObjQuestionPoolTaxonomyEditingCommandForwarder Class Reference
+ Collaboration diagram for ilObjQuestionPoolTaxonomyEditingCommandForwarder:

Public Member Functions

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

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

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

39 {
40 }

Member Function Documentation

◆ forward()

ilObjQuestionPoolTaxonomyEditingCommandForwarder::forward ( )

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

42 : void
43 {
44 $this->tabs->setTabActive('settings');
45 $this->lng->loadLanguageModule('tax');
46
47 $questionList = new ilAssQuestionList(
48 $this->db,
49 $this->lng,
50 $this->refinery,
51 $this->component_repository,
52 $this->component_factory
53 );
54
55 $questionList->setParentObjId($this->poolOBJ->getId());
56
57 $questionList->load();
58
59 $tax_gui = $this->taxonomy->gui()->getSettingsGUI(
60 $this->poolOBJ->getId(),
61 $this->lng->txt('qpl_taxonomy_tab_info_message'),
62 true
63 )->withAssignedItemSorting(
64 $questionList,
65 'qpl',
66 $this->poolOBJ->getId(),
67 'quest'
68 );
69
70 $this->ctrl->forwardCommand($tax_gui);
71 }

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

+ Here is the call graph for this function:

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