ILIAS  release_7 Revision v7.30-3-g800a261c036
ilECSNodeMappingLocalExplorer Class Reference

Explorer for ILIAS tree. More...

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

Public Member Functions

 __construct ($a_target, $a_sid, $a_mid)
 
 getSid ()
 
 getMid ()
 
 isClickable ($a_type, $a_ref_id=0, $a_obj_id=0)
 no item is clickable More...
 
 addFormItemForType ($type)
 Add form item. More...
 
 removeFormItemForType ($type)
 
 setCheckedItems ($a_checked_items=array())
 
 getCheckedItems ()
 
 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)
 Creates output recursive method @access private. More...
 
 formatHeader ($tpl, $a_obj_id, $a_option)
 Creates output for header (is empty here but can be overwritten in derived classes) More...
 
 buildTitle ($title, $a_obj_id, $a_type)
 Format title (bold for direct mappings, italic for child mappings) More...
 
- Public Member Functions inherited from ilExplorer
 __construct ($a_target)
 Constructor @access 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 @access public More...
 
 setOrderDirection ($a_direction)
 set the order direction @access public More...
 
 setTargetGet ($a_target_get)
 set the varname in Get-string @access public More...
 
 setParamsGet ($a_params_get)
 set additional params to be passed in Get-string @access 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 @access 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 @access 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 @access 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 @access private. More...
 
 setFrameTarget ($a_target)
 set target frame or not frame? More...
 
 createLines ($a_depth)
 Creates lines for explorer view @access private. More...
 
 is_in_array ($a_start, $a_depth)
 DESCRIPTION MISSING @access private. More...
 
 getIndex ($a_data)
 get index of format_options array from specific ref_id,parent_id @access private More...
 
 addFilter ($a_item)
 adds item to the filter @access public More...
 
 delFilter ($a_item)
 removes item from the filter @access 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,...) @access private More...
 
 forceExpandAll ($a_mode, $a_show_minus=true)
 force expandAll. More...
 
 setFiltered ($a_bool)
 active/deactivate the filter @access public More...
 
 checkFilter ($a_item)
 check if item is in filter @access private More...
 
 sortNodes ($a_nodes, $a_parent_obj_id)
 sort nodes and put adm object to the end of sorted array @access private More...
 

Data Fields

const SEL_TYPE_CHECK = 1
 
const SEL_TYPE_RADIO = 2
 
- Data Fields inherited from ilExplorer
 $id
 
 $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 Member Functions

 initMappings ()
 Init (read) current mappings. More...
 
 isMapped ($a_ref_id)
 
 hasParentMapping ($a_ref_id)
 

Private Attributes

 $checked_items = array()
 
 $post_var = ''
 
 $form_items = array()
 
 $type = 0
 
 $sid = 0
 
 $mid = 0
 
 $mappings = array()
 

Additional Inherited Members

- Protected Attributes inherited from ilExplorer
 $obj_definition
 
 $error
 
 $rbacsystem
 
 $tpl
 
 $lng
 

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 $Id$

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

Constructor & Destructor Documentation

◆ __construct()

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

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

28 {
29 global $DIC;
30
31 $tree = $DIC['tree'];
32
33 parent::__construct($a_target);
34
35 $this->sid = $a_sid;
36 $this->mid = $a_mid;
37
38 $this->type = self::SEL_TYPE_RADIO;
39
40 $this->tree = $tree;
41 $this->setRoot($tree->readRootId());
42 $this->setOrderColumn('title');
43
44
45 // reset filter
46 $this->filter = array();
47
48 $this->addFilter('root');
49 $this->addFilter('cat');
50
51 $this->addFormItemForType('root');
52 $this->addFormItemForType('cat');
53
54 $this->setFiltered(true);
56
57 $this->initMappings();
58 }
const IL_FM_POSITIVE
addFilter($a_item)
adds item to the filter @access public
setRoot($a_root_id)
Set root node.
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
setFiltered($a_bool)
active/deactivate the filter @access public
setOrderColumn($a_column)
set the order column @access public
filter()
Definition: filter.php:2
global $DIC
Definition: goto.php:24
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $DIC, ilExplorer\$tree, ILIAS\GlobalScreen\Provider\__construct(), ilExplorer\addFilter(), addFormItemForType(), 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.

