Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi Class Reference

Api module for querying message group stats. More...

Inheritance diagram for MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi:
MediaWiki\Extension\Translate\Statistics\QueryStatsActionApi

Public Member Functions

 __construct (ApiQuery $query, string $moduleName, JobQueueGroup $jobQueueGroup)
 
 execute ()
 @inheritDoc
 
- Public Member Functions inherited from MediaWiki\Extension\Translate\Statistics\QueryStatsActionApi
 __construct (ApiQuery $queryModule, string $moduleName, string $paramPrefix, JobQueueGroup $jobQueueGroup)
 
 getCacheMode ( $params)
 

Protected Member Functions

 validateTargetParamater (array $params)
 @inheritDoc
 
 loadStatistics (string $target, int $flags=0)
 @inheritDoc
 
 makeStatsItem (string $item, array $stats)
 @inheritDoc
 
 getCacheRebuildJob (string $target)
 @inheritDoc
 
 getAllowedParams ()
 @inheritDoc
 
 getExamplesMessages ()
 @inheritDoc
 
- Protected Member Functions inherited from MediaWiki\Extension\Translate\Statistics\QueryStatsActionApi
 makeItem (array $stats)
 

Detailed Description

Api module for querying message group stats.

Author
Tim Gerundt
Niklas Laxström

Definition at line 22 of file QueryMessageGroupStatsActionApi.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::__construct ( ApiQuery $query,
string $moduleName,
JobQueueGroup $jobQueueGroup )

Definition at line 34 of file QueryMessageGroupStatsActionApi.php.

Member Function Documentation

◆ execute()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::execute ( )

◆ getAllowedParams()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::getAllowedParams ( )
protected

◆ getCacheRebuildJob()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::getCacheRebuildJob ( string $target)
protected

◆ getExamplesMessages()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::getExamplesMessages ( )
protected

@inheritDoc

Definition at line 116 of file QueryMessageGroupStatsActionApi.php.

◆ loadStatistics()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::loadStatistics ( string $target,
int $flags = 0 )
protected

◆ makeStatsItem()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::makeStatsItem ( string $item,
array $stats )
protected

◆ validateTargetParamater()

MediaWiki\Extension\Translate\Statistics\QueryMessageGroupStatsActionApi::validateTargetParamater ( array $params)
protected

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