ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilTestPersonalSkillsGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
12{
16 private $lng;
17
19
21
23
24 private $usrId;
25
29 private $testId;
30
36 {
37 $this->lng = $lng;
38 $this->testId = $testId;
39 }
40
41 public function getHTML()
42 {
43 $gui = new ilPersonalSkillsGUI();
44
45 $gui->setGapAnalysisActualStatusModePerObject($this->getTestId(), $this->lng->txt('tst_test_result'));
46
47 $gui->setTriggerObjectsFilter(array($this->getTestId()));
48 $gui->setHistoryView(true); // NOT IMPLEMENTED YET
49
50 // this is not required, we have no self evals in the test context,
51 // getReachedSkillLevel is a "test evaluation"
52 //$gui->setGapAnalysisSelfEvalLevels($this->getReachedSkillLevels());
53
54 $gui->setProfileId($this->getSelectedSkillProfile());
55
56 $html = $gui->getGapAnalysisHTML($this->getUsrId(), $this->getAvailableSkills());
57
58 return $html;
59 }
60
62 {
63 $this->availableSkills = $availableSkills;
64 }
65
66 public function getAvailableSkills()
67 {
69 }
70
72 {
73 $this->selectedSkillProfile = $selectedSkillProfile;
74 }
75
76 public function getSelectedSkillProfile()
77 {
79 }
80
82 {
83 $this->reachedSkillLevels = $reachedSkillLevels;
84 }
85
86 public function getReachedSkillLevels()
87 {
89 }
90
91 public function setUsrId($usrId)
92 {
93 $this->usrId = $usrId;
94 }
95
96 public function getUsrId()
97 {
98 return $this->usrId;
99 }
100
104 public function getTestId()
105 {
106 return $this->testId;
107 }
108}
An exception for terminatinating execution or to throw for unit testing.
language handling
Personal skills GUI class.
setReachedSkillLevels($reachedSkillLevels)
__construct(ilLanguage $lng, $testId)
setSelectedSkillProfile($selectedSkillProfile)