|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Skill\Profile\SkillProfileManager:
Collaboration diagram for ILIAS\Skill\Profile\SkillProfileManager:Public Member Functions | |
| __construct (?SkillProfileDBRepository $profile_repo=null, ?SkillProfileLevelsDBRepository $profile_levels_repo=null, ?SkillProfileUserDBRepository $profile_user_repo=null, ?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.
| |||
| static | getUsageInfo (array $a_cskill_ids) | ||
| Get title of an assigned item. More... | |||
Protected Member Functions | |
| deleteProfile (int $profile_id) | |
| deleteProfileLevels (int $profile_id) | |
| deleteProfileUsers (int $profile_id) | |
| deleteProfileRoles (int $profile_id) | |
Definition at line 28 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::__construct | ( | ?SkillProfileDBRepository | $profile_repo = null, |
| ?SkillProfileLevelsDBRepository | $profile_levels_repo = null, |
||
| ?SkillProfileUserDBRepository | $profile_user_repo = null, |
||
| ?SkillProfileRoleDBRepository | $profile_role_repo = null |
||
| ) |
Definition at line 37 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 404 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::addSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) |
Definition at line 134 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::addUserToProfile | ( | int | $profile_id, |
| int | $user_id | ||
| ) |
Definition at line 306 of file class.SkillProfileManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileManager::countRoles | ( | int | $profile_id | ) |
Definition at line 447 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::countUsers | ( | int | $profile_id | ) |
Definition at line 356 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::createProfile | ( | SkillProfile | $profile | ) |
Definition at line 61 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::delete | ( | int | $profile_id | ) |
Definition at line 77 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 85 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\delete().
Here is the caller graph for this function:
|
protected |
Definition at line 90 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 95 of file class.SkillProfileManager.php.
|
protected |
Definition at line 105 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 110 of file class.SkillProfileManager.php.
References $ref_id.
|
protected |
Definition at line 100 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 156 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAllGlobalProfiles | ( | ) |
Definition at line 188 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAllProfilesOfRole | ( | int | $role_id | ) |
Get global and local profiles of a role.
Definition at line 423 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAssignedUserIdsIncludingRoleAssignments | ( | int | $profile_id | ) |
Definition at line 285 of file class.SkillProfileManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileManager::getAssignedUsersForRole | ( | int | $role_id | ) |
Definition at line 277 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getAssignments | ( | int | $profile_id | ) |
Get all assignments (users and roles)
Definition at line 237 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getGlobalProfilesOfRole | ( | int | $role_id | ) |
Definition at line 432 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesForObject | ( | int | $ref_id | ) |
Definition at line 197 of file class.SkillProfileManager.php.
References $ref_id.
| ILIAS\Skill\Profile\SkillProfileManager::getLocalProfilesOfRole | ( | int | $role_id | ) |
Definition at line 441 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getMaxLevelOrderNr | ( | int | $profile_id | ) |
Definition at line 161 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfile | ( | int | $profile_id | ) |
ilSkillProfileNotFoundException
Definition at line 56 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfilesForAllSkillTrees | ( | ) |
Definition at line 170 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getProfilesForSkillTree | ( | int | $skill_tree_id | ) |
Definition at line 179 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getSkillLevel | ( | int | $profile_id, |
| int | $base_skill_id, | ||
| int | $tref_id | ||
| ) |
Definition at line 128 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::getSkillLevels | ( | int | $profile_id | ) |
Definition at line 118 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 223 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 456 of file class.SkillProfileManager.php.
References $DIC, and ILIAS\Skill\Usage\SkillUsageManager\PROFILE.
| ILIAS\Skill\Profile\SkillProfileManager::lookupRefId | ( | int | $profile_id | ) |
Definition at line 209 of file class.SkillProfileManager.php.
References $ref_id.
| ILIAS\Skill\Profile\SkillProfileManager::lookupTitle | ( | int | $profile_id | ) |
Definition at line 203 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromAllProfiles | ( | int | $role_id | ) |
Definition at line 414 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeRoleFromProfile | ( | int | $profile_id, |
| int | $role_id | ||
| ) |
Definition at line 409 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) |
Definition at line 144 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::removeUserFromAllProfiles | ( | int | $user_id | ) |
Definition at line 316 of file class.SkillProfileManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileManager::removeUserFromProfile | ( | int | $profile_id, |
| int | $user_id | ||
| ) |
Definition at line 311 of file class.SkillProfileManager.php.
References $user_id.
| ILIAS\Skill\Profile\SkillProfileManager::updateProfile | ( | SkillProfile | $profile | ) |
Definition at line 69 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 218 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateSkillLevel | ( | SkillProfileLevel | $skill_level_obj | ) |
Definition at line 139 of file class.SkillProfileManager.php.
| ILIAS\Skill\Profile\SkillProfileManager::updateSkillOrder | ( | int | $profile_id, |
| array | $order | ||
| ) |
Definition at line 149 of file class.SkillProfileManager.php.
|
protected |
Definition at line 35 of file class.SkillProfileManager.php.
|
protected |
Definition at line 31 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 33 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 32 of file class.SkillProfileManager.php.
Referenced by ILIAS\Skill\Profile\SkillProfileManager\__construct().
|
protected |
Definition at line 34 of file class.SkillProfileManager.php.