|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
A node in the skill tree. 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 = [] |
A node in the skill tree.
Definition at line 26 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::__construct | ( | int | $a_id = 0 | ) |
Reimplemented in ilBasicSkillTemplate, ilSkillCategory, ilSkillRoot, ilSkillTemplateCategory, and ilSkillTemplateReference.
Definition at line 58 of file class.ilSkillTreeNode.php.
Here is the call graph for this function:
|
staticprotected |
Definition at line 215 of file class.ilSkillTreeNode.php.
Referenced by _lookupDescription(), _lookupSelfEvaluation(), _lookupStatus(), and _lookupTitle().
Here is the caller graph for this function:
|
static |
Definition at line 237 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 246 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 255 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 229 of file class.ilSkillTreeNode.php.
References _lookup(), and ilSkillTemplateReference\_lookupTemplateId().
Referenced by ilSurveySkillThresholdsTableGUI\__construct(), ilPersonalSkillsGUI\assignMaterials(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ilTestSkillLevelThresholdsTableGUI\completeCompetenceTitles(), ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilContSkillAdminGUI\confirmRemoveSelectedSkill(), ilPersonalSkillsGUI\confirmSkillRemove(), ilSurveySkillAssignmentTableGUI\fillRow(), ilSurveySkillTableGUI\fillRow(), ilSurveySkill\getAllAssignedSkillsAsOptions(), ilSkillLearningHistoryProvider\getEntries(), ilTestSkillLevelThresholdImportFails\getFailedImportsMessage(), ILIAS\Skill\Personal\PersonalSkillDBRepository\getFromRecord(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTreeExplorerGUI\getNodeContent(), ILIAS\Container\Skills\ContainerSkillManager\getProfileSkills(), ILIAS\Container\Skills\ContainerSkillManager\getSingleSkills(), ilSurveySkillTableGUI\getSkills(), ilContSkillAdminGUI\initCompetenceAssignmentForm(), ilAssQuestionSkillAssignment\loadAdditionalSkillData(), ILIAS\Skill\Usage\UsagesUI\render(), ilPersonalSkillsGUI\saveSelfEvaluation(), 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 264 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\__construct(), ilVirtualSkillTree\__getSubTreeRec(), ilPersonalSkillsGUI\assignMaterials(), ilPersonalSkillExplorerGUI\buildSelectableTree(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ilObjSkillTreeGUI\deleteNodes(), getAllCSkillIdsForNodeIds(), ilSkillDataSet\getDependencies(), getIconPath(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTree\getSubTreeForCSkillId(), ilSkillDataSet\importRecord(), ilSkillTemplateReferenceGUI\listItems(), ilSkillSelectorGUI\nodeHasAction(), ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree(), ilBasicSkillGUI\redirectToParent(), ilSkillCategoryGUI\redirectToParent(), ilSkillTreeNodeGUI\redirectToParent(), ilPersonalSkillsGUI\saveSelfEvaluation(), ilPersonalSkillsGUI\selfEvaluation(), ilSkillTemplateReferenceGUI\setTabs(), ilSkillCategoryGUI\setTabs(), ilSkillTemplateCategoryGUI\setTabs(), ilBasicSkillGUI\setTabs(), ilBasicSkillTemplateGUI\setTabs(), ilObjSkillTreeGUI\showTree(), and uniqueTypesCheck().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
static |
Definition at line 288 of file class.ilSkillTreeNode.php.
Referenced by ilObjSkillTreeGUI\saveAllTemplateTitles(), and ilObjSkillTreeGUI\saveAllTitles().
Here is the caller graph for this function:| ilSkillTreeNode::create | ( | ) |
Create Node.
Reimplemented in ilBasicSkill, and ilSkillTemplateReference.
Definition at line 329 of file class.ilSkillTreeNode.php.
References $db, $id, $ilDB, getDescription(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilSkillTreeNode::delete | ( | ) |
Reimplemented in ilBasicSkillTemplate, ilSkillTemplateCategory, and ilSkillTemplateReference.
Definition at line 371 of file class.ilSkillTreeNode.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 400 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 154 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput().
Here is the caller graph for this function:| ilSkillTreeNode::getCreationDate | ( | ) |
Definition at line 146 of file class.ilSkillTreeNode.php.
References $creation_date.
| ilSkillTreeNode::getDescription | ( | ) |
Definition at line 86 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 444 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 106 of file class.ilSkillTreeNode.php.
References $id.
Referenced by ilBasicSkill\addLevel(), delete(), ilBasicSkill\fixLevelNumbering(), ilBasicSkill\getLevelData(), ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree(), and update().
Here is the caller graph for this function:| ilSkillTreeNode::getImportId | ( | ) |
Definition at line 136 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 126 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 421 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 116 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 283 of file class.ilSkillTreeNode.php.
References $status.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Definition at line 167 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 76 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 96 of file class.ilSkillTreeNode.php.
References $type.
Referenced by ilBasicSkill\copy(), ilBasicSkillTemplate\copy(), ilSkillCategory\copy(), ilSkillTemplateCategory\copy(), ilSkillTemplateReference\copy(), create(), and ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
Here is the caller graph for this function:| ilSkillTreeNode::read | ( | ) |
Read Data of Node.
Reimplemented in ilBasicSkill, and ilSkillTemplateReference.
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 141 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 210 of file class.ilSkillTreeNode.php.
| ilSkillTreeNode::setDescription | ( | string | $a_description | ) |
Definition at line 81 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setId | ( | int | $a_id | ) |
Definition at line 101 of file class.ilSkillTreeNode.php.
Referenced by create().
Here is the caller graph for this function:| ilSkillTreeNode::setImportId | ( | string | $a_val | ) |
Definition at line 131 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setOrderNr | ( | int | $a_val | ) |
Definition at line 121 of file class.ilSkillTreeNode.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree(), and read().
Here is the caller graph for this function:| ilSkillTreeNode::setSelfEvaluation | ( | bool | $a_val | ) |
Definition at line 111 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setStatus | ( | int | $a_val | ) |
Definition at line 278 of file class.ilSkillTreeNode.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillTreeNode::setTitle | ( | string | $a_title | ) |
Definition at line 71 of file class.ilSkillTreeNode.php.
Referenced by read(), and ILIAS\Skill\Node\SkillCategoryTest\testProperties().
Here is the caller graph for this function:| ilSkillTreeNode::setType | ( | string | $a_type | ) |
Definition at line 91 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 383 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 355 of file class.ilSkillTreeNode.php.
References $db, $ilDB, getDescription(), getId(), getImportId(), getOrderNr(), getSelfEvaluation(), getStatus(), and getTitle().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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(), ilBasicSkillTemplate\delete(), ilSkillTemplateCategory\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 create(), 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 getIconPath(), 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(), getIconPath(), getStatusInfo(), ilSkillDataSet\importRecord(), and ilPersonalSkillsGUI\listSkills().
| const ilSkillTreeNode::STATUS_OUTDATED = 2 |
Definition at line 56 of file class.ilSkillTreeNode.php.
Referenced by ilPersonalSkillExplorerGUI\buildSelectableTree(), ilVirtualSkillTree\getChildsOfNode(), and getStatusInfo().
| const ilSkillTreeNode::STATUS_PUBLISH = 0 |
Definition at line 54 of file class.ilSkillTreeNode.php.
Referenced by ilSkillTreeNodeGUI\addStatusInput(), and getStatusInfo().