Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Updating Entries

After retrieving an entry, you can update that entry and save changes back to the server. Here's an example:

$gdata = new Zend_Gdata($client);
$query = new Zend_Gdata_Query(
$feed $gdata->getFeed($query);
foreach (
$feed as $entry) {
// update the title to append 'NEW'
echo 'Old Title: ' $entry->title->text;
$entry->title->text $entry->title->text ' NEW';

// update the entry on the server
$newEntry $entry->save();
'New Title: ' $newEntry->title->text;

Zend Framework