ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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, ?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 () | |
Private Member Functions | |
init () | |
emptyStringOrFloatOrIntToEmptyOrIntegerString () | |
processNotification () | |
processDeletion () | |
Private Attributes | |
GlobalHttpState | $http |
Refinery | $refinery |
ilLanguage | $lng |
ilSetting | $settings |
ilDBInterface | $db |
ilObjUser | $user |
bool | $initDone = false |
JobManager | $cron_manager |
Additional Inherited Members | |
![]() | |
JobScheduleType | $schedule_type = null |
int | $schedule_value = null |
Closure | $date_time_provider = null |
Delete orphaned mails.
Definition at line 38 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 144 of file class.ilMailCronOrphanedMails.php.
References ilPropertyFormGUI\addItem(), emptyStringOrFloatOrIntToEmptyOrIntegerString(), ILIAS\FileDelivery\http(), init(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), and ILIAS\Repository\settings().
|
private |
Definition at line 67 of file class.ilMailCronOrphanedMails.php.
References null, and ILIAS\Repository\refinery().
Referenced by addCustomSettingsToForm(), and saveCustomSettings().
ilMailCronOrphanedMails::getDefaultScheduleType | ( | ) |
Definition at line 129 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::getDefaultScheduleValue | ( | ) |
Definition at line 134 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::getDescription | ( | ) |
Definition at line 101 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
ilMailCronOrphanedMails::getId | ( | ) |
Definition at line 90 of file class.ilMailCronOrphanedMails.php.
Referenced by ping().
ilMailCronOrphanedMails::getTitle | ( | ) |
Definition at line 95 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
ilMailCronOrphanedMails::getValidScheduleTypes | ( | ) |
Definition at line 117 of file class.ilMailCronOrphanedMails.php.
References ILIAS\Cron\Job\Schedule\YEARLY.
ilMailCronOrphanedMails::hasAutoActivation | ( | ) |
Definition at line 107 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasCustomSettings | ( | ) |
Definition at line 139 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasFlexibleSchedule | ( | ) |
Definition at line 112 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 49 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 222 of file class.ilMailCronOrphanedMails.php.
References getId().
|
private |
Definition at line 271 of file class.ilMailCronOrphanedMails.php.
References init().
Referenced by run().
|
private |
Definition at line 258 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 227 of file class.ilMailCronOrphanedMails.php.
References ilLoggerFactory\getLogger(), init(), ILIAS\Repository\int(), processDeletion(), processNotification(), and ILIAS\Repository\settings().
ilMailCronOrphanedMails::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 193 of file class.ilMailCronOrphanedMails.php.
References emptyStringOrFloatOrIntToEmptyOrIntegerString(), ilPropertyFormGUI\getInput(), ilLoggerFactory\getLogger(), init(), ILIAS\Repository\settings(), ILIAS\Refinery\transform(), and ILIAS\Repository\user().
|
private |
Definition at line 47 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 44 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 40 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 46 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 42 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 41 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 43 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 45 of file class.ilMailCronOrphanedMails.php.