Result printer that outputs query results as a image gallery.
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
mwjames
-
Rowan Rodrik van der Molen
◆ addImageToGallery()
SRF\Gallery::addImageToGallery |
( |
& |
$ig, |
|
|
Title |
$imgTitle, |
|
|
|
$imgCaption, |
|
|
|
$imgRedirect = '' |
|
) |
| |
|
protected |
Adds a single image to the gallery. Takes care of automatically adding a caption when none is provided and parsing it's wikitext.
- Since
- 1.5.3
- Parameters
-
TraditionalImageGallery | $ig | The gallery to add the image to |
Title | $imgTitle | The title object of the page of the image |
string | $imgCaption | An optional caption for the image |
string | $imgRedirect | |
◆ buildResult()
SRF\Gallery::buildResult |
( |
SMWQueryResult |
$results | ) |
|
|
protected |
- See also
- SMWResultPrinter::buildResult
- Since
- 1.8
- Parameters
-
- Returns
- string
◆ getName()
- See also
- SMWResultPrinter::getName
- Returns
- string
◆ getParamDefinitions()
SRF\Gallery::getParamDefinitions |
( |
array |
$definitions | ) |
|
- See also
- SMWResultPrinter::getParamDefinitions
- Since
- 1.8
- Parameters
-
$definitions | array of IParamDefinition |
- Returns
- array of IParamDefinition|array
The documentation for this class was generated from the following file: