ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 | ) |
|
staticprotected |
|
static |
Definition at line 236 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillsGUI\getSkillCategoryDescription(), and ilSkillTemplateReferenceGUI\initForm().
|
static |
Definition at line 245 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), and ilPersonalSkillExplorerGUI\isNodeClickable().
|
static |
Definition at line 254 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillCatTableGUI\fillRow(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), and ilSkillTreeNodeGUI\setTitleIcon().
|
static |
Definition at line 228 of file class.ilSkillTreeNode.php.
References ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilSkillUsageTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), ILIAS\Skill\Tree\SkillTreeNodeManager\clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilPersonalSkillsGUI\confirmSkillRemove(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilSkillLearningHistoryProvider\getEntries(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ilPersonalSkillsGUI\getGapAnalysisHTML(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilContSkillCollector\getProfileSkills(), ilPersonalSkill\getSelectedUserSkills(), ilContSkillCollector\getSingleSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ilPersonalSkillsGUI\renderSkillHTML(), ilPortfolioPageGUI\renderSkillsTeaser(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillNotifications\sendMail(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
|
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(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), getAllCSkillIdsForNodeIds(), ilSkillDataSet\getDependencies(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillDataSet\importRecord(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), ILIAS\Skill\Tree\SkillTreeNodeManager\pasteTree(), ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilBasicSkillGUI\redirectToParent(), ilPersonalSkillsGUI\renderSkillHTML(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilBasicSkillGUI\setTabs(), ilObjSkillManagementGUI\showTree(), ilObjSkillTreeGUI\showTree(), and uniqueTypesCheck().
|
static |
|
static |
Definition at line 313 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and $query.
Referenced by ILIAS\Skill\Tree\SkillTreeNodeManager\saveChildsOrder().
|
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().
ilSkillTreeNode::create | ( | ) |
Create Node.
Definition at line 328 of file class.ilSkillTreeNode.php.
References $db, $ilDB, $query, getDescription(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
ilSkillTreeNode::delete | ( | ) |
|
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().
|
static |
Definition at line 399 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
|
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().
ilSkillTreeNode::getCreationDate | ( | ) |
ilSkillTreeNode::getDescription | ( | ) |
Definition at line 85 of file class.ilSkillTreeNode.php.
References $description.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilSkillTemplateReference\copy(), ilBasicSkill\copy(), create(), and update().
|
static |
Definition at line 443 of file class.ilSkillTreeNode.php.
References ilSkillTemplateReference\_lookupTemplateId(), _lookupType(), ilUtil\getImagePath(), and ILIAS_VERSION.
Referenced by ilSkillCatTableGUI\fillRow(), ilSkillTreeExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilBasicSkillTemplateGUI\setLevelHead(), and ilSkillTreeNodeGUI\setTitleIcon().
ilSkillTreeNode::getId | ( | ) |
Definition at line 105 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), ilSkillRoot\delete(), ilSkillTemplateCategory\delete(), ilSkillCategory\delete(), ilBasicSkillTemplate\delete(), ilBasicSkill\delete(), delete(), ilBasicSkill\fixLevelNumbering(), ilBasicSkill\getAllHistoricLevelEntriesOfUser(), ilBasicSkill\getAllLevelEntriesOfUser(), ilBasicSkill\getLastLevelPerObject(), ilBasicSkill\getLastUpdatePerObject(), ilBasicSkill\getLevelData(), ilBasicSkill\getMaxLevel(), ilBasicSkill\getMaxLevelPerObject(), ilBasicSkill\getMaxLevelPerType(), ilBasicSkill\getNextLevelFulfilment(), ilBasicSkill\getNextLevelFulfilmentPerObject(), ilBasicSkill\getNextLevelFulfilmentPerType(), ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), and update().
ilSkillTreeNode::getImportId | ( | ) |
Definition at line 135 of file class.ilSkillTreeNode.php.
References $import_id.
Referenced by create(), and update().
ilSkillTreeNode::getOrderNr | ( | ) |
Definition at line 125 of file class.ilSkillTreeNode.php.
References $order_nr.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilSkillTemplateReference\copy(), ilBasicSkill\copy(), create(), and update().
|
static |
Definition at line 420 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
ilSkillTreeNode::getSelfEvaluation | ( | ) |
Definition at line 115 of file class.ilSkillTreeNode.php.
References $self_eval.
Referenced by ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
ilSkillTreeNode::getStatus | ( | ) |
Definition at line 282 of file class.ilSkillTreeNode.php.
References $status.
Referenced by create(), and update().
|
static |
Definition at line 166 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
ilSkillTreeNode::getTitle | ( | ) |
Definition at line 75 of file class.ilSkillTreeNode.php.
References $title.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilSkillTemplateReference\copy(), ilBasicSkill\copy(), create(), ilBasicSkill\getTitleForCertificate(), and update().
ilSkillTreeNode::getType | ( | ) |
Definition at line 95 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilSkillTemplateReference\copy(), ilBasicSkill\copy(), create(), and ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree().
ilSkillTreeNode::read | ( | ) |
Read Data of Node.
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().
|
protected |
Definition at line 140 of file class.ilSkillTreeNode.php.
Referenced by read().
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().
ilSkillTreeNode::setId | ( | int | $a_id | ) |
Definition at line 100 of file class.ilSkillTreeNode.php.
Referenced by create().
ilSkillTreeNode::setImportId | ( | string | $a_val | ) |
Definition at line 130 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setOrderNr | ( | int | $a_val | ) |
Definition at line 120 of file class.ilSkillTreeNode.php.
Referenced by ILIAS\Skill\Tree\SkillTreeNodeManager\putIntoTree(), and read().
ilSkillTreeNode::setSelfEvaluation | ( | bool | $a_val | ) |
Definition at line 110 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setStatus | ( | int | $a_val | ) |
Definition at line 277 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setTitle | ( | string | $a_title | ) |
Definition at line 70 of file class.ilSkillTreeNode.php.
Referenced by read(), and SkillCategoryTest\testProperties().
ilSkillTreeNode::setType | ( | string | $a_type | ) |
Definition at line 90 of file class.ilSkillTreeNode.php.
Referenced by ilBasicSkillTemplate\__construct(), ilSkillRoot\__construct(), ilSkillTemplateCategory\__construct(), ilSkillCategory\__construct(), ilSkillTemplateReference\__construct(), ilBasicSkill\__construct(), and read().
|
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().
ilSkillTreeNode::update | ( | ) |
Update Node.
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().
|
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(), ilSkillTemplateCategory\delete(), ilBasicSkillTemplate\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 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 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(), ilSkillDataSet\importRecord(), ilPersonalSkillsGUI\listSkills(), ilPersonalSkillsGUI\renderSkillHTML(), and ilSkillTreeNodeGUI\setTitleIcon().
const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 55 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), and ilVirtualSkillTree\getChildsOfNode().
const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 53 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().