44 $this->ctrl = $DIC->ctrl();
45 $this->tpl = $DIC[
"tpl"];
46 $this->toolbar = $DIC->toolbar();
47 $this->lng = $DIC->language();
48 $this->survey = $a_survey;
58 $cmd =
$ilCtrl->getCmd(
"listSkillChanges");
62 if (in_array($cmd,
array(
"listSkillChanges",
"writeSkills"))) {
77 include_once(
"./Modules/Survey/classes/class.ilSurveySkillChangesTableGUI.php");
82 $apps = $this->survey->getAppraiseesData();
83 $ctpl =
new ilTemplate(
"tpl.svy_skill_list_changes.html",
true,
true,
"Modules/Survey");
84 foreach ($apps as $app) {
92 $ctpl->setCurrentBlock(
"appraisee");
93 $ctpl->setVariable(
"LASTNAME", $app[
"lastname"]);
94 $ctpl->setVariable(
"FIRSTNAME", $app[
"firstname"]);
96 $ctpl->setVariable(
"CHANGES_TABLE", $changes_table->getHTML());
98 $ctpl->parseCurrentBlock();
101 $tpl->setContent($ctpl->get());
115 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
117 $apps = $this->survey->getAppraiseesData();
118 $ctpl =
new ilTemplate(
"tpl.svy_skill_list_changes.html",
true,
true,
"Modules/Survey");
119 foreach ($apps as $app) {
120 $new_levels = $sskill->determineSkillLevelsForAppraisee($app[
"user_id"]);
121 foreach ($new_levels as $nl) {
122 if ($nl[
"new_level_id"] > 0) {
126 $this->survey->getRefId(),
134 $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.
Create styles array
The data for the language used.
listSkillChanges()
List skill changes.
__construct(ilObjSurvey $a_survey)
Constructor.
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.
Survey skill determination GUI class.