Parameters
<type>$type

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

87 {
88 $this->form_items[$type] = true;
89 }

References $type.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ buildFormItem()

ilECSNodeMappingLocalExplorer::buildFormItem (   $a_node_id,
  $a_type 
)

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

121 {
122 if (!array_key_exists($a_type, $this->form_items) || !$this->form_items[$a_type]) {
123 return '';
124 }
125
126 switch ($this->type) {
128 return ilUtil::formCheckbox((int) $this->isItemChecked($a_node_id), $this->post_var, $a_node_id);
129 break;
130
132 return ilUtil::formRadioButton((int) $this->isItemChecked($a_node_id), $this->post_var, $a_node_id, "document.getElementById('map').submit(); return false;");
133 break;
134 }
135 }
static formRadioButton($checked, $varname, $value, $onclick=null, $disabled=false)
??? @access public
static formCheckbox($checked, $varname, $value, $disabled=false)
??? @access public

References ilUtil\formCheckbox(), ilUtil\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 (   $title,
  $a_obj_id,
  $a_type 
)

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

Parameters
type$title
type$a_obj_id
type$a_type
Returns
type

Reimplemented from ilExplorer.

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

302 {
303 if ($this->isMapped($a_obj_id)) {
304 return '<font style="font-weight: bold">' . $title . '</font>';
305 }
306 if ($this->hasParentMapping($a_obj_id)) {
307 return '<font style="font-style: italic">' . $title . '</font>';
308 }
309 return $title;
310 }

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 (   $tpl,
  $a_obj_id,
  $a_option 
)

Creates output for header (is empty here but can be overwritten in derived classes)

@access public

Parameters
integerobj_id
integerarray options

Reimplemented from ilExplorer.

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

256 {
257 global $DIC;
258
259 $lng = $DIC['lng'];
260 $ilias = $DIC['ilias'];
261 $tree = $DIC['tree'];
262
263 // custom icons
264 $path = ilObject::_getIcon($a_obj_id, "tiny", "root");
265
266
267 $tpl->setCurrentBlock("icon");
268 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
269 $title = $nd["title"];
270 if ($title == "ILIAS") {
271 $title = $lng->txt("repository");
272 }
273
274 $tpl->setVariable("ICON_IMAGE", $path);
275 $tpl->setVariable("TXT_ALT_IMG", $title);
276 $tpl->parseCurrentBlock();
277
278 if (strlen($formItem = $this->buildFormItem($a_obj_id, $a_option['type']))) {
279 $tpl->setCurrentBlock('check');
280 $tpl->setVariable('OBJ_CHECK', $formItem);
281 $tpl->parseCurrentBlock();
282 }
283
284 if ($this->isMapped(ROOT_FOLDER_ID)) {
285 $tpl->setVariable(
286 'OBJ_TITLE',
287 '<font style="font-weight: bold">' . $title . '</font>'
288 );
289 } else {
290 $tpl->setVariable('OBJ_TITLE', $title);
291 }
292 }
static _getIcon( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
const ROOT_FOLDER_ID
Definition: constants.php:30
$nd
Definition: error.php:12

References $DIC, ilExplorer\$lng, $nd, ilExplorer\$tpl, ilExplorer\$tree, ilObject\_getIcon(), buildFormItem(), isMapped(), and ROOT_FOLDER_ID.

+ Here is the call graph for this function:

◆ formatObject()

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

Creates output recursive method @access private.

Parameters
integer
array
Returns
string

Reimplemented from ilExplorer.

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

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

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

+ Here is the call graph for this function:

◆ getCheckedItems()

ilECSNodeMappingLocalExplorer::getCheckedItems ( )

◆ getMid()

ilECSNodeMappingLocalExplorer::getMid ( )

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

References $mid.

Referenced by initMappings().

+ Here is the caller graph for this function:

◆ getPostVar()

ilECSNodeMappingLocalExplorer::getPostVar ( )

◆ getSid()

ilECSNodeMappingLocalExplorer::getSid ( )

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

335 {
336 foreach ($this->mappings as $ref_id => $parent_nodes) {
337 if (in_array($a_ref_id, $parent_nodes)) {
338 return true;
339 }
340 }
341 return false;
342 }

Referenced by buildTitle().

+ Here is the caller graph for this function:

◆ initMappings()

ilECSNodeMappingLocalExplorer::initMappings ( )
protected

Init (read) current mappings.

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

316 {
317 include_once './Services/WebServices/ECS/classes/Course/class.ilECSCourseMappingRule.php';
318 $mappings = array();
319 foreach (ilECSCourseMappingRule::getRuleRefIds($this->getSid(), $this->getMid()) as $ref_id) {
320 $mappings[$ref_id] = array();
321 }
322
323 foreach ($mappings as $ref_id => $tmp) {
324 $this->mappings[$ref_id] = $GLOBALS['DIC']['tree']->getPathId($ref_id, 1);
325 }
326 return true;
327 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
static getRuleRefIds($a_sid, $a_mid)

References $GLOBALS, $mappings, 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 (   $a_type,
  $a_ref_id = 0,
  $a_obj_id = 0 
)

no item is clickable

Parameters
<type>$a_type
<type>$a_ref_id
<type>$a_obj_id
Returns
<type>

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

78 {
79 return false;
80 }

Referenced by formatObject().

+ Here is the caller graph for this function:

◆ isItemChecked()

ilECSNodeMappingLocalExplorer::isItemChecked (   $a_id)

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

107 {
108 return in_array($a_id, $this->checked_items) ? true : false;
109 }
return true
Flag indicating whether or not HTTP headers will be sent when outputting captcha image/audio.

References true.

Referenced by buildFormItem().

+ Here is the caller graph for this function:

◆ isMapped()

ilECSNodeMappingLocalExplorer::isMapped (   $a_ref_id)
protected

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

330 {
331 return array_key_exists($a_ref_id, $this->mappings);
332 }

Referenced by buildTitle(), and formatHeader().

+ Here is the caller graph for this function:

◆ removeFormItemForType()

ilECSNodeMappingLocalExplorer::removeFormItemForType (   $type)

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

92 {
93 $this->form_items[$type] = false;
94 }

References $type.

◆ setCheckedItems()

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

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

97 {
98 $this->checked_items = $a_checked_items;
99 }

◆ setPostVar()

ilECSNodeMappingLocalExplorer::setPostVar (   $a_post_var)

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

112 {
113 $this->post_var = $a_post_var;
114 }

Field Documentation

◆ $checked_items

ilECSNodeMappingLocalExplorer::$checked_items = array()
private

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

Referenced by getCheckedItems().

◆ $form_items

ilECSNodeMappingLocalExplorer::$form_items = array()
private

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

◆ $mappings

ilECSNodeMappingLocalExplorer::$mappings = array()
private

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

Referenced by initMappings().

◆ $mid

ilECSNodeMappingLocalExplorer::$mid = 0
private

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

Referenced by getMid().

◆ $post_var

ilECSNodeMappingLocalExplorer::$post_var = ''
private

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

Referenced by getPostVar().

◆ $sid

ilECSNodeMappingLocalExplorer::$sid = 0
private

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

Referenced by getSid().

◆ $type

ilECSNodeMappingLocalExplorer::$type = 0
private

◆ SEL_TYPE_CHECK

const ilECSNodeMappingLocalExplorer::SEL_TYPE_CHECK = 1

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

Referenced by buildFormItem().

◆ SEL_TYPE_RADIO

const ilECSNodeMappingLocalExplorer::SEL_TYPE_RADIO = 2

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

Referenced by __construct(), and buildFormItem().


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