Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore Class Reference

Store service for looking up and storing status for translatable bundle status. More...

Public Member Functions

 __construct (IDatabase $database, Collation $collation, IMaintainableDatabase $dbMaintenance)
 
 setStatus (Title $title, TranslatableBundleStatus $status, string $bundleType)
 
 getAllWithStatus ()
 Return all bundles in an array with key being page id, value being status.
 
 removeStatus (int ... $pageIds)
 

Detailed Description

Store service for looking up and storing status for translatable bundle status.

Author
Abijeet Patro @license GPL-2.0-or-later
Since
2022.09

Definition at line 20 of file TranslatableBundleStatusStore.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::__construct ( IDatabase $database,
Collation $collation,
IMaintainableDatabase $dbMaintenance )

Definition at line 27 of file TranslatableBundleStatusStore.php.

Member Function Documentation

◆ getAllWithStatus()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::getAllWithStatus ( )

Return all bundles in an array with key being page id, value being status.

Definition at line 58 of file TranslatableBundleStatusStore.php.

◆ removeStatus()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::removeStatus ( int ... $pageIds)

Definition at line 77 of file TranslatableBundleStatusStore.php.

◆ setStatus()

MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::setStatus ( Title $title,
TranslatableBundleStatus $status,
string $bundleType )

Definition at line 37 of file TranslatableBundleStatusStore.php.


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