|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 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... | |
| writeCompletionEntryForAllProfilesOfUser (int $user_id) | |
| Write profile completion entries (fulfilled or non-fulfilled) of user for all profiles. More... | |
| writeCompletionEntryForSingleProfileOfUser (int $user_id, int $profile_id) | |
| Write profile completion entry (fulfilled or non-fulfilled) of user for given profile. More... | |
| writeCompletionEntryForAllAssignedUsersOfProfile (int $profile_id) | |
| Write completion entries for a profile for all assigned users of the given profile. More... | |
| writeCompletionEntryForRole (int $role_id, int $profile_id) | |
| Write completion entries for a profile for assigned users of a role. 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 34 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::__construct | ( | SkillProfileManager | $profile_manager, |
| ?SkillProfileCompletionDBRepository | $profile_completion_repo = null |
||
| ) |
Definition at line 41 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 279 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::deleteEntriesForUser | ( | int | $user_id | ) |
Delete all profile completion entries for a user.
Definition at line 287 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 98 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 |
||
| ) |
| GapAnalysisSkill[] | $skills |
Definition at line 58 of file class.SkillProfileCompletionManager.php.
References $ref_id, ilObject\_getAllReferences(), ilObject\_lookupObjectId(), ilObject\_lookupType(), and ilObjectLP\getSupportedObjectTypes().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\getProfileProgress().
Here is the call graph for this function:
Here is the caller 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 |
||
| ) |
| GapAnalysisSkill[] | $skills |
Definition at line 113 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForProfile | ( | int | $profile_id | ) |
Get all completion entries for a single profile.
Definition at line 222 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForUser | ( | int | $user_id | ) |
Get all profile completion entries for a user.
Definition at line 213 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 176 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\isProfileFulfilled().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForAllProfilesOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::getEntries | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Get profile completion entries for given user-profile-combination.
Definition at line 195 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getFulfilledEntriesForUser | ( | int | $user_id | ) |
Get all fulfilled profile completion entries for a user.
Definition at line 204 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 140 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\getActualMaxLevels().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\isProfileFulfilled().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::isProfileFulfilled | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Check if a profile is fulfilled (progress = 100%)
Definition at line 164 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\getProfileProgress().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\getAllProfileCompletionsForUser(), and ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForSingleProfileOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForAllAssignedUsersOfProfile | ( | int | $profile_id | ) |
Write completion entries for a profile for all assigned users of the given profile.
Definition at line 257 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForSingleProfileOfUser().
Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForAllProfilesOfUser | ( | int | $user_id | ) |
Write profile completion entries (fulfilled or non-fulfilled) of user for all profiles.
Definition at line 230 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\getAllProfileCompletionsForUser().
Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForRole | ( | int | $role_id, |
| int | $profile_id | ||
| ) |
Write completion entries for a profile for assigned users of a role.
Definition at line 268 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForSingleProfileOfUser().
Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileCompletionManager::writeCompletionEntryForSingleProfileOfUser | ( | int | $user_id, |
| int | $profile_id | ||
| ) |
Write profile completion entry (fulfilled or non-fulfilled) of user for given profile.
Definition at line 245 of file class.SkillProfileCompletionManager.php.
References ILIAS\Skill\Profile\SkillProfileCompletionManager\isProfileFulfilled().
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForAllAssignedUsersOfProfile(), and ILIAS\Skill\Profile\SkillProfileCompletionManager\writeCompletionEntryForRole().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.SkillProfileCompletionManager.php.
|
protected |
Definition at line 37 of file class.SkillProfileCompletionManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\__construct().
|
protected |
Definition at line 36 of file class.SkillProfileCompletionManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileCompletionManager\__construct().
|
protected |
Definition at line 38 of file class.SkillProfileCompletionManager.php.