MediaWiki  REL1_19
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 184 of file SpecialProtectedtitles.php.


Constructor & Destructor Documentation

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

Definition at line 187 of file SpecialProtectedtitles.php.

References $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:
$rowObject: database row
Returns:
String

Reimplemented from IndexPager.

Definition at line 218 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 239 of file SpecialProtectedtitles.php.

Returns:
array

Reimplemented from IndexPager.

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

Returns:
String

Reimplemented from IndexPager.

Definition at line 196 of file SpecialProtectedtitles.php.

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

Here is the call graph for this function:

Returns:
Title

Reimplemented from ContextSource.

Definition at line 214 of file SpecialProtectedtitles.php.

References SpecialPage\getTitleFor().

Here is the call graph for this function:


Member Data Documentation

ProtectedTitlesPager::$mConds

Definition at line 185 of file SpecialProtectedtitles.php.

ProtectedTitlesPager::$mForm

Definition at line 185 of file SpecialProtectedtitles.php.


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