ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
__construct (ilDBInterface $db) | |
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... | |
Protected Attributes | |
ilDBInterface | $db |
string | $component |
bool | $in_mailtemplates = false |
array | $mail_templates = [] |
Definition at line 21 of file class.ilMailTemplateContextDefinitionProcessor.php.
ilMailTemplateContextDefinitionProcessor::__construct | ( | ilDBInterface | $db | ) |
Definition at line 32 of file class.ilMailTemplateContextDefinitionProcessor.php.
References $db.
ilMailTemplateContextDefinitionProcessor::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.
Implements ilComponentDefinitionProcessor.
Definition at line 41 of file class.ilMailTemplateContextDefinitionProcessor.php.
References $component.
ilMailTemplateContextDefinitionProcessor::beginTag | ( | string | $name, |
array | $attributes | ||
) |
This is called when a tag starts in the context of the given component.
string[] | $attributes |
Implements ilComponentDefinitionProcessor.
Definition at line 55 of file class.ilMailTemplateContextDefinitionProcessor.php.
References $component, and ilMailTemplateContextService\insertFromXML().
ilMailTemplateContextDefinitionProcessor::endComponent | ( | string | $component, |
string | $type | ||
) |
This method is called when parsing of component.xml for the given component ends.
Implements ilComponentDefinitionProcessor.
Definition at line 48 of file class.ilMailTemplateContextDefinitionProcessor.php.
ilMailTemplateContextDefinitionProcessor::endTag | ( | string | $name | ) |
This is called when a tag ends in the context of the given component.
Implements ilComponentDefinitionProcessor.
Definition at line 79 of file class.ilMailTemplateContextDefinitionProcessor.php.
References ilMailTemplateContextService\clearFromXml().
ilMailTemplateContextDefinitionProcessor::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.
Implements ilComponentDefinitionProcessor.
Definition at line 37 of file class.ilMailTemplateContextDefinitionProcessor.php.
|
protected |
Definition at line 24 of file class.ilMailTemplateContextDefinitionProcessor.php.
Referenced by beginComponent(), and beginTag().
|
protected |
Definition at line 23 of file class.ilMailTemplateContextDefinitionProcessor.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilMailTemplateContextDefinitionProcessor.php.
|
protected |
Definition at line 30 of file class.ilMailTemplateContextDefinitionProcessor.php.