MediaWiki  REL1_22
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 218 of file SpecialProtectedtitles.php.


Constructor & Destructor Documentation

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

Definition at line 221 of file SpecialProtectedtitles.php.

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

Reimplemented from IndexPager.

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

Returns:
array

Reimplemented from IndexPager.

Definition at line 262 of file SpecialProtectedtitles.php.

References 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 232 of file SpecialProtectedtitles.php.

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

Returns:
Title

Reimplemented from ContextSource.

Definition at line 251 of file SpecialProtectedtitles.php.


Member Data Documentation

ProtectedTitlesPager::$mConds

Definition at line 219 of file SpecialProtectedtitles.php.

ProtectedTitlesPager::$mForm

Definition at line 219 of file SpecialProtectedtitles.php.


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