/**
  * List items
  *
  * @param
  * @return
  */
 function listItems()
 {
     global $tpl;
     self::addCreationButtons();
     $this->setTabs("content");
     include_once "./Services/Skill/classes/class.ilSkillCatTableGUI.php";
     $table = new ilSkillCatTableGUI($this, "listItems", (int) $_GET["obj_id"], ilSkillCatTableGUI::MODE_SCTP);
     $tpl->setContent($table->getHTML());
 }
 /**
  * List skills
  */
 function listSkills()
 {
     global $tpl, $ilToolbar, $ilCtrl, $lng, $ilTabs;
     $skmg_set = new ilSetting("skmg");
     $enable_skmg = $skmg_set->get("enable_skmg");
     if (!$enable_skmg) {
         ilUtil::sendInfo($lng->txt("skmg_skill_management_deactivated"));
     }
     $this->getParentGUI()->showTree(false, $this, "listSkills");
     $ilTabs->activateTab("skills");
     include_once "./Services/Skill/classes/class.ilSkillCategoryGUI.php";
     ilSkillCategoryGUI::addCreationButtons();
     include_once "./Services/Skill/classes/class.ilSkillCatTableGUI.php";
     $table = new ilSkillCatTableGUI($this, "listSkills", (int) $_GET["obj_id"], ilSkillCatTableGUI::MODE_SCAT);
     $tpl->setContent($table->getHTML());
 }
 /**
  * List items
  */
 function listItems()
 {
     global $tpl;
     $this->setTabs("content");
     $sk_id = $this->node_object->getSkillTemplateId();
     $obj_type = ilSkillTreeNode::_lookupType($sk_id);
     if ($obj_type == "sctp") {
         include_once "./Services/Skill/classes/class.ilSkillCatTableGUI.php";
         $table = new ilSkillCatTableGUI($this, "listItems", (int) $sk_id, ilSkillCatTableGUI::MODE_SCTP, $this->node_object->getId());
         $tpl->setContent($table->getHTML());
     } else {
         if ($obj_type == "sktp") {
             include_once "./Services/Skill/classes/class.ilSkillLevelTableGUI.php";
             $table = new ilSkillLevelTableGUI((int) $sk_id, $this, "edit", $this->node_object->getId());
             $tpl->setContent($table->getHTML());
         }
     }
 }