5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
6 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
7 include_once(
"./Services/Skill/classes/class.ilBasicSkill.php");
22 public function __construct($a_parent_obj, $a_parent_cmd, $a_survey, $a_appraisee)
26 $this->ctrl = $DIC->ctrl();
27 $this->lng = $DIC->language();
29 $lng = $DIC->language();
31 $this->survey = $a_survey;
32 $this->appraisee = $a_appraisee;
34 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
35 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholds.php");
39 parent::__construct($a_parent_obj, $a_parent_cmd);
46 $this->
addColumn($this->lng->txt(
"survey_skill"));
47 $this->
addColumn($this->lng->txt(
"survey_sum_of_means"));
48 $this->
addColumn($this->lng->txt(
"survey_reached_level"));
51 $this->
setRowTemplate(
"tpl.survey_skill_change.html",
"Modules/Survey");
66 $new_levels = $sskill->determineSkillLevelsForAppraisee($this->appraisee[
"user_id"]);
77 $this->tpl->setVariable(
"SKILL", $a_set[
"skill_title"]);
78 $this->tpl->setVariable(
"MEAN_SUM", $a_set[
"mean_sum"]);
79 $this->tpl->setVariable(
"NEW_LEVEL", $a_set[
"new_level"]);
TableGUI class for survey skill changes.
__construct($a_parent_obj, $a_parent_cmd, $a_survey, $a_appraisee)
Constructor.
Skill/Competence handling in surveys.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill table row.
Skill tresholds for 360 surveys.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
getSkillLevelsForAppraisee()
Get Skills.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setLimit($a_limit=0, $a_default_limit=0)