MediaWiki
REL1_24
|
Public Member Functions | |
__construct ($form, $conds=array(), $type, $level, $namespace, $sizetype= '', $size=0, $indefonly=false, $cascadeonly=false, $noredirect=false) | |
formatValue ($field, $value) | |
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 ($field) | |
Return true if the named field should be sortable by the UI, false otherwise. | |
preprocessResults ($result) | |
Pre-process results; useful for performing batch existence checks, etc. | |
Public Attributes | |
$cascadeonly | |
$indefonly | |
$level | |
$mConds | |
$mForm | |
$namespace | |
$noredirect | |
$size | |
$sizetype | |
Private Attributes | |
$type |
Definition at line 284 of file SpecialProtectedpages.php.
ProtectedPagesPager::__construct | ( | $ | form, |
$ | conds = array() , |
||
$ | type, | ||
$ | level, | ||
$ | namespace, | ||
$ | sizetype = '' , |
||
$ | size = 0 , |
||
$ | indefonly = false , |
||
$ | cascadeonly = false , |
||
$ | noredirect = false |
||
) |
Definition at line 288 of file SpecialProtectedpages.php.
References $cascadeonly, $conds, $form, $indefonly, $level, $namespace, $noredirect, $size, $sizetype, $type, and type.
ProtectedPagesPager::formatValue | ( | $ | field, |
$ | value | ||
) |
string | $field | |
string | $value |
MWException |
Reimplemented from TablePager.
Definition at line 359 of file SpecialProtectedpages.php.
References $params, $title, $value, array(), LogPage\DELETED_COMMENT, LogPage\DELETED_USER, Html\element(), Linker\formatComment(), Linker\formatRevisionSize(), ContextSource\getContext(), Linker\getInvalidTitleDescription(), ContextSource\getLanguage(), ContextSource\getUser(), LogEventsList\isDeleted(), Linker\link(), Linker\linkKnown(), Title\makeTitleSafe(), ContextSource\msg(), Html\rawElement(), UserCache\singleton(), LogEventsList\userCanBitfield(), Linker\userLink(), and Linker\userToolLinks().
The database field name used as a default sort order.
Reimplemented from TablePager.
Definition at line 564 of file SpecialProtectedpages.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 333 of file SpecialProtectedpages.php.
References $key, array(), as, and ContextSource\msg().
Reimplemented from TablePager.
Definition at line 560 of file SpecialProtectedpages.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 493 of file SpecialProtectedpages.php.
Reimplemented from TablePager.
Definition at line 556 of file SpecialProtectedpages.php.
ProtectedPagesPager::isFieldSortable | ( | $ | field | ) |
Return true if the named field should be sortable by the UI, false otherwise.
string | $field |
Reimplemented from TablePager.
Definition at line 568 of file SpecialProtectedpages.php.
ProtectedPagesPager::preprocessResults | ( | $ | result | ) |
Pre-process results; useful for performing batch existence checks, etc.
ResultWrapper | $result |
Reimplemented from IndexPager.
Definition at line 304 of file SpecialProtectedpages.php.
References $lb, $name, $result, array(), as, and UserCache\singleton().
ProtectedPagesPager::$cascadeonly |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$indefonly |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$level |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$mConds |
Definition at line 285 of file SpecialProtectedpages.php.
ProtectedPagesPager::$mForm |
Definition at line 285 of file SpecialProtectedpages.php.
ProtectedPagesPager::$namespace |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$noredirect |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$size |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$sizetype |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$type [private] |
Definition at line 286 of file SpecialProtectedpages.php.
Referenced by __construct().