|
| getResultText (QueryResult $queryResult, $outputMode) |
|
| getFileResult ( $queryResult, $params) |
|
| getResultText (QueryResult $res, $outputMode) |
|
| buildResult (QueryResult $results) |
|
| handleNonFileResult ( $result, QueryResult $results, $outputmode) |
|
| handleParameters (array $params, $outputMode) |
|
| postProcessParameters () |
|
| getLinker ( $firstcol=false) |
|
| getLink (QueryResult $res, $outputMode, $classAffix='') |
|
| getFurtherResultsLink (QueryResult $res, $outputMode) |
|
| getErrorString (QueryResult $res) |
|
| getResources () |
|
| escapeText ( $text, $outputmode) |
|
| getSearchLabel ( $outputmode) |
|
| linkFurtherResults (QueryResult $results) |
|
| addError ( $errorMessage) |
|
Result printer to print results in UNIX-style DSV (deliminter separated value) format.
GNU GPL v2+
- Since
- 1.6
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ getFileName()
SMW\Query\ResultPrinters\DsvResultPrinter::getFileName |
( |
QueryResult |
$queryResult | ) |
|
- See also
- FileExportPrinter::getMimeType
- Since
- 1.8
Some printers can produce not only embeddable HTML or Wikitext, but can also produce stand-alone files. An example is RSS or iCalendar. This function returns a filename that is to be sent to the caller in such a case (the default filename is created by browsers from the URL, and it is often not pretty).
- Parameters
-
- Returns
- string|boolean
Implements SMW\Query\ExportPrinter.
◆ getMimeType()
SMW\Query\ResultPrinters\DsvResultPrinter::getMimeType |
( |
QueryResult |
$queryResult | ) |
|
- See also
- FileExportPrinter::getMimeType
- Since
- 1.8
Some printers do not mainly produce embeddable HTML or Wikitext, but produce stand-alone files. An example is RSS or iCalendar. This function returns the mimetype string that this file would have, or FALSE if no standalone files are produced.If this function returns something other than FALSE, then the printer will not be regarded as a printer that displays in-line results. This is used to determine if a file output should be generated in Special:Ask.
- Since
- 1.8
- Parameters
-
- Returns
- string
Implements SMW\Query\ExportPrinter.
◆ getName()
SMW\Query\ResultPrinters\DsvResultPrinter::getName |
( |
| ) |
|
- See also
- ResultPrinter::getName
Get a human readable label for this printer. The default is to return just the format identifier. Concrete implementations may refer to messages here. The format name is normally not used in wiki text but only in forms etc. hence the user language should be used when retrieving messages.
- Returns
- string
Implements SMW\Query\ResultPrinter.
◆ getParamDefinitions()
SMW\Query\ResultPrinters\DsvResultPrinter::getParamDefinitions |
( |
array |
$definitions | ) |
|
- See also
- ResultPrinter::getParamDefinitions
- Since
- 1.8
Takes a list of parameter definitions and adds those supported by this result printer. Most result printers should override this method.
- Since
- 1.8
- Parameters
-
ParamDefinition[] | $definitions |
- Returns
- array
Implements SMW\Query\ResultPrinter.
◆ getResultText()
SMW\Query\ResultPrinters\DsvResultPrinter::getResultText |
( |
QueryResult |
$queryResult, |
|
|
|
$outputMode |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: