ILIAS
Release_4_4_x_branch Revision 61816
|
Basic GUI class for skill tree nodes. More...
Public Member Functions | |
ilSkillTreeNodeGUI ($a_node_id=0) | |
constructor | |
setParentGUI ($a_parentgui) | |
Set Parent GUI class. | |
getParentGUI () | |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI). | |
readNodeObject ($a_node_id) | |
Get node object instance. | |
saveAllTitles () | |
Save Titles. | |
deleteNodes () | |
Delete nodes in the hierarchy. | |
cutItems () | |
Copy items to clipboard, then cut them from the current tree. | |
copyItems () | |
Copy items to clipboard. | |
cancelDelete () | |
cancel delete | |
confirmedDelete () | |
confirmed delete | |
setLocator () | |
Set Locator Items. | |
setSkillNodeDescription () | |
Set skill node description. | |
create () | |
Create skill tree node. | |
addStatusInput (ilPropertyFormGUI $a_form) | |
Add status input. | |
editProperties () | |
Edit properties form. | |
getPropertyValues () | |
Get property values for edit form. | |
save () | |
Save skill tree node. | |
afterSave () | |
After saving. | |
update () | |
Update skill tree node. | |
afterUpdate () | |
After update. | |
initForm ($a_mode="edit") | |
Init form. | |
cancelSave () | |
Cancel saving. | |
redirectToParent ($a_tmp_mode=false) | |
Redirect to parent (identified by current obj_id) | |
saveOrder () | |
Save order. | |
insertBasicSkillClip () | |
Insert basic skills from clipboard. | |
insertSkillCategoryClip () | |
Insert skill categories from clipboard. | |
insertTemplateReferenceClip () | |
Insert skill template references from clipboard. | |
insertSkillTemplateClip () | |
Insert skill template from clipboard. | |
insertTemplateCategoryClip () | |
Insert skill template category from clipboard. | |
setTitleIcon () | |
Set title icon. | |
addUsageTab ($a_tabs) | |
Add usage tab. | |
showUsage () | |
Show skill usage. |
Data Fields | |
$node_object |
Basic GUI class for skill tree nodes.
Definition at line 15 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::addStatusInput | ( | ilPropertyFormGUI | $a_form | ) |
Add status input.
ilPropertyFormGUI | $a_form | form |
Definition at line 286 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), and ilSkillTreeNode\getStatusInfo().
Referenced by ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), and ilBasicSkillGUI\initForm().
ilSkillTreeNodeGUI::addUsageTab | ( | $a_tabs | ) |
Add usage tab.
@return |
Definition at line 591 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::afterSave | ( | ) |
After saving.
Reimplemented in ilSkillTemplateReferenceGUI, ilBasicSkillTemplateGUI, ilSkillTemplateCategoryGUI, and ilBasicSkillGUI.
Definition at line 354 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Referenced by save().
ilSkillTreeNodeGUI::afterUpdate | ( | ) |
After update.
Definition at line 385 of file class.ilSkillTreeNodeGUI.php.
References $ilCtrl.
Referenced by update().
ilSkillTreeNodeGUI::cancelDelete | ( | ) |
cancel delete
Reimplemented in ilSkillRootGUI.
Definition at line 178 of file class.ilSkillTreeNodeGUI.php.
References $ilCtrl, and redirectToParent().
ilSkillTreeNodeGUI::cancelSave | ( | ) |
Cancel saving.
@return |
Definition at line 443 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 188 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, getParentGUI(), redirectToParent(), and ilSkillTreeNode\saveChildsOrder().
ilSkillTreeNodeGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 136 of file class.ilSkillTreeNodeGUI.php.
References $_POST, $ilCtrl, $lng, ilSkillTreeNode\clipboardCopy(), redirectToParent(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSkillTreeNode\uniqueTypesCheck().
ilSkillTreeNodeGUI::create | ( | ) |
Create skill tree node.
Definition at line 273 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and initForm().
ilSkillTreeNodeGUI::cutItems | ( | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 89 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, ilSkillTreeNode\clipboardCut(), redirectToParent(), ilSkillTreeNode\saveChildsOrder(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSkillTreeNode\uniqueTypesCheck().
ilSkillTreeNodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 78 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, and getParentGUI().
ilSkillTreeNodeGUI::editProperties | ( | ) |
Edit properties form.
Reimplemented in ilBasicSkillGUI, ilSkillTemplateCategoryGUI, ilSkillTemplateReferenceGUI, and ilSkillCategoryGUI.
Definition at line 303 of file class.ilSkillTreeNodeGUI.php.
References $tpl, getPropertyValues(), and initForm().
ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
Definition at line 50 of file class.ilSkillTreeNodeGUI.php.
Referenced by confirmedDelete(), deleteNodes(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), saveAllTitles(), and setLocator().
ilSkillTreeNodeGUI::getPropertyValues | ( | ) |
Get property values for edit form.
Definition at line 315 of file class.ilSkillTreeNodeGUI.php.
Referenced by editProperties().
ilSkillTreeNodeGUI::ilSkillTreeNodeGUI | ( | $a_node_id = 0 | ) |
constructor
object | $a_content_obj | node object |
Definition at line 24 of file class.ilSkillTreeNodeGUI.php.
References ilSkillTreeNode\_lookupType(), and readNodeObject().
Referenced by ilSkillCategoryGUI\__construct(), ilSkillTemplateGUI\__construct(), ilSkillRootGUI\__construct(), ilSkillTemplateCategoryGUI\__construct(), and ilBasicSkillGUI\__construct().
ilSkillTreeNodeGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Reimplemented in ilBasicSkillGUI, ilSkillTemplateReferenceGUI, ilSkillCategoryGUI, and ilBasicSkillTemplateGUI.
Definition at line 397 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $lng, ilNumberInputGUI\setMaxLength(), and ilTextInputGUI\setMaxLength().
Referenced by create(), editProperties(), save(), and update().
ilSkillTreeNodeGUI::insertBasicSkillClip | ( | ) |
Insert basic skills from clipboard.
Definition at line 508 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $ilUser, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Insert skill categories from clipboard.
Definition at line 520 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $ilUser, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Insert skill template from clipboard.
Definition at line 544 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $ilUser, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Insert skill template category from clipboard.
Definition at line 556 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $ilUser, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Insert skill template references from clipboard.
Definition at line 532 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $ilUser, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::readNodeObject | ( | $a_node_id | ) |
Get node object instance.
Definition at line 58 of file class.ilSkillTreeNodeGUI.php.
References ilSkillTreeNodeFactory\getInstance().
Referenced by ilSkillTreeNodeGUI().
ilSkillTreeNodeGUI::redirectToParent | ( | $a_tmp_mode = false | ) |
Redirect to parent (identified by current obj_id)
@return |
Definition at line 454 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
Referenced by ilSkillTemplateCategoryGUI\afterSave(), afterSave(), cancelDelete(), cancelSave(), confirmedDelete(), copyItems(), cutItems(), insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), insertTemplateReferenceClip(), and saveOrder().
ilSkillTreeNodeGUI::save | ( | ) |
Save skill tree node.
Definition at line 331 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, afterSave(), initForm(), ilSkillTreeNode\saveChildsOrder(), and ilUtil\sendSuccess().
ilSkillTreeNodeGUI::saveAllTitles | ( | ) |
Save Titles.
Definition at line 67 of file class.ilSkillTreeNodeGUI.php.
References $ilCtrl, and getParentGUI().
ilSkillTreeNodeGUI::saveOrder | ( | ) |
Save order.
Definition at line 495 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, redirectToParent(), ilSkillTreeNode\saveChildsOrder(), and ilUtil\sendSuccess().
ilSkillTreeNodeGUI::setLocator | ( | ) |
Set Locator Items.
Definition at line 202 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ilCtrl, $path, $tpl, ilUtil\getImagePath(), and getParentGUI().
Referenced by ilBasicSkillGUI\showProperties().
ilSkillTreeNodeGUI::setParentGUI | ( | $a_parentgui | ) |
Set Parent GUI class.
object | $a_parentgui | Parent GUI class |
Definition at line 40 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Set skill node description.
Definition at line 247 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Set title icon.
Definition at line 568 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), and ilSkillTreeNode\STATUS_DRAFT.
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::showUsage | ( | ) |
Show skill usage.
Definition at line 604 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 364 of file class.ilSkillTreeNodeGUI.php.
References $ilCtrl, $lng, $tpl, afterUpdate(), initForm(), and ilUtil\sendSuccess().
ilSkillTreeNodeGUI::$node_object |
Definition at line 17 of file class.ilSkillTreeNodeGUI.php.