ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | ) |
ilBasicSkillGUI::addLevel | ( | ) |
Add new level.
Definition at line 280 of file class.ilBasicSkillGUI.php.
References $tpl, and initLevelForm().
ilBasicSkillGUI::addLevelResource | ( | ) |
Add level resource.
Definition at line 789 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, $tree, and setLevelHead().
ilBasicSkillGUI::afterSave | ( | ) |
After saving.
Definition at line 161 of file class.ilBasicSkillGUI.php.
References $ctrl, and $ilCtrl.
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Confirm level deletion.
Definition at line 446 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 842 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 480 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $id, $ilCtrl, $lng, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::edit | ( | ) |
Edit skill.
Definition at line 191 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 291 of file class.ilBasicSkillGUI.php.
References $lng, $tpl, getLevelValues(), initLevelForm(), ilSkillTreeNodeGUI\isInUse(), and ilUtil\sendInfo().
ilBasicSkillGUI::editLevelTrigger | ( | ) |
Edit level trigger.
Definition at line 630 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, ilObject\_isInTrash(), ilObject\_lookupTitle(), ilObject\_lookupType(), setLevelHead(), and ilNonEditableValueGUI\setValue().
ilBasicSkillGUI::editProperties | ( | ) |
Edit properties.
Definition at line 264 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 415 of file class.ilBasicSkillGUI.php.
References $_GET, $data, and $values.
Referenced by editLevel().
ilBasicSkillGUI::getType | ( | ) |
ilBasicSkillGUI::initForm | ( | $a_mode = "edit" | ) |
Init form.
int | $a_mode | Edit Mode |
Definition at line 221 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, 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 371 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 731 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $t, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelResources | ( | ) |
Remove level resource.
Definition at line 879 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, $ctrl, $i, $ilCtrl, $lng, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::removeLevelTrigger | ( | ) |
Remove trigger.
Definition at line 720 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, and $ilCtrl.
ilBasicSkillGUI::saveItem | ( | ) |
Save item.
Definition at line 140 of file class.ilBasicSkillGUI.php.
References $_GET, $_POST, $tree, ilSkillTreeNodeGUI\checkPermissionBool(), IL_LAST_NODE, and ilSkillTreeNode\putInTree().
ilBasicSkillGUI::saveLevel | ( | ) |
Save level form.
Definition at line 308 of file class.ilBasicSkillGUI.php.
References $ctrl, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), and initLevelForm().
ilBasicSkillGUI::saveLevelResource | ( | ) |
Save level resource.
Definition at line 816 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, ilSkillTreeNodeGUI\$ref_id, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::saveLevelTrigger | ( | ) |
Save level trigger.
Definition at line 705 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::saveResourceSettings | ( | ) |
Save resource settings.
Definition at line 908 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::selectLevelTrigger | ( | ) |
Select skill level trigger.
Definition at line 672 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, $tree, ilSkillTreeNodeGUI\checkPermissionBool(), ilExplorer\setExpand(), and setLevelHead().
ilBasicSkillGUI::setLevelHead | ( | ) |
Set header for level.
Definition at line 502 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $help, $ilCtrl, $lng, $path, $tabs, $tpl, $tree, 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 567 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 755 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 127 of file class.ilBasicSkillGUI.php.
References $tpl, ilSkillTreeNodeGUI\setLocator(), and setTabs().
ilBasicSkillGUI::updateItem | ( | ) |
Update item.
Definition at line 176 of file class.ilBasicSkillGUI.php.
References $_POST, and ilSkillTreeNodeGUI\checkPermissionBool().
ilBasicSkillGUI::updateLevel | ( | ) |
Update level form.
Definition at line 337 of file class.ilBasicSkillGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tpl, ilSkillTreeNodeGUI\checkPermissionBool(), and initLevelForm().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Update level order.
Definition at line 428 of file class.ilBasicSkillGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, ilSkillTreeNodeGUI\checkPermissionBool(), 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(), saveItem(), ilSkillTemplateReferenceGUI\saveItem(), selectLevelTrigger(), ilBasicSkillTemplateGUI\setLevelHead(), and setLevelHead().
|
protected |
Definition at line 55 of file class.ilBasicSkillGUI.php.