ImageQueryPage Class Reference
[SpecialPage]

Variant of QueryPage which uses a gallery to output results, thus suited for reports generating images. More...

Inherits QueryPage.

Inherited by MostimagesPage, UncategorizedImagesPage, and UnusedimagesPage.

List of all members.

Protected Member Functions

 outputResults ($out, $skin, $dbr, $res, $num, $offset)
 Format and output report results using the given information plus OutputPage.
 getCellHtml ($row)
 Get additional HTML to be shown in a results' cell.

Private Member Functions

 prepareImage ($row)
 Prepare an image object given a result row.


Detailed Description

Variant of QueryPage which uses a gallery to output results, thus suited for reports generating images.

Author:
Rob Church <robchur@gmail.com>

Definition at line 10 of file ImageQueryPage.php.


Member Function Documentation

ImageQueryPage::getCellHtml ( row  )  [protected]

Get additional HTML to be shown in a results' cell.

Parameters:
$row Object: result row
Returns:
String

Reimplemented in MostimagesPage.

Definition at line 61 of file ImageQueryPage.php.

Referenced by outputResults().

ImageQueryPage::outputResults ( out,
skin,
dbr,
res,
num,
offset 
) [protected]

Format and output report results using the given information plus OutputPage.

Parameters:
$out OutputPage to print to
$skin Skin: user skin to use
$dbr Database (read) connection to use
$res Integer: result pointer
$num Integer: number of available result rows
$offset Integer: paging offset

Reimplemented from QueryPage.

Definition at line 23 of file ImageQueryPage.php.

References $dbr, $i, $out, $res, getCellHtml(), and prepareImage().

ImageQueryPage::prepareImage ( row  )  [private]

Prepare an image object given a result row.

Parameters:
$row Object: result row
Returns:
Image

Definition at line 47 of file ImageQueryPage.php.

References $title, Title::makeTitleSafe(), and wfFindFile().

Referenced by outputResults().


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

Generated on Sat Apr 30 22:57:39 2011 for MediaWiki by  doxygen 1.5.9