ILIAS
release_8 Revision v8.19
|
Explorer class that works on tree objects (Services/Tree) More...
Public Member Functions | |
__construct ($a_parent_obj, string $a_parent_cmd, int $tree_id=0) | |
getNodeContent ($a_node) | |
getNodeIcon ($a_node) | |
isNodeHighlighted ($a_node) | |
getNodeHref ($a_node) | |
isNodeClickable ($a_node) | |
![]() | |
__construct (string $a_id, $a_parent_obj, string $a_parent_cmd, int $tree_id=0) | |
setShowDraftNodes (bool $a_val) | |
getShowDraftNodes () | |
setShowOutdatedNodes (bool $a_val) | |
getShowOutdatedNodes () | |
getRootNode () | |
getNodeId ($a_node) | |
getDomNodeIdForNodeId ($a_node_id) | |
getNodeIdForDomNodeId (string $a_dom_node_id) | |
getChildsOfNode ($a_parent_node_id) | |
getNodeContent ($a_node) | |
getNodeIcon ($a_node) | |
getNodeHref ($a_node) | |
isNodeClickable ($a_node) | |
getNodeIconAlt ($a_node) | |
![]() | |
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) | |
Additional Inherited Members | |
![]() | |
static | getLocalExplorerJsPath () |
static | getLocalJsTreeJsPath () |
static | getLocalJsTreeCssPath () |
static | createHTMLExportDirs (string $a_target_dir) |
static | init (ilGlobalTemplateInterface $a_main_tpl=null) |
![]() | |
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) | |
![]() | |
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" |
Explorer class that works on tree objects (Services/Tree)
Definition at line 27 of file class.ilSkillTreeExplorerGUI.php.
ilSkillTreeExplorerGUI::__construct | ( | $a_parent_obj, | |
string | $a_parent_cmd, | ||
int | $tree_id = 0 |
||
) |
object|string[] | $a_parent_obj | |
string | $a_parent_cmd | |
int | $tree_id |
Definition at line 39 of file class.ilSkillTreeExplorerGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilExplorerBaseGUI\setAjax(), ilVirtualSkillTreeExplorerGUI\setShowDraftNodes(), ilVirtualSkillTreeExplorerGUI\setShowOutdatedNodes(), and ilExplorerBaseGUI\setSkipRootNode().
ilSkillTreeExplorerGUI::getNodeContent | ( | $a_node | ) |
Definition at line 61 of file class.ilSkillTreeExplorerGUI.php.
References $lng, ilSkillTreeNode\_lookupSelfEvaluation(), ilSkillTemplateReference\_lookupTemplateId(), ilSkillTreeNode\_lookupTitle(), and ILIAS\Repository\int().
ilSkillTreeExplorerGUI::getNodeHref | ( | $a_node | ) |
Definition at line 154 of file class.ilSkillTreeExplorerGUI.php.
References ilExplorerBaseGUI\$ctrl.
ilSkillTreeExplorerGUI::getNodeIcon | ( | $a_node | ) |
Definition at line 100 of file class.ilSkillTreeExplorerGUI.php.
References ilSkillTreeNode\getIconPath(), ilUtil\getImagePath(), and ILIAS\Repository\int().
ilSkillTreeExplorerGUI::isNodeClickable | ( | $a_node | ) |
Definition at line 203 of file class.ilSkillTreeExplorerGUI.php.
ilSkillTreeExplorerGUI::isNodeHighlighted | ( | $a_node | ) |
Definition at line 127 of file class.ilSkillTreeExplorerGUI.php.
|
protected |
Definition at line 30 of file class.ilSkillTreeExplorerGUI.php.
|
protected |
Definition at line 29 of file class.ilSkillTreeExplorerGUI.php.
Referenced by getNodeContent().
|
protected |
Definition at line 31 of file class.ilSkillTreeExplorerGUI.php.
|
protected |
Definition at line 32 of file class.ilSkillTreeExplorerGUI.php.