ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
getId () | |
Get id. | |
getTitle () | |
Get title. | |
getDescription () | |
Get description. | |
getDefaultScheduleType () | |
Get schedule type. | |
getDefaultScheduleValue () | |
Get schedule value. | |
hasAutoActivation () | |
Is to be activated on "installation". | |
hasFlexibleSchedule () | |
Can the schedule be configured? | |
hasCustomSettings () | |
Has cron job any custom setting which can be edited? | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
Add custom settings to form. | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
Save custom settings. | |
Public Member Functions inherited from ilCronJob | |
isActive ($a_ts_last_run, $a_schedule_type, $a_schedule_value, $a_manual=false) | |
Is job currently active? | |
getScheduleType () | |
Get current schedule type (if flexible) | |
getScheduleValue () | |
Get current schedule value (if flexible) | |
setSchedule ($a_type, $a_value) | |
Update current schedule (if flexible) | |
getValidScheduleTypes () | |
Get all available schedule types. | |
isManuallyExecutable () | |
Defines whether or not a cron job can be started manually. | |
addToExternalSettingsForm ($a_form_id, array &$a_fields, $a_is_active) | |
Add external settings to form. | |
activationWasToggled ($a_currently_active) | |
Cron job status was changed. | |
run () | |
Run job. |
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 $ilSetting.
ilCronDeleteInactiveUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Add custom settings to form.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 218 of file class.ilCronDeleteInactiveUserAccounts.php.
References $ilSetting, $lng, ilPropertyFormGUI\addItem(), DEFAULT_INACTIVITY_PERIOD, ilPropertyFormGUI\getItemByPostVar(), and ilFormPropertyGUI\setInfo().
|
protected |
Definition at line 196 of file class.ilCronDeleteInactiveUserAccounts.php.
References ilCronManager\getCronJobData(), getId(), and getTimeDifferenceBySchedule().
ilCronDeleteInactiveUserAccounts::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 106 of file class.ilCronDeleteInactiveUserAccounts.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
ilCronDeleteInactiveUserAccounts::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 111 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 99 of file class.ilCronDeleteInactiveUserAccounts.php.
References $lng.
ilCronDeleteInactiveUserAccounts::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 87 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by calculateDeletionData().
|
protected |
$schedule_time | |
$multiplier |
Definition at line 54 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 | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 92 of file class.ilCronDeleteInactiveUserAccounts.php.
References $lng.
ilCronDeleteInactiveUserAccounts::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 116 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 126 of file class.ilCronDeleteInactiveUserAccounts.php.
ilCronDeleteInactiveUserAccounts::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 121 of file class.ilCronDeleteInactiveUserAccounts.php.
|
protected |
Definition at line 380 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by saveCustomSettings().
ilCronDeleteInactiveUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Save custom settings.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 284 of file class.ilCronDeleteInactiveUserAccounts.php.
References $_POST, $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.
Referenced by addCustomSettingsToForm().
const ilCronDeleteInactiveUserAccounts::DEFAULT_REMINDER_PERIOD = 0 |
Definition at line 20 of file class.ilCronDeleteInactiveUserAccounts.php.