ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Basic skill GUI class. More...
Public Member Functions | |
__construct ($a_node_id=0) | |
Constructor. More... | |
getType () | |
Get Node Type. More... | |
executeCommand () | |
Execute command. More... | |
showProperties () | |
Show properties. More... | |
proceedDragDrop () | |
Perform drag and drop action. More... | |
saveItem () | |
Save item. More... | |
afterSave () | |
After saving. More... | |
updateItem () | |
Update item. More... | |
edit () | |
Edit skill. More... | |
initForm ($a_mode="edit") | |
Init form. More... | |
editProperties () | |
Edit properties. More... | |
addLevel () | |
Add new level. More... | |
editLevel () | |
Edit level. More... | |
saveLevel () | |
Save level form. More... | |
updateLevel () | |
Update level form. More... | |
initLevelForm ($a_mode="edit") | |
Init level form. More... | |
getLevelValues () | |
Get current values for level from. More... | |
updateLevelOrder () | |
Update level order. More... | |
confirmLevelDeletion () | |
Confirm level deletion. More... | |
deleteLevel () | |
Delete levels. More... | |
setLevelHead () | |
Set header for level. More... | |
setTabs ($a_tab="levels") | |
Set header for skill. More... | |
editLevelTrigger () | |
Edit level trigger. More... | |
selectLevelTrigger () | |
Select skill level trigger. More... | |
saveLevelTrigger () | |
Save level trigger. More... | |
removeLevelTrigger () | |
Remove trigger. More... | |
redirectToParent ($a_tmp_mode=false) | |
Redirect to parent (identified by current obj_id) More... | |
showLevelResources () | |
Show level resources. More... | |
addLevelResource () | |
Add level resource. More... | |
saveLevelResource () | |
Save level resource. More... | |
confirmLevelResourcesRemoval () | |
Confirm level resources removal. More... | |
removeLevelResources () | |
Remove level resource. More... | |
Public Member Functions inherited from ilSkillTreeNodeGUI | |
__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... | |
Protected Attributes | |
$tref_id = 0 | |
$base_skill_id | |
Additional Inherited Members | |
Data Fields inherited from ilSkillTreeNodeGUI | |
$node_object | |
$in_use = false | |
$use_checked = false | |
$access | |
$ref_id | |
Basic skill GUI class.
Definition at line 18 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::__construct | ( | $a_node_id = 0 | ) |
Constructor.
Definition at line 26 of file class.ilBasicSkillGUI.php.
References $ilCtrl, and array.
ilBasicSkillGUI::addLevel | ( | ) |
Add new level.
Definition at line 247 of file class.ilBasicSkillGUI.php.
References $tpl, and initLevelForm().
ilBasicSkillGUI::addLevelResource | ( | ) |
Add level resource.
Definition at line 732 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, and setLevelHead().
ilBasicSkillGUI::afterSave | ( | ) |
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Confirm level deletion.
Definition at line 411 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), ilBasicSkill\lookupLevelTitle(), ilUtil\sendInfo(), and setTabs().
ilBasicSkillGUI::confirmLevelResourcesRemoval | ( | ) |
Confirm level resources removal.
Definition at line 778 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, $title, $tpl, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilSkillTreeNodeGUI\checkPermissionBool(), ilUtil\sendInfo(), and setLevelHead().
ilBasicSkillGUI::deleteLevel | ( | ) |
Delete levels.
Definition at line 448 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::edit | ( | ) |
Edit skill.
Definition at line 151 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), ilSkillTreeNodeGUI\isInUse(), ilUtil\sendInfo(), and setTabs().
ilBasicSkillGUI::editLevel | ( | ) |
Edit level.
Definition at line 258 of file class.ilBasicSkillGUI.php.
References $lng, $tpl, getLevelValues(), initLevelForm(), ilSkillTreeNodeGUI\isInUse(), and ilUtil\sendInfo().
ilBasicSkillGUI::editLevelTrigger | ( | ) |
Edit level trigger.
Definition at line 582 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilObject\_isInTrash(), ilObject\_lookupTitle(), ilObject\_lookupType(), array, setLevelHead(), and ilNonEditableValueGUI\setValue().
ilBasicSkillGUI::editProperties | ( | ) |
Edit properties.
Definition at line 231 of file class.ilBasicSkillGUI.php.
References setTabs().
ilBasicSkillGUI::executeCommand | ( | ) |
Execute command.
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 380 of file class.ilBasicSkillGUI.php.
References $_GET, $data, and array.
Referenced by editLevel().
ilBasicSkillGUI::getType | ( | ) |
ilBasicSkillGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Definition at line 180 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, ilSkillTreeNodeGUI\addStatusInput(), ilSkillTreeNodeGUI\checkPermissionBool(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMaxLength(), and ilTextInputGUI\setMaxLength().
ilBasicSkillGUI::initLevelForm | ( | $a_mode = "edit" | ) |
Init level form.
string | $a_mode | form mode |
Definition at line 335 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), 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 | ( | $a_tmp_mode = false | ) |
Redirect to parent (identified by current obj_id)
Definition at line 683 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelResources | ( | ) |
Remove level resource.
Definition at line 817 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::removeLevelTrigger | ( | ) |
Remove trigger.
Definition at line 672 of file class.ilBasicSkillGUI.php.
References $_GET, and $ilCtrl.
ilBasicSkillGUI::saveItem | ( | ) |
Save item.
Definition at line 102 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, ilSkillTreeNodeGUI\checkPermissionBool(), IL_LAST_NODE, and ilSkillTreeNode\putInTree().
ilBasicSkillGUI::saveLevel | ( | ) |
Save level form.
Definition at line 275 of file class.ilBasicSkillGUI.php.
References $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelResource | ( | ) |
Save level resource.
Definition at line 751 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, ilSkillTreeNodeGUI\$ref_id, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelTrigger | ( | ) |
Save level trigger.
Definition at line 656 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::selectLevelTrigger | ( | ) |
Select skill level trigger.
Definition at line 626 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, array, ilSkillTreeNodeGUI\checkPermissionBool(), ilExplorer\setExpand(), and setLevelHead().
ilBasicSkillGUI::setLevelHead | ( | ) |
Set header for level.
Definition at line 472 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $path, $tpl, array, 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 |
Definition at line 534 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\addUsageTab(), and ilSkillTreeNodeGUI\setSkillNodeDescription().
Referenced by confirmLevelDeletion(), edit(), editProperties(), and showProperties().
ilBasicSkillGUI::showLevelResources | ( | ) |
Show level resources.
Definition at line 708 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tab, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), and setLevelHead().
ilBasicSkillGUI::showProperties | ( | ) |
Show properties.
Definition at line 76 of file class.ilBasicSkillGUI.php.
References $tpl, ilSkillTreeNodeGUI\setLocator(), and setTabs().
ilBasicSkillGUI::updateItem | ( | ) |
Update item.
Definition at line 134 of file class.ilBasicSkillGUI.php.
References $_POST, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::updateLevel | ( | ) |
Update level form.
Definition at line 303 of file class.ilBasicSkillGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Update level order.
Definition at line 393 of file class.ilBasicSkillGUI.php.
References $_POST, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), 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.