ILIAS
Release_5_0_x_branch Revision 61816
|
Skill profile. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. | |
setId ($a_val) | |
Set id. | |
getId () | |
Get id. | |
setTitle ($a_val) | |
Set title. | |
getTitle () | |
Get title. | |
setDescription ($a_val) | |
Set description. | |
getDescription () | |
Get description. | |
addSkillLevel ($a_base_skill_id, $a_tref_id, $a_level_id) | |
Add skill level. | |
removeSkillLevel ($a_base_skill_id, $a_tref_id, $a_level_id) | |
Remove skill level. | |
getSkillLevels () | |
Get skill levels. | |
read () | |
Read skill profile from db. | |
create () | |
Create skill profile. | |
update () | |
Update skill profile. | |
delete () | |
Delete skill profile. | |
getAssignedUsers () | |
Get assigned users. | |
addUserToProfile ($a_user_id) | |
Add user to profile. | |
removeUserFromProfile ($a_user_id) | |
Remove user from profile. |
Static Public Member Functions | |
static | getProfiles () |
Get profiles. | |
static | lookupTitle ($a_id) |
Lookup title. | |
static | getProfilesOfUser ($a_user_id) |
Get profiles of a user. | |
static | countUsers ($a_profile_id) |
Get assigned users. | |
static | getUsageInfo ($a_cskill_ids, &$a_usages) |
Get usage info. |
Static Protected Member Functions | |
static | lookup ($a_id, $a_field) |
Lookup. |
Protected Attributes | |
$id | |
$title | |
$description | |
$skill_level = array() |
ilSkillProfile::__construct | ( | $a_id = 0 | ) |
ilSkillProfile::addSkillLevel | ( | $a_base_skill_id, | |
$a_tref_id, | |||
$a_level_id | |||
) |
Add skill level.
@return |
Definition at line 101 of file class.ilSkillProfile.php.
Referenced by read().
ilSkillProfile::addUserToProfile | ( | $a_user_id | ) |
Add user to profile.
int | $a_user_id | user id |
Definition at line 337 of file class.ilSkillProfile.php.
References $ilDB, and getId().
|
static |
Get assigned users.
Definition at line 389 of file class.ilSkillProfile.php.
References $ilDB.
Referenced by ilSkillProfileTableGUI\fillRow().
ilSkillProfile::create | ( | ) |
Create skill profile.
Definition at line 171 of file class.ilSkillProfile.php.
References $ilDB, getId(), and setId().
ilSkillProfile::delete | ( | ) |
Delete skill profile.
Definition at line 238 of file class.ilSkillProfile.php.
References $ilDB.
ilSkillProfile::getAssignedUsers | ( | ) |
Get assigned users.
Definition at line 311 of file class.ilSkillProfile.php.
References $ilDB, and ilObjUser\_lookupName().
ilSkillProfile::getDescription | ( | ) |
Get description.
Definition at line 90 of file class.ilSkillProfile.php.
References $description.
ilSkillProfile::getId | ( | ) |
Get id.
Definition at line 50 of file class.ilSkillProfile.php.
References $id.
Referenced by addUserToProfile(), create(), and update().
|
static |
Get profiles.
@return |
Definition at line 260 of file class.ilSkillProfile.php.
References $ilDB.
|
static |
Get profiles of a user.
int | $a_user_id | user id |
Definition at line 369 of file class.ilSkillProfile.php.
References $ilDB.
Referenced by ilSurveyEvaluationGUI\competenceEval(), ilPersonalSkillsGUI\executeCommand(), ilTestSkillEvaluation\getAssignedSkillMatchingSkillProfiles(), and ilPersonalSkillsGUI\listProfiles().
ilSkillProfile::getSkillLevels | ( | ) |
Get skill levels.
@return |
Definition at line 136 of file class.ilSkillProfile.php.
References $skill_level.
ilSkillProfile::getTitle | ( | ) |
Get title.
Definition at line 70 of file class.ilSkillProfile.php.
References $title.
|
static |
Get usage info.
@return |
Implements ilSkillUsageInfo.
Definition at line 406 of file class.ilSkillProfile.php.
References $ilDB, ilSkillUsage\getUsageInfoGeneric(), and ilSkillUsage\PROFILE.
|
staticprotected |
Lookup.
@return |
Definition at line 282 of file class.ilSkillProfile.php.
References $ilDB.
Referenced by lookupTitle().
|
static |
Lookup title.
@return |
Definition at line 299 of file class.ilSkillProfile.php.
References lookup().
Referenced by ilSkillProfileGUI\confirmDeleteProfiles().
ilSkillProfile::read | ( | ) |
Read skill profile from db.
@return |
Definition at line 147 of file class.ilSkillProfile.php.
References $ilDB, addSkillLevel(), setDescription(), and setTitle().
Referenced by __construct().
ilSkillProfile::removeSkillLevel | ( | $a_base_skill_id, | |
$a_tref_id, | |||
$a_level_id | |||
) |
Remove skill level.
@return |
Definition at line 117 of file class.ilSkillProfile.php.
ilSkillProfile::removeUserFromProfile | ( | $a_user_id | ) |
Remove user from profile.
int | $a_user_id | user id |
Definition at line 354 of file class.ilSkillProfile.php.
References $ilDB.
ilSkillProfile::setDescription | ( | $a_val | ) |
Set description.
string | $a_val | description |
Definition at line 80 of file class.ilSkillProfile.php.
Referenced by read().
ilSkillProfile::setId | ( | $a_val | ) |
Set id.
int | $a_val | id |
Definition at line 40 of file class.ilSkillProfile.php.
Referenced by __construct(), and create().
ilSkillProfile::setTitle | ( | $a_val | ) |
Set title.
string | $a_val | title |
Definition at line 60 of file class.ilSkillProfile.php.
Referenced by read().
ilSkillProfile::update | ( | ) |
Update skill profile.
Definition at line 200 of file class.ilSkillProfile.php.
References $ilDB, and getId().
|
protected |
Definition at line 18 of file class.ilSkillProfile.php.
Referenced by getDescription().
|
protected |
Definition at line 16 of file class.ilSkillProfile.php.
Referenced by getId().
|
protected |
Definition at line 19 of file class.ilSkillProfile.php.
Referenced by getSkillLevels().
|
protected |
Definition at line 17 of file class.ilSkillProfile.php.
Referenced by getTitle().