19declare(strict_types=1);
45 $component_repository,
62 $this->component =
null;
66 public function beginTag(
string $name, array $attributes): void
68 if ($name !==
'cron') {
77 $this->job_repository->registerJob(
81 ($attributes[
'path'] ??
null)
84 $this->has_cron[] = $attributes[
'id'];
87 public function endTag(
string $name): void
89 if ($name !==
'module' && $name !==
'service') {
93 $this->job_repository->unregisterJob($this->component, $this->has_cron);
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends.
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
__construct(private readonly \ilDBInterface $db, \ilSetting $setting, \ilComponentRepository $component_repository, \ilComponentFactory $component_factory)
endTag(string $name)
This is called when a tag ends in the context of the given component.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
readonly JobRepository $job_repository
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....
Readable part of repository interface to ilComponentDataDB.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
Class ilChatroomConfigFileHandler \ILIAS\Chatroom\classes.