76 $this->
ilias->raiseError($this->
lng->txt(
"permission_denied"), $this->
ilias->error_obj->MESSAGE);
79 $nextClass = $this->
ctrl->getNextClass();
84 case 'ilassquestionskillassignmentsgui':
89 $questionList->setParentObjId($questionContainerId);
91 $questionList->load();
95 $gui->setQuestionContainerId($questionContainerId);
96 $gui->setQuestionList($questionList);
98 if ($this->testOBJ->isFixedTest()) {
99 $gui->setQuestionOrderSequence($this->testOBJ->getQuestions());
104 $this->
ctrl->forwardCommand($gui);
108 case 'iltestskilllevelthresholdsgui':
113 $this->
ctrl->forwardCommand($gui);
120 if (!$this->testOBJ->isFixedTest()) {
124 if ($this->testOBJ->participantDataExist()) {
133 $link = $this->
ctrl->getLinkTargetByClass(
134 'ilAssQuestionSkillAssignmentsGUI',
137 $this->
tabs->addSubTab(
138 'ilassquestionskillassignmentsgui',
139 $this->
lng->txt(
'qpl_skl_sub_tab_quest_assign'),
143 $link = $this->
ctrl->getLinkTargetByClass(
144 'ilTestSkillLevelThresholdsGUI',
147 $this->
tabs->addSubTab(
148 'iltestskilllevelthresholdsgui',
149 $this->
lng->txt(
'tst_skl_sub_tab_thresholds'),
153 $this->
tabs->activateTab(
'tst_tab_competences');
154 $this->
tabs->activateSubTab($activeSubTabId);
159 if (!$this->testOBJ->isSkillServiceEnabled()) {
167 if (!$this->
access->checkAccess(
'write',
'', $this->refId)) {
176 if ($this->testOBJ->isDynamicTest()) {
180 $this->component_repository,
184 $questionSetConfig = $questionSetConfigFactory->getQuestionSetConfig();
186 return $questionSetConfig->getSourceQuestionPoolId();
189 return $this->testOBJ->getId();
194 if ($this->testOBJ->isDynamicTest()) {
198 if ($this->testOBJ->isRandomTest()) {
210 $this->component_repository,
214 $questionSetConfig = $questionSetConfigFactory->getQuestionSetConfig();
216 if ($this->testOBJ->isRandomTest()) {
217 $testMode = $this->
lng->txt(
'tst_question_set_type_random');
218 $poolLinks = $questionSetConfig->getCommaSeparatedSourceQuestionPoolLinks();
220 return sprintf($this->
lng->txt(
'tst_qst_skl_cfg_in_pool_hint_rndquestset'), $testMode, $poolLinks);
Readable part of repository interface to ilComponentDataDB.
ilComponentRepository $component_repository
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider .
manageTabs($activeSubTabId)
__construct(ILIAS $ilias, ilCtrl $ctrl, ilAccessHandler $access, ilTabsGUI $tabs, ilGlobalTemplateInterface $tpl, ilLanguage $lng, Refinery $refinery, ilDBInterface $db, ilTree $tree, ilComponentRepository $component_repository, ilObjTest $testOBJ, $refId)
getRequiredQuestionInstanceTypeFilter()
const QUESTION_INSTANCE_TYPE_DUPLICATES
buildAssignmentConfigurationInPoolHintMessage()
isAssignmentEditingRequired()
setQuestionAssignmentColumnsEnabled($questionAssignmentColumnsEnabled)
header include for all ilias files.
static isSkillManagementGloballyActivated()
const CMD_SHOW_SKILL_THRESHOLDS
ilGlobalTemplateInterface $tpl
const CMD_SHOW_SKILL_QUEST_ASSIGNS
const QUESTION_INSTANCE_TYPE_ORIGINALS