MediaWiki  REL1_24
SpecialActiveUsers Class Reference
Inheritance diagram for SpecialActiveUsers:
Collaboration diagram for SpecialActiveUsers:

List of all members.

Public Member Functions

 __construct ()
 Constructor.
 execute ($par)
 Show the special page.

Static Public Member Functions

static cacheUpdate (DatabaseBase $dbw)
static mergeActiveUsers ($period, $days)

Protected Member Functions

 getGroupName ()
 Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Static Protected Member Functions

static doQueryCacheUpdate (DatabaseBase $dbw, $days, $window)
 Update the query cache as needed.

Detailed Description

Definition at line 232 of file SpecialActiveusers.php.


Constructor & Destructor Documentation

Constructor.

Definition at line 237 of file SpecialActiveusers.php.


Member Function Documentation

static SpecialActiveUsers::cacheUpdate ( DatabaseBase dbw) [static]
Parameters:
DatabaseBase$dbwPassed in from updateSpecialPages.php
Returns:
void

Definition at line 315 of file SpecialActiveusers.php.

static SpecialActiveUsers::doQueryCacheUpdate ( DatabaseBase dbw,
days,
window 
) [static, protected]

Update the query cache as needed.

Parameters:
DatabaseBase$dbw
int$daysHow many days user must be idle before he is considered inactive
int$windowMaximum time range of new data to scan (in seconds)
Returns:
int|bool UNIX timestamp the cache is now up-to-date as of (false on error)

Definition at line 329 of file SpecialActiveusers.php.

Show the special page.

Parameters:
string$parParameter passed to the page or null

Reimplemented from SpecialPage.

Definition at line 246 of file SpecialActiveusers.php.

Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.

Returns:
string
Since:
1.21

Reimplemented from SpecialPage.

Definition at line 279 of file SpecialActiveusers.php.

static SpecialActiveUsers::mergeActiveUsers ( period,
days 
) [static]
Parameters:
int$periodSeconds (do updates no more often than this)
int$daysHow many days user must be idle before he is considered inactive
Returns:
int How many seconds old the cache is

Definition at line 288 of file SpecialActiveusers.php.

Referenced by ApiQueryAllUsers\execute().


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