MediaWiki
REL1_20
|
Public Member Functions | |
__construct ($form, $conds=array(), $type, $level, $namespace, $sizetype='', $size=0, $indefonly=false, $cascadeonly=false) | |
formatRow ($row) | |
Abstract formatting function. | |
getIndexField () | |
This function should be overridden to return the name of the index fi- eld. | |
getQueryInfo () | |
This function should be overridden to provide all parameters needed for the main paged query. | |
getStartBody () | |
Hook into getBody(), allows text to be inserted at the start. | |
Public Attributes | |
$indefonly | |
$level | |
$mConds | |
$mForm | |
$namespace | |
$size | |
$sizetype | |
Private Attributes | |
$type |
Definition at line 299 of file SpecialProtectedpages.php.
ProtectedPagesPager::__construct | ( | $ | form, |
$ | conds = array() , |
||
$ | type, | ||
$ | level, | ||
$ | namespace, | ||
$ | sizetype = '' , |
||
$ | size = 0 , |
||
$ | indefonly = false , |
||
$ | cascadeonly = false |
||
) |
Definition at line 303 of file SpecialProtectedpages.php.
References $indefonly, $level, $namespace, $size, $sizetype, and $type.
ProtectedPagesPager::formatRow | ( | $ | row | ) |
Abstract formatting function.
This should return an HTML string representing the result row $row. Rows will be concatenated and returned by getBody()
$row | Object: database row |
Reimplemented from IndexPager.
Definition at line 328 of file SpecialProtectedpages.php.
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 364 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 332 of file SpecialProtectedpages.php.
References wfGetDB().
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 318 of file SpecialProtectedpages.php.
References $lb.
ProtectedPagesPager::$indefonly |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$level |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$mConds |
Definition at line 300 of file SpecialProtectedpages.php.
ProtectedPagesPager::$mForm |
Definition at line 300 of file SpecialProtectedpages.php.
ProtectedPagesPager::$namespace |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$size |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$sizetype |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().
ProtectedPagesPager::$type [private] |
Definition at line 301 of file SpecialProtectedpages.php.
Referenced by __construct().