2010年6月4日星期五

[fw-gdata] newEntry() question

I'm new to ZF and definitely new to GData.  I'm looking at some sample code and trying to find the corresponding documentation for it.

The example code:
-------------------------------------------------
<?PHP
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_Feed');
Zend_Loader::loadClass('Zend_Gdata_Query');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');

$client = Zend_Gdata_ClientLogin::getHttpClient($email, $password, 'blogger');
$gdClient = new Zend_Gdata($client);
$entry = $gdClient->newEntry();

?>
-------------------------------------------------

Why is it that when I print out the method listing for $gdClient, I don't see the "newEntry()" method?

I also can't find the newEntry() method in any other class in the ZF->GData documentation.

Does anyone have anying good pointers or places for me to look?

Thanks for all the help,
Andrew

没有评论: