ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Cron for booking manager notification. More...
Public Member Functions | |
__construct () | |
getId () | |
getTitle () | |
getDescription () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
run () | |
![]() | |
setDateTimeProvider (?\Closure $date_time_provider) | |
isDue (?\DateTimeImmutable $last_run, ?JobScheduleType $schedule_type, ?int $schedule_value, bool $is_manually_executed=false) | |
getScheduleType () | |
Get current schedule type (if flexible) More... | |
getScheduleValue () | |
Get current schedule value (if flexible) More... | |
setSchedule (?JobScheduleType $a_type, ?int $a_value) | |
Update current schedule (if flexible) More... | |
getAllScheduleTypes () | |
Get all available schedule types. More... | |
getScheduleTypesWithValues () | |
getValidScheduleTypes () | |
Returns a collection of all valid schedule types for a specific job. More... | |
isManuallyExecutable () | |
hasCustomSettings () | |
usesLegacyForms () | |
getCustomConfigurationInput (\ILIAS\UI\Factory $ui_factory, \ILIAS\Refinery\Factory $factory, \ilLanguage $lng) | |
addCustomSettingsToForm (\ilPropertyFormGUI $a_form) | |
saveCustomConfiguration (mixed $form_data) | |
saveCustomSettings (\ilPropertyFormGUI $a_form) | |
addToExternalSettingsForm (int $a_form_id, array &$a_fields, bool $a_is_active) | |
activationWasToggled (\ilDBInterface $db, \ilSetting $setting, bool $a_currently_active) | |
Important: This method is (also) called from the setup process, where the constructor of an ilCronJob ist NOT executed. More... | |
getId () | |
getTitle () | |
getDescription () | |
hasAutoActivation () | |
Is to be activated on "installation", does only work for ILIAS core cron jobs. More... | |
hasFlexibleSchedule () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
run () | |
Protected Member Functions | |
sendNotifications () | |
sendMails (array $notifications) | |
Protected Attributes | |
ILIAS BookingManager InternalRepoService | $repo |
ilLanguage | $lng |
ilLogger | $book_log |
![]() | |
JobScheduleType | $schedule_type = null |
int | $schedule_value = null |
Closure | $date_time_provider = null |
Cron for booking manager notification.
Definition at line 27 of file class.ilBookCronNotification.php.
ilBookCronNotification::__construct | ( | ) |
Definition at line 33 of file class.ilBookCronNotification.php.
References $DIC, ilLoggerFactory\getLogger(), and ILIAS\Repository\lng().
ilBookCronNotification::getDefaultScheduleType | ( | ) |
Definition at line 66 of file class.ilBookCronNotification.php.
ilBookCronNotification::getDefaultScheduleValue | ( | ) |
Definition at line 71 of file class.ilBookCronNotification.php.
References null.
ilBookCronNotification::getDescription | ( | ) |
Definition at line 58 of file class.ilBookCronNotification.php.
References $lng, ilLanguage\loadLanguageModule(), and ilLanguage\txt().
ilBookCronNotification::getId | ( | ) |
Definition at line 45 of file class.ilBookCronNotification.php.
ilBookCronNotification::getTitle | ( | ) |
Definition at line 50 of file class.ilBookCronNotification.php.
References $lng, ilLanguage\loadLanguageModule(), and ilLanguage\txt().
ilBookCronNotification::hasAutoActivation | ( | ) |
Definition at line 76 of file class.ilBookCronNotification.php.
ilBookCronNotification::hasFlexibleSchedule | ( | ) |
Definition at line 81 of file class.ilBookCronNotification.php.
ilBookCronNotification::run | ( | ) |
Definition at line 86 of file class.ilBookCronNotification.php.
References sendNotifications().
|
protected |
Definition at line 198 of file class.ilBookCronNotification.php.
References $r, $txt, ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ilLanguage\getUserLanguage(), IL_CAL_DATE, ilLanguage\loadLanguageModule(), null, and ilLanguage\txt().
Referenced by sendNotifications().
|
protected |
Definition at line 102 of file class.ilBookCronNotification.php.
References $book_log, $DIC, $log, $r, $res, ilObject\_lookupTitle(), ilNotification\getNotificationsForObject(), ilObjBookingPool\getPoolsWithReminders(), null, sendMails(), ilNotification\TYPE_BOOK, and ilObjBookingPool\writeLastReminderTimestamp().
Referenced by run().
|
protected |
Definition at line 31 of file class.ilBookCronNotification.php.
Referenced by sendNotifications().
|
protected |
Definition at line 30 of file class.ilBookCronNotification.php.
Referenced by getDescription(), and getTitle().
|
protected |
Definition at line 29 of file class.ilBookCronNotification.php.