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


 array
                 $_registeredPackages= 'array(
            'Zend_Gdata_Kind''
array
                 $_registeredPackages= 'array(
            'Zend_Gdata_Kind''
                Packages to search for classes when using magic __call method, in order.
array(
            'Zend_Gdata_Kind'Details

 \Zend_Gdata_HttpClient
                 $_staticHttpClient= 'null'
\Zend_Gdata_HttpClient
                 $_staticHttpClient= 'null'
                Client object used to communicate in static context


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


 getEntry(
          mixed $location,  $className
              =
              'Zend_Gdata_Entry'
          )
        
        :
          string|\Zend_Gdata_App_Entry
getEntry(
          mixed $location,  $className
              =
              'Zend_Gdata_Entry'
          )
        
        :
          string|\Zend_Gdata_App_EntryRetrieve entry as string or object
| Name | Type | Description | 
|---|---|---|
| $location | mixed | The location as string or Zend_Gdata_Query | 
| $className | 
| Type | Description | 
|---|---|
| string|\Zend_Gdata_App_Entry | Returns string only if the object mapping has been disabled explicitly by passing false to the useObjectMapping() function. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_InvalidArgumentException | 


 getFeed(
          mixed $location, string $className
              =
              'Zend_Gdata_Feed'
          )
        
        :
          string|\Zend_Gdata_App_Feed
getFeed(
          mixed $location, string $className
              =
              'Zend_Gdata_Feed'
          )
        
        :
          string|\Zend_Gdata_App_FeedRetrieve feed as string or object
| Name | Type | Description | 
|---|---|---|
| $location | mixed | The location as string or Zend_Gdata_Query | 
| $className | string | The class type to use for returning the feed | 
| Type | Description | 
|---|---|
| string|\Zend_Gdata_App_Feed | Returns string only if the object mapping has been disabled explicitly by passing false to the useObjectMapping() function. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_InvalidArgumentException | 


 import(
          string $uri, \Zend_Http_Client $client
              =
              null, string $className
              =
              'Zend_Gdata_Feed'
          )
        
        :
          string|\Zend_Gdata_App_Feed
import(
          string $uri, \Zend_Http_Client $client
              =
              null, string $className
              =
              'Zend_Gdata_Feed'
          )
        
        :
          string|\Zend_Gdata_App_FeedImports a feed located at $uri.
| Name | Type | Description | 
|---|---|---|
| $uri | string | |
| $client | \Zend_Http_Client | The client used for communication | 
| $className | string | The class which is used as the return type | 
| Type | Description | 
|---|---|
| string|\Zend_Gdata_App_Feed | Returns string only if the object mapping has been disabled explicitly by passing false to the useObjectMapping() function. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_Exception | 


 isAuthenticated(
          
          )
        
        :
          boolean
isAuthenticated(
          
          )
        
        :
          booleanDetermines whether service object is authenticated.
| Type | Description | 
|---|---|
| boolean | True if service object is authenticated, false otherwise. | 


 performHttpRequest(
          string $method, string $url, array $headers
              =
              array(), string $body
              =
              null, string $contentType
              =
              null, int $remainingRedirects
              =
              null
          )
        
        :
          \Zend_Http_Response
performHttpRequest(
          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.
| Name | Type | Description | 
|---|---|---|
| $method | string | The HTTP method for the request - 'GET', 'POST', 'PUT', 'DELETE' | 
| $url | string | The URL to which this request is being performed, or null if found in $data | 
| $headers | array | An associative array of HTTP headers for this request | 
| $body | string | The body of the HTTP request | 
| $contentType | string | The value for the content type of the request body | 
| $remainingRedirects | int | Number of redirects to follow if requests results in one | 
| Type | Description | 
|---|---|
| \Zend_Http_Response | The response object |