|
ILIAS
release_8 Revision v8.24
|
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 |
Explorer for ILIAS tree.
Definition at line 25 of file class.ilECSNodeMappingLocalExplorer.php.
| 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(), SEL_TYPE_RADIO, ilExplorer\setFiltered(), ilExplorer\setFilterMode(), ilExplorer\setOrderColumn(), and ilExplorer\setRoot().
Here is the call graph for this function:| ilECSNodeMappingLocalExplorer::addFormItemForType | ( | $type | ) |
Add form item.
Definition at line 92 of file class.ilECSNodeMappingLocalExplorer.php.
References $type.
Referenced by __construct().
Here is the caller graph for this function:| ilECSNodeMappingLocalExplorer::buildFormItem | ( | $a_node_id, | |
| string | $a_type | ||
| ) |
Definition at line 126 of file class.ilECSNodeMappingLocalExplorer.php.
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:| 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 307 of file class.ilECSNodeMappingLocalExplorer.php.
References hasParentMapping(), and isMapped().
Referenced by formatObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSNodeMappingLocalExplorer::formatHeader | ( | ilTemplate | $tpl, |
| $a_obj_id, | |||
| array | $a_option | ||
| ) |
overwritten method from base class
Reimplemented from ilExplorer.
Definition at line 271 of file class.ilECSNodeMappingLocalExplorer.php.
References $nd, $path, ilExplorer\$title, ilExplorer\$tpl, ilObject\_getIcon(), buildFormItem(), isMapped(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\parseCurrentBlock(), ROOT_FOLDER_ID, ilGlobalTemplateInterface\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilGlobalTemplateInterface\setVariable().
Here is the call graph for this function:| ilECSNodeMappingLocalExplorer::formatObject | ( | ilTemplate | $tpl, |
| $a_node_id, | |||
| array | $a_option, | ||
$a_obj_id = 0 |
|||
| ) |
| int | string | $a_node_id |
| ilTemplateException |
Reimplemented from ilExplorer.
Definition at line 154 of file class.ilECSNodeMappingLocalExplorer.php.
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(), ilGlobalTemplateInterface\parseCurrentBlock(), ilTemplate\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilExplorer\setParamsGet(), ilGlobalTemplateInterface\setVariable(), ilStr\shortenTextExtended(), and ilGlobalTemplateInterface\touchBlock().
Here is the call graph for this function:| ilECSNodeMappingLocalExplorer::getCheckedItems | ( | ) |
Definition at line 107 of file class.ilECSNodeMappingLocalExplorer.php.
References $checked_items.
| ilECSNodeMappingLocalExplorer::getMid | ( | ) |
Definition at line 76 of file class.ilECSNodeMappingLocalExplorer.php.
References $mid.
Referenced by initMappings().
Here is the caller graph for this function:| ilECSNodeMappingLocalExplorer::getPostVar | ( | ) |
Definition at line 121 of file class.ilECSNodeMappingLocalExplorer.php.
References $post_var.
| ilECSNodeMappingLocalExplorer::getSid | ( | ) |
Definition at line 71 of file class.ilECSNodeMappingLocalExplorer.php.
References $sid.
Referenced by initMappings().
Here is the caller graph for this function:
|
protected |
Definition at line 339 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by buildTitle().
Here is the caller graph for this function:
|
protected |
Init (read) current mappings.
Definition at line 321 of file class.ilECSNodeMappingLocalExplorer.php.
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:| ilECSNodeMappingLocalExplorer::isClickable | ( | string | $type, |
| int | $ref_id = 0 |
||
| ) |
no item is clickable
Reimplemented from ilExplorer.
Definition at line 84 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by formatObject().
Here is the caller graph for this function:| ilECSNodeMappingLocalExplorer::isItemChecked | ( | int | $a_id | ) |
Definition at line 112 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by buildFormItem().
Here is the caller graph for this function:
|
protected |
Definition at line 334 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by buildTitle(), and formatHeader().
Here is the caller graph for this function:| ilECSNodeMappingLocalExplorer::removeFormItemForType | ( | $type | ) |
Definition at line 97 of file class.ilECSNodeMappingLocalExplorer.php.
References $type.
| ilECSNodeMappingLocalExplorer::setCheckedItems | ( | $a_checked_items = array() | ) |
Definition at line 102 of file class.ilECSNodeMappingLocalExplorer.php.
| ilECSNodeMappingLocalExplorer::setPostVar | ( | string | $a_post_var | ) |
Definition at line 117 of file class.ilECSNodeMappingLocalExplorer.php.
|
private |
Definition at line 33 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by getCheckedItems().
|
private |
Definition at line 35 of file class.ilECSNodeMappingLocalExplorer.php.
|
private |
Definition at line 41 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by initMappings().
|
private |
Definition at line 39 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by getMid().
|
private |
Definition at line 34 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by getPostVar().
|
private |
Definition at line 38 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by getSid().
|
private |
Definition at line 36 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by addFormItemForType(), and removeFormItemForType().
| const ilECSNodeMappingLocalExplorer::SEL_TYPE_CHECK = 1 |
Definition at line 27 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by buildFormItem().
| const ilECSNodeMappingLocalExplorer::SEL_TYPE_RADIO = 2 |
Definition at line 28 of file class.ilECSNodeMappingLocalExplorer.php.
Referenced by __construct(), and buildFormItem().