示例#1
0
 /**
  * 获取经纪人发布过的小区
  *
  * @param int $brokerId
  * @return array
  */
 public static function getPublishedCommunityList($brokerId)
 {
     $result = array();
     $publishedCommunityList = Bll_Broker_HzBroker::getBrokerPublishCommunity($brokerId);
     foreach ($publishedCommunityList as $publishedCommunity) {
         $result[] = array('id' => $publishedCommunity['comm_id'], 'name' => $publishedCommunity['name'], 'areaName' => $publishedCommunity['default_name'], 'areaId' => $publishedCommunity['area_code'], 'address' => $publishedCommunity['address']);
     }
     return $result;
 }