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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-13 23:30:00 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-13 23:30:46 +0400
commit9369f5a44705a79a4488b1c6fbd6834dad0631c1 (patch)
tree9c17f9668dad4eac9c3dcc53b6eaf6274708e5c1 /plugins/API
parent0467946029a47865b461e17ed8b8f558e4d03641 (diff)
Fixes #3089, finishing touches to UI and code.
Notes: - Added new visitId segment to get rid of getSingleVisitSummary API method. - Link to widgetized visitor profile in popup. - Added export link to visitor profile for visitor profile data. - Use CSS truncation instead of twig truncation in visitor log/last visits widget.
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/API.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php
index 5052569f82..d26b46db47 100644
--- a/plugins/API/API.php
+++ b/plugins/API/API.php
@@ -118,6 +118,15 @@ class API
'permission' => $isAuthenticatedWithViewAccess,
);
$segments[] = array(
+ 'type' => 'dimension',
+ 'category' => Piwik_Translate('General_Visit'),
+ 'name' => Piwik_Translate('General_Visit') . " ID",
+ 'segment' => 'visitId',
+ 'acceptedValues' => 'Any integer.',
+ 'sqlSegment' => 'log_visit.idvisit',
+ 'permission' => $isAuthenticatedWithViewAccess,
+ );
+ $segments[] = array(
'type' => 'metric',
'category' => Piwik_Translate('General_Visit'),
'name' => 'General_NbActions',