|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilExplorerBaseGUI:
Collaboration diagram for ilExplorerBaseGUI:Public Member Functions | |
| setChildLimit (int $a_val) | |
| getChildLimit () | |
| setSearchTerm (string $a_val) | |
| getSearchTerm () | |
| setMainTemplate (ilGlobalTemplateInterface $a_main_tpl=null) | |
| getRootNode () | |
| Get root node. More... | |
| getChildsOfNode ($a_parent_node_id) | |
| Get children of node. More... | |
| getNodeContent ($a_node) | |
| Get content of a node. More... | |
| getNodeId ($a_node) | |
| Get id of a node. More... | |
| getNodeHref ($a_node) | |
| Get href for node. More... | |
| nodeHasVisibleChilds ($a_node) | |
| Node has children Please note that this standard method may not be optimal depending on what a derived class does in isNodeVisible. More... | |
| sortChilds (array $a_childs, $a_parent_node_id) | |
| Sort childs. More... | |
| getNodeIcon ($a_node) | |
| Get node icon path. More... | |
| getNodeIconAlt ($a_node) | |
| Get node icon alt attribute. More... | |
| getNodeTarget ($a_node) | |
| Get node target (frame) attribute. More... | |
| getNodeOnClick ($a_node) | |
| Get node onclick attribute. More... | |
| isNodeVisible ($a_node) | |
| Is node visible? More... | |
| isNodeHighlighted ($a_node) | |
| Is node highlighted? More... | |
| isNodeClickable ($a_node) | |
| Is node clickable? More... | |
| getId () | |
| Get id of explorer element. More... | |
| setSkipRootNode (bool $a_val) | |
| getSkipRootNode () | |
| setAjax (bool $a_val) | |
| getAjax () | |
| setSecondaryHighlightedNodes (array $a_val) | |
| Set secondary (background) highlighted nodes. More... | |
| getSecondaryHighlightedNodes () | |
| Get secondary (background) highlighted nodes. More... | |
| setNodeOpen ($a_id) | |
| Set node to be opened (additional custom opened node, not standard expand behaviour) More... | |
| setSelectMode (string $a_postvar, bool $a_multi=false) | |
| Set select mode (to deactivate, pass an empty string as postvar) More... | |
| setNodeSelected ($a_id) | |
| Set node to be opened (additional custom opened node, not standard expand behaviour) More... | |
| setOfflineMode (bool $a_val) | |
| getOfflineMode () | |
| handleCommand () | |
| Handle explorer internal command. More... | |
| getContainerId () | |
| openNode () | |
| Open node. More... | |
| closeNode () | |
| Close node. More... | |
| getNodeAsync () | |
| Get node asynchronously. More... | |
| beforeRendering () | |
| Before rendering. More... | |
| getOnLoadCode () | |
| Get on load code. More... | |
| getHTML () | |
| renderNode ($a_node, ilTemplate $tpl) | |
| Render node. More... | |
| renderChilds ($a_node_id, ilTemplate $tpl) | |
| Render childs. More... | |
| getDomNodeIdForNodeId ($a_node_id) | |
| Get DOM node id for node id. More... | |
| getNodeIdForDomNodeId (string $a_dom_node_id) | |
| Get node id for dom node id. More... | |
| listItemStart (ilTemplate $tpl, $a_node) | |
| List item start. More... | |
| listItemEnd (ilTemplate $tpl) | |
| listStart (ilTemplate $tpl) | |
| listEnd (ilTemplate $tpl) | |
| isNodeOnclickEnabled () | |
| setNodeOnclickEnabled (bool $nodeOnclickEnabled) | |
| isEnableDnd () | |
| setEnableDnd (bool $enable_dnd) | |
Static Public Member Functions | |
| static | getLocalExplorerJsPath () |
| static | getLocalJsTreeJsPath () |
| static | getLocalJsTreeCssPath () |
| static | createHTMLExportDirs (string $a_target_dir) |
| static | init (ilGlobalTemplateInterface $a_main_tpl=null) |
Protected Member Functions | |
| isNodeSelectable ($a_node) | |
| Is node selectable? More... | |
| getNodeToggleOnClick ($a_node) | |
| Get onclick attribute for node toggling. More... | |
| getSelectOnClick ($a_node) | |
| Get onclick attribute for selecting radio/checkbox. More... | |
| isNodeOpen ($node_id) | |
| Get all open nodes. More... | |
| getJSTreePlugins () | |
| isNodeRequested (string $a_node_id) | |
Protected Attributes | |
| string | $node_parameter_name |
| ilLogger | $log |
| ilCtrl | $ctrl |
| ilGlobalTemplateInterface | $tpl |
| bool | $skip_root_node = false |
| bool | $ajax = false |
| array | $custom_open_nodes = array() |
| array | $selected_nodes = array() |
| string | $select_postvar = "" |
| bool | $offline_mode = false |
| array | $sec_highl_nodes = array() |
| bool | $enable_dnd = false |
| string | $search_term = "" |
| array | $open_nodes = [] |
| ilSessionIStorage | $store |
| bool | $select_multi = false |
| $parent_obj | |
| int | $child_limit = 0 |
| string | $parent_cmd = '' |
| string | $requested_exp_cmd = "" |
| string | $requested_exp_cont = "" |
| string | $requested_searchterm = "" |
| string | $requested_node_id = "" |
| string | $id |
Static Protected Attributes | |
| static string | $js_tree_path = "./node_modules/jstree/dist/jstree.js" |
| static string | $js_tree_path_css = "./node_modules/jstree/dist/themes/default/style.min.css" |
| static string | $js_expl_path = "./Services/UIComponent/Explorer2/js/Explorer2.js" |
Private Attributes | |
| bool | $nodeOnclickEnabled |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning The class is supposed to work on a hierarchie of nodes that are identified by IDs. Whether nodes are represented by associative arrays or objects is not defined by this abstract class.
Definition at line 26 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::beforeRendering | ( | ) |
Before rendering.
Reimplemented in ilLMExplorerGUI, and ilPublicSectionExplorerGUI.
Definition at line 502 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), and getNodeAsync().
Here is the caller graph for this function:| ilExplorerBaseGUI::closeNode | ( | ) |
Close node.
Definition at line 463 of file class.ilExplorerBaseGUI.php.
References $id, exit, and getNodeIdForDomNodeId().
Here is the call graph for this function:
|
static |
Definition at line 137 of file class.ilExplorerBaseGUI.php.
References ilFileUtils\makeDirParents().
Here is the call graph for this function:| ilExplorerBaseGUI::getAjax | ( | ) |
Definition at line 336 of file class.ilExplorerBaseGUI.php.
References $ajax.
Referenced by getOnLoadCode(), listItemStart(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getChildLimit | ( | ) |
Definition at line 102 of file class.ilExplorerBaseGUI.php.
References $child_limit.
Referenced by renderChilds().
Here is the caller graph for this function:
|
abstract |
Get children of node.
| string | $a_parent_node_id |
Reimplemented in ilForumExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Referenced by getHTML(), nodeHasVisibleChilds(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::getContainerId | ( | ) |
Definition at line 442 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by getHTML(), getNodeToggleOnClick(), getOnLoadCode(), and handleCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getDomNodeIdForNodeId | ( | $a_node_id | ) |
Get DOM node id for node id.
| string | $a_node_id |
Reimplemented in ilVirtualSkillTreeExplorerGUI.
Definition at line 823 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by getNodeToggleOnClick(), getOnLoadCode(), getSelectOnClick(), isNodeRequested(), and listItemStart().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getHTML | ( | ) |
Reimplemented in ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 611 of file class.ilExplorerBaseGUI.php.
References $ctrl, $tpl, ilGlobalTemplateInterface\addOnLoadCode(), beforeRendering(), getChildsOfNode(), getContainerId(), getId(), getNodeId(), getOnLoadCode(), getRootNode(), getSkipRootNode(), init(), isNodeVisible(), listEnd(), listStart(), renderNode(), and sortChilds().
Here is the call graph for this function:| ilExplorerBaseGUI::getId | ( | ) |
Get id of explorer element.
Definition at line 316 of file class.ilExplorerBaseGUI.php.
References $id.
Referenced by getContainerId(), getDomNodeIdForNodeId(), getHTML(), getNodeIdForDomNodeId(), and getOnLoadCode().
Here is the caller graph for this function:
|
protected |
Definition at line 585 of file class.ilExplorerBaseGUI.php.
References isEnableDnd().
Referenced by getOnLoadCode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 122 of file class.ilExplorerBaseGUI.php.
References $js_expl_path.
Referenced by ilGroupUserActionProvider\getJsScripts(), and ILIAS\LearningModule\Export\LMHtmlExport\getSupplyingExportFiles().
Here is the caller graph for this function:
|
static |
Definition at line 132 of file class.ilExplorerBaseGUI.php.
References $js_tree_path_css.
Referenced by ILIAS\LearningModule\Export\LMHtmlExport\getSupplyingExportFiles().
Here is the caller graph for this function:
|
static |
Definition at line 127 of file class.ilExplorerBaseGUI.php.
References $js_tree_path.
Referenced by ilGroupUserActionProvider\getJsScripts(), and ILIAS\LearningModule\Export\LMHtmlExport\getSupplyingExportFiles().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeAsync | ( | ) |
Get node asynchronously.
Definition at line 477 of file class.ilExplorerBaseGUI.php.
References $id, beforeRendering(), exit, getNodeId(), getNodeIdForDomNodeId(), getRootNode(), renderChilds(), renderNode(), setSearchTerm(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
abstract |
Get content of a node.
| object | array | $a_node | node array or object |
Reimplemented in ilForumExplorerGUI, ilLMExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilTaxonomyClassificationExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTaxonomyExplorerGUI.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeHref | ( | $a_node | ) |
Get href for node.
| object | array | $a_node |
Reimplemented in ilForumExplorerGUI, ilGroupActionTargetExplorerGUI, ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilOrgUnitExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilPCFileItemFileSelectorGUI, ilPoolSelectorGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, and ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 189 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeIcon | ( | $a_node | ) |
Get node icon path.
| object | array | $a_node |
Reimplemented in ilForumExplorerGUI, ilLMEditorExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilOrgUnitExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, and ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 229 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeIconAlt | ( | $a_node | ) |
Get node icon alt attribute.
| object | array | $a_node |
Reimplemented in ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilAdministrationExplorerGUI, ilMailExplorer, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Definition at line 239 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:
|
abstract |
Get id of a node.
| object | array | $a_node | node array or object |
Reimplemented in ilForumExplorerGUI, ilLSTOCGUI, ilObjStudyProgrammeTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Referenced by getHTML(), getNodeAsync(), getNodeToggleOnClick(), getOnLoadCode(), getSelectOnClick(), isNodeOpen(), isNodeRequested(), listItemStart(), nodeHasVisibleChilds(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeIdForDomNodeId | ( | string | $a_dom_node_id | ) |
Get node id for dom node id.
Reimplemented in ilVirtualSkillTreeExplorerGUI.
Definition at line 831 of file class.ilExplorerBaseGUI.php.
Referenced by closeNode(), getNodeAsync(), and openNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeOnClick | ( | $a_node | ) |
Get node onclick attribute.
| object | array | $a_node | node |
Reimplemented in ilGroupActionTargetExplorerGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, and ilTaxonomyExplorerGUI.
Definition at line 259 of file class.ilExplorerBaseGUI.php.
References getSelectOnClick().
Referenced by renderNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeTarget | ( | $a_node | ) |
Get node target (frame) attribute.
| object | array | $a_node | node |
Definition at line 249 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:
|
finalprotected |
Get onclick attribute for node toggling.
| object | array | $a_node |
Definition at line 372 of file class.ilExplorerBaseGUI.php.
References getContainerId(), getDomNodeIdForNodeId(), and getNodeId().
Here is the call graph for this function:| ilExplorerBaseGUI::getOfflineMode | ( | ) |
Definition at line 416 of file class.ilExplorerBaseGUI.php.
References $offline_mode.
Referenced by ilLMTOCExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilLMExplorerGUI\beforeRendering(), and getOnLoadCode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getOnLoadCode | ( | ) |
Get on load code.
Definition at line 521 of file class.ilExplorerBaseGUI.php.
References $config, $ctrl, $open_nodes, $url, getAjax(), getContainerId(), getDomNodeIdForNodeId(), getId(), getJSTreePlugins(), getNodeId(), getOfflineMode(), and getRootNode().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Get root node.
Please note that the class does not make any requirements how nodes are represented (array or object)
Reimplemented in ilLMTOCExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMailExplorer, ilRepositoryExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Referenced by getHTML(), getNodeAsync(), getOnLoadCode(), isNodeOpen(), isNodeRequested(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getSearchTerm | ( | ) |
Definition at line 112 of file class.ilExplorerBaseGUI.php.
References $search_term.
Referenced by renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::getSecondaryHighlightedNodes | ( | ) |
Get secondary (background) highlighted nodes.
Definition at line 352 of file class.ilExplorerBaseGUI.php.
References $sec_highl_nodes.
|
finalprotected |
Get onclick attribute for selecting radio/checkbox.
| object | array | $a_node |
Definition at line 382 of file class.ilExplorerBaseGUI.php.
References getDomNodeIdForNodeId(), and getNodeId().
Referenced by getNodeOnClick().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getSkipRootNode | ( | ) |
Definition at line 326 of file class.ilExplorerBaseGUI.php.
References $skip_root_node.
Referenced by getHTML(), ilTaxonomyClassificationExplorerGUI\getTreeComponent(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::handleCommand | ( | ) |
Handle explorer internal command.
Definition at line 428 of file class.ilExplorerBaseGUI.php.
References $requested_exp_cmd, and getContainerId().
Here is the call graph for this function:
|
static |
Definition at line 596 of file class.ilExplorerBaseGUI.php.
References $DIC, $tpl, ilGlobalTemplateInterface\addCss(), ilGlobalTemplateInterface\addJavaScript(), ilYuiUtil\initConnection(), and iljQueryUtil\initjQuery().
Referenced by getHTML(), ilInternalLinkGUI\getInitHTML(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), and ilObjStudyProgrammeGUI\initTreeJS().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::isEnableDnd | ( | ) |
Definition at line 887 of file class.ilExplorerBaseGUI.php.
References $enable_dnd.
Referenced by getJSTreePlugins().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeClickable | ( | $a_node | ) |
Is node clickable?
| object | array | $a_node | node |
Reimplemented in ilForumMoveTopicsExplorer, ilGroupActionTargetExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilMaterialExplorer, ilTestQuestionPoolSelectorExplorer, ilAdministrationExplorerGUI, ilConditionSelector, ilPCFileItemFileSelectorGUI, ilLinkTargetObjectExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTreeExplorerGUI, and ilVirtualSkillTreeExplorerGUI.
Definition at line 292 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeHighlighted | ( | $a_node | ) |
Is node highlighted?
| object | array | $a_node | node |
Reimplemented in ilLMExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilAdministrationExplorerGUI, ilConditionSelector, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, and ilTaxonomyExplorerGUI.
Definition at line 282 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeOnclickEnabled | ( | ) |
Definition at line 877 of file class.ilExplorerBaseGUI.php.
References $nodeOnclickEnabled.
Referenced by renderNode().
Here is the caller graph for this function:
|
protected |
Get all open nodes.
| string | $node_id |
Definition at line 510 of file class.ilExplorerBaseGUI.php.
References getNodeId(), and getRootNode().
Referenced by listItemStart().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 813 of file class.ilExplorerBaseGUI.php.
References getDomNodeIdForNodeId(), getNodeId(), and getRootNode().
Referenced by renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Is node selectable?
| object | array | $a_node | node |
Reimplemented in ilForumMoveTopicsExplorer, ilOrgUnitExplorerGUI, ilWorkspaceExplorerGUI, ilRepositorySelectorExplorerGUI, and ilSkillSelectorGUI.
Definition at line 302 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeVisible | ( | $a_node | ) |
Is node visible?
| object | array | $a_node | node |
Reimplemented in ilLMTOCExplorerGUI, ilTestQuestionPoolSelectorExplorer, ilAdministrationExplorerGUI, ilConditionSelector, ilRepositoryExplorerGUI, and ilRepositorySelectorExplorerGUI.
Definition at line 272 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), nodeHasVisibleChilds(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::listEnd | ( | ilTemplate | $tpl | ) |
Definition at line 871 of file class.ilExplorerBaseGUI.php.
References $tpl, and ilGlobalTemplateInterface\touchBlock().
Referenced by getHTML(), and renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::listItemEnd | ( | ilTemplate | $tpl | ) |
Definition at line 859 of file class.ilExplorerBaseGUI.php.
References $tpl, and ilGlobalTemplateInterface\touchBlock().
Referenced by renderNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::listItemStart | ( | ilTemplate | $tpl, |
| $a_node | |||
| ) |
List item start.
| object | array | $a_node |
Reimplemented in ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 841 of file class.ilExplorerBaseGUI.php.
References $tpl, getAjax(), getDomNodeIdForNodeId(), getNodeId(), isNodeOpen(), nodeHasVisibleChilds(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), and ilGlobalTemplateInterface\touchBlock().
Referenced by renderNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::listStart | ( | ilTemplate | $tpl | ) |
Definition at line 865 of file class.ilExplorerBaseGUI.php.
References $tpl, and ilGlobalTemplateInterface\touchBlock().
Referenced by getHTML(), and renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::nodeHasVisibleChilds | ( | $a_node | ) |
Node has children Please note that this standard method may not be optimal depending on what a derived class does in isNodeVisible.
| object | array | $a_node |
Reimplemented in ilRepositoryExplorerGUI.
Definition at line 201 of file class.ilExplorerBaseGUI.php.
References getChildsOfNode(), getNodeId(), and isNodeVisible().
Referenced by listItemStart().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::openNode | ( | ) |
Open node.
Definition at line 450 of file class.ilExplorerBaseGUI.php.
References $id, exit, and getNodeIdForDomNodeId().
Here is the call graph for this function:
|
final |
Render childs.
| string | $a_node_id |
Definition at line 757 of file class.ilExplorerBaseGUI.php.
References $tpl, getChildLimit(), getChildsOfNode(), getSearchTerm(), isNodeRequested(), isNodeVisible(), listEnd(), listStart(), ilTemplate\parseCurrentBlock(), renderNode(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), sortChilds(), and ilGlobalTemplateInterface\touchBlock().
Referenced by getNodeAsync(), and renderNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::renderNode | ( | $a_node, | |
| ilTemplate | $tpl | ||
| ) |
Render node.
| object | array | $a_node |
Definition at line 678 of file class.ilExplorerBaseGUI.php.
References $tpl, getAjax(), getNodeContent(), getNodeHref(), getNodeIcon(), getNodeIconAlt(), getNodeId(), getNodeOnClick(), getNodeTarget(), getRootNode(), getSkipRootNode(), ilUtil\img(), isNodeClickable(), isNodeHighlighted(), isNodeOnclickEnabled(), isNodeSelectable(), listItemEnd(), listItemStart(), ilGlobalTemplateInterface\parseCurrentBlock(), renderChilds(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), and ilGlobalTemplateInterface\touchBlock().
Referenced by getHTML(), getNodeAsync(), and renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::setAjax | ( | bool | $a_val | ) |
Definition at line 331 of file class.ilExplorerBaseGUI.php.
Referenced by ilConditionSelector\__construct(), ilPoolSelectorGUI\__construct(), ilLMExplorerGUI\__construct(), ilOrgUnitExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMailExplorer\__construct(), ilWorkspaceExplorerGUI\__construct(), ilObjStudyProgrammeTreeExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilMaterialExplorer\__construct(), ilForumExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), ilAdministrationExplorerGUI\__construct(), and ilLMExplorerGUI\beforeRendering().
Here is the caller graph for this function:| ilExplorerBaseGUI::setChildLimit | ( | int | $a_val | ) |
Definition at line 97 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::setEnableDnd | ( | bool | $enable_dnd | ) |
Definition at line 893 of file class.ilExplorerBaseGUI.php.
References $enable_dnd.
Referenced by ilObjStudyProgrammeTreeExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setMainTemplate | ( | ilGlobalTemplateInterface | $a_main_tpl = null | ) |
Definition at line 117 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::setNodeOnclickEnabled | ( | bool | $nodeOnclickEnabled | ) |
Definition at line 882 of file class.ilExplorerBaseGUI.php.
References $nodeOnclickEnabled.
Referenced by ilLSTOCGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setNodeOpen | ( | $a_id | ) |
Set node to be opened (additional custom opened node, not standard expand behaviour)
| string | $a_id |
Definition at line 361 of file class.ilExplorerBaseGUI.php.
Referenced by ilLMTableOfContentsExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilForumExplorerGUI\__construct(), and ilPublicSectionExplorerGUI\beforeRendering().
Here is the caller graph for this function:| ilExplorerBaseGUI::setNodeSelected | ( | $a_id | ) |
Set node to be opened (additional custom opened node, not standard expand behaviour)
| string | $a_id |
Definition at line 404 of file class.ilExplorerBaseGUI.php.
Referenced by ilPublicSectionExplorerGUI\beforeRendering(), and ilSkillSelectorGUI\setSkillSelected().
Here is the caller graph for this function:| ilExplorerBaseGUI::setOfflineMode | ( | bool | $a_val | ) |
Definition at line 411 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::setSearchTerm | ( | string | $a_val | ) |
Definition at line 107 of file class.ilExplorerBaseGUI.php.
Referenced by getNodeAsync().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSecondaryHighlightedNodes | ( | array | $a_val | ) |
Set secondary (background) highlighted nodes.
Definition at line 344 of file class.ilExplorerBaseGUI.php.
Referenced by ilLMTOCExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSelectMode | ( | string | $a_postvar, |
| bool | $a_multi = false |
||
| ) |
Set select mode (to deactivate, pass an empty string as postvar)
| string | $a_postvar | variable used for post, a "[]" is added automatically |
| bool | $a_multi | multi select (checkboxes) or not (radio) |
Definition at line 394 of file class.ilExplorerBaseGUI.php.
Referenced by ilTestQuestionPoolSelectorExplorer\__construct(), and ilForumMoveTopicsExplorer\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSkipRootNode | ( | bool | $a_val | ) |
Definition at line 321 of file class.ilExplorerBaseGUI.php.
Referenced by ilPersonalSkillExplorerGUI\__construct(), ilSkillSelectorGUI\__construct(), ilLMExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMailExplorer\__construct(), ilWorkspaceExplorerGUI\__construct(), ilLSTOCGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilMaterialExplorer\__construct(), ilForumExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), and ilAdministrationExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::sortChilds | ( | array | $a_childs, |
| $a_parent_node_id | |||
| ) |
Sort childs.
| array | $a_childs | array of child nodes |
| string | $a_parent_node_id | parent node |
Reimplemented in ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, and ilRepositorySelectorExplorerGUI.
Definition at line 219 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), and renderChilds().
Here is the caller graph for this function:
|
protected |
Definition at line 38 of file class.ilExplorerBaseGUI.php.
Referenced by getAjax().
|
protected |
Definition at line 54 of file class.ilExplorerBaseGUI.php.
Referenced by getChildLimit().
|
protected |
Definition at line 30 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), ilLMEditorExplorerGUI\getNodeHref(), ilMediaPoolExplorerGUI\getNodeHref(), ilMaterialExplorer\getNodeHref(), ilAdministrationExplorerGUI\getNodeHref(), ilPCFileItemFileSelectorGUI\getNodeHref(), ilPoolSelectorGUI\getNodeHref(), ilWorkspaceExplorerGUI\getNodeHref(), ilRepositoryExplorerGUI\getNodeHref(), ilRepositorySelectorExplorerGUI\getNodeHref(), ilPersonalSkillExplorerGUI\getNodeHref(), ilSkillSelectorGUI\getNodeHref(), ilSkillTemplateTreeExplorerGUI\getNodeHref(), ilSkillTreeExplorerGUI\getNodeHref(), ilVirtualSkillTreeExplorerGUI\getNodeHref(), ilTaxonomyExplorerGUI\getNodeHref(), and getOnLoadCode().
|
protected |
Definition at line 39 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 44 of file class.ilExplorerBaseGUI.php.
Referenced by isEnableDnd(), and setEnableDnd().
|
protected |
Definition at line 62 of file class.ilExplorerBaseGUI.php.
Referenced by closeNode(), getId(), getNodeAsync(), ilVirtualSkillTreeExplorerGUI\getNodeIdForDomNodeId(), and openNode().
|
staticprotected |
Definition at line 36 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalExplorerJsPath().
|
staticprotected |
Definition at line 33 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalJsTreeJsPath().
|
staticprotected |
Definition at line 34 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalJsTreeCssPath().
|
protected |
Definition at line 29 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 28 of file class.ilExplorerBaseGUI.php.
|
private |
Definition at line 55 of file class.ilExplorerBaseGUI.php.
Referenced by isNodeOnclickEnabled(), and setNodeOnclickEnabled().
|
protected |
Definition at line 42 of file class.ilExplorerBaseGUI.php.
Referenced by getOfflineMode().
|
protected |
Definition at line 46 of file class.ilExplorerBaseGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 56 of file class.ilExplorerBaseGUI.php.
Referenced by ilTaxonomyClassificationExplorerGUI\__construct(), and ilObjStudyProgrammeTreeExplorerGUI\__construct().
|
protected |
Definition at line 53 of file class.ilExplorerBaseGUI.php.
Referenced by ilTaxonomyClassificationExplorerGUI\__construct(), ilObjStudyProgrammeTreeExplorerGUI\__construct(), ilLMExplorerGUI\beforeRendering(), and ilWorkspaceExplorerGUI\getNodeHref().
|
protected |
Definition at line 58 of file class.ilExplorerBaseGUI.php.
Referenced by handleCommand().
|
protected |
Definition at line 59 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 61 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 60 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 45 of file class.ilExplorerBaseGUI.php.
Referenced by getSearchTerm().
|
protected |
Definition at line 43 of file class.ilExplorerBaseGUI.php.
Referenced by getSecondaryHighlightedNodes().
|
protected |
Definition at line 48 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 41 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 40 of file class.ilExplorerBaseGUI.php.
Referenced by ilOrgUnitExplorerGUI\isNodeSelectable().
|
protected |
Definition at line 37 of file class.ilExplorerBaseGUI.php.
Referenced by getSkipRootNode().
|
protected |
Definition at line 47 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 31 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), ilObjStudyProgrammeTreeExplorerGUI\getNodeContent(), init(), listEnd(), listItemEnd(), listItemStart(), listStart(), renderChilds(), and renderNode().