4 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
36 $this->lng = $DIC->language();
37 $this->ctrl = $DIC->ctrl();
38 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
40 parent::__construct(
"skill_exp", $a_parent_obj, $a_parent_cmd,
$tree);
69 $childs = parent::getChildsOfNode($a_parent_id);
71 include_once(
"./Services/Skill/classes/class.ilSkillTreeNode.php");
73 $this->parent[$c[
"child"]] = $c[
"parent"];
74 if ($this->draft[$c[
"parent"]]) {
75 $this->draft[$c[
"child"]] =
true;
97 if ($a_node[
"type"] ==
"skrt") {
100 if ($a_node[
"type"] ==
"sktr") {
101 include_once(
"./Services/Skill/classes/class.ilSkillTemplateReference.php");
122 if ($a_node[
"type"] ==
"skrt") {
125 if (in_array($a_node[
"type"],
array(
"skll",
"scat",
"sctr",
"sktr"))) {
130 $this->draft[$a_node[
"child"]]
148 if ($a_node[
"child"] ==
$_GET[
"obj_id"] ||
149 (
$_GET[
"obj_id"] ==
"" && $a_node[
"type"] ==
"skrt")) {
165 switch ($a_node[
"type"]) {
168 $ilCtrl->setParameterByClass(
"ilskillrootgui",
"obj_id", $a_node[
"child"]);
169 $ret =
$ilCtrl->getLinkTargetByClass(
"ilskillrootgui",
"listTemplates");
170 $ilCtrl->setParameterByClass(
"ilskillrootgui",
"obj_id",
$_GET[
"obj_id"]);
176 $ilCtrl->setParameterByClass(
"ilbasicskilltemplategui",
"obj_id", $a_node[
"child"]);
177 $ret =
$ilCtrl->getLinkTargetByClass(
"ilbasicskilltemplategui",
"edit");
178 $ilCtrl->setParameterByClass(
"ilbasicskilltemplategui",
"obj_id",
$_GET[
"obj_id"]);
184 $ilCtrl->setParameterByClass(
"ilskilltemplatecategorygui",
"obj_id", $a_node[
"child"]);
185 $ret =
$ilCtrl->getLinkTargetByClass(
"ilskilltemplatecategorygui",
"listItems");
186 $ilCtrl->setParameterByClass(
"ilskilltemplatecategorygui",
"obj_id",
$_GET[
"obj_id"]);
getRootNode()
Get root node.
static _lookupSelfEvaluation($a_obj_id)
Lookup self evaluation.
static getIconPath($a_obj_id, $a_type, $a_size="", $a_status=0)
Get icon path.
setSkipRootNode($a_val)
Set skip root node.
Explorer class that works on tree objects (Services/Tree)
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
getChildsOfNode($a_parent_id)
Get childs of node.
setTypeWhiteList($a_val)
Set type white list.
isNodeHighlighted($a_node)
Is node highlighted?
getNodeHref($a_node)
Get href for node.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static _lookupTemplateId($a_obj_id)
Lookup template ID.
Create styles array
The data for the language used.
static _lookupTitle($a_obj_id, $a_tref_id=0)
Lookup Title.
getNodeContent($a_node)
Get node content.
Explorer class that works on tree objects (Services/Tree)
setOrderField($a_val, $a_numeric=false)
Set order field.
getNodeIcon($a_node)
Get node content.
static _lookupStatus($a_obj_id)
Lookup Status.