ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
12
class
ilObjQuestionPoolTaxonomyEditingCommandForwarder
13
{
19
protected
$poolOBJ
= null;
20
26
protected
$db
= null;
27
33
protected
$pluginAdmin
= null;
34
40
protected
$ctrl
= null;
41
47
protected
$tabs
= null;
48
54
protected
$lng
= null;
55
66
public
function
__construct
(
ilObjQuestionPool
$poolOBJ
,
ilDBInterface
$db
,
ilPluginAdmin
$pluginAdmin
,
ilCtrl
$ctrl
,
ilTabsGUI
$tabs
,
ilLanguage
$lng
)
67
{
68
$this->poolOBJ =
$poolOBJ
;
69
$this->db =
$db
;
70
$this->pluginAdmin =
$pluginAdmin
;
71
$this->ctrl =
$ctrl
;
72
$this->tabs =
$tabs
;
73
$this->lng =
$lng
;
74
}
75
79
public
function
forward
()
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
}
101
}
ilObjQuestionPoolTaxonomyEditingCommandForwarder\forward
forward()
forward method
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:79
ilCtrl
This class provides processing control methods.
Definition:
class.ilCtrl.php:11
ilTabsGUI
Tabs GUI.
Definition:
class.ilTabsGUI.php:12
ilObjQuestionPool
Definition:
class.ilObjQuestionPool.php:16
ilAssQuestionList
Definition:
class.ilAssQuestionList.php:16
ilObjQuestionPoolTaxonomyEditingCommandForwarder\__construct
__construct(ilObjQuestionPool $poolOBJ, ilDBInterface $db, ilPluginAdmin $pluginAdmin, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
Constructor.
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:66
ilPluginAdmin
Administration class for plugins.
Definition:
class.ilPluginAdmin.php:16
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:9
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$ctrl
$ctrl
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:40
ilObjTaxonomyGUI
Taxonomy GUI class.
Definition:
class.ilObjTaxonomyGUI.php:18
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$tabs
$tabs
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:47
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$lng
$lng
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:54
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$poolOBJ
$poolOBJ
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:19
ilObjQuestionPoolTaxonomyEditingCommandForwarder
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:12
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$pluginAdmin
$pluginAdmin
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:33
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ilObjQuestionPoolTaxonomyEditingCommandForwarder\$db
$db
Definition:
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php:26
Modules
TestQuestionPool
classes
class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php
Generated on Sat Jan 18 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)