Store service for looking up and storing status for translatable bundle status. More...
Public Member Functions | |
| __construct (private readonly IDatabase $database, private readonly Collation $collation, private readonly 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) | |
Store service for looking up and storing status for translatable bundle status.
Definition at line 20 of file TranslatableBundleStatusStore.php.
| MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::__construct | ( | private readonly IDatabase | $database, |
| private readonly Collation | $collation, | ||
| private readonly IMaintainableDatabase | $dbMaintenance ) |
Definition at line 25 of file TranslatableBundleStatusStore.php.
| MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::getAllWithStatus | ( | ) |
Return all bundles in an array with key being page id, value being status.
Definition at line 53 of file TranslatableBundleStatusStore.php.
| MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::removeStatus | ( | int ... | $pageIds | ) |
Definition at line 72 of file TranslatableBundleStatusStore.php.
| MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleStatusStore::setStatus | ( | Title | $title, |
| TranslatableBundleStatus | $status, | ||
| string | $bundleType ) |
Definition at line 32 of file TranslatableBundleStatusStore.php.