| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 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 | 
| ilLanguage | $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 27 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::addCustomSettingsToForm | ( | ilPropertyFormGUI | $a_form | ) | 
Definition at line 295 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 273 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 245 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 178 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::getDefaultScheduleValue | ( | ) | 
Definition at line 183 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::getDescription | ( | ) | 
Definition at line 173 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Repository\lng().
 Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::getId | ( | ) | 
Definition at line 163 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by calculateDeletionData().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 129 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 168 of file class.ilCronDeleteInactiveUserAccounts.php.
References ILIAS\Repository\lng().
 Here is the call graph for this function:| ilCronDeleteInactiveUserAccounts::hasAutoActivation | ( | ) | 
Definition at line 188 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::hasCustomSettings | ( | ) | 
Definition at line 198 of file class.ilCronDeleteInactiveUserAccounts.php.
| ilCronDeleteInactiveUserAccounts::hasFlexibleSchedule | ( | ) | 
Definition at line 193 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  protected | 
| string | int | $number | 
Definition at line 122 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by saveCustomSettings().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 97 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 203 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 354 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 40 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 48 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 36 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 46 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 39 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 42 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 43 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 49 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 45 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 44 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 47 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 37 of file class.ilCronDeleteInactiveUserAccounts.php.
Referenced by run(), and saveCustomSettings().
      
  | 
  private | 
Definition at line 41 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 34 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.
      
  | 
  private | 
Definition at line 29 of file class.ilCronDeleteInactiveUserAccounts.php.
      
  | 
  private | 
Definition at line 30 of file class.ilCronDeleteInactiveUserAccounts.php.