3declare(strict_types=1);
23 $this->component_id =
'';
28 $this->component_id =
'';
33 if (
$name ===
"module" ||
$name ===
"service") {
38 if (
$name !==
"logging") {
42 if ($this->component_id ===
'') {
43 throw new \RuntimeException(
44 "Found $name-tag outside of module or service in {$this->component_id}."
52 if (
$name ===
"module" ||
$name ===
"service") {
53 $this->component_id =
'';
static updateFromXML($a_component_id)
__construct(ilDBInterface $db)
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.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
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.
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....