dafritz wrote:
> I have been searching for a way to access the gd
namespace elements for a
> feed for the google calendar api and other google
libraries.
Set a variable to the name of the tag, and then fetch the
element by
symbolic reference. That way you can use special characters
in the name
of the member.
$tagname = 'gd:when';
$when = $feedItem->$tagname;
This is the technique I used, for example, in
tests/Zend/Gdata/CalendarTest.php.
Regards,
Bill Karwin
|