ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Repository for skill profile completion. More...
Public Member Functions | |
__construct (?\ilDBInterface $db=null, ?Service\SkillInternalFactoryService $factory_service=null) | |
getEntries (int $user_id, int $profile_id) | |
Get profile completion entries for given user-profile-combination. More... | |
addFulfilmentEntry (int $user_id, int $profile_id) | |
Add profile fulfilment entry to given user-profile-combination. More... | |
addNonFulfilmentEntry (int $user_id, int $profile_id) | |
Add profile non-fulfilment entry to given user-profile-combination. More... | |
getFulfilledEntriesForUser (int $user_id) | |
Get all fulfilled profile completion entries for a user. More... | |
getAllEntriesForUser (int $user_id) | |
Get all profile completion entries for a user. More... | |
getAllEntriesForProfile (int $profile_id) | |
Get all completion entries for a single profile. More... | |
deleteEntriesForProfile (int $profile_id) | |
Delete all profile completion entries for a profile. More... | |
deleteEntriesForUser (int $user_id) | |
Delete all profile completion entries for a user. More... | |
Protected Member Functions | |
getFromRecord (array $rec) | |
Protected Attributes | |
ilDBInterface | $db |
Service SkillInternalFactoryService | $factory_service |
Repository for skill profile completion.
Definition at line 30 of file class.SkillProfileCompletionDBRepository.php.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::__construct | ( | ?\ilDBInterface | $db = null , |
?Service\SkillInternalFactoryService | $factory_service = null |
||
) |
Definition at line 35 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $DIC, and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$factory_service.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::addFulfilmentEntry | ( | int | $user_id, |
int | $profile_id | ||
) |
Add profile fulfilment entry to given user-profile-combination.
Definition at line 83 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, ilUtil\now(), and null.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::addNonFulfilmentEntry | ( | int | $user_id, |
int | $profile_id | ||
) |
Add profile non-fulfilment entry to given user-profile-combination.
Definition at line 115 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, ilUtil\now(), and null.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::deleteEntriesForProfile | ( | int | $profile_id | ) |
Delete all profile completion entries for a profile.
Definition at line 208 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, and $ilDB.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::deleteEntriesForUser | ( | int | $user_id | ) |
Delete all profile completion entries for a user.
Definition at line 221 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, and $ilDB.
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::getAllEntriesForProfile | ( | int | $profile_id | ) |
Get all completion entries for a single profile.
Definition at line 189 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFromRecord().
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::getAllEntriesForUser | ( | int | $user_id | ) |
Get all profile completion entries for a user.
Definition at line 169 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFromRecord().
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::getEntries | ( | int | $user_id, |
int | $profile_id | ||
) |
Get profile completion entries for given user-profile-combination.
Definition at line 49 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFromRecord().
|
protected |
Definition at line 66 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Repository\int().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getAllEntriesForProfile(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getAllEntriesForUser(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getEntries(), and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFulfilledEntriesForUser().
ILIAS\Skill\Profile\SkillProfileCompletionDBRepository::getFulfilledEntriesForUser | ( | int | $user_id | ) |
Get all fulfilled profile completion entries for a user.
Definition at line 148 of file class.SkillProfileCompletionDBRepository.php.
References ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\$db, $ilDB, and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFromRecord().
|
protected |
Definition at line 32 of file class.SkillProfileCompletionDBRepository.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\__construct(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addFulfilmentEntry(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addNonFulfilmentEntry(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\deleteEntriesForProfile(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\deleteEntriesForUser(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getAllEntriesForProfile(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getAllEntriesForUser(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getEntries(), and ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\getFulfilledEntriesForUser().
|
protected |
Definition at line 33 of file class.SkillProfileCompletionDBRepository.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\__construct().