/**
  * output tabs
  */
 function setTabs($a_tab)
 {
     global $ilTabs, $ilCtrl, $tpl, $lng;
     $ilTabs->clearTargets();
     if (is_object($this->node_object)) {
         // content
         $ilTabs->addTab("content", $lng->txt("content"), $ilCtrl->getLinkTarget($this, 'listItems'));
         // properties
         $ilTabs->addTab("properties", $lng->txt("settings"), $ilCtrl->getLinkTarget($this, 'editProperties'));
         // back link
         $ilCtrl->setParameterByClass("ilskillrootgui", "obj_id", $this->node_object->skill_tree->getRootId());
         $ilTabs->setBackTarget($lng->txt("obj_skmg"), $ilCtrl->getLinkTargetByClass("ilskillrootgui", "listSkills"));
         $ilCtrl->setParameterByClass("ilskillrootgui", "obj_id", $_GET["obj_id"]);
         $tid = ilSkillTemplateReference::_lookupTemplateId($this->node_object->getId());
         $add = " (" . ilSkillTreeNode::_lookupTitle($tid) . ")";
         parent::setTitleIcon();
         $tpl->setTitle($lng->txt("skmg_sktr") . ": " . $this->node_object->getTitle() . $add);
         $this->setSkillNodeDescription();
         $ilTabs->activateTab($a_tab);
     }
 }
 /**
  * Edit properties
  */
 function editProperties()
 {
     $this->setTabs("properties");
     parent::editProperties();
 }
 /**
  * Constructor
  */
 function __construct($a_node_id = 0)
 {
     global $ilCtrl;
     $ilCtrl->saveParameter($this, "obj_id");
     parent::ilSkillTreeNodeGUI($a_node_id);
 }
 /**
  * Redirect to parent (identified by current obj_id)
  */
 function redirectToParent()
 {
     global $ilCtrl;
     $t = ilSkillTreeNode::_lookupType((int) $_GET["obj_id"]);
     switch ($t) {
         case "skrt":
             $ilCtrl->setParameterByClass("ilskillrootgui", "obj_id", (int) $_GET["obj_id"]);
             $ilCtrl->redirectByClass("ilskillrootgui", "listSkills");
             break;
     }
     parent::redirectToParent();
 }