|
MediaWiki
REL1_19
|
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 10 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 |
| $result | object Result row |
| $skin | Skin object |
| $result | Object: database row |
Reimplemented from QueryPage.
Definition at line 42 of file ImageQueryPage.php.
| ImageQueryPage::getCellHtml | ( | $ | row | ) | [protected] |
Get additional HTML to be shown in a results' cell.
| $row | Object: result row |
Reimplemented in MostimagesPage.
Definition at line 50 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.
| $out | OutputPage to print to |
| $skin | Skin: user skin to use [unused] |
| $dbr | DatabaseBase (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, $out, $res, $title, getCellHtml(), and Title\makeTitleSafe().
