|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSkillTreeNode:
Collaboration diagram for ilSkillTreeNode:Public Member Functions | |
| __construct (int $a_id=0) | |
| setTitle (string $a_title) | |
| getTitle () | |
| setDescription (string $a_description) | |
| getDescription () | |
| setType (string $a_type) | |
| getType () | |
| setId (int $a_id) | |
| getId () | |
| setSelfEvaluation (bool $a_val) | |
| getSelfEvaluation () | |
| setOrderNr (int $a_val) | |
| getOrderNr () | |
| setImportId (string $a_val) | |
| getImportId () | |
| getCreationDate () | |
| read () | |
| Read Data of Node. More... | |
| setDataRecord (array $a_record) | |
| this method should only be called by class ilSCORM2004NodeFactory More... | |
| setStatus (int $a_val) | |
| getStatus () | |
| create () | |
| Create Node. More... | |
| update () | |
| Update Node. More... | |
| delete () | |
Static Public Member Functions | |
| static | getAllStatus () |
| Get all status as array, key is value, value is lang text. More... | |
| static | getStatusInfo (int $a_status) |
| static | _lookupTitle (int $a_obj_id, int $a_tref_id=0) |
| static | _lookupDescription (int $a_obj_id) |
| static | _lookupSelfEvaluation (int $a_obj_id) |
| static | _lookupStatus (int $a_obj_id) |
| static | _lookupType (int $a_obj_id) |
| static | _writeTitle (int $a_obj_id, string $a_title) |
| static | _writeDescription (int $a_obj_id, string $a_description) |
| static | _writeOrderNr (int $a_obj_id, int $a_nr) |
| static | uniqueTypesCheck (array $a_items) |
| Check for unique types. More... | |
| static | getAllSelfEvaluationNodes () |
| static | getSelectableSkills () |
| static | getIconPath (int $a_obj_id, string $a_type, string $a_size="", int $a_status=0) |
| 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 |
Protected Member Functions | |
| setCreationDate (string $a_val) | |
Static Protected Member Functions | |
| static | _lookup (int $a_obj_id, string $a_field) |
Protected Attributes | |
| ilDBInterface | $db |
| ILIAS Skill Service SkillService | $skill_service |
| string | $type = "" |
| int | $id = 0 |
| string | $title = "" |
| string | $description = "" |
| bool | $self_eval = false |
| int | $order_nr = 0 |
| string | $import_id = "" |
| string | $creation_date = "" |
| int | $status = 0 |
| array | $data_record = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning A node in the skill tree
Definition at line 25 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::__construct | ( | int | $a_id = 0 | ) |
Reimplemented in ilBasicSkillTemplate, ilSkillCategory, ilSkillRoot, ilSkillTemplateCategory, and ilSkillTemplateReference.
Definition at line 57 of file class.ilSkillTreeNode.php.
Here is the call graph for this function:
|
staticprotected |
Definition at line 214 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by _lookupDescription(), _lookupSelfEvaluation(), _lookupStatus(), and _lookupTitle().
Here is the caller graph for this function:
|
static |
Definition at line 236 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and _lookup().
Referenced by ilPersonalSkillsGUI\getSkillCategoryDescription(), and ilSkillTemplateReferenceGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 245 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 |
Definition at line 254 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 |
Definition at line 228 of file class.ilSkillTreeNode.php.
References _lookup(), and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSkillUsageTableGUI\__construct(), ilSurveySkillThresholdsTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), ILIAS\Skill\Tree\SkillTreeNodeManager\clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilSkillLearningHistoryProvider\getEntries(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTreeExplorerGUI\getNodeContent(), ilContSkillCollector\getProfileSkills(), ilPersonalSkill\getSelectedUserSkills(), ilContSkillCollector\getSingleSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillNotifications\sendMail(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillGUI\setTabs(), and ilBasicSkillTemplateGUI\setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 263 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by ilSkillTreeNodeGUI\__construct(), ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), ilPersonalSkillExplorerGUI\buildSelectableTree(), ILIAS\Skill\Tree\SkillTreeNodeManager\clipboardCopy(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), getAllCSkillIdsForNodeIds(), ilSkillDataSet\getDependencies(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillDataSet\importRecord(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), ilBasicSkillGUI\redirectToParent(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilObjSkillTreeGUI\showTree(), ilObjSkillManagementGUI\showTree(), and uniqueTypesCheck().
Here is the caller graph for this function:
|
static |
Definition at line 300 of file class.ilSkillTreeNode.php.
|
static |
Definition at line 313 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by ILIAS\Skill\Tree\SkillTreeNodeManager\saveChildsOrder().
Here is the caller graph for this function:
|
static |
Definition at line 287 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), and ilObjSkillTreeGUI\saveAllTitles().
Here is the caller graph for this function:| ilSkillTreeNode::create | ( | ) |
Create Node.
Reimplemented in ilBasicSkill, and ilSkillTemplateReference.
Definition at line 328 of file class.ilSkillTreeNode.php.
References $db, $id, $ilDB, $query, getDescription(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilSkillTreeNode::delete | ( | ) |
Reimplemented in ilBasicSkill, ilBasicSkillTemplate, ilSkillCategory, ilSkillRoot, ilSkillTemplateCategory, and ilSkillTemplateReference.
Definition at line 370 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, and getId().
Here is the call graph for this function:
|
static |
Get all possible common skill IDs for node IDs.
Definition at line 471 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 |
Definition at line 399 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Get all status as array, key is value, value is lang text.
Definition at line 153 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
Here is the caller graph for this function:| ilSkillTreeNode::getCreationDate | ( | ) |
Definition at line 145 of file class.ilSkillTreeNode.php.
References $creation_date.
| ilSkillTreeNode::getDescription | ( | ) |
Definition at line 85 of file class.ilSkillTreeNode.php.
References $description.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 443 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 | ( | ) |
Definition at line 105 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), ilBasicSkill\delete(), ilBasicSkillTemplate\delete(), ilSkillCategory\delete(), ilSkillRoot\delete(), ilSkillTemplateCategory\delete(), delete(), ilBasicSkill\fixLevelNumbering(), ilBasicSkill\getLevelData(), ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getImportId | ( | ) |
Definition at line 135 of file class.ilSkillTreeNode.php.
References $import_id.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getOrderNr | ( | ) |
Definition at line 125 of file class.ilSkillTreeNode.php.
References $order_nr.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 420 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Here is the call graph for this function:| ilSkillTreeNode::getSelfEvaluation | ( | ) |
Definition at line 115 of file class.ilSkillTreeNode.php.
References $self_eval.
Referenced by ilBasicSkill\copy(), ilSkillCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getStatus | ( | ) |
Definition at line 282 of file class.ilSkillTreeNode.php.
References $status.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 166 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 | ( | ) |
Definition at line 75 of file class.ilSkillTreeNode.php.
References $title.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getType | ( | ) |
Definition at line 95 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree().
Here is the caller graph for this function:| ilSkillTreeNode::read | ( | ) |
Read Data of Node.
Reimplemented in ilBasicSkill, and ilSkillTemplateReference.
Definition at line 183 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, ILIAS\Repository\int(), setCreationDate(), setDescription(), 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:
|
protected |
Definition at line 140 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setDataRecord | ( | array | $a_record | ) |
this method should only be called by class ilSCORM2004NodeFactory
Definition at line 209 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::setDescription | ( | string | $a_description | ) |
Definition at line 80 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setId | ( | int | $a_id | ) |
Definition at line 100 of file class.ilSkillTreeNode.php.
Referenced by create().
Here is the caller graph for this function:| ilSkillTreeNode::setImportId | ( | string | $a_val | ) |
Definition at line 130 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setOrderNr | ( | int | $a_val | ) |
Definition at line 120 of file class.ilSkillTreeNode.php.
Referenced by ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), and read().
Here is the caller graph for this function:| ilSkillTreeNode::setSelfEvaluation | ( | bool | $a_val | ) |
Definition at line 110 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setStatus | ( | int | $a_val | ) |
Definition at line 277 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setTitle | ( | string | $a_title | ) |
Definition at line 70 of file class.ilSkillTreeNode.php.
Referenced by read(), and SkillCategoryTest\testProperties().
Here is the caller graph for this function:| ilSkillTreeNode::setType | ( | string | $a_type | ) |
Definition at line 90 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkillTemplate\__construct(), ilSkillCategory\__construct(), ilSkillRoot\__construct(), ilSkillTemplateCategory\__construct(), ilSkillTemplateReference\__construct(), ilBasicSkill\__construct(), and read().
Here is the caller graph for this function:
|
static |
Check for unique types.
Definition at line 382 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 354 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, getDescription(), getId(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
Referenced by ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file class.ilSkillTreeNode.php.
Referenced by getCreationDate().
|
protected |
Definition at line 51 of file class.ilSkillTreeNode.php.
|
protected |
Definition at line 27 of file class.ilSkillTreeNode.php.
Referenced by create(), ilBasicSkillTemplate\delete(), ilSkillTemplateCategory\delete(), delete(), read(), and update().
|
protected |
Definition at line 32 of file class.ilSkillTreeNode.php.
Referenced by getDescription().
|
protected |
Definition at line 30 of file class.ilSkillTreeNode.php.
Referenced by create(), getAllCSkillIdsForNodeIds(), and getId().
|
protected |
Definition at line 35 of file class.ilSkillTreeNode.php.
Referenced by getImportId().
|
protected |
Definition at line 34 of file class.ilSkillTreeNode.php.
Referenced by getOrderNr().
|
protected |
Definition at line 33 of file class.ilSkillTreeNode.php.
Referenced by getSelfEvaluation().
|
protected |
Definition at line 28 of file class.ilSkillTreeNode.php.
|
protected |
Definition at line 37 of file class.ilSkillTreeNode.php.
Referenced by getStatus().
|
protected |
Definition at line 31 of file class.ilSkillTreeNode.php.
Referenced by getTitle().
|
protected |
Definition at line 29 of file class.ilSkillTreeNode.php.
Referenced by getIconPath(), getType(), and uniqueTypesCheck().
| const ilSkillTreeNode::STATUS_DRAFT = 1 |
Definition at line 54 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), ilPersonalSkillsGUI\getGapAnalysisHTML(), getIconPath(), getStatusInfo(), ilSkillDataSet\importRecord(), ilPersonalSkillsGUI\listSkills(), and ilSkillTreeNodeGUI\setTitleIcon().
| const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 55 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilVirtualSkillTree\getChildsOfNode(), and getStatusInfo().
| const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 53 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput(), and getStatusInfo().