5include_once
"Services/Cron/classes/class.ilCronJob.php";
36 if (!$this->initDone) {
38 $this->lng =
$DIC->language();
40 $this->initDone =
true;
46 return "mail_notification";
52 return $this->lng->txt(
"cron_mail_notification");
59 $this->lng->loadLanguageModule(
'mail');
62 $this->lng->txt(
"cron_mail_notification_desc"),
63 $this->lng->txt(
'mail_allow_external')
94 require_once
'Services/Mail/classes/class.ilMailSummaryNotification.php';
106 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cron_mail_notification_message"),
"mail_notification_message");
107 $cb->setInfo($this->lng->txt(
"cron_mail_notification_message_info"));
108 $cb->setChecked($this->
settings->get(
"mail_notification_message"));
115 $this->
settings->set(
'mail_notification_message',
$_POST[
'mail_notification_message'] ? 1 : 0);
122 $this->
settings->set(
'mail_notification', (
bool) $a_currently_active);
An exception for terminatinating execution or to throw for unit testing.
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_DAILY
hasAutoActivation()
Is to be activated on "installation".
hasCustomSettings()
Has cron job any custom setting which can be edited?
addCustomSettingsToForm(ilPropertyFormGUI $a_form)
Add custom settings to form.
hasFlexibleSchedule()
Can the schedule be configured?
getDefaultScheduleValue()
Get schedule value.
saveCustomSettings(ilPropertyFormGUI $a_form)
Save custom settings.
activationWasToggled($a_currently_active)
Cron job status was changed.
getDescription()
Get description.
getDefaultScheduleType()
Get schedule type.