|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilXapiResultsCronjob:
Collaboration diagram for ilXapiResultsCronjob:Public Member Functions | |
| __construct () | |
| getThisRunTS () | |
| getLastRunTS () | |
| getId () | |
| getTitle () | |
| getDescription () | |
| hasAutoActivation () | |
| hasFlexibleSchedule () | |
| getDefaultScheduleType () | |
| getDefaultScheduleValue () | |
| run () | |
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 () | |
Data Fields | |
| const | LAST_RUN_TS_SETTING_NAME = 'cron_xapi_res_eval_last_run' |
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 | |
| CronJobScheduleType | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Private Attributes | |
| ILIAS DI Container | $dic |
Definition at line 31 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::__construct | ( | ) |
Definition at line 43 of file class.ilXapiResultsCronjob.php.
References $DIC, ilLoggerFactory\getLogger(), initThisRunTS(), and readLastRunTS().
Here is the call graph for this function:
|
protected |
Definition at line 180 of file class.ilXapiResultsCronjob.php.
References getLastRunTS(), getThisRunTS(), IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXapiResultsCronjob::getDefaultScheduleType | ( | ) |
Definition at line 109 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getDefaultScheduleValue | ( | ) |
Definition at line 114 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getDescription | ( | ) |
Definition at line 94 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getId | ( | ) |
Definition at line 84 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getLastRunTS | ( | ) |
Definition at line 79 of file class.ilXapiResultsCronjob.php.
References $lastRunTS.
Referenced by buildReportFilter().
Here is the caller graph for this function:
|
protected |
Definition at line 202 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 74 of file class.ilXapiResultsCronjob.php.
References $thisRunTS.
Referenced by buildReportFilter(), and run().
Here is the caller graph for this function:| ilXapiResultsCronjob::getTitle | ( | ) |
Definition at line 89 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 160 of file class.ilXapiResultsCronjob.php.
References ilObject\getId(), and ilCmiXapiStatementsReportFilter\setActivityId().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXapiResultsCronjob::hasAutoActivation | ( | ) |
Definition at line 99 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::hasFlexibleSchedule | ( | ) |
Definition at line 104 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 56 of file class.ilXapiResultsCronjob.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 61 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 | ( | ) |
Definition at line 119 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 68 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 41 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 37 of file class.ilXapiResultsCronjob.php.
Referenced by getLastRunTS().
|
protected |
Definition at line 39 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 35 of file class.ilXapiResultsCronjob.php.
Referenced by getThisRunTS().
| const ilXapiResultsCronjob::LAST_RUN_TS_SETTING_NAME = 'cron_xapi_res_eval_last_run' |
Definition at line 33 of file class.ilXapiResultsCronjob.php.