|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Self evaluation application class. More...
Collaboration diagram for ilSkillSelfEvaluation:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| setId ($a_val) | |
| Set id. More... | |
| getId () | |
| Get id. More... | |
| setUserId ($a_val) | |
| Set user id. More... | |
| getUserId () | |
| Get user id. More... | |
| setTopSkillId ($a_val) | |
| Set top skill id. More... | |
| getTopSkillId () | |
| Get top skill id. More... | |
| setCreated ($a_val) | |
| Set created at. More... | |
| getCreated () | |
| Get created at. More... | |
| setLastUpdate ($a_val) | |
| Set last update. More... | |
| getLastUpdate () | |
| Get last update. More... | |
| setLevels ($a_val, $a_keep_existing=false) | |
| Set level. More... | |
| getLevels () | |
| Get level. More... | |
| read () | |
| Read. More... | |
| create () | |
| Create self evaluation. More... | |
| update () | |
| Update self evaluation. More... | |
| delete () | |
| Delete self evaluation. More... | |
Static Public Member Functions | |
| static | getAllSelfEvaluationsOfUser ($a_user, $a_one_per_top_skill=false) |
| Get all self evaluations. More... | |
| static | getAverageLevel ($a_se_id, $a_user_id, $a_top_skill_id) |
| Get average level of user self evaluation. More... | |
| static | determineSteps ($a_sn_id) |
| Determine steps. More... | |
Static Protected Member Functions | |
| static | lookupProperty ($a_id, $a_prop) |
| Lookup property. More... | |
Protected Attributes | |
| $db | |
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 199 of file class.ilSkillSelfEvaluation.php.
References $db, $ilDB, getLevels(), and setId().
Here is the call graph for this function:| ilSkillSelfEvaluation::delete | ( | ) |
Delete self evaluation.
Definition at line 263 of file class.ilSkillSelfEvaluation.php.
|
static |
Determine steps.
return
Definition at line 389 of file class.ilSkillSelfEvaluation.php.
References $steps.
Referenced by ilSkillSelfEvaluationGUI\saveSelfEvaluation(), ilSkillSelfEvaluationGUI\startSelfEvaluation(), and ilSkillSelfEvaluationGUI\updateSelfEvaluation().
Here is the caller graph for this function:
|
static |
Get all self evaluations.
Definition at line 281 of file class.ilSkillSelfEvaluation.php.
Referenced by ilSelfEvaluationTableGUI\__construct(), and ilSkillSelfEvaluationGUI\getPresentationView().
Here is the caller graph for this function:
|
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 332 of file class.ilSkillSelfEvaluation.php.
| ilSkillSelfEvaluation::getCreated | ( | ) |
Get created at.
Definition at line 110 of file class.ilSkillSelfEvaluation.php.
| ilSkillSelfEvaluation::getId | ( | ) |
Get id.
Definition at line 50 of file class.ilSkillSelfEvaluation.php.
References $id.
| ilSkillSelfEvaluation::getLastUpdate | ( | ) |
Get last update.
Definition at line 130 of file class.ilSkillSelfEvaluation.php.
| ilSkillSelfEvaluation::getLevels | ( | ) |
Get level.
Definition at line 158 of file class.ilSkillSelfEvaluation.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilSkillSelfEvaluation::getTopSkillId | ( | ) |
Get top skill id.
Definition at line 90 of file class.ilSkillSelfEvaluation.php.
| ilSkillSelfEvaluation::getUserId | ( | ) |
Get user id.
Definition at line 70 of file class.ilSkillSelfEvaluation.php.
|
staticprotected |
Lookup property.
| id | level id |
Definition at line 312 of file class.ilSkillSelfEvaluation.php.
| ilSkillSelfEvaluation::read | ( | ) |
Read.
return
Definition at line 169 of file class.ilSkillSelfEvaluation.php.
References $db, $ilDB, setCreated(), setLastUpdate(), setLevels(), setTopSkillId(), and setUserId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillSelfEvaluation::setCreated | ( | $a_val | ) |
Set created at.
| timestamp | created at |
Definition at line 100 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillSelfEvaluation::setId | ( | $a_val | ) |
Set id.
| integer | id |
Definition at line 40 of file class.ilSkillSelfEvaluation.php.
Referenced by __construct(), and create().
Here is the caller graph for this function:| ilSkillSelfEvaluation::setLastUpdate | ( | $a_val | ) |
Set last update.
| timestamp | last update |
Definition at line 120 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
Here is the caller graph for this function:| 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 140 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillSelfEvaluation::setTopSkillId | ( | $a_val | ) |
Set top skill id.
| integer | top skill id |
Definition at line 80 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillSelfEvaluation::setUserId | ( | $a_val | ) |
Set user id.
| integer | user id |
Definition at line 60 of file class.ilSkillSelfEvaluation.php.
Referenced by read().
Here is the caller graph for this function:| ilSkillSelfEvaluation::update | ( | ) |
Update self evaluation.
Definition at line 230 of file class.ilSkillSelfEvaluation.php.
References $db, $ilDB, and getLevels().
Here is the call graph for this function:
|
protected |