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.
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
string AUTH_SERVICE_NAME = 'xapi'
Service name for use with Google's authentication mechanisms
string $_defaultPostUri = 'null'
Default URI to which to POST.
Zend_Gdata_HttpClient $_httpClient = ''
Client object used to communicate
array $_registeredPackages = 'array'
Packages to search for classes when using magic __call method, in order.
Zend_Gdata_HttpClient $_staticHttpClient = 'null'
Client object used to communicate in static context
array $namespaces = 'array'
Namespaces used for Gdata data
__construct(
Zend_Http_Client $client
=
null, string $applicationId
=
MyCompany-MyApp-1.0
)
:
Create Gdata object
getEntry(
mixed $location, $className
=
Zend_Gdata_Entry
)
:
string|Zend_Gdata_App_Entry
Retrieve entry as string or object
getFeed(
mixed $location, string $className
=
Zend_Gdata_Feed
)
:
string|Zend_Gdata_App_Feed
Retrieve feed as string or object
import(
string $uri, Zend_Http_Client $client
=
null, string $className
=
Zend_Gdata_Feed
)
:
string|Zend_Gdata_App_Feed
Imports a feed located at $uri.
isAuthenticated(
)
:
boolean
Determines whether service object is authenticated.
performHttpRequest(
string $method, string $url, array $headers
=
array, string $body
=
null, string $contentType
=
null, int $remainingRedirects
=
null
)
:
Zend_Http_Response
Performs a HTTP request using the specified method.
Overrides the definition in the parent (Zend_Gdata_App) and uses the Zend_Gdata_HttpClient functionality to filter the HTTP requests and responses.