|
ILIAS
release_8 Revision v8.24
|
Delete orphaned mails. More...
Inheritance diagram for ilMailCronOrphanedMails:
Collaboration diagram for ilMailCronOrphanedMails:Public Member Functions | |
| getId () | |
| getTitle () | |
| getDescription () | |
| hasAutoActivation () | |
| Is to be activated on "installation", does only work for ILIAS core cron jobs. More... | |
| hasFlexibleSchedule () | |
| getValidScheduleTypes () | |
| Returns a collection of all valid schedule types for a specific job. More... | |
| 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, ?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 | |
Data Fields inherited from ilCronJob | |
| const | SCHEDULE_TYPE_DAILY = 1 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_MINUTES = 2 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_HOURS = 3 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_DAYS = 4 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_WEEKLY = 5 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_MONTHLY = 6 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_QUARTERLY = 7 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_YEARLY = 8 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
Protected Attributes inherited from ilCronJob | |
| 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 | ) |
Reimplemented from ilCronJob.
Definition at line 140 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 63 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 | ( | ) |
Reimplemented from ilCronJob.
Definition at line 125 of file class.ilMailCronOrphanedMails.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
| ilMailCronOrphanedMails::getDefaultScheduleValue | ( | ) |
Reimplemented from ilCronJob.
Definition at line 130 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::getDescription | ( | ) |
Reimplemented from ilCronJob.
Definition at line 97 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilMailCronOrphanedMails::getId | ( | ) |
Reimplemented from ilCronJob.
Definition at line 86 of file class.ilMailCronOrphanedMails.php.
Referenced by ping().
Here is the caller graph for this function:| ilMailCronOrphanedMails::getTitle | ( | ) |
Reimplemented from ilCronJob.
Definition at line 91 of file class.ilMailCronOrphanedMails.php.
References init(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilMailCronOrphanedMails::getValidScheduleTypes | ( | ) |
Returns a collection of all valid schedule types for a specific job.
Reimplemented from ilCronJob.
Definition at line 113 of file class.ilMailCronOrphanedMails.php.
References ilCronJob\SCHEDULE_TYPE_DAILY, ilCronJob\SCHEDULE_TYPE_IN_DAYS, ilCronJob\SCHEDULE_TYPE_MONTHLY, ilCronJob\SCHEDULE_TYPE_QUARTERLY, ilCronJob\SCHEDULE_TYPE_WEEKLY, and ilCronJob\SCHEDULE_TYPE_YEARLY.
| ilMailCronOrphanedMails::hasAutoActivation | ( | ) |
Is to be activated on "installation", does only work for ILIAS core cron jobs.
Reimplemented from ilCronJob.
Definition at line 103 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::hasCustomSettings | ( | ) |
Reimplemented from ilCronJob.
Definition at line 135 of file class.ilMailCronOrphanedMails.php.
| ilMailCronOrphanedMails::hasFlexibleSchedule | ( | ) |
Reimplemented from ilCronJob.
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailCronOrphanedMails::ping | ( | ) |
Definition at line 218 of file class.ilMailCronOrphanedMails.php.
References getId().
Here is the call graph for this function:
|
private |
Definition at line 267 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 254 of file class.ilMailCronOrphanedMails.php.
References init(), 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 | ( | ) |
Reimplemented from ilCronJob.
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.
Here is the call graph for this function:| ilMailCronOrphanedMails::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Reimplemented from ilCronJob.
Definition at line 189 of file class.ilMailCronOrphanedMails.php.
References emptyStringOrFloatOrIntToEmptyOrIntegerString(), ilPropertyFormGUI\getInput(), ilLoggerFactory\getLogger(), init(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
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.