ActiveUsersPager Class Reference

Inherits UsersPager.

List of all members.

Public Member Functions

 __construct ($group=null)
 setupOptions ()
 getIndexField ()
 This function should be overridden to return the name of the index fi- eld.
 getQueryInfo ()
 This function should be overridden to provide all parameters needed for the main paged query.
 formatRow ($row)
 Abstract formatting function.
 getPageHeader ()


Detailed Description

Definition at line 29 of file SpecialActiveusers.php.


Constructor & Destructor Documentation

ActiveUsersPager::__construct ( group = null  ) 


Member Function Documentation

ActiveUsersPager::formatRow ( row  ) 

Abstract formatting function.

This should return an HTML string representing the result row $row. Rows will be concatenated and returned by getBody()

Reimplemented from UsersPager.

Definition at line 101 of file SpecialActiveusers.php.

References $wgLang, UsersPager::buildGroupLink(), IndexPager::getSkin(), Html::rawElement(), wfMsgExt(), and wfSpecialList().

ActiveUsersPager::getIndexField (  ) 

This function should be overridden to return the name of the index fi- eld.

If the pager supports multiple orders, it may return an array of 'querykey' => 'indexfield' pairs, so that a request with &count=querykey will use indexfield to sort. In this case, the first returned key is the default.

Needless to say, it's really not a good idea to use a non-unique index for this! That won't page right.

Reimplemented from UsersPager.

Definition at line 66 of file SpecialActiveusers.php.

ActiveUsersPager::getPageHeader (  ) 

ActiveUsersPager::getQueryInfo (  ) 

This function should be overridden to provide all parameters needed for the main paged query.

It returns an associative array with the following elements: tables => Table(s) for passing to Database::select() fields => Field(s) for passing to Database::select(), may be * conds => WHERE conditions options => option array join_conds => JOIN conditions

Reimplemented from UsersPager.

Definition at line 70 of file SpecialActiveusers.php.

References $dbr, and wfGetDB().

ActiveUsersPager::setupOptions (  ) 

Definition at line 49 of file SpecialActiveusers.php.

References $wgRequest, and FormOptions::BOOL.

Referenced by __construct().


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

Generated on Sat Apr 30 22:57:30 2011 for MediaWiki by  doxygen 1.5.9