5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
21 $a_base_skill_id, $a_tref_id)
25 $this->
object = $a_survey;
26 $this->base_skill_id = $a_base_skill_id;
27 $this->tref_id = $a_tref_id;
33 $lng->txt(
"survey_skill_nr_q").
": ".count($this->question_ids).
34 ", ".$lng->txt(
"survey_skill_max_scale_points").
": ".$this->scale_sum);
36 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholds.php");
38 $this->thresholds = $this->skill_thres->getThresholds();
42 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
47 $this->
addColumn($this->lng->txt(
"survey_skill_level"));
48 $this->
addColumn($this->lng->txt(
"survey_up_to_x_points"));
50 $this->
setRowTemplate(
"tpl.svy_skill_threshold_row.html",
"Modules/Survey");
54 $this->
setFormAction($ilCtrl->getFormAction($this->parent_obj));
65 include_once(
"./Modules/SurveyQuestionPool/classes/class.SurveyQuestion.php");
66 include_once(
"./Modules/Survey/classes/class.ilSurveySkill.php");
68 $this->question_ids = $ssk->getQuestionsForSkill($this->base_skill_id,
70 $this->scale_sum = $ssk->determineMaxScale($this->base_skill_id,
83 include_once(
"./Services/Skill/classes/class.ilBasicSkill.php");
85 return $bs->getLevelData();
96 $this->tpl->setVariable(
"LEVEL", $a_set[
"title"]);
97 $this->tpl->setVariable(
"LEVEL_ID", $a_set[
"id"]);
99 $tr = $this->thresholds[$a_set[
"id"]][$this->tref_id];
102 $this->tpl->setVariable(
"THRESHOLD", (
int) $tr);
106 $this->tpl->setVariable(
"THRESHOLD",
"");