After inserting a new item, how do I get the expiration date from the return value?
I can see the expiration date inside the data that is returned by Base, but so far I can only retrieve it by referring to the array index number and that could change depending on how many attributes the item has. In other words, I want to retrieve the value by name. Note: I do not want to compute the value, I want the value generated by Base. Here's how I insert the item: $entry = $service->insertGbaseItem($item); After inserting, I would like to get the expiration date with something like this: $entry->expiration_date->text or $entry->baseAttribute['expiration_date'] Okay, smarty-pants, how do I address the value by name and get the text? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-base-data-api?hl=en.
