ReverseChronologicalPager Class Reference
[Pager]

IndexPager with a formatted navigation bar. More...

Inherits IndexPager.

Inherited by ContribsPager, HistoryPager, ImageHistoryPseudoPager, IPBlocklistPager, LogPager, MergeHistoryPager, and NewPagesPager.

List of all members.

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


Detailed Description

IndexPager with a formatted navigation bar.

Definition at line 646 of file Pager.php.


Constructor & Destructor Documentation

ReverseChronologicalPager::__construct (  ) 


Member Function Documentation

ReverseChronologicalPager::getDateCond ( year,
month 
)

Definition at line 694 of file Pager.php.

Referenced by HistoryPager::__construct().

ReverseChronologicalPager::getNavigationBar (  ) 


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 647 of file Pager.php.

ReverseChronologicalPager::$mMonth

Definition at line 649 of file Pager.php.

ReverseChronologicalPager::$mYear

Definition at line 648 of file Pager.php.


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

Generated on Sat Apr 30 22:57:48 2011 for MediaWiki by  doxygen 1.5.9