ILIAS
Release_4_4_x_branch Revision 61816
|
Basic skill GUI class. More...
Public Member Functions | |
__construct ($a_node_id=0) | |
Constructor. | |
getType () | |
Get Node Type. | |
executeCommand () | |
Execute command. | |
showProperties () | |
Show properties. | |
proceedDragDrop () | |
Perform drag and drop action. | |
saveItem () | |
Save item. | |
afterSave () | |
After saving. | |
updateItem () | |
Update item. | |
edit () | |
Edit skill. | |
initForm ($a_mode="edit") | |
Init form. | |
editProperties () | |
Edit properties. | |
addLevel () | |
Add new level. | |
editLevel () | |
Edit level. | |
saveLevel () | |
Save level form. | |
updateLevel () | |
Update level form. | |
initLevelForm ($a_mode="edit") | |
Init level form. | |
getLevelValues () | |
Get current values for level from. | |
updateLevelOrder () | |
Update level order. | |
confirmLevelDeletion () | |
Confirm level deletion. | |
deleteLevel () | |
Delete levels. | |
setLevelHead () | |
Set header for level. | |
setTabs ($a_tab="levels") | |
Set header for skill. | |
editLevelTrigger () | |
Edit level trigger. | |
selectLevelTrigger () | |
Select skill level trigger. | |
saveLevelTrigger () | |
Save level trigger. | |
removeLevelTrigger () | |
Remove trigger. | |
redirectToParent () | |
Redirect to parent (identified by current obj_id) | |
showLevelResources () | |
Show level resources. | |
addLevelResource () | |
Add level resource. | |
saveLevelResource () | |
Save level resource. | |
confirmLevelResourcesRemoval () | |
Confirm level resources removal. | |
removeLevelResources () | |
Remove level resource. | |
Public Member Functions inherited from ilSkillTreeNodeGUI | |
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. | |
getPropertyValues () | |
Get property values for edit form. | |
save () | |
Save skill tree node. | |
update () | |
Update skill tree node. | |
afterUpdate () | |
After update. | |
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. |
Protected Attributes | |
$tref_id = 0 | |
$base_skill_id |
Additional Inherited Members | |
Data Fields inherited from ilSkillTreeNodeGUI | |
$node_object |
Basic skill GUI class.
Definition at line 18 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::__construct | ( | $a_node_id = 0 | ) |
Constructor.
Reimplemented in ilSkillTemplateReferenceGUI.
Definition at line 26 of file class.ilBasicSkillGUI.php.
References $ilCtrl, and ilSkillTreeNodeGUI\ilSkillTreeNodeGUI().
ilBasicSkillGUI::addLevel | ( | ) |
Add new level.
Definition at line 225 of file class.ilBasicSkillGUI.php.
References $tpl, and initLevelForm().
ilBasicSkillGUI::addLevelResource | ( | ) |
Add level resource.
Definition at line 665 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, and setLevelHead().
ilBasicSkillGUI::afterSave | ( | ) |
After saving.
Reimplemented from ilSkillTreeNodeGUI.
Reimplemented in ilSkillTemplateReferenceGUI, and ilBasicSkillTemplateGUI.
Definition at line 117 of file class.ilBasicSkillGUI.php.
References $ilCtrl.
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Confirm level deletion.
Definition at line 367 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilBasicSkill\lookupLevelTitle(), ilUtil\sendInfo(), and setTabs().
ilBasicSkillGUI::confirmLevelResourcesRemoval | ( | ) |
Confirm level resources removal.
Definition at line 706 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilUtil\sendInfo(), and setLevelHead().
ilBasicSkillGUI::deleteLevel | ( | ) |
Delete levels.
Definition at line 399 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBasicSkillGUI::edit | ( | ) |
Edit skill.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 141 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, and setTabs().
ilBasicSkillGUI::editLevel | ( | ) |
Edit level.
Definition at line 236 of file class.ilBasicSkillGUI.php.
References $tpl, getLevelValues(), and initLevelForm().
ilBasicSkillGUI::editLevelTrigger | ( | ) |
Edit level trigger.
Definition at line 528 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilObject\_isInTrash(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilBasicSkill\lookupLevelTrigger(), setLevelHead(), and ilNonEditableValueGUI\setValue().
ilBasicSkillGUI::editProperties | ( | ) |
Edit properties.
Reimplemented from ilSkillTreeNodeGUI.
Reimplemented in ilSkillTemplateReferenceGUI.
Definition at line 209 of file class.ilBasicSkillGUI.php.
References setTabs().
ilBasicSkillGUI::executeCommand | ( | ) |
Execute command.
Reimplemented in ilSkillTemplateReferenceGUI.
Definition at line 47 of file class.ilBasicSkillGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, $tpl, and setLevelHead().
ilBasicSkillGUI::getLevelValues | ( | ) |
Get current values for level from.
Definition at line 341 of file class.ilBasicSkillGUI.php.
References $_GET.
Referenced by editLevel().
ilBasicSkillGUI::getType | ( | ) |
Get Node Type.
Reimplemented in ilSkillTemplateReferenceGUI, and ilBasicSkillTemplateGUI.
Definition at line 39 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Reimplemented from ilSkillTreeNodeGUI.
Reimplemented in ilSkillTemplateReferenceGUI, and ilBasicSkillTemplateGUI.
Definition at line 160 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, ilSkillTreeNodeGUI\addStatusInput(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMaxLength(), and ilTextInputGUI\setMaxLength().
ilBasicSkillGUI::initLevelForm | ( | $a_mode = "edit" | ) |
Init level form.
string | $a_mode | form mode |
Definition at line 298 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, ilTextAreaInputGUI\setCols(), setLevelHead(), and ilTextInputGUI\setMaxLength().
Referenced by addLevel(), editLevel(), saveLevel(), and updateLevel().
ilBasicSkillGUI::proceedDragDrop | ( | ) |
Perform drag and drop action.
Definition at line 90 of file class.ilBasicSkillGUI.php.
References $ilCtrl.
ilBasicSkillGUI::redirectToParent | ( | ) |
Redirect to parent (identified by current obj_id)
Definition at line 619 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelResources | ( | ) |
Remove level resource.
Definition at line 740 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBasicSkillGUI::removeLevelTrigger | ( | ) |
Remove trigger.
Definition at line 608 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, and ilBasicSkill\writeLevelTrigger().
ilBasicSkillGUI::saveItem | ( | ) |
Save item.
Reimplemented in ilSkillTemplateReferenceGUI, and ilBasicSkillTemplateGUI.
Definition at line 102 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, IL_LAST_NODE, and ilSkillTreeNode\putInTree().
ilBasicSkillGUI::saveLevel | ( | ) |
Save level form.
Definition at line 248 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelResource | ( | ) |
Save level resource.
Definition at line 684 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $ref_id, and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelTrigger | ( | ) |
Save level trigger.
Definition at line 597 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, and ilBasicSkill\writeLevelTrigger().
ilBasicSkillGUI::selectLevelTrigger | ( | ) |
Select skill level trigger.
Definition at line 572 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilExplorer\setExpand(), and setLevelHead().
ilBasicSkillGUI::setLevelHead | ( | ) |
Set header for level.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 418 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $path, $tpl, and ilBasicSkill\lookupLevelTitle().
Referenced by addLevelResource(), confirmLevelResourcesRemoval(), editLevelTrigger(), executeCommand(), initLevelForm(), selectLevelTrigger(), and showLevelResources().
ilBasicSkillGUI::setTabs | ( | $a_tab = "levels" | ) |
Set header for skill.
string | $a_tab | active tab |
Reimplemented in ilBasicSkillTemplateGUI, and ilSkillTemplateReferenceGUI.
Definition at line 480 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\addUsageTab(), ilSkillTreeNodeGUI\setSkillNodeDescription(), and ilSkillTreeNodeGUI\setTitleIcon().
Referenced by confirmLevelDeletion(), edit(), editProperties(), and showProperties().
ilBasicSkillGUI::showLevelResources | ( | ) |
Show level resources.
Definition at line 644 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tab, $tpl, and setLevelHead().
ilBasicSkillGUI::showProperties | ( | ) |
Show properties.
Definition at line 76 of file class.ilBasicSkillGUI.php.
References $tpl, ilSkillTreeNodeGUI\setLocator(), and setTabs().
ilBasicSkillGUI::updateItem | ( | ) |
ilBasicSkillGUI::updateLevel | ( | ) |
Update level form.
Definition at line 271 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Update level order.
Definition at line 354 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().
|
protected |
Definition at line 21 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 20 of file class.ilBasicSkillGUI.php.