ILIAS
release_4-3 Revision
|
Self evaluation application class. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. | |
setId ($a_val) | |
Set id. | |
getId () | |
Get id. | |
setUserId ($a_val) | |
Set user id. | |
getUserId () | |
Get user id. | |
setTopSkillId ($a_val) | |
Set top skill id. | |
getTopSkillId () | |
Get top skill id. | |
setCreated ($a_val) | |
Set created at. | |
getCreated () | |
Get created at. | |
setLastUpdate ($a_val) | |
Set last update. | |
getLastUpdate () | |
Get last update. | |
setLevels ($a_val, $a_keep_existing=false) | |
Set level. | |
getLevels () | |
Get level. | |
read () | |
Read. | |
create () | |
Create self evaluation. | |
update () | |
Update self evaluation. | |
delete () | |
Delete self evaluation. |
Static Public Member Functions | |
static | getAllSelfEvaluationsOfUser ($a_user, $a_one_per_top_skill=false) |
Get all self evaluations. | |
static | getAverageLevel ($a_se_id, $a_user_id, $a_top_skill_id) |
Get average level of user self evaluation. | |
static | determineSteps ($a_sn_id) |
Determine steps. |
Static Protected Member Functions | |
static | lookupProperty ($a_id, $a_prop) |
Lookup property. |
Self evaluation application class.
Definition at line 12 of file class.ilSkillSelfEvaluation.php.
ilSkillSelfEvaluation::__construct | ( | $a_id = 0 | ) |
ilSkillSelfEvaluation::create | ( | ) |
Create self evaluation.
Definition at line 198 of file class.ilSkillSelfEvaluation.php.
References getLevels(), and setId().
ilSkillSelfEvaluation::delete | ( | ) |
Delete self evaluation.
Definition at line 264 of file class.ilSkillSelfEvaluation.php.
|
static |
Determine steps.
@return |
Definition at line 392 of file class.ilSkillSelfEvaluation.php.
References $steps.
Referenced by ilSkillSelfEvaluationGUI\saveSelfEvaluation(), ilSkillSelfEvaluationGUI\startSelfEvaluation(), and ilSkillSelfEvaluationGUI\updateSelfEvaluation().
|
static |
Get all self evaluations.
Definition at line 280 of file class.ilSkillSelfEvaluation.php.
Referenced by ilSelfEvaluationTableGUI\__construct(), and ilSkillSelfEvaluationGUI\getPresentationView().
|
static |
Get average level of user self evaluation.
Note: this method does not make much sense in general, since it assumes that all basic skills have the same level
Definition at line 327 of file class.ilSkillSelfEvaluation.php.
References $lng.
ilSkillSelfEvaluation::getCreated | ( | ) |
Get created at.
Definition at line 103 of file class.ilSkillSelfEvaluation.php.
ilSkillSelfEvaluation::getId | ( | ) |
Get id.
Definition at line 43 of file class.ilSkillSelfEvaluation.php.
Referenced by update().
ilSkillSelfEvaluation::getLastUpdate | ( | ) |
Get last update.
Definition at line 123 of file class.ilSkillSelfEvaluation.php.
ilSkillSelfEvaluation::getLevels | ( | ) |
Get level.
Definition at line 156 of file class.ilSkillSelfEvaluation.php.
Referenced by create(), and update().
ilSkillSelfEvaluation::getTopSkillId | ( | ) |
Get top skill id.
Definition at line 83 of file class.ilSkillSelfEvaluation.php.
ilSkillSelfEvaluation::getUserId | ( | ) |
Get user id.
Definition at line 63 of file class.ilSkillSelfEvaluation.php.
|
staticprotected |
Lookup property.
id | level id |
Definition at line 310 of file class.ilSkillSelfEvaluation.php.
ilSkillSelfEvaluation::read | ( | ) |
Read.
@return |
Definition at line 167 of file class.ilSkillSelfEvaluation.php.
References setCreated(), setLastUpdate(), setLevels(), setTopSkillId(), and setUserId().
Referenced by __construct().
ilSkillSelfEvaluation::setCreated | ( | $a_val | ) |
Set created at.
timestamp | created at |
Definition at line 93 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
ilSkillSelfEvaluation::setId | ( | $a_val | ) |
Set id.
integer | id |
Definition at line 33 of file class.ilSkillSelfEvaluation.php.
Referenced by __construct(), and create().
ilSkillSelfEvaluation::setLastUpdate | ( | $a_val | ) |
Set last update.
timestamp | last update |
Definition at line 113 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
ilSkillSelfEvaluation::setLevels | ( | $a_val, | |
$a_keep_existing = false |
|||
) |
Set level.
array | level; index: skill id, value: level id (or 0 for no skills) |
Definition at line 133 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
ilSkillSelfEvaluation::setTopSkillId | ( | $a_val | ) |
Set top skill id.
integer | top skill id |
Definition at line 73 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
ilSkillSelfEvaluation::setUserId | ( | $a_val | ) |
Set user id.
integer | user id |
Definition at line 53 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
ilSkillSelfEvaluation::update | ( | ) |
Update self evaluation.
Definition at line 231 of file class.ilSkillSelfEvaluation.php.
References getId(), and getLevels().