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';
120 $this->notification_ts = time();
132 return $this->usr->getId();
142 return $this->iass->getId();
162 return (
string) $this->
finalized ===
"1" ? true :
false;
172 if ($this->iass->getSettings()->fileRequired() && (string) $this->file_name ===
'') {
189 $clone = clone $this;
203 $clone = clone $this;
217 $clone = clone $this;
231 $clone = clone $this;
246 $clone = clone $this;
259 assert(
'is_numeric($changer_id)');
260 assert(
'ilObjUser::_exists($changer_id)');
261 $clone = clone $this;
274 assert(
'$change_time instanceof ilDateTime || is_null($change_time)');
275 $clone = clone $this;
289 $clone = clone $this;
290 $clone->notify = (bool)
$notify;
311 $clone = clone $this;
325 return $this->usr->getLastname();
335 return $this->usr->getFirstname();
345 return $this->usr->getLogin();
355 return $this->usr->getFullname();
376 $clone = clone $this;
377 $clone->finalized = 1;
419 return $this->file_name;
431 assert(is_string($file_name));
432 $clone = clone $this;
433 $clone->file_name = $file_name;
444 return $this->view_file;
456 assert(is_bool($view_file));
457 $clone = clone $this;
458 $clone->view_file = $view_file;
assessment()
Get the ilObjIndividualAssessment corresponding to this membership.
withChangeTime($change_time)
Clone this object and set an change time.
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.
withPlace($place)
Clone this object and set an internal note.
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data
examinerId()
Get the user id of the examiner.
withFinalized()
Clone this object and finalize.
withFileName($file_name)
Set the name of the file.
eventTime()
Get date when ia was.
mayBeFinalized()
Can this membership be finalized?
withChangerId($changer_id)
Clone this object and set an changer_id.
const FIELD_LEARNING_PROGRESS
notificationTS()
Get the timestamp, at which the notification was sent.
finalized()
Is this membership allready finalized?
changerId()
Get the user id of the changer.
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.
const FIELD_USER_VIEW_FILE
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.
withEventTime($event_time)
Clone this object and set an internal note.
place()
Get place where ia was held.
changeTime()
Get the datetime of change.
withViewFile($view_file)
Set user can view uploaded file.
login()
Get the examinee login corresponding to this membership.
const FIELD_NOTIFICATION_TS
withOccasionCompleted()
Set message mode to completed.
viewFile()
Can user see the uploaded file.
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)
fileName()
Get the name of the uploaded file.
__construct(ilObjIndividualAssessment $iass, ilObjUser $usr, array $data)
assessmentId()
Get the ilObjIndividualAssessment id corresponding to this membership.
id()
Get the user id corresponding to this membership.
LPStatus()
Get the LP-status corresponding to this membership.