5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 $a_mode = self::MODE_SCAT)
28 $ilCtrl->setParameter($a_parent_obj,
"tmpmode", $a_mode);
30 $this->mode = $a_mode;
31 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
33 $this->obj_id = $a_obj_id;
37 if ($this->mode == self::MODE_SCAT)
39 $childs = $this->skill_tree->getChildsByTypeFilter($a_obj_id,
40 array(
"skrt",
"skll",
"scat",
"sktr"));
44 else if ($this->mode == self::MODE_SCTP)
46 $childs = $this->skill_tree->getChildsByTypeFilter($a_obj_id,
47 array(
"skrt",
"sktp",
"sctp"));
52 if ($this->obj_id != $this->skill_tree->readRootId())
56 $this->
setTitle($lng->txt(
"skmg_items"));
58 $this->
addColumn($this->lng->txt(
""),
"",
"1px",
true);
59 $this->
addColumn($this->lng->txt(
"type"),
"",
"1px");
60 $this->
addColumn($this->lng->txt(
"skmg_order"),
"",
"1px");
61 $this->
addColumn($this->lng->txt(
"title"));
80 switch($a_set[
"type"])
84 $ilCtrl->setParameterByClass(
"ilskillcategorygui",
"obj_id", $a_set[
"child"]);
85 $ret = $ilCtrl->getLinkTargetByClass(
"ilskillcategorygui",
"listItems");
86 $ilCtrl->setParameterByClass(
"ilskillcategorygui",
"obj_id",
$_GET[
"obj_id"]);
91 $ilCtrl->setParameterByClass(
"ilskilltemplatereferencegui",
"obj_id", $a_set[
"child"]);
92 $ret = $ilCtrl->getLinkTargetByClass(
"ilskilltemplatereferencegui",
"listItems");
93 $ilCtrl->setParameterByClass(
"ilskilltemplatereferencegui",
"obj_id",
$_GET[
"obj_id"]);
98 $ilCtrl->setParameterByClass(
"ilbasicskillgui",
"obj_id", $a_set[
"child"]);
99 $ret = $ilCtrl->getLinkTargetByClass(
"ilbasicskillgui",
"edit");
100 $ilCtrl->setParameterByClass(
"ilbasicskillgui",
"obj_id",
$_GET[
"obj_id"]);
107 $ilCtrl->setParameterByClass(
"ilbasicskilltemplategui",
"obj_id", $a_set[
"child"]);
108 $ret = $ilCtrl->getLinkTargetByClass(
"ilbasicskilltemplategui",
"edit");
109 $ilCtrl->setParameterByClass(
"ilbasicskilltemplategui",
"obj_id",
$_GET[
"obj_id"]);
114 $ilCtrl->setParameterByClass(
"ilskilltemplatecategorygui",
"obj_id", $a_set[
"child"]);
115 $ret = $ilCtrl->getLinkTargetByClass(
"ilskilltemplatecategorygui",
"listItems");
116 $ilCtrl->setParameterByClass(
"ilskilltemplatecategorygui",
"obj_id",
$_GET[
"obj_id"]);
120 $this->tpl->setVariable(
"HREF_TITLE",
$ret);
122 $this->tpl->setVariable(
"TITLE", $a_set[
"title"]);
123 $this->tpl->setVariable(
"OBJ_ID", $a_set[
"child"]);
124 $this->tpl->setVariable(
"ORDER_NR", $a_set[
"order_nr"]);