ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Evaluation manager. More...
Public Member Functions | |
__construct (InternalDomainService $domain_service, InternalRepoService $repo_service, \ilObjSurvey $survey, int $user_id, int $requested_appr_id, string $requested_rater_id) | |
isMultiParticipantsView () | |
Can the current user switch between participants and see their results? More... | |
getSelectableAppraisees () | |
Get all participants the current user may see results from, including itself. More... | |
getCurrentAppraisee () | |
1) We have a set of selectable appraisees. More... | |
getSelectableRaters () | |
Only the individual feedback mode allows to select raters and only, if the user cannot select appraisees on top level. More... | |
getCurrentRater (bool $fallback_to_first=false) | |
setAnonEvaluationAccess (int $ref_id) | |
getAnonEvaluationAccess () | |
clearAnonEvaluationAccess () | |
getFilteredFinishedIds () | |
getUserSpecificResults () | |
Protected Attributes | |
EvaluationSessionRepo | $eval_repo |
int | $requested_appr_id |
InternalDomainService | $domain_service |
ilObjSurvey | $survey |
int | $user_id |
ILIAS Survey Access AccessManager | $access |
ILIAS Survey Mode FeatureConfig | $feature_config |
InternalRepoService | $repo_service |
string | $requested_rater_id |
Evaluation manager.
Definition at line 31 of file class.EvaluationManager.php.
ILIAS\Survey\Evaluation\EvaluationManager::__construct | ( | InternalDomainService | $domain_service, |
InternalRepoService | $repo_service, | ||
\ilObjSurvey | $survey, | ||
int | $user_id, | ||
int | $requested_appr_id, | ||
string | $requested_rater_id | ||
) |
Definition at line 43 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$domain_service, ILIAS\Survey\Evaluation\EvaluationManager\$repo_service, ILIAS\Survey\Evaluation\EvaluationManager\$requested_appr_id, ILIAS\Survey\Evaluation\EvaluationManager\$requested_rater_id, ILIAS\Survey\Evaluation\EvaluationManager\$survey, ILIAS\Survey\Evaluation\EvaluationManager\$user_id, ILIAS\Repository\access(), ilObjSurvey\getMode(), and ilObject\getRefId().
ILIAS\Survey\Evaluation\EvaluationManager::clearAnonEvaluationAccess | ( | ) |
Definition at line 207 of file class.EvaluationManager.php.
ILIAS\Survey\Evaluation\EvaluationManager::getAnonEvaluationAccess | ( | ) |
Definition at line 202 of file class.EvaluationManager.php.
ILIAS\Survey\Evaluation\EvaluationManager::getCurrentAppraisee | ( | ) |
1) We have a set of selectable appraisees.
Definition at line 133 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$requested_appr_id, ILIAS\Survey\Evaluation\EvaluationManager\$user_id, $valid, and ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees().
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), and ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters().
ILIAS\Survey\Evaluation\EvaluationManager::getCurrentRater | ( | bool | $fallback_to_first = false | ) |
Definition at line 181 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$requested_rater_id, $valid, and ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters().
ILIAS\Survey\Evaluation\EvaluationManager::getFilteredFinishedIds | ( | ) |
int | $appr_id |
Definition at line 216 of file class.EvaluationManager.php.
References ILIAS\Repository\access(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ilObjSurvey\MODE_IND_FEEDB, ilObjSurvey\MODE_SELF_EVAL, null, and ilObjSurvey\RESULTS_SELF_EVAL_ALL.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getUserSpecificResults().
ILIAS\Survey\Evaluation\EvaluationManager::getSelectableAppraisees | ( | ) |
Get all participants the current user may see results from, including itself.
Definition at line 97 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$access, ILIAS\Survey\Evaluation\EvaluationManager\$feature_config, ILIAS\Survey\Evaluation\EvaluationManager\$survey, ILIAS\Survey\Evaluation\EvaluationManager\$user_id, ilObjUser\_lookupId(), ILIAS\Repository\int(), ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView(), and ilObjSurvey\MODE_SELF_EVAL.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee().
ILIAS\Survey\Evaluation\EvaluationManager::getSelectableRaters | ( | ) |
Only the individual feedback mode allows to select raters and only, if the user cannot select appraisees on top level.
Definition at line 162 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$survey, ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView(), and ilObjSurvey\MODE_IND_FEEDB.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater().
ILIAS\Survey\Evaluation\EvaluationManager::getUserSpecificResults | ( | ) |
Definition at line 256 of file class.EvaluationManager.php.
References $data, ILIAS\Survey\Evaluation\EvaluationManager\$user_id, SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\access(), ILIAS\Survey\Evaluation\EvaluationManager\getFilteredFinishedIds(), ILIAS\Repository\int(), and null.
ILIAS\Survey\Evaluation\EvaluationManager::isMultiParticipantsView | ( | ) |
Can the current user switch between participants and see their results?
This is true for tutors (can edit settings) or normal users, if the mode supports to see the results of others.
Definition at line 68 of file class.EvaluationManager.php.
References ILIAS\Survey\Evaluation\EvaluationManager\$access, ILIAS\Survey\Evaluation\EvaluationManager\$survey, ilObjSurvey\RESULTS_360_ALL, and ilObjSurvey\RESULTS_SELF_EVAL_ALL.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), and ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters().
ILIAS\Survey\Evaluation\EvaluationManager::setAnonEvaluationAccess | ( | int | $ref_id | ) |
Definition at line 197 of file class.EvaluationManager.php.
|
protected |
Definition at line 38 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
|
protected |
Definition at line 35 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct().
|
protected |
Definition at line 33 of file class.EvaluationManager.php.
|
protected |
Definition at line 39 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees().
|
protected |
Definition at line 40 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct().
|
protected |
Definition at line 34 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct(), and ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee().
|
protected |
Definition at line 41 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct(), and ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater().
|
protected |
Definition at line 36 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableRaters(), and ILIAS\Survey\Evaluation\EvaluationManager\isMultiParticipantsView().
|
protected |
Definition at line 37 of file class.EvaluationManager.php.
Referenced by ILIAS\Survey\Evaluation\EvaluationManager\__construct(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getSelectableAppraisees(), and ILIAS\Survey\Evaluation\EvaluationManager\getUserSpecificResults().