|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Delete orphaned mails. More...
Inheritance diagram for ilMailCronOrphanedMails:
Collaboration diagram for ilMailCronOrphanedMails:Public Member Functions | |
| getId () | |
| getTitle () | |
| getDescription () | |
| hasAutoActivation () | |
| hasFlexibleSchedule () | |
| getValidScheduleTypes () | |
| getDefaultScheduleType () | |
| getDefaultScheduleValue () | |
| hasCustomSettings () | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
| ping () | |
| run () | |
Public Member Functions inherited from ilCronJob | |
| setDateTimeProvider (?Closure $date_time_provider) | |
| isDue (?DateTimeImmutable $last_run, ?CronJobScheduleType $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 (?CronJobScheduleType $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 | |
Protected Attributes inherited from ilCronJob | |
| CronJobScheduleType | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Delete orphaned mails.
Definition at line 35 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 141 of file class.ilMailCronOrphanedMails.php.
References ilPropertyFormGUI\addItem(), emptyStringOrFloatOrIntToEmptyOrIntegerString(), ILIAS\FileDelivery\http(), init(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 64 of file class.ilMailCronOrphanedMails.php.
References ILIAS\Repository\refinery().
Referenced by addCustomSettingsToForm(), and saveCustomSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailCronOrphanedMails::getDefaultScheduleType | ( | ) |
Definition at line 126 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::getDefaultScheduleValue | ( | ) |
Definition at line 131 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::getDescription | ( | ) |
Definition at line 98 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilMailCronOrphanedMails::getId | ( | ) |
Definition at line 87 of file class.ilMailCronOrphanedMails.php.
Referenced by ping().
Here is the caller graph for this function:| ilMailCronOrphanedMails::getTitle | ( | ) |
Definition at line 92 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilMailCronOrphanedMails::getValidScheduleTypes | ( | ) |
Definition at line 114 of file class.ilMailCronOrphanedMails.php.
References ILIAS\Cron\Schedule\SCHEDULE_TYPE_YEARLY.
| ilMailCronOrphanedMails::hasAutoActivation | ( | ) |
Definition at line 104 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::hasCustomSettings | ( | ) |
Definition at line 136 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::hasFlexibleSchedule | ( | ) |
Definition at line 109 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 46 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailCronOrphanedMails::ping | ( | ) |
Definition at line 219 of file class.ilMailCronOrphanedMails.php.
References getId().
Here is the call graph for this function:
|
private |
Definition at line 268 of file class.ilMailCronOrphanedMails.php.
References init().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 255 of file class.ilMailCronOrphanedMails.php.
References init(), ILIAS\Repository\int(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\Notifier\send(), and ILIAS\Repository\settings().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailCronOrphanedMails::run | ( | ) |
Definition at line 224 of file class.ilMailCronOrphanedMails.php.
References ilLoggerFactory\getLogger(), init(), ILIAS\Repository\int(), processDeletion(), processNotification(), ILIAS\Repository\settings(), and ilCronJobResult\STATUS_OK.
Here is the call graph for this function:| ilMailCronOrphanedMails::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 190 of file class.ilMailCronOrphanedMails.php.
References emptyStringOrFloatOrIntToEmptyOrIntegerString(), ilPropertyFormGUI\getInput(), ilLoggerFactory\getLogger(), init(), ILIAS\Repository\settings(), ILIAS\Refinery\transform(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 44 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 41 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 37 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 43 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 39 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 38 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 40 of file class.ilMailCronOrphanedMails.php.
|
private |
Definition at line 42 of file class.ilMailCronOrphanedMails.php.