ProtectedPagesPager Class Reference
[Pager]

Inherits AlphabeticPager.

List of all members.

Public Member Functions

 __construct ($form, $conds=array(), $type, $level, $namespace, $sizetype='', $size=0, $indefonly=false, $cascadeonly=false)
 getStartBody ()
 Hook into getBody(), allows text to be inserted at the start.
 formatRow ($row)
 Abstract formatting function.
 getQueryInfo ()
 This function should be overridden to provide all parameters needed for the main paged query.
 getIndexField ()
 This function should be overridden to return the name of the index fi- eld.

Public Attributes

 $mForm
 $mConds

Private Attributes

 $type
 $level
 $namespace
 $sizetype
 $size
 $indefonly


Detailed Description

Todo:
document

Definition at line 250 of file SpecialProtectedpages.php.


Constructor & Destructor Documentation

ProtectedPagesPager::__construct ( form,
conds = array(),
type,
level,
namespace,
sizetype = '',
size = 0,
indefonly = false,
cascadeonly = false 
)


Member Function Documentation

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()

Reimplemented from IndexPager.

Definition at line 279 of file SpecialProtectedpages.php.

References $row.

ProtectedPagesPager::getIndexField (  ) 

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 314 of file SpecialProtectedpages.php.

ProtectedPagesPager::getQueryInfo (  ) 

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

Reimplemented from IndexPager.

Definition at line 283 of file SpecialProtectedpages.php.

References $conds.

ProtectedPagesPager::getStartBody (  ) 

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 269 of file SpecialProtectedpages.php.

References $lb, and $row.


Member Data Documentation

ProtectedPagesPager::$indefonly [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$level [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$mConds

Definition at line 251 of file SpecialProtectedpages.php.

ProtectedPagesPager::$mForm

Definition at line 251 of file SpecialProtectedpages.php.

ProtectedPagesPager::$namespace [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$size [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$sizetype [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$type [private]

Definition at line 252 of file SpecialProtectedpages.php.

Referenced by __construct().


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

Generated on Sat Sep 5 02:08:45 2009 for MediaWiki by  doxygen 1.5.9