Graph which provides statistics about amount of registered users in a given time. More...
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 |
Graph which provides statistics about amount of registered users in a given time.
@license GPL-2.0-or-later
Definition at line 15 of file TranslateRegistrationStats.php.
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.
IReadableDatabase | $database | |
string | $caller | Appended 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.
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.