|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilCronDeleteInactiveUserAccounts:
Collaboration diagram for ilCronDeleteInactiveUserAccounts:Public Member Functions | |
| getId () | |
| getTitle () | |
| getDescription () | |
| getDefaultScheduleType () | |
| getDefaultScheduleValue () | |
| hasAutoActivation () | |
| hasFlexibleSchedule () | |
| hasCustomSettings () | |
| run () | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| saveCustomSettings (ilPropertyFormGUI $a_form) | |
Public Member Functions inherited from ilCronJob | |
| setDateTimeProvider (?Closure $date_time_provider) | |
| isDue (?DateTimeImmutable $last_run, ?CronJobScheduleType $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 (?CronJobScheduleType $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 () | |
| addCustomSettingsToForm (ilPropertyFormGUI $a_form) | |
| 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 () | |
Protected Member Functions | |
| isDecimal ($number) | |
| getTimeDifferenceBySchedule (CronJobScheduleType $schedule_time, int $multiplier) | |
| calculateDeletionData (int $date_for_deletion) | |
Private Member Functions | |
| loadSettings () | |
| deleteUserOrSendReminderMail ($usr_id) | |
Private Attributes | |
| const | DEFAULT_INACTIVITY_PERIOD = 365 |
| const | DEFAULT_REMINDER_PERIOD = 0 |
| const | ACTION_USER_NONE = 0 |
| const | ACTION_USER_REMINDER_MAIL_SENT = 1 |
| const | ACTION_USER_DELETED = 2 |
| int | $delete_period |
| int | $reminder_period |
| array | $include_roles |
| ilCronDeleteInactiveUserReminderMail | $cron_delete_reminder_mail |
| ilSetting | $settings |
| Language | $lng |
| ilComponentLogger | $log |
| ilRbacReview | $rbac_review |
| ilObjectDataCache | $objectDataCache |
| ILIAS HTTP GlobalHttpState | $http |
| ILIAS Refinery Factory | $refinery |
| ilCronJobRepository | $cronRepository |
| ilGlobalTemplateInterface | $main_tpl |
Additional Inherited Members | |
Protected Attributes inherited from ilCronJob | |
| CronJobScheduleType | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Definition at line 30 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 298 of file class.ilCronDeleteInactiveUserAccounts.php.
References ilPropertyFormGUI\addItem(), ANONYMOUS_ROLE_ID, ilPropertyFormGUI\getItemByPostVar(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), ilFormPropertyGUI\setInfo(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
protected |
Definition at line 276 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), getId(), getTimeDifferenceBySchedule(), and ILIAS\Repository\int().
Referenced by deleteUserOrSendReminderMail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 248 of file class.ilCronDeleteInactiveUserAccounts.php.
References calculateDeletionData(), and ilObjectFactory\getInstanceByObjId().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronDeleteInactiveUserAccounts::getDefaultScheduleType | ( | ) |
Definition at line 181 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::getDefaultScheduleValue | ( | ) |
Definition at line 186 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::getDescription | ( | ) |
Definition at line 176 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::getId | ( | ) |
Definition at line 166 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by calculateDeletionData().
Here is the caller graph for this function:
|
protected |
Definition at line 132 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Cron\Schedule\SCHEDULE_TYPE_YEARLY.
Referenced by calculateDeletionData().
Here is the caller graph for this function:| ilCronDeleteInactiveUserAccounts::getTitle | ( | ) |
Definition at line 171 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::hasAutoActivation | ( | ) |
Definition at line 191 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::hasCustomSettings | ( | ) |
Definition at line 201 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::hasFlexibleSchedule | ( | ) |
Definition at line 196 of file class.ilCronDeleteInactiveUserAccounts.php.
|
protected |
| string | int | $number |
Definition at line 125 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by saveCustomSettings().
Here is the caller graph for this function:
|
private |
Definition at line 100 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Repository\int(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::run | ( | ) |
Definition at line 206 of file class.ilCronDeleteInactiveUserAccounts.php.
References $reminder_period, ANONYMOUS_USER_ID, deleteUserOrSendReminderMail(), ilObjUser\getUserIdsByInactivityPeriod(), ilCronJobResult\STATUS_NO_ACTION, ilCronJobResult\STATUS_OK, and SYSTEM_USER_ID.
Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::saveCustomSettings | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 357 of file class.ilCronDeleteInactiveUserAccounts.php.
References $reminder_period, $valid, ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), ilPropertyFormGUI\getItemByPostVar(), ILIAS\FileDelivery\http(), isDecimal(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Cron\Schedule\SCHEDULE_TYPE_YEARLY, and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 43 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 51 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 39 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 49 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 42 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 45 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 46 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 52 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 48 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 47 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 50 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 40 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by run(), and saveCustomSettings().
|
private |
Definition at line 44 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 37 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 35 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 36 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 32 of file class.ilCronDeleteInactiveUserAccounts.php.
|
private |
Definition at line 33 of file class.ilCronDeleteInactiveUserAccounts.php.