MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($page, $conds) | |
formatValue ($name, $value) | |
Format a table cell. | |
getDefaultSort () | |
The database field name used as a default sort order. | |
getFieldNames () | |
An array mapping database field names to a textual description of the field name, for use in the table header. | |
getIndexField () | |
getQueryInfo () | |
This function should be overridden to provide all parameters needed for the main paged query. | |
getTableClass () | |
isFieldSortable ($name) | |
Return true if the named field should be sortable by the UI, false otherwise. | |
preprocessResults ($result) | |
Do a LinkBatch query to minimise database load when generating all these links. | |
Protected Attributes | |
$conds | |
$page |
Definition at line 215 of file SpecialBlockList.php.
BlockListPager::__construct | ( | $ | page, |
$ | conds | ||
) |
$page | SpecialPage |
$conds | Array |
Definition at line 223 of file SpecialBlockList.php.
BlockListPager::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 250 of file SpecialBlockList.php.
References $name, $value, array(), Linker\formatComment(), ContextSource\getLanguage(), SpecialPage\getTitleFor(), ContextSource\getUser(), Linker\linkKnown(), list, ContextSource\msg(), Block\parseTarget(), Html\rawElement(), Linker\TOOL_LINKS_NOBLOCK, Block\TYPE_IP, Block\TYPE_RANGE, Block\TYPE_USER, Linker\userLink(), and Linker\userToolLinks().
The database field name used as a default sort order.
Reimplemented from TablePager.
Definition at line 414 of file SpecialBlockList.php.
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 230 of file SpecialBlockList.php.
References $key, array(), as, and ContextSource\msg().
Reimplemented from TablePager.
Definition at line 410 of file SpecialBlockList.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 371 of file SpecialBlockList.php.
References array(), and ContextSource\getUser().
Reimplemented from TablePager.
Definition at line 406 of file SpecialBlockList.php.
BlockListPager::isFieldSortable | ( | $ | field | ) |
Return true if the named field should be sortable by the UI, false otherwise.
$field | String |
Reimplemented from TablePager.
Definition at line 418 of file SpecialBlockList.php.
BlockListPager::preprocessResults | ( | $ | result | ) |
Do a LinkBatch query to minimise database load when generating all these links.
ResultWrapper | $result |
Reimplemented from IndexPager.
Definition at line 426 of file SpecialBlockList.php.
References $lb, $name, $result, $user, array(), as, UserArray\newFromIDs(), wfProfileIn(), and wfProfileOut().
BlockListPager::$conds [protected] |
Definition at line 216 of file SpecialBlockList.php.
Referenced by __construct().
BlockListPager::$page [protected] |
Definition at line 217 of file SpecialBlockList.php.
Referenced by __construct().