|
| saveSelfEvaluation (int $user_id, int $top_skill, int $tref_id, int $basic_skill, int $level) |
|
| getSelfEvaluation (int $user_id, int $top_skill, int $tref_id, int $basic_skill) |
|
| getSelfEvaluationDate (int $user_id, int $top_skill, int $tref_id, int $basic_skill) |
|
◆ getSelfEvaluation()
ILIAS\Skill\Personal\SelfEvaluationManager::getSelfEvaluation |
( |
int |
$user_id, |
|
|
int |
$top_skill, |
|
|
int |
$tref_id, |
|
|
int |
$basic_skill |
|
) |
| |
- Parameters
-
int | $user_id | user id |
int | $top_skill | the "selectable" top skill |
int | $tref_id | template reference id |
int | $basic_skill | the basic skill the level belongs to |
- Returns
- int level id
Definition at line 66 of file class.SelfEvaluationManager.php.
72 $bs = new \ilBasicSkill($basic_skill);
73 return $bs->getLastLevelPerObject($tref_id, 0,
$user_id, 1);
◆ getSelfEvaluationDate()
ILIAS\Skill\Personal\SelfEvaluationManager::getSelfEvaluationDate |
( |
int |
$user_id, |
|
|
int |
$top_skill, |
|
|
int |
$tref_id, |
|
|
int |
$basic_skill |
|
) |
| |
- Parameters
-
int | $user_id | user id |
int | $top_skill | the "selectable" top skill |
int | $tref_id | template reference id |
int | $basic_skill | the basic skill the level belongs to |
- Returns
- string status date
Definition at line 83 of file class.SelfEvaluationManager.php.
89 $bs = new \ilBasicSkill($basic_skill);
90 return $bs->getLastUpdatePerObject($tref_id, 0,
$user_id, 1);
◆ saveSelfEvaluation()
ILIAS\Skill\Personal\SelfEvaluationManager::saveSelfEvaluation |
( |
int |
$user_id, |
|
|
int |
$top_skill, |
|
|
int |
$tref_id, |
|
|
int |
$basic_skill, |
|
|
int |
$level |
|
) |
| |
- Parameters
-
int | $user_id | user id |
int | $top_skill | the "selectable" top skill |
int | $tref_id | template reference id |
int | $basic_skill | the basic skill the level belongs to |
int | $level | level id |
Definition at line 37 of file class.SelfEvaluationManager.php.
References ilBasicSkill\ACHIEVED, ilBasicSkill\resetUserSkillLevelStatus(), and ilBasicSkill\writeUserSkillLevelStatus().
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 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)
The documentation for this class was generated from the following file: