MediaWiki  REL1_21
ImageHistoryPseudoPager Class Reference
Inheritance diagram for ImageHistoryPseudoPager:
Collaboration diagram for ImageHistoryPseudoPager:

List of all members.

Public Member Functions

 __construct ($imagePage)
 doQuery ()
 Do the query, using information from the object context.
 formatRow ($row)
 getBody ()
 getIndexField ()
 getPreventClickjacking ()
 getQueryInfo ()
 This function should be overridden to provide all parameters needed for the main paged query.
 getTitle ()

Protected Member Functions

 preventClickjacking ($enable=true)

Protected Attributes

File $mImg
Title $mTitle
 $preventClickjacking = false

Detailed Description

Definition at line 1227 of file ImagePage.php.


Constructor & Destructor Documentation

Parameters:
ImagePage$imagePage

Definition at line 1241 of file ImagePage.php.


Member Function Documentation

Do the query, using information from the object context.

This function has been kept minimal to make it overridable if necessary, to allow for result sets formed from multiple DB queries.

Reimplemented from IndexPager.

Definition at line 1302 of file ImagePage.php.

References preventClickjacking().

Parameters:
$rowobject
Returns:
string

Reimplemented from IndexPager.

Definition at line 1273 of file ImagePage.php.

Returns:
string

Reimplemented from IndexPager.

Definition at line 1280 of file ImagePage.php.

Returns:
string

Reimplemented from IndexPager.

Definition at line 1265 of file ImagePage.php.

Returns:
bool

Definition at line 1393 of file ImagePage.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 1258 of file ImagePage.php.

Returns:
Title

Reimplemented from ContextSource.

Definition at line 1254 of file ImagePage.php.

Parameters:
$enablebool

Definition at line 1386 of file ImagePage.php.

Referenced by doQuery().


Member Data Documentation

File ImageHistoryPseudoPager::$mImg [protected]

Definition at line 1232 of file ImagePage.php.

Title ImageHistoryPseudoPager::$mTitle [protected]

Definition at line 1236 of file ImagePage.php.

ImageHistoryPseudoPager::$preventClickjacking = false [protected]

Definition at line 1228 of file ImagePage.php.


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