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() |
Definition at line 24 of file SpecialListfiles.php.
ImageListPager::__construct | ( | ) |
Reimplemented from TablePager.
Definition at line 28 of file SpecialListfiles.php.
References $dbr, $wgMiserMode, $wgRequest, and wfGetDB().
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.
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 | ( | ) |
Definition at line 158 of file SpecialListfiles.php.
References $s, $wgMiserMode, $wgRequest, Xml::closeElement(), Xml::element(), TablePager::getHiddenFields(), TablePager::getLimitSelect(), IndexPager::getTitle(), Xml::inputLabel(), Xml::openElement(), Xml::submitButton(), Xml::tags(), wfMsg(), and wfMsgHtml().
ImageListPager::getNavClass | ( | ) |
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 | ( | ) |
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.
ImageListPager::getTableClass | ( | ) |
ImageListPager::isFieldSortable | ( | $ | field | ) |
Return true if the named field should be sortable by the UI, false otherwise.
string | $field |
Reimplemented from TablePager.
Definition at line 67 of file SpecialListfiles.php.
ImageListPager::$mFieldNames = null |
Definition at line 25 of file SpecialListfiles.php.
ImageListPager::$mQueryConds = array() |
Definition at line 26 of file SpecialListfiles.php.