MediaWiki  REL1_24
ProtectedTitlesPager Class Reference
Inheritance diagram for ProtectedTitlesPager:
Collaboration diagram for ProtectedTitlesPager:

List of all members.

Public Member Functions

 __construct ($form, $conds=array(), $type, $level, $namespace, $sizetype= '', $size=0)
 formatRow ($row)
 Abstract formatting function.
 getIndexField ()
 This function should be overridden to return the name of the index fi- eld.
 getQueryInfo ()
 getStartBody ()
 Hook into getBody(), allows text to be inserted at the start.
 getTitle ()

Public Attributes

 $mConds
 $mForm

Detailed Description

Todo:
document

Definition at line 215 of file SpecialProtectedtitles.php.


Constructor & Destructor Documentation

ProtectedTitlesPager::__construct ( form,
conds = array(),
type,
level,
namespace,
sizetype = '',
size = 0 
)

Definition at line 218 of file SpecialProtectedtitles.php.

References $conds, $form, and $size.


Member Function Documentation

Abstract formatting function.

This should return an HTML string representing the result row $row. Rows will be concatenated and returned by getBody()

Parameters:
array | stdClass$rowDatabase row
Returns:
string

Reimplemented from IndexPager.

Definition at line 252 of file SpecialProtectedtitles.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.

Returns:
string|array

Reimplemented from IndexPager.

Definition at line 278 of file SpecialProtectedtitles.php.

Returns:
array

Reimplemented from IndexPager.

Definition at line 259 of file SpecialProtectedtitles.php.

References $conds, and array().

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.

Returns:
string

Reimplemented from IndexPager.

Definition at line 229 of file SpecialProtectedtitles.php.

References $lb, as, wfProfileIn(), and wfProfileOut().

Returns:
Title

Reimplemented from ContextSource.

Definition at line 248 of file SpecialProtectedtitles.php.


Member Data Documentation

ProtectedTitlesPager::$mConds

Definition at line 216 of file SpecialProtectedtitles.php.

ProtectedTitlesPager::$mForm

Definition at line 216 of file SpecialProtectedtitles.php.


The documentation for this class was generated from the following file: