我不知道它是全局 Zend 属性存储系统还是什么,但是当我创建以下类型的代码时:
$serviceName = Zend_Gdata_Photos::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient($username, $pass, $serviceName);
// update the second argument to be CompanyName-ProductName-Version
$gp = new Zend_Gdata_Photos($client, "Google-DevelopersGuide-1.0");
$userFeed = $gp->getUserFeed("default");
foreach ($userFeed as $userEntry) {
echo $userEntry->title->text . "<br />\n";
}
我似乎无法获得指定 $userEntry 的所有属性。当我执行 print_r 时,它只是给了我元素的结构,而不是实际的数据。
我的问题是如何获取包含 $userEntry 的“标题”等项目的列表?
提前一百万谢谢!