4include_once(
"./Services/Skill/classes/class.ilVirtualSkillTreeExplorerGUI.php");
 
   24    public function __construct($a_parent_obj, $a_parent_cmd, $a_select_gui, $a_select_cmd, $a_select_par = 
"selected_skill")
 
   28        $this->ctrl = 
$DIC->ctrl();
 
   29        parent::__construct(
"skill_sel", $a_parent_obj, $a_parent_cmd);
 
   30        $this->select_gui = (is_object($a_select_gui))
 
   31            ? strtolower(get_class($a_select_gui))
 
   33        $this->select_cmd = $a_select_cmd;
 
   34        $this->select_par = $a_select_par;
 
   57                $skills[] = $this->vtree->getCSkillIdForVTreeId($p);
 
   76        $id_parts = explode(
":", $a_node[
"id"]);
 
   77        if ($id_parts[1] == 0) {
 
   79            $skill_id = $a_node[
"id"];
 
   82            $skill_id = $id_parts[1] . 
":" . $id_parts[0];
 
   85        $ilCtrl->setParameterByClass($this->select_gui, $this->select_par, $skill_id);
 
   86        $ret = 
$ilCtrl->getLinkTargetByClass($this->select_gui, $this->select_cmd);
 
   87        $ilCtrl->setParameterByClass($this->select_gui, $this->select_par, 
"");
 
  110        if (in_array($a_node[
"type"], array(
"skll", 
"sktp"))) {
 
An exception for terminatinating execution or to throw for unit testing.
setNodeSelected($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour)
setSkipRootNode($a_val)
Set skip root node.
Explorer class that works on tree objects (Services/Tree)
isNodeSelectable($a_node)
Is node selectable?
getSelectedSkills()
Get selected skills (from POST)
setSkillSelected($a_id)
Set skill to be opened.
__construct($a_parent_obj, $a_parent_cmd, $a_select_gui, $a_select_cmd, $a_select_par="selected_skill")
Constructor.
getNodeHref($a_node)
Get href for node.
isNodeClickable($a_node)
Is clickable.
static _lookupType($a_obj_id)
Lookup Type.
Virtual skill tree explorer.