ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilComponentDefinitionProcessor.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
31{
36 public function purge(): void;
37
44 public function beginComponent(string $component, string $type): void;
45
50 public function endComponent(string $component, string $type): void;
51
57 public function beginTag(string $name, array $attributes): void;
58
62 public function endTag(string $name): void;
63}
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....
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...
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
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.