3 declare(strict_types=1);
22 protected \ilDBInterface
$db;
36 $this->component_id = null;
41 $this->component_id = null;
46 if ($name ===
"module" || $name ===
"service") {
47 $this->component_id = $attributes[
"id"] ?? null;
50 if ($name !==
"systemcheck" || $name !==
"systemcheck_task") {
53 if ($this->component_id === null) {
54 throw new \RuntimeException(
55 "Found $name-tag outside of module or service." 59 if ($name ===
"systemcheck") {
62 if ($name ===
"systemcheck_task") {
65 $tasks->updateFromComponentDefinition((
string) ($attributes[
'identifier'] ??
''));
71 if ($name ===
"module" || $name ===
"service") {
72 $this->component_id = null;
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
static getInstanceByGroupId(int $a_group_id)
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i.e.
endTag(string $name)
This is called when a tag ends in the context of the given component.
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends. ...
__construct(\ilDBInterface $db)
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...