ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Basic GUI class for skill tree nodes. More...
Public Member Functions | |
__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 () | |
Data Fields | |
object | $node_object = null |
bool | $in_use = false |
bool | $use_checked = false |
ilAccessHandler | $access |
Protected Attributes | |
ilCtrl | $ctrl |
ilLanguage | $lng |
ilLocatorGUI | $locator |
ilGlobalTemplateInterface | $tpl |
ilObjUser | $user |
ilTree | $tree |
ilPropertyFormGUI | $form |
UI Factory | $ui_fac |
UI Renderer | $ui_ren |
object | $parentgui |
int | $tref_id = 0 |
Node SkillTreeNodeManager | $skill_tree_node_manager |
SkillTreeAccess | $tree_access_manager |
Table TableManager | $table_manager |
Usage SkillUsageManager | $usage_manager |
ilSkillTreeRepository | $tree_repo |
int | $skill_tree_id = 0 |
ilTabsGUI | $tabs |
SkillAdminGUIRequest | $admin_gui_request |
SkillUIService | $skill_ui_service |
DataFactory | $data_factory |
ExportFactoryInterface | $export_factory |
int | $requested_ref_id = 0 |
int | $requested_node_id = 0 |
string | $requested_backcmd = "" |
bool | $requested_tmpmode = false |
int | $base_skill_id = 0 |
array | $requested_node_ids = [] |
array | $requested_node_order = [] |
Basic GUI class for skill tree nodes.
Definition at line 37 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::__construct | ( | Node\SkillTreeNodeManager | $node_manager, |
int | $a_node_id = 0 |
||
) |
Definition at line 81 of file class.ilSkillTreeNodeGUI.php.
References $DIC, ilSkillTreeNode\_lookupType(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), null, readNodeObject(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
ilSkillTreeNodeGUI::addObjectsTab | ( | ilTabsGUI | $a_tabs | ) |
Definition at line 591 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillTemplateReferenceGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::addStatusInput | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 306 of file class.ilSkillTreeNodeGUI.php.
References $lng, ilPropertyFormGUI\addItem(), ilSkillTreeNode\getAllStatus(), ilSkillTreeNode\getStatusInfo(), ilSkillTreeNode\STATUS_PUBLISH, and ilLanguage\txt().
Referenced by ilSkillCategoryGUI\initForm(), ilSkillTemplateReferenceGUI\initForm(), and ilBasicSkillGUI\initForm().
ilSkillTreeNodeGUI::addUsageTab | ( | ilTabsGUI | $a_tabs | ) |
Definition at line 559 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ilTabsGUI\addTab(), and ilLanguage\txt().
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::afterSave | ( | ) |
Definition at line 380 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
Referenced by save().
ilSkillTreeNodeGUI::afterUpdate | ( | ) |
Definition at line 411 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and ilCtrl\redirect().
Referenced by update().
ilSkillTreeNodeGUI::cancelDelete | ( | ) |
Definition at line 252 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and redirectToParent().
ilSkillTreeNodeGUI::cancelSave | ( | ) |
Definition at line 451 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::confirmedDelete | ( | ) |
confirmed delete
Definition at line 262 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, getParentGUI(), and redirectToParent().
ilSkillTreeNodeGUI::copyItems | ( | ) |
Copy items to clipboard.
Definition at line 222 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $requested_node_ids, redirectToParent(), ilLanguage\txt(), and ilSkillTreeNode\uniqueTypesCheck().
ilSkillTreeNodeGUI::create | ( | ) |
Create skill tree node.
Definition at line 290 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tabs, $tpl, ILIAS\Repository\form(), initForm(), ilTabsGUI\setBackTarget(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilSkillTreeNodeGUI::cutItems | ( | ) |
Copy items to clipboard, then cut them from the current tree.
Definition at line 182 of file class.ilSkillTreeNodeGUI.php.
References $lng, $requested_node_ids, redirectToParent(), ilLanguage\txt(), and ilSkillTreeNode\uniqueTypesCheck().
ilSkillTreeNodeGUI::deleteNodes | ( | ) |
Delete nodes in the hierarchy.
Definition at line 171 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, getParentGUI(), and ilCtrl\setParameter().
ilSkillTreeNodeGUI::editProperties | ( | ) |
Definition at line 320 of file class.ilSkillTreeNodeGUI.php.
References $lng, $tpl, ILIAS\Repository\form(), getPropertyValues(), initForm(), isInUse(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilSkillTreeNodeGUI::getParentGUI | ( | ) |
Definition at line 147 of file class.ilSkillTreeNodeGUI.php.
References $parentgui.
Referenced by confirmedDelete(), deleteNodes(), ilSkillRootGUI\listSkills(), ilSkillRootGUI\listTemplates(), and saveAllTitles().
ilSkillTreeNodeGUI::getPropertyValues | ( | ) |
Get property values for edit form.
Definition at line 337 of file class.ilSkillTreeNodeGUI.php.
References ILIAS\Repository\form().
Referenced by editProperties().
ilSkillTreeNodeGUI::initForm | ( | string | $a_mode = "edit" | ) |
Definition at line 418 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, ILIAS\Repository\form(), ilTextAreaInputGUI\setRows(), and ilLanguage\txt().
Referenced by create(), editProperties(), save(), and update().
ilSkillTreeNodeGUI::insertBasicSkillClip | ( | ) |
Definition at line 508 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::insertSkillCategoryClip | ( | ) |
Definition at line 514 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::insertSkillTemplateClip | ( | ) |
Definition at line 526 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::insertTemplateCategoryClip | ( | ) |
Definition at line 532 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::insertTemplateReferenceClip | ( | ) |
Definition at line 520 of file class.ilSkillTreeNodeGUI.php.
References redirectToParent().
ilSkillTreeNodeGUI::isInUse | ( | ) |
Definition at line 124 of file class.ilSkillTreeNodeGUI.php.
References $in_use, and ilSkillTreeNode\getAllCSkillIdsForNodeIds().
Referenced by ilBasicSkillGUI\edit(), ilBasicSkillTemplateGUI\edit(), ilBasicSkillGUI\editLevel(), editProperties(), ilSkillTemplateCategoryGUI\listItems(), ilSkillCategoryGUI\listItems(), and ilSkillTemplateReferenceGUI\listItems().
ilSkillTreeNodeGUI::readNodeObject | ( | int | $a_node_id | ) |
Get node object instance.
Definition at line 155 of file class.ilSkillTreeNodeGUI.php.
References ilSkillTreeNodeFactory\getInstance().
Referenced by __construct().
ilSkillTreeNodeGUI::redirectToParent | ( | bool | $a_tmp_mode = false | ) |
Redirect to parent (identified by current node_id)
Definition at line 459 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and ilSkillTreeNode\_lookupType().
Referenced by afterSave(), cancelDelete(), cancelSave(), confirmedDelete(), copyItems(), cutItems(), insertBasicSkillClip(), insertSkillCategoryClip(), insertSkillTemplateClip(), insertTemplateCategoryClip(), insertTemplateReferenceClip(), saveOrder(), and showObjects().
ilSkillTreeNodeGUI::save | ( | ) |
Save skill tree node.
Definition at line 354 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tpl, afterSave(), ILIAS\Repository\form(), initForm(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilSkillTreeNodeGUI::saveAllTitles | ( | ) |
Definition at line 160 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, and getParentGUI().
ilSkillTreeNodeGUI::saveOrder | ( | ) |
Definition at line 491 of file class.ilSkillTreeNodeGUI.php.
References $lng, redirectToParent(), and ilLanguage\txt().
ilSkillTreeNodeGUI::setParentGUI | ( | object | $a_parentgui | ) |
Definition at line 142 of file class.ilSkillTreeNodeGUI.php.
ilSkillTreeNodeGUI::setSkillNodeDescription | ( | ) |
Definition at line 280 of file class.ilSkillTreeNodeGUI.php.
References $tpl, $tref_id, and ILIAS\UICore\GlobalTemplate\setDescription().
Referenced by ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
ilSkillTreeNodeGUI::setTitleIcon | ( | ) |
Definition at line 538 of file class.ilSkillTreeNodeGUI.php.
References $tpl, ilSkillTreeNode\_lookupStatus(), ilSkillTreeNode\getIconPath(), and ILIAS\UICore\GlobalTemplate\setTitleIcon().
ilSkillTreeNodeGUI::showObjects | ( | ) |
Definition at line 603 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $tpl, redirectToParent(), ILIAS\UICore\GlobalTemplate\setContent(), and ILIAS\Repository\user().
ilSkillTreeNodeGUI::showUsage | ( | ) |
Definition at line 571 of file class.ilSkillTreeNodeGUI.php.
References $tpl, and ILIAS\UICore\GlobalTemplate\setContent().
ilSkillTreeNodeGUI::update | ( | ) |
Update skill tree node.
Definition at line 390 of file class.ilSkillTreeNodeGUI.php.
References $ctrl, $lng, $tpl, afterUpdate(), ILIAS\Repository\form(), initForm(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilAccessHandler ilSkillTreeNodeGUI::$access |
Definition at line 53 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 61 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateCategoryGUI\addCreationButtons(), and ilSkillCategoryGUI\addCreationButtons().
|
protected |
Definition at line 69 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 39 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addUsageTab(), afterUpdate(), cancelDelete(), confirmedDelete(), copyItems(), create(), deleteNodes(), initForm(), redirectToParent(), save(), saveAllTitles(), showObjects(), and update().
|
protected |
Definition at line 63 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 64 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 45 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilBasicSkillGUI\addLevel(), ilBasicSkillGUI\editLevel(), ilSkillRootGUI\importSkills(), ilSkillRootGUI\initInputForm(), ilBasicSkillGUI\initLevelForm(), ilBasicSkillGUI\saveLevel(), and ilBasicSkillGUI\updateLevel().
bool ilSkillTreeNodeGUI::$in_use = false |
Definition at line 51 of file class.ilSkillTreeNodeGUI.php.
Referenced by isInUse().
|
protected |
Definition at line 40 of file class.ilSkillTreeNodeGUI.php.
Referenced by addObjectsTab(), addStatusInput(), addUsageTab(), copyItems(), create(), cutItems(), editProperties(), initForm(), save(), saveOrder(), and update().
|
protected |
Definition at line 41 of file class.ilSkillTreeNodeGUI.php.
object ilSkillTreeNodeGUI::$node_object = null |
Definition at line 49 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 48 of file class.ilSkillTreeNodeGUI.php.
Referenced by getParentGUI().
|
protected |
Definition at line 67 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 66 of file class.ilSkillTreeNodeGUI.php.
Referenced by ilSkillTemplateCategoryGUI\addCreationButtons(), and ilSkillCategoryGUI\addCreationButtons().
|
protected |
Definition at line 74 of file class.ilSkillTreeNodeGUI.php.
Referenced by copyItems(), and cutItems().
|
protected |
Definition at line 79 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 65 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 68 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 59 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 54 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 62 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 56 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 60 of file class.ilSkillTreeNodeGUI.php.
Referenced by create().
|
protected |
Definition at line 42 of file class.ilSkillTreeNodeGUI.php.
Referenced by create(), editProperties(), save(), setSkillNodeDescription(), setTitleIcon(), showObjects(), showUsage(), and update().
|
protected |
Definition at line 44 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 55 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 58 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 50 of file class.ilSkillTreeNodeGUI.php.
Referenced by setSkillNodeDescription().
Definition at line 46 of file class.ilSkillTreeNodeGUI.php.
Definition at line 47 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 57 of file class.ilSkillTreeNodeGUI.php.
bool ilSkillTreeNodeGUI::$use_checked = false |
Definition at line 52 of file class.ilSkillTreeNodeGUI.php.
|
protected |
Definition at line 43 of file class.ilSkillTreeNodeGUI.php.