|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
A node in the skill tree. More...
Inheritance diagram for ilSkillTreeNode:
Collaboration diagram for ilSkillTreeNode:Public Member Functions | |
| __construct ($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... | |
| setImportId ($a_val) | |
| Set import id. More... | |
| getImportId () | |
| Get import id. More... | |
| getCreationDate () | |
| Get creation date. 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... | |
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 | clipboardCut ($a_tree_id, $a_ids) |
| Cut and copy a set of skills/skill categories into the clipboard. 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... | |
| static | getAllCSkillIdsForNodeIds (array $a_node_ids) |
| Get all possible common skill IDs for node IDs. More... | |
Data Fields | |
| const | STATUS_PUBLISH = 0 |
| const | STATUS_DRAFT = 1 |
| const | STATUS_OUTDATED = 2 |
| $type | |
| $id | |
| $title | |
Protected Member Functions | |
| setCreationDate ($a_val) | |
| Set creation date. More... | |
Static Protected Member Functions | |
| static | _lookup ($a_obj_id, $a_field) |
| Lookup Title. More... | |
Protected Attributes | |
| $db | |
| ilSkillTreeNode::__construct | ( | $a_id = 0 | ) |
| int | node id |
Reimplemented in ilBasicSkill, ilBasicSkillTemplate, ilSkillCategory, ilSkillRoot, ilSkillTemplateCategory, and ilSkillTemplateReference.
Definition at line 32 of file class.ilSkillTreeNode.php.
Here is the call graph for this function:
|
staticprotected |
Lookup Title.
| int | Node ID |
Definition at line 260 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by _lookupSelfEvaluation(), _lookupStatus(), and _lookupTitle().
Here is the caller graph for this function:
|
static |
Lookup self evaluation.
| int | node ID |
Definition at line 299 of file class.ilSkillTreeNode.php.
References $DIC, $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 314 of file class.ilSkillTreeNode.php.
References $DIC, $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 280 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, _lookup(), and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilSkillSelfEvaluationGUI\confirmSelfEvaluationDeletion(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSelfEvaluationTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTreeExplorerGUI\getNodeContent(), ilPersonalSkill\getSelectedUserSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ilPersonalSkillsGUI\renderSkillHTML(), ilPortfolioPageGUI\renderSkillsTeaser(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillNotifications\sendMail(), and ilSkillTemplateReferenceGUI\setTabs().
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 329 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by ilSkillTreeNodeGUI\__construct(), ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), getAllCSkillIdsForNodeIds(), ilSkillDataSet\getDependencies(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillDataSet\importRecord(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), pasteTree(), putInTree(), ilBasicSkillGUI\redirectToParent(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilPersonalSkillsGUI\renderSkillHTML(), 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 388 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by saveChildsOrder().
Here is the caller graph for this function:
|
static |
Write Title.
| int | Node ID |
| string | Title |
Definition at line 369 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
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 680 of file class.ilSkillTreeNode.php.
References $DIC, $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 577 of file class.ilSkillTreeNode.php.
References $DIC, $id, $ilUser, $time, _lookupTitle(), _lookupType(), clearClipboard(), and date.
Referenced by clipboardCut(), and ilSkillTreeNodeGUI\copyItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Cut and copy a set of skills/skill categories into the clipboard.
Definition at line 536 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 405 of file class.ilSkillTreeNode.php.
References $db, $id, $ilDB, $query, getImportId(), 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 448 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, and getId().
Here is the call graph for this function:
|
static |
Find skills.
return
Definition at line 929 of file class.ilSkillTreeNode.php.
References $DIC, $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 possible common skill IDs for node IDs.
| array | $a_node_ids | array of node ids |
Definition at line 998 of file class.ilSkillTreeNode.php.
References $id, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTemplateReference\_lookupTrefIdsForTemplateId(), and _lookupType().
Referenced by ilSkillTreeNodeGUI\isInUse().
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 790 of file class.ilSkillTreeNode.php.
Referenced by ilSkillSelfEvaluationGUI\listSelfEvaluations().
Here is the caller graph for this function:
|
static |
Get all status.
Definition at line 191 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
Here is the caller graph for this function:| ilSkillTreeNode::getCreationDate | ( | ) |
Get creation date.
Definition at line 181 of file class.ilSkillTreeNode.php.
|
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 897 of file class.ilSkillTreeNode.php.
References $a_type, $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 101 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), delete(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getImportId | ( | ) |
Get import id.
Definition at line 161 of file class.ilSkillTreeNode.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getOrderNr | ( | ) |
Get order nr.
Definition at line 141 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 827 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::getSelfEvaluation | ( | ) |
Get self evaluation.
Definition at line 121 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 358 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 210 of file class.ilSkillTreeNode.php.
References $DIC, $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 61 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 813 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 507 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::getType | ( | ) |
Get type.
Definition at line 81 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:
|
static |
Insert basic skills from clipboard.
Definition at line 625 of file class.ilSkillTreeNode.php.
References $a_type, $DIC, $ilCtrl, $ilUser, $target, 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 775 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 699 of file class.ilSkillTreeNode.php.
References $DIC, $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 460 of file class.ilSkillTreeNode.php.
References $target, _lookupType(), and IL_FIRST_NODE.
Referenced by ilSkillDataSet\importRecord(), 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 227 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, setCreationDate(), setImportId(), setOrderNr(), setSelfEvaluation(), setStatus(), setTitle(), and setType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Save childs order.
return
Definition at line 852 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:
|
protected |
Set creation date.
| string | $a_val | creation date |
Definition at line 171 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setDataRecord | ( | $a_record | ) |
this method should only be called by class ilSCORM2004NodeFactory
Definition at line 249 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::setId | ( | $a_id | ) |
Set Node ID.
| int | Node ID |
Definition at line 91 of file class.ilSkillTreeNode.php.
Referenced by create().
Here is the caller graph for this function:| ilSkillTreeNode::setImportId | ( | $a_val | ) |
Set import id.
| string | $a_val | import id |
Definition at line 151 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setOrderNr | ( | $a_val | ) |
Set order nr.
| int | $a_val | order nr |
Definition at line 131 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 111 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 348 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 51 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 71 of file class.ilSkillTreeNode.php.
References $a_type.
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 517 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 430 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, getId(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
Here is the call graph for this function:
|
protected |
| ilSkillTreeNode::$id |
Definition at line 26 of file class.ilSkillTreeNode.php.
Referenced by clipboardCopy(), clipboardCut(), create(), getAllCSkillIdsForNodeIds(), and getId().
| ilSkillTreeNode::$title |
Definition at line 27 of file class.ilSkillTreeNode.php.
Referenced by getTitle().
| ilSkillTreeNode::$type |
Definition at line 25 of file class.ilSkillTreeNode.php.
Referenced by getIconPath(), getType(), and uniqueTypesCheck().
| const ilSkillTreeNode::STATUS_DRAFT = 1 |
Definition at line 23 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), ilPersonalSkillsGUI\getGapAnalysisHTML(), getIconPath(), getStatusInfo(), ilSkillDataSet\importRecord(), ilPersonalSkillsGUI\listSkills(), ilPersonalSkillsGUI\renderSkillHTML(), and ilSkillTreeNodeGUI\setTitleIcon().
| const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 24 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilVirtualSkillTree\getChildsOfNode(), and getStatusInfo().
| const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 22 of file class.ilSkillTreeNode.php.
Referenced by getStatusInfo().