|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 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 | 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 ILIAS\Cron\CronJob | |
| JobScheduleType | $schedule_type = null |
| int | $schedule_value = null |
| Closure | $date_time_provider = null |
Private Attributes | |
| ILIAS DI Container | $dic |
Definition at line 34 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::__construct | ( | ) |
Definition at line 46 of file class.ilXapiResultsCronjob.php.
References $DIC, ilLoggerFactory\getLogger(), initThisRunTS(), and readLastRunTS().
Here is the call graph for this function:
|
protected |
Definition at line 183 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 ILIAS\Cron\CronJob.
Definition at line 112 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getDefaultScheduleValue | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 117 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getDescription | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 97 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getId | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 87 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::getLastRunTS | ( | ) |
Definition at line 82 of file class.ilXapiResultsCronjob.php.
References $lastRunTS.
|
protected |
Definition at line 205 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 77 of file class.ilXapiResultsCronjob.php.
References $thisRunTS.
Referenced by run().
Here is the caller graph for this function:| ilXapiResultsCronjob::getTitle | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 92 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 163 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 ILIAS\Cron\CronJob.
Definition at line 102 of file class.ilXapiResultsCronjob.php.
| ilXapiResultsCronjob::hasFlexibleSchedule | ( | ) |
Reimplemented from ILIAS\Cron\CronJob.
Definition at line 107 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 59 of file class.ilXapiResultsCronjob.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 64 of file class.ilXapiResultsCronjob.php.
References 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 ILIAS\Cron\CronJob.
Definition at line 122 of file class.ilXapiResultsCronjob.php.
References $objId, buildReportFilter(), ilObjectFactory\getInstanceByObjId(), getObjectsToBeReported(), getThisRunTS(), getXapiStatementsReport(), IL_CAL_UNIX, ilObjCmiXapi\LAUNCH_MODE_NORMAL, ilCmiXapiUser\updateFetchedUntilForObjects(), and writeThisAsLastRunTS().
Here is the call graph for this function:
|
protected |
Definition at line 71 of file class.ilXapiResultsCronjob.php.
Referenced by run().
Here is the caller graph for this function:
|
private |
Definition at line 44 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 40 of file class.ilXapiResultsCronjob.php.
Referenced by getLastRunTS().
|
protected |
Definition at line 42 of file class.ilXapiResultsCronjob.php.
|
protected |
Definition at line 38 of file class.ilXapiResultsCronjob.php.
Referenced by getThisRunTS().
| const ilXapiResultsCronjob::LAST_RUN_TS_SETTING_NAME = 'cron_xapi_res_eval_last_run' |
Definition at line 36 of file class.ilXapiResultsCronjob.php.