ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
setSkillHead ($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) | |
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. | |
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. |
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 ilBasicSkillTemplateGUI.
Definition at line 24 of file class.ilBasicSkillGUI.php.
References $ilCtrl, and ilSkillTreeNodeGUI\ilSkillTreeNodeGUI().
ilBasicSkillGUI::addLevel | ( | ) |
Add new level.
@return |
Definition at line 230 of file class.ilBasicSkillGUI.php.
References $tpl, and initLevelForm().
ilBasicSkillGUI::afterSave | ( | ) |
After saving.
Reimplemented from ilSkillTreeNodeGUI.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 114 of file class.ilBasicSkillGUI.php.
References $ilCtrl.
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Confirm level deletion.
Definition at line 378 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilBasicSkill\lookupLevelTitle(), ilUtil\sendInfo(), and setSkillHead().
ilBasicSkillGUI::deleteLevel | ( | ) |
Delete levels.
@return |
Definition at line 413 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBasicSkillGUI::edit | ( | ) |
Edit skill.
@return |
Definition at line 141 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and setSkillHead().
ilBasicSkillGUI::editLevel | ( | ) |
Edit level.
@return |
Definition at line 244 of file class.ilBasicSkillGUI.php.
References $tpl, getLevelValues(), and initLevelForm().
ilBasicSkillGUI::editLevelTrigger | ( | ) |
Edit level trigger.
@return |
Definition at line 538 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.
Definition at line 211 of file class.ilBasicSkillGUI.php.
References setSkillHead().
ilBasicSkillGUI::executeCommand | ( | ) |
Execute command.
Definition at line 44 of file class.ilBasicSkillGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, $tpl, and setLevelHead().
ilBasicSkillGUI::getLevelValues | ( | ) |
Get current values for level from.
Definition at line 349 of file class.ilBasicSkillGUI.php.
Referenced by editLevel().
ilBasicSkillGUI::getType | ( | ) |
Get Node Type.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 36 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Reimplemented from ilSkillTreeNodeGUI.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 160 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMaxLength(), and ilTextInputGUI\setMaxLength().
ilBasicSkillGUI::initLevelForm | ( | $a_mode = "edit" | ) |
Init level form.
int | $a_mode | Edit Mode |
Definition at line 306 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 87 of file class.ilBasicSkillGUI.php.
References $ilCtrl.
ilBasicSkillGUI::redirectToParent | ( | ) |
Redirect to parent (identified by current obj_id)
@return |
Definition at line 639 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelTrigger | ( | ) |
Remove trigger.
@return |
Definition at line 625 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, and ilBasicSkill\writeLevelTrigger().
ilBasicSkillGUI::saveItem | ( | ) |
Save item.
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 99 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, IL_LAST_NODE, and ilSkillTreeNode\putInTree().
ilBasicSkillGUI::saveLevel | ( | ) |
Save level form.
Definition at line 256 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelTrigger | ( | ) |
Save level trigger.
@return |
Definition at line 611 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, and ilBasicSkill\writeLevelTrigger().
ilBasicSkillGUI::selectLevelTrigger | ( | ) |
Select skill level trigger.
Definition at line 583 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilExplorer\setExpand(), and setLevelHead().
ilBasicSkillGUI::setLevelHead | ( | ) |
Set header for level.
@return |
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 435 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $path, $tpl, and ilBasicSkill\lookupLevelTitle().
Referenced by editLevelTrigger(), executeCommand(), initLevelForm(), and selectLevelTrigger().
ilBasicSkillGUI::setSkillHead | ( | $a_tab = "levels" | ) |
Set header for skill.
@return |
Reimplemented in ilBasicSkillTemplateGUI.
Definition at line 491 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\setSkillNodeDescription(), and ilSkillTreeNodeGUI\setTitleIcon().
Referenced by confirmLevelDeletion(), edit(), and editProperties().
ilBasicSkillGUI::showProperties | ( | ) |
Show properties.
Definition at line 73 of file class.ilBasicSkillGUI.php.
References $tpl, and ilSkillTreeNodeGUI\setLocator().
ilBasicSkillGUI::updateItem | ( | ) |
ilBasicSkillGUI::updateLevel | ( | ) |
Update level form.
Definition at line 279 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Update level order.
@return |
Definition at line 365 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().