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");