MediaWiki
REL1_19
|
IndexPager with a formatted navigation bar. More...
Public Member Functions | |
getDateCond ($year, $month) | |
getNavigationBar () | |
Public Attributes | |
$mDefaultDirection = true | |
$mDefaultDirection gives the direction to use when sorting results: false for ascending, true for descending. | |
$mMonth | |
$mYear |
IndexPager with a formatted navigation bar.
ReverseChronologicalPager::getDateCond | ( | $ | year, |
$ | month | ||
) |
Definition at line 784 of file Pager.php.
Referenced by LogPager\__construct(), and HistoryPager\__construct().
Implements Pager.
Definition at line 744 of file Pager.php.
References ContextSource\getLanguage(), IndexPager\getLimitLinks(), IndexPager\getPagingLinks(), IndexPager\isNavigationBarShown(), 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.