MediaWiki
REL1_24
|
Public Member Functions | |
__construct ($form, FormOptions $opts) | |
formatRow ($row) | |
Abstract formatting function. | |
getEndBody () | |
Hook into getBody() for the end of the list. | |
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. | |
Protected Attributes | |
HtmlForm | $mForm |
$opts |
Definition at line 489 of file SpecialNewpages.php.
NewPagesPager::__construct | ( | $ | form, |
FormOptions $ | opts | ||
) |
Definition at line 497 of file SpecialNewpages.php.
NewPagesPager::formatRow | ( | $ | row | ) |
Abstract formatting function.
This should return an HTML string representing the result row $row. Rows will be concatenated and returned by getBody()
array | stdClass | $row | Database row |
Reimplemented from IndexPager.
Definition at line 590 of file SpecialNewpages.php.
Hook into getBody() for the end of the list.
Reimplemented from IndexPager.
Definition at line 607 of file SpecialNewpages.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 586 of file SpecialNewpages.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 503 of file SpecialNewpages.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 IndexPager.
Definition at line 594 of file SpecialNewpages.php.
HtmlForm NewPagesPager::$mForm [protected] |
Definition at line 495 of file SpecialNewpages.php.
NewPagesPager::$opts [protected] |
Definition at line 491 of file SpecialNewpages.php.
Referenced by __construct().