ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilDBInterface $db=null) | |
deleteUserLevelsOfSkill (int $skill_id) | |
resetUserSkillLevelStatus (bool $update, int $trigger_obj_id, string $status_date, int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0, bool $a_self_eval=false) | |
hasRecentSelfEvaluation (int $trigger_obj_id, int $a_user_id, int $a_skill_id, int $a_tref_id=0, int $a_trigger_ref_id=0) | |
getNewAchievementsPerUser (string $a_timestamp, string $a_timestamp_to=null, int $a_user_id=0, int $a_self_eval=0) | |
writeUserSkillLevelStatus (int $skill_id, int $trigger_ref_id, int $trigger_obj_id, ?string $trigger_title, ?string $trigger_type, bool $update, string $status_date, int $a_level_id, int $a_user_id, int $a_tref_id=0, bool $a_self_eval=false, string $a_unique_identifier="", float $a_next_level_fulfilment=0.0, string $trigger_user_id="") | |
removeAllUserSkillLevelStatusOfObject (int $a_user_id, int $a_trigger_obj_id, bool $a_self_eval=false, string $a_unique_identifier="") | |
removeAllUserData (int $a_user_id) | |
getMaxLevelPerType (int $skill_id, array $levels, int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilmentPerType (int $skill_id, int $a_tref_id, string $a_type, int $a_user_id=0, int $a_self_eval=0) | |
getAllLevelEntriesOfUser (int $skill_id, int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
getAllHistoricLevelEntriesOfUser (int $skill_id, int $a_tref_id, int $a_user_id=0, int $a_eval_by=0) | |
getMaxLevelPerObject (int $skill_id, array $levels, int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilmentPerObject (int $skill_id, int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getMaxLevel (int $skill_id, array $levels, int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
getNextLevelFulfilment (int $skill_id, int $a_tref_id, int $a_user_id=0, int $a_self_eval=0) | |
hasSelfEvaluated (int $a_user_id, int $a_skill_id, int $a_tref_id) | |
getLastLevelPerObject (int $skill_id, int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
getLastUpdatePerObject (int $skill_id, int $a_tref_id, int $a_object_id, int $a_user_id=0, int $a_self_eval=0) | |
Protected Attributes | |
ilDBInterface | $db |
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
Definition at line 20 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::__construct | ( | ilDBInterface | $db = null | ) |
Definition at line 24 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::deleteUserLevelsOfSkill | ( | int | $skill_id | ) |
Implements ilSkillUserLevelRepository.
Definition at line 32 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::getAllHistoricLevelEntriesOfUser | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_user_id = 0 , |
||
int | $a_eval_by = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 438 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, ilBasicSkill\EVAL_BY_ALL, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getAllLevelEntriesOfUser | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 404 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getLastLevelPerObject | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_object_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 600 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::getLastUpdatePerObject | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_object_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 627 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::getMaxLevel | ( | int | $skill_id, |
array | $levels, | ||
int | $a_tref_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 532 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getMaxLevelPerObject | ( | int | $skill_id, |
array | $levels, | ||
int | $a_tref_id, | ||
int | $a_object_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 475 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getMaxLevelPerType | ( | int | $skill_id, |
array | $levels, | ||
int | $a_tref_id, | ||
string | $a_type, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 347 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getNewAchievementsPerUser | ( | string | $a_timestamp, |
string | $a_timestamp_to = null , |
||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 143 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, ilBasicSkill\ACHIEVED, and ILIAS\Repository\int().
ilSkillUserLevelDBRepository::getNextLevelFulfilment | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 562 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::getNextLevelFulfilmentPerObject | ( | int | $skill_id, |
int | $a_tref_id, | ||
int | $a_object_id, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 507 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::getNextLevelFulfilmentPerType | ( | int | $skill_id, |
int | $a_tref_id, | ||
string | $a_type, | ||
int | $a_user_id = 0 , |
||
int | $a_self_eval = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 379 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::hasRecentSelfEvaluation | ( | int | $trigger_obj_id, |
int | $a_user_id, | ||
int | $a_skill_id, | ||
int | $a_tref_id = 0 , |
||
int | $a_trigger_ref_id = 0 |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 108 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, ilBasicSkill\ACHIEVED, and ilUtil\now().
ilSkillUserLevelDBRepository::hasSelfEvaluated | ( | int | $a_user_id, |
int | $a_skill_id, | ||
int | $a_tref_id | ||
) |
Implements ilSkillUserLevelRepository.
Definition at line 585 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::removeAllUserData | ( | int | $a_user_id | ) |
Implements ilSkillUserLevelRepository.
Definition at line 333 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::removeAllUserSkillLevelStatusOfObject | ( | int | $a_user_id, |
int | $a_trigger_obj_id, | ||
bool | $a_self_eval = false , |
||
string | $a_unique_identifier = "" |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 300 of file class.ilSkillUserLevelDBRepository.php.
ilSkillUserLevelDBRepository::resetUserSkillLevelStatus | ( | bool | $update, |
int | $trigger_obj_id, | ||
string | $status_date, | ||
int | $a_user_id, | ||
int | $a_skill_id, | ||
int | $a_tref_id = 0 , |
||
int | $a_trigger_ref_id = 0 , |
||
bool | $a_self_eval = false |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 45 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, ilBasicSkill\ACHIEVED, and ilUtil\now().
ilSkillUserLevelDBRepository::writeUserSkillLevelStatus | ( | int | $skill_id, |
int | $trigger_ref_id, | ||
int | $trigger_obj_id, | ||
?string | $trigger_title, | ||
?string | $trigger_type, | ||
bool | $update, | ||
string | $status_date, | ||
int | $a_level_id, | ||
int | $a_user_id, | ||
int | $a_tref_id = 0 , |
||
bool | $a_self_eval = false , |
||
string | $a_unique_identifier = "" , |
||
float | $a_next_level_fulfilment = 0.0 , |
||
string | $trigger_user_id = "" |
||
) |
Implements ilSkillUserLevelRepository.
Definition at line 188 of file class.ilSkillUserLevelDBRepository.php.
References $db, $ilDB, ilBasicSkill\ACHIEVED, and ilUtil\now().
|
protected |
Definition at line 22 of file class.ilSkillUserLevelDBRepository.php.
Referenced by __construct(), deleteUserLevelsOfSkill(), getAllHistoricLevelEntriesOfUser(), getAllLevelEntriesOfUser(), getLastLevelPerObject(), getLastUpdatePerObject(), getMaxLevel(), getMaxLevelPerObject(), getMaxLevelPerType(), getNewAchievementsPerUser(), getNextLevelFulfilment(), getNextLevelFulfilmentPerObject(), getNextLevelFulfilmentPerType(), hasRecentSelfEvaluation(), hasSelfEvaluated(), removeAllUserData(), removeAllUserSkillLevelStatusOfObject(), resetUserSkillLevelStatus(), and writeUserSkillLevelStatus().