ILIAS  release_8 Revision v8.23
ilECSNodeMappingLocalExplorer Class Reference

Explorer for ILIAS tree. More...

+ Inheritance diagram for ilECSNodeMappingLocalExplorer:
+ Collaboration diagram for ilECSNodeMappingLocalExplorer:

Public Member Functions

 __construct (string $a_target, int $a_sid, int $a_mid)
 
 getSid ()
 
 getMid ()
 
 isClickable (string $type, int $ref_id=0)
 no item is clickable More...
 
 addFormItemForType ($type)
 Add form item. More...
 
 removeFormItemForType ($type)
 
 setCheckedItems ($a_checked_items=array())
 
 getCheckedItems ()
 
 isItemChecked (int $a_id)
 
 setPostVar (string $a_post_var)
 
 getPostVar ()
 
 buildFormItem ($a_node_id, string $a_type)
 
 formatObject (ilTemplate $tpl, $a_node_id, array $a_option, $a_obj_id=0)
 
 formatHeader (ilTemplate $tpl, $a_obj_id, array $a_option)
 overwritten method from base class More...
 
 buildTitle (string $a_title, $a_id, string $a_type)
 Format title (bold for direct mappings, italic for child mappings) More...
 
- Public Member Functions inherited from ilExplorer
 setId (string $a_val)
 
 getId ()
 
 setAsynchExpanding (bool $a_val)
 
 getAsynchExpanding ()
 
 initItemCounter (int $a_number)
 
 setTitle (string $a_val)
 
 setTitleLength (int $a_length)
 
 getTitleLength ()
 
 getTitle ()
 
 setRoot ($a_root_id)
 
 getRoot ()
 
 setOrderColumn (string $a_column)
 
 setOrderDirection (string $a_direction)
 
 setTargetGet (string $a_target_get)
 
 setParamsGet (array $a_params_get)
 
 setExpandTarget (string $a_exp_target)
 target script for expand icons More...
 
 setFrameUpdater (string $a_up_frame, string $a_up_script, string $a_params="")
 
 highlightNode (string $a_id)
 
 checkPermissions (bool $a_check)
 
 setSessionExpandVariable (string $a_var_name="expand")
 
 outputIcons (bool $a_icons)
 
 setClickable (string $a_type, bool $a_clickable)
 
 isVisible ( $a_ref_id, string $a_type)
 
 setTreeLead (string $a_val)
 
 getTreeLead ()
 
 isClickable (string $type, int $ref_id=0)
 
 setPostSort (bool $a_sort)
 
 setFilterMode (int $a_mode=IL_FM_NEGATIVE)
 
 getFilterMode ()
 
 setUseStandardFrame (bool $a_val)
 Set use standard frame. More...
 
 getUseStandardFrame ()
 
 getChildsOfNode ($a_parent_id)
 
 setOutput ( $a_parent_id, int $a_depth=1, int $a_obj_id=0, bool $a_highlighted_subtree=false)
 Creates output for explorer view in admin menue recursive method. More...
 
 modifyChilds ( $a_parent_id, array $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 ()
 
 getOutput ()
 
 handleListEndTags (ilTemplate $a_tpl_tree, int $a_cur_depth, int $a_item_depth)
 handle list end tags ( and ) More...
 
 handleListStartTags (ilTemplate $a_tpl_tree, int $a_cur_depth, int $a_item_depth)
 handle list start tags ( More...
 
 formatHeader (ilTemplate $tpl, $a_obj_id, array $a_option)
 
 formatObject (ilTemplate $tpl, $a_node_id, array $a_option, $a_obj_id=0)
 
 getImage (string $a_name, string $a_type="", $a_obj_id="")
 
 getImageAlt (string $a_default_text, string $a_type="", $a_obj_id="")
 
 getNodeStyleClass ( $a_id, string $a_type)
 
 buildLinkTarget ( $a_node_id, string $a_type)
 
 buildOnClick ( $a_node_id, string $a_type, string $a_title)
 
 buildTitle (string $a_title, $a_id, string $a_type)
 
 buildDescription (string $a_desc, $a_id, string $a_type)
 
 buildSelect ($a_node_id, string $a_type)
 standard implementation for adding an option select box between image and title More...
 
 buildFrameTarget (string $a_type, $a_child=0, $a_obj_id=0)
 
 createTarget (string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true)
 
 setFrameTarget (string $a_target)
 
 createLines (int $a_depth)
 
 is_in_array (int $a_start, int $a_depth)
 
 getIndex (array $a_data)
 
 addFilter (string $a_item)
 
 delFilter (string $a_item)
 
 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,...) More...
 
 forceExpandAll (bool $a_mode, bool $a_show_minus=true)
 force expandAll. More...
 
 setFiltered (bool $a_bool)
 
 checkFilter (string $a_item)
 
 sortNodes (array $a_nodes, $a_parent_obj_id)
 sort nodes and put adm object to the end of sorted array More...
 

Data Fields

const SEL_TYPE_CHECK = 1
 
const SEL_TYPE_RADIO = 2
 
- Data Fields inherited from ilExplorer
string $id = ""
 
string $output = ""
 
array $format_options = []
 
ilTree $tree
 
string $target = ""
 
string $target_get = ""
 
string $params_get = ""
 
array $expanded = []
 
string $order_column = ""
 
string $order_direction = "asc"
 
string $expand_target = null
 
bool $rbac_check = false
 
bool $output_icons = false
 
string $expand_variable = ""
 
array $is_clickable = []
 
bool $post_sort = false
 
bool $filtered = false
 
bool $filter_mode
 
bool $expand_all = false
 
 $root_id = null
 
bool $use_standard_frame = false
 

Protected Member Functions

 initMappings ()
 Init (read) current mappings. More...
 
 isMapped ($a_ref_id)
 
 hasParentMapping ($a_ref_id)
 
- Protected Member Functions inherited from ilExplorer
 requestStr (string $key)
 

Private Attributes

array $checked_items = []
 
string $post_var = ''
 
array $form_items = []
 
int $type
 
int $sid
 
int $mid
 
array $mappings = []
 

Additional Inherited Members

- Protected Attributes inherited from ilExplorer
ilObjectDefinition $obj_definition
 
ilErrorHandling $error
 
ilRbacSystem $rbacsystem
 
ilGlobalTemplateInterface $tpl
 
ilLanguage $lng
 
 $filter = []
 
string $highlighted = ""
 
bool $show_minus = true
 
int $counter = 0
 
bool $asnch_expanding = false
 
int $textwidth = 0
 
string $title = ""
 
string $up_frame = ""
 
string $a_up_script = ""
 
string $up_params = ""
 
string $frame_target = ""
 
string $up_script = ""
 
string $tree_lead = ""
 
array $iconList = []
 
ILIAS Refinery Factory $refinery
 
ILIAS HTTP Wrapper WrapperFactory $wrapper
 

Detailed Description

Explorer for ILIAS tree.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

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

Constructor & Destructor Documentation

◆ __construct()

ilECSNodeMappingLocalExplorer::__construct ( string  $a_target,
int  $a_sid,
int  $a_mid 
)

Definition at line 43 of file class.ilECSNodeMappingLocalExplorer.php.

References ILIAS\GlobalScreen\Provider\__construct(), ilExplorer\addFilter(), addFormItemForType(), ILIAS\UI\examples\Symbol\Glyph\Filter\filter(), IL_FM_POSITIVE, initMappings(), ilExplorer\setFiltered(), ilExplorer\setFilterMode(), ilExplorer\setOrderColumn(), and ilExplorer\setRoot().

44  {
45  parent::__construct($a_target);
46 
47  $this->sid = $a_sid;
48  $this->mid = $a_mid;
49 
50  $this->type = self::SEL_TYPE_RADIO;
51 
52  $this->setRoot($this->tree->readRootId());
53  $this->setOrderColumn('title');
54 
55 
56  // reset filter
57  $this->filter = array();
58 
59  $this->addFilter('root');
60  $this->addFilter('cat');
61 
62  $this->addFormItemForType('root');
63  $this->addFormItemForType('cat');
64 
65  $this->setFiltered(true);
67 
68  $this->initMappings();
69  }
setFiltered(bool $a_bool)
const IL_FM_POSITIVE
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setOrderColumn(string $a_column)
setRoot($a_root_id)
__construct(Container $dic, ilPlugin $plugin)
addFilter(string $a_item)
setFilterMode(int $a_mode=IL_FM_NEGATIVE)
+ Here is the call graph for this function:

Member Function Documentation

◆ addFormItemForType()

ilECSNodeMappingLocalExplorer::addFormItemForType (   $type)

Add form item.

Definition at line 92 of file class.ilECSNodeMappingLocalExplorer.php.

References $type.

Referenced by __construct().

92  : void
93  {
94  $this->form_items[$type] = true;
95  }
+ Here is the caller graph for this function:

◆ buildFormItem()

ilECSNodeMappingLocalExplorer::buildFormItem (   $a_node_id,
string  $a_type 
)

Definition at line 126 of file class.ilECSNodeMappingLocalExplorer.php.

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

Referenced by formatHeader(), and formatObject().

126  : string
127  {
128  if (!array_key_exists($a_type, $this->form_items) || !$this->form_items[$a_type]) {
129  return '';
130  }
131 
132  switch ($this->type) {
133  case self::SEL_TYPE_CHECK:
135  $this->isItemChecked($a_node_id),
136  $this->post_var,
137  (string) $a_node_id
138  );
139  case self::SEL_TYPE_RADIO:
141  $this->isItemChecked($a_node_id),
142  $this->post_var,
143  (string) $a_node_id,
144  "document.getElementById('map').submit(); return false;"
145  );
146  }
147  return '';
148  }
static formRadioButton(bool $checked, string $varname, string $value, string $onclick=null, bool $disabled=false)
static formCheckbox(bool $checked, string $varname, string $value, bool $disabled=false)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ buildTitle()

ilECSNodeMappingLocalExplorer::buildTitle ( string  $a_title,
  $a_id,
string  $a_type 
)

Format title (bold for direct mappings, italic for child mappings)

Definition at line 307 of file class.ilECSNodeMappingLocalExplorer.php.

References hasParentMapping(), and isMapped().

Referenced by formatObject().

307  : string
308  {
309  if ($this->isMapped($a_id)) {
310  return '<font style="font-weight: bold">' . $a_title . '</font>';
311  }
312  if ($this->hasParentMapping($a_id)) {
313  return '<font style="font-style: italic">' . $a_title . '</font>';
314  }
315  return $a_title;
316  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ formatHeader()

ilECSNodeMappingLocalExplorer::formatHeader ( ilTemplate  $tpl,
  $a_obj_id,
array  $a_option 
)

overwritten method from base class

Definition at line 271 of file class.ilECSNodeMappingLocalExplorer.php.

References $nd, $path, ilExplorer\$title, ilObject\_getIcon(), buildFormItem(), isMapped(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ROOT_FOLDER_ID, ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().

271  : void
272  {
273  // custom icons
274  $path = ilObject::_getIcon((int) $a_obj_id, "tiny", "root");
275 
276 
277  $tpl->setCurrentBlock("icon");
278  $nd = $this->tree->getNodeData(ROOT_FOLDER_ID);
279  $title = $nd["title"];
280  if ($title === "ILIAS") {
281  $title = $this->lng->txt("repository");
282  }
283 
284  $tpl->setVariable("ICON_IMAGE", $path);
285  $tpl->setVariable("TXT_ALT_IMG", $title);
286  $tpl->parseCurrentBlock();
287 
288  if (($formItem = $this->buildFormItem((int) $a_obj_id, (string) $a_option['type'])) !== '') {
289  $tpl->setCurrentBlock('check');
290  $tpl->setVariable('OBJ_CHECK', $formItem);
291  $tpl->parseCurrentBlock();
292  }
293 
294  if ($this->isMapped(ROOT_FOLDER_ID)) {
295  $tpl->setVariable(
296  'OBJ_TITLE',
297  '<font style="font-weight: bold">' . $title . '</font>'
298  );
299  } else {
300  $tpl->setVariable('OBJ_TITLE', $title);
301  }
302  }
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
const ROOT_FOLDER_ID
Definition: constants.php:32
$path
Definition: ltiservices.php:32
$nd
Definition: error.php:12
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:514
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
+ Here is the call graph for this function:

◆ formatObject()

ilECSNodeMappingLocalExplorer::formatObject ( ilTemplate  $tpl,
  $a_node_id,
array  $a_option,
  $a_obj_id = 0 
)
Parameters
int | string$a_node_id
Exceptions
ilTemplateException

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

References ilExplorer\$frame_target, ilExplorer\$target, ilExplorer\buildDescription(), buildFormItem(), ilExplorer\buildFrameTarget(), ilExplorer\buildLinkTarget(), ilExplorer\buildOnClick(), buildTitle(), ilExplorer\createTarget(), ilExplorer\getImage(), ilExplorer\getNodeStyleClass(), isClickable(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), ilExplorer\setParamsGet(), HTML_Template_IT\setVariable(), ilStr\shortenTextExtended(), and ilTemplate\touchBlock().

154  : void
155  {
156  if (!isset($a_node_id) || !is_array($a_option)) {
157  $this->error->raiseError(get_class($this) . "::formatObject(): Missing parameter or wrong datatype! " .
158  "node_id: " . $a_node_id . " options:" . print_r($a_option, true), $this->error->WARNING);
159  }
160 
161  $pic = false;
162  foreach ($a_option["tab"] as $picture) {
163  if ($picture === 'plus') {
164  $tpl->setCurrentBlock("expander");
165  $tpl->setVariable("EXP_DESC", $this->lng->txt("expand"));
166  $this->setParamsGet([]);
167  $target = $this->createTarget('+', $a_node_id);
168  $tpl->setVariable("LINK_NAME", $a_node_id);
169  $tpl->setVariable("LINK_TARGET_EXPANDER", $target);
170  $tpl->setVariable("IMGPATH", $this->getImage("browser/plus.png"));
171  $tpl->parseCurrentBlock();
172  $pic = true;
173  }
174 
175  if ($picture === 'minus' && $this->show_minus) {
176  $tpl->setCurrentBlock("expander");
177  $tpl->setVariable("EXP_DESC", $this->lng->txt("collapse"));
178  $this->setParamsGet([]);
179  $target = $this->createTarget('-', $a_node_id);
180  $tpl->setVariable("LINK_NAME", $a_node_id);
181  $tpl->setVariable("LINK_TARGET_EXPANDER", $target);
182  $tpl->setVariable("IMGPATH", $this->getImage("browser/minus.png"));
183  $tpl->parseCurrentBlock();
184  $pic = true;
185  }
186  }
187 
188  if (!$pic) {
189  $tpl->setCurrentBlock("blank");
190  $tpl->setVariable("BLANK_PATH", $this->getImage("browser/blank.png"));
191  $tpl->parseCurrentBlock();
192  }
193 
194  if ($this->output_icons) {
195  $tpl->setCurrentBlock("icon");
196  $tpl->setVariable("ICON_IMAGE", $this->getImage("icon_" . $a_option["type"] . ".svg", $a_option["type"], $a_obj_id));
197 
198  $tpl->setVariable("TARGET_ID", "iconid_" . $a_node_id);
199  $this->iconList[] = "iconid_" . $a_node_id;
200  $tpl->setVariable("TXT_ALT_IMG", $this->lng->txt($a_option["desc"]));
201  $tpl->parseCurrentBlock();
202  }
203 
204  if (($formItem = $this->buildFormItem((int) $a_node_id, (string) $a_option['type'])) !== '') {
205  $tpl->setCurrentBlock('check');
206  $tpl->setVariable('OBJ_CHECK', $formItem);
207  $tpl->parseCurrentBlock();
208  }
209 
210  if ($this->isClickable($a_option["type"], (int) $a_node_id)) { // output link
211  $tpl->setCurrentBlock("link");
212  //$target = (strpos($this->target, "?") === false) ?
213  // $this->target."?" : $this->target."&";
214  //$tpl->setVariable("LINK_TARGET", $target.$this->target_get."=".$a_node_id.$this->params_get);
215  $tpl->setVariable("LINK_TARGET", $this->buildLinkTarget($a_node_id, $a_option["type"]));
216 
217  $style_class = $this->getNodeStyleClass($a_node_id, $a_option["type"]);
218 
219  if ($style_class !== "") {
220  $tpl->setVariable("A_CLASS", ' class="' . $style_class . '" ');
221  }
222 
223  if (($onclick = $this->buildOnClick($a_node_id, $a_option["type"], $a_option["title"])) !== "") {
224  $tpl->setVariable("ONCLICK", "onClick=\"$onclick\"");
225  }
226 
227  $tpl->setVariable("LINK_NAME", $a_node_id);
228  $tpl->setVariable(
229  "TITLE",
230  $this->buildTitle($a_option["title"], $a_node_id, $a_option["type"])
231  );
232  $tpl->setVariable(
233  "DESC",
235  $this->buildDescription($a_option["description"], $a_node_id, $a_option["type"]),
236  $this->textwidth,
237  true
238  )
239  );
240  $frame_target = $this->buildFrameTarget($a_option["type"], $a_node_id, $a_option["obj_id"]);
241  if ($frame_target !== "") {
242  $tpl->setVariable("TARGET", " target=\"" . $frame_target . "\"");
243  }
244  } else { // output text only
245  $tpl->setCurrentBlock("text");
246  $tpl->setVariable(
247  "OBJ_TITLE",
248  $this->buildTitle($a_option["title"], $a_node_id, $a_option["type"])
249  );
250  $tpl->setVariable(
251  "OBJ_DESC",
253  $this->buildDescription($a_option["desc"], $a_node_id, $a_option["type"]),
254  $this->textwidth,
255  true
256  )
257  );
258  }
259  $tpl->parseCurrentBlock();
260 
261  $tpl->setCurrentBlock("list_item");
262  $tpl->parseCurrentBlock();
263  $tpl->touchBlock("element");
264  }
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
buildDescription(string $a_desc, $a_id, string $a_type)
isClickable(string $type, int $ref_id=0)
no item is clickable
touchBlock(string $block)
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:514
string $frame_target
buildFrameTarget(string $a_type, $a_child=0, $a_obj_id=0)
getNodeStyleClass( $a_id, string $a_type)
getImage(string $a_name, string $a_type="", $a_obj_id="")
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
createTarget(string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true)
buildLinkTarget( $a_node_id, string $a_type)
buildOnClick( $a_node_id, string $a_type, string $a_title)
buildTitle(string $a_title, $a_id, string $a_type)
Format title (bold for direct mappings, italic for child mappings)
setParamsGet(array $a_params_get)
+ Here is the call graph for this function:

◆ getCheckedItems()

ilECSNodeMappingLocalExplorer::getCheckedItems ( )

Definition at line 107 of file class.ilECSNodeMappingLocalExplorer.php.

References $checked_items.

107  : array
108  {
109  return $this->checked_items;
110  }

◆ getMid()

ilECSNodeMappingLocalExplorer::getMid ( )

Definition at line 76 of file class.ilECSNodeMappingLocalExplorer.php.

References $mid.

Referenced by initMappings().

76  : int
77  {
78  return $this->mid;
79  }
+ Here is the caller graph for this function:

◆ getPostVar()

ilECSNodeMappingLocalExplorer::getPostVar ( )

Definition at line 121 of file class.ilECSNodeMappingLocalExplorer.php.

References $post_var.

121  : string
122  {
123  return $this->post_var;
124  }

◆ getSid()

ilECSNodeMappingLocalExplorer::getSid ( )

Definition at line 71 of file class.ilECSNodeMappingLocalExplorer.php.

References $sid.

Referenced by initMappings().

71  : int
72  {
73  return $this->sid;
74  }
+ Here is the caller graph for this function:

◆ hasParentMapping()

ilECSNodeMappingLocalExplorer::hasParentMapping (   $a_ref_id)
protected

Definition at line 339 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by buildTitle().

339  : bool
340  {
341  foreach ($this->mappings as $parent_nodes) {
342  if (in_array($a_ref_id, $parent_nodes, true)) {
343  return true;
344  }
345  }
346  return false;
347  }
+ Here is the caller graph for this function:

◆ initMappings()

ilECSNodeMappingLocalExplorer::initMappings ( )
protected

Init (read) current mappings.

Definition at line 321 of file class.ilECSNodeMappingLocalExplorer.php.

References $ref_id, getMid(), ilECSCourseMappingRule\getRuleRefIds(), and getSid().

Referenced by __construct().

321  : bool
322  {
323  $mappings = array();
324  foreach (ilECSCourseMappingRule::getRuleRefIds($this->getSid(), $this->getMid()) as $ref_id) {
325  $mappings[$ref_id] = [];
326  }
327 
328  foreach (array_keys($mappings) as $ref_id) {
329  $this->mappings[$ref_id] = $this->tree->getPathId($ref_id, 1);
330  }
331  return true;
332  }
$ref_id
Definition: ltiauth.php:67
static getRuleRefIds(int $a_sid, int $a_mid)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isClickable()

ilECSNodeMappingLocalExplorer::isClickable ( string  $type,
int  $ref_id = 0 
)

no item is clickable

Definition at line 84 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by formatObject().

84  : bool
85  {
86  return false;
87  }
+ Here is the caller graph for this function:

◆ isItemChecked()

ilECSNodeMappingLocalExplorer::isItemChecked ( int  $a_id)

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

Referenced by buildFormItem().

112  : bool
113  {
114  return in_array($a_id, $this->checked_items, true);
115  }
+ Here is the caller graph for this function:

◆ isMapped()

ilECSNodeMappingLocalExplorer::isMapped (   $a_ref_id)
protected

Definition at line 334 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by buildTitle(), and formatHeader().

334  : bool
335  {
336  return array_key_exists($a_ref_id, $this->mappings);
337  }
+ Here is the caller graph for this function:

◆ removeFormItemForType()

ilECSNodeMappingLocalExplorer::removeFormItemForType (   $type)

Definition at line 97 of file class.ilECSNodeMappingLocalExplorer.php.

References $type.

97  : void
98  {
99  $this->form_items[$type] = false;
100  }

◆ setCheckedItems()

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

Definition at line 102 of file class.ilECSNodeMappingLocalExplorer.php.

102  : void
103  {
104  $this->checked_items = $a_checked_items;
105  }

◆ setPostVar()

ilECSNodeMappingLocalExplorer::setPostVar ( string  $a_post_var)

Definition at line 117 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by ilECSMappingSettingsGUI\cShowLocalExplorer(), and ilECSMappingSettingsGUI\dShowLocalExplorer().

117  : void
118  {
119  $this->post_var = $a_post_var;
120  }
+ Here is the caller graph for this function:

Field Documentation

◆ $checked_items

array ilECSNodeMappingLocalExplorer::$checked_items = []
private

Definition at line 33 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by getCheckedItems().

◆ $form_items

array ilECSNodeMappingLocalExplorer::$form_items = []
private

Definition at line 35 of file class.ilECSNodeMappingLocalExplorer.php.

◆ $mappings

array ilECSNodeMappingLocalExplorer::$mappings = []
private

Definition at line 41 of file class.ilECSNodeMappingLocalExplorer.php.

◆ $mid

int ilECSNodeMappingLocalExplorer::$mid
private

Definition at line 39 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by getMid().

◆ $post_var

string ilECSNodeMappingLocalExplorer::$post_var = ''
private

Definition at line 34 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by getPostVar().

◆ $sid

int ilECSNodeMappingLocalExplorer::$sid
private

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

Referenced by getSid().

◆ $type

int ilECSNodeMappingLocalExplorer::$type
private

◆ SEL_TYPE_CHECK

const ilECSNodeMappingLocalExplorer::SEL_TYPE_CHECK = 1

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

◆ SEL_TYPE_RADIO

const ilECSNodeMappingLocalExplorer::SEL_TYPE_RADIO = 2

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


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