ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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
4require_once 'Services/Skill/classes/class.ilPersonalSkillsGUI.php';
5
13{
17 private $lng;
18
22 private $testOBJ;
23
25
27
29
30 private $usrId;
31
33 {
34 $this->lng = $lng;
35 $this->testOBJ = $testOBJ;
36 }
37
38 public function getHTML()
39 {
40 $gui = new ilPersonalSkillsGUI();
41
42 $gui->setGapAnalysisActualStatusModePerObject($this->testOBJ->getId(), $this->lng->txt('tst_test_result'));
43
44 $gui->setProfileId($this->getSelectedSkillProfile());
45
46 $html = $gui->getGapAnalysisHTML($this->getUsrId(), $this->getAvailableSkills());
47
48 return $html;
49 }
50
52 {
53 $this->availableSkills = $availableSkills;
54 }
55
56 public function getAvailableSkills()
57 {
59 }
60
62 {
63 $this->selectedSkillProfile = $selectedSkillProfile;
64 }
65
66 public function getSelectedSkillProfile()
67 {
69 }
70
72 {
73 $this->reachedSkillLevels = $reachedSkillLevels;
74 }
75
76 public function getReachedSkillLevels()
77 {
79 }
80
81 public function setUsrId($usrId)
82 {
83 $this->usrId = $usrId;
84 }
85
86 public function getUsrId()
87 {
88 return $this->usrId;
89 }
90
91}
language handling
Personal skills GUI class.
setReachedSkillLevels($reachedSkillLevels)
__construct(ilLanguage $lng, ilObjTest $testOBJ)
setSelectedSkillProfile($selectedSkillProfile)