22 $this->survey = $a_survey;
32 $cmd = $ilCtrl->getCmd(
"listSkillChanges");
36 if (in_array(
$cmd,
array(
"listSkillChanges",
"writeSkills")))
49 include_once(
"./Modules/Survey/classes/class.ilSurveySkillChangesTableGUI.php");
54 $apps = $this->survey->getAppraiseesData();
55 $ctpl =
new ilTemplate(
"tpl.svy_skill_list_changes.html",
true,
true,
"Modules/Survey");
56 foreach ($apps as $app)
61 $ctpl->setCurrentBlock(
"appraisee");
62 $ctpl->setVariable(
"LASTNAME", $app[
"lastname"]);
63 $ctpl->setVariable(
"FIRSTNAME", $app[
"firstname"]);
65 $ctpl->setVariable(
"CHANGES_TABLE", $changes_table->getHTML());
67 $ctpl->parseCurrentBlock();
70 $tpl->setContent($ctpl->get());
83 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
85 $apps = $this->survey->getAppraiseesData();
86 $ctpl =
new ilTemplate(
"tpl.svy_skill_list_changes.html",
true,
true,
"Modules/Survey");
87 foreach ($apps as $app)
89 $new_levels = $sskill->determineSkillLevelsForAppraisee($app[
"user_id"]);
90 foreach ($new_levels as $nl)
92 if ($nl[
"new_level_id"] > 0)
100 $ilCtrl->redirect($this,
"listSkillChanges");
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
TableGUI class for survey skill changes.
executeCommand()
Execute command.
Skill/Competence handling in surveys.
special template class to simplify handling of ITX/PEAR
writeSkills()
Write skills.
static writeUserSkillLevelStatus($a_level_id, $a_user_id, $a_trigger_ref_id, $a_tref_id=0, $a_status=ilBasicSkill::ACHIEVED, $a_force=false, $a_self_eval=false, $a_unique_identifier="")
Write skill level status.
Create styles array
The data for the language used.
listSkillChanges()
List skill changes.
__construct(ilObjSurvey $a_survey)
Constructor.
Survey skill determination GUI class.