|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 (ilTemplate $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 = "" | |
| $child_limit = 0 | |
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 ilForumExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilLinkTargetObjectExplorerGUI, ilPublicSectionExplorerGUI, ilMediaPoolExplorerGUI, ilGroupActionTargetExplorerGUI, ilMaterialExplorer, ilSCORM2004EditorExplorerGUI, ilMailExplorer, ilBookmarkBlockExplorerGUI, ilBookmarkExplorerGUI, ilBookmarkMoveExplorerGUI, and ilTestQuestionPoolSelectorExplorer.
Definition at line 58 of file class.ilExplorerBaseGUI.php.
References $DIC.
| ilExplorerBaseGUI::beforeRendering | ( | ) |
Before rendering.
Reimplemented in ilForumExplorerGUI, ilLMExplorerGUI, and ilPublicSectionExplorerGUI.
Definition at line 603 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 561 of file class.ilExplorerBaseGUI.php.
References $_GET, $id, $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 161 of file class.ilExplorerBaseGUI.php.
References ilUtil\makeDirParents().
Referenced by ilObjContentObject\exportHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getAjax | ( | ) |
Get ajax.
Definition at line 400 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 95 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, ilForumExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, and ilTreeExplorerGUI.
Referenced by getHTML(), nodeHasVisibleChilds(), and renderChilds().
Here is the caller graph for this function:| ilExplorerBaseGUI::getContainerId | ( | ) |
Get container id.
return
Definition at line 538 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by ilForumExplorerGUI\getHTML(), 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 932 of file class.ilExplorerBaseGUI.php.
References getId().
Referenced by getNodeToggleOnClick(), getOnLoadCode(), getSelectOnClick(), ilObjStudyProgrammeTreeExplorerGUI\listItemStart(), and listItemStart().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getHTML | ( | ) |
Get HTML.
Reimplemented in ilForumExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, and ilTreeExplorerGUI.
Definition at line 721 of file class.ilExplorerBaseGUI.php.
References $ctrl, $ilCtrl, $root, $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 358 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 686 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 135 of file class.ilExplorerBaseGUI.php.
References $js_expl_path.
Referenced by ilGroupUserActionProvider\getJsScripts(), and ilObjContentObject\getSupplyingExportFiles().
Here is the caller graph for this function:
|
static |
Get local path of jsTree js.
Definition at line 151 of file class.ilExplorerBaseGUI.php.
References $js_tree_path_css.
Referenced by ilGroupUserActionProvider\getCssFiles(), and ilObjContentObject\getSupplyingExportFiles().
Here is the caller graph for this function:
|
static |
Get local path of jsTree js.
Definition at line 143 of file class.ilExplorerBaseGUI.php.
References $js_tree_path.
Referenced by ilGroupUserActionProvider\getJsScripts(), and ilObjContentObject\getSupplyingExportFiles().
Here is the caller graph for this function:| ilExplorerBaseGUI::getNodeAsync | ( | ) |
Get node asynchronously.
Definition at line 577 of file class.ilExplorerBaseGUI.php.
References $_GET, $id, $root, 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, ilLMTOCExplorerGUI, ilPublicSectionExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilSCORM2004EditorExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilBookmarkExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, ilKSDocumentationExplorerGUI, ilOrgUnitExplorerGUI, and ilObjStudyProgrammeTreeExplorerGUI.
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 ilForumExplorerGUI, ilGroupActionTargetExplorerGUI, ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilLSTOCGUI, ilMediaPoolExplorerGUI, ilSCORM2004EditorExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilBookmarkBlockExplorerGUI, ilBookmarkExplorerGUI, ilBookmarkMoveExplorerGUI, ilPCFileItemFileSelectorGUI, ilPoolSelectorGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, ilKSDocumentationExplorerGUI, ilOrgUnitExplorerGUI, and ilObjStudyProgrammeTreeExplorerGUI.
Definition at line 218 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 ilForumExplorerGUI, ilLMEditorExplorerGUI, ilLMTOCExplorerGUI, ilPublicSectionExplorerGUI, ilMediaPoolExplorerGUI, ilOrgUnitExplorerGUI, ilSCORM2004EditorExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilBookmarkExplorerGUI, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTaxonomyExplorerGUI.
Definition at line 263 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, ilBookmarkExplorerGUI, ilMailExplorer, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilPersonalSkillExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilVirtualSkillTreeExplorerGUI, and ilTreeExplorerGUI.
Definition at line 274 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 943 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, ilBookmarkBlockExplorerGUI, ilIntLinkRepItemExplorerGUI, ilLinkTargetObjectExplorerGUI, and ilTaxonomyExplorerGUI.
Definition at line 296 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 |
Reimplemented in ilBookmarkBlockExplorerGUI.
Definition at line 285 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 444 of file class.ilExplorerBaseGUI.php.
References getContainerId(), getDomNodeIdForNodeId(), and getNodeId().
Referenced by ilBookmarkBlockExplorerGUI\getNodeOnClick().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::getOfflineMode | ( | ) |
Get offline mode.
Definition at line 504 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 627 of file class.ilExplorerBaseGUI.php.
References $config, $ctrl, $ilCtrl, $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 ilForumExplorerGUI, 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 115 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 420 of file class.ilExplorerBaseGUI.php.
References $sec_highl_nodes.
|
finalprotected |
Get onclick attribute for selecting radio/checkbox.
return
Definition at line 456 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 380 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 518 of file class.ilExplorerBaseGUI.php.
References $_GET, and getContainerId().
Here is the call graph for this function:
|
static |
Init JS.
Definition at line 699 of file class.ilExplorerBaseGUI.php.
References $DIC, $tpl, and iljQueryUtil\initjQuery().
Referenced by getHTML(), and ilInternalLinkGUI\getInitHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExplorerBaseGUI::isEnableDnd | ( | ) |
Definition at line 1025 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 ilForumExplorerGUI, ilForumMoveTopicsExplorer, ilGroupActionTargetExplorerGUI, ilLMTOCExplorerGUI, ilPublicSectionExplorerGUI, ilLSTOCGUI, ilOrgUnitExplorerGUI, ilObjStudyProgrammeTreeExplorerGUI, ilMaterialExplorer, ilAdministrationExplorerGUI, ilConditionSelector, ilPCFileItemFileSelectorGUI, ilLinkTargetObjectExplorerGUI, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilTestQuestionPoolSelectorExplorer, ilPersonalSkillExplorerGUI, ilSkillSelectorGUI, ilSkillTreeExplorerGUI, and ilVirtualSkillTreeExplorerGUI.
Definition at line 332 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, ilBookmarkBlockExplorerGUI, ilBookmarkExplorerGUI, ilBookmarkMoveExplorerGUI, ilConditionSelector, ilMailExplorer, ilWorkspaceExplorerGUI, ilRepositoryExplorerGUI, ilRepositorySelectorExplorerGUI, ilSkillTemplateTreeExplorerGUI, ilSkillTreeExplorerGUI, ilTaxonomyExplorerGUI, and ilKSDocumentationExplorerGUI.
Definition at line 321 of file class.ilExplorerBaseGUI.php.
Referenced by renderNode().
Here is the caller graph for this function:| ilExplorerBaseGUI::isNodeOnclickEnabled | ( | ) |
Definition at line 1012 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 613 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 343 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 310 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 1003 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 979 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 955 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 991 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 232 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 546 of file class.ilExplorerBaseGUI.php.
References $_GET, $id, $ilLog, $log, exit, and getNodeIdForDomNodeId().
Here is the call graph for this function:
|
final |
Render childs.
return
Definition at line 870 of file class.ilExplorerBaseGUI.php.
References $tpl, getChildLimit(), getChildsOfNode(), 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 788 of file class.ilExplorerBaseGUI.php.
References $target, $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 390 of file class.ilExplorerBaseGUI.php.
Referenced by ilConditionSelector\__construct(), ilPoolSelectorGUI\__construct(), ilRepositorySelectorExplorerGUI\__construct(), ilForumExplorerGUI\__construct(), ilOrgUnitExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), ilAdministrationExplorerGUI\__construct(), ilRepositoryExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilMaterialExplorer\__construct(), ilSCORM2004EditorExplorerGUI\__construct(), ilMailExplorer\__construct(), ilBookmarkExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilObjStudyProgrammeTreeExplorerGUI\__construct(), ilWorkspaceExplorerGUI\__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 85 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 1034 of file class.ilExplorerBaseGUI.php.
References $enable_dnd.
Referenced by ilObjStudyProgrammeTreeExplorerGUI\__construct().
Here is the caller graph for this function:| ilExplorerBaseGUI::setMainTemplate | ( | ilTemplate | $a_main_tpl = null | ) |
Set main template (that is responsible for adding js/css)
| ilTemplate | null | $a_main_tpl |
Definition at line 126 of file class.ilExplorerBaseGUI.php.
| ilExplorerBaseGUI::setNodeOnclickEnabled | ( | $nodeOnclickEnabled | ) |
| boolean | $nodeOnclickEnabled |
Definition at line 1020 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 431 of file class.ilExplorerBaseGUI.php.
Referenced by ilMediaPoolExplorerGUI\__construct(), ilLMTableOfContentsExplorerGUI\__construct(), ilForumExplorerGUI\beforeRendering(), ilPublicSectionExplorerGUI\beforeRendering(), ilKSDocumentationExplorerGUI\openNodesRecursively(), ilTreeExplorerGUI\setPathOpen(), and ilForumExplorerGUI\setThread().
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 482 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 494 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 105 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 410 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 470 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 370 of file class.ilExplorerBaseGUI.php.
Referenced by ilRepositorySelectorExplorerGUI\__construct(), ilForumExplorerGUI\__construct(), ilVirtualSkillTreeExplorerGUI\__construct(), ilAdministrationExplorerGUI\__construct(), ilRepositoryExplorerGUI\__construct(), ilSkillTemplateTreeExplorerGUI\__construct(), ilSkillTreeExplorerGUI\__construct(), ilMediaPoolExplorerGUI\__construct(), ilPersonalSkillExplorerGUI\__construct(), ilSkillSelectorGUI\__construct(), ilMaterialExplorer\__construct(), ilSCORM2004EditorExplorerGUI\__construct(), ilMailExplorer\__construct(), ilBookmarkBlockExplorerGUI\__construct(), ilBookmarkExplorerGUI\__construct(), ilLMExplorerGUI\__construct(), ilWorkspaceExplorerGUI\__construct(), and ilLSTOCGUI\__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 ilOrgUnitExplorerGUI, ilAdministrationExplorerGUI, ilRepositoryExplorerGUI, and ilRepositorySelectorExplorerGUI.
Definition at line 252 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 51 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 53 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 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 31 of file class.ilExplorerBaseGUI.php.
Referenced by getHTML(), init(), listEnd(), listItemEnd(), listItemStart(), listStart(), renderChilds(), and renderNode().