diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-06-25 16:01:48 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-06-25 16:01:48 +0400 |
commit | d9bd24ce42cf2d39cc7f10c1ed4040203ad2aa7f (patch) | |
tree | dc4057e62dd3565ffcd87b199b094291b4ea3c4c /plugins/VisitorInterest/Controller.php | |
parent | 8f6d151fcb731b26c08882ec65eb3f81242c4ea1 (diff) |
Fix for Visitor>Engagement not being displayed
Diffstat (limited to 'plugins/VisitorInterest/Controller.php')
-rw-r--r-- | plugins/VisitorInterest/Controller.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php index ebca5441d4..1ee0d7755c 100644 --- a/plugins/VisitorInterest/Controller.php +++ b/plugins/VisitorInterest/Controller.php @@ -14,9 +14,9 @@ */ class Piwik_VisitorInterest_Controller extends Piwik_Controller { - function index() + public function index() { - $view = new Piwik_View('index'); + $view = new Piwik_View('@VisitorInterest/index'); $view->dataTableNumberOfVisitsPerVisitDuration = $this->getNumberOfVisitsPerVisitDuration(true); $view->dataTableNumberOfVisitsPerPage = $this->getNumberOfVisitsPerPage(true); $view->dataTableNumberOfVisitsByVisitNum = $this->getNumberOfVisitsByVisitCount(true); @@ -24,7 +24,7 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller echo $view->render(); } - function getNumberOfVisitsPerVisitDuration($fetch = false) + public function getNumberOfVisitsPerVisitDuration($fetch = false) { $view = Piwik_ViewDataTable::factory('cloud'); $view->init($this->pluginName, __FUNCTION__, "VisitorInterest.getNumberOfVisitsPerVisitDuration"); @@ -42,7 +42,7 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller return $this->renderView($view, $fetch); } - function getNumberOfVisitsPerPage($fetch = false) + public function getNumberOfVisitsPerPage($fetch = false) { $view = Piwik_ViewDataTable::factory('cloud'); $view->init($this->pluginName, __FUNCTION__, "VisitorInterest.getNumberOfVisitsPerPage"); |