ILIAS
Release_5_0_x_branch Revision 61816
|
Personal skill. More...
Public Member Functions | |
addPersonalSkill ($a_user_id, $a_skill_node_id) | |
Add personal skill. | |
removeSkill ($a_user_id, $a_skill_node_id) | |
Remove personal skill. |
Static Public Member Functions | |
static | getSelectedUserSkills ($a_user_id) |
Get personal selected user skills. | |
static | assignMaterial ($a_user_id, $a_top_skill, $a_tref_id, $a_basic_skill, $a_level, $a_wsp_id) |
Assign material to skill level. | |
static | getAssignedMaterial ($a_user_id, $a_tref_id, $a_level) |
Get assigned material (for a skill level and user) | |
static | countAssignedMaterial ($a_user_id, $a_tref_id, $a_level) |
Get assigned material (for a skill level and user) | |
static | removeMaterial ($a_user_id, $a_tref_id, $a_level_id, $a_wsp_id) |
Remove material. | |
static | saveSelfEvaluation ($a_user_id, $a_top_skill, $a_tref_id, $a_basic_skill, $a_level) |
Save self evaluation. | |
static | getSelfEvaluation ($a_user_id, $a_top_skill, $a_tref_id, $a_basic_skill) |
Get self evaluation. | |
static | getSelfEvaluationDate ($a_user_id, $a_top_skill, $a_tref_id, $a_basic_skill) |
Get self evaluation. | |
static | getUsageInfo ($a_cskill_ids, &$a_usages) |
Get usage info. |
ilPersonalSkill::addPersonalSkill | ( | $a_user_id, | |
$a_skill_node_id | |||
) |
Add personal skill.
int | $a_user_id | |
int | $a_skill_node_id |
Definition at line 52 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilPersonalSkillsGUI\addSkill(), and ilObjPortfolioBase\clonePagesAndSettings().
|
static |
Assign material to skill level.
int | $a_user_id | user id |
int | $a_top_skill | the "selectable" top skill |
int | $a_tref_id | template reference id |
int | $a_basic_skill | the basic skill the level belongs to |
int | $a_level | level id |
int | $a_wsp_id | workspace object |
Definition at line 102 of file class.ilPersonalSkill.php.
References $ilDB.
|
static |
Get assigned material (for a skill level and user)
int | $a_user_id | user id |
int | $a_tref_id | template reference id |
int | $a_level | level id |
Definition at line 159 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilPersonalSkillsGUI\renderMaterialsRow().
|
static |
Get assigned material (for a skill level and user)
int | $a_user_id | user id |
int | $a_tref_id | template reference id |
int | $a_level | level id |
Definition at line 135 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilCOPageHTMLExport\collectPageElements(), ilSkillAssignMaterialsTableGUI\fillRow(), and ilPersonalSkillsGUI\renderMaterialsRow().
|
static |
Get personal selected user skills.
int | $a_user_id | user id |
Definition at line 22 of file class.ilPersonalSkill.php.
References $ilDB, and ilSkillTreeNode\_lookupTitle().
Referenced by ilPersonalSkillTableGUI\__construct(), ilObjPortfolioBase\clonePagesAndSettings(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilPCSkillsGUI\initForm(), and ilPersonalSkillsGUI\listSkills().
|
static |
Get self evaluation.
int | $a_user_id | user id |
int | $a_top_skill | the "selectable" top skill |
int | $a_tref_id | template reference id |
int | $a_basic_skill | the basic skill the level belongs to |
Definition at line 253 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilSelfEvaluationSimpleTableGUI\__construct(), and ilPersonalSkillsGUI\renderSelfEvaluationRow().
|
static |
Get self evaluation.
int | $a_user_id | user id |
int | $a_top_skill | the "selectable" top skill |
int | $a_tref_id | template reference id |
int | $a_basic_skill | the basic skill the level belongs to |
Definition at line 281 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilPersonalSkillsGUI\getSkillHTML(), and ilPersonalSkillsGUI\renderSelfEvaluationRow().
|
static |
Get usage info.
array | $a_cskill_ids | skill ids |
array | $a_usages | usages array |
Implements ilSkillUsageInfo.
Definition at line 306 of file class.ilPersonalSkill.php.
References $ilDB, ilSkillTemplateReference\_lookupTemplateId(), ilSkillUsage\getUsageInfoGeneric(), ilSkillUsage\PERSONAL_SKILL, ilSkillUsage\SELF_EVAL, and ilSkillUsage\USER_MATERIAL.
|
static |
Remove material.
@return |
Definition at line 178 of file class.ilPersonalSkill.php.
ilPersonalSkill::removeSkill | ( | $a_user_id, | |
$a_skill_node_id | |||
) |
Remove personal skill.
int | $a_user_id | user id |
int | $a_skill_node_id | the "selectable" top skill |
Definition at line 76 of file class.ilPersonalSkill.php.
References $ilDB.
Referenced by ilPersonalSkillsGUI\removeSkills().
|
static |
Save self evaluation.
int | $a_user_id | user id |
int | $a_top_skill | the "selectable" top skill |
int | $a_tref_id | template reference id |
int | $a_basic_skill | the basic skill the level belongs to |
int | $a_level | level id |
Definition at line 204 of file class.ilPersonalSkill.php.
References $ilDB, ilBasicSkill\ACHIEVED, ilUtil\now(), and ilBasicSkill\writeUserSkillLevelStatus().