Result printer that prints query results as a valuerank. In other words, it prints a list of all occuring values, with duplicates removed, together with their occurrence count.
Build out of Tag Cloud Format by Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
For example, this result set: foo bar baz foo bar bar ohi Will be turned into
- bar (3)
- foo (2)
- baz (1)
- ohi (1)
- Since
- 1.7
GNU GPL v2
- Author
- DaSch < dasch.nosp@m.@das.nosp@m.chmed.nosp@m.ia.d.nosp@m.e >
-
mwjames
◆ addTemplateOutput()
SRFValueRank::addTemplateOutput |
( |
|
$name, |
|
|
|
$rank, |
|
|
& |
$rownum |
|
) |
| |
|
protected |
Create a template output
- Since
- 1.8
- Parameters
-
string | $name | |
integer | $rank | |
integer | $rownum | |
- Returns
- string
◆ getFormatOutput()
SRFValueRank::getFormatOutput |
( |
array |
$tags | ) |
|
|
protected |
Format the output representation
- Since
- 1.8
- Parameters
-
- Returns
- string
◆ getName()
SRFValueRank::getName |
( |
| ) |
|
- See also
- SMWResultPrinter::getName
- Returns
- string
◆ getParamDefinitions()
SRFValueRank::getParamDefinitions |
( |
array |
$definitions | ) |
|
- See also
- SMWResultPrinter::getParamDefinitions
- Since
- 1.8
- Parameters
-
$definitions | array of IParamDefinition |
- Returns
- array of IParamDefinition|array
◆ getResultText()
SRFValueRank::getResultText |
( |
SMWQueryResult |
$results, |
|
|
|
$outputMode |
|
) |
| |
- See also
- SMWResultPrinter::getResultText
- Since
- 1.7
- Parameters
-
SMWQueryResult | $results | |
| $outputMode | |
- Returns
- string
◆ getValueRank()
SRFValueRank::getValueRank |
( |
array |
$tags | ) |
|
|
protected |
Determine ranks
- Since
- 1.7
- Parameters
-
- Returns
- array
The documentation for this class was generated from the following file: