|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Basic GUI class for skill tree nodes. More...
Inheritance diagram for ilSkillTreeNodeGUI:
Collaboration diagram for ilSkillTreeNodeGUI:Public Member Functions | |
| __construct ($a_node_id=0) | |
| constructor More... | |
| isInUse () | |
| Is in use? More... | |
| checkPermissionBool ($a_perm) | |
| Check permission pool. More... | |
| setParentGUI ($a_parentgui) | |
| Set Parent GUI class. More... | |
| getParentGUI () | |
| Get Parent GUI class (ilObjSCORM2004LearningModuleGUI). More... | |
| readNodeObject ($a_node_id) | |
| Get node object instance. More... | |
| saveAllTitles () | |
| Save Titles. More... | |
| 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 () | |
| cancel delete More... | |
| confirmedDelete () | |
| confirmed delete More... | |
| setLocator () | |
| Set Locator Items. More... | |
| setSkillNodeDescription () | |
| Set skill node description. More... | |
| create () | |
| Create skill tree node. More... | |
| addStatusInput (ilPropertyFormGUI $a_form) | |
| Add status input. More... | |
| editProperties () | |
| Edit properties form. More... | |
| getPropertyValues () | |
| Get property values for edit form. More... | |
| save () | |
| Save skill tree node. More... | |
| afterSave () | |
| After saving. More... | |
| update () | |
| Update skill tree node. More... | |
| afterUpdate () | |
| After update. More... | |
| initForm ($a_mode="edit") | |
| Init form. More... | |
| cancelSave () | |
| Cancel saving. More... | |
| redirectToParent ($a_tmp_mode=false) | |
| Redirect to parent (identified by current obj_id) More... | |
| saveOrder () | |
| Save order. More... | |
| insertBasicSkillClip () | |
| Insert basic skills from clipboard. More... | |
| insertSkillCategoryClip () | |
| Insert skill categories from clipboard. More... | |
| insertTemplateReferenceClip () | |
| Insert skill template references from clipboard. More... | |
| insertSkillTemplateClip () | |
| Insert skill template from clipboard. More... | |
| insertTemplateCategoryClip () | |
| Insert skill template category from clipboard. More... | |
| setTitleIcon () | |
| Set title icon. More... | |
| addUsageTab ($a_tabs) | |
| Add usage tab. More... | |
| showUsage () | |
| Show skill usage. More... | |
| exportSelectedNodes () | |
| Export seleced nodes. More... | |
Data Fields | |
| $node_object | |
| $in_use = false | |
| $use_checked = false | |
| $access | |
| $ref_id | |
Protected Attributes | |
| $ctrl | |
| $lng | |
| $locator | |
| $tpl | |
| $user | |
Basic GUI class for skill tree nodes.
Definition at line 15 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::__construct | ( | $a_node_id = 0 | ) |
constructor
| object | $a_content_obj | node object |
Reimplemented in ilBasicSkillGUI, ilSkillCategoryGUI, ilSkillRootGUI, ilSkillTemplateGUI, and ilSkillTemplateReferenceGUI.
Definition at line 59 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $DIC, ilSkillTreeNode\_lookupType(), readNodeObject(), and user().
Here is the call graph for this function:| ilSkillTreeNodeGUI::addStatusInput | ( | ilPropertyFormGUI | $a_form | ) |
Add status input.
| ilPropertyFormGUI | $a_form | form |
Definition at line 388 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), and ilSkillTreeNode\getStatusInfo().
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 | ( | $a_tabs | ) |
Add usage tab.
return
Definition at line 722 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $ilCtrl, and $lng.
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), and ilBasicSkillGUI\setTabs().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::afterSave | ( | ) |
After saving.
Reimplemented in ilBasicSkillGUI, ilBasicSkillTemplateGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 466 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 | ( | ) |
After update.
Definition at line 500 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and $ilCtrl.
Referenced by update().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::cancelDelete | ( | ) |
cancel delete
Reimplemented in ilSkillRootGUI.
Definition at line 255 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $ilCtrl, and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::cancelSave | ( | ) |
Cancel saving.
return
Definition at line 563 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::checkPermissionBool | ( | $a_perm | ) |
Check permission pool.
| string | $a_perm |
Definition at line 112 of file class.ilSkillTreeNodeGUI.php.
Referenced by confirmedDelete(), ilBasicSkillGUI\confirmLevelDeletion(), ilBasicSkillGUI\confirmLevelResourcesRemoval(), ilBasicSkillGUI\deleteLevel(), ilBasicSkillGUI\edit(), ilBasicSkillTemplateGUI\edit(), ilBasicSkillGUI\initForm(), ilBasicSkillTemplateGUI\initForm(), ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), initForm(), ilBasicSkillGUI\initLevelForm(), ilSkillCategoryGUI\listItems(), ilSkillTemplateCategoryGUI\listItems(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), ilBasicSkillGUI\removeLevelResources(), save(), ilBasicSkillGUI\saveItem(), ilBasicSkillTemplateGUI\saveItem(), ilSkillCategoryGUI\saveItem(), ilSkillTemplateCategoryGUI\saveItem(), ilSkillTemplateReferenceGUI\saveItem(), ilBasicSkillGUI\saveLevel(), ilBasicSkillGUI\saveLevelResource(), ilBasicSkillGUI\saveLevelTrigger(), saveOrder(), ilBasicSkillGUI\selectLevelTrigger(), ilBasicSkillGUI\showLevelResources(), update(), ilBasicSkillGUI\updateItem(), ilSkillCategoryGUI\updateItem(), ilSkillTemplateCategoryGUI\updateItem(), ilBasicSkillGUI\updateLevel(), ilBasicSkillGUI\updateLevelOrder(), and ilSkillTemplateReferenceGUI\updateSkillTemplateReference().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 265 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, checkPermissionBool(), getParentGUI(), redirectToParent(), and ilSkillTreeNode\saveChildsOrder().
Here is the call graph for this function:| ilSkillTreeNodeGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 217 of file class.ilSkillTreeNodeGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilSkillTreeNode\clipboardCopy(), redirectToParent(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSkillTreeNode\uniqueTypesCheck().
Here is the call graph for this function:| ilSkillTreeNodeGUI::create | ( | ) |
Create skill tree node.
Definition at line 375 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and initForm().
Here is the call graph for this function:| ilSkillTreeNodeGUI::cutItems | ( | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 172 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $lng, ilSkillTreeNode\clipboardCut(), redirectToParent(), ilSkillTreeNode\saveChildsOrder(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSkillTreeNode\uniqueTypesCheck().
Here is the call graph for this function:| ilSkillTreeNodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 161 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, and getParentGUI().
Here is the call graph for this function:| ilSkillTreeNodeGUI::editProperties | ( | ) |
Edit properties form.
Reimplemented in ilBasicSkillGUI, ilSkillCategoryGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 404 of file class.ilSkillTreeNodeGUI.php.
References $lng, $tpl, getPropertyValues(), initForm(), isInUse(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilSkillTreeNodeGUI::exportSelectedNodes | ( | ) |
Export seleced nodes.
Definition at line 764 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ctrl, $ilCtrl, ilObject\_lookupObjId(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
Definition at line 133 of file class.ilSkillTreeNodeGUI.php.
Referenced by confirmedDelete(), deleteNodes(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), saveAllTitles(), and setLocator().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::getPropertyValues | ( | ) |
Get property values for edit form.
Definition at line 421 of file class.ilSkillTreeNodeGUI.php.
References $values.
Referenced by editProperties().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
| int | $a_mode | Edit Mode |
Reimplemented in ilBasicSkillGUI, ilBasicSkillTemplateGUI, ilSkillCategoryGUI, ilSkillTemplateCategoryGUI, and ilSkillTemplateReferenceGUI.
Definition at line 512 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tree, and checkPermissionBool().
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 | ( | ) |
Insert basic skills from clipboard.
Definition at line 630 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $nodes, $user, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Insert skill categories from clipboard.
Definition at line 643 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $nodes, $user, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Insert skill template from clipboard.
Definition at line 669 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $nodes, $user, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Insert skill template category from clipboard.
Definition at line 682 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $nodes, $user, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Insert skill template references from clipboard.
Definition at line 656 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $ilUser, $nodes, $user, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
Here is the call graph for this function:| ilSkillTreeNodeGUI::isInUse | ( | ) |
Is in use?
return
Definition at line 86 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 | ( | $a_node_id | ) |
Get node object instance.
Definition at line 141 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 | ( | $a_tmp_mode = false | ) |
Redirect to parent (identified by current obj_id)
return
Reimplemented in ilBasicSkillGUI, and ilSkillCategoryGUI.
Definition at line 574 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
Referenced by ilSkillTemplateCategoryGUI\afterSave(), 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 437 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tpl, afterSave(), checkPermissionBool(), initForm(), and ilSkillTreeNode\saveChildsOrder().
Here is the call graph for this function:| ilSkillTreeNodeGUI::saveAllTitles | ( | ) |
Save Titles.
Definition at line 150 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $ilCtrl, and getParentGUI().
Here is the call graph for this function:| ilSkillTreeNodeGUI::saveOrder | ( | ) |
Save order.
Definition at line 609 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ctrl, $ilCtrl, $lng, checkPermissionBool(), redirectToParent(), and ilSkillTreeNode\saveChildsOrder().
Here is the call graph for this function:| ilSkillTreeNodeGUI::setLocator | ( | ) |
Set Locator Items.
Definition at line 286 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $i, $ilCtrl, $locator, $path, $tpl, $tree, ilUtil\getImagePath(), and getParentGUI().
Referenced by ilBasicSkillGUI\showProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNodeGUI::setParentGUI | ( | $a_parentgui | ) |
Set Parent GUI class.
| object | $a_parentgui | Parent GUI class |
Definition at line 123 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Set skill node description.
Definition at line 350 of file class.ilSkillTreeNodeGUI.php.
References $path, $tpl, and $tree.
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), and ilBasicSkillGUI\setTabs().
Here is the caller graph for this function:| ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Set title icon.
Definition at line 695 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), and ilSkillTreeNode\STATUS_DRAFT.
Here is the call graph for this function:| ilSkillTreeNodeGUI::showUsage | ( | ) |
Show skill usage.
Reimplemented in ilBasicSkillTemplateGUI, and ilSkillTemplateCategoryGUI.
Definition at line 738 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 476 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, afterUpdate(), checkPermissionBool(), and initForm().
Here is the call graph for this function:| ilSkillTreeNodeGUI::$access |
Definition at line 48 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 20 of file class.ilSkillTreeNodeGUI.php.
Referenced by addUsageTab(), afterUpdate(), cancelDelete(), confirmedDelete(), copyItems(), deleteNodes(), exportSelectedNodes(), initForm(), insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), insertTemplateReferenceClip(), redirectToParent(), save(), saveAllTitles(), saveOrder(), setLocator(), and update().
| ilSkillTreeNodeGUI::$in_use = false |
Definition at line 43 of file class.ilSkillTreeNodeGUI.php.
Referenced by isInUse().
|
protected |
Definition at line 25 of file class.ilSkillTreeNodeGUI.php.
Referenced by addStatusInput(), addUsageTab(), copyItems(), cutItems(), editProperties(), initForm(), save(), saveOrder(), and update().
|
protected |
Definition at line 30 of file class.ilSkillTreeNodeGUI.php.
Referenced by setLocator().
| ilSkillTreeNodeGUI::$node_object |
Definition at line 42 of file class.ilSkillTreeNodeGUI.php.
| ilSkillTreeNodeGUI::$ref_id |
Definition at line 52 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilBasicSkillGUI\saveLevelResource().
|
protected |
Definition at line 35 of file class.ilSkillTreeNodeGUI.php.
Referenced by create(), editProperties(), save(), setLocator(), setSkillNodeDescription(), setTitleIcon(), showUsage(), and update().
| ilSkillTreeNodeGUI::$use_checked = false |
Definition at line 44 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 40 of file class.ilSkillTreeNodeGUI.php.
Referenced by insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), and insertTemplateReferenceClip().