ILIAS
release_8 Revision v8.19
|
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i.e. More...
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... | |
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.
ilComponentDefinitionProcessor::beginComponent | ( | string | $component, |
string | $type | ||
) |
This method is called when parsing of component.xml for the given component starts.
This is supposed to reset any internal parsing state.
Implemented in ilCronDefinitionProcessor, ilMailTemplateContextDefinitionProcessor, ilComponentInfoDefinitionProcessor, ilObjectDefinitionProcessor, ilBadgeDefinitionProcessor, ilPDFGenerationDefinitionProcessor, ilEventDefinitionProcessor, ilSecurePathDefinitionProcessor, ilSystemCheckDefinitionProcessor, ilCOPageDefinitionProcessor, and ilLoggingDefinitionProcessor.
ilComponentDefinitionProcessor::beginTag | ( | string | $name, |
array | $attributes | ||
) |
This is called when a tag starts in the context of the given component.
string[] | $attributes |
Implemented in ilCronDefinitionProcessor, ilMailTemplateContextDefinitionProcessor, ilComponentInfoDefinitionProcessor, ilObjectDefinitionProcessor, ilBadgeDefinitionProcessor, ilPDFGenerationDefinitionProcessor, ilEventDefinitionProcessor, ilSystemCheckDefinitionProcessor, ilSecurePathDefinitionProcessor, ilCOPageDefinitionProcessor, and ilLoggingDefinitionProcessor.
ilComponentDefinitionProcessor::endComponent | ( | string | $component, |
string | $type | ||
) |
This method is called when parsing of component.xml for the given component ends.
Implemented in ilCronDefinitionProcessor, ilMailTemplateContextDefinitionProcessor, ilComponentInfoDefinitionProcessor, ilObjectDefinitionProcessor, ilBadgeDefinitionProcessor, ilPDFGenerationDefinitionProcessor, ilEventDefinitionProcessor, ilSecurePathDefinitionProcessor, ilSystemCheckDefinitionProcessor, ilCOPageDefinitionProcessor, and ilLoggingDefinitionProcessor.
ilComponentDefinitionProcessor::endTag | ( | string | $name | ) |
This is called when a tag ends in the context of the given component.
Implemented in ilCronDefinitionProcessor, ilObjectDefinitionProcessor, ilComponentInfoDefinitionProcessor, ilMailTemplateContextDefinitionProcessor, ilBadgeDefinitionProcessor, ilSystemCheckDefinitionProcessor, ilCOPageDefinitionProcessor, ilEventDefinitionProcessor, ilSecurePathDefinitionProcessor, ilPDFGenerationDefinitionProcessor, and ilLoggingDefinitionProcessor.
ilComponentDefinitionProcessor::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.
Implemented in ilCronDefinitionProcessor, ilMailTemplateContextDefinitionProcessor, ilComponentInfoDefinitionProcessor, ilPDFGenerationDefinitionProcessor, ilBadgeDefinitionProcessor, ilObjectDefinitionProcessor, ilEventDefinitionProcessor, ilSecurePathDefinitionProcessor, ilSystemCheckDefinitionProcessor, ilCOPageDefinitionProcessor, and ilLoggingDefinitionProcessor.