49 $this->ctrl = $DIC->ctrl();
50 $this->tpl = $DIC[
"tpl"];
51 $this->toolbar = $DIC->toolbar();
52 $this->lng = $DIC->language();
53 $this->tabs = $DIC->tabs();
54 $this->survey = $a_survey;
66 $ilCtrl->saveParameter($this, array(
"sk_id",
"tref_id"));
68 if (in_array($cmd, array(
"listCompetences",
"listSkillThresholds",
"selectSkill",
84 include_once(
"./Modules/Survey/classes/class.ilSurveySkillTableGUI.php");
101 $ilTabs->clearTargets();
102 $ilTabs->setBackTarget(
103 $lng->txt(
"svy_back"),
104 $ilCtrl->getLinkTarget($this,
"listCompetences")
107 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholdsTableGUI.php");
110 "listSkillThresholds",
112 (
int)
$_GET[
"sk_id"],
113 (
int) $_GET[
"tref_id"]
128 $o = explode(
":",
$_POST[
"skill"]);
129 $ilCtrl->setParameter($this,
"sk_id", (
int) $o[0]);
130 $ilCtrl->setParameter($this,
"tref_id", (
int) $o[1]);
131 $ilCtrl->redirect($this,
"listSkillThresholds");
145 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholds.php");
148 if (is_array(
$_POST[
"threshold"])) {
150 $thres->writeThreshold(
151 (
int)
$_GET[
"sk_id"],
152 (
int) $_GET[
"tref_id"],
157 ilUtil::sendSuccess(
$lng->txt(
"msg_obj_modified"), 1);
160 $ilCtrl->redirect($this,
"listSkillThresholds");
TableGUI class for skill list in survey.
listSkillThresholds()
List skill thresholds.
Skill tresholds for 360 surveys.
listCompetences()
List competences.
selectSkill()
Select skill.
executeCommand()
Execute command.
__construct(ilObjSurvey $a_survey)
Constructor.
TableGUI class for competence thresholds.
Survey skill thresholds GUI class.
saveThresholds()
Save Thresholds.