ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Basic GUI class for skill tree nodes. More...
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... | |
addObjectsTab ($a_tabs) | |
showObjects () | |
Show assigned objects. 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 10 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::__construct | ( | $a_node_id = 0 | ) |
constructor
object | $a_content_obj | node object |
Definition at line 54 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $DIC, ilSkillTreeNode\_lookupType(), readNodeObject(), and user().
ilSkillTreeNodeGUI::addObjectsTab | ( | $a_tabs | ) |
$a_tabs |
Definition at line 732 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::addStatusInput | ( | ilPropertyFormGUI | $a_form | ) |
Add status input.
ilPropertyFormGUI | $a_form | form |
Definition at line 374 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), and ilSkillTreeNode\getStatusInfo().
Referenced by ilSkillTemplateReferenceGUI\initForm(), ilSkillCategoryGUI\initForm(), and ilBasicSkillGUI\initForm().
ilSkillTreeNodeGUI::addUsageTab | ( | $a_tabs | ) |
Add usage tab.
Definition at line 692 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::afterSave | ( | ) |
After saving.
Definition at line 453 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Referenced by save().
ilSkillTreeNodeGUI::afterUpdate | ( | ) |
After update.
Definition at line 487 of file class.ilSkillTreeNodeGUI.php.
References $ctrl.
Referenced by update().
ilSkillTreeNodeGUI::cancelDelete | ( | ) |
cancel delete
Definition at line 243 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and redirectToParent().
ilSkillTreeNodeGUI::cancelSave | ( | ) |
Cancel saving.
Definition at line 553 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::checkPermissionBool | ( | $a_perm | ) |
Check permission pool.
string | $a_perm |
Definition at line 107 of file class.ilSkillTreeNodeGUI.php.
Referenced by confirmedDelete(), ilBasicSkillGUI\confirmLevelDeletion(), ilBasicSkillGUI\confirmLevelResourcesRemoval(), ilBasicSkillGUI\deleteLevel(), ilBasicSkillGUI\edit(), ilBasicSkillTemplateGUI\edit(), ilBasicSkillTemplateGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), ilSkillCategoryGUI\initForm(), ilBasicSkillGUI\initForm(), initForm(), ilBasicSkillGUI\initLevelForm(), ilSkillTemplateCategoryGUI\listItems(), ilSkillCategoryGUI\listItems(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), ilBasicSkillGUI\removeLevelResources(), save(), ilBasicSkillGUI\saveItem(), ilSkillCategoryGUI\saveItem(), ilSkillTemplateReferenceGUI\saveItem(), ilBasicSkillTemplateGUI\saveItem(), ilSkillTemplateCategoryGUI\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().
ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 253 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, checkPermissionBool(), getParentGUI(), redirectToParent(), and ilSkillTreeNode\saveChildsOrder().
ilSkillTreeNodeGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 208 of file class.ilSkillTreeNodeGUI.php.
References $_POST, $ctrl, $lng, ilSkillTreeNode\clipboardCopy(), redirectToParent(), ilUtil\sendInfo(), ilEditClipboard\setAction(), ilUtil\stripSlashesArray(), and ilSkillTreeNode\uniqueTypesCheck().
ilSkillTreeNodeGUI::create | ( | ) |
Create skill tree node.
Definition at line 361 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 166 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $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 155 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, and getParentGUI().
ilSkillTreeNodeGUI::editProperties | ( | ) |
Edit properties form.
Definition at line 390 of file class.ilSkillTreeNodeGUI.php.
References $lng, $tpl, getPropertyValues(), initForm(), isInUse(), and ilUtil\sendInfo().
ilSkillTreeNodeGUI::exportSelectedNodes | ( | ) |
Export seleced nodes.
Definition at line 767 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ctrl, ilObject\_lookupObjId(), and redirectToParent().
ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Get Parent GUI class (ilObjSCORM2004LearningModuleGUI).
Definition at line 128 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 407 of file class.ilSkillTreeNodeGUI.php.
Referenced by editProperties().
ilSkillTreeNodeGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Definition at line 499 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $lng, checkPermissionBool(), ilFormPropertyGUI\setInfo(), and ilTextAreaInputGUI\setRows().
Referenced by create(), editProperties(), save(), and update().
ilSkillTreeNodeGUI::insertBasicSkillClip | ( | ) |
Insert basic skills from clipboard.
Definition at line 620 of file class.ilSkillTreeNodeGUI.php.
References $_GET, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Insert skill categories from clipboard.
Definition at line 629 of file class.ilSkillTreeNodeGUI.php.
References $_GET, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Insert skill template from clipboard.
Definition at line 647 of file class.ilSkillTreeNodeGUI.php.
References $_GET, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Insert skill template category from clipboard.
Definition at line 656 of file class.ilSkillTreeNodeGUI.php.
References $_GET, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Insert skill template references from clipboard.
Definition at line 638 of file class.ilSkillTreeNodeGUI.php.
References $_GET, ilSkillTreeNode\insertItemsFromClip(), and redirectToParent().
ilSkillTreeNodeGUI::isInUse | ( | ) |
Is in use?
Definition at line 82 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().
ilSkillTreeNodeGUI::readNodeObject | ( | $a_node_id | ) |
Get node object instance.
Definition at line 136 of file class.ilSkillTreeNodeGUI.php.
References ilSkillTreeNodeFactory\getInstance().
Referenced by __construct().
ilSkillTreeNodeGUI::redirectToParent | ( | $a_tmp_mode = false | ) |
Redirect to parent (identified by current obj_id)
Definition at line 564 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, and ilSkillTreeNode\_lookupType().
Referenced by ilSkillTemplateCategoryGUI\afterSave(), afterSave(), cancelDelete(), cancelSave(), confirmedDelete(), copyItems(), cutItems(), exportSelectedNodes(), insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), insertTemplateReferenceClip(), and saveOrder().
ilSkillTreeNodeGUI::save | ( | ) |
Save skill tree node.
Definition at line 424 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $lng, $tpl, afterSave(), checkPermissionBool(), initForm(), and ilSkillTreeNode\saveChildsOrder().
ilSkillTreeNodeGUI::saveAllTitles | ( | ) |
Save Titles.
Definition at line 144 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and getParentGUI().
ilSkillTreeNodeGUI::saveOrder | ( | ) |
Save order.
Definition at line 599 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $_POST, $ctrl, $lng, checkPermissionBool(), redirectToParent(), and ilSkillTreeNode\saveChildsOrder().
ilSkillTreeNodeGUI::setLocator | ( | ) |
Set Locator Items.
Definition at line 274 of file class.ilSkillTreeNodeGUI.php.
References $_GET, $ctrl, $i, $locator, $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 118 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Set skill node description.
Definition at line 337 of file class.ilSkillTreeNodeGUI.php.
References $tpl.
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Set title icon.
Definition at line 665 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), and ilSkillTreeNode\STATUS_DRAFT.
ilSkillTreeNodeGUI::showObjects | ( | ) |
Show assigned objects.
Definition at line 747 of file class.ilSkillTreeNodeGUI.php.
References $tpl.
ilSkillTreeNodeGUI::showUsage | ( | ) |
ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 463 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tpl, afterUpdate(), checkPermissionBool(), and initForm().
ilSkillTreeNodeGUI::$access |
Definition at line 43 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 15 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addUsageTab(), afterUpdate(), cancelDelete(), confirmedDelete(), copyItems(), deleteNodes(), exportSelectedNodes(), initForm(), redirectToParent(), save(), saveAllTitles(), saveOrder(), setLocator(), and update().
ilSkillTreeNodeGUI::$in_use = false |
Definition at line 38 of file class.ilSkillTreeNodeGUI.php.
Referenced by isInUse().
|
protected |
Definition at line 20 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addStatusInput(), addUsageTab(), copyItems(), cutItems(), editProperties(), initForm(), save(), saveOrder(), and update().
|
protected |
Definition at line 25 of file class.ilSkillTreeNodeGUI.php.
Referenced by setLocator().
ilSkillTreeNodeGUI::$node_object |
Definition at line 37 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::$ref_id |
Definition at line 47 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilBasicSkillGUI\saveLevelResource().
|
protected |
Definition at line 30 of file class.ilSkillTreeNodeGUI.php.
Referenced by create(), editProperties(), save(), setLocator(), setSkillNodeDescription(), setTitleIcon(), showObjects(), showUsage(), and update().
ilSkillTreeNodeGUI::$use_checked = false |
Definition at line 39 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 35 of file class.ilSkillTreeNodeGUI.php.