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

Graph which provides statistics about amount of registered users in a given time. More...

Inheritance diagram for MediaWiki\Extension\Translate\Statistics\TranslateRegistrationStats:
MediaWiki\Extension\Translate\Statistics\TranslationStatsBase MediaWiki\Extension\Translate\Statistics\TranslationStatsInterface

Public Member Functions

 createQueryBuilder (IReadableDatabase $database, string $caller)
 Return the SelectQueryBuilder to fetch the data needed for the graph.
 
 getTimestampColumn ()
 Return the name of the timestamp column to be queried.
 
- Public Member Functions inherited from MediaWiki\Extension\Translate\Statistics\TranslationStatsBase
 __construct (TranslationStatsGraphOptions $opts)
 Constructor.
 
 indexOf (stdClass $row)
 Return the indexes which this result contributes to.
 
 labels ()
 Return the names of the variables being measured.
 
 getDateFormat ()
 Return time formatting string.
 

Additional Inherited Members

- Static Protected Member Functions inherited from MediaWiki\Extension\Translate\Statistics\TranslationStatsBase
static namespacesFromGroups ( $groupIds)
 
- Protected Attributes inherited from MediaWiki\Extension\Translate\Statistics\TranslationStatsBase
TranslationStatsGraphOptions $opts
 

Detailed Description

Graph which provides statistics about amount of registered users in a given time.

@license GPL-2.0-or-later

Since
2010.07

Definition at line 15 of file TranslateRegistrationStats.php.

Member Function Documentation

◆ createQueryBuilder()

MediaWiki\Extension\Translate\Statistics\TranslateRegistrationStats::createQueryBuilder ( IReadableDatabase $database,
string $caller )

Return the SelectQueryBuilder to fetch the data needed for the graph.

An additional condition with the cutoff timestamp(s) will be added to the returned query builder.

Parameters
IReadableDatabase$database
string$callerAppended with the graph type and passed to ->caller() (used to identify queries).

Implements MediaWiki\Extension\Translate\Statistics\TranslationStatsInterface.

Definition at line 17 of file TranslateRegistrationStats.php.

◆ getTimestampColumn()

MediaWiki\Extension\Translate\Statistics\TranslateRegistrationStats::getTimestampColumn ( )

Return the name of the timestamp column to be queried.

Implements MediaWiki\Extension\Translate\Statistics\TranslationStatsInterface.

Definition at line 24 of file TranslateRegistrationStats.php.


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