Creates message groups from the TranslatePostInitGroupsHook. More...
Public Member Functions | |
__construct (HookRunner $hookRunner) | |
getCacheKey () | |
getCacheVersion () | |
getDependencies () | |
getData (IReadableDatabase $db) | |
createGroups ( $data) | |
Creates message groups from the TranslatePostInitGroupsHook.
Definition at line 17 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::__construct | ( | HookRunner | $hookRunner | ) |
Definition at line 22 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::createGroups | ( | $data | ) |
mixed | $data | Data returned by getData() |
Implements MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory.
Definition at line 56 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::getCacheKey | ( | ) |
Implements MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory.
Definition at line 26 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::getCacheVersion | ( | ) |
Implements MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory.
Definition at line 30 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::getData | ( | IReadableDatabase | $db | ) |
Implements MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory.
Definition at line 38 of file HookDefinedMessageGroupFactory.php.
MediaWiki\Extension\Translate\MessageGroupConfiguration\HookDefinedMessageGroupFactory::getDependencies | ( | ) |
Implements MediaWiki\Extension\Translate\MessageGroupProcessing\CachedMessageGroupFactory.
Definition at line 34 of file HookDefinedMessageGroupFactory.php.