|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilXapiResultsCronjob:
Collaboration diagram for ilXapiResultsCronjob:Public Member Functions | |
| __construct () | |
| getThisRunTS () | |
| getLastRunTS () | |
| getId () | |
| getTitle () | |
| getDescription () | |
| hasAutoActivation () | |
| Is to be activated on "installation", does only work for ILIAS core cron jobs. More... | |
| hasFlexibleSchedule () | |
| getDefaultScheduleType () | |
| getDefaultScheduleValue () | |
| run () | |
Public Member Functions inherited from ilCronJob | |
| setDateTimeProvider (?Closure $date_time_provider) | |
| isDue (?DateTimeImmutable $last_run, ?int $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 (?int $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 () | |
Data Fields | |
| const | LAST_RUN_TS_SETTING_NAME = 'cron_xapi_res_eval_last_run' |
Data Fields inherited from ilCronJob | |
| const | SCHEDULE_TYPE_DAILY = 1 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_MINUTES = 2 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_HOURS = 3 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_IN_DAYS = 4 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_WEEKLY = 5 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_MONTHLY = 6 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_QUARTERLY = 7 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
| const | SCHEDULE_TYPE_YEARLY = 8 |
| @depracated This will be replaced with an ENUM in ILIAS 9 More... | |
Protected Member Functions | |
| initThisRunTS () | |
| readLastRunTS () | |
| writeThisAsLastRunTS () | |
| getXapiStatementsReport (ilObject $object, ilCmiXapiStatementsReportFilter $filter) | |
| buildReportFilter () | |
| getObjectsToBeReported () | |
Protected Attributes | |
| int | $thisRunTS |
| int | $lastRunTS |
| ilLogger | $log |
Protected Attributes inherited from ilCronJob | |
| int | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Private Attributes | |
| ILIAS DI Container | $dic |
Definition at line 30 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::__construct | ( | ) |
Definition at line 42 of file class.ilXapiResultsCronjob.php.
References $DIC, ilLoggerFactory\getLogger(), initThisRunTS(), and readLastRunTS().
Here is the call graph for this function:
|
protected |
Definition at line 179 of file class.ilXapiResultsCronjob.php.
References ilCmiXapiStatementsReportFilter\getEndDate(), ilCmiXapiStatementsReportFilter\getStartDate(), IL_CAL_DATETIME, IL_CAL_UNIX, ilCmiXapiStatementsReportFilter\setEndDate(), and ilCmiXapiStatementsReportFilter\setStartDate().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXapiResultsCronjob::getDefaultScheduleType | ( | ) |
Reimplemented from ilCronJob.
Definition at line 108 of file class.ilXapiResultsCronjob.php.
References ilCronJob\SCHEDULE_TYPE_DAILY.
| ilXapiResultsCronjob::getDefaultScheduleValue | ( | ) |
Reimplemented from ilCronJob.
Definition at line 113 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getDescription | ( | ) |
Reimplemented from ilCronJob.
Definition at line 93 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getId | ( | ) |
Reimplemented from ilCronJob.
Definition at line 83 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getLastRunTS | ( | ) |
Definition at line 78 of file class.ilXapiResultsCronjob.php.
References $lastRunTS.
|
protected |
Definition at line 201 of file class.ilXapiResultsCronjob.php.
References ilCmiXapiUser\getCmixObjectsHavingUsersMissingProxySuccess(), and ilObjCmiXapi\getObjectsHavingBypassProxyEnabledAndRegisteredUsers().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXapiResultsCronjob::getThisRunTS | ( | ) |
Definition at line 73 of file class.ilXapiResultsCronjob.php.
References $thisRunTS.
Referenced by run().
Here is the caller graph for this function:| ilXapiResultsCronjob::getTitle | ( | ) |
Reimplemented from ilCronJob.
Definition at line 88 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 159 of file class.ilXapiResultsCronjob.php.
Referenced by run().
Here is the caller graph for this function:| ilXapiResultsCronjob::hasAutoActivation | ( | ) |
Is to be activated on "installation", does only work for ILIAS core cron jobs.
Reimplemented from ilCronJob.
Definition at line 98 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::hasFlexibleSchedule | ( | ) |
Reimplemented from ilCronJob.
Definition at line 103 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 55 of file class.ilXapiResultsCronjob.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 60 of file class.ilXapiResultsCronjob.php.
References ILIAS\LTI\ToolProvider\$settings, and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXapiResultsCronjob::run | ( | ) |
Reimplemented from ilCronJob.
Definition at line 118 of file class.ilXapiResultsCronjob.php.
References $objId, buildReportFilter(), ilObjectFactory\getInstanceByObjId(), getObjectsToBeReported(), getThisRunTS(), getXapiStatementsReport(), IL_CAL_UNIX, ilObjCmiXapi\LAUNCH_MODE_NORMAL, ilCronJobResult\STATUS_OK, ilCmiXapiUser\updateFetchedUntilForObjects(), and writeThisAsLastRunTS().
Here is the call graph for this function:
|
protected |
Definition at line 67 of file class.ilXapiResultsCronjob.php.
References ILIAS\LTI\ToolProvider\$settings.
Referenced by run().
Here is the caller graph for this function:
|
private |
Definition at line 40 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 36 of file class.ilXapiResultsCronjob.php.
Referenced by getLastRunTS().
|
protected |
Definition at line 38 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 34 of file class.ilXapiResultsCronjob.php.
Referenced by getThisRunTS().
| const ilXapiResultsCronjob::LAST_RUN_TS_SETTING_NAME = 'cron_xapi_res_eval_last_run' |
Definition at line 32 of file class.ilXapiResultsCronjob.php.