MediaWiki  REL1_19
ReverseChronologicalPager Class Reference

IndexPager with a formatted navigation bar. More...

Inheritance diagram for ReverseChronologicalPager:
Collaboration diagram for ReverseChronologicalPager:

List of all members.

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

Detailed Description

IndexPager with a formatted navigation bar.

Definition at line 739 of file Pager.php.


Member Function Documentation

ReverseChronologicalPager::getDateCond ( year,
month 
)

Definition at line 784 of file Pager.php.

Referenced by LogPager\__construct(), and HistoryPager\__construct().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

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.

Definition at line 740 of file Pager.php.

ReverseChronologicalPager::$mMonth

Definition at line 742 of file Pager.php.

ReverseChronologicalPager::$mYear

Definition at line 741 of file Pager.php.


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