ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
getId () | |
getTitle () | |
getDescription () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
hasAutoActivation () | |
Is to be activated on "installation", does only work for ILIAS core cron jobs. More... | |
hasFlexibleSchedule () | |
hasCustomSettings () | |
run () | |
addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
saveCustomSettings (ilPropertyFormGUI $a_form) | |
![]() | |
setDateTimeProvider (?\Closure $date_time_provider) | |
isDue (?\DateTimeImmutable $last_run, ?JobScheduleType $schedule_type, ?int $schedule_value, bool $is_manually_executed=false) | |
getScheduleType () | |
Get current schedule type (if flexible) More... | |
getScheduleValue () | |
Get current schedule value (if flexible) More... | |
setSchedule (?JobScheduleType $a_type, ?int $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... | |
isManuallyExecutable () | |
hasCustomSettings () | |
usesLegacyForms () | |
getCustomConfigurationInput (\ILIAS\UI\Factory $ui_factory, \ILIAS\Refinery\Factory $factory, \ilLanguage $lng) | |
addCustomSettingsToForm (\ilPropertyFormGUI $a_form) | |
saveCustomConfiguration (mixed $form_data) | |
saveCustomSettings (\ilPropertyFormGUI $a_form) | |
addToExternalSettingsForm (int $a_form_id, array &$a_fields, bool $a_is_active) | |
activationWasToggled (\ilDBInterface $db, \ilSetting $setting, bool $a_currently_active) | |
Important: This method is (also) called from the setup process, where the constructor of an ilCronJob ist NOT executed. More... | |
getId () | |
getTitle () | |
getDescription () | |
hasAutoActivation () | |
Is to be activated on "installation", does only work for ILIAS core cron jobs. More... | |
hasFlexibleSchedule () | |
getDefaultScheduleType () | |
getDefaultScheduleValue () | |
run () | |
Private Attributes | |
const | DEFAULT_INACTIVITY_PERIOD = 365 |
int | $period |
array | $include_roles |
ilSetting | $settings |
Language | $lng |
ilRbacReview | $rbac_review |
ilObjectDataCache | $objectDataCache |
ILIAS HTTP GlobalHttpState | $http |
ILIAS Refinery Factory | $refinery |
Additional Inherited Members | |
![]() | |
JobScheduleType | $schedule_type = null |
int | $schedule_value = null |
Closure | $date_time_provider = null |
Definition at line 31 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 164 of file class.ilCronDeleteInactivatedUserAccounts.php.
References ilPropertyFormGUI\addItem(), ANONYMOUS_ROLE_ID, ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), and ILIAS\Repository\settings().
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleType | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 107 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getDefaultScheduleValue | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 112 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getDescription | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 99 of file class.ilCronDeleteInactivatedUserAccounts.php.
References ILIAS\Repository\lng().
ilCronDeleteInactivatedUserAccounts::getId | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 89 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::getTitle | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 94 of file class.ilCronDeleteInactivatedUserAccounts.php.
References ILIAS\Repository\lng().
ilCronDeleteInactivatedUserAccounts::hasAutoActivation | ( | ) |
Is to be activated on "installation", does only work for ILIAS core cron jobs.
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 117 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasCustomSettings | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 127 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::hasFlexibleSchedule | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 122 of file class.ilCronDeleteInactivatedUserAccounts.php.
ilCronDeleteInactivatedUserAccounts::run | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 132 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $counter, ilObjUser\_getUserIdsByInactivationPeriod(), ANONYMOUS_USER_ID, ilObjectFactory\getInstanceByObjId(), and SYSTEM_USER_ID.
ilCronDeleteInactivatedUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 206 of file class.ilCronDeleteInactivatedUserAccounts.php.
References $period, ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
|
private |
Definition at line 41 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 36 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 38 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 40 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 34 of file class.ilCronDeleteInactivatedUserAccounts.php.
Referenced by saveCustomSettings().
|
private |
Definition at line 39 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 42 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 37 of file class.ilCronDeleteInactivatedUserAccounts.php.
|
private |
Definition at line 33 of file class.ilCronDeleteInactivatedUserAccounts.php.