ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
require_once
'Services/Skill/classes/class.ilPersonalSkillsGUI.php'
;
5
12
class
ilTestPersonalSkillsGUI
13
{
17
private
$lng
;
18
22
private
$testOBJ
;
23
24
private
$availableSkills
;
25
26
private
$selectedSkillProfile
;
27
28
private
$reachedSkillLevels
;
29
30
private
$usrId
;
31
32
public
function
__construct
(
ilLanguage
$lng
,
ilObjTest
$testOBJ
)
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
51
public
function
setAvailableSkills
(
$availableSkills
)
52
{
53
$this->availableSkills =
$availableSkills
;
54
}
55
56
public
function
getAvailableSkills
()
57
{
58
return
$this->availableSkills
;
59
}
60
61
public
function
setSelectedSkillProfile
(
$selectedSkillProfile
)
62
{
63
$this->selectedSkillProfile =
$selectedSkillProfile
;
64
}
65
66
public
function
getSelectedSkillProfile
()
67
{
68
return
$this->selectedSkillProfile
;
69
}
70
71
public
function
setReachedSkillLevels
(
$reachedSkillLevels
)
72
{
73
$this->reachedSkillLevels =
$reachedSkillLevels
;
74
}
75
76
public
function
getReachedSkillLevels
()
77
{
78
return
$this->reachedSkillLevels
;
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
}
Modules
Test
classes
class.ilTestPersonalSkillsGUI.php
Generated on Wed Apr 27 2016 21:01:17 for ILIAS by
1.8.1.2 (using
Doxyfile
)