ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Delete orphaned mails. More...
Public Member Functions | |
getId () | |
Get id. More... | |
getTitle () | |
getDescription () | |
hasAutoActivation () | |
Is to be activated on "installation". More... | |
hasFlexibleSchedule () | |
Can the schedule be configured? More... | |
getValidScheduleTypes () | |
getDefaultScheduleType () | |
Get schedule type. More... | |
getDefaultScheduleValue () | |
Get schedule value. More... | |
hasCustomSettings () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
run () | |
Run job. More... | |
![]() | |
isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
Is job currently active? More... | |
getScheduleType () | |
Get current schedule type (if flexible) More... | |
getScheduleValue () | |
Get current schedule value (if flexible) More... | |
setSchedule ($a_type, $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... | |
getTitle () | |
Get title. More... | |
getDescription () | |
Get description. More... | |
isManuallyExecutable () | |
Defines whether or not a cron job can be started manually. More... | |
hasCustomSettings () | |
Has cron job any custom setting which can be edited? More... | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
Add custom settings to form. More... | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Save custom settings. More... | |
addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
Add external settings to form. More... | |
activationWasToggled ($a_currently_active) | |
Cron job status was changed. More... | |
getId () | |
Get id. More... | |
hasAutoActivation () | |
Is to be activated on "installation". More... | |
hasFlexibleSchedule () | |
Can the schedule be configured? More... | |
getDefaultScheduleType () | |
Get schedule type. More... | |
getDefaultScheduleValue () | |
Get schedule value. More... | |
run () | |
Run job. More... | |
Protected Member Functions | |
init () | |
![]() | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Protected Attributes | |
$lng | |
$settings | |
$db | |
$user | |
$initDone = false | |
Private Member Functions | |
processNotification () | |
processDeletion () | |
Additional Inherited Members | |
![]() | |
const | SCHEDULE_TYPE_DAILY = 1 |
const | SCHEDULE_TYPE_IN_MINUTES = 2 |
const | SCHEDULE_TYPE_IN_HOURS = 3 |
const | SCHEDULE_TYPE_IN_DAYS = 4 |
const | SCHEDULE_TYPE_WEEKLY = 5 |
const | SCHEDULE_TYPE_MONTHLY = 6 |
const | SCHEDULE_TYPE_QUARTERLY = 7 |
const | SCHEDULE_TYPE_YEARLY = 8 |
Delete orphaned mails.
Definition at line 14 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
ilPropertyFormGUI | $a_form |
Definition at line 148 of file class.ilMailCronOrphanedMails.php.
References $_POST, ilPropertyFormGUI\addItem(), init(), ilFormPropertyGUI\setInfo(), and settings().
ilMailCronOrphanedMails::getDefaultScheduleType | ( | ) |
ilMailCronOrphanedMails::getDefaultScheduleValue | ( | ) |
Get schedule value.
Definition at line 132 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::getDescription | ( | ) |
Definition at line 80 of file class.ilMailCronOrphanedMails.php.
References init().
ilMailCronOrphanedMails::getId | ( | ) |
ilMailCronOrphanedMails::getTitle | ( | ) |
Definition at line 71 of file class.ilMailCronOrphanedMails.php.
References init().
ilMailCronOrphanedMails::getValidScheduleTypes | ( | ) |
Definition at line 107 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Definition at line 90 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasCustomSettings | ( | ) |
Definition at line 140 of file class.ilMailCronOrphanedMails.php.
ilMailCronOrphanedMails::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Definition at line 99 of file class.ilMailCronOrphanedMails.php.
|
protected |
Definition at line 44 of file class.ilMailCronOrphanedMails.php.
References $DIC, settings(), and user().
Referenced by addCustomSettingsToForm(), getDescription(), getTitle(), processDeletion(), processNotification(), run(), and saveCustomSettings().
|
private |
Definition at line 254 of file class.ilMailCronOrphanedMails.php.
References init().
Referenced by run().
|
private |
Definition at line 239 of file class.ilMailCronOrphanedMails.php.
References init(), ilMailCronOrphanedMailsNotifier\processNotification(), and settings().
Referenced by run().
ilMailCronOrphanedMails::run | ( | ) |
Run job.
Definition at line 209 of file class.ilMailCronOrphanedMails.php.
References $result, ilLoggerFactory\getLogger(), init(), processDeletion(), processNotification(), settings(), and ilCronJobResult\STATUS_OK.
ilMailCronOrphanedMails::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
ilPropertyFormGUI | $a_form |
Definition at line 184 of file class.ilMailCronOrphanedMails.php.
References ilPropertyFormGUI\getInput(), ilLoggerFactory\getLogger(), init(), settings(), and user().
|
protected |
Definition at line 29 of file class.ilMailCronOrphanedMails.php.
|
protected |
Definition at line 39 of file class.ilMailCronOrphanedMails.php.
|
protected |
Definition at line 19 of file class.ilMailCronOrphanedMails.php.
|
protected |
Definition at line 24 of file class.ilMailCronOrphanedMails.php.
|
protected |
Definition at line 34 of file class.ilMailCronOrphanedMails.php.