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

Api module for querying MessageGroups. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi:

Public Member Functions

 __construct (ApiQuery $query, string $moduleName, HookContainer $hookContainer)
 
 execute ()
 

Protected Member Functions

 formatGroup ( $mixed, array $props, int $depth=0)
 
 getAllowedParams ()
 
 getExamplesMessages ()
 

Detailed Description

Api module for querying MessageGroups.

Author
Niklas Laxström
Harry Burt

Definition at line 26 of file QueryMessageGroupsActionApi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::__construct ( ApiQuery $query,
string $moduleName,
HookContainer $hookContainer )

Definition at line 30 of file QueryMessageGroupsActionApi.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::execute ( )

Definition at line 39 of file QueryMessageGroupsActionApi.php.

◆ formatGroup()

MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::formatGroup ( $mixed,
array $props,
int $depth = 0 )
protected
Parameters
array | MessageGroup$mixed
array$propsList of props as the array keys

Definition at line 137 of file QueryMessageGroupsActionApi.php.

◆ getAllowedParams()

MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::getAllowedParams ( )
protected

Definition at line 273 of file QueryMessageGroupsActionApi.php.

◆ getExamplesMessages()

MediaWiki\Extension\Translate\MessageGroupProcessing\QueryMessageGroupsActionApi::getExamplesMessages ( )
protected

Definition at line 337 of file QueryMessageGroupsActionApi.php.


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