Provides methods to get and change the state of a message group.
More...
Provides methods to get and change the state of a message group.
- Author
- Eugene Wang'ombe
- Since
- 2022.07 @license GPL-2.0-or-later
Definition at line 19 of file MessageGroupReview.php.
◆ __construct()
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupReview::__construct |
( |
ILoadBalancer | $loadBalancer, |
|
|
HookContainer | $hookContainer ) |
◆ changeState()
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupReview::changeState |
( |
MessageGroup | $group, |
|
|
string | $code, |
|
|
string | $newState, |
|
|
User | $user ) |
◆ getState()
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupReview::getState |
( |
MessageGroup | $group, |
|
|
string | $code ) |
- Returns
- mixed|false — The value from the field, or false if nothing was found
Definition at line 32 of file MessageGroupReview.php.
◆ $hookContainer
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupReview::$hookContainer |
|
protected |
◆ $loadBalancer
MediaWiki\Extension\Translate\MessageGroupProcessing\MessageGroupReview::$loadBalancer |
|
protected |
The documentation for this class was generated from the following file: