ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilComponentDefinitionProcessor.php
Go to the documentation of this file.
1 <?php
19 declare(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 }
$attributes
Definition: metadata.php:248
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.
$type
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends. ...
if($format !==null) $name
Definition: metadata.php:247
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.