Api module for querying MessageGroups.
More...
Api module for querying MessageGroups.
- Author
- Niklas Laxström
-
Harry Burt
- Copyright
- Copyright © 2012-2013, Harry Burt @license GPL-2.0-or-later
Definition at line 26 of file QueryMessageGroupsActionApi.php.
◆ __construct()
| MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::__construct |
( |
ApiQuery | $query, |
|
|
string | $moduleName, |
|
|
private readonly HookRunner | $hookRunner, |
|
|
private readonly MessageGroupMetadata | $messageGroupMetadata, |
|
|
private readonly MessageGroupSubscription | $groupSubscription ) |
◆ execute()
| MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::execute |
( |
| ) |
|
◆ formatGroup()
| MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::formatGroup |
( |
| $mixed, |
|
|
array | $props, |
|
|
array | $subscriptions, |
|
|
int | $depth = 0 ) |
|
protected |
- Parameters
-
| array | MessageGroup | $mixed | |
| array<string,int> | $props List of props as the array keys |
| array<string,int> | $subscriptions List of message group ids as the array keys |
| int | $depth | |
Definition at line 147 of file QueryMessageGroupsActionApi.php.
◆ getAllowedParams()
| MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::getAllowedParams |
( |
| ) |
|
|
protected |
◆ getExamplesMessages()
| MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::getExamplesMessages |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: