ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 26 of file class.ilECSNodeMappingLocalExplorer.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

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

References ILIAS\GlobalScreen\Provider\__construct(), ilExplorer\addFilter(), addFormItemForType(), ILIAS\Repository\filter(), IL_FM_POSITIVE, initMappings(), SEL_TYPE_RADIO, ilExplorer\setFiltered(), ilExplorer\setFilterMode(), ilExplorer\setOrderColumn(), and ilExplorer\setRoot().

+ Here is the call graph for this function:

Member Function Documentation

◆ addFormItemForType()

ilECSNodeMappingLocalExplorer::addFormItemForType (   $type)

Add form item.

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

93 : void
94 {
95 $this->form_items[$type] = true;
96 }

References $type.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ buildFormItem()

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

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

127 : string
128 {
129 if (!array_key_exists($a_type, $this->form_items) || !$this->form_items[$a_type]) {
130 return '';
131 }
132
133 switch ($this->type) {
136 $this->isItemChecked($a_node_id),
137 $this->post_var,
138 (string) $a_node_id
139 );
142 $this->isItemChecked($a_node_id),
143 $this->post_var,
144 (string) $a_node_id,
145 "document.getElementById('map').submit(); return false;"
146 );
147 }
148 return '';
149 }
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)

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

Referenced by formatHeader(), and formatObject().

+ 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)

Reimplemented from ilExplorer.

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

308 : string
309 {
310 if ($this->isMapped($a_id)) {
311 return '<font style="font-weight: bold">' . $a_title . '</font>';
312 }
313 if ($this->hasParentMapping($a_id)) {
314 return '<font style="font-style: italic">' . $a_title . '</font>';
315 }
316 return $a_title;
317 }

References hasParentMapping(), and isMapped().

Referenced by formatObject().

+ 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

Reimplemented from ilExplorer.

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

272 : void
273 {
274 // custom icons
275 $path = ilObject::_getIcon((int) $a_obj_id, "tiny", "root");
276
277
278 $tpl->setCurrentBlock("icon");
279 $nd = $this->tree->getNodeData(ROOT_FOLDER_ID);
280 $title = $nd["title"];
281 if ($title === "ILIAS") {
282 $title = $this->lng->txt("repository");
283 }
284
285 $tpl->setVariable("ICON_IMAGE", $path);
286 $tpl->setVariable("TXT_ALT_IMG", $title);
288
289 if (($formItem = $this->buildFormItem((int) $a_obj_id, (string) $a_option['type'])) !== '') {
290 $tpl->setCurrentBlock('check');
291 $tpl->setVariable('OBJ_CHECK', $formItem);
293 }
294
295 if ($this->isMapped(ROOT_FOLDER_ID)) {
296 $tpl->setVariable(
297 'OBJ_TITLE',
298 '<font style="font-weight: bold">' . $title . '</font>'
299 );
300 } else {
301 $tpl->setVariable('OBJ_TITLE', $title);
302 }
303 }
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:544
ilGlobalTemplateInterface $tpl
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
$nd
Definition: error.php:30
setVariable(string $variable, $value='')
Sets the given variable to the given value.
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
$path
Definition: ltiservices.php:30

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

+ 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

Reimplemented from ilExplorer.

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

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

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

+ Here is the call graph for this function:

◆ getCheckedItems()

ilECSNodeMappingLocalExplorer::getCheckedItems ( )

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

108 : array
109 {
111 }

References $checked_items.

◆ getMid()

ilECSNodeMappingLocalExplorer::getMid ( )

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

References $mid.

Referenced by initMappings().

+ Here is the caller graph for this function:

◆ getPostVar()

ilECSNodeMappingLocalExplorer::getPostVar ( )

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

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

References $post_var.

◆ getSid()

ilECSNodeMappingLocalExplorer::getSid ( )

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

References $sid.

Referenced by initMappings().

+ Here is the caller graph for this function:

◆ hasParentMapping()

ilECSNodeMappingLocalExplorer::hasParentMapping (   $a_ref_id)
protected

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

340 : bool
341 {
342 foreach ($this->mappings as $parent_nodes) {
343 if (in_array($a_ref_id, $parent_nodes, true)) {
344 return true;
345 }
346 }
347 return false;
348 }

Referenced by buildTitle().

+ Here is the caller graph for this function:

◆ initMappings()

ilECSNodeMappingLocalExplorer::initMappings ( )
protected

Init (read) current mappings.

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

322 : bool
323 {
324 $mappings = array();
325 foreach (ilECSCourseMappingRule::getRuleRefIds($this->getSid(), $this->getMid()) as $ref_id) {
326 $mappings[$ref_id] = [];
327 }
328
329 foreach (array_keys($mappings) as $ref_id) {
330 $this->mappings[$ref_id] = $this->tree->getPathId($ref_id, 1);
331 }
332 return true;
333 }
static getRuleRefIds(int $a_sid, int $a_mid)
$ref_id
Definition: ltiauth.php:66

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

Referenced by __construct().

+ 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

Reimplemented from ilExplorer.

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

85 : bool
86 {
87 return false;
88 }

Referenced by formatObject().

+ Here is the caller graph for this function:

◆ isItemChecked()

ilECSNodeMappingLocalExplorer::isItemChecked ( int  $a_id)

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

113 : bool
114 {
115 return in_array($a_id, $this->checked_items, true);
116 }

Referenced by buildFormItem().

+ Here is the caller graph for this function:

◆ isMapped()

ilECSNodeMappingLocalExplorer::isMapped (   $a_ref_id)
protected

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

335 : bool
336 {
337 return array_key_exists($a_ref_id, $this->mappings);
338 }

Referenced by buildTitle(), and formatHeader().

+ Here is the caller graph for this function:

◆ removeFormItemForType()

ilECSNodeMappingLocalExplorer::removeFormItemForType (   $type)

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

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

References $type.

◆ setCheckedItems()

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

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

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

◆ setPostVar()

ilECSNodeMappingLocalExplorer::setPostVar ( string  $a_post_var)

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

118 : void
119 {
120 $this->post_var = $a_post_var;
121 }

Field Documentation

◆ $checked_items

array ilECSNodeMappingLocalExplorer::$checked_items = []
private

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

Referenced by getCheckedItems().

◆ $form_items

array ilECSNodeMappingLocalExplorer::$form_items = []
private

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

◆ $mappings

array ilECSNodeMappingLocalExplorer::$mappings = []
private

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

Referenced by initMappings().

◆ $mid

int ilECSNodeMappingLocalExplorer::$mid
private

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

Referenced by getMid().

◆ $post_var

string ilECSNodeMappingLocalExplorer::$post_var = ''
private

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

Referenced by getPostVar().

◆ $sid

int ilECSNodeMappingLocalExplorer::$sid
private

Definition at line 39 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 28 of file class.ilECSNodeMappingLocalExplorer.php.

Referenced by buildFormItem().

◆ SEL_TYPE_RADIO

const ilECSNodeMappingLocalExplorer::SEL_TYPE_RADIO = 2

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

Referenced by __construct(), and buildFormItem().


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