| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Inheritance diagram for ILIAS\Skill\Profile\SkillProfileManager:
 Collaboration diagram for ILIAS\Skill\Profile\SkillProfileManager:Public Member Functions | |
| __construct (\ILIAS\Skill\Profile\SkillProfileDBRepository $profile_repo=null, \ILIAS\Skill\Profile\SkillProfileLevelsDBRepository $profile_levels_repo=null, \ILIAS\Skill\Profile\SkillProfileUserDBRepository $profile_user_repo=null, \ILIAS\Skill\Profile\SkillProfileRoleDBRepository $profile_role_repo=null) | |
| getProfile (int $profile_id) | |
| createProfile (SkillProfile $profile) | |
| updateProfile (SkillProfile $profile) | |
| delete (int $profile_id) | |
| deleteProfileLevelsForSkill (int $skill_node_id, bool $is_reference=false) | |
| deleteProfilesFromObject (int $ref_id) | |
| getSkillLevels (int $profile_id) | |
| getSkillLevel (int $profile_id, int $base_skill_id, int $tref_id) | |
| addSkillLevel (SkillProfileLevel $skill_level_obj) | |
| updateSkillLevel (SkillProfileLevel $skill_level_obj) | |
| removeSkillLevel (SkillProfileLevel $skill_level_obj) | |
| updateSkillOrder (int $profile_id, array $order) | |
| fixSkillOrderNumbering (int $profile_id) | |
| getMaxLevelOrderNr (int $profile_id) | |
| getProfilesForAllSkillTrees () | |
| getProfilesForSkillTree (int $skill_tree_id) | |
| getAllGlobalProfiles () | |
| getLocalProfilesForObject (int $ref_id) | |
| lookupTitle (int $profile_id) | |
| lookupRefId (int $profile_id) | |
| updateRefIdAfterImport (int $profile_id, int $new_ref_id) | |
| Update the old ref id with the new ref id after import.  More... | |
| getTreeId (int $profile_id) | |
| getAssignments (int $profile_id) | |
| Get all assignments (users and roles)  More... | |
| getAssignedUsersForRole (int $role_id) | |
| getAssignedUserIdsIncludingRoleAssignments (int $profile_id) | |
| addUserToProfile (int $profile_id, int $user_id) | |
| removeUserFromProfile (int $profile_id, int $user_id) | |
| removeUserFromAllProfiles (int $user_id) | |
| countUsers (int $profile_id) | |
| addRoleToProfile (int $profile_id, int $role_id) | |
| removeRoleFromProfile (int $profile_id, int $role_id) | |
| removeRoleFromAllProfiles (int $role_id) | |
| getAllProfilesOfRole (int $role_id) | |
| Get global and local profiles of a role.  More... | |
| getGlobalProfilesOfRole (int $role_id) | |
| getLocalProfilesOfRole (int $role_id) | |
| countRoles (int $profile_id) | |
Static Public Member Functions | |||
| static | getUsageInfo (array $a_cskill_ids) | ||
Get title of an assigned item.
 
  | |||
