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

List of all members.

Public Member Functions

 __construct ($form, $conds=array(), $type, $level, $namespace, $sizetype= '', $size=0, $indefonly=false, $cascadeonly=false, $noredirect=false)
 formatValue ($field, $value)
 getDefaultSort ()
 The database field name used as a default sort order.
 getFieldNames ()
 An array mapping database field names to a textual description of the field name, for use in the table header.
 getIndexField ()
 getQueryInfo ()
 This function should be overridden to provide all parameters needed for the main paged query.
 getTableClass ()
 isFieldSortable ($field)
 Return true if the named field should be sortable by the UI, false otherwise.
 preprocessResults ($result)
 Pre-process results; useful for performing batch existence checks, etc.

Public Attributes

 $cascadeonly
 $indefonly
 $level
 $mConds
 $mForm
 $namespace
 $noredirect
 $size
 $sizetype

Private Attributes

 $type

Detailed Description

Todo:
document

Definition at line 284 of file SpecialProtectedpages.php.


Constructor & Destructor Documentation

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

Member Function Documentation

The database field name used as a default sort order.

Access:
protected
Returns:
string

Reimplemented from TablePager.

Definition at line 564 of file SpecialProtectedpages.php.

An array mapping database field names to a textual description of the field name, for use in the table header.

The description should be plain text, it will be HTML-escaped later.

Returns:
array

Reimplemented from TablePager.

Definition at line 333 of file SpecialProtectedpages.php.

References $key, array(), as, and ContextSource\msg().

Access:
protected
Returns:
string

Reimplemented from TablePager.

Definition at line 560 of file SpecialProtectedpages.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

Returns:
array

Reimplemented from IndexPager.

Definition at line 493 of file SpecialProtectedpages.php.

References $conds, array(), and type.

Access:
protected
Returns:
string

Reimplemented from TablePager.

Definition at line 556 of file SpecialProtectedpages.php.

Return true if the named field should be sortable by the UI, false otherwise.

Parameters:
string$field

Reimplemented from TablePager.

Definition at line 568 of file SpecialProtectedpages.php.

Pre-process results; useful for performing batch existence checks, etc.

Parameters:
ResultWrapper$result

Reimplemented from IndexPager.

Definition at line 304 of file SpecialProtectedpages.php.

References $lb, $name, $result, array(), as, and UserCache\singleton().


Member Data Documentation

ProtectedPagesPager::$cascadeonly

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$indefonly

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$level

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$mConds

Definition at line 285 of file SpecialProtectedpages.php.

ProtectedPagesPager::$mForm

Definition at line 285 of file SpecialProtectedpages.php.

ProtectedPagesPager::$namespace

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$noredirect

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$size

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$sizetype

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().

ProtectedPagesPager::$type [private]

Definition at line 286 of file SpecialProtectedpages.php.

Referenced by __construct().


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