4 require_once
'Modules/Test/classes/toolbars/class.ilTestSkillEvaluationToolbarGUI.php';
5 require_once
'Modules/Test/classes/class.ilTestPersonalSkillsGUI.php';
68 require_once
'Modules/Test/classes/class.ilTestSkillEvaluation.php';
71 require_once
'Modules/Test/classes/class.ilTestSessionFactory.php';
77 $cmd = $this->ctrl->getCmd(self::CMD_SHOW) .
'Cmd';
91 $this->tabs->clearTargets();
93 $this->tabs->setBackTarget(
94 $this->lng->txt(
'tst_results_back_introduction'),
95 $this->ctrl->getLinkTargetByClass(
'ilObjTestGUI',
'infoScreen')
103 $testSession = $this->testSessionFactory->getSession();
105 $this->skillEvaluation->init()->evaluate(
106 $testSession->getActiveId(), $testSession->getLastFinishedPass(), $testSession->getUserId()
112 $this->tpl->setContent(
113 $this->ctrl->getHTML($evaluationToolbarGUI) . $this->ctrl->getHTML($personalSkillsGUI)
119 $availableSkillProfiles = $this->skillEvaluation->getAssignedSkillMatchingSkillProfiles(
123 $noSkillProfileOptionEnabled = $this->skillEvaluation->noProfileMatchingAssignedSkillExists(
124 $usrId, $availableSkillProfiles
129 $gui->setAvailableSkillProfiles($availableSkillProfiles);
130 $gui->setNoSkillProfileOptionEnabled($noSkillProfileOptionEnabled);
131 $gui->setSelectedEvaluationMode($selectedSkillProfileId);
140 $availableSkills = $this->skillEvaluation->getUniqueAssignedSkillsForPersonalSkillGUI();
141 $reachedSkillLevels = $this->skillEvaluation->getReachedSkillLevelsForPersonalSkillGUI();
145 $gui->setAvailableSkills($availableSkills);
146 $gui->setSelectedSkillProfile($selectedSkillProfileId);
148 $gui->setReachedSkillLevels($reachedSkillLevels);
149 $gui->setUsrId($usrId);