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


Public Member Functions | |
| formatResult ($skin, $result) | |
| Formats the results of the query for display. | |
Protected Member Functions | |
| getCellHtml ($row) | |
| Get additional HTML to be shown in a results' cell. | |
| outputResults ($out, $skin, $dbr, $res, $num, $offset) | |
| Format and output report results using the given information plus OutputPage. | |
Variant of QueryPage which uses a gallery to output results, thus suited for reports generating images.
Definition at line 31 of file ImageQueryPage.php.
| ImageQueryPage::formatResult | ( | $ | skin, |
| $ | result | ||
| ) |
Formats the results of the query for display.
The skin is the current skin; you can use it for making links. The result is a single row of result data. You should be able to grab SQL results off of it. If the function returns false, the line output will be skipped.
| Skin | $skin | |
| object | $result | Result row |
Reimplemented from QueryPage.
Definition at line 63 of file ImageQueryPage.php.
| ImageQueryPage::getCellHtml | ( | $ | row | ) | [protected] |
Get additional HTML to be shown in a results' cell.
| object | $row | Result row |
Reimplemented in MostimagesPage.
Definition at line 71 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.
| OutputPage | $out | OutputPage to print to |
| Skin | $skin | User skin to use [unused] |
| DatabaseBase | $dbr | (read) connection to use |
| int | $res | Result pointer |
| int | $num | Number of available result rows |
| int | $offset | Paging offset |
Reimplemented from QueryPage.
Definition at line 43 of file ImageQueryPage.php.
References $dbr, $out, $res, $title, ImageGalleryBase\factory(), getCellHtml(), SpecialPage\getContext(), and Title\makeTitleSafe().