Stores and validates possible translation states for translatable bundles.
More...
Stores and validates possible translation states for translatable bundles.
- Author
- Abijeet Patro
- Since
- 2024.07 @license GPL-2.0-or-later
Definition at line 15 of file TranslatableBundleState.php.
◆ __construct()
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::__construct |
( |
int | $state | ) |
|
◆ fromJson()
static MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::fromJson |
( |
string | $json | ) |
|
|
static |
◆ getStateId()
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::getStateId |
( |
| ) |
|
◆ getStateText()
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::getStateText |
( |
| ) |
|
◆ jsonSerialize()
MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::jsonSerialize |
( |
| ) |
|
◆ newFromText()
static MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::newFromText |
( |
string | $stateName | ) |
|
|
static |
◆ IGNORE
const MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::IGNORE = 2 |
◆ PROPOSE
const MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::PROPOSE = 1 |
◆ UNSTABLE
const MediaWiki\Extension\Translate\MessageGroupProcessing\TranslatableBundleState::UNSTABLE = 0 |
The documentation for this class was generated from the following file: