|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilCronJobRepositoryImpl:
Collaboration diagram for ilCronJobRepositoryImpl:Public Member Functions | |
| __construct (ilDBInterface $db, ilSetting $setting, ilLogger $logger, ilComponentRepository $componentRepository, ilComponentFactory $componentFactory) | |
| getJobInstanceById (string $id) | |
| getJobInstance (string $a_id, string $a_component, string $a_class, bool $isCreationContext=false) | |
| getCronJobData ($id=null, bool $withInactiveJobsIncluded=true) | |
| Get cron job configuration/execution data. More... | |
| registerJob (string $a_component, string $a_id, string $a_class, ?string $a_path) | |
| unregisterJob (string $a_component, array $a_xml_job_ids) | |
| createDefaultEntry (ilCronJob $job, string $component, string $class, ?string $path) | |
| getPluginJobs (bool $withOnlyActive=false) | |
| resetJob (ilCronJob $job) | |
| updateJobResult (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, ilCronJobResult $result, bool $wasManualExecution=false) | |
| updateRunInformation (string $jobId, int $runningTimestamp, int $aliveTimestamp) | |
| updateJobSchedule (ilCronJob $job, ?int $scheduleType, ?int $scheduleValue) | |
| activateJob (ilCronJob $job, DateTimeImmutable $when, ?ilObjUser $actor=null, bool $wasManuallyExecuted=false) | |
| deactivateJob (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false) | |
| findAll () | |
Public Member Functions inherited from ilCronJobRepository | |
| getJobInstanceById (string $id) | |
| getJobInstance (string $a_id, string $a_component, string $a_class, bool $isCreationContext=false) | |
| getCronJobData ($id=null, bool $withInactiveJobsIncluded=true) | |
| Get cron job configuration/execution data. More... | |
| registerJob (string $a_component, string $a_id, string $a_class, ?string $a_path) | |
| unregisterJob (string $a_component, array $a_xml_job_ids) | |
| createDefaultEntry (ilCronJob $job, string $component, string $class, ?string $path) | |
| getPluginJobs (bool $withOnlyActive=false) | |
| resetJob (ilCronJob $job) | |
| updateJobResult (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, ilCronJobResult $result, bool $wasManualExecution=false) | |
| updateRunInformation (string $jobId, int $runningTimestamp, int $aliveTimestamp) | |
| updateJobSchedule (ilCronJob $job, ?int $scheduleType, ?int $scheduleValue) | |
| activateJob (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false) | |
| deactivateJob (ilCronJob $job, DateTimeImmutable $when, ilObjUser $actor, bool $wasManuallyExecuted=false) | |
| findAll () | |
Private Attributes | |
| const | TYPE_PLUGINS = 'Plugins' |
| ilDBInterface | $db |
| ilSetting | $setting |
| ilLogger | $logger |
| ilComponentRepository | $componentRepository |
| ilComponentFactory | $componentFactory |
Definition at line 21 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::__construct | ( | ilDBInterface | $db, |
| ilSetting | $setting, | ||
| ilLogger | $logger, | ||
| ilComponentRepository | $componentRepository, | ||
| ilComponentFactory | $componentFactory | ||
| ) |
Definition at line 31 of file class.ilCronJobRepositoryImpl.php.
References $componentFactory, $componentRepository, $db, $logger, $setting, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilCronJobRepositoryImpl::activateJob | ( | ilCronJob | $job, |
| DateTimeImmutable | $when, | ||
| ?ilObjUser | $actor = null, |
||
| bool | $wasManuallyExecuted = false |
||
| ) |
Definition at line 358 of file class.ilCronJobRepositoryImpl.php.
References ilObject\getId().
Here is the call graph for this function:| ilCronJobRepositoryImpl::createDefaultEntry | ( | ilCronJob | $job, |
| string | $component, | ||
| string | $class, | ||
| ?string | $path | ||
| ) |
Implements ilCronJobRepository.
Definition at line 201 of file class.ilCronJobRepositoryImpl.php.
References $path, and ilCronJob\getId().
Referenced by getJobInstanceById().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronJobRepositoryImpl::deactivateJob | ( | ilCronJob | $job, |
| DateTimeImmutable | $when, | ||
| ilObjUser | $actor, | ||
| bool | $wasManuallyExecuted = false |
||
| ) |
Implements ilCronJobRepository.
Definition at line 378 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::findAll | ( | ) |
Implements ilCronJobRepository.
Definition at line 399 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::getCronJobData | ( | $id = null, |
|
| bool | $withInactiveJobsIncluded = true |
||
| ) |
Get cron job configuration/execution data.
| array | string | null | $id | |
| bool | $withInactiveJobsIncluded |
Implements ilCronJobRepository.
Definition at line 123 of file class.ilCronJobRepositoryImpl.php.
References $id, $query, and $res.
Referenced by getJobInstanceById().
Here is the caller graph for this function:| ilCronJobRepositoryImpl::getJobInstance | ( | string | $a_id, |
| string | $a_component, | ||
| string | $a_class, | ||
| bool | $isCreationContext = false |
||
| ) |
Implements ilCronJobRepository.
Definition at line 95 of file class.ilCronJobRepositoryImpl.php.
References ilCronJob\getId().
Referenced by getJobInstanceById().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCronJobRepositoryImpl::getJobInstanceById | ( | string | $id | ) |
Implements ilCronJobRepository.
Definition at line 45 of file class.ilCronJobRepositoryImpl.php.
References Vendor\Package\$e, $id, $parts, XapiProxy\$plugin, createDefaultEntry(), getCronJobData(), getJobInstance(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilCronJobRepositoryImpl::getPluginJobs | ( | bool | $withOnlyActive = false | ) |
| bool | $withOnlyActive |
Implements ilCronJobRepository.
Definition at line 271 of file class.ilCronJobRepositoryImpl.php.
References XapiProxy\$plugin, and $res.
| ilCronJobRepositoryImpl::registerJob | ( | string | $a_component, |
| string | $a_id, | ||
| string | $a_class, | ||
| ?string | $a_path | ||
| ) |
Implements ilCronJobRepository.
Definition at line 155 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::resetJob | ( | ilCronJob | $job | ) |
Implements ilCronJobRepository.
Definition at line 306 of file class.ilCronJobRepositoryImpl.php.
References ilCronJob\getId().
Here is the call graph for this function:| ilCronJobRepositoryImpl::unregisterJob | ( | string | $a_component, |
| array | $a_xml_job_ids | ||
| ) |
Implements ilCronJobRepository.
Definition at line 171 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::updateJobResult | ( | ilCronJob | $job, |
| DateTimeImmutable | $when, | ||
| ilObjUser | $actor, | ||
| ilCronJobResult | $result, | ||
| bool | $wasManualExecution = false |
||
| ) |
Implements ilCronJobRepository.
Definition at line 315 of file class.ilCronJobRepositoryImpl.php.
| ilCronJobRepositoryImpl::updateJobSchedule | ( | ilCronJob | $job, |
| ?int | $scheduleType, | ||
| ?int | $scheduleValue | ||
| ) |
Implements ilCronJobRepository.
Definition at line 344 of file class.ilCronJobRepositoryImpl.php.
References $query, ilCronJob\getId(), ilCronJob\getValidScheduleTypes(), and ilCronJob\hasFlexibleSchedule().
Here is the call graph for this function:| ilCronJobRepositoryImpl::updateRunInformation | ( | string | $jobId, |
| int | $runningTimestamp, | ||
| int | $aliveTimestamp | ||
| ) |
Implements ilCronJobRepository.
Definition at line 336 of file class.ilCronJobRepositoryImpl.php.
|
private |
Definition at line 29 of file class.ilCronJobRepositoryImpl.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilCronJobRepositoryImpl.php.
Referenced by __construct().
|
private |
Definition at line 25 of file class.ilCronJobRepositoryImpl.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilCronJobRepositoryImpl.php.
Referenced by __construct().
|
private |
Definition at line 26 of file class.ilCronJobRepositoryImpl.php.
Referenced by __construct().
|
private |
Definition at line 23 of file class.ilCronJobRepositoryImpl.php.