private function getRealData(Hospital $hospital, $hospitalName = '') {/*{{{*/ $res = array(); if ($hospitalName) { $hsName = $hospitalName; } else { $hsName = $hospital->name; } $res['key'] = $hsName; $res['url'] = $hospital->getUrl(); $res['title'] = XString::truncate($hsName.'科室列表_门诊时间表_专家推荐_好大夫在线', 58, '...'); $res['type'] = isset(self::$hospitalLevelList[$hospital->grade])?self::$hospitalLevelList[$hospital->grade]:''; $res['address'] = XString::truncate($hospital->address, 70, ''); $res['mapUrl'] = $hospital->getReMapUrl(); $res['tel'] = $this->getPhoneStr($hospital->phone); $res['zixunUrl'] = $hospital->getDoctorUrl(); $res['jiahaoUrl'] = $hospital->getJiaHaoUrl(); $res['doctorUrl'] = $hospital->getDiseaseUrl(); $res['keshiUrl'] = $hospital->getScheduleUrl(); $res['showUrl'] = 'www.haodf.com'; $res['infoUrl'] = $hospital->getInfoUrl(); $res['date'] = date('Y-m-d', time()); return $res; }/*}}}*/