2 require_once
'Modules/IndividualAssessment/classes/class.ilObjIndividualAssessment.php';
3 require_once
'Services/User/classes/class.ilObjUser.php';
4 require_once
'Modules/IndividualAssessment/exceptions/class.ilIndividualAssessmentException.php';
5 require_once
'Modules/IndividualAssessment/classes/Members/class.ilIndividualAssessmentMembers.php';
83 $this->notification_ts =
time();
93 public function id() {
94 return $this->usr->getId();
103 return $this->iass->getId();
121 return (
string)$this->
finalized ===
"1" ? true :
false;
142 assert(
'is_string($record) || $record === null');
144 $clone = clone $this;
158 assert(
'is_string($internal_note) || $internal_note === null');
160 $clone = clone $this;
174 assert(
'is_numeric($examiner_id)');
176 assert(
'ilObjUser::_exists($examiner_id)');
177 $clone = clone $this;
191 assert(
'is_bool($notify)');
193 $clone = clone $this;
194 $clone->notify = (bool)
$notify;
215 $clone = clone $this;
228 return $this->usr->getLastname();
237 return $this->usr->getFirstname();
246 return $this->usr->getLogin();
255 return $this->usr->getFullname();
274 $clone = clone $this;
275 $clone->finalized = 1;
assessment()
Get the ilObjIndividualAssessment corresponding to this membership.
For the purpose of streamlining the grading and learning-process status definition outside of tests...
const FIELD_INTERNAL_NOTE
withReciever(ilIndividualAssessmentMember $member)
Define the member, that should recieve the message.
examinerId()
Get the user id of the examiner.
withFinalized()
Clone this object and finalize.
mayBeFinalized()
Can this membership be finalized?
Add rich text string
The name of the decorator.
const FIELD_LEARNING_PROGRESS
notificationTS()
Get the timestamp, at which the notification was sent.
finalized()
Is this membership allready finalized?
withLPStatus($lp_status)
Clone this object and set LP-status.
withRecord($record)
Clone this object and set a record.
withOccasionFailed()
Set message mode to failed.
firstname()
Get the examinee firstname corresponding to this membership.
maybeSendNotification(ilIndividualAssessmentNotificator $notificator)
Notify a user, if he is supposed to be notified, using some notificator object.
lastname()
Get the examinee lastname corresponding to this membership.
Basic method collection should be implemented by a notificator used by Individual assessment...
withNotify($notify)
Clone this object and set wether the examinee should be notified.
withInternalNote($internal_note)
Clone this object and set an internal note.
login()
Get the examinee login corresponding to this membership.
const FIELD_NOTIFICATION_TS
withOccasionCompleted()
Set message mode to completed.
Create styles array
The data for the language used.
withExaminerId($examiner_id)
Clone this object and set an examiner_id.
Edit the record of a user, set LP.
name()
Get the examinee name corresponding to this membership.
notify()
Will the user be notified after finalization?
LPStatusValid($lp_status)
__construct(ilObjIndividualAssessment $iass, ilObjUser $usr, array $data)
assessmentId()
Get the ilObjIndividualAssessment id corresponding to this membership.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
id()
Get the user id corresponding to this membership.
LPStatus()
Get the LP-status corresponding to this membership.