|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilSurveySkill:Public Member Functions | |
| __construct (ilObjSurvey $a_survey) | |
| read () | |
| getSkillForQuestion (int $a_question_id) | |
| Get skill for question. More... | |
| getQuestionsForSkill (int $a_base_skill_id, int $a_tref_id) | |
| Get questions for skill. More... | |
| addQuestionSkillAssignment (int $a_question_id, int $a_base_skill_id, int $a_tref_id) | |
| Add survey question to skill assignment. More... | |
| removeQuestionSkillAssignment (int $a_question_id) | |
| removeUsagesOfSkills (array $a_skills) | |
| Remove usages of skills This function checks, if the skills are really not in use anymore. More... | |
| isSkillAssignedToQuestion (int $a_skill_id, int $a_tref_id) | |
| getAllAssignedSkillsAsOptions () | |
| determineSkillLevelsForAppraisee (int $a_appraisee_id, bool $a_self_eval=false, int $finished_id=0) | |
| Determine skill levels for appraisee. More... | |
| determineMaxScale (int $a_base_skill, int $a_tref_id=0) | |
| writeAndAddAppraiseeSkills (int $user_id) | |
| Write appraisee skills and add them to user's competence records. More... | |
| writeAndAddIndFeedbackSkills (int $finished_id, int $appr_id, string $rater_id) | |
| writeAndAddSelfEvalSkills (int $user_id) | |
| Write skills on self evaluation and add them to user's competence records. More... | |
Static Public Member Functions | |
| static | handleQuestionDeletion (int $a_question_id, int $a_obj_id) |
| Remove question skill assignment. More... | |
Protected Attributes | |
| ilObjSurvey | $survey |
| ilDBInterface | $db |
| array | $q_skill = array() |
| ilLogger | $log |
| ILIAS Skill Service SkillProfileService | $skill_profile_service |
| ILIAS Skill Service SkillPersonalService | $skill_personal_service |
| ILIAS Skill Service SkillUsageService | $skill_usage_service |
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 Skill/Competence handling in surveys
Definition at line 23 of file class.ilSurveySkill.php.
| ilSurveySkill::__construct | ( | ilObjSurvey | $a_survey | ) |
Definition at line 37 of file class.ilSurveySkill.php.
References $DIC, ilLoggerFactory\getLogger(), and read().
Here is the call graph for this function:| ilSurveySkill::addQuestionSkillAssignment | ( | int | $a_question_id, |
| int | $a_base_skill_id, | ||
| int | $a_tref_id | ||
| ) |
Add survey question to skill assignment.
| int | $a_question_id | question id |
| int | $a_base_skill_id | base skill id |
| int | $a_tref_id | skill template reference id (0, if no template involved) |
Definition at line 106 of file class.ilSurveySkill.php.
| ilSurveySkill::determineMaxScale | ( | int | $a_base_skill, |
| int | $a_tref_id = 0 |
||
| ) |
Definition at line 340 of file class.ilSurveySkill.php.
References Vendor\Package\$c, $q, and SurveyQuestion\_instanciateQuestion().
Here is the call graph for this function:| ilSurveySkill::determineSkillLevelsForAppraisee | ( | int | $a_appraisee_id, |
| bool | $a_self_eval = false, |
||
| int | $finished_id = 0 |
||
| ) |
Determine skill levels for appraisee.
Definition at line 242 of file class.ilSurveySkill.php.
References $results, getAllAssignedSkillsAsOptions(), and getQuestionsForSkill().
Referenced by writeAndAddAppraiseeSkills(), writeAndAddIndFeedbackSkills(), and writeAndAddSelfEvalSkills().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveySkill::getAllAssignedSkillsAsOptions | ( | ) |
Definition at line 228 of file class.ilSurveySkill.php.
References ilSkillTreeNode\_lookupTitle().
Referenced by determineSkillLevelsForAppraisee().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveySkill::getQuestionsForSkill | ( | int | $a_base_skill_id, |
| int | $a_tref_id | ||
| ) |
Get questions for skill.
Definition at line 85 of file class.ilSurveySkill.php.
Referenced by determineSkillLevelsForAppraisee().
Here is the caller graph for this function:| ilSurveySkill::getSkillForQuestion | ( | int | $a_question_id | ) |
Get skill for question.
| int | $a_question_id | question id |
Definition at line 75 of file class.ilSurveySkill.php.
|
static |
Remove question skill assignment.
Definition at line 163 of file class.ilSurveySkill.php.
References ilObject\_exists(), ilObject\_lookupType(), and ilLoggerFactory\getLogger().
Referenced by SurveyQuestion\delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveySkill::isSkillAssignedToQuestion | ( | int | $a_skill_id, |
| int | $a_tref_id | ||
| ) |
Definition at line 206 of file class.ilSurveySkill.php.
Referenced by removeUsagesOfSkills().
Here is the caller graph for this function:| ilSurveySkill::read | ( | ) |
Definition at line 50 of file class.ilSurveySkill.php.
References $db, $ilDB, SurveyQuestion\_questionExists(), and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveySkill::removeQuestionSkillAssignment | ( | int | $a_question_id | ) |
Definition at line 132 of file class.ilSurveySkill.php.
References $db, $ilDB, and removeUsagesOfSkills().
Here is the call graph for this function:| ilSurveySkill::removeUsagesOfSkills | ( | array | $a_skills | ) |
Remove usages of skills This function checks, if the skills are really not in use anymore.
| array | $a_skills | array of arrays with keys "skill_id" and "tref_id" |
Definition at line 187 of file class.ilSurveySkill.php.
References isSkillAssignedToQuestion().
Referenced by removeQuestionSkillAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveySkill::writeAndAddAppraiseeSkills | ( | int | $user_id | ) |
Write appraisee skills and add them to user's competence records.
Definition at line 373 of file class.ilSurveySkill.php.
References ilBasicSkill\ACHIEVED, determineSkillLevelsForAppraisee(), ILIAS\Repository\int(), writeAndAddSelfEvalSkills(), and ilBasicSkill\writeUserSkillLevelStatus().
Here is the call graph for this function:| ilSurveySkill::writeAndAddIndFeedbackSkills | ( | int | $finished_id, |
| int | $appr_id, | ||
| string | $rater_id | ||
| ) |
Definition at line 407 of file class.ilSurveySkill.php.
References ilBasicSkill\ACHIEVED, determineSkillLevelsForAppraisee(), ILIAS\Repository\int(), and ilBasicSkill\writeUserSkillLevelStatus().
Here is the call graph for this function:| ilSurveySkill::writeAndAddSelfEvalSkills | ( | int | $user_id | ) |
Write skills on self evaluation and add them to user's competence records.
Definition at line 440 of file class.ilSurveySkill.php.
References ilBasicSkill\ACHIEVED, determineSkillLevelsForAppraisee(), ILIAS\Repository\int(), ilObjSurvey\MODE_360, ilObjSurvey\MODE_SELF_EVAL, and ilBasicSkill\writeUserSkillLevelStatus().
Referenced by writeAndAddAppraiseeSkills().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 26 of file class.ilSurveySkill.php.
Referenced by addQuestionSkillAssignment(), isSkillAssignedToQuestion(), read(), and removeQuestionSkillAssignment().
|
protected |
Definition at line 32 of file class.ilSurveySkill.php.
|
protected |
Definition at line 31 of file class.ilSurveySkill.php.
|
protected |
Definition at line 34 of file class.ilSurveySkill.php.
|
protected |
Definition at line 33 of file class.ilSurveySkill.php.
|
protected |
Definition at line 35 of file class.ilSurveySkill.php.
|
protected |
Definition at line 25 of file class.ilSurveySkill.php.