ILIAS
release_8 Revision v8.23
|
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) | |
getById (int $profile_id) | |
createProfile (SkillProfile $profile) | |
updateProfile (SkillProfile $profile) | |
delete (int $profile_id) | |
deleteProfilesFromObject (int $ref_id) | |
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... | |
getAssignedUsers (int $profile_id) | |
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) | |
getProfilesOfUser (int $user_id) | |
countUsers (int $profile_id) | |
getAssignedRoles (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, int $ref_id) | |
countRoles (int $profile_id) | |
Protected Member Functions | |
deleteProfile (int $profile_id) | |
deleteProfileLevels (int $profile_id) | |
deleteProfileUsers (int $profile_id) | |
deleteProfileRoles (int $profile_id) | |
Definition at line 25 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 33 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, and ILIAS\Skill\Profile\SkillProfileManager\$profile_user_repo.
ILIAS\Skill\Profile\SkillProfileManager::addRoleToProfile | ( | int | $profile_id, |
int | $role_id | ||
) |
Definition at line 288 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::addUserToProfile | ( | int | $profile_id, |
int | $user_id | ||
) |
Definition at line 229 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::countRoles | ( | int | $profile_id | ) |
Definition at line 328 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::countUsers | ( | int | $profile_id | ) |
Definition at line 276 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::createProfile | ( | SkillProfile | $profile | ) |
Definition at line 56 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().
|
protected |
Definition at line 86 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
|
protected |
Definition at line 91 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
|
protected |
Definition at line 101 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
ILIAS\Skill\Profile\SkillProfileManager::deleteProfilesFromObject | ( | int | $ref_id | ) |
Definition at line 106 of file class.SkillProfileManager.php.
|
protected |
Definition at line 96 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
ILIAS\Skill\Profile\SkillProfileManager::fixSkillOrderNumbering | ( | int | $profile_id | ) |
Definition at line 118 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getAllGlobalProfiles | ( | ) |
Definition at line 141 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getAllProfilesOfRole | ( | int | $role_id | ) |
Get global and local profiles of a role.
Definition at line 307 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getAssignedRoles | ( | int | $profile_id | ) |
Definition at line 282 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\getAssignedUserIdsIncludingRoleAssignments(), and ILIAS\Skill\Profile\SkillProfileManager\getAssignments().
ILIAS\Skill\Profile\SkillProfileManager::getAssignedUserIdsIncludingRoleAssignments | ( | int | $profile_id | ) |
Definition at line 208 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\getAssignedRoles(), and ILIAS\Skill\Profile\SkillProfileManager\getAssignedUsers().
ILIAS\Skill\Profile\SkillProfileManager::getAssignedUsers | ( | int | $profile_id | ) |
Definition at line 197 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\getAssignedUserIdsIncludingRoleAssignments(), and ILIAS\Skill\Profile\SkillProfileManager\getAssignments().
ILIAS\Skill\Profile\SkillProfileManager::getAssignedUsersForRole | ( | int | $role_id | ) |
Definition at line 203 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getAssignments | ( | int | $profile_id | ) |
Get all assignments (users and roles)
Definition at line 186 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\getAssignedRoles(), and ILIAS\Skill\Profile\SkillProfileManager\getAssignedUsers().
ILIAS\Skill\Profile\SkillProfileManager::getById | ( | int | $profile_id | ) |
Definition at line 51 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getGlobalProfilesOfRole | ( | int | $role_id | ) |
Definition at line 316 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\getProfilesOfUser().
ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesForObject | ( | int | $ref_id | ) |
Definition at line 147 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesOfRole | ( | int | $role_id, |
int | $ref_id | ||
) |
Definition at line 322 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getMaxLevelOrderNr | ( | int | $profile_id | ) |
Definition at line 123 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getProfilesForAllSkillTrees | ( | ) |
Definition at line 129 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getProfilesForSkillTree | ( | int | $skill_tree_id | ) |
Definition at line 135 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::getProfilesOfUser | ( | int | $user_id | ) |
Definition at line 247 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfileManager\getGlobalProfilesOfRole().
ILIAS\Skill\Profile\SkillProfileManager::getTreeId | ( | int | $profile_id | ) |
Definition at line 173 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::lookupRefId | ( | int | $profile_id | ) |
ILIAS\Skill\Profile\SkillProfileManager::lookupTitle | ( | int | $profile_id | ) |
Definition at line 153 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromAllProfiles | ( | int | $role_id | ) |
Definition at line 298 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromProfile | ( | int | $profile_id, |
int | $role_id | ||
) |
Definition at line 293 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::removeUserFromAllProfiles | ( | int | $user_id | ) |
Definition at line 239 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::removeUserFromProfile | ( | int | $profile_id, |
int | $user_id | ||
) |
Definition at line 234 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::updateProfile | ( | SkillProfile | $profile | ) |
Definition at line 67 of file class.SkillProfileManager.php.
References ILIAS\Skill\Profile\SkillProfile\getId(), and ILIAS\Skill\Profile\SkillProfile\getSkillLevels().
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 168 of file class.SkillProfileManager.php.
ILIAS\Skill\Profile\SkillProfileManager::updateSkillOrder | ( | int | $profile_id, |
array | $order | ||
) |
Definition at line 111 of file class.SkillProfileManager.php.
|
protected |
Definition at line 28 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 27 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 30 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 29 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 31 of file class.SkillProfileManager.php.