19declare(strict_types=1);
37 protected \ILIAS\Survey\Access\AccessManager
$access;
51 $this->feature_config = $this->domain_service->modeFeatureConfig(
$survey->
getMode());
90 if ($this->run_manager->hasStarted() && $this->run_manager->hasFinished()) {
123 $this->survey->hasMailConfirmation()) {
134 if ($this->
access->canStartSurvey()) {
138 !$this->survey->isAccessibleWithoutCode()) {
149 $anon_session = $this->repo_service->execution()->runSession();
154 $code_manager = $this->domain_service->code(
$survey, 0);
156 $access_manager = $this->domain_service->access(
$survey->
getRefId(), 0);
158 if ($code_manager->exists($code)) {
Survey internal data service.
Participant status manager.
canMailUserResults()
Can the current user see the own results.
ILIAS Survey Mode FeatureConfig $feature_config
InternalDomainService $domain_service
cantStartAgain()
This will return true, if a survey without appraisees is finished Note: Code will be gathered from se...
canAddItselfAsAppraisee()
Checks if a user can add himself as an appraisee.
InternalRepoService $repo_service
ILIAS Survey Access AccessManager $access
mustEnterCode(string $code="")
Check if user must enter code to start (and currently is able to start)
__construct(InternalDomainService $domain_service, InternalRepoService $repo_service, \ilObjSurvey $survey, int $user_id)
ILIAS Survey Execution RunManager $run_manager
getAnonymousIdByCode(string $a_code)
isAppraisee(int $a_user_id)
getAppraiseesToRate(?int $a_user_id, ?int $a_anonymous_id=null)