Prettifies a metric value based on the column name.
public static getPrettyValue ( Piwik\Metrics\Formatter $formatter, integer $idSite, string $columnName, mixed $value ) : string | ||
$formatter | Piwik\Metrics\Formatter | |
$idSite | integer | The ID of the site the metric is for (used if the column value is an amount of money). |
$columnName | string | The metric name. |
$value | mixed | The metric value. |
Результат | string |