| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
A node in the skill tree. More...
 Inheritance diagram for ilSkillTreeNode:
 Inheritance diagram for ilSkillTreeNode: Collaboration diagram for ilSkillTreeNode:
 Collaboration diagram for ilSkillTreeNode:| Public Member Functions | |
| ilSkillTreeNode ($a_id=0) | |
| setTitle ($a_title) | |
| Set title. | |
| getTitle () | |
| Get title. | |
| setType ($a_type) | |
| Set type. | |
| getType () | |
| Get type. | |
| setId ($a_id) | |
| Set Node ID. | |
| getId () | |
| Get Node ID. | |
| setSelfEvaluation ($a_val) | |
| Set self evaluation. | |
| getSelfEvaluation () | |
| Get self evaluation. | |
| setOrderNr ($a_val) | |
| Set order nr. | |
| getOrderNr () | |
| Get order nr. | |
| read () | |
| Read Data of Node. | |
| setDataRecord ($a_record) | |
| this method should only be called by class ilSCORM2004NodeFactory | |
| setStatus ($a_val) | |
| Set status. | |
| getStatus () | |
| Get status. | |
| create () | |
| Create Node. | |
| update () | |
| Update Node. | |
| delete () | |
| Delete Node. | |
| clipboardCut ($a_tree_id, $a_ids) | |
| Cut and copy a set of skills/skill categories into the clipboard. | |
| Static Public Member Functions | |
| static | getAllStatus () | 
| Get all status. | |
| static | getStatusInfo ($a_status) | 
| Get status info. | |
| static | _lookupTitle ($a_obj_id, $a_tref_id=0) | 
| Lookup Title. | |
| static | _lookupSelfEvaluation ($a_obj_id) | 
| Lookup self evaluation. | |
| static | _lookupStatus ($a_obj_id) | 
| Lookup Status. | |
| static | _lookupType ($a_obj_id) | 
| Lookup Type. | |
| static | _writeTitle ($a_obj_id, $a_title) | 
| Write Title. | |
| static | _writeOrderNr ($a_obj_id, $a_nr) | 
| Write Order Nr. | |
| static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") | 
| Put this object into the skill tree. | |
| static | getTree ($a_slm_obj_id) | 
| Get scorm module editing tree. | |
| static | uniqueTypesCheck ($a_items) | 
| Check for unique types. | |
| static | clipboardCopy ($a_tree_id, $a_ids) | 
| Copy a set of skills/skill categories into the clipboard. | |
| static | insertItemsFromClip ($a_type, $a_obj_id) | 
| Insert basic skills from clipboard. | |
| static | clearClipboard () | 
| Remove all skill items from clipboard. | |
| 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. | |
| static | isInTree ($a_id) | 
| Is id in tree? | |
| static | getAllSelfEvaluationNodes () | 
| Get all self evaluation nodes. | |
| static | getTopTemplates () | 
| Get top skill templates and template categories. | |
| static | getSelectableSkills () | 
| Get selectable skills. | |
| static | saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false) | 
| Save childs order. | |
| static | getIconPath ($a_obj_id, $a_type, $a_size="", $a_status=0) | 
| Get icon path. | |
| 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. | |
| 
 | staticprotected | 
