ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Skills of a container. More...
Public Member Functions | |
__construct ($a_obj_id, $a_user_id) | |
Constrictor. More... | |
setObjId ($a_val) | |
Set object id. More... | |
getObjId () | |
Get object id. More... | |
setUserId ($a_val) | |
Set user id. More... | |
getUserId () | |
Get user id. More... | |
read () | |
Read. More... | |
getSkillLevels () | |
Get Skill levels. More... | |
getOrderedSkillLevels () | |
Get ordered skill levels. More... | |
getPublished () | |
Get published. More... | |
saveLevelForSkills ($a_level_data) | |
Save levels for skills. More... | |
delete () | |
Delete all level data for current user. More... | |
publish ($a_ref_id) | |
Publish. More... | |
removeAllSkillLevels () | |
Remove all skill levels. More... | |
Protected Attributes | |
$db | |
$skills = array() | |
$obj_id | |
$user_id | |
$skill_levels = array() | |
$published = false | |
Skills of a container.
Definition at line 10 of file class.ilContainerMemberSkills.php.
ilContainerMemberSkills::__construct | ( | $a_obj_id, | |
$a_user_id | |||
) |
Constrictor.
int | $a_obj_id |
Definition at line 48 of file class.ilContainerMemberSkills.php.
References $DIC, read(), setObjId(), and setUserId().
ilContainerMemberSkills::delete | ( | ) |
Delete all level data for current user.
Definition at line 189 of file class.ilContainerMemberSkills.php.
References $db.
ilContainerMemberSkills::getObjId | ( | ) |
Get object id.
Definition at line 76 of file class.ilContainerMemberSkills.php.
References $obj_id.
Referenced by publish(), and removeAllSkillLevels().
ilContainerMemberSkills::getOrderedSkillLevels | ( | ) |
Get ordered skill levels.
Definition at line 135 of file class.ilContainerMemberSkills.php.
References $s, $skill_levels, array, and getSkillLevels().
ilContainerMemberSkills::getPublished | ( | ) |
Get published.
Definition at line 153 of file class.ilContainerMemberSkills.php.
References $published.
ilContainerMemberSkills::getSkillLevels | ( | ) |
Get Skill levels.
Definition at line 125 of file class.ilContainerMemberSkills.php.
References $skill_levels.
Referenced by getOrderedSkillLevels(), and ilContSkillAdminGUI\initCompetenceAssignmentForm().
ilContainerMemberSkills::getUserId | ( | ) |
Get user id.
Definition at line 96 of file class.ilContainerMemberSkills.php.
References $user_id.
Referenced by publish(), and removeAllSkillLevels().
ilContainerMemberSkills::publish | ( | $a_ref_id | ) |
Publish.
Definition at line 201 of file class.ilContainerMemberSkills.php.
References $changed, $db, $l, ilBasicSkill\ACHIEVED, getObjId(), getUserId(), ilBasicSkill\removeAllUserSkillLevelStatusOfObject(), and ilBasicSkill\writeUserSkillLevelStatus().
ilContainerMemberSkills::read | ( | ) |
Read.
Definition at line 104 of file class.ilContainerMemberSkills.php.
Referenced by __construct().
ilContainerMemberSkills::removeAllSkillLevels | ( | ) |
Remove all skill levels.
Definition at line 239 of file class.ilContainerMemberSkills.php.
References getObjId(), getUserId(), and ilBasicSkill\removeAllUserSkillLevelStatusOfObject().
Referenced by ilContSkillAdminGUI\deassignCompetences().
ilContainerMemberSkills::saveLevelForSkills | ( | $a_level_data | ) |
Save levels for skills.
array | $a_level_data | (key is skill_id:tref_id, value is level id) |
Definition at line 163 of file class.ilContainerMemberSkills.php.
References $db.
Referenced by ilContSkillAdminGUI\saveCompetenceAssignment().
ilContainerMemberSkills::setObjId | ( | $a_val | ) |
Set object id.
int | $a_val | object id |
Definition at line 66 of file class.ilContainerMemberSkills.php.
Referenced by __construct().
ilContainerMemberSkills::setUserId | ( | $a_val | ) |
Set user id.
int | $a_val | user id |
Definition at line 86 of file class.ilContainerMemberSkills.php.
Referenced by __construct().
|
protected |
Definition at line 16 of file class.ilContainerMemberSkills.php.
Referenced by delete(), publish(), read(), and saveLevelForSkills().
|
protected |
Definition at line 26 of file class.ilContainerMemberSkills.php.
Referenced by getObjId().
|
protected |
Definition at line 41 of file class.ilContainerMemberSkills.php.
Referenced by getPublished().
|
protected |
Definition at line 36 of file class.ilContainerMemberSkills.php.
Referenced by getOrderedSkillLevels(), and getSkillLevels().
|
protected |
Definition at line 21 of file class.ilContainerMemberSkills.php.
|
protected |
Definition at line 31 of file class.ilContainerMemberSkills.php.
Referenced by getUserId().