Code Context $clinic_info = $this->Clinic->find('all', array('conditions'=>array('id'=>$clinicId)));
$closestStation_info = $this->ClosestStation->find('all', array('conditions'=>array('clinic_id'=>$clinicId)));
$station_info = $this->Station->find('all', array('conditions'=>array('id'=>$closestStation_info[0]['Station']['id'])));
$clinicId = '332'
$impression = array(
(int) 0 => array(
'Impression' => array(
'id' => '40',
'user_id' => '74',
'status' => '1',
'judge_ym' => '2014-04-01',
'raiin_day' => '2014-08-27',
'shinsatusken' => '111',
'valuation_staff' => '5',
'valuation_doctor' => '5',
'valuation_time' => '5',
'valuation_facility' => '5',
'cmt' => '50文字以上のご入力をお願い致します。
脈略の無い文章、他サイトからの引用など"口コミにそぐわない内容"である場合、また掲載医院や他閲覧者様の権利を侵害する記述や、不快な表現を含む記述につきましては、医院の口コミとして反映されない場合がございます。予めご了承下さいませ。',
'del_flg' => null,
'updater' => null,
'submit_type' => '2',
'created' => '2014-04-18 12:32:03',
'modified' => '2014-04-18 12:32:03',
'valuation' => (float) 5
),
'User' => array(
'id' => '74',
'clinic_id' => '332',
'clinic_name' => 'YAMAOMOTO TEST',
'clinic_name_tmp' => 'あいうえお医院',
'seq' => '1397791923.71769',
'name' => 'テスト山本',
'shinryo_status' => '3',
'raiin_kbn' => '1',
'raiin_day' => '2014-08-27',
'age_lev' => null,
'sex' => '1',
'card_kbn' => null,
'post_no' => '1940041',
'pref' => '東京都',
'city' => '町田市',
'address' => '玉川学園',
'mail' => 'yamamoto-masuo@nln.co.jp',
'del_flg' => null,
'updater' => null,
'submit_type' => '2',
'created' => '2014-04-18 12:32:03',
'modified' => '2014-04-18 12:32:03'
),
'Reply' => array(
'id' => null,
'impression_id' => null,
'tokobi' => null,
'cmt' => null,
'del_flg' => null,
'updater' => null,
'created' => null,
'modified' => null
)
)
)
$row = array(
'Impression' => array(
'id' => '40',
'user_id' => '74',
'status' => '1',
'judge_ym' => '2014-04-01',
'raiin_day' => '2014-08-27',
'shinsatusken' => '111',
'valuation_staff' => '5',
'valuation_doctor' => '5',
'valuation_time' => '5',
'valuation_facility' => '5',
'cmt' => '50文字以上のご入力をお願い致します。
脈略の無い文章、他サイトからの引用など"口コミにそぐわない内容"である場合、また掲載医院や他閲覧者様の権利を侵害する記述や、不快な表現を含む記述につきましては、医院の口コミとして反映されない場合がございます。予めご了承下さいませ。',
'del_flg' => null,
'updater' => null,
'submit_type' => '2',
'created' => '2014-04-18 12:32:03',
'modified' => '2014-04-18 12:32:03',
'valuation' => (float) 5
),
'User' => array(
'id' => '74',
'clinic_id' => '332',
'clinic_name' => 'YAMAOMOTO TEST',
'clinic_name_tmp' => 'あいうえお医院',
'seq' => '1397791923.71769',
'name' => 'テスト山本',
'shinryo_status' => '3',
'raiin_kbn' => '1',
'raiin_day' => '2014-08-27',
'age_lev' => null,
'sex' => '1',
'card_kbn' => null,
'post_no' => '1940041',
'pref' => '東京都',
'city' => '町田市',
'address' => '玉川学園',
'mail' => 'yamamoto-masuo@nln.co.jp',
'del_flg' => null,
'updater' => null,
'submit_type' => '2',
'created' => '2014-04-18 12:32:03',
'modified' => '2014-04-18 12:32:03'
),
'Reply' => array(
'id' => null,
'impression_id' => null,
'tokobi' => null,
'cmt' => null,
'del_flg' => null,
'updater' => null,
'created' => null,
'modified' => null
)
)
$valuation = (int) 5
$sql = ' SELECT COUNT(1) cnt, AVG(valuation_staff) v_staff, AVG(valuation_doctor) v_doctor, AVG(valuation_time) v_time, AVG(valuation_facility) v_facility FROM users User, impressions Impression WHERE User.clinic_id = ? AND User.del_flg is null AND User.id = Impression.user_id AND Impression.status = 1 AND Impression.del_flg is null'
$DBRst = array(
(int) 0 => array(
(int) 0 => array(
'cnt' => '1',
'v_staff' => '5.0000',
'v_doctor' => '5.0000',
'v_time' => '5.0000',
'v_facility' => '5.0000'
)
)
)
$rst = array(
'cnt' => '1',
'v_staff' => '5.0000',
'v_doctor' => '5.0000',
'v_time' => '5.0000',
'v_facility' => '5.0000'
)
$summary = array(
'cnt' => '1',
'v_staff' => (float) 5,
'v_doctor' => (float) 5,
'v_time' => (float) 5,
'v_facility' => (float) 5,
'valuation' => (float) 5
)
$clinic_info = array(
(int) 0 => array(
'Clinic' => array(
'id' => '332',
'status' => '1',
'contract_s' => null,
'contract_e' => null,
'press_page' => '1',
'name' => 'YAMAOMOTO TEST',
'contact' => '01-2345-6789',
'post_no' => '1940041',
'pref' => '東京都',
'city' => '町田市',
'address' => '玉川学園',
'lat' => '35.5628303',
'lng' => '139.4632884',
'login_id' => '95412',
'login_pass' => 'uvTXbWjshqJ4jUYykLYr',
'present_flg' => null,
'patient_flg' => null,
'animation_flg' => null,
'del_flg' => null,
'updater' => null,
'created' => '2014-03-05 15:22:26',
'modified' => '2014-03-05 15:22:52'
)
)
)
$closestStation_info = array()
PressesController::present() - APP/Controller/PressesController.php, line 352
PressesController::beforeFilter() - APP/Controller/PressesController.php, line 143
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 183
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92