ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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... | |
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... | |
saveResourceSettings () | |
Save resource settings. 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 | |
$ctrl | |
$tpl | |
$tabs | |
$help | |
$toolbar | |
$lng | |
$tree | |
$tref_id = 0 | |
$base_skill_id | |
Protected Attributes inherited from ilSkillTreeNodeGUI | |
$ctrl | |
$lng | |
$locator | |
$tpl | |
$user | |
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 61 of file class.ilBasicSkillGUI.php.
References $DIC, $ilCtrl, and array.
ilBasicSkillGUI::addLevel | ( | ) |
Add new level.
Definition at line 286 of file class.ilBasicSkillGUI.php.
References $tpl, and initLevelForm().
ilBasicSkillGUI::addLevelResource | ( | ) |
Add level resource.
Definition at line 795 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, $tree, and setLevelHead().
ilBasicSkillGUI::afterSave | ( | ) |
After saving.
Definition at line 153 of file class.ilBasicSkillGUI.php.
References $ctrl, and $ilCtrl.
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Confirm level deletion.
Definition at line 452 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), ilBasicSkill\lookupLevelTitle(), ilUtil\sendInfo(), and setTabs().
ilBasicSkillGUI::confirmLevelResourcesRemoval | ( | ) |
Confirm level resources removal.
Definition at line 848 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $i, $ilCtrl, $lng, $tabs, $title, $tpl, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilSkillTreeNodeGUI\checkPermissionBool(), ilUtil\sendInfo(), and setLevelHead().
ilBasicSkillGUI::deleteLevel | ( | ) |
Delete levels.
Definition at line 486 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $id, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::edit | ( | ) |
Edit skill.
Definition at line 184 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $table, $toolbar, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), ilSkillTreeNodeGUI\isInUse(), ilUtil\sendInfo(), and setTabs().
ilBasicSkillGUI::editLevel | ( | ) |
Edit level.
Definition at line 297 of file class.ilBasicSkillGUI.php.
References $lng, $tpl, getLevelValues(), initLevelForm(), ilSkillTreeNodeGUI\isInUse(), and ilUtil\sendInfo().
ilBasicSkillGUI::editLevelTrigger | ( | ) |
Edit level trigger.
Definition at line 636 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, ilObject\_isInTrash(), ilObject\_lookupTitle(), ilObject\_lookupType(), array, setLevelHead(), and ilNonEditableValueGUI\setValue().
ilBasicSkillGUI::editProperties | ( | ) |
Edit properties.
Definition at line 270 of file class.ilBasicSkillGUI.php.
References setTabs().
ilBasicSkillGUI::executeCommand | ( | ) |
Execute command.
Definition at line 91 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $ret, $tabs, and setLevelHead().
ilBasicSkillGUI::getLevelValues | ( | ) |
Get current values for level from.
Definition at line 421 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 214 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tree, ilSkillTreeNodeGUI\addStatusInput(), ilSkillTreeNodeGUI\checkPermissionBool(), ilFormPropertyGUI\setInfo(), and ilTextInputGUI\setMaxLength().
ilBasicSkillGUI::initLevelForm | ( | $a_mode = "edit" | ) |
Init level form.
string | $a_mode | form mode |
Definition at line 377 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, ilSkillTreeNodeGUI\checkPermissionBool(), ilTextAreaInputGUI\setCols(), setLevelHead(), and ilTextInputGUI\setMaxLength().
Referenced by addLevel(), editLevel(), saveLevel(), and updateLevel().
ilBasicSkillGUI::redirectToParent | ( | $a_tmp_mode = false | ) |
Redirect to parent (identified by current obj_id)
Definition at line 737 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelResources | ( | ) |
Remove level resource.
Definition at line 885 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, $ctrl, $i, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::removeLevelTrigger | ( | ) |
Remove trigger.
Definition at line 726 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, and $ilCtrl.
ilBasicSkillGUI::saveItem | ( | ) |
Save item.
Definition at line 134 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, ilSkillTreeNodeGUI\checkPermissionBool(), IL_LAST_NODE, and ilSkillTreeNode\putInTree().
ilBasicSkillGUI::saveLevel | ( | ) |
Save level form.
Definition at line 314 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelResource | ( | ) |
Save level resource.
Definition at line 822 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, ilSkillTreeNodeGUI\$ref_id, ilSkillTreeNodeGUI\checkPermissionBool(), and ilUtil\sendSuccess().
ilBasicSkillGUI::saveLevelTrigger | ( | ) |
Save level trigger.
Definition at line 711 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::saveResourceSettings | ( | ) |
Save resource settings.
Definition at line 913 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::selectLevelTrigger | ( | ) |
Select skill level trigger.
Definition at line 678 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, $tree, array, ilSkillTreeNodeGUI\checkPermissionBool(), ilExplorer\setExpand(), and setLevelHead().
ilBasicSkillGUI::setLevelHead | ( | ) |
Set header for level.
Definition at line 508 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $help, $ilCtrl, $lng, $path, $tabs, $tpl, $tree, 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 573 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $help, $ilCtrl, $lng, $tabs, $tpl, ilSkillTreeNodeGUI\addUsageTab(), and ilSkillTreeNodeGUI\setSkillNodeDescription().
Referenced by confirmLevelDeletion(), edit(), editProperties(), and showProperties().
ilBasicSkillGUI::showLevelResources | ( | ) |
Show level resources.
Definition at line 761 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tab, $tabs, $toolbar, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), and setLevelHead().
ilBasicSkillGUI::showProperties | ( | ) |
Show properties.
Definition at line 121 of file class.ilBasicSkillGUI.php.
References $tpl, ilSkillTreeNodeGUI\setLocator(), and setTabs().
ilBasicSkillGUI::updateItem | ( | ) |
Update item.
Definition at line 168 of file class.ilBasicSkillGUI.php.
References $_POST, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::updateLevel | ( | ) |
Update level form.
Definition at line 343 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), initLevelForm(), and ilUtil\sendSuccess().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Update level order.
Definition at line 434 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().
|
protected |
Definition at line 56 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 23 of file class.ilBasicSkillGUI.php.
Referenced by addLevelResource(), afterSave(), confirmLevelDeletion(), confirmLevelResourcesRemoval(), deleteLevel(), edit(), editLevelTrigger(), executeCommand(), initForm(), initLevelForm(), redirectToParent(), removeLevelResources(), removeLevelTrigger(), saveLevel(), saveLevelResource(), saveLevelTrigger(), saveResourceSettings(), selectLevelTrigger(), setLevelHead(), setTabs(), showLevelResources(), updateLevel(), and updateLevelOrder().
|
protected |
Definition at line 38 of file class.ilBasicSkillGUI.php.
Referenced by setLevelHead(), and setTabs().
|
protected |
Definition at line 48 of file class.ilBasicSkillGUI.php.
Referenced by addLevelResource(), confirmLevelDeletion(), confirmLevelResourcesRemoval(), deleteLevel(), edit(), editLevel(), editLevelTrigger(), initForm(), initLevelForm(), removeLevelResources(), saveLevel(), saveLevelResource(), selectLevelTrigger(), setLevelHead(), setTabs(), showLevelResources(), updateLevel(), and updateLevelOrder().
|
protected |
Definition at line 33 of file class.ilBasicSkillGUI.php.
Referenced by addLevelResource(), confirmLevelResourcesRemoval(), editLevelTrigger(), executeCommand(), initLevelForm(), selectLevelTrigger(), setLevelHead(), setTabs(), and showLevelResources().
|
protected |
Definition at line 43 of file class.ilBasicSkillGUI.php.
Referenced by edit(), and showLevelResources().
|
protected |
Definition at line 28 of file class.ilBasicSkillGUI.php.
Referenced by addLevel(), addLevelResource(), confirmLevelDeletion(), confirmLevelResourcesRemoval(), edit(), editLevel(), editLevelTrigger(), saveLevel(), selectLevelTrigger(), setLevelHead(), setTabs(), showLevelResources(), showProperties(), and updateLevel().
|
protected |
Definition at line 53 of file class.ilBasicSkillGUI.php.
Referenced by addLevelResource(), ilBasicSkillTemplateGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), initForm(), selectLevelTrigger(), ilBasicSkillTemplateGUI\setLevelHead(), and setLevelHead().
|
protected |
Definition at line 55 of file class.ilBasicSkillGUI.php.