|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
TODO: import/export reminder data with the exercise/assignment. 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) | |
| sendReminders (array $reminders) | |
| 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 |
Private Attributes | |
| ilMailTemplatePlaceholderResolver | $placeholder_resolver |
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 31 of file class.ilExAssignmentReminder.php.
| ilExAssignmentReminder::__construct | ( | int | $a_exc_id = 0, |
| int | $a_ass_id = 0, |
||
| string | $a_type = "" |
||
| ) |
Definition at line 56 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 461 of file class.ilExAssignmentReminder.php.
References getReminders(), parseGradeReminders(), parsePeerReminders(), and sendReminders().
Here is the call graph for this function:| ilExAssignmentReminder::deleteReminders | ( | int | $a_ass_id | ) |
Definition at line 623 of file class.ilExAssignmentReminder.php.
| ilExAssignmentReminder::getReminderEnd | ( | ) |
Definition at line 117 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 128 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 138 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 148 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 222 of file class.ilExAssignmentReminder.php.
References ILIAS\UI\examples\Symbol\Glyph\Date\date().
Referenced by checkReminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::getReminderStart | ( | ) |
Definition at line 107 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 96 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 82 of file class.ilExAssignmentReminder.php.
References $rmd_type.
|
protected |
Definition at line 205 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 365 of file class.ilExAssignmentReminder.php.
References $user_id, 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 418 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 189 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 153 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 492 of file class.ilExAssignmentReminder.php.
References $DIC, $message, $rmd_type, ILIAS\News\Common\Table\$tpl, ilLanguageFactory\_getLanguageOfUser(), ilObjUser\_lookupFullname(), ilObjUser\_lookupLogin(), ilObject\_lookupTitle(), ANONYMOUS_USER_ID, ilExAssignment\lookupTitle(), sentReminderPlaceholders(), and updateRemindersLastDate().
Referenced by checkReminders().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 575 of file class.ilExAssignmentReminder.php.
References exit, FEEDBACK_REMINDER, ilMailTemplateContextService\getTemplateContextById(), GRADE_REMINDER, ilExcMailTemplateGradeReminderContext\ID, ilExcMailTemplatePeerReminderContext\ID, ilExcMailTemplateSubmitReminderContext\ID, and SUBMIT_REMINDER.
Referenced by sendReminders().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderEnd | ( | int | $a_date | ) |
Definition at line 112 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 123 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::setReminderLastSend | ( | int | $a_timestamp | ) |
Definition at line 133 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 143 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 102 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 91 of file class.ilExAssignmentReminder.php.
Referenced by initFromDB().
Here is the caller graph for this function:| ilExAssignmentReminder::update | ( | ) |
Definition at line 168 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 607 of file class.ilExAssignmentReminder.php.
References ILIAS\UI\examples\Symbol\Glyph\Date\date().
Referenced by sendReminders().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 52 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 47 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 37 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 48 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 51 of file class.ilExAssignmentReminder.php.
|
private |
Definition at line 53 of file class.ilExAssignmentReminder.php.
|
protected |
Definition at line 42 of file class.ilExAssignmentReminder.php.
Referenced by getReminderEnd().
|
protected |
Definition at line 43 of file class.ilExAssignmentReminder.php.
Referenced by getReminderFrequency().
|
protected |
Definition at line 44 of file class.ilExAssignmentReminder.php.
Referenced by getReminderLastSend().
|
protected |
Definition at line 41 of file class.ilExAssignmentReminder.php.
Referenced by getReminderStart().
|
protected |
Definition at line 40 of file class.ilExAssignmentReminder.php.
Referenced by getReminderStatus().
|
protected |
Definition at line 45 of file class.ilExAssignmentReminder.php.
Referenced by getReminderMailTemplate().
|
protected |
Definition at line 49 of file class.ilExAssignmentReminder.php.
Referenced by getReminderType(), and sendReminders().
|
protected |
Definition at line 38 of file class.ilExAssignmentReminder.php.
| const ilExAssignmentReminder::FEEDBACK_REMINDER = "peer" |
Definition at line 35 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignmentEditorGUI\addMailTemplatesRadio(), ilExAssignmentEditorGUI\getPeerReviewValues(), ilExAssignmentEditorGUI\initPeerReviewForm(), and sentReminderPlaceholders().
| const ilExAssignmentReminder::GRADE_REMINDER = "grade" |
Definition at line 34 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignmentEditorGUI\addMailTemplatesRadio(), ilExAssignmentEditorGUI\getAssignmentValues(), and sentReminderPlaceholders().
| const ilExAssignmentReminder::SUBMIT_REMINDER = "submit" |
Definition at line 33 of file class.ilExAssignmentReminder.php.
Referenced by ilExAssignmentEditorGUI\addMailTemplatesRadio(), ilExAssignmentEditorGUI\getAssignmentValues(), and sentReminderPlaceholders().