Inherits SMWResultPrinter.
Public Member Functions | |
| getResult (SMWQueryResult $results, array $params, $outputmode) | |
| getName () | |
| Get a human readable label for this printer. | |
| getParameters () | |
| A function to describe the allowed parameters of a query using any specific format - most query printers should override this function. | |
Protected Member Functions | |
| getResultText (SMWQueryResult $res, $outputmode) | |
Definition at line 20 of file SMW_QP_Auto.php.
| SMWAutoResultPrinter::getResult | ( | SMWQueryResult $ | results, | |
| array $ | params, | |||
| $ | outputmode | |||
| ) |
| $results | SMWQueryResult | |
| $params | array | |
| $outputmode | integer |
This hook allows extensions to override SMWs implementation of default result format handling.
Reimplemented from SMWResultPrinter.
Definition at line 31 of file SMW_QP_Auto.php.
References SMWQueryResult::getColumnCount(), SMWQueryProcessor::getResultPrinter(), SMWQueryProcessor::INLINE_QUERY, and SMWQueryProcessor::SPECIAL_PAGE.
| SMWAutoResultPrinter::getResultText | ( | SMWQueryResult $ | res, | |
| $ | outputmode | |||
| ) | [protected] |
| SMWQueryResult | $res | |
| $outputmode |
Reimplemented from SMWResultPrinter.
Definition at line 61 of file SMW_QP_Auto.php.
| SMWAutoResultPrinter::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.
Reimplemented from SMWResultPrinter.
Definition at line 65 of file SMW_QP_Auto.php.
References smwfLoadExtensionMessages().
| SMWAutoResultPrinter::getParameters | ( | ) |
A function to describe the allowed parameters of a query using any specific format - most query printers should override this function.
TODO: refactor non-printer params up to the query processor and do all param handling there.
Reimplemented from SMWResultPrinter.
Definition at line 70 of file SMW_QP_Auto.php.
References SMWQueryProcessor::getResultPrinter(), SMWQueryProcessor::INLINE_QUERY, and SMWQueryProcessor::SPECIAL_PAGE.
1.5.6