4 include_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);
71 if ($this->select_multi) {
80 $id_parts = explode(
":", $a_node[
"id"]);
81 if ($id_parts[1] == 0) {
83 $skill_id = $a_node[
"id"];
86 $skill_id = $id_parts[1] .
":" . $id_parts[0];
89 $ilCtrl->setParameterByClass($this->select_gui, $this->select_par, $skill_id);
90 $ret =
$ilCtrl->getLinkTargetByClass($this->select_gui, $this->select_cmd);
91 $ilCtrl->setParameterByClass($this->select_gui, $this->select_par,
"");
114 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)
Explorer class that works on tree objects (Services/Tree)
getNodeHref($a_node)
Get href for node.
Virtual skill tree explorer.