ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Virtual skill tree explorer. More...
Public Member Functions | |
__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) | |
Protected Attributes | |
ilLanguage | $lng |
ilVirtualSkillTree | $vtree |
SkillTreeManager | $skill_tree_manager |
SkillInternalFactoryService | $tree_factory |
bool | $show_draft_nodes = false |
bool | $show_outdated_nodes = false |
![]() | |
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 |
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 = "assets/js/Explorer2.js" |
Virtual skill tree explorer.
Definition at line 29 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::__construct | ( | string | $a_id, |
$a_parent_obj, | |||
string | $a_parent_cmd, | ||
int | $tree_id = 0 |
||
) |
Definition at line 39 of file class.ilVirtualSkillTreeExplorerGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilExplorerBaseGUI\setAjax(), and ilExplorerBaseGUI\setSkipRootNode().
ilVirtualSkillTreeExplorerGUI::getChildsOfNode | ( | $a_parent_node_id | ) |
string | $a_parent_node_id |
Definition at line 120 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::getDomNodeIdForNodeId | ( | $a_node_id | ) |
Definition at line 102 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::getNodeContent | ( | $a_node | ) |
array | object | $a_node |
Definition at line 129 of file class.ilVirtualSkillTreeExplorerGUI.php.
References $lng, ILIAS\Repository\int(), and ilLanguage\txt().
ilVirtualSkillTreeExplorerGUI::getNodeHref | ( | $a_node | ) |
array | object | $a_node |
Definition at line 186 of file class.ilVirtualSkillTreeExplorerGUI.php.
References ilExplorerBaseGUI\$ctrl.
ilVirtualSkillTreeExplorerGUI::getNodeIcon | ( | $a_node | ) |
array | object | $a_node |
Definition at line 157 of file class.ilVirtualSkillTreeExplorerGUI.php.
References ilSkillTreeNode\_lookupType(), ilUtil\getImagePath(), and ILIAS\Repository\int().
ilVirtualSkillTreeExplorerGUI::getNodeIconAlt | ( | $a_node | ) |
array | object | $a_node |
Definition at line 217 of file class.ilVirtualSkillTreeExplorerGUI.php.
References $lng, ilLanguage\exists(), and ilLanguage\txt().
ilVirtualSkillTreeExplorerGUI::getNodeId | ( | $a_node | ) |
array | object | $a_node |
Definition at line 94 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::getNodeIdForDomNodeId | ( | string | $a_dom_node_id | ) |
Definition at line 110 of file class.ilVirtualSkillTreeExplorerGUI.php.
References ilExplorerBaseGUI\$id.
ilVirtualSkillTreeExplorerGUI::getRootNode | ( | ) |
Definition at line 85 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::getShowDraftNodes | ( | ) |
Definition at line 66 of file class.ilVirtualSkillTreeExplorerGUI.php.
References $show_draft_nodes.
ilVirtualSkillTreeExplorerGUI::getShowOutdatedNodes | ( | ) |
Definition at line 77 of file class.ilVirtualSkillTreeExplorerGUI.php.
References $show_outdated_nodes.
ilVirtualSkillTreeExplorerGUI::isNodeClickable | ( | $a_node | ) |
array | object | $a_node |
Definition at line 208 of file class.ilVirtualSkillTreeExplorerGUI.php.
ilVirtualSkillTreeExplorerGUI::setShowDraftNodes | ( | bool | $a_val | ) |
Definition at line 60 of file class.ilVirtualSkillTreeExplorerGUI.php.
Referenced by ilSkillTreeExplorerGUI\__construct().
ilVirtualSkillTreeExplorerGUI::setShowOutdatedNodes | ( | bool | $a_val | ) |
Definition at line 71 of file class.ilVirtualSkillTreeExplorerGUI.php.
Referenced by ilSkillTreeExplorerGUI\__construct().
|
protected |
Definition at line 31 of file class.ilVirtualSkillTreeExplorerGUI.php.
Referenced by getNodeContent(), and getNodeIconAlt().
|
protected |
Definition at line 36 of file class.ilVirtualSkillTreeExplorerGUI.php.
Referenced by getShowDraftNodes().
|
protected |
Definition at line 37 of file class.ilVirtualSkillTreeExplorerGUI.php.
Referenced by getShowOutdatedNodes().
|
protected |
Definition at line 33 of file class.ilVirtualSkillTreeExplorerGUI.php.
|
protected |
Definition at line 34 of file class.ilVirtualSkillTreeExplorerGUI.php.
|
protected |
Definition at line 32 of file class.ilVirtualSkillTreeExplorerGUI.php.