ILIAS
release_8 Revision v8.19
|
Delete orphaned mails. More...
Public Member Functions | |
getId () | |
getTitle () | |
getDescription () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
getValidScheduleTypes () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
hasCustomSettings () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
ping () | |
run () | |
![]() | |
setDateTimeProvider (?Closure $date_time_provider) | |
isDue (?DateTimeImmutable $last_run, ?int $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 (?int $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 () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
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 () | |
Private Member Functions | |
init () | |
emptyStringOrFloatOrIntToEmptyOrIntegerString () | |
processNotification () | |
processDeletion () | |
Private Attributes | |
GlobalHttpState | $http |
Refinery | $refinery |
ilLanguage | $lng |
ilSetting | $settings |
ilDBInterface | $db |
ilObjUser | $user |
bool | $initDone = false |
ilCronManager | $cron_manager |
Additional Inherited Members | |
![]() | |
const | SCHEDULE_TYPE_DAILY = 1 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_IN_MINUTES = 2 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_IN_HOURS = 3 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_IN_DAYS = 4 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_WEEKLY = 5 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_MONTHLY = 6 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_QUARTERLY = 7 |
This will be replaced with an ENUM in ILIAS 9 More... | |
const | SCHEDULE_TYPE_YEARLY = 8 |
This will be replaced with an ENUM in ILIAS 9 More... | |
![]() | |
int | $schedule_type = null |
int | $schedule_value = null |
Closure | $date_time_provider = null |
Delete orphaned mails.
Definition at line 34 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 140 of file class.ilMailCronOrphanedMails.php.
References ilPropertyFormGUI\addItem(), emptyStringOrFloatOrIntToEmptyOrIntegerString(), ILIAS\FileDelivery\http(), init(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ILIAS\Repository\settings(), and ilCheckboxInputGUI\setValue().
|
private |
Definition at line 63 of file class.ilMailCronOrphanedMails.php.
References ILIAS\Repository\refinery().
Referenced by addCustomSettingsToForm(), and saveCustomSettings().
ilMailCronOrphanedMails::getDefaultScheduleType | ( | ) |
Definition at line 125 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::getDefaultScheduleValue | ( | ) |
Definition at line 130 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::getDescription | ( | ) |
Definition at line 97 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
ilMailCronOrphanedMails::getId | ( | ) |
Definition at line 86 of file class.ilMailCronOrphanedMails.php.
Referenced by ping().
ilMailCronOrphanedMails::getTitle | ( | ) |
Definition at line 91 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
ilMailCronOrphanedMails::getValidScheduleTypes | ( | ) |
Definition at line 113 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasAutoActivation | ( | ) |
Definition at line 103 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasCustomSettings | ( | ) |
Definition at line 135 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasFlexibleSchedule | ( | ) |
Definition at line 108 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 45 of file class.ilMailCronOrphanedMails.php.
References $DIC, ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by addCustomSettingsToForm(), getDescription(), getTitle(), processDeletion(), processNotification(), run(), and saveCustomSettings().
ilMailCronOrphanedMails::ping | ( | ) |
Definition at line 218 of file class.ilMailCronOrphanedMails.php.
References getId().
|
private |
Definition at line 267 of file class.ilMailCronOrphanedMails.php.
References init().
Referenced by run().
|
private |
Definition at line 254 of file class.ilMailCronOrphanedMails.php.
References init(), ILIAS\Repository\int(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\Notifier\send(), and ILIAS\Repository\settings().
Referenced by run().
ilMailCronOrphanedMails::run | ( | ) |
Definition at line 223 of file class.ilMailCronOrphanedMails.php.
References ilLoggerFactory\getLogger(), init(), ILIAS\Repository\int(), processDeletion(), processNotification(), ILIAS\Repository\settings(), and ilCronJobResult\STATUS_OK.
ilMailCronOrphanedMails::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 189 of file class.ilMailCronOrphanedMails.php.
References emptyStringOrFloatOrIntToEmptyOrIntegerString(), ilPropertyFormGUI\getInput(), ilLoggerFactory\getLogger(), init(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
|
private |
Definition at line 43 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 40 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 36 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 42 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 38 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 37 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 39 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 41 of file class.ilMailCronOrphanedMails.php.