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/API.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/API.php')
-rw-r--r--plugins/VisitorInterest/API.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VisitorInterest/API.php b/plugins/VisitorInterest/API.php
index 22064df7fa..157ebdc3b4 100644
--- a/plugins/VisitorInterest/API.php
+++ b/plugins/VisitorInterest/API.php
@@ -27,7 +27,6 @@ class Piwik_VisitorInterest_API extends Piwik_Apiable
return self::$instance;
}
-
public function getNumberOfVisitsPerVisitDuration( $idSite, $period, $date )
{
Piwik::checkUserHasViewAccess( $idSite );
@@ -41,7 +40,6 @@ class Piwik_VisitorInterest_API extends Piwik_Apiable
return $dataTable;
}
-
public function getNumberOfVisitsPerPage( $idSite, $period, $date )
{
Piwik::checkUserHasViewAccess( $idSite );
@@ -55,6 +53,7 @@ class Piwik_VisitorInterest_API extends Piwik_Apiable
}
}
+//TODO i18n
function Piwik_getDurationLabel($label)
{
if(($pos = strpos($label,'-')) !== false)
@@ -80,6 +79,7 @@ function Piwik_getDurationLabel($label)
}
}
+//TODO i18n
function Piwik_getPageGapLabel($label)
{
$return = false;