'札幌', 'sendai' =>'仙台', 'tokyo' =>'東京', 'yokohama' =>'横浜', 'nagoya' =>'名古屋', 'kyoto' =>'京都', 'osaka' =>'大阪', 'fukuoka' =>'福岡' ); function __construct(){} function get_list(){ return array_chunk($this->region_list, 4, true); } function get_current_region(){ if(!isset($_COOKIE['region'])) return '未選択'; $regionlist = $this->region_list; if($c_region = $_COOKIE['region']) return $regionlist[$c_region];