ILIAS
release_8 Revision v8.19
|
Participant status manager. More...
Public Member Functions | |
__construct (InternalDomainService $domain_service, InternalRepoService $repo_service, \ilObjSurvey $survey, int $user_id) | |
canAddItselfAsAppraisee () | |
Checks if a user can add himself as an appraisee. More... | |
cantStartAgain () | |
This will return true, if a survey without appraisees is finished Note: Code will be gathered from session. More... | |
canViewUserResults () | |
Can the current user see the own results. More... | |
canMailUserResults () | |
Can the current user mail the confirmation. More... | |
mustEnterCode (string $code="") | |
Check if user must enter code to start (and currently is able to start) More... | |
isExternalRater () | |
isAppraisee () | |
Protected Attributes | |
ILIAS Survey Execution RunManager | $run_manager |
InternalDomainService | $domain_service |
ilObjSurvey | $survey |
int | $user_id |
ILIAS Survey Access AccessManager | $access |
ILIAS Survey Mode FeatureConfig | $feature_config |
InternalRepoService | $repo_service |
Participant status manager.
Definition at line 31 of file class.StatusManager.php.
ILIAS\Survey\Participants\StatusManager::__construct | ( | InternalDomainService | $domain_service, |
InternalRepoService | $repo_service, | ||
\ilObjSurvey | $survey, | ||
int | $user_id | ||
) |
Definition at line 41 of file class.StatusManager.php.
References ILIAS\Survey\Participants\StatusManager\$domain_service, ILIAS\Survey\Participants\StatusManager\$repo_service, ILIAS\Survey\Participants\StatusManager\$survey, ILIAS\Survey\Participants\StatusManager\$user_id, ILIAS\Repository\access(), ILIAS\Survey\InternalDomainService\execution(), ilObjSurvey\getMode(), and ilObject\getRefId().
ILIAS\Survey\Participants\StatusManager::canAddItselfAsAppraisee | ( | ) |
Checks if a user can add himself as an appraisee.
Definition at line 60 of file class.StatusManager.php.
References ILIAS\Survey\Participants\StatusManager\$access, ILIAS\Survey\Participants\StatusManager\$feature_config, ILIAS\Survey\Participants\StatusManager\$survey, ILIAS\Survey\Participants\StatusManager\$user_id, and ANONYMOUS_USER_ID.
ILIAS\Survey\Participants\StatusManager::canMailUserResults | ( | ) |
Can the current user mail the confirmation.
Definition at line 118 of file class.StatusManager.php.
References ANONYMOUS_USER_ID, and ILIAS\Survey\Participants\StatusManager\cantStartAgain().
ILIAS\Survey\Participants\StatusManager::cantStartAgain | ( | ) |
This will return true, if a survey without appraisees is finished Note: Code will be gathered from session.
Definition at line 82 of file class.StatusManager.php.
References ILIAS\Survey\Participants\StatusManager\$feature_config.
Referenced by ILIAS\Survey\Participants\StatusManager\canMailUserResults(), and ILIAS\Survey\Participants\StatusManager\canViewUserResults().
ILIAS\Survey\Participants\StatusManager::canViewUserResults | ( | ) |
Can the current user see the own results.
Definition at line 104 of file class.StatusManager.php.
References ANONYMOUS_USER_ID, and ILIAS\Survey\Participants\StatusManager\cantStartAgain().
ILIAS\Survey\Participants\StatusManager::isAppraisee | ( | ) |
Definition at line 174 of file class.StatusManager.php.
References ILIAS\Survey\Participants\StatusManager\$feature_config, and ILIAS\Survey\Participants\StatusManager\$survey.
Referenced by ILIAS\Survey\Participants\StatusManager\mustEnterCode().
ILIAS\Survey\Participants\StatusManager::isExternalRater | ( | ) |
Definition at line 144 of file class.StatusManager.php.
References ILIAS\Survey\Participants\StatusManager\$feature_config, and ILIAS\Survey\Participants\StatusManager\$survey.
ILIAS\Survey\Participants\StatusManager::mustEnterCode | ( | string | $code = "" | ) |
Check if user must enter code to start (and currently is able to start)
Definition at line 131 of file class.StatusManager.php.
References ILIAS\Repository\access(), and ILIAS\Survey\Participants\StatusManager\isAppraisee().
|
protected |
Definition at line 37 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee().
|
protected |
Definition at line 34 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\__construct().
|
protected |
Definition at line 38 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee(), ILIAS\Survey\Participants\StatusManager\cantStartAgain(), ILIAS\Survey\Participants\StatusManager\isAppraisee(), and ILIAS\Survey\Participants\StatusManager\isExternalRater().
|
protected |
Definition at line 39 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\__construct().
|
protected |
Definition at line 33 of file class.StatusManager.php.
|
protected |
Definition at line 35 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\__construct(), ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee(), ILIAS\Survey\Participants\StatusManager\isAppraisee(), and ILIAS\Survey\Participants\StatusManager\isExternalRater().
|
protected |
Definition at line 36 of file class.StatusManager.php.
Referenced by ILIAS\Survey\Participants\StatusManager\__construct(), and ILIAS\Survey\Participants\StatusManager\canAddItselfAsAppraisee().