Call to undefined method Zend_Gdata_Entry::link()

Call to undefined method Zend_Gdata_Entry::link()

am 16.11.2007 16:52:01 von noel.whelan

I've been working through the zend gdata client lib example for google
base:

http://code.google.com/apis/base/samples/php/php-sample-zend .html.

I've installed the zend framework version 1.0.2 for this purpose. The
first issue I experience is when I copy google's example code, which
includes the line:

Zend_Loader::loadClass('Zend_Feed_EntryAtom');

I get the following error:

Fatal error: Uncaught exception 'Zend_Exception' with message 'File
"EntryAtom.php" was not found' in C:\php\Zend\Loader.php:159

If I look in the zend directory where I've isntalled the framework, I
notice there is no Feed\EntryAtom.php, but I've got Feed\Atom.php, and
Feed\Entry\Atom.php. I've therefore tried to include the following
lines in the code instead:

Zend_Loader::loadClass('Zend_Feed_Atom');
Zend_Loader::loadClass('Zend_Feed_Entry_Atom');

I get further with this (i.e., it goes through the login process,
etc.), but it then yields the following error:

Fatal error: Call to undefined method Zend_Gdata_Entry::link() in C:
\Inetpub\wwwroot\google\demo-zend.php on line 210

The cited line in the example code is:

$link_list = $feed_entry->link();

I've been looking for info on what else I ought to try, but I've found
nothing on it. I wonder if it's got to do with the version of the zend
framework I've installed being the latest one, in which case I'd only
need insight on the current equivalent of what's in the example code?

Thank you for any input..
- oeln