|
ILIAS
release_8 Revision v8.24
|
Manages skill profile completion. More...
Collaboration diagram for ILIAS\Skill\Profile\SkillProfileCompletionManager:Public Member Functions | |
| __construct (SkillProfileManager $profile_manager, ?SkillProfileCompletionDBRepository $profile_completion_repo=null) | |
| getActualMaxLevels (int $user_id, array $skills, string $gap_mode="", string $gap_mode_type="", int $gap_mode_obj_id=0) | |
| getActualLastLevels (int $user_id, array $skills, string $gap_mode="", string $gap_mode_type="", int $gap_mode_obj_id=0) | |
| getActualNextLevelFulfilments (int $user_id, array $skills, string $gap_mode="", string $gap_mode_type="", int $gap_mode_obj_id=0) | |
| getProfileProgress (int $user_id, int $profile_id) | |
| Get progress in percent for a profile. More... | |
| isProfileFulfilled (int $user_id, int $profile_id) | |
| Check if a profile is fulfilled (progress = 100%) More... | |
| getAllProfileCompletionsForUser (int $user_id) | |
| Get all profiles of user which are fulfilled or non-fulfilled. More... | |
| getEntries (int $user_id, int $profile_id) | |
| Get profile completion entries for given user-profile-combination. More... | |
| getFulfilledEntriesForUser (int $user_id) | |
| Get all 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... | |
| writeCompletionEntryForAllProfiles (int $user_id) | |
| Write profile completion entries (fulfilled or non-fulfilled) of user for all profiles. More... | |
| writeCompletionEntryForSingleProfile (int $user_id, int $profile_id) | |
| Write profile completion entry (fulfilled or non-fulfilled) of user for given 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 Attributes | |
| SkillProfileManager | $profile_manager |
| SkillProfileCompletionDBRepository | $profile_completion_repo |
| ilTree | $tree_service |
| ilObjectDefinition | $obj_definition |
Manages skill profile completion.
(business logic)
Definition at line 29 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::__construct | ( | SkillProfileManager | $profile_manager, |
| ?SkillProfileCompletionDBRepository | $profile_completion_repo = null |
||
| ) |
Definition at line 36 of file class.SkillProfileCompletionManager.php.
References $DIC, ILIAS\Skill\Profile\SkillProfileCompletionManager\$profile_completion_repo, and ILIAS\Skill\Profile\SkillProfileCompletionManager\$profile_manager.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::deleteEntriesForProfile | ( | int | $profile_id | ) |
Delete all profile completion entries for a profile.
Definition at line 258 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::deleteEntriesForUser | ( | int | $user_id | ) |
Delete all profile completion entries for a user.
Definition at line 266 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getActualLastLevels | ( | int | $user_id, |
| array | $skills, | ||
| string | $gap_mode = "", |
||
| string | $gap_mode_type = "", |
||
| int | $gap_mode_obj_id = 0 |
||
| ) |
Definition at line 93 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getActualMaxLevels | ( | int | $user_id, |
| array | $skills, | ||
| string | $gap_mode = "", |
||
| string | $gap_mode_type = "", |
||
| int | $gap_mode_obj_id = 0 |
||
| ) |
| array{base_skill_id | int, tref_id: int, level_id: int} $skills |
Definition at line 53 of file class.SkillProfileCompletionManager.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupType(), and ilObjectLP\getSupportedObjectTypes().
Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::getActualNextLevelFulfilments | ( | int | $user_id, |
| array | $skills, | ||
| string | $gap_mode = "", |
||
| string | $gap_mode_type = "", |
||
| int | $gap_mode_obj_id = 0 |
||
| ) |
| array{base_skill_id | int, tref_id: int, level_id: int} $skills |
Definition at line 108 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForProfile | ( | int | $profile_id | ) |
Get all completion entries for a single profile.
Definition at line 223 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForUser | ( | int | $user_id | ) |
Get all profile completion entries for a user.
Definition at line 215 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllProfileCompletionsForUser | ( | int | $user_id | ) |
Get all profiles of user which are fulfilled or non-fulfilled.
Definition at line 180 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getEntries | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Get profile completion entries for given user-profile-combination.
Definition at line 198 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getFulfilledEntriesForUser | ( | int | $user_id | ) |
Get all profile completion entries for a user.
Definition at line 207 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getProfileProgress | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Get progress in percent for a profile.
Definition at line 135 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::isProfileFulfilled | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Check if a profile is fulfilled (progress = 100%)
Definition at line 168 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForAllProfiles | ( | int | $user_id | ) |
Write profile completion entries (fulfilled or non-fulfilled) of user for all profiles.
Definition at line 231 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForSingleProfile | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Write profile completion entry (fulfilled or non-fulfilled) of user for given profile.
Definition at line 246 of file class.SkillProfileCompletionManager.php.
|
protected |
Definition at line 34 of file class.SkillProfileCompletionManager.php.
|
protected |
Definition at line 32 of file class.SkillProfileCompletionManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\__construct().
|
protected |
Definition at line 31 of file class.SkillProfileCompletionManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\__construct().
|
protected |
Definition at line 33 of file class.SkillProfileCompletionManager.php.