|
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 ilBasicSkill:
Collaboration diagram for ilBasicSkill:Public Member Functions | |
| __construct (int $a_id=0, ilSkillLevelRepository $bsc_skl_lvl_db_rep=null, ilSkillUserLevelRepository $bsc_skl_usr_lvl_db_rep=null, ilSkillTreeRepository $bsc_skl_tre_rep=null) | |
| read () | |
| Read data from database. More... | |
| create () | |
| Create skill. More... | |
| delete () | |
| Delete skill. More... | |
| copy () | |
| Copy basic skill. More... | |
| addLevel (string $a_title, string $a_description, string $a_import_id="") | |
| getLevelData (int $a_id=0) | |
| updateLevelOrder (array $order) | |
| deleteLevel (int $a_id) | |
| fixLevelNumbering () | |
| getSkillForLevelId (int $a_level_id) | |
| getMaxLevelPerType (int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
| getNextLevelFulfilmentPerType (int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
| getAllLevelEntriesOfUser (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
| getAllHistoricLevelEntriesOfUser (int $a_tref_id, int $a_user_id=0, int $a_eval_by=0) | |
| getMaxLevelPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
| getNextLevelFulfilmentPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
| getMaxLevel (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
| getNextLevelFulfilment (int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
| getLastLevelPerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
| getLastUpdatePerObject (int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
| getTitleForCertificate () | |
| getShortTitleForCertificate () | |
Public Member Functions inherited from ilSkillTreeNode | |
| __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 | lookupLevelTitle (int $a_id) |
| static | lookupLevelDescription (int $a_id) |
| static | lookupLevelSkillId (int $a_id) |
| static | writeLevelTitle (int $a_id, string $a_title) |
| static | writeLevelDescription (int $a_id, string $a_description) |
| static | resetUserSkillLevelStatus (int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0, bool $a_self_eval=false) |
| static | getNewAchievementsPerUser (string $a_timestamp, string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0) |
| static | writeUserSkillLevelStatus (int $a_level_id, int $a_user_id, int $a_trigger_ref_id, int $a_tref_id=0, int $a_status=ilBasicSkill::ACHIEVED, bool $a_force=false, bool $a_self_eval=false, string $a_unique_identifier="", float $a_next_level_fulfilment=0.0, string $trigger_user_id="") |
| static | removeAllUserSkillLevelStatusOfObject (int $a_user_id, int $a_trigger_obj_id, bool $a_self_eval=false, string $a_unique_identifier="") |
| static | removeAllUserData (int $a_user_id) |
| static | hasSelfEvaluated (int $a_user_id, int $a_skill_id, int $a_tref_id) |
| static | getUsageInfo (array $a_cskill_ids) |
| Get title of an assigned item. More... | |
| static | getCommonSkillIdForImportId (int $a_source_inst_id, int $a_skill_import_id, int $a_tref_import_id=0) |
| static | getLevelIdForImportId (int $a_source_inst_id, int $a_level_import_id) |
| static | getLevelIdForImportIdMatchSkill (int $a_source_inst_id, int $a_level_import_id, int $a_skill_import_id, int $a_tref_import_id=0) |
Static Public Member Functions inherited from ilSkillTreeNode | |
| 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... | |
| static | getUsageInfo (array $a_cskill_ids) |
| Get title of an assigned item. More... | |
Data Fields | |
| const | ACHIEVED = 1 |
| const | NOT_ACHIEVED = 0 |
| const | EVAL_BY_OTHERS = 0 |
| const | EVAL_BY_SELF = 1 |
| const | EVAL_BY_ALL = 2 |
Data Fields inherited from ilSkillTreeNode | |
| const | STATUS_PUBLISH = 0 |
| const | STATUS_DRAFT = 1 |
| const | STATUS_OUTDATED = 2 |
Static Protected Member Functions | |
| static | hasRecentSelfEvaluation (int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0) |
Static Protected Member Functions inherited from ilSkillTreeNode | |
| static | _lookup (int $a_obj_id, string $a_field) |
Protected Attributes | |
| ilObjUser | $user |
| ilSkillLevelRepository | $bsc_skl_lvl_db_rep |
| ilSkillUserLevelRepository | $bsc_skl_usr_lvl_db_rep |
| ilSkillTreeRepository | $bsc_skl_tre_rep |
Protected Attributes inherited from ilSkillTreeNode | |
| 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 = [] |
Additional Inherited Members | |
Protected Member Functions inherited from ilSkillTreeNode | |
| setCreationDate (string $a_val) | |
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 Basic Skill
Definition at line 24 of file class.ilBasicSkill.php.
| ilBasicSkill::__construct | ( | int | $a_id = 0, |
| ilSkillLevelRepository | $bsc_skl_lvl_db_rep = null, |
||
| ilSkillUserLevelRepository | $bsc_skl_usr_lvl_db_rep = null, |
||
| ilSkillTreeRepository | $bsc_skl_tre_rep = null |
||
| ) |
Definition at line 39 of file class.ilBasicSkill.php.
References $bsc_skl_lvl_db_rep, $bsc_skl_tre_rep, $bsc_skl_usr_lvl_db_rep, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilSkillTreeNode\setType(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::addLevel | ( | string | $a_title, |
| string | $a_description, | ||
| string | $a_import_id = "" |
||
| ) |
Definition at line 129 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Here is the call graph for this function:| ilBasicSkill::copy | ( | ) |
Copy basic skill.
Reimplemented in ilBasicSkillTemplate.
Definition at line 102 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getDescription(), getLevelData(), ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getSelfEvaluation(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
Here is the call graph for this function:| ilBasicSkill::create | ( | ) |
Create skill.
Reimplemented from ilSkillTreeNode.
Definition at line 82 of file class.ilBasicSkill.php.
| ilBasicSkill::delete | ( | ) |
Delete skill.
Reimplemented from ilSkillTreeNode.
Reimplemented in ilBasicSkillTemplate.
Definition at line 90 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Here is the call graph for this function:| ilBasicSkill::deleteLevel | ( | int | $a_id | ) |
Definition at line 191 of file class.ilBasicSkill.php.
| ilBasicSkill::fixLevelNumbering | ( | ) |
Definition at line 196 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Here is the call graph for this function:| ilBasicSkill::getAllHistoricLevelEntriesOfUser | ( | int | $a_tref_id, |
| int | $a_user_id = 0, |
||
| int | $a_eval_by = 0 |
||
| ) |
Definition at line 441 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getAllLevelEntriesOfUser | ( | int | $a_tref_id, |
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 428 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 608 of file class.ilBasicSkill.php.
Referenced by ilAssQuestionSkillAssignmentImporter\getSkillIdMapping(), ilSurveyDataSet\importRecord(), and ilSkillDataSet\importRecord().
Here is the caller graph for this function:| ilBasicSkill::getLastLevelPerObject | ( | int | $a_tref_id, |
| int | $a_object_id, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 542 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getLastUpdatePerObject | ( | int | $a_tref_id, |
| int | $a_object_id, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 562 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getLevelData | ( | int | $a_id = 0 | ) |
Definition at line 135 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Referenced by copy(), and ilBasicSkillTemplate\copy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 627 of file class.ilBasicSkill.php.
References $DIC.
Referenced by ilTestSkillLevelThresholdImporter\getLevelIdMapping(), and ilSkillDataSet\importRecord().
Here is the caller graph for this function:
|
static |
Definition at line 636 of file class.ilBasicSkill.php.
Referenced by ilSurveyDataSet\importRecord().
Here is the caller graph for this function:| ilBasicSkill::getMaxLevel | ( | int | $a_tref_id, |
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 501 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getMaxLevelPerObject | ( | int | $a_tref_id, |
| int | $a_object_id, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 459 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getMaxLevelPerType | ( | int | $a_tref_id, |
| string | $a_type, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 386 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 277 of file class.ilBasicSkill.php.
Referenced by ilSkillLearningHistoryProvider\getEntries(), and ilSkillNotifications\run().
Here is the caller graph for this function:| ilBasicSkill::getNextLevelFulfilment | ( | int | $a_tref_id, |
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 515 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getNextLevelFulfilmentPerObject | ( | int | $a_tref_id, |
| int | $a_object_id, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 481 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getNextLevelFulfilmentPerType | ( | int | $a_tref_id, |
| string | $a_type, | ||
| int | $a_user_id = 0, |
||
| int | $a_self_eval = 0 |
||
| ) |
Definition at line 408 of file class.ilBasicSkill.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getShortTitleForCertificate | ( | ) |
Definition at line 593 of file class.ilBasicSkill.php.
| ilBasicSkill::getSkillForLevelId | ( | int | $a_level_id | ) |
Definition at line 202 of file class.ilBasicSkill.php.
References getSkillForLevelId().
Referenced by getSkillForLevelId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBasicSkill::getTitleForCertificate | ( | ) |
Definition at line 588 of file class.ilBasicSkill.php.
|
static |
Get title of an assigned item.
| array{skill_id | int, tref_id: int}[] $a_cskill_ids array of common skill ids |
Implements ilSkillUsageInfo.
Definition at line 598 of file class.ilBasicSkill.php.
References ilSkillUsage\getUsageInfoGeneric(), and ilSkillUsage\USER_ASSIGNED.
Here is the call graph for this function:
|
staticprotected |
Definition at line 252 of file class.ilBasicSkill.php.
|
static |
Definition at line 528 of file class.ilBasicSkill.php.
Referenced by ilPersonalSkillsGUI\listAssignedProfile().
Here is the caller graph for this function:
|
static |
Definition at line 151 of file class.ilBasicSkill.php.
References $DIC.
|
static |
Definition at line 160 of file class.ilBasicSkill.php.
References $DIC.
Referenced by ilSkillDataSet\importRecord().
Here is the caller graph for this function:
|
static |
Definition at line 142 of file class.ilBasicSkill.php.
References $DIC.
Referenced by ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilBasicSkillGUI\confirmLevelDeletion(), ilContSkillMemberTableGUI\fillRow(), ilSkillProfileLevelsTableGUI\fillRow(), ilPersonalSkillsGUI\getAllSuggestedResources(), ilSkillLearningHistoryProvider\getEntries(), ilSkillNotifications\sendMail(), ilBasicSkillGUI\setLevelHead(), and ilBasicSkillTemplateGUI\setLevelHead().
Here is the caller graph for this function:| ilBasicSkill::read | ( | ) |
Read data from database.
Reimplemented from ilSkillTreeNode.
Definition at line 74 of file class.ilBasicSkill.php.
|
static |
Definition at line 376 of file class.ilBasicSkill.php.
Referenced by ilSkillObjDeletionHandler\processDeletion().
Here is the caller graph for this function:
|
static |
Definition at line 353 of file class.ilBasicSkill.php.
Referenced by ilContainerMemberSkills\publish(), and ilContainerMemberSkills\removeAllSkillLevels().
Here is the caller graph for this function:
|
static |
Definition at line 213 of file class.ilBasicSkill.php.
| ilBasicSkill::updateLevelOrder | ( | array | $order | ) |
Definition at line 185 of file class.ilBasicSkill.php.
|
static |
Definition at line 177 of file class.ilBasicSkill.php.
References $DIC.
|
static |
Definition at line 169 of file class.ilBasicSkill.php.
References $DIC.
|
static |
Definition at line 292 of file class.ilBasicSkill.php.
Referenced by ilSkillAppEventListener\handleEvent(), ilTestSkillEvaluation\invokeSkillLevelTrigger(), ilContainerMemberSkills\publish(), ilPersonalSkill\saveSelfEvaluation(), ilSurveySkill\writeAndAddAppraiseeSkills(), ilSurveySkill\writeAndAddIndFeedbackSkills(), and ilSurveySkill\writeAndAddSelfEvalSkills().
Here is the caller graph for this function:
|
protected |
Definition at line 27 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilBasicSkill.php.
| const ilBasicSkill::ACHIEVED = 1 |
Definition at line 32 of file class.ilBasicSkill.php.
Referenced by ilSkillUserLevelDBRepository\hasRecentSelfEvaluation(), ilTestSkillEvaluation\invokeSkillLevelTrigger(), ilContainerMemberSkills\publish(), ilPersonalSkill\saveSelfEvaluation(), ilSurveySkill\writeAndAddAppraiseeSkills(), ilSurveySkill\writeAndAddIndFeedbackSkills(), and ilSurveySkill\writeAndAddSelfEvalSkills().
| const ilBasicSkill::EVAL_BY_ALL = 2 |
Definition at line 37 of file class.ilBasicSkill.php.
| const ilBasicSkill::EVAL_BY_OTHERS = 0 |
Definition at line 35 of file class.ilBasicSkill.php.
| const ilBasicSkill::EVAL_BY_SELF = 1 |
Definition at line 36 of file class.ilBasicSkill.php.
Referenced by ilPersonalSkillsGUI\getSkillEntriesHeader().
| const ilBasicSkill::NOT_ACHIEVED = 0 |
Definition at line 33 of file class.ilBasicSkill.php.