ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
ilWorkspaceExplorer Class Reference
+ Inheritance diagram for ilWorkspaceExplorer:
+ Collaboration diagram for ilWorkspaceExplorer:

Public Member Functions

 __construct ($a_type, $a_target, $a_session_variable, ilWorkspaceTree $a_tree, ilWorkspaceAccessHandler $a_access_handler)
 Constructor public. More...
 
 showChilds ($a_ref_id, $a_obj_id=0)
 
 isVisible ($a_ref_id, $a_type)
 
 sortNodes ($a_nodes, $a_parent_obj_id)
 
 isClickable ($a_type, $a_ref_id, $a_obj_id=0)
 
 addFormItemForType ($type)
 
 removeFormItemForType ($type)
 
 removeAllFormItemTypes ()
 
 setCheckedItems ($a_checked_items=array())
 
 isItemChecked ($a_id)
 
 setPostVar ($a_post_var)
 
 getPostVar ()
 
 buildFormItem ($a_node_id, $a_type)
 
 formatObject (&$tpl, $a_node_id, $a_option, $a_obj_id=0)
 
 formatHeader (&$tpl, $a_obj_id, $a_option)
 
 setTypeClickable ($a_type)
 
 setCustomLinkTarget ($a_target)
 
 buildLinkTarget ($a_node_id, $a_type)
 
- Public Member Functions inherited from ilRepositoryExplorer
 ilRepositoryExplorer ($a_target, $a_top_node=0)
 Constructor public. More...
 
 setForceOpenPath ($a_path)
 set force open path More...
 
 buildLinkTarget ($a_node_id, $a_type)
 note: most of this stuff is used by ilCourseContentInterface too More...
 
 buildFrameTarget ($a_type, $a_child=0, $a_obj_id=0)
 STATIC, do not use $this inside! More...
 
 getImage ($a_name, $a_type="", $a_obj_id="")
 get image path More...
 
 isClickable ($a_type, $a_ref_id, $a_obj_id=0)
 
 showChilds ($a_ref_id, $a_obj_id=0)
 
 isVisible ($a_ref_id, $a_type)
 
 formatHeader (&$tpl, $a_obj_id, $a_option)
 overwritten method from base class public More...
 
 sortNodes ($a_nodes, $a_parent_obj_id)
 sort nodes More...
 
 forceExpanded ($a_node)
 Force expansion of node. More...
 
