|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Basic Skill. 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... | |
| 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) |
| 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... | |
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) | |
Basic Skill.
Definition at line 28 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 43 of file class.ilBasicSkill.php.
References $bsc_skl_lvl_db_rep, $bsc_skl_tre_rep, $bsc_skl_usr_lvl_db_rep, $DIC, ILIAS\MetaData\Repository\Validation\Data\__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 121 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Here is the call graph for this function:| ilBasicSkill::copy | ( | ) |
Copy basic skill.
Definition at line 94 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.
Definition at line 86 of file class.ilBasicSkill.php.
| ilBasicSkill::deleteLevel | ( | int | $a_id | ) |
Definition at line 183 of file class.ilBasicSkill.php.
| ilBasicSkill::fixLevelNumbering | ( | ) |
Definition at line 188 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 433 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and 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 420 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 607 of file class.ilBasicSkill.php.
References $DIC.
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 534 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and 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 554 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getLevelData | ( | int | $a_id = 0 | ) |
Definition at line 127 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId().
Referenced by ilBasicSkillTemplate\copy(), copy(), getMaxLevel(), getMaxLevelPerObject(), getMaxLevelPerType(), and ilPersonalSkillsGUI\setGapAnalysisActualStatusModePerObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 626 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 635 of file class.ilBasicSkill.php.
References lookupLevelSkillId().
Referenced by ilSurveyDataSet\importRecord().
Here is the call graph for this function:
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 493 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), getLevelData(), and 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 451 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), getLevelData(), and 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 378 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), getLevelData(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 269 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 507 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and 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 473 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and 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 400 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilBasicSkill::getShortTitleForCertificate | ( | ) |
Definition at line 585 of file class.ilBasicSkill.php.
| ilBasicSkill::getSkillForLevelId | ( | int | $a_level_id | ) |
Definition at line 194 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 580 of file class.ilBasicSkill.php.
References ilSkillTreeNode\getTitle().
Here is the call graph for this function:
|
static |
|
staticprotected |
Definition at line 244 of file class.ilBasicSkill.php.
|
static |
Definition at line 520 of file class.ilBasicSkill.php.
Referenced by ilPersonalSkillsGUI\getSuggestedResourcesForProfile(), ilPersonalSkillsGUI\listAssignedProfile(), ilPersonalSkillsGUI\renderSkillHTML(), and ilPersonalSkillsGUI\setGapAnalysisActualStatusModePerObject().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 152 of file class.ilBasicSkill.php.
References $DIC.
Referenced by getLevelIdForImportIdMatchSkill(), ilSkillDataSet\importRecord(), and writeUserSkillLevelStatus().
Here is the caller graph for this function:
|
static |
Definition at line 134 of file class.ilBasicSkill.php.
References $DIC.
Referenced by ilSkillProfileGUI\confirmLevelAssignmentRemoval(), ilBasicSkillGUI\confirmLevelDeletion(), ilSkillProfileLevelsTableGUI\fillRow(), ilContSkillMemberTableGUI\fillRow(), ilPersonalSkillsGUI\getAllSuggestedResources(), ilSkillLearningHistoryProvider\getEntries(), ilSkillNotifications\sendMail(), ilBasicSkillTemplateGUI\setLevelHead(), and ilBasicSkillGUI\setLevelHead().
Here is the caller graph for this function:| ilBasicSkill::read | ( | ) |
Read data from database.
Definition at line 78 of file class.ilBasicSkill.php.
|
static |
Definition at line 368 of file class.ilBasicSkill.php.
Referenced by ilSkillObjDeletionHandler\processDeletion().
Here is the caller graph for this function:
|
static |
Definition at line 345 of file class.ilBasicSkill.php.
Referenced by ILIAS\Container\Skills\ContainerSkillManager\publishMemberSkills(), and ILIAS\Container\Skills\ContainerSkillManager\removeAllMemberSkillsFromContainer().
Here is the caller graph for this function:
|
static |
Definition at line 205 of file class.ilBasicSkill.php.
Referenced by ILIAS\Skill\Personal\SelfEvaluationManager\saveSelfEvaluation().
Here is the caller graph for this function:| ilBasicSkill::updateLevelOrder | ( | array | $order | ) |
Definition at line 177 of file class.ilBasicSkill.php.
|
static |
|
static |
|
static |
Definition at line 284 of file class.ilBasicSkill.php.
References $DIC, $ilDB, and lookupLevelSkillId().
Referenced by ilSkillAppEventListener\handleEvent(), ilTestSkillEvaluation\invokeSkillLevelTrigger(), ILIAS\Container\Skills\ContainerSkillManager\publishMemberSkills(), ILIAS\Skill\Personal\SelfEvaluationManager\saveSelfEvaluation(), ilSurveySkill\writeAndAddAppraiseeSkills(), ilSurveySkill\writeAndAddIndFeedbackSkills(), and ilSurveySkill\writeAndAddSelfEvalSkills().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilBasicSkill.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilBasicSkill.php.
| const ilBasicSkill::ACHIEVED = 1 |
Definition at line 36 of file class.ilBasicSkill.php.
Referenced by ilSkillUserLevelDBRepository\getNewAchievementsPerUser(), ilSkillUserLevelDBRepository\hasRecentSelfEvaluation(), ilTestSkillEvaluation\invokeSkillLevelTrigger(), ILIAS\Container\Skills\ContainerSkillManager\publishMemberSkills(), ilSkillUserLevelDBRepository\resetUserSkillLevelStatus(), ILIAS\Skill\Personal\SelfEvaluationManager\saveSelfEvaluation(), ilSurveySkill\writeAndAddAppraiseeSkills(), ilSurveySkill\writeAndAddIndFeedbackSkills(), ilSurveySkill\writeAndAddSelfEvalSkills(), and ilSkillUserLevelDBRepository\writeUserSkillLevelStatus().
| const ilBasicSkill::EVAL_BY_ALL = 2 |
Definition at line 41 of file class.ilBasicSkill.php.
Referenced by ilSkillUserLevelDBRepository\getAllHistoricLevelEntriesOfUser(), and ilPersonalSkillsGUI\renderSkillHTML().
| const ilBasicSkill::EVAL_BY_OTHERS = 0 |
Definition at line 39 of file class.ilBasicSkill.php.
Referenced by ilPersonalSkillsGUI\renderSkillHTML().
| const ilBasicSkill::EVAL_BY_SELF = 1 |
Definition at line 40 of file class.ilBasicSkill.php.
Referenced by ilPersonalSkillsGUI\getLatestEntriesForSkillHTML(), ilPersonalSkillsGUI\getNonLatestEntriesForSkillHTML(), ilPersonalSkillsGUI\getSkillEntriesHeader(), and ilPersonalSkillsGUI\renderSkillHTML().
| const ilBasicSkill::NOT_ACHIEVED = 0 |
Definition at line 37 of file class.ilBasicSkill.php.