ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilComponentDefinitionProcessor Interface Reference

An ilComponentDefinitionProcessor processes some attributes from a component.xml (i.e. More...

+ Inheritance diagram for ilComponentDefinitionProcessor:
+ Collaboration diagram for ilComponentDefinitionProcessor:

Public Member Functions

 purge ()
 This methods is supposed to purge existing data in the provider of the component, so new components can be added to a clean slate. More...
 
 beginComponent (string $component, string $type)
 This method is called when parsing of component.xml for the given component starts. More...
 
 endComponent (string $component, string $type)
 This method is called when parsing of component.xml for the given component ends. More...
 
 beginTag (string $name, array $attributes)
 This is called when a tag starts in the context of the given component. More...
 
 endTag (string $name)
 This is called when a tag ends in the context of the given component. More...
 

Detailed Description

An ilComponentDefinitionProcessor processes some attributes from a component.xml (i.e.

a service.xml or module.xml) and puts the information into the according places in the provider of the processor.

Make sure to understand that this is used in the context of processing xml via sax-style parsing. That is, the processor needs to act in a stateful session and react on beginning and ending of tags.

Definition at line 30 of file class.ilComponentDefinitionProcessor.php.

Member Function Documentation

◆ beginComponent()

ilComponentDefinitionProcessor::beginComponent ( string  $component,
string  $type 
)

◆ beginTag()

ilComponentDefinitionProcessor::beginTag ( string  $name,
array  $attributes 
)

◆ endComponent()

ilComponentDefinitionProcessor::endComponent ( string  $component,
string  $type 
)

◆ endTag()

◆ purge()

ilComponentDefinitionProcessor::purge ( )

The documentation for this interface was generated from the following file: