ImageListPager Class Reference
[SpecialPagePager]

Inherits TablePager.

List of all members.

Public Member Functions

 __construct ()
 getFieldNames ()
 An array mapping database field names to a textual description of the field name, for use in the table header.
 isFieldSortable ($field)
 Return true if the named field should be sortable by the UI, false otherwise.
 getQueryInfo ()
 This function should be overridden to provide all parameters needed for the main paged query.
 getDefaultSort ()
 The database field name used as a default sort order.
 getStartBody ()
 Hook into getBody(), allows text to be inserted at the start.
 formatValue ($field, $value)
 Format a table cell.
 getForm ()
 getTableClass ()
 getNavClass ()
 getSortHeaderClass ()

Public Attributes

 $mFieldNames = null
 $mQueryConds = array()


Detailed Description

Definition at line 24 of file SpecialListfiles.php.


Constructor & Destructor Documentation

ImageListPager::__construct (  ) 

Reimplemented from TablePager.

Definition at line 28 of file SpecialListfiles.php.

References $dbr, $wgMiserMode, $wgRequest, and wfGetDB().


Member Function Documentation

ImageListPager::formatValue ( name,
value 
)

Format a table cell.

The return value should be HTML, but use an empty string not   for empty cells. Do not include the

and .

The current result row is available as $this->mCurrentRow, in case you need more context.

Parameters:
string $name The database field name
string $value The value retrieved from the database

Reimplemented from TablePager.

Definition at line 126 of file SpecialListfiles.php.

References $name, $url, $wgLang, Xml::element(), IndexPager::getSkin(), Title::makeTitle(), wfLocalFile(), and wfMsg().

ImageListPager::getDefaultSort (  ) 

The database field name used as a default sort order.

Reimplemented from TablePager.

Definition at line 106 of file SpecialListfiles.php.

ImageListPager::getFieldNames (  ) 

An array mapping database field names to a textual description of the field name, for use in the table header.

The description should be plain text, it will be HTML-escaped later.

Reimplemented from TablePager.

Definition at line 50 of file SpecialListfiles.php.

References $wgMiserMode, and wfMsg().

Referenced by getQueryInfo().

ImageListPager::getForm (  ) 

ImageListPager::getNavClass (  ) 

Reimplemented from TablePager.

Definition at line 183 of file SpecialListfiles.php.

ImageListPager::getQueryInfo (  ) 

This function should be overridden to provide all parameters needed for the main paged query.

It returns an associative array with the following elements: tables => Table(s) for passing to Database::select() fields => Field(s) for passing to Database::select(), may be * conds => WHERE conditions options => option array

Reimplemented from IndexPager.

Definition at line 72 of file SpecialListfiles.php.

References $dbr, $fields, $options, getFieldNames(), and wfGetDB().

ImageListPager::getSortHeaderClass (  ) 

Reimplemented from TablePager.

Definition at line 187 of file SpecialListfiles.php.

ImageListPager::getStartBody (  ) 

Hook into getBody(), allows text to be inserted at the start.

This will be called even if there are no rows in the result set.

Reimplemented from TablePager.

Definition at line 110 of file SpecialListfiles.php.

References $lb, and $row.

ImageListPager::getTableClass (  ) 

Reimplemented from TablePager.

Definition at line 179 of file SpecialListfiles.php.

ImageListPager::isFieldSortable ( field  ) 

Return true if the named field should be sortable by the UI, false otherwise.

Parameters:
string $field

Reimplemented from TablePager.

Definition at line 67 of file SpecialListfiles.php.


Member Data Documentation

ImageListPager::$mFieldNames = null

Definition at line 25 of file SpecialListfiles.php.

ImageListPager::$mQueryConds = array()

Definition at line 26 of file SpecialListfiles.php.


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

Generated on Sat Sep 5 02:08:38 2009 for MediaWiki by  doxygen 1.5.9