Protected Member Functions | |
| deleteProfile (int $profile_id) | |
| deleteProfileLevels (int $profile_id) | |
| deleteProfileUsers (int $profile_id) | |
| deleteProfileRoles (int $profile_id) | |
Definition at line 29 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::__construct | ( | \ILIAS\Skill\Profile\SkillProfileDBRepository | $profile_repo = null,  | 
        
| \ILIAS\Skill\Profile\SkillProfileLevelsDBRepository | $profile_levels_repo = null,  | 
        ||
| \ILIAS\Skill\Profile\SkillProfileUserDBRepository | $profile_user_repo = null,  | 
        ||
| \ILIAS\Skill\Profile\SkillProfileRoleDBRepository | $profile_role_repo = null  | 
        ||
| ) | 
Definition at line 38 of file class.SkillProfileManager.php.
References $DIC, ILIAS\Skill\Profile\SkillProfileManager\$profile_levels_repo, ILIAS\Skill\Profile\SkillProfileManager\$profile_repo, ILIAS\Skill\Profile\SkillProfileManager\$profile_role_repo, ILIAS\Skill\Profile\SkillProfileManager\$profile_user_repo, and ILIAS\Repository\lng().
 Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::addRoleToProfile | ( | int | $profile_id, | 
| int | $role_id | ||
| ) | 
Definition at line 405 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::addSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) | 
Definition at line 135 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::addUserToProfile | ( | int | $profile_id, | 
| int | $user_id | ||
| ) | 
Definition at line 307 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::countRoles | ( | int | $profile_id | ) | 
Definition at line 448 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::countUsers | ( | int | $profile_id | ) | 
Definition at line 357 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\$lng, $r, ILIAS\Skill\Profile\SkillProfileManager\$rbac_review, ilObjRole\_getTranslation(), ilObject\_hasUntrashedReference(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ILIAS\Repository\int().
 Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::createProfile | ( | SkillProfile | $profile | ) | 
Definition at line 62 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::delete | ( | int | $profile_id | ) | 
Definition at line 78 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\deleteProfile(), ILIAS\Skill\Profile\SkillProfileManager\deleteProfileLevels(), ILIAS\Skill\Profile\SkillProfileManager\deleteProfileRoles(), and ILIAS\Skill\Profile\SkillProfileManager\deleteProfileUsers().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 86 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 91 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
 Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::deleteProfileLevelsForSkill | ( | int | $skill_node_id, | 
| bool | $is_reference = false  | 
        ||
| ) | 
Definition at line 96 of file class.SkillProfileManager.php.
      
  | 
  protected | 
Definition at line 106 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
 Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::deleteProfilesFromObject | ( | int | $ref_id | ) | 
Definition at line 111 of file class.SkillProfileManager.php.
      
  | 
  protected | 
Definition at line 101 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
 Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::fixSkillOrderNumbering | ( | int | $profile_id | ) | 
Definition at line 157 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAllGlobalProfiles | ( | ) | 
Definition at line 189 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAllProfilesOfRole | ( | int | $role_id | ) | 
Get global and local profiles of a role.
Definition at line 424 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAssignedUserIdsIncludingRoleAssignments | ( | int | $profile_id | ) | 
| ILIAS\Skill\Profile\SkillProfileManager::getAssignedUsersForRole | ( | int | $role_id | ) | 
Definition at line 278 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAssignments | ( | int | $profile_id | ) | 
Get all assignments (users and roles)
Definition at line 238 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\$lng, ilUserUtil\getNamePresentation(), and ILIAS\Repository\int().
 Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::getGlobalProfilesOfRole | ( | int | $role_id | ) | 
Definition at line 433 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\removeUserFromAllProfiles().
 Here is the caller graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesForObject | ( | int | $ref_id | ) | 
| ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesOfRole | ( | int | $role_id | ) | 
Definition at line 442 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getMaxLevelOrderNr | ( | int | $profile_id | ) | 
Definition at line 162 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfile | ( | int | $profile_id | ) | 
Definition at line 57 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfilesForAllSkillTrees | ( | ) | 
Definition at line 171 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfilesForSkillTree | ( | int | $skill_tree_id | ) | 
Definition at line 180 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getSkillLevel | ( | int | $profile_id, | 
| int | $base_skill_id, | ||
| int | $tref_id | ||
| ) | 
Definition at line 129 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getSkillLevels | ( | int | $profile_id | ) | 
Definition at line 119 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileLevel\getOrderNr().
 Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::getTreeId | ( | int | $profile_id | ) | 
Definition at line 224 of file class.SkillProfileManager.php.
      
  | 
  static | 
Get title of an assigned item.
| array{skill_id | int, tref_id: int}[] $a_cskill_ids array of common skill ids | 
Implements ILIAS\Skill\Usage\SkillUsageInfo.
Definition at line 457 of file class.SkillProfileManager.php.
References $DIC, and ILIAS\Skill\Usage\SkillUsageManager\PROFILE.
| ILIAS\Skill\Profile\SkillProfileManager::lookupRefId | ( | int | $profile_id | ) | 
| ILIAS\Skill\Profile\SkillProfileManager::lookupTitle | ( | int | $profile_id | ) | 
Definition at line 204 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromAllProfiles | ( | int | $role_id | ) | 
Definition at line 415 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromProfile | ( | int | $profile_id, | 
| int | $role_id | ||
| ) | 
Definition at line 410 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) | 
Definition at line 145 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeUserFromAllProfiles | ( | int | $user_id | ) | 
Definition at line 317 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\getGlobalProfilesOfRole().
 Here is the call graph for this function:| ILIAS\Skill\Profile\SkillProfileManager::removeUserFromProfile | ( | int | $profile_id, | 
| int | $user_id | ||
| ) | 
Definition at line 312 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateProfile | ( | SkillProfile | $profile | ) | 
Definition at line 70 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateRefIdAfterImport | ( | int | $profile_id, | 
| int | $new_ref_id | ||
| ) | 
Update the old ref id with the new ref id after import.
Definition at line 219 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) | 
Definition at line 140 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateSkillOrder | ( | int | $profile_id, | 
| array | $order | ||
| ) | 
Definition at line 150 of file class.SkillProfileManager.php.
      
  | 
  protected | 
Definition at line 36 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\countUsers(), and ILIAS\Skill\Profile\SkillProfileManager\getAssignments().
      
  | 
  protected | 
Definition at line 32 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
      
  | 
  protected | 
Definition at line 31 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
      
  | 
  protected | 
Definition at line 34 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
      
  | 
  protected | 
Definition at line 33 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
      
  | 
  protected | 
Definition at line 35 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\countUsers().