5 include_once(
"./Services/Skill/classes/class.ilSkillTreeNode.php");
15 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
36 $this->templates = $a_templates;
38 parent::__construct($a_target);
47 include_once(
"./Services/Skill/classes/class.ilSkillTree.php");
49 $this->root_id = $this->tree->readRootId();
58 $this->force_open_path =
array();
60 $this->all_nodes = $this->tree->getSubTree($this->tree->getNodeData($this->root_id));
61 foreach ($this->all_nodes as
$n)
63 $this->node[$n[
"child"]] =
$n;
64 $this->child_nodes[$n[
"parent"]][] =
$n;
65 $this->
parent[$n[
"child"]] = $n[
"parent"];
104 $this->force_open_path = $a_path;
132 $ilCtrl->setParameterByClass(
"ilsurveyskillgui",
"obj_id", $a_node_id);
133 $ret = $ilCtrl->getLinkTargetByClass(
"ilsurveyskillgui",
"selectSkillForQuestion");
134 $ilCtrl->setParameterByClass(
"ilsurveyskillgui",
"obj_id",
$_GET[
"obj_id"]);
148 include_once(
"./Services/Skill/classes/class.ilSkillTemplateReference.php");
166 if (in_array($a_obj_id, $this->force_open_path))
buildTitle($a_title, $a_id, $a_type)
standard implementation for title, may be overwritten by derived classes
setPostSort($a_sort)
process post sorting
forceExpanded($a_obj_id)
force expansion of node
buildLinkTarget($a_node_id, $a_type)
build link target
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
setTitleLength($a_length)
Set max title length.
checkPermissions($a_check)
check permissions via rbac
isClickable($a_type, $a_obj_id=0)
check if links for certain object type are activated
__construct($a_target, $a_templates=false)
Constructor public.
setOrderColumn($a_column)
set the order column public
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
Get frame target.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static _lookupTemplateId($a_obj_id)
Lookup template ID.
Explorer for skill management.
Create styles array
The data for the language used.
Class ilExplorer class for explorer view in admin frame.
getImage($a_name, $a_type="", $a_obj_id="")
Get maximum tree depth.
setForceOpenPath($a_path)
Build selectable tree.
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public