ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
A node in the skill tree. 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 = [] |
A node in the skill tree.
Definition at line 26 of file class.ilSkillTreeNode.php.
ilSkillTreeNode::__construct | ( | int | $a_id = 0 | ) |
|
staticprotected |
Definition at line 215 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and null.
|
static |
Definition at line 237 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillsGUI\getSkillCategoryDescription(), and ilSkillTemplateReferenceGUI\initForm().
|
static |
Definition at line 246 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), and ilPersonalSkillExplorerGUI\isNodeClickable().
|
static |
Definition at line 255 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillCatTableGUI\fillRow(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), and ilSkillTreeNodeGUI\setTitleIcon().
|
static |
Definition at line 229 of file class.ilSkillTreeNode.php.
References ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSurveySkillTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilSkillLearningHistoryProvider\getEntries(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ILIAS\Skill\Personal\PersonalSkillDBRepository\getFromRecord(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ILIAS\Container\Skills\ContainerSkillManager\getProfileSkills(), ILIAS\Container\Skills\ContainerSkillManager\getSingleSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ILIAS\Skill\Usage\UsagesUI\render(), ilPersonalSkillsGUI\renderSkillHTML(), ilPortfolioPageGUI\renderSkillsTeaser(), ilPersonalSkillsGUI\saveSelfEvaluation(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillNotifications\sendMail(), ilPersonalSkillsGUI\setGapAnalysisActualStatusModePerObject(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), and ilBasicSkillGUI\setTabs().
|
static |
Definition at line 264 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\__construct(), ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), ilPersonalSkillExplorerGUI\buildSelectableTree(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillTreeGUI\deleteNodes(), getAllCSkillIdsForNodeIds(), ilSkillDataSet\getDependencies(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillDataSet\importRecord(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), ILIAS\Skill\Node\SkillTreeNodeManager\pasteTree(), ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilBasicSkillGUI\redirectToParent(), ilPersonalSkillsGUI\renderSkillHTML(), ilPersonalSkillsGUI\saveSelfEvaluation(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilBasicSkillGUI\setTabs(), ilObjSkillTreeGUI\showTree(), and uniqueTypesCheck().
|
static |
Definition at line 301 of file class.ilSkillTreeNode.php.
|
static |
Definition at line 314 of file class.ilSkillTreeNode.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\saveChildsOrder().
|
static |
Definition at line 288 of file class.ilSkillTreeNode.php.
Referenced by ilObjSkillTreeGUI\saveAllTemplateTitles(), and ilObjSkillTreeGUI\saveAllTitles().
ilSkillTreeNode::create | ( | ) |
Create Node.
Definition at line 329 of file class.ilSkillTreeNode.php.
References $db, $ilDB, getDescription(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
ilSkillTreeNode::delete | ( | ) |
Definition at line 371 of file class.ilSkillTreeNode.php.
References $db, $ilDB, and getId().
|
static |
Get all possible common skill IDs for node IDs.
Definition at line 472 of file class.ilSkillTreeNode.php.
References $id, ilSkillTemplateReference\_lookupTemplateId(), ilSkillTemplateReference\_lookupTrefIdsForTemplateId(), and _lookupType().
Referenced by ilSkillTreeNodeGUI\isInUse().
|
static |
Definition at line 400 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 154 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
ilSkillTreeNode::getCreationDate | ( | ) |
ilSkillTreeNode::getDescription | ( | ) |
Definition at line 86 of file class.ilSkillTreeNode.php.
References $description.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
|
static |
Definition at line 444 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 106 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), 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\Node\SkillTreeNodeManager\putIntoTree(), and update().
ilSkillTreeNode::getImportId | ( | ) |
Definition at line 136 of file class.ilSkillTreeNode.php.
References $import_id.
Referenced by create(), and update().
ilSkillTreeNode::getOrderNr | ( | ) |
Definition at line 126 of file class.ilSkillTreeNode.php.
References $order_nr.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
|
static |
Definition at line 421 of file class.ilSkillTreeNode.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
ilSkillTreeNode::getSelfEvaluation | ( | ) |
Definition at line 116 of file class.ilSkillTreeNode.php.
References $self_eval.
Referenced by ilSkillCategory\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and update().
ilSkillTreeNode::getStatus | ( | ) |
Definition at line 283 of file class.ilSkillTreeNode.php.
References $status.
Referenced by create(), and update().
|
static |
Definition at line 167 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
ilSkillTreeNode::getTitle | ( | ) |
Definition at line 76 of file class.ilSkillTreeNode.php.
References $title.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), ilBasicSkill\getTitleForCertificate(), and update().
ilSkillTreeNode::getType | ( | ) |
Definition at line 96 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilBasicSkillTemplate\copy(), ilBasicSkill\copy(), ilSkillTemplateReference\copy(), create(), and ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
ilSkillTreeNode::read | ( | ) |
Read Data of Node.
Definition at line 184 of file class.ilSkillTreeNode.php.
References $db, $ilDB, ILIAS\Repository\int(), setCreationDate(), setDescription(), setImportId(), setOrderNr(), setSelfEvaluation(), setStatus(), setTitle(), and setType().
Referenced by __construct().
|
protected |
Definition at line 141 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 210 of file class.ilSkillTreeNode.php.
ilSkillTreeNode::setDescription | ( | string | $a_description | ) |
Definition at line 81 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setId | ( | int | $a_id | ) |
Definition at line 101 of file class.ilSkillTreeNode.php.
Referenced by create().
ilSkillTreeNode::setImportId | ( | string | $a_val | ) |
Definition at line 131 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setOrderNr | ( | int | $a_val | ) |
Definition at line 121 of file class.ilSkillTreeNode.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree(), and read().
ilSkillTreeNode::setSelfEvaluation | ( | bool | $a_val | ) |
Definition at line 111 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setStatus | ( | int | $a_val | ) |
Definition at line 278 of file class.ilSkillTreeNode.php.
Referenced by read().
ilSkillTreeNode::setTitle | ( | string | $a_title | ) |
Definition at line 71 of file class.ilSkillTreeNode.php.
Referenced by read(), and ILIAS\Cache\Nodes\Node\SkillCategoryTest\testProperties().
ilSkillTreeNode::setType | ( | string | $a_type | ) |
Definition at line 91 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 383 of file class.ilSkillTreeNode.php.
References $type, and _lookupType().
Referenced by ilSkillTreeNodeGUI\copyItems(), and ilSkillTreeNodeGUI\cutItems().
ilSkillTreeNode::update | ( | ) |
Update Node.
Definition at line 355 of file class.ilSkillTreeNode.php.
References $db, $ilDB, getDescription(), getId(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
|
protected |
Definition at line 37 of file class.ilSkillTreeNode.php.
Referenced by getCreationDate().
|
protected |
Definition at line 52 of file class.ilSkillTreeNode.php.
|
protected |
Definition at line 28 of file class.ilSkillTreeNode.php.
Referenced by create(), ilSkillTemplateCategory\delete(), ilBasicSkillTemplate\delete(), delete(), read(), and update().
|
protected |
Definition at line 33 of file class.ilSkillTreeNode.php.
Referenced by getDescription().
|
protected |
Definition at line 31 of file class.ilSkillTreeNode.php.
Referenced by getAllCSkillIdsForNodeIds(), and getId().
|
protected |
Definition at line 36 of file class.ilSkillTreeNode.php.
Referenced by getImportId().
|
protected |
Definition at line 35 of file class.ilSkillTreeNode.php.
Referenced by getOrderNr().
|
protected |
Definition at line 34 of file class.ilSkillTreeNode.php.
Referenced by getSelfEvaluation().
|
protected |
Definition at line 29 of file class.ilSkillTreeNode.php.
|
protected |
Definition at line 38 of file class.ilSkillTreeNode.php.
Referenced by getStatus().
|
protected |
Definition at line 32 of file class.ilSkillTreeNode.php.
Referenced by getTitle().
|
protected |
Definition at line 30 of file class.ilSkillTreeNode.php.
Referenced by getType(), and uniqueTypesCheck().
const ilSkillTreeNode::STATUS_DRAFT = 1 |
Definition at line 55 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilSkillTemplateTreeExplorerGUI\getChildsOfNode(), ilVirtualSkillTree\getChildsOfNode(), ilSkillDataSet\importRecord(), ilPersonalSkillsGUI\listSkills(), ilPersonalSkillsGUI\renderSkillHTML(), and ilPersonalSkillsGUI\setGapAnalysisActualStatusModePerObject().
const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 56 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), and ilVirtualSkillTree\getChildsOfNode().
const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 54 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().