3declare(strict_types=1);
22 protected \ilDBInterface
$db;
36 $this->component_id =
null;
41 $this->component_id =
null;
46 if (
$name ===
"module" ||
$name ===
"service") {
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;
static getInstanceByGroupId(int $a_group_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends.
endTag(string $name)
This is called when a tag ends in the context of the given component.
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
__construct(\ilDBInterface $db)
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....