107 if (!$this->poolOBJ->isSkillServiceEnabled()) {
115 if (!$this->
access->checkAccess(
'write',
'', $this->refId)) {
124 $link = $this->
ctrl->getLinkTargetByClass(
125 'ilAssQuestionSkillAssignmentsGUI',
128 $this->
tabs->addSubTab(
129 'ilassquestionskillassignmentsgui',
130 $this->
lng->txt(
'qpl_skl_sub_tab_quest_assign'),
134 $link = $this->
ctrl->getLinkTargetByClass(
135 'ilAssQuestionSkillUsagesTableGUI',
138 $this->
tabs->addSubTab(
139 'ilassquestionskillusagestablegui',
140 $this->
lng->txt(
'qpl_skl_sub_tab_usages'),
144 $this->
tabs->activateTab(
'qpl_tab_competences');
145 $this->
tabs->activateSubTab($activeSubTabId);
151 $this->
ilias->raiseError($this->
lng->txt(
"permission_denied"), $this->ilias->error_obj->MESSAGE);
154 $nextClass = $this->
ctrl->getNextClass();
158 switch ($nextClass) {
159 case 'ilassquestionskillassignmentsgui':
164 $this->component_repository
166 $questionList->setParentObjId($this->poolOBJ->getId());
168 $questionList->load();
171 $gui->setAssignmentEditingEnabled(
true);
172 $gui->setQuestionContainerId($this->poolOBJ->getId());
173 $gui->setQuestionList($questionList);
175 $this->
ctrl->forwardCommand($gui);
179 case 'ilassquestionskillusagestablegui':
186 $this->poolOBJ->getId()
189 $this->
ctrl->forwardCommand($gui);
const QUESTION_INSTANCE_TYPE_ORIGINALS
const CMD_SHOW_SKILL_QUEST_ASSIGNS
Class ilCtrl provides processing control methods.
static isSkillManagementGloballyActivated()
manageTabs($activeSubTabId)
__construct(ILIAS $ilias, ilCtrl $ctrl, Refinery $refinery, ilAccessHandler $access, ilTabsGUI $tabs, ilGlobalTemplateInterface $tpl, ilLanguage $lng, ilDBInterface $db, ilComponentRepository $component_repository, ilObjQuestionPool $poolOBJ, $refId)
ilComponentRepository $component_repository
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...
Readable part of repository interface to ilComponentDataDB.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Class ilObjForumAdministration.