diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-20 11:09:46 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-20 11:09:46 +0400 |
commit | 0a63210e3eae7562af1a3dbee340eb1ee140db3d (patch) | |
tree | c9f7c3a36a4b344b25c12aa04fed0733efb3bfa0 /core/ArchiveProcessor/Day.php | |
parent | 7ca35544d15cdb41b17283e693c8a14777c923ad (diff) |
Converting to namespace: Period*, Metrics, Segment, SegmentExpression, PluginsManager
Diffstat (limited to 'core/ArchiveProcessor/Day.php')
-rw-r--r-- | core/ArchiveProcessor/Day.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/ArchiveProcessor/Day.php b/core/ArchiveProcessor/Day.php index 7507da0591..8d17b34ad2 100644 --- a/core/ArchiveProcessor/Day.php +++ b/core/ArchiveProcessor/Day.php @@ -8,6 +8,7 @@ * @category Piwik * @package Piwik */ +use Piwik\Metrics; /** * This class @@ -51,7 +52,7 @@ class Piwik_ArchiveProcessor_Day extends Piwik_ArchiveProcessor * The returned array will have a row per distinct operating systems, * and a column per stat (nb of visits, max actions, etc) * - * 'label' Piwik_Metrics::INDEX_NB_UNIQ_VISITORS Piwik_Metrics::INDEX_NB_VISITS etc. + * 'label' Metrics::INDEX_NB_UNIQ_VISITORS Metrics::INDEX_NB_VISITS etc. * Linux 27 66 ... * Windows XP 12 ... * Mac OS 15 36 ... @@ -89,7 +90,7 @@ class Piwik_ArchiveProcessor_Day extends Piwik_ArchiveProcessor { $metrics = array(); foreach ($data as $metricId => $value) { - $readableMetric = Piwik_Metrics::$mappingFromIdToName[$metricId]; + $readableMetric = Metrics::$mappingFromIdToName[$metricId]; $metrics[$readableMetric] = $value; } return $metrics; |