diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-06 05:42:13 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-06 05:42:13 +0400 |
commit | 6dfc848b8eb8cc4e7b81489d45eebe66bc94e3f0 (patch) | |
tree | 4905cfb29864240a496f682f0585c09d34da4633 /plugins/VisitorInterest/Archiver.php | |
parent | f3fcfa6368ba0dcb551043f61dfdb59e2e53f1a5 (diff) |
Moving around
Diffstat (limited to 'plugins/VisitorInterest/Archiver.php')
-rw-r--r-- | plugins/VisitorInterest/Archiver.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/plugins/VisitorInterest/Archiver.php b/plugins/VisitorInterest/Archiver.php index 61879daaee..4075aff9bd 100644 --- a/plugins/VisitorInterest/Archiver.php +++ b/plugins/VisitorInterest/Archiver.php @@ -119,6 +119,17 @@ class Archiver extends \Piwik\Plugin\Archiver } } + public function aggregateMultipleReports() + { + $dataTableRecords = array( + self::TIME_SPENT_RECORD_NAME, + self::PAGES_VIEWED_RECORD_NAME, + self::VISITS_COUNT_RECORD_NAME, + self::DAYS_SINCE_LAST_RECORD_NAME + ); + $this->getProcessor()->aggregateDataTableRecords($dataTableRecords); + } + /** * Transforms and returns the set of ranges used to calculate the 'visits by total time' * report from ranges in minutes to equivalent ranges in seconds. @@ -139,14 +150,4 @@ class Archiver extends \Piwik\Plugin\Archiver return $secondsGap; } - public function aggregateMultipleReports() - { - $dataTableRecords = array( - self::TIME_SPENT_RECORD_NAME, - self::PAGES_VIEWED_RECORD_NAME, - self::VISITS_COUNT_RECORD_NAME, - self::DAYS_SINCE_LAST_RECORD_NAME - ); - $this->getProcessor()->aggregateDataTableRecords($dataTableRecords); - } }
\ No newline at end of file |