public static function city($id) { $model = new Model(); $response = $model->city($id); print_r(json_encode($response)); }