ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
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_id |
bool | $has_badges = false |
Definition at line 21 of file class.ilBadgeDefinitionProcessor.php.
ilBadgeDefinitionProcessor::__construct | ( | \ilDBInterface | $db | ) |
ilBadgeDefinitionProcessor::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 38 of file class.ilBadgeDefinitionProcessor.php.
ilBadgeDefinitionProcessor::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 50 of file class.ilBadgeDefinitionProcessor.php.
References ilBadgeHandler\updateFromXML().
ilBadgeDefinitionProcessor::endComponent | ( | string | $component, |
string | $type | ||
) |
This method is called when parsing of component.xml for the given component ends.
Implements ilComponentDefinitionProcessor.
Definition at line 44 of file class.ilBadgeDefinitionProcessor.php.
ilBadgeDefinitionProcessor::endTag | ( | string | $name | ) |
This is called when a tag ends in the context of the given component.
Implements ilComponentDefinitionProcessor.
Definition at line 71 of file class.ilBadgeDefinitionProcessor.php.
ilBadgeDefinitionProcessor::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 32 of file class.ilBadgeDefinitionProcessor.php.
References ilBadgeHandler\getInstance().
|
protected |
Definition at line 24 of file class.ilBadgeDefinitionProcessor.php.
|
protected |
Definition at line 23 of file class.ilBadgeDefinitionProcessor.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilBadgeDefinitionProcessor.php.