ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTestPersonalSkillsGUI Class Reference
+ Collaboration diagram for ilTestPersonalSkillsGUI:

Public Member Functions

 __construct (ilLanguage $lng, ilObjTest $testOBJ)
 getHTML ()
 setAvailableSkills ($availableSkills)
 getAvailableSkills ()
 setSelectedSkillProfile ($selectedSkillProfile)
 getSelectedSkillProfile ()
 setReachedSkillLevels ($reachedSkillLevels)
 getReachedSkillLevels ()
 setUsrId ($usrId)
 getUsrId ()

Private Attributes

 $lng
 $testOBJ
 $availableSkills
 $selectedSkillProfile
 $reachedSkillLevels
 $usrId

Detailed Description

Definition at line 12 of file class.ilTestPersonalSkillsGUI.php.

Constructor & Destructor Documentation

ilTestPersonalSkillsGUI::__construct ( ilLanguage  $lng,
ilObjTest  $testOBJ 
)

Definition at line 32 of file class.ilTestPersonalSkillsGUI.php.

References $lng, and $testOBJ.

{
$this->lng = $lng;
$this->testOBJ = $testOBJ;
}

Member Function Documentation

ilTestPersonalSkillsGUI::getAvailableSkills ( )

Definition at line 56 of file class.ilTestPersonalSkillsGUI.php.

References $availableSkills.

Referenced by getHTML().

+ Here is the caller graph for this function:

ilTestPersonalSkillsGUI::getHTML ( )

Definition at line 38 of file class.ilTestPersonalSkillsGUI.php.

References getAvailableSkills(), getSelectedSkillProfile(), and getUsrId().

{
$gui = new ilPersonalSkillsGUI();
$gui->setGapAnalysisActualStatusModePerObject($this->testOBJ->getId(), $this->lng->txt('tst_test_result'));
$gui->setProfileId($this->getSelectedSkillProfile());
$html = $gui->getGapAnalysisHTML($this->getUsrId(), $this->getAvailableSkills());
return $html;
}

+ Here is the call graph for this function:

ilTestPersonalSkillsGUI::getReachedSkillLevels ( )

Definition at line 76 of file class.ilTestPersonalSkillsGUI.php.

References $reachedSkillLevels.

ilTestPersonalSkillsGUI::getSelectedSkillProfile ( )

Definition at line 66 of file class.ilTestPersonalSkillsGUI.php.

References $selectedSkillProfile.

Referenced by getHTML().

+ Here is the caller graph for this function:

ilTestPersonalSkillsGUI::getUsrId ( )

Definition at line 86 of file class.ilTestPersonalSkillsGUI.php.

References $usrId.

Referenced by getHTML().

{
return $this->usrId;
}

+ Here is the caller graph for this function:

ilTestPersonalSkillsGUI::setAvailableSkills (   $availableSkills)

Definition at line 51 of file class.ilTestPersonalSkillsGUI.php.

References $availableSkills.

{
$this->availableSkills = $availableSkills;
}
ilTestPersonalSkillsGUI::setReachedSkillLevels (   $reachedSkillLevels)

Definition at line 71 of file class.ilTestPersonalSkillsGUI.php.

References $reachedSkillLevels.

{
$this->reachedSkillLevels = $reachedSkillLevels;
}
ilTestPersonalSkillsGUI::setSelectedSkillProfile (   $selectedSkillProfile)

Definition at line 61 of file class.ilTestPersonalSkillsGUI.php.

References $selectedSkillProfile.

{
$this->selectedSkillProfile = $selectedSkillProfile;
}
ilTestPersonalSkillsGUI::setUsrId (   $usrId)

Definition at line 81 of file class.ilTestPersonalSkillsGUI.php.

References $usrId.

{
$this->usrId = $usrId;
}

Field Documentation

ilTestPersonalSkillsGUI::$availableSkills
private

Definition at line 24 of file class.ilTestPersonalSkillsGUI.php.

Referenced by getAvailableSkills(), and setAvailableSkills().

ilTestPersonalSkillsGUI::$lng
private

Definition at line 17 of file class.ilTestPersonalSkillsGUI.php.

Referenced by __construct().

ilTestPersonalSkillsGUI::$reachedSkillLevels
private
ilTestPersonalSkillsGUI::$selectedSkillProfile
private
ilTestPersonalSkillsGUI::$testOBJ
private

Definition at line 22 of file class.ilTestPersonalSkillsGUI.php.

Referenced by __construct().

ilTestPersonalSkillsGUI::$usrId
private

Definition at line 30 of file class.ilTestPersonalSkillsGUI.php.

Referenced by getUsrId(), and setUsrId().


The documentation for this class was generated from the following file: