ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
getId () | |
getTitle () | |
getDescription () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
hasAutoActivation () | |
hasFlexibleSchedule () | |
hasCustomSettings () | |
run () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
![]() | |
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 | 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 | |
![]() | |
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 $DIC, and $ilSetting.
ilCronDeleteInactivatedUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 139 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $DIC, $ilSetting, $lng, ilPropertyFormGUI\addItem(), ilNumberInputGUI\allowDecimals(), and ilFormPropertyGUI\setInfo().
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleType | ( | ) |
Definition at line 72 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleValue | ( | ) |
Definition at line 77 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getDescription | ( | ) |
Definition at line 60 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $DIC, $lng, and $period.
ilCronDeleteInactivatedUserAccounts::getId | ( | ) |
Definition at line 46 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getTitle | ( | ) |
Definition at line 51 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasAutoActivation | ( | ) |
Definition at line 82 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasCustomSettings | ( | ) |
Definition at line 92 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasFlexibleSchedule | ( | ) |
Definition at line 87 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::run | ( | ) |
Definition at line 97 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $DIC, $result, $user, ilObjUser\_getUserIdsByInactivationPeriod(), ilObjectFactory\getInstanceByObjId(), ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
ilCronDeleteInactivatedUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 195 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $_POST, $DIC, and $ilSetting.
|
private |
Definition at line 20 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 18 of file class.ilCronDeleteInactivatedUserAccounts.php.
Referenced by getDescription().
const ilCronDeleteInactivatedUserAccounts::DEFAULT_INACTIVITY_PERIOD = 365 |
Definition at line 16 of file class.ilCronDeleteInactivatedUserAccounts.php.