ILIAS
Release_4_4_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? | |
run () | |
Run job. | |
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. |
Data Fields | |
const | DEFAULT_INACTIVITY_PERIOD = 365 |
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 |
Private Attributes | |
$period = null | |
$include_roles = null |
Additional Inherited Members | |
Protected Member Functions inherited from ilCronJob | |
checkSchedule ($a_ts_last_run, $a_schedule_type, $a_schedule_value) |
Definition at line 14 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::__construct | ( | ) |
Definition at line 22 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $ilSetting.
ilCronDeleteInactivatedUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Add custom settings to form.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 125 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $ilSetting, $lng, ilPropertyFormGUI\addItem(), DEFAULT_INACTIVITY_PERIOD, and ilFormPropertyGUI\setInfo().
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleType | ( | ) |
Get schedule type.
Reimplemented from ilCronJob.
Definition at line 60 of file class.ilCronDeleteInactivatedUserAccounts.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleValue | ( | ) |
Get schedule value.
Reimplemented from ilCronJob.
Definition at line 65 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getDescription | ( | ) |
Get description.
Reimplemented from ilCronJob.
Definition at line 53 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $lng.
ilCronDeleteInactivatedUserAccounts::getId | ( | ) |
Get id.
Reimplemented from ilCronJob.
Definition at line 41 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getTitle | ( | ) |
Get title.
Reimplemented from ilCronJob.
Definition at line 46 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $lng.
ilCronDeleteInactivatedUserAccounts::hasAutoActivation | ( | ) |
Is to be activated on "installation".
Reimplemented from ilCronJob.
Definition at line 70 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasCustomSettings | ( | ) |
Has cron job any custom setting which can be edited?
Reimplemented from ilCronJob.
Definition at line 80 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasFlexibleSchedule | ( | ) |
Can the schedule be configured?
Reimplemented from ilCronJob.
Definition at line 75 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::run | ( | ) |
Run job.
Reimplemented from ilCronJob.
Definition at line 85 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $result, $usr_id, ilObjUser\_getUserIdsByInactivationPeriod(), ilObjectFactory\getInstanceByObjId(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
ilCronDeleteInactivatedUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Save custom settings.
ilPropertyFormGUI | $a_form |
Reimplemented from ilCronJob.
Definition at line 172 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $_POST, and $ilSetting.
|
private |
Definition at line 20 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 18 of file class.ilCronDeleteInactivatedUserAccounts.php.
const ilCronDeleteInactivatedUserAccounts::DEFAULT_INACTIVITY_PERIOD = 365 |
Definition at line 16 of file class.ilCronDeleteInactivatedUserAccounts.php.
Referenced by addCustomSettingsToForm().