Inherits IndexPager.
Inherited by ContribsPager, ImageHistoryPseudoPager, IPBlocklistPager, LogPager, MergeHistoryPager, NewPagesPager, PageHistoryPager, and UserRestrictionsPager.
Public Member Functions | |
__construct () | |
getNavigationBar () | |
getDateCond ($year, $month) | |
Public Attributes | |
$mDefaultDirection = true | |
$mDefaultDirection gives the direction to use when sorting results: false for ascending, true for descending. | |
$mYear | |
$mMonth |
Definition at line 588 of file Pager.php.
ReverseChronologicalPager::__construct | ( | ) |
Reimplemented from IndexPager.
Definition at line 593 of file Pager.php.
Referenced by NewPagesPager::__construct(), MergeHistoryPager::__construct(), UserRestrictionsPager::__construct(), IPBlocklistPager::__construct(), ContribsPager::__construct(), PageHistoryPager::__construct(), LogPager::__construct(), and ImageHistoryPseudoPager::__construct().
ReverseChronologicalPager::getDateCond | ( | $ | year, | |
$ | month | |||
) |
Definition at line 620 of file Pager.php.
Referenced by ContribsPager::__construct(), PageHistoryPager::__construct(), and LogPager::__construct().
ReverseChronologicalPager::getNavigationBar | ( | ) |
Implements Pager.
Definition at line 597 of file Pager.php.
References $wgLang, IndexPager::getLimitLinks(), IndexPager::getPagingLinks(), wfMsgExt(), and wfMsgHtml().
Referenced by ImageHistoryPseudoPager::getBody().
ReverseChronologicalPager::$mDefaultDirection = true |
$mDefaultDirection gives the direction to use when sorting results: false for ascending, true for descending.
If $mIsBackwards is set, we start from the opposite end, but we still sort the page itself according to $mDefaultDirection. E.g., if $mDefaultDirection is false but we're going backwards, we'll display the last page of results, but the last result will be at the bottom, not the top.
Like $mIndexField, $mDefaultDirection will be a single value even if the class supports multiple default directions for different order types.
Reimplemented from IndexPager.
Reimplemented in ContribsPager.