- Public Member Functions inherited from ilExplorer
 ilExplorer ($a_target)
 Constructor public. More...
 
 setId ($a_val)
 Set id. More...
 
 getId ()
 Get id. More...
 
 setAsynchExpanding ($a_val)
 Set asynch expanding. More...
 
 getAsynchExpanding ()
 Get asynch expanding. More...
 
 initItemCounter ($a_number)
 Init item counter. More...
 
 setTitle ($a_val)
 Set title. More...
 
 setTitleLength ($a_length)
 Set max title length. More...
 
 getTitleLength ()
 Get max title length. More...
 
 getTitle ()
 Get title. More...
 
 setRoot ($a_root_id)
 Set root node. More...
 
 getRoot ()
 get root id More...
 
 setOrderColumn ($a_column)
 set the order column public More...
 
 setOrderDirection ($a_direction)
 set the order direction public More...
 
 setTargetGet ($a_target_get)
 set the varname in Get-string public More...
 
 setParamsGet ($a_params_get)
 set additional params to be passed in Get-string public More...
 
 setExpandTarget ($a_exp_target)
 target script for expand icons More...
 
 setFrameUpdater ($a_up_frame, $a_up_script, $a_params="")
 Set Explorer Updater. More...
 
 highlightNode ($a_id)
 set highlighted node More...
 
 checkPermissions ($a_check)
 check permissions via rbac More...
 
 setSessionExpandVariable ($a_var_name="expand")
 set name of expand session variable More...
 
 outputIcons ($a_icons)
 output icons More...
 
 setClickable ($a_type, $a_clickable)
 (de-)activates links for a certain object type More...
 
 isVisible ($a_ref_id, $a_type)
 
 setTreeLead ($a_val)
 Set tree leading content. More...
 
 getTreeLead ()
 Get tree leading content. More...
 
 isClickable ($a_type, $a_ref_id=0)
 check if links for certain object type are activated More...
 
 setPostSort ($a_sort)
 process post sorting More...
 
 setFilterMode ($a_mode=IL_FM_NEGATIVE)
 set filter mode More...
 
 getFilterMode ()
 get filter mode More...
 
 setUseStandardFrame ($a_val)
 Set use standard frame. More...
 
 getUseStandardFrame ()
 Get use standard explorer frame. More...
 
 getChildsOfNode ($a_parent_id)
 Get childs of node. More...
 
 setOutput ($a_parent_id, $a_depth=1, $a_obj_id=0, $a_highlighted_subtree=false)
 Creates output for explorer view in admin menue recursive method public. More...
 
 modifyChilds ($a_parent_id, $a_objects)
 
 showChilds ($a_parent_id)
 determines wether the childs of an object should be shown or not note: this standard implementation always returns true but it could be overwritten by derived classes (e.g. More...
 
 forceExpanded ($a_obj_id)
 force expansion of node More...
 
 getMaximumTreeDepth ()
 Get maximum tree depth. More...
 
 getOutput ()
 Creates output recursive method public. More...
 
 handleListEndTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth)
 handle list end tags ( and ) More...
 
 handleListStartTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth)
 handle list start tags ( More...
 
 formatHeader (&$tpl, $a_obj_id, $a_option)
 Creates output for header (is empty here but can be overwritten in derived classes) More...
 
 formatObject (&$tpl, $a_node_id, $a_option, $a_obj_id=0)
 Creates output recursive method private. More...
 
 getImage ($a_name, $a_type="", $a_obj_id="")
 get image path (may be overwritten by derived classes) More...
 
 getImageAlt ($a_default_text, $a_type="", $a_obj_id="")
 get image alt text More...
 
 getNodeStyleClass ($a_id, $a_type)
 get style class for node More...
 
 buildLinkTarget ($a_node_id, $a_type)
 get link target (may be overwritten by derived classes) More...
 
 buildOnClick ($a_node_id, $a_type, $a_title)
 get onclick event handling (may be overwritten by derived classes) More...
 
 buildTitle ($a_title, $a_id, $a_type)
 standard implementation for title, may be overwritten by derived classes More...
 
 buildDescription ($a_desc, $a_id, $a_type)
 standard implementation for description, may be overwritten by derived classes More...
 
 buildSelect ($a_node_id, $a_type)
 standard implementation for adding an option select box between image and title More...
 
 buildFrameTarget ($a_type, $a_child=0, $a_obj_id=0)
 get frame target (may be overwritten by derived classes) More...
 
 createTarget ($a_type, $a_node_id, $a_highlighted_subtree=false, $a_append_anch=true)
 Creates Get Parameter private. More...
 
 setFrameTarget ($a_target)
 set target frame or not frame? More...
 
 createLines ($a_depth)
 Creates lines for explorer view private. More...
 
 is_in_array ($a_start, $a_depth)
 DESCRIPTION MISSING private. More...
 
 getIndex ($a_data)
 get index of format_options array from specific ref_id,parent_id private More...
 
 addFilter ($a_item)
 adds item to the filter public More...
 
 delFilter ($a_item)
 removes item from the filter public More...
 
 setExpand ($a_node_id)
 set the expand option this value is stored in a SESSION variable to save it different view (lo view, frm view,...) private More...
 
 forceExpandAll ($a_mode, $a_show_minus=true)
 force expandAll. More...
 
 setFiltered ($a_bool)
 active/deactivate the filter public More...
 
 checkFilter ($a_item)
 check if item is in filter private More...
 
 sortNodes ($a_nodes, $a_parent_obj_id)
 sort nodes and put adm object to the end of sorted array private More...
 

Data Fields

const SEL_TYPE_CHECK = 1
 
const SEL_TYPE_RADIO = 2
 
 $root_id = 0
 
 $output = ''
 
 $ctrl = null
 
 $access = null
 
- Data Fields inherited from ilRepositoryExplorer
 $root_id
 
 $output
 
 $ctrl
 
- Data Fields inherited from ilExplorer
 $id
 
 $ilias
 
 $output
 
 $format_options
 
 $tree
 
 $target
 
 $target_get
 
 $params_get
 
 $expanded
 
 $order_column
 
 $order_direction = "asc"
 
 $expand_target
 
 $rbac_check
 
 $output_icons
 
 $expand_variable
 
 $is_clickable
 
 $post_sort
 
 $filtered = false
 
 $filter_mode
 
 $expand_all = false
 
 $root_id = null
 
 $use_standard_frame = false
 

Protected Attributes

 $clickable = array()
 
 $custom_link_target
 

Private Attributes

 $checked_items = array()
 
 $post_var = ''
 
 $form_items = array()
 
 $type = 0
 

Detailed Description

Definition at line 12 of file class.ilWorkspaceExplorer.php.

Constructor & Destructor Documentation

◆ __construct()

ilWorkspaceExplorer::__construct (   $a_type,
  $a_target,
  $a_session_variable,
ilWorkspaceTree  $a_tree,
ilWorkspaceAccessHandler  $a_access_handler 
)

Constructor public.

Parameters
string$a_targetscriptname
string$a_session_variablesession_variable
ilWorkspaceTree$a_treeworkspace tree
ilWorkspaceAccessHandler$a_access_handlerworkspace access handler

Definition at line 38 of file class.ilWorkspaceExplorer.php.

References $ilCtrl, $root_id, ilExplorer\addFilter(), addFormItemForType(), ilTree\addTree(), ilWorkspaceTree\createReference(), ilObjectFactory\getClassByType(), ilTree\getTreeId(), IL_FM_POSITIVE, ilTree\readRootId(), ilExplorer\setFiltered(), ilExplorer\setFilterMode(), ilTree\setRootId(), and ilExplorer\setSessionExpandVariable().

39  {
40  global $ilCtrl;
41 
42  $this->ctrl = $ilCtrl;
43  $this->type = $a_type;
44  $this->access = $a_access_handler;
45 
46  parent::__construct($a_target);
47 
48  // #11173
49  if(!$a_tree->readRootId())
50  {
51  // create (workspace) root folder
52  $root = ilObjectFactory::getClassByType("wsrt");
53  $root = new $root(null);
54  $root->create();
55 
56  $root_id = $a_tree->createReference($root->getId());
57  $a_tree->addTree($a_tree->getTreeId(), $root_id);
58  $a_tree->setRootId($root_id);
59  }
60  $this->tree = $a_tree;
61  $this->root_id = $this->tree->readRootId();
62  $this->order_column = 'title';
63  $this->setSessionExpandVariable($a_session_variable);
64 
65  // reset filter
66  $this->filter = array();
67 
68  $this->addFilter('wsrt');
69  $this->addFilter('wfld');
70 
71  $this->addFormItemForType('wsrt');
72  $this->addFormItemForType('wfld');
73 
74  $this->setFiltered(true);
76  }
static getClassByType($a_obj_type)
Get class by type.
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
createReference($a_object_id)
Create workspace reference for object.
getTreeId()
get tree id public
const IL_FM_POSITIVE
setFiltered($a_bool)
active/deactivate the filter public
global $ilCtrl
Definition: ilias.php:18
setRootId($a_root_id)
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public
addTree($a_tree_id, $a_node_id=-1)
create a new tree to do: ???
readRootId()
read root id from database
+ Here is the call graph for this function:

Member Function Documentation

◆ addFormItemForType()

ilWorkspaceExplorer::addFormItemForType (   $type)

Definition at line 108 of file class.ilWorkspaceExplorer.php.

References $type.

Referenced by __construct().

109  {
110  $this->form_items[$type] = true;
111  }
+ Here is the caller graph for this function:

◆ buildFormItem()

ilWorkspaceExplorer::buildFormItem (   $a_node_id,
  $a_type 
)

Definition at line 137 of file class.ilWorkspaceExplorer.php.

References ilUtil\formCheckbox(), ilUtil\formRadioButton(), and isItemChecked().

Referenced by formatHeader(), and formatObject().

138  {
139  if(!array_key_exists($a_type, $this->form_items) || !$this->form_items[$a_type])
140  {
141  return;
142  }
143 
144  switch($this->type)
145  {
146  case self::SEL_TYPE_CHECK:
147  return ilUtil::formCheckbox((int)$this->isItemChecked($a_node_id), $this->post_var, $a_node_id);
148 
149  case self::SEL_TYPE_RADIO:
150  return ilUtil::formRadioButton((int)$this->isItemChecked($a_node_id), $this->post_var, $a_node_id);
151  }
152  }
static formRadioButton($checked, $varname, $value, $onclick=null, $disabled=false)
??? public
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildLinkTarget()

ilWorkspaceExplorer::buildLinkTarget (   $a_node_id,
  $a_type 
)

Definition at line 311 of file class.ilWorkspaceExplorer.php.

Referenced by formatObject().

312  {
313  if(!$this->custom_link_target)
314  {
315  return parent::buildLinkTarget($a_node_id, $a_type);
316  }
317 
318  $link = $this->custom_link_target."&".$this->target_get."=".$a_node_id;
319  return $link;
320  }
+ Here is the caller graph for this function:

◆ formatHeader()

ilWorkspaceExplorer::formatHeader ( $tpl,
  $a_obj_id,
  $a_option 
)

Definition at line 272 of file class.ilWorkspaceExplorer.php.

References $lng, $path, $tpl, ilObject\_getIcon(), and buildFormItem().

273  {
274  global $lng;
275 
276  // custom icons
277  $path = ilObject::_getIcon($a_obj_id, "small", "wsrt");
278 
279  $tpl->setCurrentBlock("icon");
280  $title = $this->tree->getNodeData($this->root_id);
281  $title = $title["title"];
282  if(!$title)
283  {
284  $title = $lng->txt("personal_workspace");
285  }
286 
287  $tpl->setVariable("ICON_IMAGE", $path);
288  $tpl->setVariable("TXT_ALT_IMG", $title);
289  $tpl->parseCurrentBlock();
290 
291  if(strlen($formItem = $this->buildFormItem($a_obj_id, $a_option['type'])))
292  {
293  $tpl->setCurrentBlock('check');
294  $tpl->setVariable('OBJ_CHECK', $formItem);
295  $tpl->parseCurrentBlock();
296  }
297 
298  $tpl->setVariable('OBJ_TITLE', $title);
299  }
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
global $tpl
Definition: ilias.php:8
buildFormItem($a_node_id, $a_type)
global $lng
Definition: privfeed.php:40
$path
Definition: index.php:22
+ Here is the call graph for this function:

◆ formatObject()

ilWorkspaceExplorer::formatObject ( $tpl,
  $a_node_id,
  $a_option,
  $a_obj_id = 0 
)

Definition at line 154 of file class.ilWorkspaceExplorer.php.

References $lng, ilExplorer\$target, $tpl, ilExplorer\buildDescription(), buildFormItem(), ilRepositoryExplorer\buildFrameTarget(), buildLinkTarget(), ilExplorer\buildOnClick(), ilExplorer\buildTitle(), ilExplorer\createTarget(), ilRepositoryExplorer\getImage(), ilExplorer\getNodeStyleClass(), isClickable(), and ilUtil\shortenText().

155  {
156  global $lng;
157 
158  if (!isset($a_node_id) or !is_array($a_option))
159  {
160  $this->ilias->raiseError(get_class($this)."::formatObject(): Missing parameter or wrong datatype! ".
161  "node_id: ".$a_node_id." options:".var_dump($a_option),$this->ilias->error_obj->WARNING);
162  }
163 
164  $pic = false;
165  foreach ($a_option["tab"] as $picture)
166  {
167  if ($picture == 'plus')
168  {
169  $tpl->setCurrentBlock("expander");
170  $tpl->setVariable("EXP_DESC", $lng->txt("expand"));
171  $target = $this->createTarget('+',$a_node_id);
172  $tpl->setVariable("LINK_NAME", $a_node_id);
173  $tpl->setVariable("LINK_TARGET_EXPANDER", $target);
174  $tpl->setVariable("IMGPATH", $this->getImage("browser/plus.png"));
175  $tpl->parseCurrentBlock();
176  $pic = true;
177  }
178 
179  if ($picture == 'minus' && $this->show_minus)
180  {
181  $tpl->setCurrentBlock("expander");
182  $tpl->setVariable("EXP_DESC", $lng->txt("collapse"));
183  $target = $this->createTarget('-',$a_node_id);
184  $tpl->setVariable("LINK_NAME", $a_node_id);
185  $tpl->setVariable("LINK_TARGET_EXPANDER", $target);
186  $tpl->setVariable("IMGPATH", $this->getImage("browser/minus.png"));
187  $tpl->parseCurrentBlock();
188  $pic = true;
189  }
190  }
191 
192  if (!$pic)
193  {
194  $tpl->setCurrentBlock("blank");
195  $tpl->setVariable("BLANK_PATH", $this->getImage("browser/blank.png"));
196  $tpl->parseCurrentBlock();
197  }
198 
199  if ($this->output_icons)
200  {
201  $tpl->setCurrentBlock("icon");
202  $tpl->setVariable("ICON_IMAGE" , $this->getImage("icon_".$a_option["type"].".svg", $a_option["type"], $a_obj_id));
203 
204  $tpl->setVariable("TARGET_ID" , "iconid_".$a_node_id);
205  $this->iconList[] = "iconid_".$a_node_id;
206  $tpl->setVariable("TXT_ALT_IMG", $lng->txt($a_option["desc"]));
207  $tpl->parseCurrentBlock();
208  }
209 
210  if(strlen($formItem = $this->buildFormItem($a_node_id, $a_option['type'])))
211  {
212  $tpl->setCurrentBlock('check');
213  $tpl->setVariable('OBJ_CHECK', $formItem);
214  $tpl->parseCurrentBlock();
215  }
216 
217  if ($this->isClickable($a_option["type"], $a_node_id,$a_obj_id)) // output link
218  {
219  $tpl->setCurrentBlock("link");
220  //$target = (strpos($this->target, "?") === false) ?
221  // $this->target."?" : $this->target."&";
222  //$tpl->setVariable("LINK_TARGET", $target.$this->target_get."=".$a_node_id.$this->params_get);
223  $tpl->setVariable("LINK_TARGET", $this->buildLinkTarget($a_node_id, $a_option["type"]));
224 
225  $style_class = $this->getNodeStyleClass($a_node_id, $a_option["type"]);
226 
227  if ($style_class != "")
228  {
229  $tpl->setVariable("A_CLASS", ' class="'.$style_class.'" ' );
230  }
231 
232  if (($onclick = $this->buildOnClick($a_node_id, $a_option["type"], $a_option["title"])) != "")
233  {
234  $tpl->setVariable("ONCLICK", "onClick=\"$onclick\"");
235  }
236 
237  $tpl->setVariable("LINK_NAME", $a_node_id);
238  $tpl->setVariable("TITLE", ilUtil::shortenText(
239  $this->buildTitle($a_option["title"], $a_node_id, $a_option["type"]),
240  $this->textwidth, true));
241  $tpl->setVariable("DESC", ilUtil::shortenText(
242  $this->buildDescription($a_option["description"], $a_node_id, $a_option["type"]), $this->textwidth, true));
243  $frame_target = $this->buildFrameTarget($a_option["type"], $a_node_id, $a_option["obj_id"]);
244  if ($frame_target != "")
245  {
246  $tpl->setVariable("TARGET", " target=\"".$frame_target."\"");
247  }
248  $tpl->parseCurrentBlock();
249  }
250  else // output text only
251  {
252  $tpl->setCurrentBlock("text");
253  $tpl->setVariable("OBJ_TITLE", ilUtil::shortenText(
254  $this->buildTitle($a_option["title"], $a_node_id, $a_option["type"]), $this->textwidth, true));
255  $tpl->setVariable("OBJ_DESC", ilUtil::shortenText(
256  $this->buildDescription($a_option["desc"], $a_node_id, $a_option["type"]), $this->textwidth, true));
257  $tpl->parseCurrentBlock();
258  }
259 
260  $tpl->setCurrentBlock("list_item");
261  $tpl->parseCurrentBlock();
262  $tpl->touchBlock("element");
263  }
getNodeStyleClass($a_id, $a_type)
get style class for node
buildLinkTarget($a_node_id, $a_type)
static shortenText($a_str, $a_len, $a_dots=false, $a_next_blank=false, $a_keep_extension=false)
shorten a string to given length.
isClickable($a_type, $a_ref_id, $a_obj_id=0)
global $tpl
Definition: ilias.php:8
createTarget($a_type, $a_node_id, $a_highlighted_subtree=false, $a_append_anch=true)
Creates Get Parameter private.
buildOnClick($a_node_id, $a_type, $a_title)
get onclick event handling (may be overwritten by derived classes)
buildFormItem($a_node_id, $a_type)
getImage($a_name, $a_type="", $a_obj_id="")
get image path
redirection script todo: (a better solution should control the processing via a xml file) ...
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
STATIC, do not use $this inside!
buildTitle($a_title, $a_id, $a_type)
standard implementation for title, may be overwritten by derived classes
global $lng
Definition: privfeed.php:40
buildDescription($a_desc, $a_id, $a_type)
standard implementation for description, may be overwritten by derived classes
+ Here is the call graph for this function:

◆ getPostVar()

ilWorkspaceExplorer::getPostVar ( )

Definition at line 132 of file class.ilWorkspaceExplorer.php.

References $post_var.

133  {
134  return $this->post_var;
135  }

◆ isClickable()

ilWorkspaceExplorer::isClickable (   $a_type,
  $a_ref_id,
  $a_obj_id = 0 
)

Definition at line 98 of file class.ilWorkspaceExplorer.php.

Referenced by formatObject().

99  {
100  if(is_array($this->clickable) && in_array($a_type, $this->clickable) &&
101  $a_ref_id)
102  {
103  return true;
104  }
105  return false;
106  }
+ Here is the caller graph for this function:

◆ isItemChecked()

ilWorkspaceExplorer::isItemChecked (   $a_id)

Definition at line 124 of file class.ilWorkspaceExplorer.php.

Referenced by buildFormItem().

125  {
126  return in_array($a_id, $this->checked_items) ? true : false;
127  }
+ Here is the caller graph for this function:

◆ isVisible()

ilWorkspaceExplorer::isVisible (   $a_ref_id,
  $a_type 
)

Definition at line 88 of file class.ilWorkspaceExplorer.php.

89  {
90  return true;
91  }

◆ removeAllFormItemTypes()

ilWorkspaceExplorer::removeAllFormItemTypes ( )

Definition at line 116 of file class.ilWorkspaceExplorer.php.

117  {
118  $this->form_items = array();
119  }

◆ removeFormItemForType()

ilWorkspaceExplorer::removeFormItemForType (   $type)

Definition at line 112 of file class.ilWorkspaceExplorer.php.

References $type.

113  {
114  $this->form_items[$type] = false;
115  }

◆ setCheckedItems()

ilWorkspaceExplorer::setCheckedItems (   $a_checked_items = array())

Definition at line 120 of file class.ilWorkspaceExplorer.php.

121  {
122  $this->checked_items = $a_checked_items;
123  }

◆ setCustomLinkTarget()

ilWorkspaceExplorer::setCustomLinkTarget (   $a_target)

Definition at line 306 of file class.ilWorkspaceExplorer.php.

307  {
308  $this->custom_link_target = $a_target;
309  }

◆ setPostVar()

ilWorkspaceExplorer::setPostVar (   $a_post_var)

Definition at line 128 of file class.ilWorkspaceExplorer.php.

129  {
130  $this->post_var = $a_post_var;
131  }

◆ setTypeClickable()

ilWorkspaceExplorer::setTypeClickable (   $a_type)

Definition at line 301 of file class.ilWorkspaceExplorer.php.

302  {
303  $this->clickable[] = $a_type;
304  }

◆ showChilds()

ilWorkspaceExplorer::showChilds (   $a_ref_id,
  $a_obj_id = 0 
)

Definition at line 78 of file class.ilWorkspaceExplorer.php.

79  {
80  if ($a_ref_id == 0 ||
81  $this->access->checkAccess('read', '', $a_ref_id))
82  {
83  return true;
84  }
85  return false;
86  }

◆ sortNodes()

ilWorkspaceExplorer::sortNodes (   $a_nodes,
  $a_parent_obj_id 
)

Definition at line 93 of file class.ilWorkspaceExplorer.php.

94  {
95  return $a_nodes;
96  }

Field Documentation

◆ $access

ilWorkspaceExplorer::$access = null

Definition at line 20 of file class.ilWorkspaceExplorer.php.

◆ $checked_items

ilWorkspaceExplorer::$checked_items = array()
private

Definition at line 22 of file class.ilWorkspaceExplorer.php.

◆ $clickable

ilWorkspaceExplorer::$clickable = array()
protected

Definition at line 27 of file class.ilWorkspaceExplorer.php.

◆ $ctrl

ilWorkspaceExplorer::$ctrl = null

Definition at line 19 of file class.ilWorkspaceExplorer.php.

◆ $custom_link_target

ilWorkspaceExplorer::$custom_link_target
protected

Definition at line 28 of file class.ilWorkspaceExplorer.php.

◆ $form_items

ilWorkspaceExplorer::$form_items = array()
private

Definition at line 24 of file class.ilWorkspaceExplorer.php.

◆ $output

ilWorkspaceExplorer::$output = ''

Definition at line 18 of file class.ilWorkspaceExplorer.php.

◆ $post_var

ilWorkspaceExplorer::$post_var = ''
private

Definition at line 23 of file class.ilWorkspaceExplorer.php.

Referenced by getPostVar().

◆ $root_id

ilWorkspaceExplorer::$root_id = 0

Definition at line 17 of file class.ilWorkspaceExplorer.php.

Referenced by __construct().

◆ $type

ilWorkspaceExplorer::$type = 0
private

Definition at line 25 of file class.ilWorkspaceExplorer.php.

Referenced by addFormItemForType(), and removeFormItemForType().

◆ SEL_TYPE_CHECK

const ilWorkspaceExplorer::SEL_TYPE_CHECK = 1

Definition at line 14 of file class.ilWorkspaceExplorer.php.

Referenced by ilPersonalSkillsGUI\assignMaterial().

◆ SEL_TYPE_RADIO


The documentation for this class was generated from the following file: