Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2008-06-06 05:18:47 +0400
committermattpiwik <matthieu.aubry@gmail.com>2008-06-06 05:18:47 +0400
commitf6d9b108a497534343a7435522f6deb70f278842 (patch)
tree562eca90dcc5fed93f611c309acbeb09233b5304 /plugins/VisitorInterest/Controller.php
parent1445fe5daa82209ad7154da4289e56d1f6d904ad (diff)
Adding new feature: you can now use comma separated idsite in all the APIs methods. Examples:
?module=API&method=VisitsSummary.getVisits&idSite=1,2,3,15&period=day&date=last2&format=xml Adding a new magic keyword "all" that will give stats for all the websites for which the requesting user (or token_auth) has view access ?module=API&method=VisitsSummary.getVisits&idSite=all&period=day&date=last2&format=xml - Expanding the concept of Piwik_Archive_Array - Adding tests for rendering Array of Array - Cleaning the renderer structure, but still work to do to make the code clearer (it's becoming quite complex...) git-svn-id: http://dev.piwik.org/svn/trunk@506 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/VisitorInterest/Controller.php')
-rw-r--r--plugins/VisitorInterest/Controller.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php
index a5efdad242..c65f580531 100644
--- a/plugins/VisitorInterest/Controller.php
+++ b/plugins/VisitorInterest/Controller.php
@@ -6,17 +6,11 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller
function index()
{
$view = new Piwik_View('VisitorInterest/index.tpl');
-
- /* Visitor Interest */
$view->dataTableNumberOfVisitsPerVisitDuration = $this->getNumberOfVisitsPerVisitDuration(true);
$view->dataTableNumberOfVisitsPerPage = $this->getNumberOfVisitsPerPage(true);
-
echo $view->render();
}
- /**
- * VisitorInterest
- */
function getNumberOfVisitsPerVisitDuration( $fetch = false)
{
$view = Piwik_ViewDataTable::factory( 'cloud' );
@@ -48,6 +42,4 @@ class Piwik_VisitorInterest_Controller extends Piwik_Controller
return $this->renderView($view, $fetch);
}
-
-
}