MediaWiki
REL1_19
|
Public Member Functions | |
__construct (IContextSource $context, $userName=null, $search= '', $including=false) | |
formatValue ($field, $value) | |
Format a table cell. | |
getDefaultQuery () | |
Get an array of query parameters that should be put into self-links. | |
getDefaultSort () | |
The database field name used as a default sort order. | |
getFieldNames () | |
getForm () | |
getNavClass () | |
getPagingQueries () | |
Get a URL query array for the prev, next, first and last links. | |
getQueryInfo () | |
This function should be overridden to provide all parameters needed for the main paged query. | |
getSortHeaderClass () | |
getStartBody () | |
Hook into getBody(), allows text to be inserted at the start. | |
getTableClass () | |
isFieldSortable ($field) | |
Return true if the named field should be sortable by the UI, false otherwise. | |
Public Attributes | |
$mFieldNames = null | |
$mIncluding = false | |
$mQueryConds = array() | |
$mSearch = '' | |
$mUserName = null |
Definition at line 59 of file SpecialListfiles.php.
ImageListPager::__construct | ( | IContextSource $ | context, |
$ | userName = null , |
||
$ | search = '' , |
||
$ | including = false |
||
) |
Definition at line 66 of file SpecialListfiles.php.
References $dbr, $wgMiserMode, IContextSource\getRequest(), Title\newFromText(), Title\newFromURL(), 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.
$name | String: the database field name |
$value | String: the value retrieved from the database |
Reimplemented from TablePager.
Definition at line 194 of file SpecialListfiles.php.
References $file, Linker\commentBlock(), Xml\element(), ContextSource\getLanguage(), Linker\link(), Linker\linkKnown(), Title\makeTitle(), Title\makeTitleSafe(), wfLocalFile(), and wfMsg().
Get an array of query parameters that should be put into self-links.
By default, all parameters passed in the URL are used, except for a short blacklist.
Reimplemented from IndexPager.
Definition at line 286 of file SpecialListfiles.php.
The database field name used as a default sort order.
Reimplemented from TablePager.
Definition at line 174 of file SpecialListfiles.php.
Reimplemented from TablePager.
Definition at line 106 of file SpecialListfiles.php.
References $wgMiserMode, and wfMsg().
Referenced by getQueryInfo().
Definition at line 237 of file SpecialListfiles.php.
References $wgMiserMode, $wgScript, Xml\buildForm(), Html\closeElement(), Xml\fieldset(), TablePager\getHiddenFields(), TablePager\getLimitSelect(), Html\input(), Html\openElement(), and wfMsg().
Reimplemented from TablePager.
Definition at line 267 of file SpecialListfiles.php.
Get a URL query array for the prev, next, first and last links.
Reimplemented from IndexPager.
Definition at line 275 of file SpecialListfiles.php.
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 join_conds => JOIN conditions
Reimplemented from IndexPager.
Definition at line 136 of file SpecialListfiles.php.
References $dbr, $options, getFieldNames(), and wfGetDB().
Reimplemented from TablePager.
Definition at line 271 of file SpecialListfiles.php.
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 178 of file SpecialListfiles.php.
References $lb.
Reimplemented from TablePager.
Definition at line 263 of file SpecialListfiles.php.
ImageListPager::isFieldSortable | ( | $ | field | ) |
Return true if the named field should be sortable by the UI, false otherwise.
$field | String |
Reimplemented from TablePager.
Definition at line 124 of file SpecialListfiles.php.
ImageListPager::$mFieldNames = null |
Definition at line 60 of file SpecialListfiles.php.
ImageListPager::$mIncluding = false |
Definition at line 64 of file SpecialListfiles.php.
ImageListPager::$mQueryConds = array() |
Definition at line 61 of file SpecialListfiles.php.
ImageListPager::$mSearch = '' |
Definition at line 63 of file SpecialListfiles.php.
ImageListPager::$mUserName = null |
Definition at line 62 of file SpecialListfiles.php.