|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Explorer base GUI class. More...
Inheritance diagram for ilExplorerBaseGUI:
Collaboration diagram for ilExplorerBaseGUI:Public Member Functions | |
| __construct ($a_expl_id, $a_parent_obj, $a_parent_cmd) | |
| Constructor. More... | |
| setChildLimit ($a_val) | |
| Set child limit. More... | |
| getChildLimit () | |
| Get child limit. More... | |
| setSearchTerm ($a_val) | |
| Set search term. More... | |
| getSearchTerm () | |
| Get search term. More... | |
| setMainTemplate ($a_main_tpl=null) | |
| Set main template (that is responsible for adding js/css) More... | |
| getRootNode () | |
| Get root node. More... | |
| getChildsOfNode ($a_parent_node_id) | |
| Get childs 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 childs? More... | |
| sortChilds ($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 ($a_val) | |
| Set skip root node. More... | |
| getSkipRootNode () | |
| Get skip root node. More... | |
| setAjax ($a_val) | |
| Set ajax. More... | |
| getAjax () | |
| Get ajax. More... | |
| setSecondaryHighlightedNodes ($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 ($a_postvar, $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 ($a_val) | |
| Set offline mode. More... | |
| getOfflineMode () | |
| Get offline mode. More... | |
| handleCommand () | |
| Handle explorer internal command. More... | |
| getContainerId () | |
| Get container id. More... | |
| openNode () | |
| Open node. More... | |
| closeNode () | |
| Close node. More... | |
| getNodeAsync () | |
| Get node asynchronously. More... | |
| beforeRendering () | |
| Before rendering. More... | |
| getOnLoadCode () | |
| Get on load code. More... | |
| getHTML () | |
| Get HTML. More... | |
| renderNode ($a_node, $tpl) | |
| Render node. More... | |
| renderChilds ($a_node_id, $tpl) | |
| Render childs. More... | |
| getDomNodeIdForNodeId ($a_node_id) | |
| Get DOM node id for node id. More... | |
| getNodeIdForDomNodeId ($a_dom_node_id) | |
| Get node id for dom node id. More... | |
| listItemStart ($tpl, $a_node) | |
| List item start. More... | |
| listItemEnd ($tpl) | |
| List item end. More... | |
| listStart ($tpl) | |
| List start. More... | |
| listEnd ($tpl) | |
| List end. More... | |
| isNodeOnclickEnabled () | |
| setNodeOnclickEnabled ($nodeOnclickEnabled) | |
| isEnableDnd () | |
| setEnableDnd ($enable_dnd) | |
| Enable Drag & Drop functionality. More... | |
Static Public Member Functions | |
| static | getLocalExplorerJsPath () |
| Get local path of explorer js. More... | |
| static | getLocalJsTreeJsPath () |
| Get local path of jsTree js. More... | |
| static | getLocalJsTreeCssPath () |
| Get local path of jsTree js. More... | |
| static | createHTMLExportDirs ($a_target_dir) |
| Create html export directories. More... | |
| static | init ($a_main_tpl=null) |
| Init JS. More... | |
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 () | |
Protected Attributes | |
| $log | |
| $ctrl | |
| $tpl | |
| $skip_root_node = false | |
| $ajax = false | |
| $custom_open_nodes = array() | |
| $selected_nodes = array() | |
| $select_postvar = "" | |
| $offline_mode = false | |
| $sec_highl_nodes = array() | |
| $enable_dnd = false | |
| $search_term = "" | |
| $open_nodes = [] | |
| $store | |
| $parent_obj | |
| $child_limit = 0 | |
| $parent_cmd = '' | |
Static Protected Attributes | |
| static | $js_tree_path = "./libs/bower/bower_components/jstree/dist/jstree.js" |
| static | $js_tree_path_css = "./libs/bower/bower_components/jstree/dist/themes/default/style.min.css" |
| static | $js_expl_path = "./Services/UIComponent/Explorer2/js/Explorer2.js" |
Private Attributes | |
| $nodeOnclickEnabled | |
Explorer base GUI class.
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 16 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::__construct | ( | $a_expl_id, | |
| $a_parent_obj, | |||
| $a_parent_cmd | |||
| ) |
Constructor.
Reimplemented in ilVirtualSkillTreeExplorerGUI, ilLinkTargetObjectExplorerGUI, ilPublicSectionExplorerGUI, ilMediaPoolExplorerGUI, ilGroupActionTargetExplorerGUI, ilMaterialExplorer, ilSCORM2004EditorExplorerGUI, and ilTestQuestionPoolSelectorExplorer.
Definition at line 72 of file class.ilExplorerBaseGUI.php.
References $_GET, $DIC, $open_nodes, and ilYuiUtil\initConnection().
Here is the call graph for this function:| ilExplorerBaseGUI::beforeRendering | ( | ) |
Before rendering.
Reimplemented in ilLMExplorerGUI, and ilPublicSectionExplorerGUI.
Definition at line 620 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 578 of file class.ilExplorerBaseGUI.php.
References $_GET, $ilLog, $log, exit, and getNodeIdForDomNodeId().
Here is the call graph for this function:
|
static |
Create html export directories.
| string | $a_target_dir | target directory |
Definition at line 178 of file class.ilExplorerBaseGUI.php.
References ilUtil\makeDirParents().
Here is the call graph for this function:| ilExplorerBaseGUI::getAjax | ( | ) |
Get ajax.
Definition at line 417 of file class.ilExplorerBaseGUI.php.
References $ajax.
Referenced by getOnLoadCode(), ilObjStudyProgrammeTreeExplorerGUI\listItemStart(), listItemStart(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getChildLimit | ( | ) |
Get child limit.
Definition at line 112 of file class.ilExplorerBaseGUI.php.
References $child_limit.
Referenced by renderChilds().
Here is the caller graph for this function:
|
abstract |
Get childs of node.
| string | $a_parent_id | parent node id |
Reimplemented in ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilTreeExplorerGUI, and ilForumExplorerGUI.
Referenced by getHTML(), nodeHasVisibleChilds(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::getContainerId | ( | ) |
Get container id.
return
Definition at line 555 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by ilObjStudyProgrammeTreeExplorerGUI\getHTML(), 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.
return
Reimplemented in ilVirtualSkillTreeExplorerGUI.
Definition at line 953 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by ilTreeExplorerGUI\getChildsOfNode(), getNodeToggleOnClick(), getOnLoadCode(), getSelectOnClick(), ilObjStudyProgrammeTreeExplorerGUI\listItemStart(), listItemStart(), and renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getHTML | ( | ) |
Get HTML.
Reimplemented in ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 738 of file class.ilExplorerBaseGUI.php.
References $ctrl, $ilCtrl, $tpl, 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 375 of file class.ilExplorerBaseGUI.php.
Referenced by getContainerId(), getDomNodeIdForNodeId(), getHTML(), getNodeIdForDomNodeId(), and getOnLoadCode().
Here is the caller graph for this function:
|
protected |
Definition at line 703 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 |
Get local path of explorer js.
Definition at line 152 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 |
Get local path of jsTree js.
Definition at line 168 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 |
Get local path of jsTree js.
Definition at line 160 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 594 of file class.ilExplorerBaseGUI.php.
References $_GET, 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.
| mixed | $a_node | node array or object |
Reimplemented in ilForumExplorerGUI, ilLMExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilSCORM2004EditorExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, ilKSDocumentationExplorerGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, and ilMailExplorer.
Referenced by ilTreeExplorerGUI\matches(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeHref | ( | $a_node | ) |
Get href for node.
| mixed | $a_node | node object/array |
Reimplemented in ilGroupActionTargetExplorerGUI, ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilSCORM2004EditorExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilPCFileItemFileSelectorGUI, ilPoolSelectorGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, ilKSDocumentationExplorerGUI, ilForumExplorerGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, and ilMailExplorer.
Definition at line 235 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeIcon | ( | $a_node | ) |
Get node icon path.
| mixed | $a_node | node object/array |
Reimplemented in ilLMEditorExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilMediaPoolExplorerGUI, ilOrgUnitExplorerGUI, ilSCORM2004EditorExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, ilForumExplorerGUI, and ilMailExplorer.
Definition at line 280 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.
| mixed | $a_node | node object/array |
Reimplemented in ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilSCORM2004EditorExplorerGUI, ilAdministrationExplorerGUI, ilMailExplorer, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Definition at line 291 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:
|
abstract |
Get id of a node.
| mixed | $a_node | node array or object |
Reimplemented in ilForumExplorerGUI, ilLSTOCGUI, ilObjStudyProgrammeTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTreeExplorerGUI, and ilKSDocumentationExplorerGUI.
Referenced by getHTML(), getNodeAsync(), getNodeToggleOnClick(), getOnLoadCode(), getSelectOnClick(), isNodeOpen(), listItemStart(), nodeHasVisibleChilds(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeIdForDomNodeId | ( | $a_dom_node_id | ) |
Get node id for dom node id.
return
Reimplemented in ilVirtualSkillTreeExplorerGUI.
Definition at line 964 of file class.ilExplorerBaseGUI.php.
Referenced by closeNode(), getNodeAsync(), ilObjStudyProgrammeTreeExplorerGUI\openCertainNode(), 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.
| mixed | $a_node | node object/array |
Reimplemented in ilGroupActionTargetExplorerGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, and ilTaxonomyExplorerGUI.
Definition at line 313 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.
| mixed | $a_node | node object/array |
Definition at line 302 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:
|
finalprotected |
Get onclick attribute for node toggling.
return
Definition at line 461 of file class.ilExplorerBaseGUI.php.
References getContainerId(), getDomNodeIdForNodeId(), and getNodeId().
Here is the call graph for this function:| ilExplorerBaseGUI::getOfflineMode | ( | ) |
Get offline mode.
Definition at line 521 of file class.ilExplorerBaseGUI.php.
References $offline_mode.
Referenced by ilLMTOCExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilLMExplorerGUI\beforeRendering(), ilLMTOCExplorerGUI\getNodeHref(), ilLMTOCExplorerGUI\getNodeIcon(), getOnLoadCode(), and ilLMTOCExplorerGUI\isNodeClickable().
Here is the caller graph for this function:| ilExplorerBaseGUI::getOnLoadCode | ( | ) |
Get on load code.
return
Definition at line 644 of file class.ilExplorerBaseGUI.php.
References $config, $ctrl, $ilCtrl, $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, ilRepositoryExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilKSDocumentationExplorerGUI, and ilTreeExplorerGUI.
Referenced by getHTML(), getNodeAsync(), getOnLoadCode(), isNodeOpen(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::getSearchTerm | ( | ) |
Get search term.
Definition at line 132 of file class.ilExplorerBaseGUI.php.
References $search_term.
Referenced by ilTreeExplorerGUI\getChildsOfNode(), ilTreeExplorerGUI\matches(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::getSecondaryHighlightedNodes | ( | ) |
Get secondary (background) highlighted nodes.
Definition at line 437 of file class.ilExplorerBaseGUI.php.
References $sec_highl_nodes.
|
finalprotected |
Get onclick attribute for selecting radio/checkbox.
return
Definition at line 473 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 | ( | ) |
Get skip root node.
Definition at line 397 of file class.ilExplorerBaseGUI.php.
References $skip_root_node.
Referenced by getHTML(), and renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::handleCommand | ( | ) |
Handle explorer internal command.
Definition at line 535 of file class.ilExplorerBaseGUI.php.
References $_GET, and getContainerId().
Here is the call graph for this function:
|
static |
Init JS.
Definition at line 716 of file class.ilExplorerBaseGUI.php.
References $DIC, $tpl, 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 1046 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?
| mixed | $a_node | node object/array |
Reimplemented in ilForumMoveTopicsExplorer, ilGroupActionTargetExplorerGUI, ilPublicSectionExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilConditionSelector, ilPCFileItemFileSelectorGUI, ilLinkTargetObjectExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilTestQuestionPoolSelectorExplorer, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTreeExplorerGUI, and ilVirtualSkillTreeExplorerGUI.
Definition at line 349 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeHighlighted | ( | $a_node | ) |
Is node highlighted?
| mixed | $a_node | node object/array |
Reimplemented in ilLMExplorerGUI, ilLMTOCExplorerGUI, ilMediaPoolExplorerGUI, ilSCORM2004EditorExplorerGUI, ilAdministrationExplorerGUI, ilConditionSelector, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, and ilKSDocumentationExplorerGUI.
Definition at line 338 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeOnclickEnabled | ( | ) |
Definition at line 1033 of file class.ilExplorerBaseGUI.php.
References $nodeOnclickEnabled.
Referenced by renderNode().
Here is the caller graph for this function:
|
protected |
Get all open nodes.
return
Definition at line 630 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 |
Is node selectable?
| mixed | $a_node | node object/array |
Reimplemented in ilForumMoveTopicsExplorer, ilOrgUnitExplorerGUI, ilWorkspaceExplorerGUI, ilRepositorySelectorExplorerGUI, and ilSkillSelectorGUI.
Definition at line 360 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeVisible | ( | $a_node | ) |
Is node visible?
| mixed | $a_node | node object/array |
Reimplemented in ilForumMoveTopicsExplorer, ilLMTOCExplorerGUI, ilAdministrationExplorerGUI, ilConditionSelector, ilPoolSelectorGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, and ilTestQuestionPoolSelectorExplorer.
Definition at line 327 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), nodeHasVisibleChilds(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::listEnd | ( | $tpl | ) |
List end.
return
Definition at line 1024 of file class.ilExplorerBaseGUI.php.
References $tpl.
Referenced by getHTML(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::listItemEnd | ( | $tpl | ) |
List item end.
return
Definition at line 1000 of file class.ilExplorerBaseGUI.php.
References $tpl.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::listItemStart | ( | $tpl, | |
| $a_node | |||
| ) |
List item start.
return
Reimplemented in ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 976 of file class.ilExplorerBaseGUI.php.
References $tpl, getAjax(), getDomNodeIdForNodeId(), getNodeId(), isNodeOpen(), and nodeHasVisibleChilds().
Referenced by renderNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::listStart | ( | $tpl | ) |
List start.
return
Definition at line 1012 of file class.ilExplorerBaseGUI.php.
References $tpl.
Referenced by getHTML(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::nodeHasVisibleChilds | ( | $a_node | ) |
Node has childs?
Please note that this standard method may not be optimal depending on what a derived class does in isNodeVisible.
return
Definition at line 249 of file class.ilExplorerBaseGUI.php.
References getChildsOfNode(), getNodeId(), and isNodeVisible().
Referenced by ilObjStudyProgrammeTreeExplorerGUI\listItemStart(), and listItemStart().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::openNode | ( | ) |
Open node.
Definition at line 563 of file class.ilExplorerBaseGUI.php.
References $_GET, $ilLog, $log, exit, and getNodeIdForDomNodeId().
Here is the call graph for this function:
|
final |
Render childs.
return
Definition at line 889 of file class.ilExplorerBaseGUI.php.
References $tpl, getChildLimit(), getChildsOfNode(), getDomNodeIdForNodeId(), getSearchTerm(), isNodeVisible(), listEnd(), listStart(), renderNode(), and sortChilds().
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, | |
| $tpl | |||
| ) |
Render node.
return
Definition at line 807 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(), and renderChilds().
Referenced by getHTML(), getNodeAsync(), and renderChilds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::setAjax | ( | $a_val | ) |
Set ajax.
| boolean | $a_val | ajax |
Definition at line 407 of file class.ilExplorerBaseGUI.php.
Referenced by ilConditionSelector\__construct(), ilPoolSelectorGUI\__construct(), ilRepositorySelectorExplorerGUI\__construct(), ilOrgUnitExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), ilAdministrationExplorerGUI\__construct(), ilRepositoryExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilMaterialExplorer\__construct(), ilSCORM2004EditorExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilObjStudyProgrammeTreeExplorerGUI\__construct(), ilWorkspaceExplorerGUI\__construct(), ilMailExplorer\__construct(), ilForumExplorerGUI\__construct(), and ilLMExplorerGUI\beforeRendering().
Here is the caller graph for this function:| ilExplorerBaseGUI::setChildLimit | ( | $a_val | ) |
Set child limit.
| int | $a_val | child limit |
Definition at line 102 of file class.ilExplorerBaseGUI.php.
Referenced by ilRepositorySelectorExplorerGUI\__construct(), and ilRepositoryExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setEnableDnd | ( | $enable_dnd | ) |
Enable Drag & Drop functionality.
| boolean | $enable_dnd |
Definition at line 1055 of file class.ilExplorerBaseGUI.php.
References $enable_dnd.
Referenced by ilObjStudyProgrammeTreeExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setMainTemplate | ( | $a_main_tpl = null | ) |
Set main template (that is responsible for adding js/css)
| ilTemplate | null | $a_main_tpl |
Definition at line 143 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::setNodeOnclickEnabled | ( | $nodeOnclickEnabled | ) |
| boolean | $nodeOnclickEnabled |
Definition at line 1041 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)
return
Definition at line 448 of file class.ilExplorerBaseGUI.php.
Referenced by ilRepositoryExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilLMTableOfContentsExplorerGUI\__construct(), ilForumExplorerGUI\__construct(), ilPublicSectionExplorerGUI\beforeRendering(), ilKSDocumentationExplorerGUI\openNodesRecursively(), and ilTreeExplorerGUI\setPathOpen().
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)
return
Definition at line 499 of file class.ilExplorerBaseGUI.php.
Referenced by ilPublicSectionExplorerGUI\beforeRendering(), and ilSkillSelectorGUI\setSkillSelected().
Here is the caller graph for this function:| ilExplorerBaseGUI::setOfflineMode | ( | $a_val | ) |
Set offline mode.
| bool | $a_val | offline mode |
Definition at line 511 of file class.ilExplorerBaseGUI.php.
Referenced by ilKSDocumentationExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSearchTerm | ( | $a_val | ) |
Set search term.
| string | $a_val | search term |
Definition at line 122 of file class.ilExplorerBaseGUI.php.
Referenced by getNodeAsync().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSecondaryHighlightedNodes | ( | $a_val | ) |
Set secondary (background) highlighted nodes.
| array | $a_val | array of node ids |
Definition at line 427 of file class.ilExplorerBaseGUI.php.
Referenced by ilLMTOCExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSelectMode | ( | $a_postvar, | |
$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 |
| boolean | $a_multi | multi select (checkboxes) or not (radio) |
Definition at line 487 of file class.ilExplorerBaseGUI.php.
Referenced by ilForumMoveTopicsExplorer\__construct(), and ilTestQuestionPoolSelectorExplorer\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setSkipRootNode | ( | $a_val | ) |
Set skip root node.
If set to false, the top node will not be displayed.
| boolean | $a_val | skip root node |
Definition at line 387 of file class.ilExplorerBaseGUI.php.
Referenced by ilRepositorySelectorExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), ilAdministrationExplorerGUI\__construct(), ilRepositoryExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilPersonalSkillExplorerGUI\__construct(), ilSkillSelectorGUI\__construct(), ilMaterialExplorer\__construct(), ilSCORM2004EditorExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilWorkspaceExplorerGUI\__construct(), ilMailExplorer\__construct(), ilLSTOCGUI\__construct(), and ilForumExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::sortChilds | ( | $a_childs, | |
| $a_parent_node_id | |||
| ) |
Sort childs.
| array | $a_childs | array of child nodes |
| mixed | $a_parent_node | parent node |
Reimplemented in ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, and ilRepositorySelectorExplorerGUI.
Definition at line 269 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), and renderChilds().
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilExplorerBaseGUI.php.
Referenced by getAjax().
|
protected |
Definition at line 62 of file class.ilExplorerBaseGUI.php.
Referenced by getChildLimit().
|
protected |
Definition at line 26 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), ilLMEditorExplorerGUI\getNodeHref(), ilMediaPoolExplorerGUI\getNodeHref(), ilSCORM2004EditorExplorerGUI\getNodeHref(), ilMaterialExplorer\getNodeHref(), and getOnLoadCode().
|
protected |
Definition at line 40 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 45 of file class.ilExplorerBaseGUI.php.
Referenced by isEnableDnd(), and setEnableDnd().
|
staticprotected |
Definition at line 37 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalExplorerJsPath().
|
staticprotected |
Definition at line 34 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalJsTreeJsPath().
|
staticprotected |
Definition at line 35 of file class.ilExplorerBaseGUI.php.
Referenced by getLocalJsTreeCssPath().
|
protected |
Definition at line 21 of file class.ilExplorerBaseGUI.php.
Referenced by closeNode(), and openNode().
|
private |
Definition at line 64 of file class.ilExplorerBaseGUI.php.
Referenced by isNodeOnclickEnabled(), and setNodeOnclickEnabled().
|
protected |
Definition at line 43 of file class.ilExplorerBaseGUI.php.
Referenced by getOfflineMode().
|
protected |
Definition at line 49 of file class.ilExplorerBaseGUI.php.
Referenced by __construct(), and getOnLoadCode().
|
protected |
Definition at line 67 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 57 of file class.ilExplorerBaseGUI.php.
Referenced by ilLMExplorerGUI\beforeRendering(), ilObjStudyProgrammeTreeExplorerGUI\getChildsOfNode(), and ilWorkspaceExplorerGUI\getNodeHref().
|
protected |
Definition at line 46 of file class.ilExplorerBaseGUI.php.
Referenced by getSearchTerm().
|
protected |
Definition at line 44 of file class.ilExplorerBaseGUI.php.
Referenced by getSecondaryHighlightedNodes().
|
protected |
Definition at line 42 of file class.ilExplorerBaseGUI.php.
Referenced by ilSkillSelectorGUI\getSelectedSkills().
|
protected |
Definition at line 41 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 38 of file class.ilExplorerBaseGUI.php.
Referenced by getSkipRootNode().
|
protected |
Definition at line 52 of file class.ilExplorerBaseGUI.php.
|
protected |
Definition at line 31 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), init(), listEnd(), listItemEnd(), listItemStart(), listStart(), renderChilds(), and renderNode().