|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilCmiXapiDelCron. More...
Inheritance diagram for ilCmiXapiDelCron:
Collaboration diagram for ilCmiXapiDelCron:Public Member Functions | |
| __construct () | |
| getId () | |
| getTitle () | |
| getDescription () | |
| hasAutoActivation () | |
| @inheritdoc More... | |
| hasFlexibleSchedule () | |
| @inheritdoc More... | |
| getDefaultScheduleType () | |
| getDefaultScheduleValue () | |
| run () | |
Public Member Functions inherited from ILIAS\Cron\CronJob | |
| 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 () | |
Data Fields | |
| const | JOB_ID = 'xapi_deletion_cron' |
Protected Member Functions | |
| hasLrsType () | |
| getLrsType () | |
Protected Attributes | |
| ilCmiXapiLrsType | $lrsType |
| ilCmiXapiDelModel | $model |
| ilLogger | $log |
Protected Attributes inherited from ILIAS\Cron\CronJob | |
| JobScheduleType | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Private Attributes | |
| ILIAS DI Container | $dic |
Class ilCmiXapiDelCron.
Definition at line 32 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::__construct | ( | ) |
Definition at line 44 of file class.ilCmiXapiDelCron.php.
References $DIC, ilLoggerFactory\getLogger(), and ilCmiXapiDelModel\init().
Here is the call graph for this function:| ilCmiXapiDelCron::getDefaultScheduleType | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 96 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::getDefaultScheduleValue | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 101 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::getDescription | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 75 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::getId | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 65 of file class.ilCmiXapiDelCron.php.
References JOB_ID.
|
protected |
Definition at line 111 of file class.ilCmiXapiDelCron.php.
References $lrsType.
Referenced by hasLrsType().
Here is the caller graph for this function:| ilCmiXapiDelCron::getTitle | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 70 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::hasAutoActivation | ( | ) |
@inheritdoc
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 83 of file class.ilCmiXapiDelCron.php.
| ilCmiXapiDelCron::hasFlexibleSchedule | ( | ) |
@inheritdoc
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 91 of file class.ilCmiXapiDelCron.php.
|
protected |
Definition at line 106 of file class.ilCmiXapiDelCron.php.
References getLrsType().
Here is the call graph for this function:| ilCmiXapiDelCron::run | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 116 of file class.ilCmiXapiDelCron.php.
References $DIC, $objId, ilCmiXapiStatementsDeleteRequest\DELETE_SCOPE_ALL, and ilCmiXapiStatementsDeleteRequest\DELETE_SCOPE_OWN.
|
private |
Definition at line 42 of file class.ilCmiXapiDelCron.php.
|
protected |
Definition at line 40 of file class.ilCmiXapiDelCron.php.
|
protected |
Definition at line 36 of file class.ilCmiXapiDelCron.php.
Referenced by getLrsType().
|
protected |
Definition at line 38 of file class.ilCmiXapiDelCron.php.
| const ilCmiXapiDelCron::JOB_ID = 'xapi_deletion_cron' |
Definition at line 34 of file class.ilCmiXapiDelCron.php.
Referenced by getId().