|
ILIAS
release_8 Revision v8.24
|
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 |
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
Definition at line 29 of file class.ilExAssignmentReminder.php.
| 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().
Here is the call graph for this function:| ilExAssignmentReminder::checkReminders | ( | ) |
| ilExcUnknownAssignmentTypeException | |
| Exception |
Definition at line 458 of file class.ilExAssignmentReminder.php.
References getReminders(), parseGradeReminders(), and parsePeerReminders().
Here is the call graph for this function:| ilExAssignmentReminder::deleteReminders | ( | int | $a_ass_id | ) |
Definition at line 622 of file class.ilExAssignmentReminder.php.
| ilExAssignmentReminder::getReminderEnd | ( | ) |
Definition at line 113 of file class.ilExAssignmentReminder.php.
References $rmd_end.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderFrequency | ( | ) |
Definition at line 124 of file class.ilExAssignmentReminder.php.
References $rmd_frequency.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderLastSend | ( | ) |
Definition at line 134 of file class.ilExAssignmentReminder.php.
References $rmd_last_send.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderMailTemplate | ( | ) |
Definition at line 144 of file class.ilExAssignmentReminder.php.
References $rmd_tpl_id.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminders | ( | string | $a_type = "" | ) |
Get reminders available by date/frequence.
| Exception |
Definition at line 218 of file class.ilExAssignmentReminder.php.
References $query.
Referenced by checkReminders().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderStart | ( | ) |
Definition at line 103 of file class.ilExAssignmentReminder.php.
References $rmd_start.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderStatus | ( | ) |
Definition at line 92 of file class.ilExAssignmentReminder.php.
References $rmd_status.
Referenced by save(), and update().
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderType | ( | ) |
Definition at line 78 of file class.ilExAssignmentReminder.php.
References $rmd_type.
|
protected |
Definition at line 201 of file class.ilExAssignmentReminder.php.
References setReminderEnd(), setReminderFrequency(), setReminderLastSend(), setReminderMailTemplate(), setReminderStart(), and setReminderStatus().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::parseGradeReminders | ( | array | $a_reminders | ) |
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::parsePeerReminders | ( | array | $a_reminders | ) |
| ilExcUnknownAssignmentTypeException |
Definition at line 415 of file class.ilExAssignmentReminder.php.
References ilObject\_getAllReferences(), ILIAS\Repository\access(), ilExcAssMemberState\getInstanceByIds(), and ilExPeerReview\lookupGiversWithPendingFeedback().
Referenced by checkReminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::read | ( | ) |
Definition at line 185 of file class.ilExAssignmentReminder.php.
References initFromDB().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::save | ( | ) |
Definition at line 149 of file class.ilExAssignmentReminder.php.
References getReminderEnd(), getReminderFrequency(), getReminderLastSend(), getReminderMailTemplate(), getReminderStart(), and getReminderStatus().
Here is the call graph for this function:
|
protected |
Definition at line 573 of file class.ilExAssignmentReminder.php.
References $context, exit, FEEDBACK_REMINDER, ilMailTemplateContextService\getTemplateContextById(), GRADE_REMINDER, ilExcMailTemplateGradeReminderContext\ID, ilExcMailTemplatePeerReminderContext\ID, ilExcMailTemplateSubmitReminderContext\ID, and SUBMIT_REMINDER.
Here is the call graph for this function:| ilExAssignmentReminder::setReminderEnd | ( | int | $a_date | ) |
Definition at line 108 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderFrequency | ( | int | $a_num_days | ) |
Definition at line 119 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderLastSend | ( | int | $a_timestamp | ) |
Definition at line 129 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderMailTemplate | ( | int | $a_tpl_id | ) |
Definition at line 139 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderStart | ( | int | $a_num_days | ) |
Definition at line 98 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderStatus | ( | ?bool | $a_status | ) |
Set reminder for users without submission.
| bool | $a_status | activated? |
Definition at line 87 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::update | ( | ) |
Definition at line 164 of file class.ilExAssignmentReminder.php.
References getReminderEnd(), getReminderFrequency(), getReminderLastSend(), getReminderMailTemplate(), getReminderStart(), and getReminderStatus().
Here is the call graph for this function:
|
protected |
Definition at line 606 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 50 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 45 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 35 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 46 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 49 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 40 of file class.ilExAssignmentReminder.php.
Referenced by getReminderEnd().
|
protected |
Definition at line 41 of file class.ilExAssignmentReminder.php.
Referenced by getReminderFrequency().
|
protected |
Definition at line 42 of file class.ilExAssignmentReminder.php.
Referenced by getReminderLastSend().
|
protected |
Definition at line 39 of file class.ilExAssignmentReminder.php.
Referenced by getReminderStart().
|
protected |
Definition at line 38 of file class.ilExAssignmentReminder.php.
Referenced by getReminderStatus().
|
protected |
Definition at line 43 of file class.ilExAssignmentReminder.php.
Referenced by getReminderMailTemplate().
|
protected |
Definition at line 47 of file class.ilExAssignmentReminder.php.
Referenced by getReminderType().
|
protected |
Definition at line 36 of file class.ilExAssignmentReminder.php.
| const ilExAssignmentReminder::FEEDBACK_REMINDER = "peer" |
Definition at line 33 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignment\cloneAssignmentsOfExercise(), ilExAssignmentEditorGUI\getPeerReviewValues(), ilExAssignmentEditorGUI\initPeerReviewForm(), and sentReminderPlaceholders().
| const ilExAssignmentReminder::GRADE_REMINDER = "grade" |
Definition at line 32 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignment\cloneAssignmentsOfExercise(), ilExAssignmentEditorGUI\getAssignmentValues(), and sentReminderPlaceholders().
| const ilExAssignmentReminder::SUBMIT_REMINDER = "submit" |
Definition at line 31 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignment\cloneAssignmentsOfExercise(), ilExAssignmentEditorGUI\getAssignmentValues(), and sentReminderPlaceholders().