ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
A node in the skill tree. More...
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 |
Definition at line 32 of file class.ilSkillTreeNode.php.
|
staticprotected |
|
static |
Lookup self evaluation.
int | node ID |
Definition at line 299 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), and ilPersonalSkillExplorerGUI\isNodeClickable().
|
static |
Lookup Status.
int | $a_obj_id | node ID |
Definition at line 314 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillCatTableGUI\fillRow(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), and ilSkillTreeNodeGUI\setTitleIcon().
|
static |
Lookup Title.
int | node ID |
Definition at line 280 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilSkillSelfEvaluationGUI\confirmSelfEvaluationDeletion(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSelfEvaluationTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilSkillLearningHistoryProvider\getEntries(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilPersonalSkill\getSelectedUserSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ilPersonalSkillsGUI\renderSkillHTML(), ilPortfolioPageGUI\renderSkillsTeaser(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillNotifications\sendMail(), and ilSkillTemplateReferenceGUI\setTabs().
|
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(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilBasicSkillGUI\redirectToParent(), ilPersonalSkillsGUI\renderSkillHTML(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilObjSkillManagementGUI\showTree(), and uniqueTypesCheck().
|
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().
|
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().
|
static |
Remove all skill items from clipboard.
Definition at line 680 of file class.ilSkillTreeNode.php.
References $DIC, $ilUser, and ilEditClipboard\clear().
|
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, $tree, _lookupTitle(), and _lookupType().
Referenced by clipboardCut(), and ilSkillTreeNodeGUI\copyItems().
|
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, $tree, and clipboardCopy().
Referenced by ilSkillTreeNodeGUI\cutItems().
ilSkillTreeNode::create | ( | ) |
Create Node.
boolean | Upload Mode |
Definition at line 405 of file class.ilSkillTreeNode.php.
References $db, $id, $ilDB, $query, getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
ilSkillTreeNode::delete | ( | ) |
|
static |
Find skills.
Definition at line 929 of file class.ilSkillTreeNode.php.
References $c, $DIC, $ilDB, $path, $res, $row, ilSkillTemplateReference\_lookupTemplateId(), and ilSkillTemplateReference\_lookupTrefIdsForTopTemplateId().
Referenced by ilPublicUserProfileGUI\getAutocompleteResult().
|
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().
|
static |
Get all self evaluation nodes.
Definition at line 790 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $nodes.
Referenced by ilSkillSelfEvaluationGUI\listSelfEvaluations().
|
static |
Get all status.
Definition at line 191 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
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(), and ILIAS_VERSION.
Referenced by ilSkillCatTableGUI\fillRow(), ilSkillTreeExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilBasicSkillTemplateGUI\setLevelHead(), and ilSkillTreeNodeGUI\setTitleIcon().
ilSkillTreeNode::getId | ( | ) |
Get Node ID.
int | Node ID |
Definition at line 101 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), delete(), ilBasicSkill\getLastLevelPerObject(), ilBasicSkill\getLastUpdatePerObject(), ilBasicSkill\getMaxLevelPerObject(), ilBasicSkill\getMaxLevelPerType(), and update().
ilSkillTreeNode::getImportId | ( | ) |
Get import id.
Definition at line 161 of file class.ilSkillTreeNode.php.
Referenced by create(), and update().
ilSkillTreeNode::getOrderNr | ( | ) |
Get order nr.
Definition at line 141 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
|
static |
ilSkillTreeNode::getSelfEvaluation | ( | ) |
Get self evaluation.
Definition at line 121 of file class.ilSkillTreeNode.php.
Referenced by ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
ilSkillTreeNode::getStatus | ( | ) |
Get status.
Definition at line 358 of file class.ilSkillTreeNode.php.
Referenced by create(), and update().
|
static |
Get status info.
int | $a_status | status |
Definition at line 210 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
ilSkillTreeNode::getTitle | ( | ) |
Get title.
Definition at line 61 of file class.ilSkillTreeNode.php.
References $title.
Referenced by ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), ilBasicSkill\getTitleForCertificate(), and update().
|
static |
Get top skill templates and template categories.
Definition at line 813 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTemplateReferenceGUI\initForm().
|
static |
Get scorm module editing tree.
int | scorm module object id |
Definition at line 507 of file class.ilSkillTreeNode.php.
References $tree.
ilSkillTreeNode::getType | ( | ) |
Get type.
Definition at line 81 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilBasicSkillTemplate\copy(), ilSkillTemplateCategory\copy(), ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), and create().
|
static |
Insert basic skills from clipboard.
Definition at line 625 of file class.ilSkillTreeNode.php.
References $a_type, $DIC, $ilCtrl, $ilUser, $target, $tree, ilEditClipboard\getAction(), IL_LAST_NODE, pasteTree(), and saveChildsOrder().
Referenced by ilSkillTreeNodeGUI\insertBasicSkillClip(), ilSkillTreeNodeGUI\insertSkillCategoryClip(), ilSkillTreeNodeGUI\insertSkillTemplateClip(), ilSkillTreeNodeGUI\insertTemplateCategoryClip(), and ilSkillTreeNodeGUI\insertTemplateReferenceClip().
|
static |
Is id in tree?
Definition at line 775 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkill\getSkillForLevelId().
|
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, and putInTree().
Referenced by insertItemsFromClip().
|
static |
Put this object into the skill tree.
Definition at line 460 of file class.ilSkillTreeNode.php.
References $target, and IL_FIRST_NODE.
Referenced by ilSkillDataSet\importRecord(), pasteTree(), ilBasicSkillGUI\saveItem(), ilSkillCategoryGUI\saveItem(), ilSkillTemplateReferenceGUI\saveItem(), ilBasicSkillTemplateGUI\saveItem(), and ilSkillTemplateCategoryGUI\saveItem().
ilSkillTreeNode::read | ( | ) |
Read Data of Node.
Definition at line 227 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, setCreationDate(), setImportId(), setOrderNr(), setSelfEvaluation(), setStatus(), setTitle(), and setType().
Referenced by __construct().
|
static |
Save childs order.
Definition at line 852 of file class.ilSkillTreeNode.php.
References $c, _writeOrderNr(), and ilUtil\sortArray().
Referenced by ilSkillTreeNodeGUI\confirmedDelete(), ilSkillTreeNodeGUI\cutItems(), insertItemsFromClip(), ilSkillTreeNodeGUI\save(), and ilSkillTreeNodeGUI\saveOrder().
|
protected |
Set creation date.
string | $a_val | creation date |
Definition at line 171 of file class.ilSkillTreeNode.php.
Referenced by read().
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().
ilSkillTreeNode::setImportId | ( | $a_val | ) |
Set import id.
string | $a_val | import id |
Definition at line 151 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setOrderNr | ( | $a_val | ) |
Set order nr.
int | $a_val | order nr |
Definition at line 131 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setSelfEvaluation | ( | $a_val | ) |
Set self evaluation.
boolean | self evaluation |
Definition at line 111 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setStatus | ( | $a_val | ) |
Set status.
boolean | $a_val | status |
Definition at line 348 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setTitle | ( | $a_title | ) |
Set title.
string | $a_title | title |
Definition at line 51 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setType | ( | $a_type | ) |
Set type.
string | Type |
Definition at line 71 of file class.ilSkillTreeNode.php.
References $a_type.
Referenced by ilBasicSkillTemplate\__construct(), ilSkillRoot\__construct(), ilSkillTemplateCategory\__construct(), ilSkillCategory\__construct(), ilSkillTemplateReference\__construct(), ilBasicSkill\__construct(), and read().
|
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().
ilSkillTreeNode::update | ( | ) |
Update Node.
Definition at line 430 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, getId(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
|
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(), 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(), and ilVirtualSkillTree\getChildsOfNode().
const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 22 of file class.ilSkillTreeNode.php.