41 $this->
user = $DIC->user();
42 $this->ctrl = $DIC->ctrl();
43 $this->lng = $DIC->language();
44 $this->templates = $a_templates;
56 $this->root_id = $this->tree->readRootId();
65 $this->force_open_path = array();
67 $this->all_nodes = $this->tree->getSubTree($this->tree->getNodeData($this->root_id));
68 foreach ($this->all_nodes as
$n) {
69 $this->node[$n[
"child"]] =
$n;
70 $this->child_nodes[$n[
"parent"]][] =
$n;
71 $this->parent[$n[
"child"]] = $n[
"parent"];
110 $this->force_open_path = $a_path;
124 if ($a_type ==
"skll") {
137 $ilCtrl->setParameterByClass(
"ilsurveyskillgui",
"obj_id", $a_node_id);
138 $ret = $ilCtrl->getLinkTargetByClass(
"ilsurveyskillgui",
"selectSkillForQuestion");
139 $ilCtrl->setParameterByClass(
"ilsurveyskillgui",
"obj_id",
$_GET[
"obj_id"]);
151 if ($a_type ==
"sktr") {
163 if (in_array($a_obj_id, $this->force_open_path)) {
224 public function getImage($a_name, $a_type =
"", $a_obj_id =
"")
226 if (in_array($a_type, array(
"sktr"))) {
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.
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.
__construct(Container $dic, ilPlugin $plugin)
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public