GNU GPL v2+
- Since
- 2.5
- Author
- mwjames
◆ format()
static SMW\Utils\StatsFormatter::format |
( |
array |
$stats, |
|
|
|
$format = null |
|
) |
| |
|
static |
- Since
- 2.5
- Parameters
-
array | $stats | |
string | null | $format | |
- Returns
- string|array
◆ getStatsFromFlatKey()
static SMW\Utils\StatsFormatter::getStatsFromFlatKey |
( |
array |
$stats, |
|
|
|
$separator = '.' |
|
) |
| |
|
static |
- Since
- 2.5
- Parameters
-
array | $stats | |
string | $separator | |
- Returns
- array
◆ FORMAT_HTML
const SMW\Utils\StatsFormatter::FORMAT_HTML = 'html' |
Stats as HTML list output
◆ FORMAT_JSON
const SMW\Utils\StatsFormatter::FORMAT_JSON = 'json' |
◆ FORMAT_PLAIN
const SMW\Utils\StatsFormatter::FORMAT_PLAIN = 'plain' |
The documentation for this class was generated from the following file: