Survey skill determination GUI class.
More...
◆ __construct()
ilSurveySkillDeterminationGUI::__construct |
( |
ilObjSurvey |
$a_survey | ) |
|
◆ executeCommand()
ilSurveySkillDeterminationGUI::executeCommand |
( |
| ) |
|
◆ listSkillChanges()
ilSurveySkillDeterminationGUI::listSkillChanges |
( |
| ) |
|
List skill changes.
Definition at line 45 of file class.ilSurveySkillDeterminationGUI.php.
References $ilCtrl, $lng, and $tpl.
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());
TableGUI class for survey skill changes.
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
◆ writeSkills()
ilSurveySkillDeterminationGUI::writeSkills |
( |
| ) |
|
Write skills.
- Parameters
-
Definition at line 79 of file class.ilSurveySkillDeterminationGUI.php.
References $ilCtrl, $lng, ilBasicSkill\ACHIEVED, ilUtil\sendSuccess(), and ilBasicSkill\writeUserSkillLevelStatus().
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.
static writeUserSkillLevelStatus($a_level_id, $a_user_id, $a_trigger_ref_id, $a_tref_id=0, $a_status=ilBasicSkill::ACHIEVED, $a_force=false)
Write skill level status.
Skill/Competence handling in surveys.
special template class to simplify handling of ITX/PEAR
The documentation for this class was generated from the following file: