Gdata/Analytics.php
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 license@zend.com 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
Properties


$namespaces = array(array('analytics', 'http://schemas.google.com/analytics/2009', 1, 0), array('ga', 'http://schemas.google.com/ga/2009', 1, 0))
static
Default value
array(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


__construct(\Zend_Http_Client $client = null, string $applicationId = 'MyCompany-MyApp-1.0') : void
Create Gdata object
Parameters
Name | Type | Description |
---|---|---|
$client | \Zend_Http_Client | |
$applicationId | string | The identity of the app in the form of
|


getAccountFeed(string | \Zend_Uri_Uri $uri = self::ANALYTICS_ACCOUNT_FEED_URI) : \Zend_Gdata_Analytics_AccountFeed
Retrieve account feed object
Parameters
Returns
Name | Type | Description |
---|---|---|
$uri | string | \Zend_Uri_Uri |
Type | Description |
---|---|
\Zend_Gdata_Analytics_AccountFeed |


getDataFeed(string | \Zend_Uri_Uri $uri = self::ANALYTICS_FEED_URI) : \Zend_Gdata_Analytics_DataFeed
Retrieve data feed object
Parameters
Returns
Name | Type | Description |
---|---|---|
$uri | string | \Zend_Uri_Uri |
Type | Description |
---|---|
\Zend_Gdata_Analytics_DataFeed |


newAccountQuery() : \Zend_Gdata_Analytics_AccountQuery
Returns a new AccountQuery object.
Returns
Type | Description |
---|---|
\Zend_Gdata_Analytics_AccountQuery |


newDataQuery() : \Zend_Gdata_Analytics_DataQuery
Returns a new DataQuery object.
Returns
Type | Description |
---|---|
\Zend_Gdata_Analytics_DataQuery |