|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Basic GUI class for skill tree nodes. More...
Inheritance diagram for ilSkillTreeNodeGUI:
Collaboration diagram for ilSkillTreeNodeGUI:Public Member Functions | |
| __construct (Node\SkillTreeNodeManager $node_manager, int $a_node_id=0) | |
| isInUse () | |
| setParentGUI (object $a_parentgui) | |
| getParentGUI () | |
| readNodeObject (int $a_node_id) | |
| Get node object instance. More... | |
| saveAllTitles () | |
| deleteNodes () | |
| Delete nodes in the hierarchy. More... | |
| cutItems () | |
| Copy items to clipboard, then cut them from the current tree. More... | |
| copyItems () | |
| Copy items to clipboard. More... | |
| cancelDelete () | |
| confirmedDelete () | |
| confirmed delete More... | |
| setSkillNodeDescription () | |
| create () | |
| Create skill tree node. More... | |
| addStatusInput (ilPropertyFormGUI $a_form) | |
| editProperties () | |
| getPropertyValues () | |
| Get property values for edit form. More... | |
| save () | |
| Save skill tree node. More... | |
| afterSave () | |
| update () | |
| Update skill tree node. More... | |
| afterUpdate () | |
| initForm (string $a_mode="edit") | |
| cancelSave () | |
| redirectToParent (bool $a_tmp_mode=false) | |
| Redirect to parent (identified by current node_id) More... | |
| saveOrder () | |
| insertBasicSkillClip () | |
| insertSkillCategoryClip () | |
| insertTemplateReferenceClip () | |
| insertSkillTemplateClip () | |
| insertTemplateCategoryClip () | |
| setTitleIcon () | |
| addUsageTab (ilTabsGUI $a_tabs) | |
| showUsage () | |
| addObjectsTab (ilTabsGUI $a_tabs) | |
| showObjects () | |
| exportSelectedNodes () | |
Data Fields | |
| object | $node_object = null |
| bool | $in_use = false |
| bool | $use_checked = false |
| ilAccessHandler | $access |
Protected Attributes | |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilLocatorGUI | $locator |
| ilGlobalTemplateInterface | $tpl |
| ilObjUser | $user |
| ilTree | $tree |
| ilPropertyFormGUI | $form |
| UI Factory | $ui_fac |
| UI Renderer | $ui_ren |
| object | $parentgui |
| int | $tref_id = 0 |
| Node SkillTreeNodeManager | $skill_tree_node_manager |
| SkillTreeAccess | $tree_access_manager |
| Table TableManager | $table_manager |
| Usage SkillUsageManager | $usage_manager |
| ilSkillTreeRepository | $tree_repo |
| int | $skill_tree_id = 0 |
| ilTabsGUI | $tabs |
| SkillAdminGUIRequest | $admin_gui_request |
| SkillUIService | $skill_ui_service |
| int | $requested_ref_id = 0 |
| int | $requested_node_id = 0 |
| string | $requested_backcmd = "" |
| bool | $requested_tmpmode = false |
| int | $base_skill_id = 0 |
| array | $requested_node_ids = [] |
| array | $requested_node_order = [] |
Basic GUI class for skill tree nodes.
Definition at line 35 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::__construct | ( | Node\SkillTreeNodeManager | $node_manager, |
| int | $a_node_id = 0 |
||
| ) |
Definition at line 77 of file class.ilSkillTreeNodeGUI.php.
References $DIC, ilSkillTreeNode\_lookupType(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), readNodeObject(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilSkillTreeNodeGUI::addObjectsTab | ( | ilTabsGUI | $a_tabs | ) |
Definition at line 584 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::addStatusInput | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 299 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), ilSkillTreeNode\getStatusInfo(), ilSkillTreeNode\STATUS_PUBLISH, and ilLanguage\txt().
Referenced by ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), and ilBasicSkillGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::addUsageTab | ( | ilTabsGUI | $a_tabs | ) |
Definition at line 552 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::afterSave | ( | ) |
Definition at line 373 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::afterUpdate | ( | ) |
Definition at line 404 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and ilCtrl\redirect().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::cancelDelete | ( | ) |
Definition at line 245 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::cancelSave | ( | ) |
Definition at line 444 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 255 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, getParentGUI(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 215 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $requested_node_ids, redirectToParent(), ilLanguage\txt(), and ilSkillTreeNode\uniqueTypesCheck().
Here is the call graph for this function:| ilSkillTreeNodeGUI::create | ( | ) |
Create skill tree node.
Definition at line 283 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tabs, $tpl, ILIAS\Repository\form(), initForm(), ilTabsGUI\setBackTarget(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilSkillTreeNodeGUI::cutItems | ( | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 175 of file class.ilSkillTreeNodeGUI.php.
References $lng, $requested_node_ids, redirectToParent(), ilLanguage\txt(), and ilSkillTreeNode\uniqueTypesCheck().
Here is the call graph for this function:| ilSkillTreeNodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 164 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, getParentGUI(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilSkillTreeNodeGUI::editProperties | ( | ) |
Definition at line 313 of file class.ilSkillTreeNodeGUI.php.
References $lng, $tpl, ILIAS\Repository\form(), getPropertyValues(), initForm(), isInUse(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilSkillTreeNodeGUI::exportSelectedNodes | ( | ) |
Definition at line 617 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, ilObject\_lookupObjId(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Definition at line 140 of file class.ilSkillTreeNodeGUI.php.
References $parentgui.
Referenced by confirmedDelete(), deleteNodes(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), and saveAllTitles().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::getPropertyValues | ( | ) |
Get property values for edit form.
Definition at line 330 of file class.ilSkillTreeNodeGUI.php.
References ILIAS\Repository\form().
Referenced by editProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::initForm | ( | string | $a_mode = "edit" | ) |
Definition at line 411 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ILIAS\Repository\form(), ilTextAreaInputGUI\setRows(), and ilLanguage\txt().
Referenced by create(), editProperties(), save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::insertBasicSkillClip | ( | ) |
Definition at line 501 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Definition at line 507 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Definition at line 519 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Definition at line 525 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Definition at line 513 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::isInUse | ( | ) |
Definition at line 117 of file class.ilSkillTreeNodeGUI.php.
References $in_use, and ilSkillTreeNode\getAllCSkillIdsForNodeIds().
Referenced by ilBasicSkillGUI\edit(), ilBasicSkillTemplateGUI\edit(), ilBasicSkillGUI\editLevel(), editProperties(), ilSkillTemplateCategoryGUI\listItems(), ilSkillCategoryGUI\listItems(), and ilSkillTemplateReferenceGUI\listItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::readNodeObject | ( | int | $a_node_id | ) |
Get node object instance.
Definition at line 148 of file class.ilSkillTreeNodeGUI.php.
References ilSkillTreeNodeFactory\getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::redirectToParent | ( | bool | $a_tmp_mode = false | ) |
Redirect to parent (identified by current node_id)
Definition at line 452 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and ilSkillTreeNode\_lookupType().
Referenced by afterSave(), cancelDelete(), cancelSave(), confirmedDelete(), copyItems(), cutItems(), exportSelectedNodes(), insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), insertTemplateReferenceClip(), and saveOrder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::save | ( | ) |
Save skill tree node.
Definition at line 347 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tpl, afterSave(), ILIAS\Repository\form(), initForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilSkillTreeNodeGUI::saveAllTitles | ( | ) |
Definition at line 153 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and getParentGUI().
Here is the call graph for this function:| ilSkillTreeNodeGUI::saveOrder | ( | ) |
Definition at line 484 of file class.ilSkillTreeNodeGUI.php.
References $lng, redirectToParent(), and ilLanguage\txt().
Here is the call graph for this function:| ilSkillTreeNodeGUI::setParentGUI | ( | object | $a_parentgui | ) |
Definition at line 135 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Definition at line 273 of file class.ilSkillTreeNodeGUI.php.
References $tpl, $tref_id, and ilGlobalTemplateInterface\setDescription().
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Definition at line 531 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), and ilGlobalTemplateInterface\setTitleIcon().
Here is the call graph for this function:| ilSkillTreeNodeGUI::showObjects | ( | ) |
Definition at line 596 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::showUsage | ( | ) |
Definition at line 564 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 383 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tpl, afterUpdate(), ILIAS\Repository\form(), initForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilAccessHandler ilSkillTreeNodeGUI::$access |
Definition at line 51 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 59 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateCategoryGUI\addCreationButtons(), and ilSkillCategoryGUI\addCreationButtons().
|
protected |
Definition at line 65 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 37 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addUsageTab(), afterUpdate(), cancelDelete(), confirmedDelete(), copyItems(), create(), deleteNodes(), exportSelectedNodes(), initForm(), redirectToParent(), save(), saveAllTitles(), and update().
|
protected |
Definition at line 43 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilBasicSkillGUI\addLevel(), ilBasicSkillGUI\editLevel(), ilSkillRootGUI\importSkills(), ilSkillRootGUI\initInputForm(), ilBasicSkillGUI\initLevelForm(), ilBasicSkillGUI\saveLevel(), and ilBasicSkillGUI\updateLevel().
| bool ilSkillTreeNodeGUI::$in_use = false |
Definition at line 49 of file class.ilSkillTreeNodeGUI.php.
Referenced by isInUse().
|
protected |
Definition at line 38 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addStatusInput(), addUsageTab(), copyItems(), create(), cutItems(), editProperties(), initForm(), save(), saveOrder(), and update().
|
protected |
Definition at line 39 of file class.ilSkillTreeNodeGUI.php.
| object ilSkillTreeNodeGUI::$node_object = null |
Definition at line 47 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 46 of file class.ilSkillTreeNodeGUI.php.
Referenced by getParentGUI().
|
protected |
Definition at line 63 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 62 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateCategoryGUI\addCreationButtons(), and ilSkillCategoryGUI\addCreationButtons().
|
protected |
Definition at line 70 of file class.ilSkillTreeNodeGUI.php.
Referenced by copyItems(), and cutItems().
|
protected |
Definition at line 75 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 61 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 64 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 57 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 52 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 60 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 54 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 58 of file class.ilSkillTreeNodeGUI.php.
Referenced by create().
|
protected |
Definition at line 40 of file class.ilSkillTreeNodeGUI.php.
Referenced by create(), editProperties(), save(), setSkillNodeDescription(), setTitleIcon(), showObjects(), showUsage(), and update().
|
protected |
Definition at line 42 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 53 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 56 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 48 of file class.ilSkillTreeNodeGUI.php.
Referenced by setSkillNodeDescription().
|
protected |
Definition at line 44 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 45 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 55 of file class.ilSkillTreeNodeGUI.php.
| bool ilSkillTreeNodeGUI::$use_checked = false |
Definition at line 50 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 41 of file class.ilSkillTreeNodeGUI.php.