3declare(strict_types=1);
67 return $this->grading->getRecord();
72 return $this->grading->getInternalNote();
92 return $this->grading->isNotify();
103 $notificator->withOccasionCompleted() :
104 $notificator->withOccasionFailed();
105 $notificator->withReciever($this)->send();
106 $this->notification_ts = time();
111 public function id() : int
113 return (
int) $this->usr->getId();
118 return (
int) $this->iass->getId();
128 return $this->grading->isFinalized();
133 if ($this->iass->getSettings()->isFileRequired() && (
string) $this->fileName() ===
'') {
148 $clone = clone $this;
149 $clone->examiner_id = $examiner_id;
155 $clone = clone $this;
156 $clone->changer_id = $changer_id;
162 $clone = clone $this;
163 $clone->change_time = $change_time;
177 return $this->usr->getLastname();
182 return $this->usr->getFirstname();
187 return $this->usr->getLogin();
190 public function name() : string
192 return $this->usr->getFullname();
197 return $this->grading->getLearningProgress();
202 return $this->notification_ts;
207 return $this->grading->getPlace();
212 return $this->grading->getEventTime();
217 return $this->grading->getFile();
222 return $this->grading->isFileVisible();
227 return $this->grading;
232 $clone = clone $this;
233 $clone->grading = $grading;
An exception for terminatinating execution or to throw for unit testing.
Edit the record of a user, set LP.
maybeSendNotification(ilIndividualAssessmentNotificator $notificator)
withExaminerId(int $examiner_id)
LPStatusValid($lp_status)
withChangerId(int $changer_id)
__construct(ilObjIndividualAssessment $iass, ilObjUser $usr, ?ilIndividualAssessmentUserGrading $grading, ?int $examiner_id, int $notification_ts, ?int $changer_id, ?DateTime $change_time)
withChangeTime(DateTime $change_time=null)
For the purpose of streamlining the grading and learning-process status definition outside of tests,...
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Basic method collection should be implemented by a notificator used by Individual assessment.