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

List of all members.

Public Member Functions

 __construct ($form, $conds, $source, $dest)
 formatRow ($row)
 Abstract formatting function.
 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.
 getStartBody ()
 Hook into getBody(), allows text to be inserted at the start.

Public Attributes

array $mConds
 *
IContextSource $mForm
 *

Detailed Description

Definition at line 482 of file SpecialMergeHistory.php.


Constructor & Destructor Documentation

MergeHistoryPager::__construct ( form,
conds,
source,
dest 
)

Definition at line 487 of file SpecialMergeHistory.php.


Member Function Documentation

Abstract formatting function.

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

Parameters:
array | stdClass$rowDatabase row
Returns:
string

Reimplemented from IndexPager.

Definition at line 534 of file SpecialMergeHistory.php.

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.

Returns:
string|array

Reimplemented from IndexPager.

Definition at line 553 of file SpecialMergeHistory.php.

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

Returns:
array

Reimplemented from IndexPager.

Definition at line 538 of file SpecialMergeHistory.php.

Hook into getBody(), allows text to be inserted at the start.

This will be called even if there are no rows in the result set.

Returns:
string

Reimplemented from IndexPager.

Definition at line 505 of file SpecialMergeHistory.php.


Member Data Documentation

array MergeHistoryPager::$mConds

*

Definition at line 485 of file SpecialMergeHistory.php.

IContextSource MergeHistoryPager::$mForm

*

Definition at line 483 of file SpecialMergeHistory.php.


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