4 include_once(
"./Services/Skill/classes/class.ilVirtualSkillTreeExplorerGUI.php");
19 public function __construct($a_parent_obj, $a_parent_cmd, $a_select_gui, $a_select_cmd, $a_select_par =
"selected_skill")
21 parent::__construct(
"skill_sel", $a_parent_obj, $a_parent_cmd);
22 $this->select_gui = (is_object($a_select_gui))
23 ? strtolower(get_class($a_select_gui))
25 $this->select_cmd = $a_select_cmd;
26 $this->select_par = $a_select_par;
51 $skills[] = $this->vtree->getCSkillIdForVTreeId($p);
70 $id_parts = explode(
":", $a_node[
"id"]);
71 if ($id_parts[1] == 0)
74 $skill_id = $a_node[
"id"];
79 $skill_id = $id_parts[1].
":".$id_parts[0];
82 $ilCtrl->setParameterByClass($this->select_gui, $this->select_par, $skill_id);
83 $ret = $ilCtrl->getLinkTargetByClass($this->select_gui, $this->select_cmd);
84 $ilCtrl->setParameterByClass($this->select_gui, $this->select_par,
"");
107 if (in_array($a_node[
"type"],
array(
"skll",
"sktp")))
__construct($a_parent_obj, $a_parent_cmd, $a_select_gui, $a_select_cmd, $a_select_par="selected_skill")
Constructor.
setSkillSelected($a_id)
Set skill to be opened.
setSkipRootNode($a_val)
Set skip root node.
getSelectedSkills()
Get selected skills (from POST)
isNodeClickable($a_node)
Is clickable.
static _lookupType($a_obj_id)
Lookup Type.
setNodeSelected($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour) ...
isNodeSelectable($a_node)
Create styles array
The data for the language used.
Explorer class that works on tree objects (Services/Tree)
getNodeHref($a_node)
Get href for node.
Virtual skill tree explorer.