|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Skill profile. More...
Inheritance diagram for ilSkillProfile:
Collaboration diagram for ilSkillProfile:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| setId ($a_val) | |
| Set id. More... | |
| getId () | |
| Get id. More... | |
| setTitle ($a_val) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setDescription ($a_val) | |
| Set description. More... | |
| getDescription () | |
| Get description. More... | |
| setRefId ($a_val) | |
| getRefId () | |
| addSkillLevel ($a_base_skill_id, $a_tref_id, $a_level_id, $a_order_nr) | |
| Add skill level. More... | |
| removeSkillLevel ($a_base_skill_id, $a_tref_id, $a_level_id, $a_order_nr) | |
| Remove skill level. More... | |
| getSkillLevels () | |
| Get skill levels. More... | |
| read () | |
| Read skill profile from db. More... | |
| create () | |
| Create skill profile. More... | |
| update () | |
| Update skill profile. More... | |
| delete () | |
| Delete skill profile. More... | |
| updateSkillOrder (array $order) | |
| Update skill order. More... | |
| fixSkillOrderNumbering () | |
| Fix skill order numbering. More... | |
| getMaxLevelOrderNr () | |
| Get maximum order number of levels. More... | |
| updateRefIdAfterImport (int $a_new_ref_id) | |
| Update the old ref id with the new ref id after import. More... | |
| getAssignments () | |
| Get all assignments (users and roles) More... | |
| getAssignedUsers () | |
| Get assigned users. More... | |
| addUserToProfile ($a_user_id) | |
| Add user to profile. More... | |
| removeUserFromProfile ($a_user_id) | |
| Remove user from profile. More... | |
| getAssignedRoles () | |
| Get assigned roles. More... | |
| addRoleToProfile (int $a_role_id) | |
| Add role to profile. More... | |
| removeRoleFromProfile (int $a_role_id) | |
| Remove role from profile. More... | |
Static Public Member Functions | |
| static | deleteProfilesFromObject (int $a_ref_id) |
| static | getProfiles () |
| Get profiles. More... | |
| static | getGlobalProfiles () |
| Get global profiles. More... | |
| static | getLocalProfiles (int $a_ref_id) |
| Get local profiles of object. More... | |
| static | lookupTitle ($a_id) |
| Lookup title. More... | |
| static | lookupRefId ($a_id) |
| static | removeUserFromAllProfiles ($a_user_id) |
| Remove user from all profiles. More... | |
| static | getProfilesOfUser ($a_user_id) |
| Get profiles of a user. More... | |
| static | countUsers ($a_profile_id) |
| Get assigned users. More... | |
| static | removeRoleFromAllProfiles (int $a_role_id) |
| Remove role from all profiles. More... | |
| static | getAllProfilesOfRole (int $a_role_id) |
| Get global and local profiles of a role. More... | |
| static | getGlobalProfilesOfRole (int $a_role_id) |
| Get global profiles of a role. More... | |
| static | getLocalProfilesOfRole (int $a_role_id, int $a_ref_id) |
| Get local profiles of a role. More... | |
| static | countRoles (int $a_profile_id) |
| Count assigned roles of a profile. More... | |
| static | getUsageInfo ($a_cskill_ids, &$a_usages) |
| Get usage info. More... | |
| static | getUsageInfo ($a_cskill_ids, &$a_usages) |
| Get title of an assigned item. More... | |
Static Protected Member Functions | |
| static | lookup ($a_id, $a_field) |
| Lookup. More... | |
Protected Attributes | |
| $db | |
| $lng | |
| $review | |
| $id | |
| $title | |
| $description | |
| $ref_id = 0 | |
| $skill_level = array() | |
Skill profile.
Definition at line 10 of file class.ilSkillProfile.php.
| ilSkillProfile::__construct | ( | $a_id = 0 | ) |
Constructor.
| int | $a_id | profile id |
Definition at line 38 of file class.ilSkillProfile.php.
References $DIC, read(), and setId().
Here is the call graph for this function:| ilSkillProfile::addRoleToProfile | ( | int | $a_role_id | ) |
Add role to profile.
| int | $a_role_id | role id |
Definition at line 732 of file class.ilSkillProfile.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:| ilSkillProfile::addSkillLevel | ( | $a_base_skill_id, | |
| $a_tref_id, | |||
| $a_level_id, | |||
| $a_order_nr | |||
| ) |
Add skill level.
return
Definition at line 133 of file class.ilSkillProfile.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillProfile::addUserToProfile | ( | $a_user_id | ) |
Add user to profile.
| int | $a_user_id | user id |
Definition at line 574 of file class.ilSkillProfile.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:
|
static |
Count assigned roles of a profile.
| int | $a_profile_id |
Definition at line 861 of file class.ilSkillProfile.php.
Referenced by ilSkillProfileTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Get assigned users.
Definition at line 671 of file class.ilSkillProfile.php.
Referenced by ilSkillProfileTableGUI\fillRow().
Here is the caller graph for this function:| ilSkillProfile::create | ( | ) |
Create skill profile.
Definition at line 213 of file class.ilSkillProfile.php.
References $db, $ilDB, getId(), and setId().
Here is the call graph for this function:| ilSkillProfile::delete | ( | ) |
Delete skill profile.
Definition at line 288 of file class.ilSkillProfile.php.
|
static |
Definition at line 319 of file class.ilSkillProfile.php.
Referenced by ilSkillObjDeletionHandler\processDeletion().
Here is the caller graph for this function:| ilSkillProfile::fixSkillOrderNumbering | ( | ) |
Fix skill order numbering.
Definition at line 359 of file class.ilSkillProfile.php.
|
static |
Get global and local profiles of a role.
| int | $a_role_id | role id |
Definition at line 783 of file class.ilSkillProfile.php.
| ilSkillProfile::getAssignedRoles | ( | ) |
Get assigned roles.
Definition at line 690 of file class.ilSkillProfile.php.
References $db, $ilDB, $lng, $name, $review, $type, ilObjRole\_getTranslation(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by getAssignments().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillProfile::getAssignedUsers | ( | ) |
Get assigned users.
Definition at line 547 of file class.ilSkillProfile.php.
References $db, $ilDB, $lng, $name, $type, and ilUserUtil\getNamePresentation().
Referenced by getAssignments().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillProfile::getAssignments | ( | ) |
Get all assignments (users and roles)
Definition at line 532 of file class.ilSkillProfile.php.
References getAssignedRoles(), and getAssignedUsers().
Here is the call graph for this function:| ilSkillProfile::getDescription | ( | ) |
Get description.
Definition at line 106 of file class.ilSkillProfile.php.
References $description.
|
static |
Get global profiles.
Definition at line 427 of file class.ilSkillProfile.php.
Referenced by ilContSkillAdminGUI\listProfiles().
Here is the caller graph for this function:
|
static |
Get global profiles of a role.
| int | $a_role_id | role id |
Definition at line 808 of file class.ilSkillProfile.php.
Referenced by getProfilesOfUser().
Here is the caller graph for this function:| ilSkillProfile::getId | ( | ) |
Get id.
Definition at line 66 of file class.ilSkillProfile.php.
References $id.
Referenced by addRoleToProfile(), addUserToProfile(), create(), update(), and updateRefIdAfterImport().
Here is the caller graph for this function:
|
static |
Get local profiles of object.
| int | $a_ref_id |
Definition at line 452 of file class.ilSkillProfile.php.
Referenced by ilSkillDataSet\readData().
Here is the caller graph for this function:
|
static |
Get local profiles of a role.
| int | $a_role_id | role id |
| int | $a_ref_id | ref id |
Definition at line 835 of file class.ilSkillProfile.php.
| ilSkillProfile::getMaxLevelOrderNr | ( | ) |
Get maximum order number of levels.
Definition at line 386 of file class.ilSkillProfile.php.
|
static |
Get profiles.
return
Definition at line 404 of file class.ilSkillProfile.php.
Referenced by ilSkillProfileTableGUI\getProfiles().
Here is the caller graph for this function:
|
static |
Get profiles of a user.
| int | $a_user_id | user id |
Definition at line 625 of file class.ilSkillProfile.php.
References $DIC, $ilDB, and getGlobalProfilesOfRole().
Referenced by ilPersonalSkillsGUI\__construct(), ilSurveyEvaluationGUI\competenceEval(), and ilTestSkillEvaluation\getAssignedSkillMatchingSkillProfiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillProfile::getRefId | ( | ) |
Definition at line 122 of file class.ilSkillProfile.php.
References $ref_id.
| ilSkillProfile::getSkillLevels | ( | ) |
Get skill levels.
return
Definition at line 168 of file class.ilSkillProfile.php.
References $skill_level.
| ilSkillProfile::getTitle | ( | ) |
Get title.
Definition at line 86 of file class.ilSkillProfile.php.
References $title.
|
static |
Get usage info.
return
Implements ilSkillUsageInfo.
Definition at line 881 of file class.ilSkillProfile.php.
References $DIC, ilSkillUsage\getUsageInfoGeneric(), and ilSkillUsage\PROFILE.
Here is the call graph for this function:
|
staticprotected |
Lookup.
return
Definition at line 477 of file class.ilSkillProfile.php.
Referenced by lookupRefId(), and lookupTitle().
Here is the caller graph for this function:
|
static |
Definition at line 502 of file class.ilSkillProfile.php.
References lookup().
Referenced by ilContSkillAdminGUI\confirmDeleteSelectedLocalProfiles(), ilContSkillAdminGUI\confirmRemoveSelectedGlobalProfiles(), ilContSkillAdminGUI\deleteSelectedLocalProfiles(), ilContProfileTableGUI\fillRow(), and ilSkillProfileTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup title.
return
Definition at line 497 of file class.ilSkillProfile.php.
References lookup().
Referenced by ilSkillProfileGUI\confirmDeleteProfiles(), ilContSkillAdminGUI\confirmDeleteSelectedLocalProfiles(), ilContSkillAdminGUI\confirmDeleteSingleLocalProfile(), ilContSkillAdminGUI\confirmRemoveSelectedGlobalProfiles(), ilContSkillAdminGUI\confirmRemoveSingleGlobalProfile(), and ilContProfileTableGUI\getProfiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillProfile::read | ( | ) |
Read skill profile from db.
return
Definition at line 183 of file class.ilSkillProfile.php.
References $db, $ilDB, addSkillLevel(), setDescription(), setRefId(), and setTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Remove role from all profiles.
| int | $a_role_id |
Definition at line 766 of file class.ilSkillProfile.php.
Referenced by ilSkillObjDeletionHandler\processDeletion().
Here is the caller graph for this function:| ilSkillProfile::removeRoleFromProfile | ( | int | $a_role_id | ) |
Remove role from profile.
| int | $a_role_id | role id |
Definition at line 750 of file class.ilSkillProfile.php.
| ilSkillProfile::removeSkillLevel | ( | $a_base_skill_id, | |
| $a_tref_id, | |||
| $a_level_id, | |||
| $a_order_nr | |||
| ) |
Remove skill level.
return
Definition at line 150 of file class.ilSkillProfile.php.
|
static |
Remove user from all profiles.
| int | $a_user_id |
Definition at line 608 of file class.ilSkillProfile.php.
Referenced by ilSkillObjDeletionHandler\processDeletion().
Here is the caller graph for this function:| ilSkillProfile::removeUserFromProfile | ( | $a_user_id | ) |
Remove user from profile.
| int | $a_user_id | user id |
Definition at line 592 of file class.ilSkillProfile.php.
| ilSkillProfile::setDescription | ( | $a_val | ) |
Set description.
| string | $a_val | description |
Definition at line 96 of file class.ilSkillProfile.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillProfile::setId | ( | $a_val | ) |
Set id.
| int | $a_val | id |
Definition at line 56 of file class.ilSkillProfile.php.
Referenced by __construct(), and create().
Here is the caller graph for this function:| ilSkillProfile::setRefId | ( | $a_val | ) |
| int | $a_val | ref id |
Definition at line 114 of file class.ilSkillProfile.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillProfile::setTitle | ( | $a_val | ) |
Set title.
| string | $a_val | title |
Definition at line 76 of file class.ilSkillProfile.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillProfile::update | ( | ) |
Update skill profile.
Definition at line 245 of file class.ilSkillProfile.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:| ilSkillProfile::updateRefIdAfterImport | ( | int | $a_new_ref_id | ) |
Update the old ref id with the new ref id after import.
| int | $a_new_ref_id |
Definition at line 512 of file class.ilSkillProfile.php.
References $db, $ilDB, and getId().
Here is the call graph for this function:| ilSkillProfile::updateSkillOrder | ( | array | $order | ) |
Update skill order.
| array | $order |
Definition at line 336 of file class.ilSkillProfile.php.
|
protected |
Definition at line 15 of file class.ilSkillProfile.php.
Referenced by addRoleToProfile(), addUserToProfile(), create(), delete(), fixSkillOrderNumbering(), getAssignedRoles(), getAssignedUsers(), getMaxLevelOrderNr(), read(), removeRoleFromProfile(), removeUserFromProfile(), update(), updateRefIdAfterImport(), and updateSkillOrder().
|
protected |
Definition at line 29 of file class.ilSkillProfile.php.
Referenced by getDescription().
|
protected |
Definition at line 27 of file class.ilSkillProfile.php.
Referenced by getId(), and updateSkillOrder().
|
protected |
Definition at line 20 of file class.ilSkillProfile.php.
Referenced by getAssignedRoles(), and getAssignedUsers().
|
protected |
Definition at line 30 of file class.ilSkillProfile.php.
Referenced by getRefId().
|
protected |
Definition at line 25 of file class.ilSkillProfile.php.
Referenced by getAssignedRoles().
|
protected |
Definition at line 31 of file class.ilSkillProfile.php.
Referenced by getSkillLevels().
|
protected |
Definition at line 28 of file class.ilSkillProfile.php.
Referenced by getTitle().