|
|
|
[
Permlink
| « Hide
]
Darby Felton - 28/Mar/07 09:37 AM
Assigning to
The GData component does allow for modifying an entry via retrieving an individual entry, updating it, and then calling the save() method on it. The same thing is true of the delete() method. (These two are located in Zend_Feed_EntryAtom).
It may be desirable to have a method put() and delete() in the Zend_Gdata class which takes an entry and calls the put or delete method on it-- but this would only be for convenience and uniformity, and would not add functionality. As the delete method would not require anything beyond the edit URL for an entry, it could acceept either just the edit URL or an EntryAtom as params. -Ryan Zend_Gdata has always supported updates to entries. Updating the entry object and performing $entry->save() updates the entry on the server by performing a HTTP PUT operation. $entry->delete deletes the entry from the server by performing a HTTP DELETE operation.
As of ZF 1.0PR1, Zend_Gdata_App (which each service inherits from) also supports performing the updates/deletes by passing an entry and/or URL. |
||||||||||||||||||||||||||||||||||||||||||||||||||