4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_parent_cmd, $a_sn_id, $a_se = null)
24 $this->sn_id = $a_sn_id;
28 $this->levels = $this->se->getLevels();
32 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
34 $path = $stree->getPathFull($this->sn_id);
38 if ($p[
"type"] !=
"skrt")
50 $this->
addColumn($this->lng->txt(
"skmg_your_self_evaluation"));
51 $this->
addColumn($this->lng->txt(
"skmg_skill_level"));
71 include_once(
"./Services/Skill/classes/class.ilBasicSkill.php");
73 $levels = array(array(
"id" => 0));
74 foreach ($this->skill->getLevelData() as $k => $v)
90 if ($a_set[
"id"] == 0)
92 $this->tpl->setVariable(
"LEVEL_ID", $a_set[
"id"]);
93 $this->tpl->setVariable(
"SKILL_ID", $this->sn_id);
94 $this->tpl->setVariable(
"TXT_SKILL", $lng->txt(
"skmg_no_skills"));
98 $this->tpl->setVariable(
"LEVEL_ID", $a_set[
"id"]);
99 $this->tpl->setVariable(
"SKILL_ID", $this->sn_id);
100 $this->tpl->setVariable(
"TXT_SKILL", $a_set[
"title"].
": ".$a_set[
"description"]);
103 if ($this->se != null)
105 if ($this->levels[$this->sn_id] == $a_set[
"id"])
107 $this->tpl->setVariable(
"CHECKED",
" checked='checked' ");
112 if ($a_set[
"id"] == 0)
114 $this->tpl->setVariable(
"CHECKED",
" checked='checked' ");