/** * セッションからフリマ情報のデータを取得、整形 * * @access private * @param * @return array fleamarketのデータ * @author kobayashi */ private function getFleamarketData() { $fieldsets = $this->getFieldsets(); if (!$fieldsets) { return false; } $fieldset = $fieldsets['fleamarket']; $input = $fieldset->validation()->validated(); $input['link_from_list'] = \Model_Fleamarket::implodeLinkFromList($input['link_from_list']); $input['group_code'] = ''; if (empty($input['reservation_start'])) { unset($input['reservation_start']); } if (empty($input['reservation_end'])) { unset($input['reservation_end']); } unset($input['reservation_serial']); unset($input['event_number']); unset($input['created_user']); unset($input['updated_user']); unset($input['created_at']); unset($input['updated_at']); unset($input['deleted_at']); return $input; }