|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
A node in the skill tree. More...
Inheritance diagram for ilSkillTreeNode:
Collaboration diagram for ilSkillTreeNode:Public Member Functions | |
| ilSkillTreeNode ($a_id=0) | |
| setTitle ($a_title) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setType ($a_type) | |
| Set type. More... | |
| getType () | |
| Get type. More... | |
| setId ($a_id) | |
| Set Node ID. More... | |
| getId () | |
| Get Node ID. More... | |
| setSelfEvaluation ($a_val) | |
| Set self evaluation. More... | |
| getSelfEvaluation () | |
| Get self evaluation. More... | |
| setOrderNr ($a_val) | |
| Set order nr. More... | |
| getOrderNr () | |
| Get order nr. More... | |
| read () | |
| Read Data of Node. More... | |
| setDataRecord ($a_record) | |
| this method should only be called by class ilSCORM2004NodeFactory More... | |
| setStatus ($a_val) | |
| Set status. More... | |
| getStatus () | |
| Get status. More... | |
| create () | |
| Create Node. More... | |
| update () | |
| Update Node. More... | |
| delete () | |
| Delete Node. More... | |
| clipboardCut ($a_tree_id, $a_ids) | |
| Cut and copy a set of skills/skill categories into the clipboard. More... | |
Static Public Member Functions | |
| static | getAllStatus () |
| Get all status. More... | |
| static | getStatusInfo ($a_status) |
| Get status info. More... | |
| static | _lookupTitle ($a_obj_id, $a_tref_id=0) |
| Lookup Title. More... | |
| static | _lookupSelfEvaluation ($a_obj_id) |
| Lookup self evaluation. More... | |
| static | _lookupStatus ($a_obj_id) |
| Lookup Status. More... | |
| static | _lookupType ($a_obj_id) |
| Lookup Type. More... | |
| static | _writeTitle ($a_obj_id, $a_title) |
| Write Title. More... | |
| static | _writeOrderNr ($a_obj_id, $a_nr) |
| Write Order Nr. More... | |
| static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
| Put this object into the skill tree. More... | |
| static | getTree ($a_slm_obj_id) |
| Get scorm module editing tree. More... | |
| static | uniqueTypesCheck ($a_items) |
| Check for unique types. More... | |
| static | clipboardCopy ($a_tree_id, $a_ids) |
| Copy a set of skills/skill categories into the clipboard. More... | |
| static | insertItemsFromClip ($a_type, $a_obj_id) |
| Insert basic skills from clipboard. More... | |
| static | clearClipboard () |
| Remove all skill items from clipboard. More... | |
| static | pasteTree ($a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false, $a_add_suffix=false) |
| Paste item (tree) from clipboard to skill tree. More... | |
| static | isInTree ($a_id) |
| Is id in tree? More... | |
| static | getAllSelfEvaluationNodes () |
| Get all self evaluation nodes. More... | |
| static | getTopTemplates () |
| Get top skill templates and template categories. More... | |
| static | getSelectableSkills () |
| Get selectable skills. More... | |
| static | saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false) |
| Save childs order. More... | |
| static | getIconPath ($a_obj_id, $a_type, $a_size="", $a_status=0) |
| Get icon path. More... | |
| static | findSkills ($a_term) |
| Find skills. More... | |
Data Fields | |
| const | STATUS_PUBLISH = 0 |
| const | STATUS_DRAFT = 1 |
| const | STATUS_OUTDATED = 2 |
| $type | |
| $id | |
| $title | |
Static Protected Member Functions | |
| static | _lookup ($a_obj_id, $a_field) |
| Lookup Title. More... | |
|
staticprotected |
Lookup Title.
| int | Node ID |
Definition at line 209 of file class.ilSkillTreeNode.php.
Referenced by _lookupSelfEvaluation(), _lookupStatus(), and _lookupTitle().
Here is the caller graph for this function:
|
static |
Lookup self evaluation.
| int | node ID |
Definition at line 245 of file class.ilSkillTreeNode.php.
References $ilDB, and _lookup().
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTreeExplorerGUI\getNodeContent(), and ilPersonalSkillExplorerGUI\isNodeClickable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup Status.
| int | $a_obj_id | node ID |
Definition at line 258 of file class.ilSkillTreeNode.php.
References $ilDB, and _lookup().
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillCatTableGUI\fillRow(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), and ilSkillTreeNodeGUI\setTitleIcon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup Title.
| int | node ID |
Definition at line 227 of file class.ilSkillTreeNode.php.
References $ilDB, _lookup(), and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSkillUsageTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilSkillSelfEvaluationGUI\confirmSelfEvaluationDeletion(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSelfEvaluationTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilPersonalSkill\getSelectedUserSkills(), ilPersonalSkillsGUI\getSkillHTML(), ilSurveySkillTableGUI\getSkills(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ilPortfolioPageGUI\renderSkillsTeaser(), and ilPersonalSkillsGUI\selfEvaluation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup Type.
| int | Node ID |
Definition at line 271 of file class.ilSkillTreeNode.php.
Referenced by ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilPersonalSkillsGUI\getSkillHTML(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillTreeNodeGUI\ilSkillTreeNodeGUI(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), pasteTree(), putInTree(), ilSkillTreeNodeGUI\redirectToParent(), ilBasicSkillGUI\redirectToParent(), ilSkillCategoryGUI\redirectToParent(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilObjSkillManagementGUI\showTree(), and uniqueTypesCheck().
Here is the caller graph for this function:
|
static |
Write Order Nr.
| int | Node ID |
| string | Order Nr |
Definition at line 326 of file class.ilSkillTreeNode.php.
Referenced by saveChildsOrder().
Here is the caller graph for this function:
|
static |
Write Title.
| int | Node ID |
| string | Title |
Definition at line 309 of file class.ilSkillTreeNode.php.
Referenced by ilObjSkillManagementGUI\saveAllTemplateTitles(), and ilObjSkillManagementGUI\saveAllTitles().
Here is the caller graph for this function:
|
static |
Remove all skill items from clipboard.
return
Definition at line 616 of file class.ilSkillTreeNode.php.
References $ilUser, and ilEditClipboard\clear().
Referenced by clipboardCopy(), clipboardCut(), and insertItemsFromClip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Copy a set of skills/skill categories into the clipboard.
Definition at line 531 of file class.ilSkillTreeNode.php.
References $id, $ilUser, _lookupTitle(), _lookupType(), and clearClipboard().
Referenced by clipboardCut(), and ilSkillTreeNodeGUI\copyItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::clipboardCut | ( | $a_tree_id, | |
| $a_ids | |||
| ) |
Cut and copy a set of skills/skill categories into the clipboard.
Definition at line 480 of file class.ilSkillTreeNode.php.
References $id, $path, clearClipboard(), and clipboardCopy().
Referenced by ilSkillTreeNodeGUI\cutItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::create | ( | ) |
Create Node.
| boolean | Upload Mode |
Reimplemented in ilBasicSkill, ilSkillCategory, ilSkillRoot, and ilSkillTemplateReference.
Definition at line 341 of file class.ilSkillTreeNode.php.
References $id, $ilDB, $query, getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilSkillTreeNode::delete | ( | ) |
Delete Node.
Reimplemented in ilBasicSkill, ilSkillCategory, ilSkillRoot, and ilSkillTemplateReference.
Definition at line 381 of file class.ilSkillTreeNode.php.
References $ilDB, $query, and getId().
Here is the call graph for this function:
|
static |
Find skills.
return
Definition at line 867 of file class.ilSkillTreeNode.php.
References $ilDB, $path, $res, $row, ilSkillTemplateReference\_lookupTemplateId(), and ilSkillTemplateReference\_lookupTrefIdsForTopTemplateId().
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all self evaluation nodes.
return
Definition at line 723 of file class.ilSkillTreeNode.php.
References $ilDB.
Referenced by ilSkillSelfEvaluationGUI\listSelfEvaluations().
Here is the caller graph for this function:
|
static |
Get all status.
Definition at line 144 of file class.ilSkillTreeNode.php.
References $lng.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
Here is the caller graph for this function:
|
static |
Get icon path.
| int | $a_obj_id | node id |
| string | $a_type | node type |
| string | $a_size | size |
| int | $a_status | status |
Definition at line 831 of file class.ilSkillTreeNode.php.
References $type, ilSkillTemplateReference\_lookupTemplateId(), _lookupType(), ilUtil\getImagePath(), ILIAS_VERSION, and STATUS_DRAFT.
Referenced by ilSkillCatTableGUI\fillRow(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilSkillTreeExplorerGUI\getNodeIcon(), ilBasicSkillTemplateGUI\setLevelHead(), and ilSkillTreeNodeGUI\setTitleIcon().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::getId | ( | ) |
Get Node ID.
| int | Node ID |
Definition at line 94 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), delete(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getOrderNr | ( | ) |
Get order nr.
Definition at line 134 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:
|
static |
Get selectable skills.
return
Definition at line 758 of file class.ilSkillTreeNode.php.
References $ilDB.
| ilSkillTreeNode::getSelfEvaluation | ( | ) |
Get self evaluation.
Definition at line 114 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkill\copy(), ilSkillCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getStatus | ( | ) |
Get status.
Definition at line 298 of file class.ilSkillTreeNode.php.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Get status info.
| int | $a_status | status |
Definition at line 161 of file class.ilSkillTreeNode.php.
References $lng, STATUS_DRAFT, STATUS_OUTDATED, and STATUS_PUBLISH.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
Here is the caller graph for this function:| ilSkillTreeNode::getTitle | ( | ) |
Get title.
Definition at line 54 of file class.ilSkillTreeNode.php.
References $title.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), ilBasicSkill\getTitleForCertificate(), and update().
Here is the caller graph for this function:
|
static |
Get top skill templates and template categories.
return
Definition at line 744 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTemplateReferenceGUI\initForm().
Here is the caller graph for this function:
|
static |
Get scorm module editing tree.
| int | scorm module object id |
Definition at line 448 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::getType | ( | ) |
Get type.
Definition at line 74 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), and create().
Here is the caller graph for this function:| ilSkillTreeNode::ilSkillTreeNode | ( | $a_id = 0 | ) |
| int | node id |
Definition at line 27 of file class.ilSkillTreeNode.php.
References read().
Here is the call graph for this function:
|
static |
Insert basic skills from clipboard.
Definition at line 571 of file class.ilSkillTreeNode.php.
References $ilCtrl, $ilUser, clearClipboard(), ilEditClipboard\getAction(), IL_LAST_NODE, pasteTree(), and saveChildsOrder().
Referenced by ilSkillTreeNodeGUI\insertBasicSkillClip(), ilSkillTreeNodeGUI\insertSkillCategoryClip(), ilSkillTreeNodeGUI\insertSkillTemplateClip(), ilSkillTreeNodeGUI\insertTemplateCategoryClip(), and ilSkillTreeNodeGUI\insertTemplateReferenceClip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Is id in tree?
return
Definition at line 707 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkill\getSkillForLevelId().
Here is the caller graph for this function:
|
static |
Paste item (tree) from clipboard to skill tree.
Definition at line 633 of file class.ilSkillTreeNode.php.
References $ilLog, $ilUser, $lng, _lookupType(), IL_LAST_NODE, pasteTree(), and putInTree().
Referenced by insertItemsFromClip(), and pasteTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Put this object into the skill tree.
Definition at line 393 of file class.ilSkillTreeNode.php.
References _lookupType(), and IL_FIRST_NODE.
Referenced by pasteTree(), ilBasicSkillGUI\saveItem(), ilBasicSkillTemplateGUI\saveItem(), ilSkillCategoryGUI\saveItem(), ilSkillTemplateCategoryGUI\saveItem(), and ilSkillTemplateReferenceGUI\saveItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::read | ( | ) |
Read Data of Node.
Reimplemented in ilBasicSkill, ilSkillCategory, ilSkillRoot, and ilSkillTemplateReference.
Definition at line 177 of file class.ilSkillTreeNode.php.
References $ilBench, $ilDB, $query, setOrderNr(), setSelfEvaluation(), setStatus(), setTitle(), and setType().
Referenced by ilSkillTreeNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Save childs order.
return
Definition at line 781 of file class.ilSkillTreeNode.php.
References _writeOrderNr(), and ilUtil\sortArray().
Referenced by ilSkillTreeNodeGUI\confirmedDelete(), ilSkillTreeNodeGUI\cutItems(), insertItemsFromClip(), ilSkillTreeNodeGUI\save(), and ilSkillTreeNodeGUI\saveOrder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::setDataRecord | ( | $a_record | ) |
this method should only be called by class ilSCORM2004NodeFactory
Definition at line 198 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::setId | ( | $a_id | ) |
Set Node ID.
| int | Node ID |
Definition at line 84 of file class.ilSkillTreeNode.php.
Referenced by create().
Here is the caller graph for this function:| ilSkillTreeNode::setOrderNr | ( | $a_val | ) |
Set order nr.
| int | $a_val | order nr |
Definition at line 124 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setSelfEvaluation | ( | $a_val | ) |
Set self evaluation.
| boolean | self evaluation |
Definition at line 104 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setStatus | ( | $a_val | ) |
Set status.
| boolean | $a_val | status |
Definition at line 288 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setTitle | ( | $a_title | ) |
Set title.
| string | $a_title | title |
Definition at line 44 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setType | ( | $a_type | ) |
Set type.
| string | Type |
Definition at line 64 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkill\__construct(), ilBasicSkillTemplate\__construct(), ilSkillCategory\__construct(), ilSkillRoot\__construct(), ilSkillTemplateCategory\__construct(), ilSkillTemplateReference\__construct(), and read().
Here is the caller graph for this function:
|
static |
Check for unique types.
Definition at line 458 of file class.ilSkillTreeNode.php.
References $type, and _lookupType().
Referenced by ilSkillTreeNodeGUI\copyItems(), and ilSkillTreeNodeGUI\cutItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillTreeNode::update | ( | ) |
Update Node.
Reimplemented in ilSkillTemplateReference.
Definition at line 364 of file class.ilSkillTreeNode.php.
References $ilDB, $query, getId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
Here is the call graph for this function:| ilSkillTreeNode::$id |
Definition at line 21 of file class.ilSkillTreeNode.php.
Referenced by clipboardCopy(), clipboardCut(), create(), and getId().
| ilSkillTreeNode::$title |
Definition at line 22 of file class.ilSkillTreeNode.php.
Referenced by getTitle().
| ilSkillTreeNode::$type |
Definition at line 20 of file class.ilSkillTreeNode.php.
Referenced by getIconPath(), getType(), and uniqueTypesCheck().
| const ilSkillTreeNode::STATUS_DRAFT = 1 |
Definition at line 18 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), ilPersonalSkillsGUI\getGapAnalysisHTML(), getIconPath(), ilPersonalSkillsGUI\getSkillHTML(), getStatusInfo(), ilPersonalSkillsGUI\listSkills(), and ilSkillTreeNodeGUI\setTitleIcon().
| const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 19 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilVirtualSkillTree\getChildsOfNode(), and getStatusInfo().
| const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 17 of file class.ilSkillTreeNode.php.
Referenced by getStatusInfo().