Public Member Functions | |
__construct ($conds=array()) | |
getStartBody () | |
Hook into getBody(), allows text to be inserted at the start. | |
getQueryInfo () | |
This function should be overridden to provide all parameters needed for the main paged query. | |
formatRow ($row) | |
Abstract formatting function. | |
getIndexField () | |
This function should be overridden to return the name of the index fi- eld. | |
Static Public Member Functions | |
static | formatRestriction ($r) |
Public Attributes | |
$mConds |
Definition at line 83 of file SpecialListUserRestrictions.php.
UserRestrictionsPager::__construct | ( | $ | conds = array() |
) |
Definition at line 86 of file SpecialListUserRestrictions.php.
References $conds, and ReverseChronologicalPager::__construct().
static UserRestrictionsPager::formatRestriction | ( | $ | r | ) | [static] |
Definition at line 129 of file SpecialListUserRestrictions.php.
References $msg, $reason, $wgLang, $wgUser, SpecialPage::getTitleFor(), wfMsg(), and wfMsgHtml().
Referenced by RestrictUserForm::existingRestrictions(), and formatRow().
UserRestrictionsPager::formatRow | ( | $ | row | ) |
Abstract formatting function.
This should return an HTML string representing the result row $row. Rows will be concatenated and returned by getBody()
Reimplemented from IndexPager.
Definition at line 124 of file SpecialListUserRestrictions.php.
References $row, and formatRestriction().
UserRestrictionsPager::getIndexField | ( | ) |
This function should be overridden to return the name of the index fi- eld.
If the pager supports multiple orders, it may return an array of 'querykey' => 'indexfield' pairs, so that a request with &count=querykey will use indexfield to sort. In this case, the first returned key is the default.
Needless to say, it's really not a good idea to use a non-unique index for this! That won't page right.
Reimplemented from IndexPager.
Definition at line 159 of file SpecialListUserRestrictions.php.
UserRestrictionsPager::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 116 of file SpecialListUserRestrictions.php.
UserRestrictionsPager::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 IndexPager.
Definition at line 91 of file SpecialListUserRestrictions.php.
References $lb, $name, $row, wfProfileIn(), and wfProfileOut().
UserRestrictionsPager::$mConds |
Definition at line 84 of file SpecialListUserRestrictions.php.