private static function getBrokerPriceInfo($brokerId, $startDate, $endDate) { $brokerPriceInfoList = Model_Broker_AdStatusSaleLog::getBrokerPriceInfo($brokerId, $startDate, $endDate); if (empty($brokerPriceInfoList)) { return array(); } $result = array(); foreach ($brokerPriceInfoList as $brokerPriceInfo) { $result[$brokerPriceInfo['dayDate']] = $brokerPriceInfo; } return $result; }