|
MediaWiki
REL1_24
|
IndexPager with a formatted navigation bar. More...


Public Member Functions | |
| getDateCond ($year, $month) | |
| getNavigationBar () | |
Public Attributes | |
| $mDefaultDirection = IndexPager::DIR_DESCENDING | |
| $mDefaultDirection gives the direction to use when sorting results: DIR_ASCENDING or DIR_DESCENDING. | |
| $mMonth | |
| $mYear | |
IndexPager with a formatted navigation bar.
Definition at line 28 of file ReverseChronologicalPager.php.
| ReverseChronologicalPager::getDateCond | ( | $ | year, |
| $ | month | ||
| ) |
Definition at line 63 of file ReverseChronologicalPager.php.
References $timestamp, and MWTimestamp\getInstance().
Implements Pager.
Definition at line 33 of file ReverseChronologicalPager.php.
References array(), ContextSource\getLanguage(), IndexPager\getLimitLinks(), IndexPager\getPagingLinks(), IndexPager\isNavigationBarShown(), and ContextSource\msg().
| ReverseChronologicalPager::$mDefaultDirection = IndexPager::DIR_DESCENDING |
$mDefaultDirection gives the direction to use when sorting results: DIR_ASCENDING or DIR_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.
Definition at line 29 of file ReverseChronologicalPager.php.
| ReverseChronologicalPager::$mMonth |
Definition at line 31 of file ReverseChronologicalPager.php.
| ReverseChronologicalPager::$mYear |
Definition at line 30 of file ReverseChronologicalPager.php.