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
Detailsstring $_defaultPostUri = 'null'Default URI to which to POST.
DetailsZend_Gdata_HttpClient $_httpClient = ''Client object used to communicate
Detailsarray $_registeredPackages = 'array'Packages to search for classes when using magic __call method, in order.
DetailsZend_Gdata_HttpClient $_staticHttpClient = 'null'Client object used to communicate in static context
Detailsarray $namespaces = 'array'Namespaces used for Gdata data
Details__construct(
Zend_Http_Client $client
=
null, string $applicationId
=
MyCompany-MyApp-1.0
)
:
Create Gdata object
DetailsgetEntry(
mixed $location, $className
=
Zend_Gdata_Entry
)
:
string|Zend_Gdata_App_EntryRetrieve entry as string or object
DetailsgetFeed(
mixed $location, string $className
=
Zend_Gdata_Feed
)
:
string|Zend_Gdata_App_FeedRetrieve feed as string or object
Detailsimport(
string $uri, Zend_Http_Client $client
=
null, string $className
=
Zend_Gdata_Feed
)
:
string|Zend_Gdata_App_FeedImports a feed located at $uri.
DetailsisAuthenticated(
)
:
booleanDetermines whether service object is authenticated.
DetailsperformHttpRequest(
string $method, string $url, array $headers
=
array, string $body
=
null, string $contentType
=
null, int $remainingRedirects
=
null
)
:
Zend_Http_ResponsePerforms 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.
Details