Lookup Title.
| int | Node ID | 
Definition at line 209 of file class.ilSkillTreeNode.php.
References $query.
Referenced by _lookupSelfEvaluation(), _lookupStatus(), and _lookupTitle().
 Here is the caller graph for this function:
 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 _lookup().
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), and ilPersonalSkillExplorerGUI\isNodeClickable().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 _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 call graph for this function: Here is the caller 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 _lookup(), and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilSkillSelfEvaluationGUI\confirmSelfEvaluationDeletion(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSelfEvaluationTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilPersonalSkill\getSelectedUserSkills(), ilPersonalSkillsGUI\getSkillHTML(), ilSurveySkillTableGUI\getSkills(), ilBasicSkill\getTriggerTitleForCertificate(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilPortfolioPageGUI\renderSkillsTeaser(), ilPersonalSkillsGUI\selfEvaluation(), and ilBasicSkill\writeUserSkillLevelStatus().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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.
References $query.
Referenced by ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilPersonalSkillsGUI\getSkillHTML(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillTreeNodeGUI\ilSkillTreeNodeGUI(), ilSkillSelectorGUI\isNodeClickable(), ilSkillTemplateReferenceGUI\listItems(), pasteTree(), putInTree(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilBasicSkillGUI\redirectToParent(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilObjSkillManagementGUI\showTree(), uniqueTypesCheck(), and ilBasicSkill\writeUserSkillLevelStatus().
 Here is the caller graph for this function:
 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.
References $query.
Referenced by saveChildsOrder().
 Here is the caller graph for this function:
 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.
References $query.
Referenced by ilObjSkillManagementGUI\saveAllTemplateTitles(), and ilObjSkillManagementGUI\saveAllTitles().
 Here is the caller graph for this function:
 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 call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSkillTreeNode::create | ( | ) | 
Create Node.
| boolean | Upload Mode | 
Reimplemented in ilSkillTemplateReference, ilBasicSkill, ilSkillCategory, and ilSkillRoot.
Definition at line 341 of file class.ilSkillTreeNode.php.
References $id, $query, getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSkillTreeNode::delete | ( | ) | 
Delete Node.
Reimplemented in ilSkillTemplateReference, ilBasicSkill, ilSkillCategory, and ilSkillRoot.
Definition at line 381 of file class.ilSkillTreeNode.php.
References $query, and getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get all self evaluation nodes.
| @return | 
Definition at line 723 of file class.ilSkillTreeNode.php.
Referenced by ilSkillSelfEvaluationGUI\listSelfEvaluations().
 Here is the caller graph for this function:
 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:
 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(), ilSkillTreeExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilBasicSkillTemplateGUI\setLevelHead(), and ilSkillTreeNodeGUI\setTitleIcon().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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(), ilBasicSkill\getMaxLevelPerObject(), ilBasicSkill\getMaxLevelPerType(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSkillTreeNode::getOrderNr | ( | ) | 
Get order nr.
Definition at line 134 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get selectable skills.
| @return | 
Definition at line 758 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::getSelfEvaluation | ( | ) | 
Get self evaluation.
Definition at line 114 of file class.ilSkillTreeNode.php.
Referenced by ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
 Here is the caller graph for this function:
 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:
 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.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
 Here is the caller graph for this function:
 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 ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), ilBasicSkill\getTitleForCertificate(), and update().
 Here is the caller graph for this function:
 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:
 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 ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), and create().
 Here is the caller graph for this function:
 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().
Referenced by ilBasicSkillTemplate\__construct(), ilSkillTemplateReference\__construct(), ilSkillTemplateCategory\__construct(), ilSkillRoot\__construct(), ilSkillCategory\__construct(), and ilBasicSkill\__construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller 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 call graph for this function: Here is the caller 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:
 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, and putInTree().
Referenced by insertItemsFromClip().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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(), ilSkillCategoryGUI\saveItem(), ilSkillTemplateCategoryGUI\saveItem(), ilBasicSkillTemplateGUI\saveItem(), and ilSkillTemplateReferenceGUI\saveItem().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSkillTreeNode::read | ( | ) | 
Read Data of Node.
Reimplemented in ilSkillTemplateReference, ilBasicSkill, ilSkillCategory, and ilSkillRoot.
Definition at line 177 of file class.ilSkillTreeNode.php.
References $ilBench, $query, setOrderNr(), setSelfEvaluation(), setStatus(), setTitle(), and setType().
Referenced by ilSkillTreeNode().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 call graph for this function: Here is the caller 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:
 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:
 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:
 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:
 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:
 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 ilBasicSkillTemplate\__construct(), ilSkillRoot\__construct(), ilSkillTemplateReference\__construct(), ilSkillTemplateCategory\__construct(), ilSkillCategory\__construct(), ilBasicSkill\__construct(), and read().
 Here is the caller graph for this function:
 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 call graph for this function: Here is the caller 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 $query, getId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
 Here is the call graph for this function:
 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(), ilPersonalSkillsGUI\listSkills(), and ilSkillTreeNodeGUI\setTitleIcon().
| const ilSkillTreeNode::STATUS_OUTDATED = 2 | 
Definition at line 19 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), and ilVirtualSkillTree\getChildsOfNode().
| const ilSkillTreeNode::STATUS_PUBLISH = 0 | 
Definition at line 17 of file class.ilSkillTreeNode.php.