5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_parent_cmd, $a_profile)
24 include_once(
"./Services/Skill/classes/class.ilBasicSkill.php");
25 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
28 $this->profile = $a_profile;
31 $this->
setData($this->profile->getSkillLevels());
32 $this->
setTitle($lng->txt(
"skmg_skill_levels"));
35 $this->
addColumn($this->lng->txt(
"skmg_skill"));
36 $this->
addColumn($this->lng->txt(
"skmg_level"));
39 $this->
setRowTemplate(
"tpl.skill_profile_level_row.html",
"Services/Skill");
41 $this->
addMultiCommand(
"confirmLevelAssignmentRemoval", $lng->txt(
"skmg_remove_levels"));
50 $path = $this->tree->getSkillTreePath($a_set[
"base_skill_id"],
52 $path_items = array();
55 if ($p[
"type"] !=
"skrt")
57 $path_items[] = $p[
"title"];
60 $this->tpl->setVariable(
"SKILL_TITLE",
61 implode($path_items,
" > "));
65 $this->tpl->setVariable(
"ID",
66 ((
int) $a_set[
"base_skill_id"]).
":".((
int) $a_set[
"tref_id"]).
":".((
int) $a_set[
"level_id"]));