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;
64 $cmd = $ilCtrl->getCmd();
66 $ilCtrl->saveParameter($this, array(
"sk_id",
"tref_id"));
68 if (in_array($cmd, array(
"listCompetences",
"listSkillThresholds",
"selectSkill",
85 $tpl->setContent($tab->getHTML());
100 $ilTabs->clearTargets();
101 $ilTabs->setBackTarget(
102 $lng->txt(
"svy_back"),
103 $ilCtrl->getLinkTarget($this,
"listCompetences")
108 "listSkillThresholds",
110 (
int)
$_GET[
"sk_id"],
111 (
int) $_GET[
"tref_id"]
113 $tpl->setContent($tab->getHTML());
126 $o = explode(
":",
$_POST[
"skill"]);
127 $ilCtrl->setParameter($this,
"sk_id", (
int) $o[0]);
128 $ilCtrl->setParameter($this,
"tref_id", (
int) $o[1]);
129 $ilCtrl->redirect($this,
"listSkillThresholds");
145 if (is_array(
$_POST[
"threshold"])) {
146 foreach (
$_POST[
"threshold"] as $l => $t) {
147 $thres->writeThreshold(
148 (
int)
$_GET[
"sk_id"],
149 (
int) $_GET[
"tref_id"],
154 ilUtil::sendSuccess(
$lng->txt(
"msg_obj_modified"), 1);
157 $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.