From 8d4186ce3e977f475fa8fea8b56191628682d166 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Feb 2017 16:23:40 +0200 Subject: [PATCH] test google lib --- app/library/App/Bootstrap/RouteBootstrap.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/library/App/Bootstrap/RouteBootstrap.php b/app/library/App/Bootstrap/RouteBootstrap.php index 346854c..d59ca89 100755 --- a/app/library/App/Bootstrap/RouteBootstrap.php +++ b/app/library/App/Bootstrap/RouteBootstrap.php @@ -10,10 +10,6 @@ use PhalconRest\Api; use Google_Client; use Google_Service_AnalyticsReporting; -use Google_Service_AnalyticsReporting_DateRange; -use Google_Service_AnalyticsReporting_Metric; -use Google_Service_AnalyticsReporting_ReportRequest; -use Google_Service_AnalyticsReporting_GetReportsRequest; class RouteBootstrap implements BootstrapInterface { @@ -79,5 +75,11 @@ class RouteBootstrap implements BootstrapInterface }); } + function getReport($analytics, $metric, $alias) { + // Замена на свой идентификатор представления, напр. XXXX. + $VIEW_ID = "119240817"; + + return $VIEW_ID; + } } \ No newline at end of file -- libgit2 0.21.4