ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
getId () | |
getTitle () | |
getDescription () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
hasCustomSettings () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Public Member Functions inherited from ilCronJob | |
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... | |
Data Fields | |
const | DEFAULT_INACTIVITY_PERIOD = 365 |
const | DEFAULT_REMINDER_PERIOD = 0 |
Data Fields inherited from ilCronJob | |
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 |
Protected Member Functions | |
getTimeDifferenceBySchedule ($schedule_time, $multiplier) | |
calculateDeletionData ($date_for_deletion) | |
isDecimal ($number) | |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) | |
Private Attributes | |
$period = null | |
$reminderTimer = null | |
$include_roles = null | |
Definition at line 17 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::__construct | ( | ) |
Definition at line 26 of file class.ilCronDeleteInactiveUserAccounts.php.
References $DIC, and $ilSetting.
ilCronDeleteInactiveUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 219 of file class.ilCronDeleteInactiveUserAccounts.php.
References $DIC, $ilSetting, $lng, ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getItemByPostVar(), and ilFormPropertyGUI\setInfo().
|
protected |
Definition at line 200 of file class.ilCronDeleteInactiveUserAccounts.php.
References ilCronManager\getCronJobData(), getId(), and getTimeDifferenceBySchedule().
Referenced by hasCustomSettings().
ilCronDeleteInactiveUserAccounts::getDefaultScheduleType | ( | ) |
Definition at line 114 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::getDefaultScheduleValue | ( | ) |
Definition at line 119 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::getDescription | ( | ) |
Definition at line 105 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::getId | ( | ) |
Definition at line 91 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by calculateDeletionData().
|
protected |
$schedule_time | |
$multiplier |
Definition at line 59 of file class.ilCronDeleteInactiveUserAccounts.php.
References ilCronJob\SCHEDULE_TYPE_DAILY, ilCronJob\SCHEDULE_TYPE_IN_DAYS, ilCronJob\SCHEDULE_TYPE_IN_HOURS, ilCronJob\SCHEDULE_TYPE_IN_MINUTES, ilCronJob\SCHEDULE_TYPE_MONTHLY, ilCronJob\SCHEDULE_TYPE_QUARTERLY, ilCronJob\SCHEDULE_TYPE_WEEKLY, and ilCronJob\SCHEDULE_TYPE_YEARLY.
Referenced by calculateDeletionData().
ilCronDeleteInactiveUserAccounts::getTitle | ( | ) |
Definition at line 96 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::hasAutoActivation | ( | ) |
Definition at line 124 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::hasCustomSettings | ( | ) |
Definition at line 134 of file class.ilCronDeleteInactiveUserAccounts.php.
References $DIC, $ilLog, $result, $user, ilObjUser\_getUserIdsByInactivityPeriod(), calculateDeletionData(), ilCronDeleteInactiveUserReminderMail\checkIfReminderMailShouldBeSend(), ilObjectFactory\getInstanceByObjId(), ilCronDeleteInactiveUserReminderMail\removeEntriesFromTableIfLastLoginIsNewer(), ilCronJob\run(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
ilCronDeleteInactiveUserAccounts::hasFlexibleSchedule | ( | ) |
Definition at line 129 of file class.ilCronDeleteInactiveUserAccounts.php.
|
protected |
Definition at line 373 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by saveCustomSettings().
ilCronDeleteInactiveUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 297 of file class.ilCronDeleteInactiveUserAccounts.php.
References $_POST, $DIC, $ilSetting, $lng, $valid, ilCronDeleteInactiveUserReminderMail\flushDataTable(), ilPropertyFormGUI\getItemByPostVar(), isDecimal(), ilCronJob\SCHEDULE_TYPE_IN_DAYS, ilCronJob\SCHEDULE_TYPE_MONTHLY, ilCronJob\SCHEDULE_TYPE_QUARTERLY, ilCronJob\SCHEDULE_TYPE_WEEKLY, ilCronJob\SCHEDULE_TYPE_YEARLY, ilUtil\sendFailure(), and ilUtil\stripSlashes().
|
private |
Definition at line 24 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 22 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 23 of file class.ilCronDeleteInactiveUserAccounts.php.
const ilCronDeleteInactiveUserAccounts::DEFAULT_INACTIVITY_PERIOD = 365 |
Definition at line 19 of file class.ilCronDeleteInactiveUserAccounts.php.
const ilCronDeleteInactiveUserAccounts::DEFAULT_REMINDER_PERIOD = 0 |
Definition at line 20 of file class.ilCronDeleteInactiveUserAccounts.php.