ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Basic skill GUI class. More...
Public Member Functions | |
__construct (Node\SkillTreeNodeManager $node_manager, int $a_node_id=0) | |
getType () | |
executeCommand () | |
showProperties () | |
saveItem () | |
afterSave () | |
updateItem () | |
edit () | |
initForm (string $a_mode="edit") | |
editProperties () | |
addLevel () | |
editLevel () | |
saveLevel () | |
updateLevel () | |
initLevelForm (string $a_mode="edit") | |
updateLevelOrder () | |
confirmLevelDeletion () | |
deleteLevel () | |
setLevelHead () | |
setTabs (string $a_tab="levels") | |
redirectToParent (bool $a_tmp_mode=false) | |
Redirect to parent (identified by current node_id) More... | |
showLevelResources () | |
addLevelResource () | |
saveLevelResource () | |
removeLevelResources () | |
saveResourcesAsSuggested () | |
saveResourcesAsNotSuggested () | |
saveResourcesAsTrigger () | |
saveResourcesAsNoTrigger () | |
![]() | |
__construct (Node\SkillTreeNodeManager $node_manager, int $a_node_id=0) | |
isInUse () | |
setParentGUI (object $a_parentgui) | |
getParentGUI () | |
readNodeObject (int $a_node_id) | |
Get node object instance. More... | |
saveAllTitles () | |
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 () | |
confirmedDelete () | |
confirmed delete More... | |
setSkillNodeDescription () | |
create () | |
Create skill tree node. More... | |
addStatusInput (ilPropertyFormGUI $a_form) | |
editProperties () | |
getPropertyValues () | |
Get property values for edit form. More... | |
save () | |
Save skill tree node. More... | |
afterSave () | |
update () | |
Update skill tree node. More... | |
afterUpdate () | |
initForm (string $a_mode="edit") | |
cancelSave () | |
redirectToParent (bool $a_tmp_mode=false) | |
Redirect to parent (identified by current node_id) More... | |
saveOrder () | |
insertBasicSkillClip () | |
insertSkillCategoryClip () | |
insertTemplateReferenceClip () | |
insertSkillTemplateClip () | |
insertTemplateCategoryClip () | |
setTitleIcon () | |
addUsageTab (ilTabsGUI $a_tabs) | |
showUsage () | |
addObjectsTab (ilTabsGUI $a_tabs) | |
showObjects () | |
exportSelectedNodes () | |
Additional Inherited Members | |
![]() | |
object | $node_object = null |
bool | $in_use = false |
bool | $use_checked = false |
ilAccessHandler | $access |
Basic skill GUI class.
Definition at line 35 of file class.ilBasicSkillGUI.php.
ilBasicSkillGUI::__construct | ( | Node\SkillTreeNodeManager | $node_manager, |
int | $a_node_id = 0 |
||
) |
Definition at line 84 of file class.ilBasicSkillGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
ilBasicSkillGUI::addLevel | ( | ) |
Definition at line 278 of file class.ilBasicSkillGUI.php.
References ilSkillTreeNodeGUI\$form, $tpl, initLevelForm(), and ILIAS\UICore\GlobalTemplate\setContent().
ilBasicSkillGUI::addLevelResource | ( | ) |
Definition at line 674 of file class.ilBasicSkillGUI.php.
References $tabs, $tpl, ILIAS\UICore\GlobalTemplate\setContent(), and setLevelHead().
ilBasicSkillGUI::afterSave | ( | ) |
Definition at line 163 of file class.ilBasicSkillGUI.php.
References $ctrl, and ilCtrl\setParameterByClass().
ilBasicSkillGUI::confirmLevelDeletion | ( | ) |
Definition at line 442 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $tpl, getType(), ilBasicSkill\lookupLevelTitle(), ILIAS\UICore\GlobalTemplate\setContent(), setTabs(), and ilLanguage\txt().
ilBasicSkillGUI::deleteLevel | ( | ) |
Definition at line 473 of file class.ilBasicSkillGUI.php.
References $ctrl, $id, $lng, getType(), ilCtrl\redirect(), and ilLanguage\txt().
ilBasicSkillGUI::edit | ( | ) |
Definition at line 189 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $toolbar, $tpl, ilSkillTreeNodeGUI\isInUse(), ILIAS\UICore\GlobalTemplate\setContent(), setTabs(), and ilLanguage\txt().
ilBasicSkillGUI::editLevel | ( | ) |
Definition at line 286 of file class.ilBasicSkillGUI.php.
References ilSkillTreeNodeGUI\$form, $lng, $tpl, getType(), initLevelForm(), ilSkillTreeNodeGUI\isInUse(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilBasicSkillGUI::editProperties | ( | ) |
Definition at line 265 of file class.ilBasicSkillGUI.php.
References setTabs().
ilBasicSkillGUI::executeCommand | ( | ) |
ilBasicSkillGUI::getType | ( | ) |
Definition at line 116 of file class.ilBasicSkillGUI.php.
Referenced by confirmLevelDeletion(), deleteLevel(), editLevel(), removeLevelResources(), saveLevel(), saveLevelResource(), showLevelResources(), updateItem(), updateLevel(), and updateLevelOrder().
ilBasicSkillGUI::initForm | ( | string | $a_mode = "edit" | ) |
Definition at line 218 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, ilSkillTreeNodeGUI\addStatusInput(), ILIAS\Repository\form(), ilTextAreaInputGUI\setRows(), and ilLanguage\txt().
ilBasicSkillGUI::initLevelForm | ( | string | $a_mode = "edit" | ) |
Definition at line 377 of file class.ilBasicSkillGUI.php.
References $ctrl, $data, ilSkillTreeNodeGUI\$form, $lng, $tabs, setLevelHead(), and ilLanguage\txt().
Referenced by addLevel(), editLevel(), saveLevel(), and updateLevel().
ilBasicSkillGUI::redirectToParent | ( | bool | $a_tmp_mode = false | ) |
Redirect to parent (identified by current node_id)
Definition at line 622 of file class.ilBasicSkillGUI.php.
References $ctrl, and ilSkillTreeNode\_lookupType().
ilBasicSkillGUI::removeLevelResources | ( | ) |
Definition at line 723 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, getType(), and ilLanguage\txt().
ilBasicSkillGUI::saveItem | ( | ) |
Definition at line 147 of file class.ilBasicSkillGUI.php.
References ILIAS\Repository\form(), and ilTree\POS_LAST_NODE.
ilBasicSkillGUI::saveLevel | ( | ) |
Definition at line 304 of file class.ilBasicSkillGUI.php.
References $ctrl, ilSkillTreeNodeGUI\$form, $lng, $tpl, getType(), initLevelForm(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilBasicSkillGUI::saveLevelResource | ( | ) |
Definition at line 696 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $ref_id, $requested_root_id, getType(), and ilLanguage\txt().
ilBasicSkillGUI::saveResourcesAsNoTrigger | ( | ) |
Definition at line 877 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $resources, $tpl, ILIAS\UICore\GlobalTemplate\setOnScreenMessage(), and ilLanguage\txt().
ilBasicSkillGUI::saveResourcesAsNotSuggested | ( | ) |
Definition at line 791 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $resources, $tpl, ILIAS\UICore\GlobalTemplate\setOnScreenMessage(), and ilLanguage\txt().
ilBasicSkillGUI::saveResourcesAsSuggested | ( | ) |
Definition at line 748 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $resources, $tpl, ILIAS\UICore\GlobalTemplate\setOnScreenMessage(), and ilLanguage\txt().
ilBasicSkillGUI::saveResourcesAsTrigger | ( | ) |
Definition at line 834 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $resources, $tpl, ILIAS\UICore\GlobalTemplate\setOnScreenMessage(), and ilLanguage\txt().
ilBasicSkillGUI::setLevelHead | ( | ) |
Definition at line 493 of file class.ilBasicSkillGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, ilBasicSkill\lookupLevelTitle(), ILIAS\UICore\GlobalTemplate\setDescription(), ilHelpGUI\setScreenIdComponent(), ILIAS\UICore\GlobalTemplate\setTitle(), and ilLanguage\txt().
Referenced by addLevelResource(), initLevelForm(), and showLevelResources().
ilBasicSkillGUI::setTabs | ( | string | $a_tab = "levels" | ) |
Definition at line 536 of file class.ilBasicSkillGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), ilSkillTreeNodeGUI\addObjectsTab(), ilSkillTreeNodeGUI\addUsageTab(), ILIAS\UICore\GlobalTemplate\setDescription(), ilHelpGUI\setScreenIdComponent(), ilSkillTreeNodeGUI\setSkillNodeDescription(), ILIAS\UICore\GlobalTemplate\setTitle(), and ilLanguage\txt().
Referenced by confirmLevelDeletion(), edit(), editProperties(), and showProperties().
ilBasicSkillGUI::showLevelResources | ( | ) |
Definition at line 643 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, $tabs, $toolbar, $tpl, getType(), ILIAS\UICore\GlobalTemplate\setContent(), setLevelHead(), and ilLanguage\txt().
ilBasicSkillGUI::showProperties | ( | ) |
Definition at line 138 of file class.ilBasicSkillGUI.php.
References $tpl, ILIAS\UICore\GlobalTemplate\setContent(), and setTabs().
ilBasicSkillGUI::updateItem | ( | ) |
Definition at line 175 of file class.ilBasicSkillGUI.php.
References ILIAS\Repository\form(), and getType().
ilBasicSkillGUI::updateLevel | ( | ) |
Definition at line 338 of file class.ilBasicSkillGUI.php.
References $ctrl, ilSkillTreeNodeGUI\$form, $lng, $tpl, getType(), initLevelForm(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilBasicSkillGUI::updateLevelOrder | ( | ) |
Definition at line 426 of file class.ilBasicSkillGUI.php.
References $ctrl, $lng, getType(), ilArrayUtil\stripSlashesArray(), and ilLanguage\txt().
|
protected |
Definition at line 37 of file class.ilBasicSkillGUI.php.
Referenced by afterSave(), confirmLevelDeletion(), deleteLevel(), edit(), executeCommand(), initForm(), initLevelForm(), redirectToParent(), removeLevelResources(), saveLevel(), saveLevelResource(), saveResourcesAsNoTrigger(), saveResourcesAsNotSuggested(), saveResourcesAsSuggested(), saveResourcesAsTrigger(), setLevelHead(), setTabs(), showLevelResources(), updateLevel(), and updateLevelOrder().
Definition at line 43 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 40 of file class.ilBasicSkillGUI.php.
Referenced by setLevelHead(), and setTabs().
|
protected |
Definition at line 42 of file class.ilBasicSkillGUI.php.
Referenced by confirmLevelDeletion(), deleteLevel(), edit(), editLevel(), executeCommand(), initForm(), initLevelForm(), removeLevelResources(), saveLevel(), saveLevelResource(), saveResourcesAsNoTrigger(), saveResourcesAsNotSuggested(), saveResourcesAsSuggested(), saveResourcesAsTrigger(), setLevelHead(), setTabs(), showLevelResources(), updateLevel(), and updateLevelOrder().
|
protected |
Definition at line 45 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 44 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 49 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 60 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 55 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 65 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 50 of file class.ilBasicSkillGUI.php.
Referenced by saveLevelResource().
|
protected |
Definition at line 70 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 77 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 82 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 75 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 46 of file class.ilBasicSkillGUI.php.
|
protected |
Definition at line 39 of file class.ilBasicSkillGUI.php.
Referenced by addLevelResource(), executeCommand(), initLevelForm(), setLevelHead(), setTabs(), and showLevelResources().
|
protected |
Definition at line 41 of file class.ilBasicSkillGUI.php.
Referenced by edit(), and showLevelResources().
|
protected |
Definition at line 38 of file class.ilBasicSkillGUI.php.
Referenced by addLevel(), addLevelResource(), confirmLevelDeletion(), edit(), editLevel(), saveLevel(), saveResourcesAsNoTrigger(), saveResourcesAsNotSuggested(), saveResourcesAsSuggested(), saveResourcesAsTrigger(), setLevelHead(), setTabs(), showLevelResources(), showProperties(), and updateLevel().
|
protected |
Definition at line 48 of file class.ilBasicSkillGUI.php.