Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader Class Reference
Inheritance diagram for MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader:
MessageGroupLoader CachedMessageGroupLoader

Public Member Functions

 __construct (IDatabase $db, MessageGroupWANCache $cache)
 
 getGroups ()
 
 getCacheData ()
 
 recache ()
 @inheritDoc
 
 clearCache ()
 @inheritDoc
 
- Public Member Functions inherited from MessageGroupLoader
 isExpired (DependencyWrapper $wrapper)
 Determines if dependencies have expired.
 

Protected Attributes

 $cache
 
 $db
 
 $groups
 

Detailed Description

Since
2021.12
Author
Niklas Laxström

Definition at line 19 of file MessageBundleMessageGroupLoader.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::__construct ( IDatabase $db,
MessageGroupWANCache $cache )

Definition at line 30 of file MessageBundleMessageGroupLoader.php.

Member Function Documentation

◆ clearCache()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::clearCache ( )

@inheritDoc

Implements CachedMessageGroupLoader.

Definition at line 110 of file MessageBundleMessageGroupLoader.php.

◆ getCacheData()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::getCacheData ( )

Definition at line 54 of file MessageBundleMessageGroupLoader.php.

◆ getGroups()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::getGroups ( )
Returns
MessageBundleMessageGroup[]

Reimplemented from MessageGroupLoader.

Definition at line 45 of file MessageBundleMessageGroupLoader.php.

◆ recache()

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::recache ( )

@inheritDoc

Implements CachedMessageGroupLoader.

Definition at line 101 of file MessageBundleMessageGroupLoader.php.

Member Data Documentation

◆ $cache

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::$cache
protected

Definition at line 24 of file MessageBundleMessageGroupLoader.php.

◆ $db

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::$db
protected

Definition at line 26 of file MessageBundleMessageGroupLoader.php.

◆ $groups

MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundleMessageGroupLoader::$groups
protected

Definition at line 28 of file MessageBundleMessageGroupLoader.php.


The documentation for this class was generated from the following file: