22 $this->survey = $a_survey;
32 $cmd = $ilCtrl->getCmd();
34 $ilCtrl->saveParameter($this,
array(
"sk_id",
"tref_id"));
36 if (in_array(
$cmd,
array(
"listCompetences",
"listSkillThresholds",
"selectSkill",
53 include_once(
"./Modules/Survey/classes/class.ilSurveySkillTableGUI.php");
55 $tpl->setContent(
$tab->getHTML());
66 $ilTabs->clearTargets();
67 $ilTabs->setBackTarget($lng->txt(
"svy_back"),
68 $ilCtrl->getLinkTarget($this,
"listCompetences"));
70 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholdsTableGUI.php");
72 $this->survey, (
int)
$_GET[
"sk_id"], (
int) $_GET[
"tref_id"]);
73 $tpl->setContent(
$tab->getHTML());
86 $o = explode(
":",
$_POST[
"skill"]);
87 $ilCtrl->setParameter($this,
"sk_id", (
int) $o[0]);
88 $ilCtrl->setParameter($this,
"tref_id", (
int) $o[1]);
89 $ilCtrl->redirect($this,
"listSkillThresholds");
102 include_once(
"./Modules/Survey/classes/class.ilSurveySkillThresholds.php");
105 if (is_array(
$_POST[
"threshold"]))
109 $thres->writeThreshold((
int)
$_GET[
"sk_id"],
110 (
int) $_GET[
"tref_id"], (
int)
$l, (
int)
$t);
115 $ilCtrl->redirect($this,
"listSkillThresholds");
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
TableGUI class for skill list in survey.
listSkillThresholds()
List skill thresholds.
Skill tresholds for 360 surveys.
listCompetences()
List competences.
selectSkill()
Select skill.
Create styles array
The data for the language used.
executeCommand()
Execute command.
__construct(ilObjSurvey $a_survey)
Constructor.
TableGUI class for competence thresholds.
Survey skill thresholds GUI class.
saveThresholds()
Save Thresholds.