ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilExAssignmentReminder Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilExAssignmentReminder:

Public Member Functions

 __construct (int $a_exc_id=0, int $a_ass_id=0, string $a_type="")
 
 getReminderType ()
 
 setReminderStatus (?bool $a_status)
 Set reminder for users without submission. More...
 
 getReminderStatus ()
 
 setReminderStart (int $a_num_days)
 
 getReminderStart ()
 
 setReminderEnd (int $a_date)
 
 getReminderEnd ()
 
 setReminderFrequency (int $a_num_days)
 
 getReminderFrequency ()
 
 setReminderLastSend (int $a_timestamp)
 
 getReminderLastSend ()
 
 setReminderMailTemplate (int $a_tpl_id)
 
 getReminderMailTemplate ()
 
 save ()
 
 update ()
 
 read ()
 
 getReminders (string $a_type="")
 Get reminders available by date/frequence. More...
 
 parseGradeReminders (array $a_reminders)
 
 parsePeerReminders (array $a_reminders)
 
 checkReminders ()
 
 deleteReminders (int $a_ass_id)
 

Data Fields

const SUBMIT_REMINDER = "submit"
 
const GRADE_REMINDER = "grade"
 
const FEEDBACK_REMINDER = "peer"
 

Protected Member Functions

 initFromDB (array $a_set)
 
 sentReminderPlaceholders (string $a_message, array $a_reminder_data, string $a_reminder_type)
 
 updateRemindersLastDate (array $a_reminders)
 

Protected Attributes

ilDBInterface $db
 
ilTree $tree
 
bool $rmd_status = null
 
int $rmd_start = 0
 
int $rmd_end = 0
 
int $rmd_frequency = 0
 
int $rmd_last_send = 0
 
int $rmd_tpl_id = 0
 
int $ass_id = 0
 
int $exc_id = 0
 
string $rmd_type = ""
 
ilLogger $log
 
ilAccessHandler $access
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

TODO: import/export reminder data with the exercise/assignment. TODO: Delete reminders from exc_ass_reminders when the assignment is deleted.

Exercise Assignment Reminders

Author
Jesús López lopez.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 29 of file class.ilExAssignmentReminder.php.

Constructor & Destructor Documentation

◆ __construct()

ilExAssignmentReminder::__construct ( int  $a_exc_id = 0,
int  $a_ass_id = 0,
string  $a_type = "" 
)

Definition at line 53 of file class.ilExAssignmentReminder.php.

References $DIC, ILIAS\Repository\access(), ilLoggerFactory\getLogger(), and read().

57  {
58  global $DIC;
59  $this->db = $DIC->database();
60  $this->tree = $DIC->repositoryTree();
61  $this->access = $DIC->access();
62  $this->log = ilLoggerFactory::getLogger("exc");
63 
64  if ($a_ass_id) {
65  $this->ass_id = $a_ass_id;
66  }
67  if ($a_exc_id) {
68  $this->exc_id = $a_exc_id;
69  }
70  if ($a_type) {
71  $this->rmd_type = $a_type;
72  }
73  if ($a_exc_id and $a_ass_id and $a_type) {
74  $this->read();
75  }
76  }
static getLogger(string $a_component_id)
Get component logger.
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ checkReminders()

ilExAssignmentReminder::checkReminders ( )
Returns
int number of reminders sent
Exceptions
ilExcUnknownAssignmentTypeException
Exception

Definition at line 458 of file class.ilExAssignmentReminder.php.

References $DIC, $message, $rmd_type, $tpl, ilLanguageFactory\_getLanguageOfUser(), ilLink\_getLink(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ilObject\_lookupTitle(), ANONYMOUS_USER_ID, getReminders(), ilExAssignment\lookupTitle(), parseGradeReminders(), parsePeerReminders(), sentReminderPlaceholders(), and updateRemindersLastDate().

458  : int
459  {
460  $submit_reminders = $this->getReminders(self::SUBMIT_REMINDER);
461  $parsed_submit_reminders = $this->parseSubmissionReminders($submit_reminders);
462 
463  $grade_reminders = $this->getReminders(self::GRADE_REMINDER);
464  $parsed_grade_reminders = $this->parseGradeReminders($grade_reminders);
465 
466  $peer_reminders = $this->getReminders(self::FEEDBACK_REMINDER);
467  $parsed_peer_reminders = $this->parsePeerReminders($peer_reminders);
468 
469  /* //DEBUG
470  $this->log->debug("ALL SUBMIT REMINDERS");
471  $this->log->dump($submit_reminders);
472  $this->log->debug("PARSED SUBMIT REMINDERS");
473  $this->log->dump($parsed_submit_reminders);
474  $this->log->debug("GRADE REMINDERS ARRAY");
475  $this->log->dump($grade_reminders);
476  $this->log->debug("PARSED GRADE REMINDERS");
477  $this->log->dump($parsed_grade_reminders);
478  $this->log->debug("PEER REMINDERS ARRAY");
479  $this->log->dump($peer_reminders);
480  $this->log->debug("PARSED PEER REMINDERS");
481  $this->log->dump($parsed_peer_reminders);
482  */
483 
484  $reminders = array_merge($parsed_submit_reminders, $parsed_grade_reminders, $parsed_peer_reminders);
485 
486  return $this->sendReminders($reminders);
487  }
getReminders(string $a_type="")
Get reminders available by date/frequence.
+ Here is the call graph for this function:

◆ deleteReminders()

ilExAssignmentReminder::deleteReminders ( int  $a_ass_id)

Definition at line 622 of file class.ilExAssignmentReminder.php.

622  : void
623  {
624  $sql = "DELETE FROM exc_ass_reminders" .
625  " WHERE ass_id = " . $a_ass_id;
626 
627  $this->db->manipulate($sql);
628  }

◆ getReminderEnd()

ilExAssignmentReminder::getReminderEnd ( )

Definition at line 113 of file class.ilExAssignmentReminder.php.

References $rmd_end.

Referenced by save(), and update().

113  : int
114  {
115  return $this->rmd_end;
116  }
+ Here is the caller graph for this function:

◆ getReminderFrequency()

ilExAssignmentReminder::getReminderFrequency ( )

Definition at line 124 of file class.ilExAssignmentReminder.php.

References $rmd_frequency.

Referenced by save(), and update().

124  : int
125  {
126  return $this->rmd_frequency;
127  }
+ Here is the caller graph for this function:

◆ getReminderLastSend()

ilExAssignmentReminder::getReminderLastSend ( )

Definition at line 134 of file class.ilExAssignmentReminder.php.

References $rmd_last_send.

Referenced by save(), and update().

134  : int
135  {
136  return $this->rmd_last_send;
137  }
+ Here is the caller graph for this function:

◆ getReminderMailTemplate()

ilExAssignmentReminder::getReminderMailTemplate ( )

Definition at line 144 of file class.ilExAssignmentReminder.php.

References $rmd_tpl_id.

Referenced by save(), and update().

144  : int
145  {
146  return $this->rmd_tpl_id;
147  }
+ Here is the caller graph for this function:

◆ getReminders()

ilExAssignmentReminder::getReminders ( string  $a_type = "")

Get reminders available by date/frequence.

Exceptions
Exception

Definition at line 218 of file class.ilExAssignmentReminder.php.

References $query, ilObject\_getAllReferences(), ILIAS\Repository\access(), and ilExcAssMemberState\getInstanceByIds().

Referenced by checkReminders().

218  : array
219  {
220  $now = time();
221  $today = date("Y-m-d");
222 
223  $this->log->debug("Get reminders $a_type.");
224 
225  //remove time from the timestamp (86400 = 24h)
226  //$now = floor($now/86400)*86400;
227  $and_type = "";
228  if ($a_type == self::SUBMIT_REMINDER || $a_type == self::GRADE_REMINDER || $a_type == self::FEEDBACK_REMINDER) {
229  $and_type = " AND type = '" . $a_type . "'";
230  }
231 
232  $query = "SELECT last_send_day, ass_id, exc_id, status, start, freq, end, type, last_send, template_id" .
233  " FROM exc_ass_reminders" .
234  " WHERE status = 1" .
235  " AND start <= " . $now .
236  " AND end > " . ($now - 86400) .
237  $and_type;
238 
239 
240  $result = $this->db->query($query);
241 
242  $array_data = array();
243  while ($rec = $this->db->fetchAssoc($result)) {
244  $rem = array(
245  "ass_id" => $rec["ass_id"],
246  "exc_id" => $rec["exc_id"],
247  "start" => $rec["start"],
248  "end" => $rec["end"],
249  "freq" => $rec["freq"],
250  "type" => $rec["type"],
251  "last_send" => $rec["last_send"],
252  "last_send_day" => $rec["last_send_day"],
253  "template_id" => $rec["template_id"]
254  );
255 
256  $end_day = date("Y-m-d", $rec["end"]);
257 
258  //frequency
259  $next_send = "";
260  if ($rec["last_send_day"] != "") {
261  $date = new DateTime($rec["last_send_day"]);
262  $date->add(new DateInterval('P' . $rec["freq"] . 'D'));
263  $next_send = $date->format('Y-m-d');
264  }
265  $this->log->debug("ass: " . $rec["ass_id"] . ", last send: " . $rec["last_send_day"] .
266  ", freq: " . $rec["freq"] . ", end_day: $end_day, today: " . $today . ", next send: $next_send");
267  if ($rec["last_send_day"] == "" || $next_send <= $today) {
268  if ($end_day >= $today) {
269  $this->log->debug("included");
270  $array_data[] = $rem;
271  }
272  }
273  }
274 
275  return $array_data;
276  }
$query
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getReminderStart()

ilExAssignmentReminder::getReminderStart ( )

Definition at line 103 of file class.ilExAssignmentReminder.php.

References $rmd_start.

Referenced by save(), and update().

103  : int
104  {
105  return $this->rmd_start;
106  }
+ Here is the caller graph for this function:

◆ getReminderStatus()

ilExAssignmentReminder::getReminderStatus ( )

Definition at line 92 of file class.ilExAssignmentReminder.php.

References $rmd_status.

Referenced by ilExAssignmentEditorGUI\getAssignmentValues(), save(), ilExAssignmentEditorGUI\saveReminderData(), and update().

92  : ?bool
93  {
94  return $this->rmd_status;
95  }
+ Here is the caller graph for this function:

◆ getReminderType()

ilExAssignmentReminder::getReminderType ( )

Definition at line 78 of file class.ilExAssignmentReminder.php.

References $rmd_type.

Referenced by ilExAssignmentEditorGUI\saveReminderData().

78  : string
79  {
80  return $this->rmd_type;
81  }
+ Here is the caller graph for this function:

◆ initFromDB()

ilExAssignmentReminder::initFromDB ( array  $a_set)
protected

Definition at line 201 of file class.ilExAssignmentReminder.php.

References setReminderEnd(), setReminderFrequency(), setReminderLastSend(), setReminderMailTemplate(), setReminderStart(), and setReminderStatus().

Referenced by read().

201  : void
202  {
203  $this->setReminderStatus((bool) $a_set["status"]);
204  $this->setReminderStart((int) $a_set["start"]);
205  $this->setReminderEnd((int) $a_set["end"]);
206  $this->setReminderFrequency((int) $a_set["freq"]);
207  $this->setReminderLastSend((int) $a_set["last_send"]);
208  $this->setReminderMailTemplate((int) $a_set["template_id"]);
209  }
setReminderStatus(?bool $a_status)
Set reminder for users without submission.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseGradeReminders()

ilExAssignmentReminder::parseGradeReminders ( array  $a_reminders)
Exceptions
ilExcUnknownAssignmentTypeException

Definition at line 362 of file class.ilExAssignmentReminder.php.

References ilObject\_getAllReferences(), ILIAS\Repository\access(), ilNotification\getNotificationsForObject(), ilExerciseManagementGUI\GRADE_NOT_GRADED, and ilNotification\TYPE_EXERCISE_SUBMISSION.

Referenced by checkReminders().

362  : array
363  {
364  $reminders = $a_reminders;
365  $users_to_remind = array();
366 
367  $has_pending_to_grade = false;
368 
369  foreach ($reminders as $rem) {
370  //$this->log->debug("---- parse grade reminder with values -> ",$rem);
371  $ass_obj = new ilExAssignment($rem["ass_id"]);
372  $members_data = $ass_obj->getMemberListData();
373 
374  //$this->log->debug("--- get members list data => ",$members_data);
375  foreach ($members_data as $assignment_data) {
376  if ($assignment_data["status"] == ilExerciseManagementGUI::GRADE_NOT_GRADED) {
377  //at least there is one submission pending to grade.
378  $has_pending_to_grade = true;
379  }
380  }
381 
382  if ($has_pending_to_grade) {
383  //get tutor of this exercise.
385 
386  foreach ($users as $user_id) {
387  $exc_refs = ilObject::_getAllReferences($rem["exc_id"]);
388  $unike_usr_id = array();
389  foreach ($exc_refs as $exc_ref) {
390  if ($this->access->checkAccessOfUser($user_id, "write", "", $exc_ref)) {
391  if (!in_array($user_id, $unike_usr_id)) {
392  $member_data = array(
393  "exc_id" => $rem["exc_id"],
394  "exc_ref" => $exc_ref,
395  "ass_id" => $rem["ass_id"],
396  "member_id" => $user_id,
397  "reminder_type" => $rem["type"],
398  "template_id" => $rem["template_id"]
399  );
400  $users_to_remind[] = $member_data;
401  $unike_usr_id[] = $user_id;
402  }
403  }
404  }
405  }
406  }
407  }
408 
409  return $users_to_remind;
410  }
Exercise assignment.
static _getAllReferences(int $id)
get all reference ids for object ID
static getNotificationsForObject(int $type, int $id, ?int $page_id=null, bool $ignore_threshold=false)
Get all users/recipients for given object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parsePeerReminders()

ilExAssignmentReminder::parsePeerReminders ( array  $a_reminders)
Exceptions
ilExcUnknownAssignmentTypeException

Definition at line 415 of file class.ilExAssignmentReminder.php.

References ilObject\_getAllReferences(), ILIAS\Repository\access(), ilExcAssMemberState\getInstanceByIds(), and ilExPeerReview\lookupGiversWithPendingFeedback().

Referenced by checkReminders().

415  : array
416  {
417  $reminders = $a_reminders;
418  $users_to_remind = array();
419 
420  $this->log->debug("Peer Reminders: " . count($a_reminders));
421 
422  foreach ($reminders as $reminder) {
423  $this->log->debug("Init peer review: " . $reminder["ass_id"]);
424  $pr = new ilExPeerReview(new ilExAssignment($reminder["ass_id"]));
425  $pr->initPeerReviews();
426  $giver_ids = array_unique(ilExPeerReview::lookupGiversWithPendingFeedback($reminder["ass_id"]));
427  foreach ($giver_ids as $giver_id) {
428  $state = ilExcAssMemberState::getInstanceByIds($reminder["ass_id"], $giver_id);
429  $days_diff = (($state->getPeerReviewDeadline() - time()) / (60 * 60 * 24));
430 
431  if ($state->isPeerReviewAllowed() && $days_diff < $reminder["start"]) {
432  $exc_refs = ilObject::_getAllReferences($reminder["exc_id"]);
433  foreach ($exc_refs as $exc_ref) {
434  if ($this->access->checkAccessOfUser($giver_id, "read", "", $exc_ref)) {
435  $member_data = array(
436  "exc_id" => $reminder["exc_id"],
437  "exc_ref" => $exc_ref,
438  "ass_id" => $reminder["ass_id"],
439  "member_id" => $giver_id,
440  "reminder_type" => $reminder["type"],
441  "template_id" => $reminder["template_id"]
442  );
443  $users_to_remind[] = $member_data;
444  }
445  }
446  }
447  }
448  }
449 
450  return $users_to_remind;
451  }
Exercise assignment.
static _getAllReferences(int $id)
get all reference ids for object ID
static lookupGiversWithPendingFeedback(int $a_ass_id)
Exercise peer review.
static getInstanceByIds(int $a_ass_id, int $a_user_id=0)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilExAssignmentReminder::read ( )

Definition at line 185 of file class.ilExAssignmentReminder.php.

References initFromDB().

Referenced by __construct().

185  : void
186  {
187  $set = $this->db->queryF(
188  "SELECT status, start, freq, end, last_send, template_id" .
189  " FROM exc_ass_reminders" .
190  " WHERE type = %s AND ass_id = %s AND exc_id = %s",
191  ["text", "integer", "integer"],
192  [$this->rmd_type, $this->ass_id, $this->exc_id]
193  );
194 
195  $rec = $this->db->fetchAssoc($set);
196  if (is_array($rec)) {
197  $this->initFromDB($rec);
198  }
199  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilExAssignmentReminder::save ( )

Definition at line 149 of file class.ilExAssignmentReminder.php.

References getReminderEnd(), getReminderFrequency(), getReminderLastSend(), getReminderMailTemplate(), getReminderStart(), and getReminderStatus().

149  : void
150  {
151  $this->db->insert("exc_ass_reminders", array(
152  "type" => array("text", $this->rmd_type),
153  "ass_id" => array("integer", $this->ass_id),
154  "exc_id" => array("integer", $this->exc_id),
155  "status" => array("integer", $this->getReminderStatus()),
156  "start" => array("integer", $this->getReminderStart()),
157  "end" => array("integer", $this->getReminderEnd()),
158  "freq" => array("integer", $this->getReminderFrequency()),
159  "last_send" => array("integer", $this->getReminderLastSend()),
160  "template_id" => array("integer", $this->getReminderMailTemplate())
161  ));
162  }
+ Here is the call graph for this function:

◆ sentReminderPlaceholders()

ilExAssignmentReminder::sentReminderPlaceholders ( string  $a_message,
array  $a_reminder_data,
string  $a_reminder_type 
)
protected

Definition at line 573 of file class.ilExAssignmentReminder.php.

References $context, Vendor\Package\$e, exit, FEEDBACK_REMINDER, ilLoggerFactory\getLogger(), ilMailTemplateContextService\getTemplateContextById(), GRADE_REMINDER, ilExcMailTemplateSubmitReminderContext\ID, ilExcMailTemplatePeerReminderContext\ID, ilExcMailTemplateGradeReminderContext\ID, and SUBMIT_REMINDER.

Referenced by checkReminders().

577  : string {
578  // see ilMail::replacePlaceholders()
579  try {
580  switch ($a_reminder_type) {
583  break;
586  break;
589  break;
590  default:
591  exit();
592  }
593 
594  $user = new ilObjUser($a_reminder_data["member_id"]);
595 
596  $processor = new ilMailTemplatePlaceholderResolver($context, $a_message);
597  $a_message = $processor->resolve($user, $a_reminder_data);
598  } catch (Exception $e) {
599  ilLoggerFactory::getLogger('mail')->error(__METHOD__ . ' has been called with invalid context.');
600  }
601 
602  return $a_message;
603  }
exit
Definition: login.php:28
$context
Definition: webdav.php:29
static getLogger(string $a_component_id)
Get component logger.
Class ilMailTemplatePlaceholderResolver.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setReminderEnd()

ilExAssignmentReminder::setReminderEnd ( int  $a_date)

Definition at line 108 of file class.ilExAssignmentReminder.php.

Referenced by initFromDB(), and ilExAssignmentEditorGUI\saveReminderData().

108  : void
109  {
110  $this->rmd_end = $a_date;
111  }
+ Here is the caller graph for this function:

◆ setReminderFrequency()

ilExAssignmentReminder::setReminderFrequency ( int  $a_num_days)

Definition at line 119 of file class.ilExAssignmentReminder.php.

Referenced by initFromDB(), and ilExAssignmentEditorGUI\saveReminderData().

119  : void
120  {
121  $this->rmd_frequency = $a_num_days;
122  }
+ Here is the caller graph for this function:

◆ setReminderLastSend()

ilExAssignmentReminder::setReminderLastSend ( int  $a_timestamp)

Definition at line 129 of file class.ilExAssignmentReminder.php.

Referenced by initFromDB().

129  : void
130  {
131  $this->rmd_last_send = $a_timestamp;
132  }
+ Here is the caller graph for this function:

◆ setReminderMailTemplate()

ilExAssignmentReminder::setReminderMailTemplate ( int  $a_tpl_id)

Definition at line 139 of file class.ilExAssignmentReminder.php.

Referenced by initFromDB(), and ilExAssignmentEditorGUI\saveReminderData().

139  : void
140  {
141  $this->rmd_tpl_id = $a_tpl_id;
142  }
+ Here is the caller graph for this function:

◆ setReminderStart()

ilExAssignmentReminder::setReminderStart ( int  $a_num_days)

Definition at line 98 of file class.ilExAssignmentReminder.php.

Referenced by initFromDB(), and ilExAssignmentEditorGUI\saveReminderData().

98  : void
99  {
100  $this->rmd_start = $a_num_days;
101  }
+ Here is the caller graph for this function:

◆ setReminderStatus()

ilExAssignmentReminder::setReminderStatus ( ?bool  $a_status)

Set reminder for users without submission.

Parameters
bool$a_statusactivated?

Definition at line 87 of file class.ilExAssignmentReminder.php.

Referenced by ilExAssignment\cloneAssignmentsOfExercise(), initFromDB(), and ilExAssignmentEditorGUI\saveReminderData().

87  : void
88  {
89  $this->rmd_status = $a_status;
90  }
+ Here is the caller graph for this function:

◆ update()

ilExAssignmentReminder::update ( )

Definition at line 164 of file class.ilExAssignmentReminder.php.

References getReminderEnd(), getReminderFrequency(), getReminderLastSend(), getReminderMailTemplate(), getReminderStart(), and getReminderStatus().

164  : void
165  {
166  $this->db->update(
167  "exc_ass_reminders",
168  array(
169  "status" => array("integer", $this->getReminderStatus()),
170  "start" => array("integer", $this->getReminderStart()),
171  "end" => array("integer", $this->getReminderEnd()),
172  "freq" => array("integer", $this->getReminderFrequency()),
173  "last_send" => array("integer", $this->getReminderLastSend()),
174  "template_id" => array("integer", $this->getReminderMailTemplate())
175  ),
176  array(
177  "type" => array("text", $this->rmd_type),
178  "exc_id" => array("integer", $this->exc_id),
179  "ass_id" => array("integer", $this->ass_id)
180  )
181  );
182  }
+ Here is the call graph for this function:

◆ updateRemindersLastDate()

ilExAssignmentReminder::updateRemindersLastDate ( array  $a_reminders)
protected

Definition at line 606 of file class.ilExAssignmentReminder.php.

Referenced by checkReminders().

606  : void
607  {
608  $today = date("Y-m-d");
609  foreach ($a_reminders as $reminder) {
610  $sql = "UPDATE exc_ass_reminders" .
611  " SET last_send = " . $this->db->quote(time(), 'integer') .
612  " , last_send_day = " . $this->db->quote($today, 'date') .
613  " WHERE type = " . $this->db->quote($reminder["reminder_type"], 'text') .
614  " AND ass_id = " . $this->db->quote($reminder["ass_id"], 'integer') .
615  " AND exc_id = " . $this->db->quote($reminder["exc_id"], 'integer');
616 
617  $this->db->manipulate($sql);
618  }
619  }
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilExAssignmentReminder::$access
protected

Definition at line 50 of file class.ilExAssignmentReminder.php.

◆ $ass_id

int ilExAssignmentReminder::$ass_id = 0
protected

Definition at line 45 of file class.ilExAssignmentReminder.php.

◆ $db

ilDBInterface ilExAssignmentReminder::$db
protected

Definition at line 35 of file class.ilExAssignmentReminder.php.

◆ $exc_id

int ilExAssignmentReminder::$exc_id = 0
protected

Definition at line 46 of file class.ilExAssignmentReminder.php.

◆ $log

ilLogger ilExAssignmentReminder::$log
protected

Definition at line 49 of file class.ilExAssignmentReminder.php.

◆ $rmd_end

int ilExAssignmentReminder::$rmd_end = 0
protected

Definition at line 40 of file class.ilExAssignmentReminder.php.

Referenced by getReminderEnd().

◆ $rmd_frequency

int ilExAssignmentReminder::$rmd_frequency = 0
protected

Definition at line 41 of file class.ilExAssignmentReminder.php.

Referenced by getReminderFrequency().

◆ $rmd_last_send

int ilExAssignmentReminder::$rmd_last_send = 0
protected

Definition at line 42 of file class.ilExAssignmentReminder.php.

Referenced by getReminderLastSend().

◆ $rmd_start

int ilExAssignmentReminder::$rmd_start = 0
protected

Definition at line 39 of file class.ilExAssignmentReminder.php.

Referenced by getReminderStart().

◆ $rmd_status

bool ilExAssignmentReminder::$rmd_status = null
protected

Definition at line 38 of file class.ilExAssignmentReminder.php.

Referenced by getReminderStatus().

◆ $rmd_tpl_id

int ilExAssignmentReminder::$rmd_tpl_id = 0
protected

Definition at line 43 of file class.ilExAssignmentReminder.php.

Referenced by getReminderMailTemplate().

◆ $rmd_type

string ilExAssignmentReminder::$rmd_type = ""
protected

Definition at line 47 of file class.ilExAssignmentReminder.php.

Referenced by checkReminders(), and getReminderType().

◆ $tree

ilTree ilExAssignmentReminder::$tree
protected

Definition at line 36 of file class.ilExAssignmentReminder.php.

◆ FEEDBACK_REMINDER

◆ GRADE_REMINDER

◆ SUBMIT_REMINDER


The documentation for this class was generated from the following file: