|
ILIAS
release_8 Revision v8.24
|
Basic GUI class for skill tree nodes. More...
Inheritance diagram for ilSkillTreeNodeGUI:
Collaboration diagram for ilSkillTreeNodeGUI:Public Member Functions | |
| __construct (Tree\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 |
| object | $parentgui |
| int | $tref_id = 0 |
| Tree SkillTreeNodeManager | $skill_tree_node_manager |
| SkillTreeAccess | $tree_access_manager |
| ilSkillTreeRepository | $tree_repo |
| int | $skill_tree_id = 0 |
| ilTabsGUI | $tabs |
| SkillAdminGUIRequest | $admin_gui_request |
| int | $requested_ref_id = 0 |
| int | $requested_node_id = 0 |
| string | $requested_backcmd = "" |
| int | $requested_tmpmode = 0 |
| int | $base_skill_id = 0 |
| array | $requested_node_ids = [] |
| array | $requested_node_order = [] |
Basic GUI class for skill tree nodes.
Definition at line 29 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::__construct | ( | Tree\SkillTreeNodeManager | $node_manager, |
| int | $a_node_id = 0 |
||
| ) |
Reimplemented in ilBasicSkillGUI, ilSkillCategoryGUI, ilSkillRootGUI, ilSkillTemplateGUI, and ilSkillTemplateReferenceGUI.
Definition at line 66 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 570 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillGUI\setTabs(), and ilBasicSkillTemplateGUI\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 284 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), ilSkillTreeNode\getStatusInfo(), ilSkillTreeNode\STATUS_PUBLISH, and ilLanguage\txt().
Referenced by ilBasicSkillGUI\initForm(), ilSkillCategoryGUI\initForm(), and ilSkillTemplateReferenceGUI\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 537 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillGUI\setTabs(), and ilBasicSkillTemplateGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::afterSave | ( | ) |
Reimplemented in ilBasicSkillGUI, ilBasicSkillTemplateGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 358 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 389 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 | ( | ) |
Reimplemented in ilSkillRootGUI.
Definition at line 230 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::cancelSave | ( | ) |
Definition at line 429 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 240 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 200 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 268 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 160 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 149 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, getParentGUI(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilSkillTreeNodeGUI::editProperties | ( | ) |
Reimplemented in ilBasicSkillGUI, ilSkillCategoryGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 298 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 599 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, ilObject\_lookupObjId(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Definition at line 125 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 315 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" | ) |
Reimplemented in ilBasicSkillGUI, ilBasicSkillTemplateGUI, ilSkillCategoryGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 396 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ILIAS\Repository\form(), 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 486 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Definition at line 492 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Definition at line 504 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Definition at line 510 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Definition at line 498 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::isInUse | ( | ) |
Definition at line 101 of file class.ilSkillTreeNodeGUI.php.
References $in_use, and ilSkillTreeNode\getAllCSkillIdsForNodeIds().
Referenced by ilBasicSkillGUI\edit(), ilBasicSkillTemplateGUI\edit(), ilBasicSkillGUI\editLevel(), editProperties(), ilSkillCategoryGUI\listItems(), ilSkillTemplateCategoryGUI\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 133 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)
Reimplemented in ilBasicSkillGUI, ilBasicSkillTemplateGUI, ilSkillCategoryGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 437 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 332 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 138 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and getParentGUI().
Here is the call graph for this function:| ilSkillTreeNodeGUI::saveOrder | ( | ) |
Definition at line 469 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 120 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Definition at line 258 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and ilGlobalTemplateInterface\setDescription().
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillGUI\setTabs(), and ilBasicSkillTemplateGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Definition at line 516 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), ilGlobalTemplateInterface\setTitleIcon(), and ilSkillTreeNode\STATUS_DRAFT.
Here is the call graph for this function:| ilSkillTreeNodeGUI::showObjects | ( | ) |
Reimplemented in ilBasicSkillTemplateGUI, and ilSkillTemplateReferenceGUI.
Definition at line 582 of file class.ilSkillTreeNodeGUI.php.
References $base_skill_id, $tpl, and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::showUsage | ( | ) |
Reimplemented in ilBasicSkillTemplateGUI, and ilSkillTemplateCategoryGUI.
Definition at line 549 of file class.ilSkillTreeNodeGUI.php.
References $base_skill_id, $tpl, and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 368 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 43 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 49 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillCategoryGUI\addCreationButtons(), and ilSkillTemplateCategoryGUI\addCreationButtons().
|
protected |
Definition at line 54 of file class.ilSkillTreeNodeGUI.php.
Referenced by showObjects(), and showUsage().
|
protected |
Definition at line 31 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 37 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 41 of file class.ilSkillTreeNodeGUI.php.
Referenced by isInUse().
|
protected |
Definition at line 32 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addStatusInput(), addUsageTab(), copyItems(), create(), cutItems(), editProperties(), initForm(), save(), saveOrder(), and update().
|
protected |
Definition at line 33 of file class.ilSkillTreeNodeGUI.php.
| object ilSkillTreeNodeGUI::$node_object = null |
Definition at line 39 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 38 of file class.ilSkillTreeNodeGUI.php.
Referenced by getParentGUI().
|
protected |
Definition at line 52 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 51 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillCategoryGUI\addCreationButtons(), and ilSkillTemplateCategoryGUI\addCreationButtons().
|
protected |
Definition at line 59 of file class.ilSkillTreeNodeGUI.php.
Referenced by copyItems(), and cutItems().
|
protected |
Definition at line 64 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 50 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 53 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 47 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 44 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 48 of file class.ilSkillTreeNodeGUI.php.
Referenced by create().
|
protected |
Definition at line 34 of file class.ilSkillTreeNodeGUI.php.
Referenced by create(), editProperties(), save(), setSkillNodeDescription(), setTitleIcon(), showObjects(), showUsage(), and update().
|
protected |
Definition at line 36 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 45 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 46 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 40 of file class.ilSkillTreeNodeGUI.php.
| bool ilSkillTreeNodeGUI::$use_checked = false |
Definition at line 42 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 35 of file class.ilSkillTreeNodeGUI.php.