19 declare(strict_types=1);
44 public function endComponent(
string $component,
string $type): void
46 $this->component =
null;
49 public function beginTag(
string $name, array $attributes): void
51 if ($name !==
"event") {
55 $component = $attributes[
"component"] ??
null;
62 "type" => $attributes[
"type"],
63 "type_specification" => $attributes[
"id"]
68 $this->data[] = $event;
72 public function endTag(
string $name): void
78 return in_array($event, $this->data,
true);
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i.e.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
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.
hasDataEntryForEvent($event)