ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (protected 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 | |
string | $component = null |
bool | $in_mailtemplates = false |
array | $mail_templates = [] |
Definition at line 21 of file class.ilMailTemplateContextDefinitionProcessor.php.
ilMailTemplateContextDefinitionProcessor::__construct | ( | protected ilDBInterface | $db | ) |
Definition at line 31 of file class.ilMailTemplateContextDefinitionProcessor.php.
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 39 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 53 of file class.ilMailTemplateContextDefinitionProcessor.php.
References $component, ilMailTemplateContextService\insertFromXML(), and null.
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 46 of file class.ilMailTemplateContextDefinitionProcessor.php.
References null.
ilMailTemplateContextDefinitionProcessor::endTag | ( | string | $name | ) |
This is called when a tag ends in the context of the given component.
Implements ilComponentDefinitionProcessor.
Definition at line 77 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 35 of file class.ilMailTemplateContextDefinitionProcessor.php.
|
protected |
Definition at line 23 of file class.ilMailTemplateContextDefinitionProcessor.php.
Referenced by beginComponent(), and beginTag().
|
protected |
Definition at line 24 of file class.ilMailTemplateContextDefinitionProcessor.php.
|
protected |
Definition at line 29 of file class.ilMailTemplateContextDefinitionProcessor.php.