5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 function __construct($a_parent_obj, $a_parent_cmd, $a_skill_id, $a_tref_id,
25 $this->level_id = $a_level_id;
27 include_once(
"./Services/Skill/classes/class.ilSkillResources.php");
31 $this->
setData($this->resources->getResourcesOfLevel($a_level_id));
32 $this->
setTitle($lng->txt(
"resources"));
35 $this->
addColumn($this->lng->txt(
"type"),
"",
"1px");
36 $this->
addColumn($this->lng->txt(
"title"),
"");
37 $this->
addColumn($this->lng->txt(
"path"));
40 $this->
setRowTemplate(
"tpl.level_resources_row.html",
"Services/Skill");
42 $this->
addMultiCommand(
"confirmLevelResourcesRemoval", $lng->txt(
"remove"));
58 $this->tpl->setVariable(
"ID",
$ref_id);
61 $path_items = array();
64 if ($p[
"type"] !=
"root" && $p[
"child"] !=
$ref_id)
66 $path_items[] = $p[
"title"];
69 $this->tpl->setVariable(
"PATH", implode($path_items,
" > "));