Inherits SMWResultPrinter.
Public Member Functions | |
| 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 | |
| handleParameters (array $params, $outputmode) | |
| getResultText (SMWQueryResult $res, $outputmode) | |
| Return serialised results in specified format. | |
Protected Attributes | |
| $mDelim | |
| $mTemplate | |
| $mUserParam | |
| $mNumColumns | |
Definition at line 20 of file SMW_QP_Category.php.
| SMWCategoryResultPrinter::handleParameters | ( | array $ | params, | |
| $ | outputmode | |||
| ) | [protected] |
| array | $params | |
| $outputmode |
Reimplemented from SMWResultPrinter.
Definition at line 35 of file SMW_QP_Category.php.
| SMWCategoryResultPrinter::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 44 of file SMW_QP_Category.php.
| SMWCategoryResultPrinter::getResultText | ( | SMWQueryResult $ | res, | |
| $ | outputmode | |||
| ) | [protected] |
Return serialised results in specified format.
Implemented by subclasses.
Reimplemented from SMWResultPrinter.
Definition at line 48 of file SMW_QP_Category.php.
References SMWQueryResult::getCount(), SMWResultPrinter::getLinker(), SMWQueryResult::getNext(), SMWQueryResult::getQueryLink(), SMWResultPrinter::getSearchLabel(), SMWResultPrinter::linkFurtherResults(), and SMWDataItem::TYPE_WIKIPAGE.
| SMWCategoryResultPrinter::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 190 of file SMW_QP_Category.php.
References SMWResultPrinter::$params, and SMWResultPrinter::textDisplayParameters().
SMWCategoryResultPrinter::$mDelim [protected] |
Definition at line 22 of file SMW_QP_Category.php.
SMWCategoryResultPrinter::$mTemplate [protected] |
Definition at line 23 of file SMW_QP_Category.php.
SMWCategoryResultPrinter::$mUserParam [protected] |
Definition at line 24 of file SMW_QP_Category.php.
SMWCategoryResultPrinter::$mNumColumns [protected] |
Definition at line 25 of file SMW_QP_Category.php.
1.5.6