| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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, string $trigger_user="") | |
| getLastLevelPerObjectAndTriggerUser (int $user_id, array $skills, int $obj_id, string $trigger_user) | |
| This does not include any container logic currently only used for survey, individual assessment.  More... | |
| 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 307 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::deleteEntriesForUser | ( | int | $user_id | ) | 
Delete all profile completion entries for a user.
Definition at line 315 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 125 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,  | 
        ||
| string | $trigger_user = ""  | 
        ||
| ) | 
| GapAnalysisSkill[] | $skills | 
Definition at line 58 of file class.SkillProfileCompletionManager.php.
References $ref_id, $user_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 140 of file class.SkillProfileCompletionManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForProfile | ( | int | $profile_id | ) | 
Get all completion entries for a single profile.
Definition at line 250 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getAllEntriesForUser | ( | int | $user_id | ) | 
Get all profile completion entries for a user.
Definition at line 241 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 204 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 223 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 232 of file class.SkillProfileCompletionManager.php.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getLastLevelPerObjectAndTriggerUser | ( | int | $user_id, | 
| array | $skills, | ||
| int | $obj_id, | ||
| string | $trigger_user | ||
| ) | 
This does not include any container logic currently only used for survey, individual assessment.
Definition at line 103 of file class.SkillProfileCompletionManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileCompletionManager::getProfileProgress | ( | int | $user_id, | 
| int | $profile_id | ||
| ) | 
Get progress in percent for a profile.
Definition at line 167 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 192 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 285 of file class.SkillProfileCompletionManager.php.
References $user_id, and 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 258 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 296 of file class.SkillProfileCompletionManager.php.
References $user_id, and 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 273 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.