Public Member Functions | |
__construct ($pageHistory, $year='', $month='', $tagFilter= '') | |
getQueryInfo () | |
This function should be overridden to provide all parameters needed for the main paged query. | |
getIndexField () | |
This function should be overridden to return the name of the index fi- eld. | |
formatRow ($row) | |
Abstract formatting function. | |
getStartBody () | |
Hook into getBody(), allows text to be inserted at the start. | |
getEndBody () | |
Hook into getBody() for the end of the list. | |
Public Attributes | |
$mLastRow = false | |
$mPageHistory | |
$mTitle |
Definition at line 556 of file PageHistory.php.
PageHistoryPager::__construct | ( | $ | pageHistory, | |
$ | year = '' , |
|||
$ | month = '' , |
|||
$ | tagFilter = '' | |||
) |
Definition at line 559 of file PageHistory.php.
References ReverseChronologicalPager::__construct(), and ReverseChronologicalPager::getDateCond().
PageHistoryPager::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 IndexPager.
Definition at line 589 of file PageHistory.php.
PageHistoryPager::getEndBody | ( | ) |
Hook into getBody() for the end of the list.
Reimplemented from IndexPager.
Definition at line 608 of file PageHistory.php.
References $s.
PageHistoryPager::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 IndexPager.
Definition at line 585 of file PageHistory.php.
PageHistoryPager::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
Reimplemented from IndexPager.
Definition at line 567 of file PageHistory.php.
References ChangeTags::modifyDisplayQuery(), Revision::selectFields(), and wfRunHooks().
PageHistoryPager::getStartBody | ( | ) |
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.
Reimplemented from IndexPager.
Definition at line 602 of file PageHistory.php.
PageHistoryPager::$mLastRow = false |
Definition at line 557 of file PageHistory.php.
PageHistoryPager::$mPageHistory |
Definition at line 557 of file PageHistory.php.
PageHistoryPager::$mTitle |
Definition at line 557 of file PageHistory.php.