MediaWiki  REL1_20
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 1203 of file ImagePage.php.


Constructor & Destructor Documentation

Parameters:
ImagePage$imagePage

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

References preventClickjacking().

Parameters:
$rowobject
Returns:
string

Reimplemented from IndexPager.

Definition at line 1249 of file ImagePage.php.

Returns:
string

Reimplemented from IndexPager.

Definition at line 1256 of file ImagePage.php.

Returns:
string

Reimplemented from IndexPager.

Definition at line 1241 of file ImagePage.php.

Returns:
bool

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

Returns:
Title

Reimplemented from ContextSource.

Definition at line 1230 of file ImagePage.php.

ImageHistoryPseudoPager::preventClickjacking ( enable = true) [protected]
Parameters:
$enablebool

Definition at line 1362 of file ImagePage.php.

Referenced by doQuery().


Member Data Documentation

File ImageHistoryPseudoPager::$mImg [protected]

Definition at line 1208 of file ImagePage.php.

Title ImageHistoryPseudoPager::$mTitle [protected]

Definition at line 1212 of file ImagePage.php.

ImageHistoryPseudoPager::$preventClickjacking = false [protected]

Definition at line 1204 of file ImagePage.php.


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