Gdata/Analytics.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Analytics  
Version
$Id$  

\Zend_Gdata_Analytics

Package: Zend_Gdata\Analytics
Provides functionality to interact with Google data APIs Subclasses exist to implement service-specific features
As the Google data API protocol is based upon the Atom Publishing Protocol (APP), Gdata functionality extends the appropriate Zend_Gdata_App classes
Parent(s)
\Zend_Gdata < \Zend_Gdata_App
Category
Zend  

Constants

>VConstant  AUTH_SERVICE_NAME = 'analytics'
>VConstant  ANALYTICS_FEED_URI = 'https://www.googleapis.com/analytics/v2.4/data'
>VConstant  ANALYTICS_ACCOUNT_FEED_URI = 'https://www.googleapis.com/analytics/v2.4/management/accounts'

Properties

>VPropertypublic$namespaces = array(array('analytics', 'http://schemas.google.com/analytics/2009', 1, 0), array('ga', 'http://schemas.google.com/ga/2009', 1, 0))
static
Default valuearray(array('analytics', 'http://schemas.google.com/analytics/2009', 1, 0), array('ga', 'http://schemas.google.com/ga/2009', 1, 0))Details
Type
n/a

Methods

methodpublic__construct(\Zend_Http_Client $client = null, string $applicationId = 'MyCompany-MyApp-1.0') : void

Create Gdata object

Parameters
NameTypeDescription
$client\Zend_Http_Client
$applicationIdstring

The identity of the app in the form of

     Company-AppName-Version
methodpublicgetAccountFeed(string | \Zend_Uri_Uri $uri = self::ANALYTICS_ACCOUNT_FEED_URI) : \Zend_Gdata_Analytics_AccountFeed

Retrieve account feed object

Parameters
NameTypeDescription
$uristring | \Zend_Uri_Uri
Returns
TypeDescription
\Zend_Gdata_Analytics_AccountFeed
methodpublicgetDataFeed(string | \Zend_Uri_Uri $uri = self::ANALYTICS_FEED_URI) : \Zend_Gdata_Analytics_DataFeed

Retrieve data feed object

Parameters
NameTypeDescription
$uristring | \Zend_Uri_Uri
Returns
TypeDescription
\Zend_Gdata_Analytics_DataFeed
methodpublicnewAccountQuery() : \Zend_Gdata_Analytics_AccountQuery

Returns a new AccountQuery object.

methodpublicnewDataQuery() : \Zend_Gdata_Analytics_DataQuery

Returns a new DataQuery object.

Returns
TypeDescription
\Zend_Gdata_Analytics_DataQuery
Documentation was generated by phpDocumentor 2.2.0 .