Zend_Gdata_AppProvides Atom Publishing Protocol (APP) functionality. This class and all other components of Zend_Gdata_App are designed to work independently from other Zend_Gdata components in order to interact with generic APP services.
Located in /Gdata/App.php (line 47)
| Class | Description |
|---|---|
Zend_Gdata
|
Provides functionality to interact with Google data APIs Subclasses exist to implement service-specific features |
static Zend_Gdata_App_Feed
import
(string $uri, [Zend_Http_Client $client = null], [string $className = 'Zend_Gdata_App_Feed'])
static Zend_Gdata_App_Feed
importString
(string $string, [string $className = 'Zend_Gdata_App_Feed'])
Zend_Gdata_App_Entry
insertEntry
(mixed $data, string $uri, [string $className = 'Zend_Gdata_App_Entry'])
static boolean
$_httpMethodOverride
= false (line 69)
Override HTTP PUT and DELETE request methods?
static Zend_Http_Client
$_staticHttpClient
= null (line 62)
Client object used to communicate in static context
string
$_defaultPostUri
= null (line 76)
Default URI to which to POST.
Zend_Http_Client
$_httpClient
(line 55)
Client object used to communicate
array
$_registeredPackages
= array(Packages to search for classes when using magic __call method, in order.
static getHttpMethodOverride (line 233)
Get the HTTP override state
static getStaticHttpClient (line 195)
Gets the HTTP client object. If none is set, a new Zend_Http_Client will be used.
static import (line 247)
Imports a feed located at $uri.
static importFile (line 302)
Imports a feed from a file located at $filename.
static importString (line 276)
Imports a feed represented by $string.
static setHttpMethodOverride (line 223)
Toggle using POST instead of PUT and DELETE HTTP methods
Some feed implementations do not accept PUT and DELETE HTTP methods, or they can't be used because of proxies or other measures. This allows turning on using POST where PUT and DELETE would normally be used; in addition, an X-Method-Override header will be sent with a value of PUT or DELETE as appropriate.
static setStaticHttpClient (line 184)
Set the static HTTP client instance
Sets the static HTTP client object to use for retrieving the feed.
Constructor __construct (line 92)
Create Gdata object
delete (line 416)
Delete an entry
TODO Determine if App should call Entry to Delete or the opposite. Suspecect opposite would mkae more sense
getEntry (line 130)
Retreive entry object
getFeed (line 117)
Retreive feed object
getHttpClient (line 143)
Get the Zend_Http_Client object used for communication
insertEntry (line 389)
Inserts an entry to a given URI and returns the response as a fully formed Entry.
post (line 324)
POST data to Google with authorization headers set
put (line 444)
Put an entry
TODO Determine if App should call Entry to Update or the opposite. Suspecect opposite would mkae more sense. Also, this possibly should take an optional URL to override URL used in the entry, or if an edit URI/ID is not present in the entry
registerPackage (line 105)
Adds a Zend Framework package to the $_registeredPackages array.
This array is searched when using the magic __call method below to instantiante new objects.
setHttpClient (line 155)
Set the Zend_Http_Client object used for communication
__call (line 472)
Provides a magic factory method to instantiate new objects with
shorter syntax than would otherwise be required by the Zend Framework naming conventions. For instance, to construct a new Zend_Gdata_Calendar_Extension_Color, a developer simply needs to do $gCal->newColor(). For this magic constructor, packages are searched in the same order as which they appear in the $_registeredPackages array
Documentation generated on Sun, 27 May 2007 23:20:39 -0700 by phpDocumentor 1.3.2