diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-16 10:00:06 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-16 10:00:32 +0400 |
commit | 336cd45fd1c3c1df8aaf9f4980e24a563f0823c0 (patch) | |
tree | d36c100fd880af95014740312a7d48810fe2e2f4 /plugins/VisitorInterest/Reports | |
parent | fccdcc0c2c9416a283d35feb89fa689f9a32fcae (diff) |
moved some more dimensions to plugins, fixed some issues, removed some more duplicated code etc. Tests will not be green as there fixes to country detection
Diffstat (limited to 'plugins/VisitorInterest/Reports')
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/VisitorInterest/Reports/GetNumberOfVisitsByDaysSinceLast.php b/plugins/VisitorInterest/Reports/GetNumberOfVisitsByDaysSinceLast.php index cd5ca482df..679917fdcc 100644 --- a/plugins/VisitorInterest/Reports/GetNumberOfVisitsByDaysSinceLast.php +++ b/plugins/VisitorInterest/Reports/GetNumberOfVisitsByDaysSinceLast.php @@ -10,14 +10,14 @@ namespace Piwik\Plugins\VisitorInterest\Reports; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; -use Piwik\Plugins\VisitorInterest\Columns\Visitsbydayssincelastvisit; +use Piwik\Plugins\VisitorInterest\Columns\VisitsByDaysSinceLastVisit; class GetNumberOfVisitsByDaysSinceLast extends Base { protected function init() { parent::init(); - $this->dimension = new Visitsbydayssincelastvisit(); + $this->dimension = new VisitsByDaysSinceLastVisit(); $this->name = Piwik::translate('VisitorInterest_VisitsByDaysSinceLast'); $this->documentation = Piwik::translate('VisitorInterest_WidgetVisitsByDaysSinceLastDocumentation'); $this->metrics = array('nb_visits'); diff --git a/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerPage.php b/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerPage.php index c805195e93..3efc243ccc 100644 --- a/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerPage.php +++ b/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerPage.php @@ -12,14 +12,14 @@ use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\Cloud; use Piwik\Plugins\CoreVisualizations\Visualizations\Graph; -use Piwik\Plugins\VisitorInterest\Columns\Pagespervisit; +use Piwik\Plugins\VisitorInterest\Columns\PagesPerVisit; class GetNumberOfVisitsPerPage extends Base { protected function init() { parent::init(); - $this->dimension = new Pagespervisit(); + $this->dimension = new PagesPerVisit(); $this->name = Piwik::translate('VisitorInterest_WidgetPages'); $this->documentation = Piwik::translate('VisitorInterest_WidgetPagesDocumentation') . '<br />' . Piwik::translate('General_ChangeTagCloudView'); diff --git a/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerVisitDuration.php b/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerVisitDuration.php index 7b79dd92ed..a447ea22fe 100644 --- a/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerVisitDuration.php +++ b/plugins/VisitorInterest/Reports/GetNumberOfVisitsPerVisitDuration.php @@ -12,14 +12,14 @@ use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\Cloud; use Piwik\Plugins\CoreVisualizations\Visualizations\Graph; -use Piwik\Plugins\VisitorInterest\Columns\Visitduration; +use Piwik\Plugins\VisitorInterest\Columns\VisitDuration; class GetNumberOfVisitsPerVisitDuration extends Base { protected function init() { parent::init(); - $this->dimension = new Visitduration(); + $this->dimension = new VisitDuration(); $this->name = Piwik::translate('VisitorInterest_WidgetLengths'); $this->documentation = Piwik::translate('VisitorInterest_WidgetLengthsDocumentation') . '<br />' . Piwik::translate('General_ChangeTagCloudView'); |