private function getRealData(Disease $disease, $diseaseContentList=array()) {/*{{{*/ $res = array(); $zhuanTiInfo = ZhuanTiClient::getInstance()->getZhuaTisByDisease($disease->id); if (count($zhuanTiInfo)>1) { $res['name'] = $disease->name; $res['url'] = $disease->getUrl(); $res['date'] = date('Y-m-d', time()); $content = ""; if (isset($diseaseContentList[$disease->key])) { $content = $this->getContent($diseaseContentList[$disease->key]); } $res['content'] = $content; $res['doctorUrl'] = $disease->getDoctorUrl(); $res['zixunUrl'] = $disease->getZixunUrl(); $zhuanTi1 = array_shift($zhuanTiInfo); $zhuanTi2= array_shift($zhuanTiInfo); $res['zhuantiUrl1'] = $zhuanTi1->getUrl(); $res['zhuantiUrl2'] = $zhuanTi2->getUrl(); $res['zhuantiTitle1'] = $zhuanTi1->title; $res['zhuantiTitle2'] = $zhuanTi2->title; } BeanFinder::get('LocalCache')->removeAll(); return $res; }/*}}}*/