query
stringlengths 9
43.3k
| document
stringlengths 17
1.17M
| metadata
dict | negatives
listlengths 0
30
| negative_scores
listlengths 0
30
| document_score
stringlengths 5
10
| document_rank
stringclasses 2
values |
---|---|---|---|---|---|---|
fetch product trends based on sales
|
public function getProductTrend($query)
{
$granularity = $this->getGranularity($query['startDate'], $query['endDate']);
if($granularity == 'month') {
$dateQuery = 'to_char(orders.created_at, \'YYYY-MM\') as date';
$dateGroupBy = array('date');
$dateOrder = 'date asc';
} else if($granularity == 'day') {
$dateQuery = 'to_char(orders.created_at, \'YYYY-MM-DD\') as date';
$dateGroupBy = array('date');
$dateOrder = 'date asc';
}
// $dateQuery = 'to_char(orders.created_at, \'YYYY-MM-DD\') as date';
// $dateGroupBy = array('date');
// $dateOrder = 'date asc';
DB::enableQueryLog();
// execute
$dbQuery = DB::connection('virtual_market')
->table('order_lines')
->join('products', 'order_lines.product_id', '=', 'products.id')
->join('orders', 'order_lines.order_id', '=', 'orders.id')
->select(DB::raw('sum(quantity) as count, round(avg(price/quantity), 0) as price,'.$dateQuery))
->where('orders.created_at', '>=', $query['startDate'])
->where('orders.created_at', '<=', $query['endDate'])
->where('order_lines.product_id', '=', $query['productId'])
->groupBy($dateGroupBy)
->orderByRaw($dateOrder);
$product = $dbQuery
->get()
->toArray();
$start = Carbon::createFromFormat('Y-m-d H:i:s', $query['startDate'], 'Asia/Jakarta');
$end = Carbon::createFromFormat('Y-m-d H:i:s', $query['endDate'], 'Asia/Jakarta');
$now = Carbon::now('Asia/Jakarta');
if($end->diffInDays($now) < 1 && $start->diffInDays($end) <= 30) {
//fix null values
$trendData = [];
$prevTime = NULL;
for($i=0; $i<count($product); $i++) {
$item = $product[$i];
$currentTime = Carbon::createFromFormat('Y-m-d', $item->date);
if ($prevTime != NULL) {
for ($time=$prevTime->addDay(); $time->lt($currentTime); $time->addDay()) {
$x = array();
$x['date'] = $time->toDateString();
$x['count'] = 0;
$x['price'] = $prevItem->price; // same as previous day
array_push($trendData, (object)$x);
}
}
array_push($trendData, $item);
$prevTime = $currentTime;
$prevItem = $item;
}
//check null values on endDate
$endTime = Carbon::createFromFormat('Y-m-d H:i:s', $query['endDate']);
$lastTime = Carbon::createFromFormat('Y-m-d', $trendData[count($trendData)-1]->date);
for ($time=$lastTime->addDay(); $time->lt($endTime); $time->addDay()) {
$x = array();
$x['date'] = $time->toDateString();
$x['count'] = 0;
$x['price'] = $product[count($product)-1]->price; // same as last day
array_push($trendData, (object)$x);
}
// predict using regression
$samples = [];
$countTargets = [];
$priceTargets = [];
for($i=0; $i<count($trendData); $i++) {
array_push($samples, [$i+1]);
array_push($countTargets, $trendData[$i]->count);
array_push($priceTargets, $trendData[$i]->price);
}
$countRegression = new LeastSquares();
$countRegression->train($samples, $countTargets);
$priceRegression = new LeastSquares();
$priceRegression->train($samples, $priceTargets);
// predict for number of days
$predictions = [];
for($i=1; $i<=3; $i++) {
$x = [];
$x['date'] = Carbon::createFromFormat('Y-m-d', $trendData[count($trendData)-1]->date)->addDays($i)->toDateString();
// predict product count
$countPredictedValue = $countRegression->predict([count($trendData)+$i]);
if($countPredictedValue < 0)
$countPredictedValue = 0;
$x['count'] = (string) round($countPredictedValue, 0);
// predict product price
$pricePredictedValue = $priceRegression->predict([count($trendData)+$i]);
if($pricePredictedValue < 0)
$pricePredictedValue = 0;
$x['price'] = (string) round($pricePredictedValue, 0);
array_push($predictions, (object)$x);
}
$trendData = array_merge($trendData, $predictions);
} else {
$trendData = $product;
}
$data = array();
$data['granularity'] = $granularity;
$data['trend'] = $trendData;
$status = $this->setStatus();
return response()->json([
'status' => $status,
'data' => $data
]);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getProductTrend($query)\n {\n $granularity = $this->getGranularity($query['startDate'], $query['endDate']);\n if($granularity == 'month') {\n $dateQuery = 'to_char(orderlines.created_at, \\'YYYY-MM\\') as date';\n $dateGroupBy = array('date');\n $dateOrder = 'date asc';\n } else if($granularity == 'day') {\n $dateQuery = 'to_char(orderlines.created_at, \\'YYYY-MM-DD\\') as date';\n $dateGroupBy = array('date');\n $dateOrder = 'date asc';\n }\n\n DB::enableQueryLog();\n // execute\n $dbQuery = DB::connection('marketplace')\n ->table('orderlines')\n ->join('orderline_statuses','orderlines.orderline_status_id','orderline_statuses.id')\n ->join('products', 'orderlines.product_id', '=', 'products.id')\n ->join('stores', 'orderlines.store_id', '=', 'stores.id')\n ->select(DB::raw('sum(quantity) as count, round(avg(subtotal/quantity), 0) as price,'.$dateQuery))\n ->where('orderlines.created_at', '>=', $query['startDate'])\n ->where('orderlines.created_at', '<=', $query['endDate'])\n ->where('orderline_statuses.name', '=', $this->successStatus)\n ->where('orderlines.product_id', '=', $query['productId'])\n ->where('stores.sentra_id', '=', $query['sentraId'])\n ->groupBy($dateGroupBy)\n ->orderByRaw($dateOrder);\n\n $product = $dbQuery\n ->get()\n ->toArray();\n\n $start = Carbon::createFromFormat('Y-m-d H:i:s', $query['startDate'], 'Asia/Jakarta');\n $end = Carbon::createFromFormat('Y-m-d H:i:s', $query['endDate'], 'Asia/Jakarta');\n $now = Carbon::now('Asia/Jakarta');\n if($end->diffInDays($now) < 1 && $start->diffInDays($end) <= 30) {\n \n //fix null values\n $trendData = [];\n $prevTime = NULL;\n for($i=0; $i<count($product); $i++) {\n $item = $product[$i];\n \n $currentTime = Carbon::createFromFormat('Y-m-d', $item->date);\n if ($prevTime != NULL) {\n for ($time=$prevTime->addDay(); $time->lt($currentTime); $time->addDay()) {\n\n $x = array();\n $x['date'] = $time->toDateString();\n $x['count'] = (string) 0;\n $x['price'] = $prevItem->price; // same as previous day\n\n array_push($trendData, (object)$x);\n }\n }\n array_push($trendData, $item);\n $prevTime = $currentTime;\n $prevItem = $item;\n }\n //check null values on endDate\n $endTime = Carbon::createFromFormat('Y-m-d H:i:s', $query['endDate']);\n $lastTime = Carbon::createFromFormat('Y-m-d', $trendData[count($trendData)-1]->date);\n for ($time=$lastTime->addDay(); $time->lt($endTime); $time->addDay()) {\n $x = array();\n $x['date'] = $time->toDateString();\n $x['count'] = (string) 0;\n $x['price'] = $product[count($product)-1]->price; // same as last day\n array_push($trendData, (object)$x);\n }\n\n // predict using regression\n $samples = [];\n $countTargets = [];\n $priceTargets = [];\n for($i=0; $i<count($trendData); $i++) {\n array_push($samples, [$i+1]);\n array_push($countTargets, $trendData[$i]->count);\n array_push($priceTargets, $trendData[$i]->price);\n }\n\n $countRegression = new LeastSquares();\n $countRegression->train($samples, $countTargets);\n\n $priceRegression = new LeastSquares();\n $priceRegression->train($samples, $priceTargets);\n\n // predict for number of days\n $predictions = [];\n for($i=1; $i<=3; $i++) {\n $x = [];\n $x['date'] = Carbon::createFromFormat('Y-m-d', $trendData[count($trendData)-1]->date)->addDays($i)->toDateString();\n // predict product count\n $countPredictedValue = $countRegression->predict([count($trendData)+$i]);\n if($countPredictedValue < 0)\n $countPredictedValue = 0;\n $x['count'] = (string) round($countPredictedValue, 0);\n // predict product price\n $pricePredictedValue = $priceRegression->predict([count($trendData)+$i]);\n if($pricePredictedValue < 0)\n $pricePredictedValue = 0;\n $x['price'] = (string) round($pricePredictedValue, 0);\n\n array_push($predictions, (object)$x);\n }\n $trendData = array_merge($trendData, $predictions);\n } else {\n $trendData = $product;\n }\n\n $data = array();\n $data['granularity'] = $granularity;\n $data['trend'] = $trendData;\n\n $status = $this->setStatus();\n\n return response()->json([\n 'status' => $status,\n 'data' => $data\n ]);\n }",
"function fetch_daily_sales_report(){\n \t\t$this->db->select('products.PRODUCT, SUM(sales.QUANTITY_SOLD) SALES, products.COST_PRICE, products.SALES_PRICE, sales.SALES_DATE');\n \t\t$this->db->from('sales');\n \t\t$this->db->join('products', 'products.PRODUCT_ID=sales.PRODUCT_ID', 'left');\n \t\t$this->db->where('sales.SALES_DATE', date('Y-m-d'));\n \t\t$this->db->where('sales.STATUS','Confirmed');\n \t\t$this->db->group_by('sales.PRODUCT_ID');\n \t\t$query=$this->db->get();\n \t\tif($query->num_rows()>0){\n \t\t\treturn $query->result();\n \t\t}\n \t\telse{\n \t\t\treturn false;\n \t\t}\n \t}",
"public function getSalesProperty()\n {\n $min = $this->periodDates['min'];\n $max = $this->periodDates['max'];\n $format = 'Y-m-d H:i:s';\n $result = [];\n $data = [];\n\n if ($this->periodCategory === 'all') {\n $data = DB::connection('carmu')\n ->table('sale')\n ->where('sale_date', '>=', $min->format($format))\n ->where('sale_date', '<=', $max->format($format))\n ->orderBy('sale_id')\n ->orderBy('sale_date')\n ->get();\n } else {\n $data = DB::connection('carmu')\n ->table('sale as t1')\n ->join('sale_has_category as t2', 't1.sale_id', '=', 't2.sale_id')\n ->where('t2.category_id', $this->periodCategory)\n ->where('sale_date', '>=', $min->format($format))\n ->where('sale_date', '<=', $max->format($format))\n ->select('t1.*')\n ->get();\n }\n\n foreach ($data as $sale) {\n $result[] = [\n 'id' => $sale->sale_id,\n 'date' => Carbon::createFromFormat('Y-m-d H:i:s', $sale->sale_date)->format('d-m-Y'),\n 'description' => $sale->description,\n 'amount' => floatval($sale->amount)\n ];\n }\n\n return $result;\n }",
"public function getSalesList(){\n\t\n $registry = Zend_Registry::getInstance();\n\t\t$DB = $registry['DB'];\n\t\t\n $sql = \"SELECT sales_id,sales_comm_percentage FROM `tbl_sales_commission` where `deleted` = 0 ORDER BY sales_id DESC \";\n\t\t\n \t\t$result = $DB->fetchAssoc($sql);\n\t\treturn $result; \n\t\t\n }",
"function find_sale_by_dates($start_date,$end_date){\n global $db;\n $start_date = date(\"Y-m-d\", strtotime($start_date));\n $end_date = date(\"Y-m-d\", strtotime($end_date));\n $sql = \"SELECT s.date, p.name,p.sale_price,p.buy_price,\";\n $sql .= \"COUNT(s.product_id) AS total_records,\";\n $sql .= \"SUM(s.qty) AS total_sales,\";\n $sql .= \"SUM(p.sale_price * s.qty) AS total_saleing_price,\";\n $sql .= \"SUM(p.buy_price * s.qty) AS total_buying_price \";\n $sql .= \"FROM sales s \";\n $sql .= \"LEFT JOIN products p ON s.product_id = p.id\";\n $sql .= \" WHERE s.date BETWEEN '{$start_date}' AND '{$end_date}'\";\n $sql .= \" GROUP BY DATE(s.date),p.name\";\n $sql .= \" ORDER BY DATE(s.date) DESC\";\n return $db->query($sql);\n}",
"private function _getTicketsReferentSales()\n {\n $this->loadModel('Users');\n $users = $this->Users->find('all')->toArray();\n $data = [];\n\n foreach ($users as $user) {\n $count = $this->Tickets->find('all')->where(['paid' => 1, 'user_code' => $user->code])->count();\n\n if($count > 0) {\n $data[] = [\n 'label' => $user->firstname . ' ' . $user->lastname,\n 'value' => $this->Tickets->find('all')->where(['paid' => 1, 'user_code' => $user->code])->count()\n ];\n }\n }\n\n return $data;\n }",
"public function total_sales()\n {\n $product = DB::table('users')\n ->join('order_lists', 'users.id', '=', 'order_lists.user_id')\n ->join('order_details', 'order_lists.id', '=', 'order_details.order_list_id')\n ->join('payment_details', 'order_details.payment_details_id', '=', 'payment_details.id')\n ->join('products', 'order_lists.item_id', '=', 'products.id')\n ->select( 'order_lists.type', 'order_lists.quentity', 'products.title', 'order_lists.total_price', 'payment_details.created_at') \n ->where('order_lists.type', '=', 'product')\n ->latest();\n \n $pet = DB::table('users')\n ->join('order_lists', 'users.id', '=', 'order_lists.user_id')\n ->join('order_details', 'order_lists.id', '=', 'order_details.order_list_id')\n ->join('payment_details', 'order_details.payment_details_id', '=', 'payment_details.id')\n ->join('pets', 'order_lists.item_id', '=', 'pets.id')\n ->select( 'order_lists.type', 'order_lists.quentity', 'pets.title','order_lists.total_price', 'payment_details.created_at') \n ->where('order_lists.type', '=', 'pet')\n ->union($product)\n ->latest()\n ->get();\n\n return $pet;\n }",
"public function getTrending(){\n $now = Carbon::now();\n $now = $now->toDateTimeString();\n $sponsored_apartments = DB::table('apartments')\n ->leftJoin('apartment_sponsor', 'apartments.id', '=', 'apartment_sponsor.apartment_id')\n ->where('apartment_sponsor.date_end', '>', $now )\n ->select('apartments.*')\n ->groupBy('apartments.id')\n ->get();\n\n return response()->json([\n 'success' => true,\n 'results' => [\n 'sponsored_apartments' => $sponsored_apartments,\n ]\n ]);\n }",
"function dailySales($year,$month){\n global $db;\n $sql = \"SELECT s.qty,\";\n $sql .= \" DATE_FORMAT(s.date, '%Y-%m-%e') AS date,p.name,\";\n $sql .= \"SUM(p.sale_price * s.qty) AS total_saleing_price\";\n $sql .= \" FROM sales s\";\n $sql .= \" LEFT JOIN products p ON s.product_id = p.id\";\n $sql .= \" WHERE DATE_FORMAT(s.date, '%Y-%m' ) = '{$year}-{$month}'\";\n $sql .= \" GROUP BY DATE_FORMAT( s.date, '%e' ),s.product_id\";\n return find_by_sql($sql);\n}",
"function carton_scheduled_sales() {\n\tglobal $carton, $wpdb;\n\n\t// Sales which are due to start\n\t$q2 = \"\n\t\tSELECT\n\t\t pr.post_id,\n\t\t pr.meta_value AS price,\n\t\t sp.meta_value AS sale_price,\n\t\t (df.meta_value > 0 OR dt.meta_value > 0)::int AS dates,\n\t\t rp.meta_value AS regular_price,\n\t\t CASE\n\t\t\tWHEN (tf.meta_value != '' AND tf.meta_value IS NOT NULL AND tt.meta_value != '' AND tt.meta_value IS NOT NULL AND NOT fn.time_between(tf.meta_value, tt.meta_value)) THEN rp.meta_value\n\t\t\tWHEN fn.time_between(tf.meta_value, tt.meta_value) THEN sp.meta_value\n\t\t\tWHEN df.meta_value::bigint <= ti.stamp AND ti.stamp <= dt.meta_value::bigint THEN sp.meta_value\n\t\t\tWHEN df.meta_value::bigint <= ti.stamp AND (dt.meta_value = '' OR dt.meta_value IS NULL) THEN sp.meta_value\n\t\t\tWHEN (df.meta_value = '' OR df.meta_value IS NULL) AND ti.stamp <= dt.meta_value::bigint THEN sp.meta_value\n\t\t\tWHEN df.meta_value::bigint >= ti.stamp AND (dt.meta_value = '' OR dt.meta_value IS NULL) THEN rp.meta_value\n\t\t\tWHEN (df.meta_value = '' OR df.meta_value IS NULL) AND ti.stamp >= dt.meta_value::bigint THEN rp.meta_value\n\t\t\tWHEN (df.meta_value = '' OR df.meta_value IS NULL) AND (dt.meta_value = '' OR dt.meta_value IS NULL) THEN sp.meta_value\n\t\t END AS required_price\n\t\tFROM\n\t\t wp_postmeta AS pr, wp_postmeta AS sp, wp_postmeta AS rp,\n\t\t wp_postmeta AS df, wp_postmeta AS dt,\n\t\t wp_postmeta AS tf, wp_postmeta AS tt,\n\t\t (SELECT EXTRACT(EPOCH FROM now())::bigint AS stamp) AS ti\n\t\tWHERE\n\t\t\t pr.meta_key = '_price'\n\t\t AND sp.post_id = pr.post_id AND sp.meta_key = '_sale_price'\n\t\t AND rp.post_id = pr.post_id AND rp.meta_key = '_regular_price'\n\t\t AND df.post_id = pr.post_id AND df.meta_key = '_sale_price_dates_from'\n\t\t AND dt.post_id = pr.post_id AND dt.meta_key = '_sale_price_dates_to'\n\t\t AND tf.post_id = pr.post_id AND tf.meta_key = '_sale_price_time_from'\n\t\t AND tt.post_id = pr.post_id AND tt.meta_key = '_sale_price_time_to'\n\t\t AND sp.meta_value::numeric > 0\n\t\";\n\n\t$q = $wpdb->prepare( \"\n\t\tSELECT postmeta.post_id FROM {$wpdb->postmeta} as postmeta\n\t\tLEFT JOIN {$wpdb->postmeta} as postmeta_2 ON postmeta.post_id = postmeta_2.post_id\n\t\tLEFT JOIN {$wpdb->postmeta} as postmeta_3 ON postmeta.post_id = postmeta_3.post_id\n\t\tWHERE postmeta.meta_key = '_sale_price_dates_from'\n\t\tAND postmeta_2.meta_key = '_price'\n\t\tAND postmeta_3.meta_key = '_sale_price'\n\t\tAND postmeta.meta_value > 0\n\t\tAND postmeta.meta_value < %s\n\t\tAND postmeta_2.meta_value != postmeta_3.meta_value\n\t\", current_time( 'timestamp' ) );\n\n\t$products = $wpdb->get_results( $q2 );\n\tif ( $products ) {\n\t\tforeach ( $products as $product ) {\n\t\t\t$product_id = $product->post_id;\n\t\t\t$price = $product->price;\n\t\t\t$sale_price = $product->sale_price;\n\t\t\t$regular_price = $product->regular_price;\n\t\t\t$required_price= $product->required_price;\n\t\t\t\n\t\t\tif( $required_price == $sale_price ) {\n\t\t\t\t// Product in on SALE now\n\t\t\t\t// Nothing to do\n\t\t\t} elseif( $required_price == $regular_price ) {\n\t\t\t\t// Product is not on SALE now\n\t\t\t\tif( $product->dates ) {\n\t\t\t\t\t// Delete sale price and dates only if it was dates based rule.\n\t\t\t\t\tupdate_post_meta( $product_id, '_sale_price', '' );\n\t\t\t\t\tupdate_post_meta( $product_id, '_sale_price_dates_from', '' );\n\t\t\t\t\tupdate_post_meta( $product_id, '_sale_price_dates_to', '' );\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Set required price \n\t\t\tupdate_post_meta( $product_id, '_price', $required_price );\n\n\t\t\t$carton->clear_product_transients( $product_id );\n\t\t\t$parent = wp_get_post_parent_id( $product_id );\n\n\t\t\t// Sync parent\n\t\t\tif ( $parent ) {\n\t\t\t\t// We can force varaible product price to sync up by removing their min price meta\n\t\t\t\tdelete_post_meta( $parent, 'min_variation_price' );\n\n\t\t\t\t// Grouped products need syncing via a function\n\t\t\t\t$this_product = get_product( $product_id );\n\t\t\t\tif ( $this_product->is_type( 'simple' ) )\n\t\t\t\t\t$this_product->grouped_product_sync();\n\t\t\t\t$carton->clear_product_transients( $parent );\n\t\t\t}\n\t\t}\n\t}\n}",
"public function getProductStats($query)\n {\n $prevPeriod = $this->getPrevDatePeriod($query['startDate'], $query['endDate']);\n DB::enableQueryLog();\n // execute\n $currentAvailability = DB::connection('virtual_market')\n ->table('order_lines')\n ->join('orders', 'order_lines.order_id', '=', 'orders.id')\n ->select('*')\n ->select(DB::raw('count(case when order_lines.is_available then 1 end) as available, count(order_lines.is_available) as total'))\n ->where('orders.created_at', '>=', $query['startDate'])\n ->where('orders.created_at', '<=', $query['endDate'])\n ->get();\n if($currentAvailability[0]->total > 0)\n $currentAvailability = round(((float)$currentAvailability[0]->available / $currentAvailability[0]->total)*100, 2);\n else \n $currentAvailability = null;\n\n $prevAvailability = DB::connection('virtual_market')\n ->table('order_lines')\n ->join('orders', 'order_lines.order_id', '=', 'orders.id')\n ->select(DB::raw('count(case when order_lines.is_available then 1 end) as available, count(order_lines.is_available) as total'))\n ->where('orders.created_at', '>=', $prevPeriod['startDate'])\n ->where('orders.created_at', '<=', $prevPeriod['endDate'])\n ->get();\n if($prevAvailability[0]->total > 0)\n $prevAvailability = round(((float)$prevAvailability[0]->available / $prevAvailability[0]->total)*100, 2);\n else \n $prevAvailability = null;\n \n // product price\n $product = DB::connection('virtual_market')\n ->table('order_lines')\n ->join('products', 'order_lines.product_id', '=', 'products.id')\n ->join('orders', 'order_lines.order_id', '=', 'orders.id')\n ->select(DB::raw('products.id, round(avg(order_lines.price/order_lines.quantity), 0) as avg_price'))\n ->where('orders.created_at', '>=', $query['startDate'])\n ->where('orders.created_at', '<=', $query['endDate'])\n ->groupBy('products.id')\n ->get();\n\n for($i=0; $i<count($product); $i++) {\n $prevData = DB::connection('virtual_market')\n ->table('order_lines')\n ->join('products', 'order_lines.product_id', '=', 'products.id')\n ->join('orders', 'order_lines.order_id', '=', 'orders.id')\n ->select(DB::raw('products.id, round(avg(order_lines.price/order_lines.quantity), 0) as avg_price'))\n ->where('orders.created_at', '>=', $prevPeriod['startDate'])\n ->where('orders.created_at', '<=', $prevPeriod['endDate'])\n ->where('products.id', '=', $product[$i]->id)\n ->groupBy('products.id')\n ->get();\n\n // change in percent\n if(count($prevData) != 0) {\n $product[$i]->price_change = (string) round((float)($product[$i]->avg_price - $prevData[0]->avg_price)/($prevData[0]->avg_price)*100, 2);\n } else {\n $product[$i]->price_change = (string) 0;\n }\n }\n // average price change in percent\n $total = 0;\n for($i=0; $i<count($product); $i++){\n $total += $product[$i]->price_change;\n }\n if(count($product)>0)\n $fluctuation = round(($total / count($product)), 2);\n else \n $fluctuation = null;\n\n $data = array();\n $data['availability'] = array();\n $data['availability']['current'] = $currentAvailability;\n $data['availability']['prev'] = $prevAvailability;\n // $data['product'] = $product;\n $data['fluctuation'] = $fluctuation;\n\n $status = $this->setStatus();\n\n return response()->json([\n 'status' => $status,\n 'data' => $data\n ]);\n }",
"public function getExchTrendBySale($saleId,$startDate,$endDate,$countType){\n\t\t$sql = 'select addDate as date,'.$countType.' as c from '.$this->tableName.' where saleId ='.$saleId.' and addDate>=\"'.$startDate.'\" and addDate<=\"'.$endDate.'\" group by addDate';\n $rows = Yii::app()->db->createCommand($sql)->queryAll(); \n return CyUtil::splitKeyValue($rows,$startDate,$endDate);\n\t}",
"public function getAllSales()\n {\n return $this->join('customers','sales.customer_id','=','customers.id')\n ->select('sales.*','customers.name as customer')\n ->get();\n }",
"function get_all_related_product_trending( $conds = array(), $limit = false, $offset = false ) \n\t{\n\n\t\t// where clause\n\t\t// inner join with products and touches\n\t\t$this->db->select(\"prd.*\");\n\t\t$this->db->from($this->table_name . ' as prd');\n\t\t$this->db->join('rt_touches as tou', 'prd.id = tou.type_id');\n\t\t$this->db->where( \"tou.type_name\", \"product\");\n\t\t$this->db->where( \"prd.status\", \"1\" );\n\t\t$this->db->where( \"tou.type_id !=\", $conds['id']);\n\t\t$this->db->where( \"prd.cat_id =\", $conds['cat_id']);\n\n\t\t$this->db->group_by(\"tou.type_id\");\n\t\t$this->db->order_by(\"count(DISTINCT tou.id)\", \"DESC\");\n\n\t\tif ( $limit ) {\n\t\t// if there is limit, set the limit\n\t\t\t\n\t\t\t$this->db->limit($limit);\n\t\t}\n\t\t\n\t\tif ( $offset ) {\n\t\t// if there is offset, set the offset,\n\t\t\t$this->db->offset($offset);\n\t\t}\n\t\t\n\t return $this->db->get();\n\n\t}",
"public function index()\n {\n return TrendingProductCollection::collection(Product::join('sale', 'sale.product_id', 'products.id')->where('sale.order_count', '>', 1)->get());\n }",
"public function retrieve_product_sales_report()\n\t{\n\t\t$today = date('Y-m-d');\n\t\t$this->db->select(\"a.*,b.product_name,b.product_model,c.date,c.total_amount,d.customer_name\");\n\t\t$this->db->from('invoice_details a');\n\t\t$this->db->join('product_information b','b.product_id = a.product_id');\n\t\t$this->db->join('invoice c','c.invoice_id = a.invoice_id');\n\t\t$this->db->join('customer_information d','d.customer_id = c.customer_id');\n\t\t$this->db->where('c.date',$today);\n\t\t$this->db->order_by('c.date','desc');\n\t\t$this->db->limit('500');\n\t\t$query = $this->db->get();\t\n\t\treturn $query->result_array();\n\t}",
"public function statistics(){\n\t\t$products = Product::where('event_id', Configuration::eventId())->get();\n\n\t\t// Setup dates\n\t\t$statistics = Order::with('orderlists')->where('event_id', $this->id)->orderBy('created_at')->get();\n\t\t$firstDate = $statistics->first()->created_at;\n\t\t$lastDate = $statistics->last()->created_at;\n\n\t\t// Get dates between firstdate and lastdate and put them in output\n\t\t$output = new Collection();\n\t\tfor($date = $firstDate;$date->lte($lastDate);$date->addDay()){\n\t\t\t// Get the product ID's and put them in an array\n\t\t\t$data = new Collection();\n\t\t\tforeach($products as $product){\n\t\t\t\t$data->put($product->id, 0);\n\t\t\t}\n\n\t\t\t$output->put($date->format('d-m-Y'), $data);\n\t\t}\n\n\t\t// Add the amounts of products ordered from the orderlists\n\t\tforeach($statistics as $order){\n\t\t\t$date = $order->created_at->format('d-m-Y');\n\t\t\tforeach($order->orderlists()->get() as $orderlist){\n\t\t\t\t$output[$date][$orderlist->product_id] = $orderlist->amount;\n\t\t\t}\n\t\t}\n\n\n\n\t\treturn $output;\n\t}",
"public function get_sales_data(Request $request){\n\n $sales_graph=$this->all_orders->groupBy(function($item){\n return ($item->created_at->format('Y:m'));\n })->map(function($item,$key){\n return ($item->sum('grand_total'));\n });\n $orders_graph=$this->all_orders->groupBy(function($item){\n return ($item->created_at->format('Y:m'));\n })->map(function($item,$key){\n return ($item->count());\n });\n \n $sales_str=\"[\";\n foreach($sales_graph as $key=>$value){\n\n if($sales_graph->last()==$value)\n $sales_str.='{\"Month\" : \"' . $key . '\", \"Sales\":\"'.$value .'\"}';\n else\n $sales_str.='{\"Month\": \"' . $key . '\", \"Sales\":\"'.$value .'\"},';\n }\n $sales_str.=\"]\";\n \n $orders_str=\"[\";\n \n foreach($orders_graph as $key=>$value){\n\n if($orders_graph->last()==$value)\n $orders_str.='{\"Month\" : \"' . $key . '\", \"Orders\":\"'.$value .'\"}';\n else\n $orders_str.='{\"Month\": \"' . $key . '\", \"Orders\":\"'.$value .'\"},';\n }\n $orders_str.=\"]\";\n\n\n echo json_encode([$sales_str,$orders_str]);\n }",
"function get_best_sales_info($a) {\n\n $op = new product();\n \n for( $i = 0; $i < BEST_SALES; $i++ ) {\n $op->get_best_sale($a[$i], $i);\n }\n \n return $op;\n \n}",
"function fetch_sales_product_list($date){\n \t\t$this->db->select('products.PRODUCT, products_to_sell.QUANTITY, products_to_sell.ID, products_to_sell.DATE_ADDED');\n \t\t$this->db->from('products_to_sell');\n \t\t$this->db->join('products', 'products_to_sell.PRODUCT_ID=products.PRODUCT_ID', 'left');\n \t\t$this->db->where('products_to_sell.DATE_ADDED', $date);\n \t\t$query=$this->db->get();\n \t\tif($query->num_rows()>0){\n \t\t\treturn $query->result();\n \t\t}\n \t\telse{\n \t\t\treturn false;\n \t\t}\n \t}",
"private function _getAlsoSold2(){\n $data['also_sold_products'] = null;\n $also_sold = $this->model_catalog_product->GetAlsoSoldProducts($this->request->get['product_id']);\n foreach ($also_sold as $result) {\n if ($result['image']) {\n $image = $this->model_tool_image->resize($result['image'], $this->config->get($this->config->get('config_theme') . '_image_related_width'), $this->config->get($this->config->get('config_theme') . '_image_related_height'));\n } else {\n $image = $this->model_tool_image->resize('placeholder.png', $this->config->get($this->config->get('config_theme') . '_image_related_width'), $this->config->get($this->config->get('config_theme') . '_image_related_height'));\n }\n\n if ($this->customer->isLogged() || !$this->config->get('config_customer_price')) {\n $price = $this->currency->format($this->tax->calculate($result['price'], $result['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);\n } else {\n $price = false;\n }\n\n if ((float)$result['special']) {\n $special = $this->currency->format($this->tax->calculate($result['special'], $result['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']);\n } else {\n $special = false;\n }\n\n if ($this->config->get('config_tax')) {\n $tax = $this->currency->format((float)$result['special'] ? $result['special'] : $result['price'], $this->session->data['currency']);\n } else {\n $tax = false;\n }\n\n if ($this->config->get('config_review_status')) {\n $rating = (int)$result['rating'];\n } else {\n $rating = false;\n }\n\n $data['also_sold_products'][] = array(\n 'product_id' => $result['product_id'],\n 'thumb' => $image,\n 'name' => $result['name'],\n 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get($this->config->get('config_theme') . '_product_description_length')) . '..',\n 'price' => $price,\n 'special' => $special,\n 'tax' => $tax,\n 'minimum' => $result['minimum'] > 0 ? $result['minimum'] : 1,\n 'rating' => $rating,\n 'href' => $this->url->link('product/product', 'product_id=' . $result['product_id'].'&selfref=also')\n );\n }\n\n }",
"function getSalesByProdXML($intYear, $intMonth, $intCatId, $forDataURL) {\n\t$strXML=\"\";\n // Function to connect to the DB\n $link = connectToDB();\n\n\t//Initialize <categories> element\n\t$strCat = \"<categories>\";\n\t\n\t//Initialize datasets\n\t$strAmtDS = \"<dataset seriesname='Revenue'>\";\n\t$strQtyDS = \"<dataset seriesName='Units Sold' parentYAxis='S'>\";\n\t\n\t//First we need to get unique categories in the database\n\t$strSQL = \"SELECT g.CategoryName,p.ProductName,ROUND(SUM(d.Quantity),0) as Quantity, ROUND(SUM(d.Quantity*p.UnitPrice),0) As Total FROM FC_Categories as g, FC_Products as p, FC_Orders as o, FC_OrderDetails as d WHERE year(o.OrderDate)=\" . $intYear . \" and month(o.OrderDate)=\" . $intMonth . \" and g.CategoryID=\" . $intCatId . \" and d.ProductID= p.ProductID and g.CategoryID= p.CategoryID and o.OrderID= d.OrderID GROUP BY g.CategoryName,p.ProductName \";\n $result = mysql_query($strSQL) or die(mysql_error());\n\n if ($result) {\n while($ors = mysql_fetch_array($result)) {\n $strCat .= \"<category label='\" . escapeXML($ors['ProductName'],$forDataURL) . \"'/>\";\n $strAmtDS .= \"<set value='\" . $ors['Total'] . \"' />\";\n $strQtyDS .= \"<set value='\" . $ors['Quantity'] . \"'/>\";\n }\n }\n mysql_close($link);\n\n\t//Closing elements\n\t$strCat .= \"</categories>\";\n\t$strAmtDS .= \"</dataset>\";\n\t$strQtyDS .= \"</dataset>\";\n\t//Entire XML - concatenation\n\t$strXML = $strCat . $strAmtDS . $strQtyDS;\n\t\n\treturn $strXML;\n}",
"public function designers_sales($offset = 0, $limit = 0){\r\n\t\tif ($limit <= 0) {\r\n\t\t\t$MAX_RECORDS = 8; /* each request return 8 records at most */\r\n\t\t} else {\r\n\t\t\t$MAX_RECORDS = $limit;\r\n\t\t}\r\n\t\t$data ['rows'] = $this->users_model->get_by_popularity($offset, $MAX_RECORDS);\r\n\t\t$data ['offset'] = $offset + 1;\r\n\t\tprint json_encode($data);\r\n\t\t//print_r($data);\r\n\t}",
"public function retrieve_product_search_sales_report( $start_date,$end_date )\n\t{\n\t\t$dateRange = \"c.date BETWEEN '$start_date%' AND '$end_date%'\";\n\t\t$this->db->select(\"a.*,b.product_name,b.product_model,c.date,d.customer_name\");\n\t\t$this->db->from('invoice_details a');\n\t\t$this->db->join('product_information b','b.product_id = a.product_id');\n\t\t$this->db->join('invoice c','c.invoice_id = a.invoice_id');\n\t\t$this->db->join('customer_information d','d.customer_id = c.customer_id');\n\t\t$this->db->where($dateRange, NULL, FALSE); \n\t\t$this->db->order_by('c.date','desc');\n\t\t$query = $this->db->get();\t\n\t\treturn $query->result_array();\n\t\t\n\t\t//$this->db->group_by('b.product_model');\n\t}",
"public function retrieve_product_search_sales_report( $start_date,$end_date )\n\t{\n\t\t$dateRange = \"c.date BETWEEN '$start_date%' AND '$end_date%'\";\n\t\t$this->db->select(\"a.*,b.product_name,b.product_model,c.date,d.customer_name\");\n\t\t$this->db->from('invoice_details a');\n\t\t$this->db->join('product_information b','b.product_id = a.product_id');\n\t\t$this->db->join('invoice c','c.invoice_id = a.invoice_id');\n\t\t$this->db->join('customer_information d','d.customer_id = c.customer_id');\n\t\t$this->db->where($dateRange, NULL, FALSE); \n\t\t$this->db->order_by('c.date','desc');\n\t\t$this->db->limit('500');\n\t\t$query = $this->db->get();\t\n\t\treturn $query->result_array();\n\t\t\n\t\t//$this->db->group_by('b.product_model');\n\t}",
"function ppt_resources_get_consumptions_stocks_per_product($data)\n{\n if (!isset($data['year']) || (!isset($data['uid']))) {\n return services_error('Year or UID are not defined!', 500);\n }\n\n global $user;\n $year = $data['year'];\n $accounts = [];\n // If there is no uid sent with the api so get the current user id.\n if (isset($data['uid']) && !empty($data['uid'])) {\n $uid = $data['uid'];\n } else {\n $uid = $user->uid;\n }\n $countries = array();\n if (isset($data['countries'])) {\n $countries = $data['countries'];\n }\n $reps = array();\n if (isset($data['reps'])) {\n $reps = $data['reps'];\n } else {\n $is_rep = FALSE;\n if (is_rep($user)) {\n $is_rep = TRUE;\n }\n $reps = ppt_resources_get_sales_manager_reps($uid, $countries, $is_rep);\n }\n\n $user = user_load($uid);\n\n // Check if user selected accounts.\n if (isset($data['accounts'])) {\n $accounts = $data['accounts'];\n } else {\n $accounts = ppt_resources_get_role_accounts($user, $countries);\n }\n\n $products = [];\n // Check if user selected products.\n if (isset($data['products'])) {\n $products = get_products_dosages($data['products']);\n } else {\n // If the user is rep.\n if (is_rep($user)) {\n $products = get_products_for_current_user($uid);\n } else {\n $products = get_products_for_accounts($accounts);\n }\n }\n\n $entries = get_entries($accounts, $products, NULL, $reps);\n $entries_records = get_entries_records_for_year($entries, $year, 'consumption_stock_entry');\n $consumptions = sum_records_per_field_grouped_by_account($entries_records, 'field_product');\n\n return $consumptions;\n}",
"function GetProductSalesByDates($lastDays)\n{\n global $conn;\n\n /*\n DATE_ADD(date, INTERVAL value unit)\n */\n \n $sql = \"SELECT l.ProductID as ProductID, sum(l.Quantity) as SaleQuantity, p.Name as Name, p.ImageUrl as ImageUrl\n FROM lineitem as l\n \tjoin product as p\n \ton l.ProductID = p.ProductID\n WHERE TransactionID in (\n \tSELECT t.TransactionID\n FROM transaction as t \n WHERE 1=1 \";\n \n $params = array();\n \n // add the date tests if values provided\n if (isset($lastDays) AND $lastDays != NULL)\n {\n $sql .= \" AND t.SaleDate BETWEEN DATE_ADD(NOW(), INTERVAL :lastDays DAY) AND NOW() \";\n $params[':lastDays'] = $lastDays;\n }\n\n // finish the sql\n $sql .= \")\n GROUP BY l.ProductID\n ORDER BY p.Name \";\n\n $statement = $conn->prepare($sql);\n $statement->execute($params);\n $records = $statement->fetchAll(PDO::FETCH_ASSOC);\n \n return $records;\n}",
"public function getSales($period)\n{\n\tif($period == \"week\")\n\t{\n\t\t$query = $this->db->query(\"SELECT * FROM Purchases WHERE PurchasedTime > DATE_SUB(NOW(), INTERVAL 1 WEEK)\");\n\t}\n\telse if($period == \"month\")\n\t{\n\t\t$query = $this->db->query(\"SELECT * FROM Purchases WHERE PurchasedTime > DATE_SUB(NOW(), INTERVAL 1 MONTH)\");\n\t}\n\telse if($period == \"year\")\n\t{\n\t\t$query = $this->db->query(\"SELECT * FROM Purchases WHERE PurchasedTime > DATE_SUB(NOW(), INTERVAL 1 YEAR)\");\n\t}\n\telse\n\t{\t\n\t\t$query = $this->db->query(\"SELECT * FROM Purchases\");\n\t}\n\t\n\treturn $query->num_rows();\n}",
"function best_selling_products_function( $args ) {\n\t$args = [\n\t\t'post_type'\t\t\t=> 'product',\n\t\t'meta_key' \t\t\t=> 'total_sales',\n\t\t'orderby'\t\t\t=> 'meta_value_num',\n\t\t'posts_per_page'\t=> 10\n\t];\n\n\t$loop = new WP_Query($args);\n\n\tif ( $loop->have_posts() ) {\n\t\techo '\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Title</th>\n\t\t\t\t\t<th>Description</th>\n\t\t\t\t\t<th>Price</th>\n\t\t\t\t</tr>\n\t\t';\n\n\t\twhile ( $loop->have_posts() ) : $loop->the_post();\n\t\t\tglobal $product;\n\n\t\t\techo '\n\t\t\t\t<tr>\n\t\t\t\t\t<td><a href=\"'. get_the_permalink() .'\">' . get_the_title() . '</a></td>\n\t\t\t\t\t<td>' . get_the_excerpt() . '</td>\n\t\t\t\t\t<td>' . $product->get_price() . '</td>\n\t\t\t\t</tr>\n\t\t\t';\n\t\tendwhile;\n\n\t\techo '</table>';\t\n\n\t} else {\n\t\techo __( 'No products found' );\n\t}\n\n\twp_reset_postdata();\n}",
"function ppt_resources_get_usd_stocks($data)\n{\n// return $data;\n if (!isset($data['year'])) {\n return services_error('Year is not defined!', 500);\n }\n\n $year = $data['year'];\n $accounts = [];\n // If there is no uid sent with the api so get the current user id.\n if (isset($data['uid'])) {\n $uid = $data['uid'];\n } else {\n global $user;\n $uid = $user->uid;\n }\n $countries = array();\n if (isset($data['countries'])) {\n $countries = $data['countries'];\n }\n $reps = array();\n if (isset($data['reps'])) {\n $reps = $data['reps'];\n }\n\n $user = user_load($uid);\n\n // Check if user selected accounts.\n if (isset($data['accounts'])) {\n $accounts = $data['accounts'];\n } else {\n $accounts = ppt_resources_get_role_accounts($user, $countries);\n }\n\n $products = [];\n // Check if user selected products.\n if (isset($data['products'])) {\n $products = get_products_dosages($data['products']);\n } else {\n // If the user is rep.\n if (is_rep($user)) {\n $products = get_products_for_current_user($uid);\n } else {\n $products = get_products_for_accounts($accounts);\n }\n }\n//return entity_metadata_wrapper('field_collection_item', 18045);\n $entries = get_entries($accounts, $products, NULL, $reps);\n $entries_records = get_entries_records_for_year($entries, $year, 'consumption_stock_entry');\n $reports = sum_records_per_field($entries_records, 'field_product', TRUE);\n return $reports;\n}"
] |
[
"0.6742242",
"0.61564326",
"0.60912484",
"0.6036626",
"0.5967878",
"0.59179574",
"0.590048",
"0.5896988",
"0.58613133",
"0.5861304",
"0.58285415",
"0.57899415",
"0.57715076",
"0.57688975",
"0.57600105",
"0.5752899",
"0.57408756",
"0.5712831",
"0.5707465",
"0.566388",
"0.5635285",
"0.56341785",
"0.56328017",
"0.5628302",
"0.5627008",
"0.56118506",
"0.560778",
"0.55938363",
"0.5592092",
"0.55785227"
] |
0.6667886
|
1
|
Define query for findOneByCell() method
|
protected function defineFindOneByCellQuey($name, $value)
{
return $this->createQueryBuilder('p')
->linkInner('p.data')
->andWHere('data.name = :name AND data.value = :value')
->setParameter('name', $name)
->setParameter('value', $value)
->setMaxResults(1);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function findOneByCell($name, $value)\n {\n return $this->defineFindOneByCellQuey($name, $value)->getSingleResult();\n }",
"abstract public function query();",
"public function cell($row=0, $column=0) {\n\t\tif ($row || $column) return false;\n\t\treturn $this->query;\n\t}",
"public function findOne() {\n $this->buildSql();\n $rows = $this->db->findOne($this->sql);\n return $rows;\n }",
"abstract function find($query);",
"public function query();",
"public function query();",
"public function query();",
"public function findCriteria()\r\n\t{\n\t\t$result = $this -> connection -> setTable($this -> entity)\n\t\t\t\t\t\t\t\t\t -> fetch();\r\n\n\t\treturn $result;\r\n\t}",
"public static function query();",
"public function findOneBy($column, $value, array $where = array());",
"abstract protected function findOneBy(array $criteria);",
"function query() {}",
"public function query() {\n $this->field_alias = $this->real_field;\n if (isset($this->definition['trovequery'])) {\n $this->query->add_where('', $this->definition['trovequery']['arg'], $this->definition['trovequery']['value']);\n }\n }",
"public function findOne(array $where);",
"public abstract function get_query();",
"abstract public function queryOne($Qs);",
"function createQuery() ;",
"public static function findOne($condition);",
"public function single($query,$params = null)\n {\n $this->Init($query,$params);\n return $this->sQuery->fetchColumn();\n }",
"public function fetchOne($sql, $params = array());",
"public function findOneBy($criteria);",
"public function query(): QueryBuilder;",
"public function queryRow()\n\t{\n\t\treturn $this->queryInternal('fetch',$this->_fetchMode);\n\t}",
"public function findOneBy(array $criteria);",
"public function findOneBy(array $criteria);",
"public function findOneBy(array $criteria);",
"function query() {\n }",
"public function queryBuilder();",
"public function queryBuilder();"
] |
[
"0.65744334",
"0.5970215",
"0.58766603",
"0.5855764",
"0.58018494",
"0.57816637",
"0.57816637",
"0.57816637",
"0.5766058",
"0.5757203",
"0.56987906",
"0.5646726",
"0.5603538",
"0.5596485",
"0.5581537",
"0.5548421",
"0.55474126",
"0.5470053",
"0.54448986",
"0.5428453",
"0.54151946",
"0.5407486",
"0.5395724",
"0.53872365",
"0.5383054",
"0.5383054",
"0.5383054",
"0.5372594",
"0.53277874",
"0.53277874"
] |
0.60360307
|
1
|
Return list of handling search params
|
protected function getHandlingSearchParams()
{
return array(
static::SEARCH_ORDER,
static::SEARCH_PUBLIC_ID,
static::SEARCH_DATE,
static::SEARCH_STATUS,
static::SEARCH_VALUE,
static::SEARCH_ORDERBY,
static::SEARCH_LIMIT,
);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected function getHandlingSearchParams()\n {\n $return = parent::getHandlingSearchParams();\n\n $return[] = static::P_ORDER_BY_ACTIVE_CURRENCY;\n $return[] = static::P_ACTIVE_CURRENCY;\n $return[] = static::P_ENABLED;\n\n return $return;\n }",
"public function get_collection_params() {\n\t\t$params = parent::get_collection_params();\n\t\t$params['search'] = array(\n\t\t\t'description' => __( 'Search by similar product name, sku, or attribute value.', 'woocommerce' ),\n\t\t\t'type' => 'string',\n\t\t\t'validate_callback' => 'rest_validate_request_arg',\n\t\t);\n\t\treturn $params;\n\t}",
"public function setSearchParameters()\n\t{\n\t\t return [\n\t\t\t'q' => implode(' OR ', $this->configs['search']) . '-filter:retweets',\n\t\t\t'count' => $this->configs['count'],\n\t\t\t'tweet_mode' => $this->configs['tweet_mode'],\n\t\t];\n\t}",
"public function getSearchFields();",
"function get_parameters($include_search = false)\r\n {\r\n if ($include_search && isset($this->search_parameters))\r\n {\r\n return array_merge($this->search_parameters, parent :: get_parameters());\r\n }\r\n\r\n return parent :: get_parameters();\r\n }",
"function MyMod_Search_Vars_Post_Where()\n {\n $searchvars=array();\n foreach ($this->MyMod_Search_Vars() as $data)\n {\n if ($this->MyMod_Data_Access($data)>=1)\n {\n if ($this->ItemData[ $data ][ \"SqlMethod\" ]!=\"\")\n {\n }\n elseif (!preg_match('/^(ENUM|INT)$/',$this->ItemData[ $data ][ \"Sql\" ]))\n {\n $rdata=$this->MyMod_Search_CGI_Name($data);\n $value=$this->GetCGIVarValue($rdata);\n if (!empty($value))\n {\n $searchvars[ $data ]=$this->Html2Sort($value);\n }\n }\n elseif ($this->ItemData[ $data ][ \"SqlTextSearch\" ])\n {\n $value=$this->MyMod_Search_CGI_Text_Value($data);\n if ($value!='0')\n {\n $searchvars[ $data ]=$value;\n }\n }\n }\n }\n\n return $searchvars;\n }",
"private function getQueryParams()\n {\n $documentType = $this->getConfig()->getDocumentType();\n $params = [\n 'page' => \\get_query_var('paged') ? \\get_query_var('paged') : 1,\n 'document_types' => [$this->getConfig()->getDocumentType()],\n ];\n\n $params = apply_filters('swiftype_search_params', $params);\n\n $facetsFields = $this->getFacetFields();\n\n if (!empty($facetsFields)) {\n $facetsFields = array_merge($facetsFields, !empty($params['facets'][$documentType]) ? $params['facets'][$documentType] : []);\n $params['facets'][$documentType] = array_unique($facetsFields);\n foreach ($facetsFields as $field) {\n if (!empty($_GET['st-filter-' . $field])) {\n $params['filters'][$documentType][$field] = \\sanitize_text_field($_GET['st-filter-' . $field]);\n }\n }\n }\n\n return $params;\n }",
"public function getSearch($parameters = array());",
"public function search($params = []);",
"protected function _params()\n {\n $all = array_flip(Whups::getSearchResultColumns());\n unset($all['id']);\n return array('columns' => array(\n 'type' => 'multienum',\n 'name' => _(\"Columns\"),\n 'default' => array_values(Whups::getSearchResultColumns('block')),\n 'values' => $all,\n ));\n }",
"public function search_series_params()\n {\n return $this->request('search/series/params');\n }",
"static public function getAddressbookSearchParams()\n {\n $src = json_decode($GLOBALS['prefs']->getValue('search_sources'));\n if (!is_array($src)) {\n $src = array();\n }\n\n $fields = json_decode($GLOBALS['prefs']->getValue('search_fields'), true);\n if (!is_array($fields)) {\n $fields = array();\n }\n\n return array(\n 'fields' => $fields,\n 'sources' => $src\n );\n }",
"public function parse_entry_search_params( $request ) {\n\n\t\t// Sorting parameters\n\t\t$sorting_param = $request->get_param( 'sorting' );\n\t\t$sort_key = isset( $sorting_param['key'] ) && ! empty( $sorting_param['key'] ) ? $sorting_param['key'] : 'id';\n\t\t$sort_dir = isset( $sorting_param['direction'] ) && ! empty( $sorting_param['direction'] ) ? $sorting_param['direction'] : 'DESC';\n\t\t$sorting = array( 'key' => $sort_key, 'direction' => $sort_dir );\n\t\tif ( isset( $sorting_param['is_numeric'] ) ) {\n\t\t\t$sorting['is_numeric'] = $sorting_param['is_numeric'];\n\t\t}\n\n\t\t// paging parameters\n\t\t$paging_param = $request->get_param( 'paging' );\n\t\t$page_size = isset( $paging_param['page_size'] ) ? intval( $paging_param['page_size'] ) : 10;\n\t\tif ( isset( $paging_param['current_page'] ) ) {\n\t\t\t$current_page = intval( $paging_param['current_page'] );\n\t\t\t$offset = $page_size * ( $current_page - 1 );\n\t\t} else {\n\t\t\t$offset = isset( $paging_param['offset'] ) ? intval( $paging_param['offset'] ) : 0;\n\t\t}\n\n\t\t$paging = array( 'offset' => $offset, 'page_size' => $page_size );\n\n\t\t$search = $request->get_param( 'search' );\n\t\tif ( isset( $search ) ) {\n\t\t\tif ( ! is_array( $search ) ) {\n\t\t\t\t$search = urldecode( ( stripslashes( $search ) ) );\n\t\t\t\t$search = json_decode( $search, true );\n\t\t\t}\n\t\t} else {\n\t\t\t$search = array();\n\t\t}\n\n\t\tif ( ! isset( $search['status'] ) ) {\n\t\t\t$search['status'] = 'active';\n\t\t}\n\n\t\t$params = array(\n\t\t\t'search_criteria' => $search,\n\t\t\t'paging' => $paging,\n\t\t\t'sorting' => $sorting,\n\t\t);\n\n\t\t$form_ids = $request->get_param( 'form_ids' );\n\n\t\tif ( isset( $form_ids ) ) {\n\t\t\t$params['form_ids'] = $form_ids;\n\t\t}\n\n\t\treturn $params;\n\t}",
"private function getSearchConditions()\n {\n $searchConditions = [];\n\n $userIds = $this->request->get('ids') ?? [];\n if ($userIds) {\n $searchConditions['id'] = $userIds;\n }\n\n $email = $this->request->get('email') ?? '';\n if ($email) {\n $searchConditions['email'] = $email;\n }\n\n return $searchConditions;\n }",
"public function searchQuery($searchParams=false){\t\t\n\t\t//$searchParams=array(array(\"lg_name\",'text'), array(\"lg_country\",'text'), array(\"lg_desc\",'text'));\n\t\t//var_dump($searchParams);\n\t\tif(count($searchParams) > 1){\n\t\t\tforeach ($searchParams as $key => $row) { \n\t \t$fieldName=$searchParams[$key][0];\n\t \t$fieldValue=$this->input->post(\"\".$fieldName.\"\");\n\t \t//var_dump($fieldValue);\n\t \tif(isset($fieldValue) && !empty($fieldValue)){\n\t \t\t$this->db->where(\"\".$fieldName.\" LIKE '%$fieldValue%'\");\n\t\t\t\t\t//$this->db->where(\"\".$fieldName.\"\", $fieldValue);\n\t\t\t\t}\n\t \t}\n\t\t}\n\t}",
"public function getSearchSqlParams()\n {\n return array('fields' => '* ',\n 'table' => LOG_TABLE,\n 'title' => 'title',\n 'comment' => 'comment',\n 'date' => 'date',\n 'draft' => 'draft',\n 'group_by' => ''\n );\n }",
"public function getSearchFields()\n {\n //return $this->searchFields;\n return ['_all'];\n }",
"public static function get_entries_by_search_parameters() {\n return new external_function_parameters(array(\n 'id' => new external_value(PARAM_INT, 'Glossary entry ID'),\n 'query' => new external_value(PARAM_NOTAGS, 'The query string'),\n 'fullsearch' => new external_value(PARAM_BOOL, 'The query', VALUE_DEFAULT, 1),\n 'order' => new external_value(PARAM_ALPHA, 'Order by: \\'CONCEPT\\', \\'CREATION\\' or \\'UPDATE\\'', VALUE_DEFAULT,\n 'CONCEPT'),\n 'sort' => new external_value(PARAM_ALPHA, 'The direction of the order: \\'ASC\\' or \\'DESC\\'', VALUE_DEFAULT, 'ASC'),\n 'from' => new external_value(PARAM_INT, 'Start returning records from here', VALUE_DEFAULT, 0),\n 'limit' => new external_value(PARAM_INT, 'Number of records to return', VALUE_DEFAULT, 20),\n 'options' => new external_single_structure(array(\n 'includenotapproved' => new external_value(PARAM_BOOL, 'When false, includes the non-approved entries created by' .\n ' the user. When true, also includes the ones that the user has the permission to approve.', VALUE_DEFAULT, 0)\n ), 'An array of options', VALUE_DEFAULT, array())\n ));\n }",
"public static function search()\n {\n return [\n 'module_name' => 'string',\n 'module_key' => 'string',\n ];\n }",
"public function extractParameters()\n {\n $request = $this->container->get('request_stack')->getCurrentRequest();\n\n if (preg_match(self::$routePattern, $request->get('_route'), $routeMatches)) {\n $searchEngine = $this->container->get('search.engine');\n\n $this->routePrefix = reset($routeMatches);\n $this->originalRouteParameterCount = (int)end($routeMatches);\n\n $activeModules = $searchEngine->getActiveModules();\n\n $dateFormatString = $this->container->get('languagehandler')->getDateFormat();\n $dateFormat = preg_replace(\"/[^\\w]/\", '-', $dateFormatString);\n\n for ($i = 0; $i < $this->originalRouteParameterCount; $i++) {\n $rawInput = strtolower($request->get(\"a{$i}\"));\n $parameterInformation = Utility::convertStringToArray($rawInput);\n\n if (!$this->hasKeywords() && $rawKeyword = $searchEngine->convertFromKeywordFormat($rawInput)) {\n $parameterInformation = Utility::convertStringToArray($rawKeyword);\n foreach ($parameterInformation as $parameter) {\n $this->addKeyword($parameter);\n }\n continue;\n }\n\n if (!$this->hasWheres() && $rawWhere = $searchEngine->convertFromWhereFormat($rawInput)) {\n $parameterInformation = Utility::convertStringToArray($rawWhere);\n foreach ($parameterInformation as $parameter) {\n $this->addWhere($parameter);\n }\n continue;\n }\n\n if (!$this->hasModules() && $modules = array_intersect($activeModules, $parameterInformation)) {\n foreach ($modules as $key => $value) {\n $this->addModule($key);\n }\n continue;\n }\n\n if (!$this->hasStartDate() && $date = \\DateTime::createFromFormat($dateFormat, $rawInput)) {\n $this->setStartDate($date);\n continue;\n }\n\n if (!$this->hasEndDate() && $date = \\DateTime::createFromFormat($dateFormat, $rawInput)) {\n $this->setEndDate($date);\n continue;\n }\n\n if (($elasticType = $searchEngine->getFriendlyUrlType($parameterInformation)) && (!$this->hasCategories() || !$this->hasLocations())) {\n switch ($elasticType) {\n case CategoryConfiguration::$elasticType:\n if (!$this->hasCategories()) {\n $categories = $searchEngine->categoryFriendlyURLSearch($parameterInformation);\n $this->setCategories($categories);\n !$this->hasModules() and array_map(function($category) {\n $this->addModule($category->getModule());\n }, $categories);\n }\n break;\n case LocationConfiguration::$elasticType:\n if (!$this->hasLocations()) {\n $this->setLocations($searchEngine->locationFriendlyURLSearch($parameterInformation));\n }\n break;\n }\n\n continue;\n }\n\n if (self::$exception) {\n throw new NotFoundHttpException();\n }\n }\n }\n\n foreach ($request->query->all() as $key => $value) {\n $this->queryParameters[$key] = Utility::convertStringToArray($value, '-');\n }\n }",
"public function getSearch();",
"protected function getAllAvailableSearchTypeOptions() {}",
"public function getSearchOptions(Request $request) {\n $options = [];\n\n if ($this->configuration['images']) {\n $query = $this->getParameters();\n $active = $query['type'] == 'image';\n $query['type'] = 'image';\n $url = Url::createFromRequest($request);\n $url->setOption('query', $query);\n $url->setOption('attributes', $active ? ['class' => ['is-active']] : []);\n $options['images'] = [\n '#title' => $this->t('Images'),\n '#type' => 'link',\n '#url' => $url,\n ];\n }\n\n if (count($options)) {\n $query = $this->getParameters();\n $active = empty($query['type']);\n if (!$active) {\n unset($query['type']);\n }\n $url = Url::createFromRequest($request);\n $url->setOption('query', $query);\n $url->setOption('attributes', $active ? ['class' => ['is-active']] : []);\n $options['all'] = [\n '#title' => $this->t('All'),\n '#type' => 'link',\n '#url' => $url,\n '#weight' => -1,\n ];\n\n return [\n '#theme' => 'item_list',\n '#items' => $options,\n ];\n }\n\n return [];\n }",
"private static function ParamList ()\n {\n return array (\n \"a\" => array (\n \"charset\", \"coords\", \"href\",\n \"hreflang\", \"name\", \"rel\",\n \"rev\", \"shape\", \"target\",\n \"style\",\n ),\n \"button\" => array (\n \"disabled\", \"name\", \"type\",\n \"value\", \"accesskey\", \"class\",\n \"dir\", \"id\", \"lang\", \"style\",\n \"tabindex\", \"title\", \"xml:lang\",\n ),\n );\n }",
"function getParams()\n{\n $queryParams = array();\n $params = filter_input_array(INPUT_GET);\n if ($params) {\n foreach (array('page', 'pageSize', 'orderBy', 'fields', 'searchId') as $term) {\n if (filter_input(INPUT_GET, $term)) {\n $queryParams[$term] = filter_input(INPUT_GET, $term);\n unset($params[$term]);\n }\n }\n \n $queryParams['filter'] = http_build_query($params, null, ':');\n }\n \n return $queryParams;\n}",
"function getSearchFields() { return $this->_search_fields; }",
"public function getSearchCapabilities()\n\t{\n\t\treturn $this->getHandler()->getSearchCapabilities();\n\t}",
"public function getSearchFields()\n\t{\n\t\treturn $this->possible_fields;\n\t}",
"function getSearchOptions() {\n\n $tab = array();\n $tab['common'] = __('Characteristics');\n\n $tab[2]['table'] = $this->getTable();\n $tab[2]['field'] = 'id';\n $tab[2]['name'] = __('ID');\n $tab[2]['massiveaction'] = false;\n $tab[2]['datatype'] = 'number';\n\n if (!preg_match('/^itemtype/', static::$itemtype_1)) {\n $tab[3]['table'] = getTableForItemType(static::$itemtype_1);\n $tab[3]['field'] = static::$items_id_1;\n $tab[3]['name'] = call_user_func(array(static::$itemtype_1, 'getTypeName'));\n $tab[3]['datatype'] = 'text';\n $tab[3]['massiveaction'] = false;\n }\n\n if (!preg_match('/^itemtype/', static::$itemtype_2)) {\n $tab[4]['table'] = getTableForItemType(static::$itemtype_2);\n $tab[4]['field'] = static::$items_id_2;\n $tab[4]['name'] = call_user_func(array(static::$itemtype_2, 'getTypeName'));\n $tab[4]['datatype'] = 'text';\n $tab[4]['massiveaction'] = false;\n }\n\n return $tab;\n }",
"public function getSearchFields()\n {\n $searchFields = $this->getRequest()->get('searchFields');\n\n return (null != $searchFields) ? \\explode(',', $searchFields) : [];\n }"
] |
[
"0.7982413",
"0.65401417",
"0.63917845",
"0.6361496",
"0.62727076",
"0.62234896",
"0.61334205",
"0.6119873",
"0.60735774",
"0.60363156",
"0.60085523",
"0.5998886",
"0.59800786",
"0.59688085",
"0.5942069",
"0.59317374",
"0.59305185",
"0.59127736",
"0.5883732",
"0.5883266",
"0.58802027",
"0.5867997",
"0.5858206",
"0.5854689",
"0.58355576",
"0.58186156",
"0.58179456",
"0.5807093",
"0.5799783",
"0.5788877"
] |
0.83568954
|
0
|
Checks if top bar has elements for desktop and/or mobile
|
function flatsome_has_top_bar() {
$screens = array(
'large' => false,
'mobile' => false,
);
if ( get_theme_mod( 'topbar_show', 1 ) ) {
if ( get_theme_mod( 'topbar_elements_center' )
|| get_theme_mod( 'topbar_elements_left' )
|| get_theme_mod( 'topbar_elements_right' ) ) {
$screens['large'] = true;
}
if ( get_theme_mod( 'header_mobile_elements_top' ) ) {
$screens['mobile'] = true;
}
}
$screens['large_or_mobile'] = $screens['large'] || $screens['mobile'];
$screens['mobile_only'] = ! $screens['large'] && $screens['mobile'];
return $screens;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function newsroom_elated_header_top_bar_responsive_styles() {\n\n $hide_top_bar_on_mobile = newsroom_elated_options()->getOptionValue('hide_top_bar_on_mobile');\n\n if($hide_top_bar_on_mobile === 'yes') { ?>\n @media only screen and (max-width: 700px) {\n .eltd-top-bar {\n height: 0;\n display: none;\n }\n }\n <?php }\n }",
"function klippe_mikado_is_top_bar_enabled() {\n\t\t$top_bar_enabled = klippe_mikado_get_meta_field_intersect( 'top_bar' ) === 'yes' ? true : false;\n\t\t\n\t\tif ( is_404() ) {\n\t\t\t$top_bar_enabled = false;\n\t\t}\n\t\t\n\t\treturn apply_filters( 'klippe_mikado_enabled_top_bar', $top_bar_enabled );\n\t}",
"function lalita_is_top_bar_active() {\n\t\t$top_bar_sidebar = is_active_sidebar( 'top-bar' ) ? true : false;\n\t\t$top_bar_socials = lalita_get_setting( 'socials_display_top' );\n\t\t$top_bar = false;\n\t\tif ( ( $top_bar_sidebar == true ) || ( $top_bar_socials == true ) ) {\n\t\t\t$top_bar = true;\n\t\t}\n\t\treturn apply_filters( 'lalita_is_top_bar_active', $top_bar );\n\t}",
"function flatsome_has_bottom_bar() {\n\t$screens = array(\n\t\t'large' => false,\n\t\t'mobile' => false,\n\t);\n\tif ( get_theme_mod( 'header_elements_bottom_left' )\n\t || get_theme_mod( 'header_elements_bottom_center' )\n\t || get_theme_mod( 'header_elements_bottom_right' ) ) {\n\t\t$screens['large'] = true;\n\t}\n\tif ( get_theme_mod( 'header_mobile_elements_bottom' ) ) {\n\t\t$screens['mobile'] = true;\n\t}\n\t$screens['large_or_mobile'] = $screens['large'] || $screens['mobile'];\n\t$screens['mobile_only'] = ! $screens['large'] && $screens['mobile'];\n\n\treturn $screens;\n}",
"function cosmetro_is_top_panel_visible() {\n\n\t$message = get_theme_mod( 'top_panel_text', cosmetro_theme()->customizer->get_default( 'top_panel_text' ) );\n\t$search = get_theme_mod( 'top_panel_search', cosmetro_theme()->customizer->get_default( 'top_panel_search' ) );\n\t$menu = has_nav_menu( 'top' );\n\n\t$conditions = apply_filters( 'cosmetro_top_panel_visibility_conditions', array( $message, $search, $menu ) );\n\n\t$is_visible = false;\n\n\tforeach ( $conditions as $condition ) {\n\t\tif ( ! empty( $condition ) ) {\n\t\t\t$is_visible = true;\n\t\t}\n\t}\n\n\treturn $is_visible;\n}",
"function klippe_mikado_is_top_bar_transparent() {\n\t\t$top_bar_enabled = klippe_mikado_is_top_bar_enabled();\n\t\t$top_bar_bg_color = klippe_mikado_get_meta_field_intersect( 'top_bar_background_color' );\n\t\t$top_bar_transparency = klippe_mikado_get_meta_field_intersect( 'top_bar_background_transparency' );\n\n\t\tif ( $top_bar_enabled && $top_bar_bg_color !== '' && $top_bar_transparency !== '' ) {\n\t\t\treturn $top_bar_transparency >= 0 && $top_bar_transparency < 1;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"function klippe_mikado_is_top_bar_completely_transparent() {\n\t\t$top_bar_enabled = klippe_mikado_is_top_bar_enabled();\n\t\t$top_bar_bg_color = klippe_mikado_get_meta_field_intersect( 'top_bar_background_color' );\n\t\t$top_bar_transparency = klippe_mikado_get_meta_field_intersect( 'top_bar_background_transparency' );\n\t\t\n\t\tif ( $top_bar_enabled && $top_bar_bg_color !== '' && $top_bar_transparency !== '' ) {\n\t\t\treturn $top_bar_transparency === '0';\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"public static function isLayoutTopnavEnabled()\n {\n return static::getConfig('layout_topnav') || View::getSection('layout_topnav');\n }",
"function superfood_elated_is_top_bar_transparent() {\n $top_bar_enabled = superfood_elated_is_top_bar_enabled();\n\n $top_bar_bg_color = superfood_elated_options()->getOptionValue('top_bar_background_color');\n $top_bar_transparency = superfood_elated_options()->getOptionValue('top_bar_background_transparency');\n\n if ($top_bar_enabled && $top_bar_bg_color !== '' && $top_bar_transparency !== '') {\n return $top_bar_transparency >= 0 && $top_bar_transparency < 1;\n }\n\n return false;\n }",
"private function isMobile() {\n $userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);\n return !!strpos($userAgent, 'mobile');\n }",
"function is_mobile() {\n $userAgent = strtolower($_SERVER['HTTP_USER_AGENT']);\n return strpos($userAgent, 'mobile');\n }",
"function is_mobile()\n {\n return dev::isMobile();\n }",
"function suitbuilder_ft_widget_margin_desktop_active( ){\n global $suitbuilder_customizer_all_values;\n $ft_margin_desktop_device = $suitbuilder_customizer_all_values['suitbuilder-ft-widget-margin-icon'];\n \n if( 'ft-margin-desktop' == $ft_margin_desktop_device ){\n return true;\n }else{\n return false;\n } \n }",
"function is_tablet()\n {\n return dev::isTablet();\n }",
"function is_desktop()\n {\n return dev::isDesktop();\n }",
"function wp_is_mobile()\n {\n }",
"function is_header_fixed_top($control) {\n\tif ($control->manager->get_setting ( 'loungeact[header_fixed_top]' )->value () == '') {\n\t\treturn false;\n\t} else {\n\t\treturn true;\n\t}\n}",
"function wp_is_mobile() {\r\n static $is_mobile;\r\n\r\n if ( isset( $is_mobile ) )\r\n return $is_mobile;\r\n\r\n if ( empty( $_SERVER[ 'HTTP_USER_AGENT' ] ) ) {\r\n $is_mobile = false;\r\n } elseif ( strpos( $_SERVER[ 'HTTP_USER_AGENT' ], 'Mobile' ) !== false // many mobile devices ( all iPhone, iPad, etc. )\r\n || strpos( $_SERVER[ 'HTTP_USER_AGENT' ], 'Android' ) !== false\r\n || strpos( $_SERVER[ 'HTTP_USER_AGENT' ], 'BlackBerry' ) !== false\r\n || strpos( $_SERVER[ 'HTTP_USER_AGENT' ], 'Opera Mini' ) !== false\r\n ) {\r\n $is_mobile = true;\r\n } else {\r\n $is_mobile = false;\r\n }\r\n\r\n return $is_mobile;\r\n }",
"public function isTablet () : bool {\n\t}",
"function viaggio_top_bar(){\n\tif(cs_get_option('header_top_bar')){\n\t\t?>\n\t\t\t<div class=\"top_bar\">\n\t\t\t\t\t<div class=\"container\">\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col-md-6\">\n\t\t\t\t\t\t\t\t<?php if(cs_get_option('header_top_social')) : ?>\n\t\t\t\t\t\t\t\t\t<ul class=\"top_social\">\n\t\t\t\t\t\t\t\t\t\t<?php echo viaggio_social_icons(); ?>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t<?php endif; ?>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"col-md-6\">\n\t\t\t\t\t\t\t\t<?php if(cs_get_option('header_top_search')) :?>\n\t\t\t\t\t\t\t\t\t<span class=\"search_top\"><i class=\"fa fa-search\"></i></span>\n\t\t\t\t\t\t\t\t<?php endif;?>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t<?php\n\t}\n}",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }"
] |
[
"0.7183045",
"0.7087361",
"0.6700833",
"0.6577197",
"0.64868087",
"0.6413115",
"0.63490105",
"0.62259",
"0.6156973",
"0.59943545",
"0.59840435",
"0.5965622",
"0.59607977",
"0.59300345",
"0.5927624",
"0.5905225",
"0.58785",
"0.58624375",
"0.58617806",
"0.58601874",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474",
"0.58548474"
] |
0.8135287
|
0
|
Checks if bottom bar has elements for desktop and/or mobile
|
function flatsome_has_bottom_bar() {
$screens = array(
'large' => false,
'mobile' => false,
);
if ( get_theme_mod( 'header_elements_bottom_left' )
|| get_theme_mod( 'header_elements_bottom_center' )
|| get_theme_mod( 'header_elements_bottom_right' ) ) {
$screens['large'] = true;
}
if ( get_theme_mod( 'header_mobile_elements_bottom' ) ) {
$screens['mobile'] = true;
}
$screens['large_or_mobile'] = $screens['large'] || $screens['mobile'];
$screens['mobile_only'] = ! $screens['large'] && $screens['mobile'];
return $screens;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function flatsome_has_top_bar() {\n\t$screens = array(\n\t\t'large' => false,\n\t\t'mobile' => false,\n\t);\n\tif ( get_theme_mod( 'topbar_show', 1 ) ) {\n\t\tif ( get_theme_mod( 'topbar_elements_center' )\n\t\t || get_theme_mod( 'topbar_elements_left' )\n\t\t || get_theme_mod( 'topbar_elements_right' ) ) {\n\t\t\t$screens['large'] = true;\n\t\t}\n\t\tif ( get_theme_mod( 'header_mobile_elements_top' ) ) {\n\t\t\t$screens['mobile'] = true;\n\t\t}\n\t}\n\t$screens['large_or_mobile'] = $screens['large'] || $screens['mobile'];\n\t$screens['mobile_only'] = ! $screens['large'] && $screens['mobile'];\n\n\treturn $screens;\n}",
"function jetpack_twentyfourteen_has_footer_widgets() {\n\tif ( function_exists( 'jetpack_is_mobile' ) ) {\n\t\tif ( ( Jetpack_User_Agent_Info::is_ipad() && is_active_sidebar( 'sidebar-1' ) )\n\t\t\t|| ( jetpack_is_mobile( '', true ) && ( is_active_sidebar( 'sidebar-1' ) || is_active_sidebar( 'sidebar-2' ) ) )\n\t\t\t|| is_active_sidebar( 'sidebar-3' ) )\n\n\t\t\treturn true;\n\t}\n\n\treturn false;\n}",
"function klippe_mikado_is_top_bar_enabled() {\n\t\t$top_bar_enabled = klippe_mikado_get_meta_field_intersect( 'top_bar' ) === 'yes' ? true : false;\n\t\t\n\t\tif ( is_404() ) {\n\t\t\t$top_bar_enabled = false;\n\t\t}\n\t\t\n\t\treturn apply_filters( 'klippe_mikado_enabled_top_bar', $top_bar_enabled );\n\t}",
"function suitbuilder_ft_widget_padding_mb_active( ){\n global $suitbuilder_customizer_all_values;\n $ft_margin_mobile_device = $suitbuilder_customizer_all_values['suitbuilder-ft-widget-padding-icon'];\n \n if( 'ft-padding-mobile' == $ft_margin_mobile_device ){\n return true;\n }else{\n return false;\n } \n }",
"function newsroom_elated_header_top_bar_responsive_styles() {\n\n $hide_top_bar_on_mobile = newsroom_elated_options()->getOptionValue('hide_top_bar_on_mobile');\n\n if($hide_top_bar_on_mobile === 'yes') { ?>\n @media only screen and (max-width: 700px) {\n .eltd-top-bar {\n height: 0;\n display: none;\n }\n }\n <?php }\n }",
"function suitbuilder_ft_widget_margin_mobile_active( ){\n global $suitbuilder_customizer_all_values;\n $ft_margin_mobile_device = $suitbuilder_customizer_all_values['suitbuilder-ft-widget-margin-icon'];\n \n if( 'ft-margin-mobile' == $ft_margin_mobile_device ){\n return true;\n }else{\n return false;\n } \n }",
"function is_tablet()\n {\n return dev::isTablet();\n }",
"function wpex_has_footer_bottom() {\n\tif ( wpex_has_footer_builder() ) {\n\t\t$bool = wpex_get_mod( 'footer_builder_footer_bottom', false );\n\t} else {\n\t\t$bool = wpex_get_mod( 'footer_bottom', true );\n\t}\n\treturn apply_filters( 'wpex_has_footer_bottom', $bool );\n}",
"public function hasMobile(){\n return $this->_has(8);\n }",
"function is_mobile()\n {\n return dev::isMobile();\n }",
"function wp_is_mobile()\n {\n }",
"public function hasMobile(){\n return $this->_has(4);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"public function hasMobile(){\n return $this->_has(2);\n }",
"function klippe_mikado_is_top_bar_completely_transparent() {\n\t\t$top_bar_enabled = klippe_mikado_is_top_bar_enabled();\n\t\t$top_bar_bg_color = klippe_mikado_get_meta_field_intersect( 'top_bar_background_color' );\n\t\t$top_bar_transparency = klippe_mikado_get_meta_field_intersect( 'top_bar_background_transparency' );\n\t\t\n\t\tif ( $top_bar_enabled && $top_bar_bg_color !== '' && $top_bar_transparency !== '' ) {\n\t\t\treturn $top_bar_transparency === '0';\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"function jetpackme_is_mobile() {\r\n \r\n // Are Jetpack Mobile functions available?\r\n if ( ! function_exists( 'jetpack_is_mobile' ) )\r\n return false;\r\n \r\n // Is Mobile theme showing?\r\n if ( isset( $_COOKIE['akm_mobile'] ) && $_COOKIE['akm_mobile'] == 'false' )\r\n return false;\r\n \r\n return jetpack_is_mobile();\r\n}",
"function suitbuilder_ft_widget_margin_desktop_active( ){\n global $suitbuilder_customizer_all_values;\n $ft_margin_desktop_device = $suitbuilder_customizer_all_values['suitbuilder-ft-widget-margin-icon'];\n \n if( 'ft-margin-desktop' == $ft_margin_desktop_device ){\n return true;\n }else{\n return false;\n } \n }",
"function klippe_mikado_is_top_bar_transparent() {\n\t\t$top_bar_enabled = klippe_mikado_is_top_bar_enabled();\n\t\t$top_bar_bg_color = klippe_mikado_get_meta_field_intersect( 'top_bar_background_color' );\n\t\t$top_bar_transparency = klippe_mikado_get_meta_field_intersect( 'top_bar_background_transparency' );\n\n\t\tif ( $top_bar_enabled && $top_bar_bg_color !== '' && $top_bar_transparency !== '' ) {\n\t\t\treturn $top_bar_transparency >= 0 && $top_bar_transparency < 1;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"function suitbuilder_ft_widget_padding_desktop_active( ){\n global $suitbuilder_customizer_all_values;\n $ft_desktop_device = $suitbuilder_customizer_all_values['suitbuilder-ft-widget-padding-icon'];\n \n if( 'ft-padding-desktop' == $ft_desktop_device ){\n return true;\n }else{\n return false;\n } \n }",
"public function isTablet () : bool {\n\t}",
"public function hasScreen(){\n return $this->_has(12);\n }"
] |
[
"0.67824227",
"0.6486729",
"0.63503253",
"0.6203604",
"0.61210537",
"0.60567087",
"0.604165",
"0.6039275",
"0.6014141",
"0.5928932",
"0.59004056",
"0.58930445",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.5867672",
"0.58656573",
"0.5848062",
"0.5846025",
"0.5831412",
"0.5799336",
"0.5768451",
"0.57442427"
] |
0.80731833
|
0
|
Netlog returns at most 75 friends
|
public function getAllViewerFriends() {
$this->debug("getting all viewer friends...");
$count = 1;
$index = 0;
$countPerFetch = 50;
$allFriends = $this->getViewerFriends($countPerFetch, $index);
$lastCount = count($allFriends);
$this->debug("Last count: $lastCount ...");
$currentIteration = 0;
$maxIterations = 3;
while ($lastCount >= $countPerFetch) {
if ($currentIteration >= $maxIterations) {
$this->debug("Reached max of $maxIterations iterations! Stopping loop...");
break;
}
$index += $countPerFetch;
$currentBatch = $this->getViewerFriends($countPerFetch, $index);
$allFriends = array_merge($allFriends, $currentBatch);
$currentIteration++; //could connect this to index and vice versa
$lastCount = count($currentBatch);
$this->debug("Last count: $lastCount ...");
}
return $allFriends;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function get_amount_friends()\n {\n echo $this->Home_model->show_friend_requests_number();\n }",
"public function friendsOfFriends($userId, $n, $i = 1)\n {\n if ($i == 1) {\n $this->friendsOfFriends = Redis::sMembers('uid:' . $userId . ':friendslist');\n $this->friendsOfFriends[] = $userId;\n $this->currentLevelUniqueFriends = $this->friendsOfFriends;\n } else {\n foreach ($this->currentLevelUniqueFriends as $friend) {\n $currentLevelFriends = Redis::sMembers('uid:' . $friend . ':friendslist');\n foreach ($currentLevelFriends as $currentLevelFriend) {\n if (!in_array($currentLevelFriend, $this->friendsOfFriends)) {\n $this->friendsOfFriends[] = $currentLevelFriend;\n $uniqueFriends[] = $currentLevelFriend;\n }\n }\n }\n if (isset($uniqueFriends)) {\n $this->currentLevelUniqueFriends = $uniqueFriends;\n }\n }\n if (empty($this->currentLevelUniqueFriends)) {\n return response($this->friendsOfFriends, 200);\n }\n if ($n == $i) {\n return response($this->friendsOfFriends, 200);\n }\n return $this->friendsOfFriends($userId, $n, $i + 1);\n }",
"public function getFriendsOf($subtype = \"\", $limit = 10, $offset = 0);",
"function friendsYouMayKnow(){\n\n //load all buddies of user into an array\n //request is used for sql-injection to also\n //get buddies who didn't answered the\n //request\n $buddies = $this->buddyListArray('', \"1' OR request='0\");\n\n $notSuggest = $this->getNotSuggestList(); //get array of users that will not be suggested\n\n //return every single buddy\n foreach($buddies AS &$buddy){\n\n //get every buddy of this buddy\n $buddiesOfBuddy = $this->buddyListArray($buddy);\n\n\n //return every single buddy of this buddy\n foreach($buddiesOfBuddy AS &$buddyOfBuddy){\n //the most counted userid will be the userid\n //of the user who send the request so it has\n //to be removed from the whole array\n //\n //all buddies which are allready in the users\n //buddylist also need to be removed\n if($buddyOfBuddy != getUser() && !in_array($buddyOfBuddy, $buddies) && $buddyOfBuddy != 0 && !in_array($buddyOfBuddy, $notSuggest)){\n $finalArray[] = $buddyOfBuddy;\n }\n }\n\n\n }\n\n //gives out the value inside the array which occures most\n $c = array_count_values($finalArray); \n $return = array_search(max($c), $c);\n\n return $return;\n\n }",
"function get_chat_excluded_friends($user_id, $offset, $limit) {\n $conn = new my_mysql();\n //get all friends who do not have a chat in common\n $query = \"SELECT id, ppid, username, l_name, f_name FROM user_logging\n WHERE id != $user_id \n AND id IN\n (SELECT id_one FROM connection WHERE id_two=$user_id AND id_one NOT IN\n (SELECT owner_id FROM chat WHERE id IN\n (SELECT id from chat where owner_id=$user_id)\n AND owner_id != $user_id))\n OR id IN \n (SELECT id_two FROM connection WHERE id_one=$user_id AND id_two NOT IN\n (SELECT owner_id FROM chat WHERE id IN\n (SELECT id from chat where owner_id=$user_id)\n AND owner_id != $user_id))\n ORDER BY l_name DESC;\";\n $res = $conn->readQuery($query);\n return $res;\n}",
"function get_total_friends()\n\t\t{\n\t\t\t$query = \"SELECT * FROM signup\";\n\t\t\t$query_data = $this->QueryTool->get_query_data($query);\n\t\t\t$total_count = count($query_data);\n\t\t\treturn $total_count;\t\n\t\t}",
"public function getFriends($subtype = \"\", $limit = 10, $offset = 0);",
"function getFriends()\n\t{\n\t\t//init variable\n\t\t$app = JFactory::getApplication();\n\t\t$user = JFactory::getUser($this->plugin->get('user')->id);\n\t\t$userid = $app->input->get('target_user',$this->plugin->get('user')->id,'INT');\n\t\t\n\t\t$search = $app->input->get('search','','STRING');\n\t\t\n\t\t$mapp = new EasySocialApiMappingHelper();\n\t\t\n\t\tif($userid == 0)\n\t\t$userid = $user->id;\n\t\t\n\t\t$frnd_mod = new EasySocialModelFriends();\n\t\t\n\t\t// if search word present then search user as per term and given id\n\t\tif(empty($search))\n\t\t{\n\t\t\t$ttl_list = $frnd_mod->getFriends($userid); \n\t\t}\n\t\telse\n\t\t{\n\t\t\t$ttl_list = $frnd_mod->search($userid,$search,'username');\n\t\t}\n\n\t\t$frnd_list = $mapp->mapItem( $ttl_list,'user',$userid);\n\n\t //get other data\n\t foreach($frnd_list as $ky=>$lval)\n\t {\t\t\t\n\t\t\t$lval->mutual = $frnd_mod->getMutualFriendCount($user->id,$lval->id);\n\t\t\t$lval->isFriend = $frnd_mod->isFriends($user->id,$lval->id);\n\t\t}\n\t\treturn( $frnd_list );\n\t}",
"function friends() {\n $user = UserQuery::create()->findPK($_SESSION['uid']);\n $profile = ProfileQuery::create()->findPK($_SESSION['uid']);\n $friends = FriendQuery::create()->findByUserid($_SESSION['uid']);\n $friendgroups = FriendQuery::create()->findOneByFriendid($_SESSION['uid']);\n $buckets = BucketQuery::create()->findByUserid($_SESSION['uid']);\n $hasbuckets = BucketQuery::create()->findOneByUserid($_SESSION['uid']);\n $nbFriends = FriendQuery::create()->filterByUserid($_SESSION['uid'])->count($con);\n\n\t\tif ($user) {\n\t\t\t$profile = ProfileQuery::create()->findPK($user->getId());\n\t\t\t$nbFriends = FriendQuery::create()->filterByUserid($user->getId())->count($con);\n\t\t\n\t\t\tif ($userid != $user->getId() && $userid && $user->getId()) {\n\t\t\t\t$friends = FriendQuery::create()\n\t\t\t\t->filterByUserid($_SESSION['uid'])\n\t\t\t\t->filterByFriendid($user->getId())\n\t\t\t\t->findOne();\n\t\t\n\t\t\t\tif ($friends) {\n\t\t\t\t$bucket = FriendBucketQuery::create()\n\t\t\t\t->filterByUserid($friends->getUserid())\n\t\t\t\t->findOne();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ($nbFriends > 0) {\n\t\t\t\t$friendslist = FriendQuery::create()\n\t\t\t\t\t->filterByUserid($user->getId())\n\t\t\t\t\t->find();\n\t\t\t\t\t\t\t\n\t\t\t\t// Load friends Userid's into array, include logged in user.\n\t\t\t\tforeach ($friendslist as $friendlist) {\n\t\t\t\t\t$friendid = $friendlist->getFriendid();\n\t\t\t\t\t$groupid = $friendlist->getGroupid();\n\t\t\t\t\t$aFriends[$groupid] = $friendid;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tforeach ($aFriends as $aFriend) {\n\t\t\t\t\t$myfriend = UserQuery::create()\n\t\t\t\t\t\t->findPK($aFriend);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t$friendList[] = array (\n\t\t\t\t\t\t\t\"username\" => $myfriend->getUsername(),\n\t\t\t\t\t\t\t\"firstname\" => $myfriend->getFirstname(),\n\t\t\t\t\t\t\t\"lastname\" => $myfriend->getLastname(),\n\t\t\t\t\t\t);\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tif ($_SESSION['uid']) {\n\t\t\t\t\t\tif ($aFriend === $_SESSION['uid'] || $user->getId() === $_SESSION['uid']) {\n\t\t\t\t\t\t\t$showfriend = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t$notfound = 1;\n\t\t}\n \n $info = array (\n \"user\" => $user,\n \"profile\" => $profile,\n \"friends\" => $friends,\n \"friendgroups\" => $friendgroups,\n \"buckets\" => $buckets,\n \"hasbuckets\" => $hasbuckets,\n \"nbFriends\" => $nbFriends,\n \"friendlist\" => $friendList,\n \"showfriend\" => $showfriend,\n \"notfound\" => $notfound,\n \n ); \n return $info; \n }",
"private function fetchFriends() {\n $url = $this->getBaseUrl() . '/friends?xml=1';\n\n $this->friends = array();\n $friendsData = new SimpleXMLElement(file_get_contents($url));\n foreach($friendsData->friends->friend as $friend) {\n $this->friends[] = SteamId::create((string) $friend, false);\n }\n }",
"function getSuggestFriend() {\n return getAll(\"SELECT a.id, a.name,a.email \n FROM member a \n WHERE a.id != ? AND a.id NOT IN (\n SELECT friend_id \n FROM member_friend \n WHERE member_id =? ) \n AND a.id NOT IN (\n SELECT apply_member_id \n FROM member_friend_apply \n WHERE status = \\\"\\\" \n AND member_id = ?) \n LIMIT 5\",\n [getLogin()['mid'],getLogin()['mid'],getLogin()['mid']]);\n}",
"static function getFriendList()\n {\n global $zm_config ;\n $oZM_ME = new ZME_Me($zm_config) ;\n $friends = $oZM_ME->getFriends(Controller::$access_token);\n return $friends;\n }",
"function & get_twitter_friends_info(&$username,&$password){\n\t$ret=get_twitter_friends($username,$password);\n\t$json = new Services_JSON();\n\t$obj=$json->decode($ret); //huge copying if the user has many friends.\n\n\t//subsciptions(friends) details\n\tforeach ($obj as $val){\n print \"UserName: \" . $val->{'screen_name'} . \"\\n\";\n\t print \"Name: \" . $val->{'name'} . \"\\n\";\n\t print \"Location: \" . $val->{'location'} . \"\\n\";\n\t print \"Url: \" . $val->{'url'} . \"\\n\";\n\t print \"Description: \" . $val->{'description'} . \"\\n\";\n\t print \"Followers count: \" . $val->{'followers_count'} . \"\\n\";\n\t print \"---------------------\\n\\n\";\n\t}\n\n\treturn 0;\n}",
"public static function listFriends($limit = 0, $userId = null)\n {\n\n /*$userid = self::getLoggedInUser()->id;\n\n $usersa = new Collection;\n\n $usersb = new Collection;\n\n $friendsa = Friends::where('user_that_sent_request', $userid)->where('accepted', '1')->take($limit)->get();\n\n //$friendsa = $friendsa->keyBy('user_that_accepted_request');\n\n //$friendsa = $friendsa->keyBy(function($item) { return \"U\" . $item['user_that_accepted_request']; });\n\n foreach ($friendsa as $result) {\n\n $u = User::where('id', $result['user_that_accepted_request'])->get();\n $usersa->push($u[0]);\n\n }\n\n $friendsb = Friends::where('user_that_accepted_request', $userid)->where('accepted', '1')->take($limit)->get();\n\n //$friendsb = $friendsb->keyBy('user_that_sent_request');\n\n //$friendsb = $friendsb->keyBy(function($item) { return \"U\" . $item['user_that_sent_request']; });\n\n foreach ($friendsb as $result) {\n\n $u = User::where('id', $result['user_that_sent_request'])->get();\n $usersb->push($u[0]);\n\n }\n\n $users = $usersa->merge($usersb);\n\n $users = $users->shuffle();\n\n $users = $users->take($limit);\n\n return $users;*/\n\n $users = new Collection();\n\n $limit = Helpers::unlimited($limit);\n\n $requests = Friends::friends($userId)->get();\n\n if($requests->isEmpty())\n {\n return $users;\n }\n\n foreach ($requests as $user) {\n $users->push(UserUtil::getUser($user->otherUser($userId)));\n }\n\n $users = $users->shuffle();\n\n $users = $users->take($limit);\n\n return $users;\n\n }",
"public function get_user_friends($filters)\n {\n $active_login_userid = $filters['active_login_userid'];\n $owner_profile_userid = $filters['owner_profile_userid'];\n $filter = $filters['filter'];\n \n //Most Recent\n $active_filter = \" ORDER BY created_at DESC, u.first_name, u.last_name\";\n if($filter == 1) {\n //Alphabetical\n $active_filter = \" ORDER BY u.first_name, u.last_name\";\n } else if($filter == 2) {\n //By number of followers\n $active_filter = \" ORDER BY followers DESC, u.first_name, u.last_name\";\n } else if($filter == 3) {\n //By number of mutual friends\n $active_filter = \" ORDER BY mutual_friends DESC, u.first_name, u.last_name\";\n } else if($filter == 4) {\n //By number of similar interests\n $active_filter = \" ORDER BY similar_interest DESC, u.first_name, u.last_name\";\n }\n \n $limit = 20;\n \n $sql = \"SELECT u.id as user_id,\n u.profile_code,\n u.first_name,\n u.last_name,\n ub.profilephoto,\n ub.coverphoto,\n coalesce(a.total,0) as followers,\n coalesce(b.total,0) as following,\n round((coalesce(c.yaycount,0) + coalesce(d.yaycount,0) + (coalesce(e.yaycount,0) / 10)) / 3) as avg_rating,\n us.credential_type,\n us.credential_refid,\n (case us.credential_type\n when 1 then ugen.general_info\n when 2 then \n (case WHEN ucol.course IS NOT NULL THEN\n CONCAT(ucol.course, ', ', ucol.schoolname)\n ELSE ucol.schoolname\n end)\n when 3 then CONCAT(uwork.position, ', ', uwork.companyname,', ',uwork.location)\n end) 'credential',\n (case \n when uf2.status=1 then '1'\n when uf2.status=0 then '2'\n when uf3.status=0 then '3' \n else '4'\n end) 'friend_status',\n (case\n when ua.status=1 then \n case ua2.status\n when 1 then '6'\n else '1'\n end\n when ua.status=0 then '2'\n when ua2.status=1 then '3'\n when ua2.status=0 then '4' \n else '5'\n end) 'following_status',\n coalesce(mf.mutualfriends,0) as mutual_friends,\n coalesce(ms.mutualstrings,0) as similar_interest,\n uf.created_at\t \n FROM userfriends uf\n JOIN users u ON u.id = uf.user_two_id\n LEFT JOIN userbasicinfo ub on u.id = ub.user_id\n LEFT JOIN usersettings us on u.id = us.user_id\n LEFT JOIN usergeneralinfo ugen ON ugen.user_id = us.user_id AND ugen.id = us.credential_refid\n LEFT JOIN usereduccollege ucol ON ucol.user_id = us.user_id AND ucol.id = us.credential_refid\n LEFT JOIN userworkhistory uwork ON uwork.user_id = us.user_id AND uwork.id = us.credential_refid\n LEFT OUTER JOIN (select useracquiantances.user_two_id,\n COUNT(*) total\n FROM useracquiantances\n WHERE status=1\n GROUP BY useracquiantances.user_two_id) as a ON a.user_two_id = u.id\n LEFT OUTER JOIN (select useracquiantances.user_one_id,\n COUNT(*) total\n FROM useracquiantances\n WHERE status=1\n GROUP BY useracquiantances.user_one_id) as b ON b.user_one_id = u.id\n LEFT OUTER JOIN (select postcontentapprovalrate.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycount\n FROM postcontentapprovalrate\n LEFT JOIN postcontent ON postcontent.id = postcontentapprovalrate.postcontent_id\n WHERE postcontent.deleted_at IS NULL AND postcontentapprovalrate.mask = 0\n GROUP BY postcontentapprovalrate.user_id) as c ON c.user_id = u.id\n LEFT OUTER JOIN (select topicapprovalrate.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycount\n FROM topicapprovalrate\n LEFT JOIN topic ON topic.id = topicapprovalrate.string_id\n WHERE topic.deleted_at IS NULL AND topicapprovalrate.mask=0\n GROUP BY topicapprovalrate.user_id) as d ON d.user_id = u.id\n LEFT OUTER JOIN (select postopinionapprovalrate.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycount\n FROM postopinionapprovalrate\n LEFT JOIN postopinion ON postopinion.id = postopinionapprovalrate.postopinion_id\n LEFT JOIN postcontent ON postcontent.id = postopinion.postcontent_id\n WHERE postcontent.deleted_at IS NULL AND postopinion.deleted_at IS NULL\n AND postopinionapprovalrate.mask=0\n GROUP BY postopinionapprovalrate.user_id) as e ON e.user_id = u.id\n LEFT JOIN useracquiantances ua on ua.user_one_id = uf.user_two_id \n AND ua.user_two_id = {$active_login_userid}\n LEFT JOIN useracquiantances ua2 on ua2.user_one_id = {$active_login_userid} \n AND ua2.user_two_id = uf.user_two_id\n LEFT JOIN userfriends uf2 on uf2.user_one_id = uf.user_two_id \n AND uf2.user_two_id = {$active_login_userid}\n LEFT JOIN userfriends uf3 ON uf3.user_one_id={$active_login_userid} \n AND uf3.user_two_id=uf.user_two_id\n LEFT OUTER JOIN (select uf5.user_one_id,\n COUNT(*) mutualfriends\n FROM userfriends uf5\n WHERE uf5.status=1 AND\n uf5.user_two_id IN (SELECT uf6.user_two_id\n FROM userfriends uf6\n WHERE uf6.user_one_id={$active_login_userid} AND status=1)\n GROUP BY uf5.user_one_id) as mf ON mf.user_one_id = u.id\n LEFT OUTER JOIN (select tr.user_id,\n COUNT(*) mutualstrings\n FROM topictrack tr\n LEFT JOIN topic t ON t.id = tr.topic_id\n WHERE t.deleted_at IS NULL AND tr.mask=0 AND\n tr.topic_id IN (SELECT tr2.topic_id \n FROM topictrack tr2\n LEFT JOIN topic t2 ON tr2.topic_id = t2.id\n WHERE tr2.user_id={$active_login_userid} \n AND t.deleted_at IS NULL \n AND tr.mask=0)\n GROUP BY tr.user_id) as ms ON ms.user_id = u.id\n WHERE (uf.user_one_id={$owner_profile_userid} AND uf.status=1)\n {$active_filter}\n LIMIT {$limit}\";\n\n return collect($this->_helper->convert_sql_to_array( DB::select(DB::raw($sql)) )); \n }",
"public function getMutualFriends($user_to_check)\n{\n\t//then function start which get all it profile user friend array \n\t//then second start which get the those user friend array which visit\n\t//then it compare if same find mutual freind increase or decrease according to condition\n\n $mutualFriends = 0;\n $user_array = $this->user['friend_array'];//all login friends store in user_array \n $user_array_explode = explode(\",\",$user_array);\n\n $query = mysqli_query($this->con,\"SELECT friend_array FROM users WHERE username='$user_to_check'\");\n $row = mysqli_fetch_array($query);\n\n $user_to_check_array = $row['friend_array'];\n\n $user_to_check_array_explode = explode(\",\", $user_to_check_array);\n\n foreach($user_array_explode as $i)\n {\n\t\t \tforeach ($user_to_check_array_explode as $j)\n\t\t{\n\t\t\t\t if($i == $j && $i != \"\"){\n\t\t\t\t \t$mutualFriends++;\n\t\t\t\t }\n\n} \n\n }\n return $mutualFriends;\n\n\n\n}",
"function friendFollowerCount($settings, $name)\r\n{\r\n$url = 'https://api.twitter.com/1.1/users/lookup.json';\r\n$getfield = '?screen_name='.$name;\r\n$requestMethod = 'GET';\r\n$twitter = new TwitterAPIExchange($settings);\r\n$string = json_decode($twitter->setGetfield($getfield)\r\n->buildOauth($url, $requestMethod)\r\n->performRequest(),$assoc = TRUE);\r\n\r\nforeach($string as $items)\r\n\t{\r\n\t\techo \"User @\". $items['screen_name']. \" has \". $items['followers_count'].\" Followers and \". $items['friends_count']. \" Friends. This is not bad.<br />\";\r\n\t}\r\n}",
"public function getFriends(){\r\n\t\t$fql = 'SELECT uid, name, sex FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = '.$this->getFacebookUid().')';\r\n\t\t$fql_result = $this->runFQL($fql, 'fql_get_friends');\r\n\t\treturn $fql_result;\r\n\t}",
"function numberOfFriendships() {\n $numOfFriends = 0;\n\n $db = new Database();\n\n $sql = 'SELECT COUNT(*) as count FROM Friends';\n\n $result = $db->select($sql);\n\n $numOfFriends = $result['count'] / 2;\n\n return $numOfFriends;\n }",
"public function getMyFriends()\n { \n return $this->myFriends; \n }",
"public function get_friend_count() {\n\t\treturn (int)ORM::factory('friend')->where('user_id', '=', $this->id)->count_all();\n\t}",
"public function list_members() {\n\n\t\t//ignored users\n\t\t$stm = $this->db()->prepare('select \"to_big\" from \"member_settings\" where \"from_big\" = :current_member_big and \"chat_ignore\" = 1');\n\t\t$stm->execute(array(\n\t\t\t':current_member_big'\t=> $this->member_big,\n\t\t));\n\t\t$ignored_members_raw = $stm->fetchAll(PDO::FETCH_ASSOC);\n\t\t$ignored_members = array(0);\n\t\tforeach($ignored_members_raw as $member) {\n\t\t\t$ignored_members[] = $member['to_big'];\n\t\t}\n\t\t$ignored_members = implode(',', $ignored_members);\n\n\t\t//joined users\n\t\t$stm = $this->db()->prepare(\n\t\t\t'select distinct on (m.big) \"m\".\"big\", \"m\".\"name\"||\\' \\'||substring(\"m\".\"surname\" from 1 for 1)||\\'.\\' as \"name\", (case when \"c\".\"physical\"=1 then \\'onsite\\' else \\'online\\' end) as \"status\"\n\t\t\tfrom \"checkins\" \"c\"\n\t\t\t\tleft join \"members\" \"m\" on (\"c\".\"member_big\" = \"m\".\"big\")\n\t\t\twhere (\"c\".\"checkout\" is null or \"c\".\"checkout\" > now())\n\t\t\t\tand \"c\".\"event_big\" = (select \"event_big\" from \"checkins\" where \"member_big\" = :member_big and (\"checkout\" is null or \"checkout\" > now()) order by \"created\" desc limit 1)\n\t\t\t\tand (\"m\".\"last_web_activity\" > :online_timeout or \"m\".\"last_mobile_activity\" > :online_timeout)\n\t\t\t\tand \"m\".\"big\" != :member_big\n\t\t\t\tand \"m\".\"big\" not in ('.$ignored_members.')\n\t\t\torder by m.big, \"c\".\"created\" asc'\n\t\t);\n\t\t$stm->execute(array(\n\t\t\t':member_big'\t\t=> $this->member_big,\n\t\t\t':online_timeout'\t=> date('c', strtotime(ONLINE_TIMEOUT)),\n\t\t));\n\t\t$joined_members = $stm->fetchAll(PDO::FETCH_ASSOC);\n\n\t\t$joined_member_bigs = array(0);\n\t\tforeach($joined_members as $member) {\n\t\t\t$joined_member_bigs[] = $member['big'];\n\t\t}\n\t\t$joined_member_bigs = implode(',', $joined_member_bigs);\n\n\t\t//users we already had conversation with\n\t\t$stm = $this->db()->prepare(\n\t\t\t'select distinct on (m.big) \"m\".\"big\", \"m\".\"name\"||\\' \\'||substring(\"m\".\"surname\" from 1 for 1)||\\'.\\' as \"name\",\n\t\t\t\t(case when (\"m\".\"last_web_activity\" > :online_timeout or \"m\".\"last_mobile_activity\" > :online_timeout) then \\'online\\' else \\'offline\\' end) as \"status\"\n\t\t\tfrom \"member_rels\" \"r\"\n\t\t\t\tleft join \"members\" \"m\" on (\"m\".\"big\" = (case when \"r\".\"member1_big\"=:member_big then \"r\".\"member2_big\" else \"r\".\"member1_big\" end))\n\t\t\t\tleft join \"chat_messages\" as \"cm\" on (\"cm\".\"rel_id\" = \"r\".\"id\" and (case when \"cm\".\"from_big\"=:member_big then \"cm\".\"from_status\" else \"cm\".\"to_status\" end) = 1)\n\t\t\twhere \"m\".\"big\" != :member_big\n\t\t\t\tand (r.member1_big = :member_big OR r.member2_big = :member_big)\n\t\t\t\tand \"m\".\"big\" not in ('.$ignored_members.','.$joined_member_bigs.')\n\t\t\t\tand \"cm\".\"id\" > 0\n\t\t\torder by m.big'\n\t\t);\n\t\t$stm->execute(array(\n\t\t\t':member_big'\t\t=> $this->member_big,\n\t\t\t':online_timeout'\t=> date('c', strtotime(ONLINE_TIMEOUT)),\n\t\t));\n\t\t$history_members = $stm->fetchAll(PDO::FETCH_ASSOC);\n\n\t\tforeach($joined_members as $key=>$val) {\n\t\t\t$joined_members[$key]['img'] = ProfilePicture::get_resized($val['big'], 28, 28);\n\t\t}\n\n\t\tforeach($history_members as $key=>$val) {\n\t\t\t$history_members[$key]['img'] = ProfilePicture::get_resized($val['big'], 28, 28);\n\t\t}\n\n\n\t\treturn $this->reply(array(\n\t\t\t'joined' => $joined_members,\n\t\t\t'history' => $history_members,\n\t\t));\n\n\t}",
"public function getMyFriends()\r\n {\r\n return $this->myFriends;\r\n }",
"public static function listRequests($limit = 100)\n {\n /*$userid = self::getLoggedInUser()->id;\n\n $usersa = new Collection;\n\n $usersb = new Collection;\n\n $friendsa = Friends::where('user_that_sent_request', $userid)->where('accepted', '0')->take($limit)->get();\n\n //$friendsa = $friendsa->keyBy('user_that_accepted_request');\n\n //$friendsa = $friendsa->keyBy(function($item) { return \"U\" . $item['user_that_accepted_request']; });\n\n foreach ($friendsa as $result) {\n\n $u = User::where('id', $result['user_that_accepted_request'])->get();\n $usersa->push($u[0]);\n\n }\n\n $friendsb = Friends::where('user_that_accepted_request', $userid)->where('accepted', '0')->take($limit)->get();\n\n //$friendsb = $friendsb->keyBy('user_that_sent_request');\n\n //$friendsb = $friendsb->keyBy(function($item) { return \"U\" . $item['user_that_sent_request']; });\n\n foreach ($friendsb as $result) {\n\n $u = User::where('id', $result['user_that_sent_request'])->get();\n $usersb->push($u[0]);\n\n }\n\n $users = $usersa->merge($usersb);\n\n $users = $users->shuffle();\n\n $users = $users->take($limit);\n\n return $users;*/\n\n $users = new Collection();\n\n $limit = Helpers::unlimited($limit);\n\n $requests = Friends::friendRequests(null)->take($limit)->get();\n\n foreach ($requests as $user) {\n $users->push(UserUtil::getUser($user->id));\n }\n\n $requests = Friends::sentRequests(null)->take($limit)->get();\n\n foreach ($requests as $user) {\n $users->push(UserUtil::getUser($user->id));\n }\n\n $users = $users->shuffle();\n\n $users = $users->take($limit);\n\n return $users;\n }",
"function friends_using()\n{\n $me = fb::me();\n $uid = ! empty($me['id']) ? $me['id'] : -1;\n\n $args = func_get_args();\n $what = $args ? join(',', $args) : 'name';\n\n return fb::query(\"SELECT $what FROM user WHERE has_added_app=1 and uid IN (SELECT uid2 FROM friend WHERE uid1=$uid)\");\n}",
"function manageFriends()\n\t{\n\t\t//init variable\n\t\t$app = JFactory::getApplication();\n\t\t$log_user = JFactory::getUser($this->plugin->get('user')->id);\n\t\t$db = JFactory::getDbo();\n\t\t$frnd_id = $app->input->get('target_userid',0,'INT');\n\t\t$userid = $log_user->id;\n\t\t$res = new stdClass();\n\t\t\n\t\tif(!$frnd_id)\n\t\t{\n\t\t\treturn 'Friend id not found';\n\t\t}\n\n\t\t$frnds_obj = new EasySocialModelFriends();\n\t\t$result = $frnds_obj->request($userid,$frnd_id);\n\t\t\n\t\tif($result->id)\n\t\t{\n\t\t\t$res->status = 1;\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$res->status = 0;\n\t\t}\n\t\treturn $res;\n\t}",
"function peoples($array=''){\n\t$order='';$limit='LIMIT 0,50';$where='1';\n $uid=$_SESSION['ws-tags']['ws-user']['id'];\n $from= 'users u';\n $select= 'u.id AS id,\n \t\t\tCONCAT(u.`name`,\" \",u.last_name) AS name_user,\n \t\t\tu.username AS username,\n \t\t\tu.description,\n \t\t\tu.email as email,\n \t\t\tu.country as id_country,\n (SELECT name FROM countries WHERE id=u.country) AS country,\n \t\t\tu.followers_count,\n \t\t\tu.friends_count,\n u.following_count,\n \t\t\tu.profile_image_url AS photo_friend,\n \t\t\tmd5(CONCAT(u.id,\"_\",u.email,\"_\",u.id)) AS code_friend,\n \t\t\t(SELECT `id_user` AS `id_user` FROM users_links WHERE `id_friend`=u.id AND `id_user`='.$uid.') AS follower';\n if (isset($array['select'])){ $select.=$array['select']; }\n elseif(isset($array['newSelect'])){ $select=$array['newSelect']; }\n if (isset($array['from'])){ $from=$array['from']; }\n elseif(isset($array['join'])){ $from.=$array['join']; }\n if (isset($array['where'])){ $where=$array['where']; }\n if (isset($array['limit'])){ $limit=$array['limit']; }\n if (isset($array['order'])){ $order=$array['order']; }\n $sql= 'SELECT '.$select.' '.\n 'FROM '.$from.' '.\n 'WHERE '.$where.\n ' '.$order.' '.$limit;\n if (isset($_GET['debug']) && isset($_GET['return'])) return '<pre>'.$sql.'</pre>';\n elseif (isset($_GET['debug'])) echo '<div><pre>'.$sql.'</pre></div>';\n\t$users=$GLOBALS['cn']->query($sql);\n\treturn $users;\n}",
"protected function getNewsFromFriends()\n {\n $friends = auth()->user()->approvedFriends;\n $friends->count() > 5 \n ? $randomFriends = 5\n : $randomFriends = $friends->count(); \n $friends = $friends->random($randomFriends);\n\n $newsfeedPosts = collect([]);\n foreach ($friends as $friend) {\n $friendsPosts = User::with(['latestPosts.user.profile', 'latestPosts.likes', 'latestPosts.comments'])\n ->find($friend->id)\n ->latestPosts->take(1);\n\n $newsfeedPosts->push($friendsPosts);\n }\n \n return $newsfeedPosts->flatten(1);\n }",
"public function iN_PopularUsersFromLastWeek() {\n\t\t$query = mysqli_query($this->db, \"SELECT DISTINCT\n\t\t P.post_owner_id,P.post_owner_id, U.iuid,U.i_username,U.i_user_fullname,U.user_verified_status, U.user_gender , count(P.post_owner_id) as cnt\n\t\t FROM i_posts P FORCE INDEX(ixForcePostOwner)\n\t\t INNER JOIN i_users U FORCE INDEX(ixForceUser)\n\t\t ON P.post_owner_id = U.iuid AND U.uStatus IN('1','3')\n\t\t WHERE WEEK(FROM_UNIXTIME(P.post_created_time)) = WEEK(NOW()) - 1 GROUP BY P.post_owner_id ORDER BY cnt DESC LIMIT 5\n\t\t \") or die(mysqli_error($this->db));\n\t\t/*U.user_verified_status = '1' AND*/\n\t\twhile ($row = mysqli_fetch_array($query, MYSQLI_ASSOC)) {\n\t\t\t$data[] = $row;\n\t\t}\n\t\tif (!empty($data)) {\n\t\t\treturn $data;\n\t\t}\n\t}",
"function tp_get_tag_list($viewer) {\n\t$friends = get_user_friends($viewer->getGUID(), '', 999, 0);\n\t$friend_list = array();\n\tif ($friends) {\n\t\tforeach($friends as $friend) {\n\t\t\t//error_log(\"friend $friend->name\");\n\t\t\t$friend_list[$friend->guid] = $friend->name;\n\t\t}\n\t}\n\n\t// is this a group\n\t$is_group = tp_is_group_page();\n\tif ($is_group) {\n\t\t$group_guid = page_owner();\n\t\t$viewer_guid = $viewer->guid;\n\t\t$members = get_group_members($group_guid, 999);\n\t\tif (is_array($members)) {\n\t\t\tforeach ($members as $member) {\n\t\t\t\tif ($viewer_guid != $member->guid) {\n\t\t\t\t\t$group_list[$member->guid] = $member->name;\n\t\t\t\t\t//error_log(\"group $member->name\");\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// combine group and friends list\n\t\t\t$intersect = array_intersect_key($friend_list, $group_list);\n\t\t\t$unique_friends = array_diff_key($friend_list, $group_list);\n\t\t\t$unique_members = array_diff_key($group_list, $friend_list);\n\t\t\t//$friend_list = array_merge($friend_list, $group_list);\n\t\t\t//$friend_list = array_unique($friend_list);\n\t\t\t$friend_list = $intersect + $unique_friends + $unique_members;\n\t\t}\n\t}\n\n\tasort($friend_list);\n\n\treturn $friend_list;\n}"
] |
[
"0.6197005",
"0.60457426",
"0.60430235",
"0.6022794",
"0.59893036",
"0.5901661",
"0.5879681",
"0.5826177",
"0.5823182",
"0.575592",
"0.566992",
"0.56186223",
"0.56097484",
"0.5600141",
"0.5596532",
"0.5591085",
"0.55789775",
"0.5566023",
"0.5534853",
"0.55215627",
"0.5502161",
"0.5482018",
"0.5476144",
"0.54352057",
"0.54238033",
"0.5417251",
"0.54088426",
"0.5404222",
"0.5402571",
"0.54022485"
] |
0.6332662
|
0
|
Configure the table result lines.
|
protected function resultLines(Table $table): void
{
//
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function build_table()\n {\n if (count($this->properties) > 0)\n {\n foreach ($this->properties as $property => $values)\n {\n $contents = array();\n $contents[] = $property;\n \n if (! is_array($values))\n {\n $values = array($values);\n }\n \n if (count($values) > 0)\n {\n foreach ($values as $value)\n {\n $contents[] = $value;\n }\n }\n \n $this->addRow($contents);\n }\n \n $this->setColAttributes(0, array('class' => 'header'));\n }\n else\n {\n $contents = array();\n $contents[] = Translation::get('NoResults', null, Utilities::COMMON_LIBRARIES);\n $row = $this->addRow($contents);\n $this->setCellAttributes($row, 0, 'style=\"font-style: italic;text-align:center;\" colspan=2');\n }\n }",
"protected function resultLines(Table $table): void\n {\n // $table->result()->title('Total Score')->html(function(Scores $scores){\n // return $scores->sum('score');\n // });\n }",
"public function display_rows()\n {\n }",
"public function display_rows()\n {\n }",
"public function set_alt_rows() { $this->alt_rows = true; }",
"protected function configureTableSelection()\n {\n return [ 'Table1', 'Table2', '...' ];\n }",
"public function addRows()\n {\n }",
"protected function OrderLineTable() {\n\treturn $this->GetConnection()->MakeTableWrapper(KS_CLASS_ORDER_LINES);\n }",
"public function addTableFooter() {\n\t\t// auto width\n\t\tforeach ($this->tableParams['auto_width'] as $col)\n\t\t\t$this->xls->getActiveSheet()->getColumnDimensionByColumn($col)->setAutoSize(true);\n\t\t// filter (has to be set for whole range)\n\t\tif (count($this->tableParams['filter']))\n\t\t\t$this->xls->getActiveSheet()->setAutoFilter(PHPExcel_Cell::stringFromColumnIndex($this->tableParams['filter'][0]).($this->tableParams['header_row']).':'.PHPExcel_Cell::stringFromColumnIndex($this->tableParams['filter'][count($this->tableParams['filter']) - 1]).($this->tableParams['header_row'] + $this->tableParams['row_count']));\n\t\t// wrap\n\t\tforeach ($this->tableParams['wrap'] as $col)\n\t\t\t$this->xls->getActiveSheet()->getStyle(PHPExcel_Cell::stringFromColumnIndex($col).($this->tableParams['header_row'] + 1).':'.PHPExcel_Cell::stringFromColumnIndex($col).($this->tableParams['header_row'] + $this->tableParams['row_count']))->getAlignment()->setWrapText(true);\n\t}",
"function showDataTable(){\n\t\t$output = \"\";\n\t\t// print the table\n\t\t$output .= \"<table summary=\\\"\".$this->summary.\"\\\">\\n\";\n\t\t// print the caption\n\t\t$output .= \"<caption>\".$this->caption.\"</caption>\\n\";\n\t\t$output .= $this->showHeader();\n\t\t// initialise variables\n\t\t$altCounter = 0;\n\t\t$altClass = \"\";\n\t\t$h = 1;\n\t\t// loop each row\n\t\tfor ($x=0; $x<count($this->rows); $x++) {\n\t\t\t// if it is time to show the header\n\t\t\tif ($h==$this->headerRepeat){\n\t\t\t\t// show the header\n\t\t\t\t$output .= $this->showHeader();\n\t\t\t\t$h = 1;\n\t\t\t}\n\t\t\t$row = $this->rows[$x];\n\t\t\t// alternate the row classes\n\t\t\tif ($this->altClasses){\n\t\t\t\tif ($this->altClasses[$altCounter]!=\"\"){ $altClass = \" class=\\\"\".$this->altClasses[$altCounter].\"\\\"\"; } else { $altClass=\"\"; }\n\t\t\t\tif ($altCounter==count($this->altClasses)-1){ $altCounter=0; } else { $altCounter++; }\n\t\t\t}\n\t\t\t// set the parameters to nothing\n\t\t\t$params = \"\";\n\t\t\t// if there are parameters for this row set\n\t\t\tif (count($this->rowParams[$x])>0){\n\t\t\t\t// loop the parameters\n\t\t\t\twhile (list($attribute, $parameter) = each($this->rowParams[$x])) {\n\t\t\t\t\t// if the parameter is 'class'\n\t\t\t\t\tif (strtolower($attribute)==\"class\"){\n\t\t\t\t\t\t// replace the altClass variable\n\t\t\t\t\t\t$altClass = \" \".strtolower($attribute).\"=\\\"$parameter\\\"\";\n\t\t\t\t\t} else{\n\t\t\t\t\t\t// otherwise build the parameters\n\t\t\t\t\t\t$params .= \" \".strtolower($attribute).\"=\\\"$parameter\\\"\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// print the row\n\t\t\t$output .= \"\t<tr$altClass$params>\\n\";\n\t\t\t\t// set the colSpan to 0\n\t\t\t\t$colSpan = 0;\n\t\t\t\t$colSpanAttribute = \"\";\n\t\t\t\t// if this row has less columns than the number of fields\n\t\t\t\tif (count($row)<count($this->fields)){\n\t\t\t\t\t$colSpan = (count($this->fields)-count($row))+1;\n\t\t\t\t}\n\t\t\t\t// loop each cell\n\t\t\t\tfor ($i=0; $i<count($row); $i++) {\n\t\t\t\t\t$value = $row[$i];\n\t\t\t\t\t$value = $this->formatField($i, $x);\n\t\t\t\t\t// make the colspan attribute\n\t\t\t\t\tif ($colSpan>0 && $i==(count($row)-1)){ $colSpanAttribute = \" colspan=\\\"$colSpan\\\"\"; }\n\t\t\t\t\t// print the cell\n\t\t\t\t\t$output .= \"\t\t<td$colSpanAttribute>\".$value.\"</td>\\n\";\n\t\t\t\t}\n\t\t\t// end the row\n\t\t\t$output .= \"\t</tr>\\n\";\n\t\t\t// increment the header repeat variable\n\t\t\t$h++;\n\t\t}\n\t\t// end the table\n\t\t$output .= \"</table>\\n\\n\";\n\t\tprint $output;\n\t}",
"function setLineBetweenColumns() {\t \r\n\t \t$this->lineBetweenColumns = true;\t\r\n\t}",
"public function print_table_description()\n {\n }",
"protected function startTable() {}",
"public function addTableFooter() {\n // auto width\n foreach ($this->_tableParams['auto_width'] as $col)\n $this->_xls->getActiveSheet()->getColumnDimensionByColumn($col)->setAutoSize(true);\n\n // filter (has to be set for whole range)\n if (count($this->_tableParams['filter']))\n $this->_xls->getActiveSheet()->setAutoFilter(PHPExcel_Cell::stringFromColumnIndex($this->_tableParams['filter'][0]) . ($this->_tableParams['header_row']) . ':' . PHPExcel_Cell::stringFromColumnIndex($this->_tableParams['filter'][count($this->_tableParams['filter']) - 1]) . ($this->_tableParams['header_row'] + $this->_tableParams['row_count']));\n\n // wrap\n foreach ($this->_tableParams['wrap'] as $col)\n $this->_xls->getActiveSheet()->getStyle(PHPExcel_Cell::stringFromColumnIndex($col) . ($this->_tableParams['header_row'] + 1) . ':' . PHPExcel_Cell::stringFromColumnIndex($col) . ($this->_tableParams['header_row'] + $this->_tableParams['row_count']))->getAlignment()->setWrapText(true);\n\n return $this;\n }",
"protected function _getTableOptions(){ }",
"function TableShow($align,$LineFeedHeight)\r\n{\r\n\t// Le calcul ne l'est pas, lui ;-)\r\n\t$oldFontSizePt=$this->FontSizePt;\r\n\t$oldFontFamily=$this->FontFamily;\r\n\r\n\t$tableFontFamily='helvetica';\r\n\t$cellmargin=3.0;\t\t// pifomètre : un peu de marge sur la largeur de cellule\r\n\t$wrwi=$this->w - $this->lMargin - $this->rMargin;\r\n\t//-----------\r\n\t$tableFontSize=10;\r\n\t$TableWidth = 1.01*$wrwi;\r\n\t$max_width=0;\r\n\t$min_font_size=6.0; // mis à 6, 5 était vraiment petit\r\n\t$maxiter = 10;\r\n\tdo {\r\n\t\t$tableFontSize = $tableFontSize *min(1.0,$wrwi/$TableWidth)*0.99; // 0.99 pour converger plus vite\r\n\r\n\t\t$fixed_width= ($tableFontSize<$min_font_size) || ($maxiter==1) || ($TableWidth<=$wrwi);\r\n\t\tif ($fixed_width)\r\n\t\t\t$coeff=min(1.0,$wrwi/$TableWidth);\r\n\r\n\t\t$tableFontSize = max($min_font_size,$tableFontSize);\r\n\t\t// on boucle sur la taille de police tant que la largeur du tableau ne rentre pas dans la page\r\n\r\n\t\t// remise à zéro des largeurs de colonnes\r\n\t\tforeach ($this->columnProp as $i=>$cprop)\r\n\t\t\tif ($fixed_width)\t$this->columnProp[$i]['w']=$this->columnProp[$i]['w']*$coeff;// redimenssioner la largeur de la colonne\r\n\t\t\telse\t$this->columnProp[$i]['w']=0.0;\r\n\t\tforeach($this->tableContent as $j=>$row)\r\n\t\t\t$this->lineProp[$j]['h']=0.0;\r\n\r\n\t\t// on passe toutes les cellules du tableau en revue\r\n\t\t// de façon à calculer la largeur max de chaque colonne pour la taille de police courante\r\n\t\tforeach($this->tableContent as $j=>$row) {\r\n\t\t\tforeach($row as $i=>$cell) {\r\n\t\t\t\t$htmlContent = $cell['content'].\"<br />\";\r\n\t\t\t\tif ($this->tableContent[$j][$i]['TH']) {\r\n\t\t\t\t\t$htmlContent=\"<B>$htmlContent</B>\";\r\n\t\t\t\t}\r\n\t\t\t\tlist($width,$height)=$this->CellSize($htmlContent,$tableFontFamily,$tableFontSize,$LineFeedHeight,$cellmargin,$fixed_width?$this->columnProp[$i]['w']:0);\r\n\r\n\t\t\t\tif (!$fixed_width)\r\n\t\t\t\t\t$this->columnProp[$i]['w'] = max($this->columnProp[$i]['w'],$width);\r\n\t\t\t\t$this->lineProp[$j]['h'] = max($this->lineProp[$j]['h'],$height)+0.3;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// Repris de CalcWidth : calcul de la largeur de la table\r\n\t\t$TableWidth=0.0;\r\n\t\tforeach($this->columnProp as $col) {\r\n\t\t\t$TableWidth += $col['w'];\r\n\t\t}\r\n\t} while (!$fixed_width && $maxiter--);\r\n\r\n\t//-----------\r\n\t//\tEnvoi du tableau dans le flux PDF\r\n\t//-----------\r\n\r\n\t$this->SetFont($tableFontFamily, '', $tableFontSize);\r\n\t//Calcule l'abscisse du tableau\r\n\tif($align=='C')\r\n\t\t$this->TableX=max(($this->w-$TableWidth)/2, 0);\r\n\telseif($align=='R')\r\n\t\t$this->TableX=max($this->w-$this->rMargin-$TableWidth, 0);\r\n\telse\r\n\t\t$this->TableX=$this->lMargin;\r\n\r\n\t$ci=0;\t# flip-flop pour couleur de fond de ligne\r\n\tforeach($this->tableContent as $j=>$row) {\r\n\t\t$this->SetX($this->TableX);\r\n\t\t$fill = !empty($this->RowColors[$ci]);\r\n\t\tif ($fill) {\r\n\t\t\t$this->SetFillColor($this->RowColors[$ci][0],\r\n\t\t\t\t\t\t\t\t$this->RowColors[$ci][1],\r\n\t\t\t\t\t\t\t\t$this->RowColors[$ci][2]);\r\n\t\t}\r\n\r\n\t\tforeach($this->tableContent[$j] as $i=>$cell) {\r\n\t\t\tif ($this->tableContent[$j][$i]['TH'] == true) {\r\n\t\t\t\t$this->SetFont($tableFontFamily, 'B', $tableFontSize);\r\n\t\t\t\t$this->SetFillColor(255, 255, 0);\t// jaune\r\n\t\t\t\t$fill=1;\r\n\t\t\t}\r\n\t\t\t$this->OutputCell(\r\n\t\t\t\t$this->columnProp[$i]['w'],\r\n\t\t\t\t$this->lineProp[$j]['h'],\r\n\t\t\t\t$cell['content'],\r\n\t\t\t\t1,\r\n\t\t\t\t$LineFeedHeight,\r\n\t\t\t\t$this->columnProp[$i]['a'],\r\n\t\t\t\t$fill,0);\r\n\r\n\t\t\tif ($this->tableContent[$j][$i]['TH']) {\r\n\t\t\t\t$this->SetFont('', '', $tableFontSize);\r\n\t\t\t\t$this->SetFillColor(255);\t// blanc\r\n\t\t\t}\r\n\t\t}\r\n\t\t$ci=1-$ci;\r\n\t\t$this->maxLineWidth = max($this->maxLineWidth,$this->x);\r\n\t\t$this->Ln($this->lineProp[$j]['h']);\r\n\t}\r\n\r\n\t$this->SetFont($oldFontFamily, '', $oldFontSizePt);\r\n\t$this->Ln($LineFeedHeight);\r\n}",
"public function flush() {\n if (empty($this->_row) or empty($this->_row['line']['normal'])) {\n // Nothing to print - each line has to have at least number\n $this->_row = array();\n foreach ($this->columns as $col) {\n $this->_row[$col] = array('normal'=>'', 'info'=>'', 'warning'=>'', 'error'=>'');\n }\n return;\n }\n $ci = 0;\n $ri = 1;\n echo '<tr class=\"r'.$ri.'\">';\n foreach ($this->_row as $key=>$field) {\n foreach ($field as $type=>$content) {\n if ($field[$type] !== '') {\n $field[$type] = '<span class=\"uu'.$type.'\">'.$field[$type].'</span>';\n } else {\n unset($field[$type]);\n }\n }\n echo '<td class=\"cell c'.$ci++.'\">';\n if (!empty($field)) {\n echo implode('<br />', $field);\n } else {\n echo ' ';\n }\n echo '</td>';\n }\n echo '</tr>';\n foreach ($this->columns as $col) {\n $this->_row[$col] = array('normal'=>'', 'info'=>'', 'warning'=>'', 'error'=>'');\n }\n }",
"protected function setTable()\n {\n $class = explode('\\\\', get_called_class());\n $this->table = lcfirst(end($class)).'s';\n }",
"protected function render($result)\n {\n $editions = preg_split('/\\n{2}/', $result);\n foreach ($editions as $info) {\n $bits = preg_split('/\\-{5,}/', $info);\n $versions = explode(\"\\n\", trim($bits[1]));\n usort($versions, 'version_compare');\n array_walk($versions, function (&$value) {\n $value = array($value);\n });\n $this->out(array(array(\n 'type' => 'table',\n 'data' => array(\n array(trim($bits[0])),\n $versions\n )\n )));\n }\n }",
"protected function _prepareRowsAction() {\n \n }",
"protected function setHeaders()\n {\n $row = 1; \n $this->objPHPExcel->getActiveSheet()->getColumnDimension('A')->setAutoSize(true);\n \n $mergeCells = 'A' . $row . ':' . 'E' . $row;\n $this->setCellValue('A' . $row, \"Differences between files.\");\n $this->objPHPExcel->getActiveSheet()->getStyle($mergeCells)->getFont()->setBold(true);\n $this->objPHPExcel->getActiveSheet()->mergeCells($mergeCells);\n $this->objPHPExcel->getActiveSheet()->getRowDimension($row)->setRowHeight(25);\n $this->objPHPExcel->getActiveSheet()->getStyle($mergeCells)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);\n \n \n $row++;\n $cell = 'A' . $row;\n $this->setCellValue($cell, \"Comparing by: \");\n $this->objPHPExcel->getActiveSheet()->getStyle($cell)->getFont()->setBold(true);\n \n $mergeCells = 'B' . $row . ':' . 'C' . $row;\n $this->setCellValue('B' . $row, $this->getCompareTypeLabel()); \n $this->objPHPExcel->getActiveSheet()->mergeCells($mergeCells);\n \n \n $row++;\n $cell = 'A' . $row;\n $this->setCellValue($cell, \"Configuration: \");\n $this->objPHPExcel->getActiveSheet()->getStyle($cell)->getFont()->setBold(true);\n \n $mergeCells = 'B' . $row . ':' . 'M' . $row;\n $this->setCellValue('B' . $row, $this->settings['configuration']); \n $this->objPHPExcel->getActiveSheet()->mergeCells($mergeCells);\n \n $row += 5;\n $columns = $this->getColumns(); \n foreach ($columns as $columnName => $column) {\n $cell = $columnName . $row;\n $this->setCellValue($cell, $column['title']);\n $this->objPHPExcel->getActiveSheet()->getColumnDimension($columnName)->setAutoSize(true);\n $this->objPHPExcel->getActiveSheet()->getStyle($cell)->getFont()->setBold(true);\n }\n \n return $row;\n }",
"protected function _render()\n {\n $resultTRs = array();\n $resultTDs = array();\n $options = array();\n\n if (is_null($this->_paginator)) {\n FaZend_Exception::raise(\n 'FaZend_View_Helper_HtmlTable_MissedPaginatorParameter',\n \"Paginator must be set first\"\n );\n }\n\n foreach ($this->_paginator as $key=>$rowOriginal) {\n // convert ROW, if necessary. skip the ROW if false returned\n if (!$this->_convertColumnValue(false, true, $rowOriginal)) {\n continue;\n }\n\n // prepare one row for rendering, converting it to the ARRAY\n // type, no matter what was the original type.\n if (is_array($rowOriginal)) {\n $row = $rowOriginal;\n } elseif (is_object($rowOriginal)) {\n if (method_exists($rowOriginal, 'toArray')) {\n $row = $rowOriginal->toArray();\n } else {\n $row = array();\n }\n } else {\n $row = array('column'=>$rowOriginal);\n }\n\n // inject columns\n foreach ($this->_injectedColumns as $injectedColumn=>$predecessor) {\n // sanity check\n if (!is_object($rowOriginal)) {\n break;\n }\n\n // if it's a method - call it\n if ($injectedColumn == '__key') {\n $injectedValue = $key;\n } elseif (method_exists($rowOriginal, $injectedColumn)) {\n $injectedValue = $rowOriginal->$injectedColumn();\n } else {\n try {\n $injectedValue = $rowOriginal->$injectedColumn;\n } catch (Exception $e) {\n $injectedValue = $e->getMessage();\n }\n }\n\n $this->_inject($row, $injectedColumn, $predecessor, $injectedValue);\n }\n\n $resultTRs[] = sprintf(\n \"\\t<tr class='%s' onmouseover='this.className=\\\"highlight\\\"' \" .\n \"onmouseout='this.className=\\\"%s\\\"'%s>\\n\",\n (fmod(count($resultTRs), 2) ? 'even' : 'odd'),\n (fmod(count($resultTRs), 2) ? 'even' : 'odd'),\n $this->_formatColumnStyle(false, null, $rowOriginal)\n );\n\n if (!empty($this->_columnOrder)) {\n $row = $this->_orderColumns($row);\n }\n\n $tds = array();\n foreach ($row as $title=>$value) {\n $column = $this->_column($title);\n\n // maybe we should show only some particular columns\n if (!$this->_isVisible($title)) {\n continue;\n }\n\n // convert value, if necessary\n $value = $this->_convertColumnValue($title, $value, $rowOriginal);\n\n // attach link to the TD\n if ($column->link) {\n $value = $this->_resolveLink($column->link, $value, $rowOriginal, $key);\n }\n\n // append CSS style\n $tds[$title] = sprintf(\n \"\\t\\t<td%s>%s\",\n $this->_formatColumnStyle($title, $value, $rowOriginal),\n $value\n );\n }\n\n if (count($this->_options)) {\n $optString = \"\\t\\t<td>\";\n foreach ($this->_options as $option) {\n // skip the option\n if ($option->skip) {\n if ($option->skip->call($rowOriginal, $key)) {\n continue;\n }\n }\n\n // build the <A HREF> link for this option\n $optLink = $this->_optionsSeparator .\n $this->_resolveLink($option->link, $option->title, $rowOriginal, $key);\n\n // attach this option to the particular column\n if ($option->toColumn) {\n $tds[$option->toColumn] .= ' ' . $optLink;\n } else {\n $optString .= $optLink;\n }\n }\n $options[] = $optString;\n }\n $resultTDs[] = $tds;\n }\n\n // if no data in the paginator\n if (!count($resultTDs)) {\n return $this->_noDataMessage;\n }\n\n // build the header using the last ROW information\n $header = \"\\t<tr><!-- header -->\\n\";\n foreach ($row as $title=>$value) {\n if (!$this->_isVisible($title)) {\n continue;\n }\n\n // rename the column\n if ($this->_column($title)->title) {\n $title = $this->_column($title)->title;\n }\n\n $header .= \"\\t\\t<th>{$title}</th>\\n\";\n }\n\n // add header column for OPTIONS\n if (count($this->_options)) {\n $header .= \"\\t\\t<th>\" . _t('Options') . \"</th>\\n\";\n }\n $header .= \"\\t</tr>\\n\";\n\n $html = \"\\n<table>\\n\" . $header;\n foreach ($resultTRs as $tr=>$line) {\n $html .=\n $line .\n implode(\n \"</td>\\n\",\n array_merge(\n $resultTDs[$tr],\n isset($options[$tr]) ? array($options[$tr]) : array()\n )\n ) .\n \"</td>\\n\\t</tr>\\n\";\n }\n\n return $html . \"</table>\\n\";\n }",
"public function displayGridlines() {\n\t}",
"public function table(ConfigBundle $configBundle, array $options = []): void {\n\t\t$options['id'] = $configBundle->getUniqueId();\n\t\t$tableContent = '<thead><tr>';\n\t\tforeach ($configBundle->Columns->getColumns() as $column) {\n\t\t\t$tableContent .= '<th>' . __d('data_tables', 'Loading') . '...</th>';\n\t\t}\n\t\t$tableContent .= '</tr><thead>';\n\t\t$tableContent .= '<tbody><tr><td style=\"text-align: center\" colspan=\"' . count($configBundle->Columns->getColumns()) . '\">';\n\t\t$tableContent .= __d('data_tables', 'Loading {0} data', $configBundle->getDataTables()->getAlias()) . '...';\n\t\t$tableContent .= '</td></tr></tbody>';\n\t\t$this->set(compact('configBundle', 'options', 'tableContent'));\n\t}",
"public function ListTable()\n {\n echo $this->ListTableText();\n }",
"public function tableWizard() {}",
"private function _drawTables()\n {\n foreach ($this->_tables as $table) {\n $table->tableDraw($this->showColor);\n }\n }",
"function roundtable_init() {\n\t}",
"function buildRows(&$rows ) {\n require_once 'CRM/Utils/HilreportsUtils.php';\n $this->modifyColumnHeaders( );\n $this->calculateAantalContacts();\n $this->setCustomGroupIdExtraGegevens();\n $rowNumber = 0;\n /*\n * eerste rij met totalen\n */\n $rows[$rowNumber]['label'] = \"<strong>TOTAAL:</strong>\";\n $rows[$rowNumber]['aantal'] = $this->_aantalContacts;\n $rows[$rowNumber]['percentage'] = \"100%\";\n $rowNumber++;\n $this->_aantalRijen++;\n /*\n * build rows for land van herkomst\n */\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Land van herkomst:\");\n $this->addRowsLandVanHerkomst($rows, $rowNumber);\n /*\n * build rows for economische status\n */\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Economische status\");\n $this->addRowsOptionValue($rows, $rowNumber, \"Economische status\", \"econ_status\");\n /*\n * build rows for burgerlijke staat\n */\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Burgerlijke staat\");\n $this->addRowsOptionValue($rows, $rowNumber, \"Burgerlijke staat\", \"burg_staat\");\n /*\n * build rows for ethnisch culturele achtergrond\n */\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Ethnisch/culturele achtergrond\");\n $this->addRowsOptionValue($rows, $rowNumber, \"Ethnisch/culturele achtergrond\", \"cult_ethn\");\n /*\n * build rows for nationaliteit\n */\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Nationaliteit\");\n $this->addRowsText($rows, $rowNumber, \"nationaliteit\");\n /*\n * build rows for geslacht\n */\n $this->_optionGroupId = 3;\n $this->insertEmptyLine($rowNumber, $rows);\n $this->insertHeaderLine($rowNumber, $rows, \"Geslacht:\");\n $this->addRowsOptionValue($rows, $rowNumber, \"\", \"geslacht\");\n }",
"function __setTableGUIBasicData(&$tbl,&$result_set,$a_from = \"\")\n\t{\n\t\tswitch ($a_from)\n\t\t{\n\t\t\tcase \"clipboardObject\":\n\t\t\t\t$offset = $_GET[\"offset\"];\n\t\t\t\t$order = $_GET[\"sort_by\"];\n\t\t\t\t$direction = $_GET[\"sort_order\"];\n\t\t\t\t$tbl->disable(\"footer\");\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\t$offset = $_GET[\"offset\"];\n\t\t\t\t$order = $_GET[\"sort_by\"];\n\t\t\t\t$direction = $_GET[\"sort_order\"];\n\t\t\t\tbreak;\n\t\t}\n\n\t\t$tbl->setOrderColumn($order);\n\t\t$tbl->setOrderDirection($direction);\n\t\t$tbl->setOffset($offset);\n\t\t$tbl->setLimit($_GET[\"limit\"]);\n\t\t$tbl->setFooter(\"tblfooter\",$this->lng->txt(\"previous\"),$this->lng->txt(\"next\"));\n\t\t$tbl->setData($result_set);\n\t}"
] |
[
"0.6557317",
"0.63065636",
"0.58696574",
"0.5867613",
"0.57571495",
"0.57259524",
"0.56776935",
"0.556136",
"0.553594",
"0.55151784",
"0.5474796",
"0.54726744",
"0.5446495",
"0.53950596",
"0.5342769",
"0.5317437",
"0.52154",
"0.5211871",
"0.5209558",
"0.5207586",
"0.520189",
"0.51921684",
"0.51473576",
"0.51446646",
"0.51378405",
"0.51312876",
"0.51291037",
"0.5127066",
"0.51261014",
"0.51169413"
] |
0.681544
|
1
|
objFromRow: take a row of a table containing one of this class: the row has a prefix, e.g. a_users for each column defined by this class, attempt to fetch it from row return an object, or null if nothing found
|
protected static function objFromRow($row, $prefix) {
$cols = self::getTableCols();
$new_obj = new static();
$n_imported_columns = 0;
foreach($cols as $colName => $col) {
$new_obj->$colName = $row[$prefix . '_' . $colName];
// Convert ints & floats
if ($col->type == 'int') $new_obj->$colName = (int) $new_obj->$colName;
else if ($col->type == 'float') $new_obj->$colName = (float) $new_obj->$colName;
if ($new_obj->$colName !== null)
$n_imported_columns++;
}
return ($n_imported_columns == 0) ? null : $new_obj;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function fetchFromRow($row)\n {\n $cn = $this->getClassName();\n $obj = new $cn();\n foreach ($row as $key => $value) {\n $obj->{$key} = $value;\n }\n return $obj;\n }",
"private static function object_from_table_row($record) {\n\t // Could check that $record exists and is an array\n\t // Simple, long-form approach:\n\t $class_name = get_called_class();\n\t\t$object = new $class_name;\n\t\t\n\t\tforeach($record as $attribute=>$value){\n $attr = strtolower($attribute); //specific for Oracle, where table columns are always uppercase\n\t\t if($object->has_attribute($attr)) {\n\t\t $object->$attr = $value;\n\t\t }\n\t\t}\n\t\treturn $object;\n }",
"static function createObjectFromRow($row) \n {\n $uType = 'E'.ucfirst($row['type']); // costruisce la classe da cui istanziare l'oggetto \n \n $user = new $uType();\n \n $user->setId($row['id']);\n $user->setNickName($row['nickname']);\n $user->setPassword($row['password']);\n $user->setMail($row['mail']);\n \n return $user;\n }",
"function &_fromRow(&$row) {\n\t\t$person = $this->newDataObject();\n\t\t$person->setId($row['person_id']);\n\t\t$person->setObjectId($row['object_id']);\n\t\t$person->setSequence($row['seq']);\n\t\t$person->setRole($row['role']);\n\t\t$person->setFirstName($row['first_name']);\n\t\t$person->setMiddleName($row['middle_name']);\n\t\t$person->setLastName($row['last_name']);\n\n\t\tHookRegistry::call('ObjectForReviewPersonDAO::_fromRow', array(&$person, &$row));\n\n\t\treturn $person;\n\t}",
"public static function user_from_row($row) {\r\n $result = new User(UserService::get_key($row,\"UserId\"),UserService::get_key($row,\"Email\"),UserService::get_key($row,\"UserType\"));\r\n $result->set_first_name(UserService::get_key($row,\"FirstName\"));\r\n $result->set_last_name(UserService::get_key($row,\"LastName\"));\r\n $result->set_home_phone(UserService::get_key($row,\"HomePhone\"));\r\n $result->set_mobile_phone(UserService::get_key($row,\"MobilePhone\"));\r\n $result->set_address_1(UserService::get_key($row,\"Address1\"));\r\n $result->set_address_2(UserService::get_key($row,\"Address2\"));\r\n $result->set_city(UserService::get_key($row,\"City\"));\r\n $result->set_state(UserService::get_key($row,\"State\"));\r\n $result->set_zip(UserService::get_key($row,\"ZipCode\"));\r\n $result->set_organization_id(UserService::get_key($row,\"OrganizationId\"));\r\n return $result;\r\n }",
"protected function createObjectFromRow($row) {\n return new User($row);\n }",
"public function mapRow($row)\n {\n $object = new IntercomUser();\n $object->setId ( $row['id'] );\n $object->setIntercomAppId ( $row['intercom_app_id'] );\n $object->setItemId ( $row['item_id'] );\n $object->setItemUserId ( $row['item_user_id'] );\n $object->setEmail ( $row['email'] );\n $object->setOriginContent ( unserialize($row['origin_content']) );\n $object->setProperties ( unserialize($row['properties']) );\n $object->setCreatedAt ( strtotime($row['created_at']) );\n $object->setUpdatedAt ( strtotime($row['updated_at']) );\n return $object;\n }",
"private function findExistingObjectByRow(\\PHPExcel_Worksheet_Row $row) {\n\t\t$query = $this->getDomainRepository()->createQuery();\n\t\t$constraints = array();\n\t\t$mappingIdentifierProperties = $this->getMappingIdentifierProperties();\n\t\tforeach ($mappingIdentifierProperties as $property => $columnMapping) {\n\t\t\t$column = $columnMapping['column'];\n\t\t\t/** @var Mapping $mapping */\n\t\t\t$mapping = $columnMapping['mapping'];\n\t\t\t$propertyName = $mapping->queryPropertyName ?: $property;\n\t\t\t/** @var \\PHPExcel_Worksheet_RowCellIterator $cellIterator */\n\t\t\t$cellIterator = $row->getCellIterator($column, $column);\n\t\t\t$value = $cellIterator->current()->getValue();\n\t\t\t$constraints[] = $query->equals($propertyName, $value);\n\t\t}\n\t\t$argumentIdentifierProperties = $this->getArgumentIdentifierProperties();\n\t\t$contextArguments = $this->settings[$this->spreadsheetImport->getContext()]['arguments'];\n\t\tforeach ($argumentIdentifierProperties as $property => $value) {\n\t\t\t$key = array_search($property, array_column($contextArguments, 'name'));\n\t\t\tif ($key !== FALSE && array_key_exists('queryPropertyName', $contextArguments[$key])) {\n\t\t\t\t$property = $contextArguments[$key]['queryPropertyName'];\n\t\t\t}\n\t\t\t$constraints[] = $query->equals($property, $value);\n\t\t}\n\t\tif (!empty($constraints)) {\n\t\t\treturn $query->matching($query->logicalAnd($constraints))->execute()->getFirst();\n\t\t} else {\n\t\t\treturn NULL;\n\t\t}\n\t}",
"public abstract function getObjectName(object $oRow):string;",
"public abstract function getObjectMemberName(object $oRow):string;",
"protected function buildDomainObject($row)\n {\n $user = new User();\n $user->setId($row['rowid']);\n $user->setUsername($row['username']);\n $user->setFirstname($row['firstname']);\n $user->setEmail($row['email']);\n $user->setBusiness($row['business']);\n $user->setPassword($row['password']);\n $user->setSalt($row['salt']);\n $user->setRole($row['role']);\n return $user;\n }",
"public function readFromRow( $row );",
"function &_fromRow(&$row) {\n\t\t$reviewObjectMetadata = $this->newDataObject();\n\t\t$reviewObjectMetadata->setId($row['metadata_id']);\n\t\t$reviewObjectMetadata->setReviewObjectTypeId($row['review_object_type_id']);\n\t\t$reviewObjectMetadata->setSequence($row['seq']);\n\t\t$reviewObjectMetadata->setMetadataType($row['metadata_type']);\n\t\t$reviewObjectMetadata->setRequired($row['required']);\n\t\t$reviewObjectMetadata->setDisplay($row['display']);\n\t\t$reviewObjectMetadata->setKey($row['metadata_key']);\n\n\t\t$this->getDataObjectSettings('review_object_metadata_settings', 'metadata_id', $row['metadata_id'], $reviewObjectMetadata);\n\n\t\tHookRegistry::call('ReviewObjectMetadataDAO::_fromRow', array(&$reviewObjectMetadata, &$row));\n\n\t\treturn $reviewObjectMetadata;\n\t}",
"protected static function buildFromRow($row) {\n $class = get_called_class();\n $record = new $class();\n $record->id = array_cut($row, 'id');\n\n foreach ($row as $key => $val) {\n $record->$key = $val;\n }\n\n return $record;\n }",
"protected function _getDataFromFow($row)\n {\n if ($row instanceof Model\\Object) {\n return $row->getData();\n }\n\n return $row;\n }",
"public static function createFromDbRow($row) {\r\n $obj = self::_instantiateThisObject();\r\n $obj->copyFromDbRow($row);\r\n return $obj;\r\n }",
"protected function _rowToEntity($row) {\r\n \t$id = $row->{$this->_getPrimary()};\r\n \t\r\n \tif($this->_hasIdentity($id)) {\r\n \t\t$entity = $this->_getIdentity($id);\r\n \t}\r\n \telse {\r\n \t\t$entity = $this->create();\r\n \t\r\n\t\t\tforeach($entity->getAttributes() as $name) {\r\n\t\t\t\tif($this->_isReference($name)) {\r\n\t\t\t\t\t$refId = $row->{$this->_getReferenceField($name)};\r\n\t \t\t\tif($this->_referenceMap[$name]['earlyLoad']) {\r\n\t \t\t\t\t$entity->{$name} = $this->getReferenceEntity($name, $refId);\r\n\t \t\t\t}\r\n\t \t\t\t// Register the id on the entity for lazy load\r\n\t \t\t\telse {\r\n\t \t\t\t\t$entity->addLazyReference($name, $refId);\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t \t\telseif($this->_isDependence($name)) {\r\n\t \t\t\tif($this->_dependenciesMap[$name]['earlyLoad']) {\r\n\t \t\t\t\t$entity->{$name} = $this->getDependentEntities($name, $id);\r\n\t \t\t\t}\r\n\t \t\t\telse {\r\n\t \t\t\t\t$entity->addLazyDependencies($name);\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t \t\telse {\r\n\t \t\t\t$entity->{$name} = $row->{$name};\r\n\t \t\t}\r\n\t \t}\r\n\t \t$this->_setIdentity($id, $entity);\r\n \t}\r\n \t\r\n \treturn $entity;\r\n }",
"protected abstract function retrieveNonBaseFields(Row $row);",
"public static function loadDbRow($row, $withOldVals=false) {\n $obj = new static($row);\n if ($withOldVals) {\n $obj->_oldVals = new \\stdClass();\n foreach (static::getPublicProps() as $k=>$v) $obj->_oldVals->$k = $row->$k;\n }\n// //Dianggap sudah pasti json string. Harus dikonversi ke object/array.\n foreach (static::jsonColumns() as $col) { //UNTESTED\n if (!isset($obj->$col)) continue;\n if ($withOldVals) $obj->_oldVals->$col = json_decode($row->$col);\n $obj->$col = json_decode($row->$col);\n }\n return $obj;\n }",
"protected function buildDomainObject($row) {\n $user = new User();\n $user->setId($row['user_id']);\n $user->setEmail($row['user_email']);\n $user->setLastname($row['user_lastname']);\n $user->setFirstname($row['user_firstname']);\n $user->setPassword($row['user_password']);\n $user->setSalt($row['user_salt']);\n $user->setAddress($row['user_address']);\n $user->setTown($row['user_town']);\n $user->setZipcode($row['user_zipcode']);\n $user->setRole($row['user_role']);\n return $user;\n }",
"function sql_fetch_field($res,$offset = 0)\n {\n $results = array();\n $obj = NULL;\n $results = $res->getColumnMeta($offset);\n foreach($results as $key=>$value) {\n $obj->$key = $value;\n }\n return $obj;\n }",
"public function copyFromDbRow($row) {\r\n $map = static::getDbMap();\r\n if ($map && (is_object($row) || is_array($row))) {\r\n\r\n $row = (object) $row;\r\n $primaryKey = $map[static::getDbPrimaryKey()];\r\n\r\n foreach($map as $property => $column) {\r\n if (property_exists($row, $column) && property_exists($this, $property)) {\r\n $this->$property = $row->$column;\r\n if ($column === $primaryKey) {\r\n $this->$property = (int) $this->$property;\r\n }\r\n }\r\n }\r\n }\r\n }",
"abstract protected function getRow($row);",
"public function fromArray($row) {\n $this->_preload();\n\n // clear out saved data\n $this->_magicProperties = array();\n\n // clear out cached relations\n $this->_related = array();\n\n\n $this->loaded= false;\n if (is_array($row) || is_object($row)) {\n foreach($row as $k => $v) {\n $this->$k = $v;\n }\n $this->loaded = true;\n }\n $this->_postload($this->loaded);\n return $this->loaded;\n }",
"protected function transformRow($row){\n\n // if nothing to do\n if($row===null || is_scalar($row)){\n return $row;\n }\n\n foreach($this->connections as $data){\n // get self value\n $self = $row->{$data->getSelfKey()};\n\n $class = $data->getClassName();\n\n // if data isset - inject into key\n if(isset($this->relatedData[$class][$self])){\n $row->{$class} = $this->relatedData[$class][$self];\n // or inject empty value\n }else{\n $row->{$class} = [];\n }\n }\n\n return $row;\n }",
"function getEverythingFromDatabase($row) {\r\n\t\t//initilizing variables from row data\r\n\t\t$this->id = $row['id'];\r\n\t\t$this->email = $row['email'];\r\n\t\t$this->phone_number = $row['phoneNumber'];\r\n\t\t$this->name = $row['eventName'];\r\n\t\t$this->event_date_time = $row['eventDateTime'];\r\n\t\t$this->reminder_date_time = $row['reminderDateTime'];\r\n\t\t$this->notif_method = $row['method'];\r\n\t\t$this->time_before = $row['timeBefore'];\r\n\t\t$this->freq = $row['frequency'];\r\n\t}",
"function load_from_row ($row) {\n $this->id = $row['content_id'];\n $this->path = $row['content_path'];\n $this->user_id = $row['user_id'];\n $this->perso_id = $row['perso_id'];\n $this->title = $row['content_title'];\n }",
"protected function row($row)\n { \n return DB::table($this->table)\n ->where('personal_access_client', 0)\n ->first()\n ->$row;\n }",
"public static function LoadWithData($row)\n \t{\n \t\treturn new Users_model(\n \t\t\t$row->user_signup_id,\n \t\t\t$row->email,\n \t\t\t$row->name,\n \t\t\t$row->school,\n \t\t\t$row->city,\n \t\t\t$row->exam\n \t\t);\n \t}",
"private function __construct(array $row)\n {\n /** @var Model $modelClass */\n $modelClass = self::getClass();\n $lowercaseModelName = strtolower(self::getClassName());\n\n $modelScheme = $modelClass::getScheme();\n\n foreach ($modelScheme->getFieldColumnMap() as $fieldName => $columnName) {\n $this->_row[$fieldName] = null;\n\n if (empty($row)) {\n continue;\n }\n\n if (array_key_exists($fieldName, $row)) {\n $this->set($fieldName, $row[$fieldName]);\n unset($row[$fieldName]);\n continue;\n }\n\n $length = strlen($lowercaseModelName);\n if (strpos($fieldName, $lowercaseModelName) === 0) {\n $field = '/' . substr($fieldName, $length + 1);\n if (array_key_exists($field, $row)) {\n $this->set($fieldName, $row[$field]);\n unset($row[$field]);\n continue;\n }\n }\n\n foreach (['__json', '__fk', '_geo'] as $ext) {\n $field = strstr($fieldName, $ext, true);\n if ($field !== false && array_key_exists($field, $row)) {\n $this->set($field, $row[$field]);\n unset($row[$field]);\n\n continue 2;\n }\n }\n }\n\n $this->_data = $row;\n }"
] |
[
"0.69196653",
"0.68923205",
"0.67121047",
"0.65581226",
"0.6422376",
"0.6417416",
"0.638353",
"0.63501275",
"0.63031626",
"0.62312466",
"0.61565083",
"0.6079694",
"0.58934987",
"0.5879905",
"0.5878337",
"0.584864",
"0.58291364",
"0.58108944",
"0.5810213",
"0.5801538",
"0.5782067",
"0.57701105",
"0.57592016",
"0.5756301",
"0.57485956",
"0.57226807",
"0.5721533",
"0.56971306",
"0.5696405",
"0.5670782"
] |
0.7347613
|
0
|
Fetch: fetch rows from the table, using the given conditions & joins returns: false on db error a nested array of object(s) on success
|
static function fetch($conditions = [ ], $joins = [ ], $debug = false) {
self::$bind_params = [ ];
$table = self::getTableName();
$cols = &self::getTableCols();
if ((is_array($conditions) && count($conditions) == 0) ||
(!is_array($conditions) && !($conditions instanceof Condition))) {
$res = new TMResult(TMResult::InvalidConditions);
return $res;
}
$errors = self::validateConditions($conditions);
if (count($errors)) {
$res = new TMResult(TMResult::InvalidConditions);
$res->errors = $errors;
return $res;
}
foreach($cols as $colname => $col) {
$s = $col->type == 'timestamp' ? "unix_timestamp(a.$colname)" : "a.$colname";
$q []= "$s as a_{$colname}";
}
$query_select_columns = [ implode(', ', $q) ];
$query_from_tables = [ ];
$query_joins = [ ];
$i = 0;
$add_join = function(&$join, &$parent = null) use (&$i, &$query_select_columns, &$query_joins, &$add_join) {
$join->prefix = $prefix = chr(98 + $i++);
$join->parent = $parent;
$join->stalled = false;
$parent_prefix = ($parent ? $parent->prefix : 'a');
$cla = $join->class;
$jtable = $cla::getTableName();
$cols = $cla::getTableCols();
$q = [ ];
foreach ($cols as $colname => $col) {
$s = ($col->type == 'timestamp' ? "unix_timestamp($prefix.$colname)" : "$prefix.$colname");
$q []= "$s as {$prefix}_{$colname}";
}
$query_select_columns []= implode(', ', $q);
$join_conditions = [ ];
foreach ($join->cols as $k => $v) {
if (is_string($k)) $join_conditions []= "$parent_prefix.$k = $prefix.$v";
else $join_conditions []= "$parent_prefix.$v = $prefix.$v";
}
$query_joins []= "left join $jtable as $prefix on " . implode(' and ', $join_conditions);
foreach($join->joins as $k => &$j) {
if (!($j instanceof Join)) unset($join->joins[$k]);
else $add_join($j, $join);
}
};
if (!is_array($joins)) $joins = [ $joins ];
foreach ($joins as $k => &$j) {
if (!($j instanceof Join)) unset($joins[$k]);
else $add_join($j);
}
$query_select_columns = implode(', ', $query_select_columns);
$query_joins = implode(' ', $query_joins);
$cond = self::getCondStr_AndAddBindParams($conditions, 'a');
$q = "select $query_select_columns from $table as a $query_joins $cond";
if ($debug) var_dump($q);
$st = self::$pdo->prepare($q);
self::bindBindParams($st);
$r = $st->execute();
if ($r === false) {
$res = new TMResult(TMResult::InternalError);
$res->errors = $st->errorInfo();
return $res;
}
$base_objs = [ ];
$increments_from_stalled_joins = [ ];
$destall = function(&$join) use (&$increments_from_stalled_joins, &$destall) {
foreach($join->joins as &$_j)
$destall($_j);
$join->stalled = false;
unset($increments_from_stalled_joins[$join->prefix]);
};
$recursively_add_row = function(&$j, &$parent_obj) use (&$row, &$increments_from_stalled_joins, &$destall, &$recursively_add_row) {
if ($j->stalled) return;
$cla = $j->class;
$table = $cla::getTableName();
$prefix = $j->prefix;
$cols = $cla::getTableCols();
$col_keys = array_keys($cols);
$id_column = array_shift($col_keys);
if ($row["{$prefix}_$id_column"] == null) {
$j->stalled = true;
return;
}
if (isset($parent_obj->$table)) $n = count($parent_array = $parent_obj->$table);
else $n = 0;
// Check for cyclic repetition
if ($n > 1 and !$parent_array[0]->wouldDifferFromRow($row, $prefix)) {
$j->stalled = true;
$increments_from_stalled_joins[$prefix] = $n;
return;
}
// If new, add, destall descendants, & recurse
if (!$n or $parent_array[$n - 1]->wouldDifferFromRow($row, $prefix)) {
$obj = $cla::objFromRow($row, $prefix);
if (!$obj) ; // Bad
$parent_obj->appendToArray($table, $obj);
foreach ($j->joins as &$_j) $destall($_j);
foreach ($j->joins as &$_j) $recursively_add_row($_j, $obj);
}
};
$row = $st->fetch(PDO::FETCH_ASSOC);
while ($row) {
$n = count($base_objs);
if (!$n or $base_objs[$n - 1]->wouldDifferFromRow($row, 'a')) {
if (!$obj = self::objFromRow($row, 'a'))
break;
$base_objs []= &$obj;
foreach ($joins as &$_j) $destall($_j);
}
else
$obj = &$base_objs[$n - 1];
foreach($joins as &$_j)
$recursively_add_row($_j, $obj);
$inc = 1;
foreach($increments_from_stalled_joins as $x) $inc *= $x;
for ($i=0; $i < $inc; $i++)
$row = $st->fetch(PDO::FETCH_ASSOC);
unset($obj);
}
$res = new TMResult(TMResult::Success);
$res->result = &$base_objs;
return $res;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function fetchAll()\n {\n //*** your code goes here\n //*** if there is an error, return an array which includes an error code of 2 and message == ERROR_UNABLE\n $listing = $this->table->select();\n if ($listing) {\n $data = [];\n $hydrator = $this->table->getResultSetPrototype()->getHydrator();\n foreach ($listing as $entity) $data[] = $hydrator->extract($entity);\n $result = ['success' => 1, 'data' => $data];\n } else {\n $result = ['success' => 0, 'error' => 1, 'message' => self::ERROR_UNABLE];\n }\n return $result;\n }",
"public function getRows($table,$conditions = array()){\r\n $sql = 'SELECT ';\r\n $sql .= array_key_exists(\"select\",$conditions)?$conditions['select']:'*';\r\n $sql .= ' FROM '.$table;\r\n if(array_key_exists(\"where\",$conditions)){\r\n $sql .= ' WHERE ';\r\n $i = 0;\r\n foreach($conditions['where'] as $key => $value){\r\n $pre = ($i > 0)?' AND ':'';\r\n $sql .= $pre.$key.\" = '\".$value.\"'\";\r\n $i++;\r\n }\r\n }\r\n\r\n if(array_key_exists(\"order_by\",$conditions)){\r\n $sql .= ' ORDER BY '.$conditions['order_by'];\r\n }\r\n\r\n if(array_key_exists(\"join\",$conditions)){\r\n $sql .= ' JOIN ';\r\n $i = 0;\r\n foreach($conditions['join'] as $key => $value){\r\n $pre = ($i > 0)?' AND ':'';\r\n $sql .= $pre.$key.\" = '\".$value.\"'\";\r\n $i++;\r\n }\r\n }\r\n\r\n if(array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\r\n $sql .= ' LIMIT '.$conditions['start'].','.$conditions['limit'];\r\n }elseif(!array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\r\n $sql .= ' LIMIT '.$conditions['limit'];\r\n }\r\n\r\n $query = $this->db->prepare($sql);\r\n $query->execute();\r\n\r\n if(array_key_exists(\"return_type\",$conditions) && $conditions['return_type'] != 'all'){\r\n switch($conditions['return_type']){\r\n case 'count':\r\n $data = $query->rowCount();\r\n break;\r\n case 'single':\r\n $data = $query->fetch(PDO::FETCH_ASSOC);\r\n break;\r\n default:\r\n $data = '';\r\n }\r\n }else{\r\n if($query->rowCount() > 0){\r\n $data = $query->fetchAll();\r\n }\r\n }\r\n return !empty($data)?$data:false;\r\n }",
"public function fetch($conditions = array(),$options=array()) {\n\t\tif(is_numeric($conditions)) { $conditions = array('id' => $conditions); }\n\t\t$conditions = $this->prepare($conditions);\n\t\treturn $this->load($conditions,$options);\n\t}",
"public function fetch( )\n {\n\n if ( $this->db_query_result )\n {\n $this->db_current_object = @ mysql_fetch_object( $this->db_query_result );\n if(!$this->db_current_object)\n return false;\n\n $l_fields_names = $this->table_fields_names[$this->table_name];\n\n if($l_fields_names)\n {\n foreach ($l_fields_names as $field_index => $field_name)\n {\n if(@isset($this->db_current_object->$field_name))\n {\n if(@array_key_exists($field_name,$this->out_filters[$this->table_name]))\n $this->db_current_object->$field_name = $this->applyOutFilter($field_name);\n }\n }\n return true;\n }\n else\n return true;\n }\n else\n return false;\n\n }",
"public abstract function FetchRow();",
"abstract public function FetchRow();",
"public function query_and_fetch($sql=\"\") \n {\n $results = $this->query($sql);\n $rows = array(); \n while ($row = $this->fetch_array($results))\n { \n $rows[] = $row; \n }\n return ($rows) ? $rows : false;\n }",
"public function fetch($table, $fields = \"*\", $params = [], $joins = [])\n {\n if (is_array($params[':limit'])) {\n $params[':limit'][1] = 1;\n }\n else {\n $params[':limit'] = 1;\n }\n\n $data = $this->fetchAll($table, $fields, $params, $joins);\n if (count($data) > 0) {\n return $data[0];\n }\n\n return false;\n }",
"public function fetchRow();",
"public function getDataByJoin($conditions = array(), $params=array(), $columns = \"*\", $joinTable = array() ,$isGetTotal=false,$orderBy = array()) {\n \tif ( is_array($columns) ) {\n $columns = implode(\",\", $columns);\n }\n $columns = rtrim($columns,',');\n\n $excelSchemeDataObj = ExcelSchemeData::getInstance();\n $sortTableNames = $excelSchemeDataObj->getSortTableNames();\n $dbkey = $this->getDbKey();\n $env = new Env();\n $dbName = $env->getDbNameByDbKey($dbkey);\n\n $selectObj = Yii::app()->$dbkey->createCommand()\n\t\t\t->select($columns)\n\t\t\t->from($dbName.'.'.$this->tableName());\n \n if (!empty($joinTable)) {\n\t foreach ($joinTable as $key=>$joinMap){\n\t \tforeach ($joinMap as $table=>$map){\n\t \t\t$selectObj->leftjoin($table,$map);\n\t \t}\n\t }\n }\n \n $conditionCount = $boxCount = 0;\n foreach ($sortTableNames as $tableName) {\n \tforeach ($_POST['is_condition'][$tableName] as $val) {\n \t\tif ($val != '') {\n \t\t\t$conditionCount++;\n \t\t}\n \t}\n \tforeach ($_POST['is_checkbox'][$tableName] as $val) {\n \t\tif ($val != '') {\n \t\t\t$boxCount++;\n \t\t}\n \t}\n }\n \n if ( empty($conditions) || $boxCount > 0 || $conditionCount>0 ) {//使用了搜索则初始条件失效\n \t$conditions = ' 1 ';\n }\n $groupBy = $having = $orderBy = '';\n \n// foreach($sortTableNames as $tableName){\n// \tif($_POST['is_checkbox']){\n// \t \tif ($_POST['is_checkbox'][$tableName]) {\n// \t \t\t$conditions .= ' and ( ';\n// \t \t\tforeach ($_POST['is_checkbox'][$tableName] as $key=>$val){\n// \t \t\t\tif (is_array($val)){\n// \t \t\t\t\tforeach ($val as $k=>$v){\n// \t \t\t\t\t\t$conditions .= \" $tableName.$key = '\".$v.\"' or\";\n// \t \t\t\t\t}\n// \t \t\t\t}\n// \t \t\t}\n// \t \t\t$conditions = rtrim($conditions,'or');\n// \t \t\t$conditions .= ' ) ';\n// \t \t}\n// \t}\n// }\n \n foreach($sortTableNames as $tableName){\n \t\n \tif($_POST['is_checkbox']){\n \t\tif ($_POST['is_checkbox'][$tableName]) {\n \t\t\t$conditions .= ' AND ( ';\n \t\t\tforeach ($_POST['is_checkbox'][$tableName] as $key=>$val){\n \t\t\t\tif (is_array($val)){\n \t\t\t\t\tforeach ($val as $k=>$v){\n \t\t\t\t\t\t$conditions .= \" $tableName.$key = '\".$v.\"' OR\";\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t\t$conditions = rtrim($conditions,'OR');\n \t\t\t$conditions .= ' ) ';\n \t\t}\n \t}\n \t\n \tif ($_POST['is_condition'][$tableName]) {\n \t\tforeach ($_POST['is_condition'][$tableName] as $key=>$val){\n \t\t\tif (is_array($val)){\n \t\t\t\tif(!empty($val[0])){\n \t\t\t\t\tif (isset($val[2]))\n \t\t\t\t\t\t$conditions .= \" AND $tableName.$key >= '\".$val[0].\"'\";\n \t\t\t\t\telse \n \t\t\t\t\t\t$conditions .= \" AND $tableName.$key >= $val[0]\";\n \t\t\t\t}\n \t\t\t\tif(!empty($val[1])){\n \t\t\t\t\tif (isset($val[2]))\n \t\t\t\t\t\t$conditions .= \" AND $tableName.$key <= '\".$val[1].\"'\";\n \t\t\t\t\telse \n \t\t\t\t\t\t$conditions .= \" AND $tableName.$key <= $val[1]\";\n \t\t\t\t}\n \t\t\t}else{\n \t\t\t\tif ($val != ''){\n\t \t\t\t\t//$params[$key] = $val;\n\t \t\t\t\t$conditions .= \" AND $tableName.$key = '\".$val.\"'\";\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n\n \tif ($_POST['is_group'][$tableName]) {\n \t\tforeach ($_POST['is_group'][$tableName] as $key=>$val){\n \t\t\tif(!is_array($val)){\n \t\t\t\t$groupBy .= \"$tableName.$val,\";\n \t\t\t}else{\n \t\t\t\tforeach($val as $timeType=>$timeTypeValue){\n \t\t\t\t\tif (!isset($val[0])) {\n \t\t\t\t\t\tcontinue;\n \t\t\t\t\t}\n \t\t\t\t\tif ($timeType ==='day_type'){\n \t\t\t\t\t\t$format = MHelper::getDateFormat($timeTypeValue);\n \t\t\t\t\t\t$groupBy .= \"DATE_FORMAT($tableName.$key,'\".$format.\"'),\";\n \t\t\t\t\t\t$orderBy .= \"DATE_FORMAT($tableName.$key,'\".$format.\"'),\";\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n \t\n }\n //var_dump($conditions);\n\n if ($_POST['is_having']) {\n \tforeach ($_POST['is_having'] as $table_name=>$column_name){\n \t\tforeach ($column_name as $key=>$val){\n \t\t\tif ( !empty($val['name_key']) && !empty($val['symbol']) && !empty($val['symbol_value']) ){\n \t\t\t\tif (empty($having)) {\n \t\t\t\t\t$having .= $val['name_key'].$val['symbol'].$val['symbol_value'];\n \t\t\t\t}else{\n \t\t\t\t\t$having .= ' and '.$val['name_key'].$val['symbol'].$val['symbol_value'];\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n }\n \n //获取搜索条件\n $selectObj->where($conditions, $params);\n $groupBy = rtrim($groupBy,',');\n $groupBy = trim($groupBy);\n\n if (!empty($groupBy)) {\n \t$selectObj->group($groupBy);\n \t$having = rtrim($having,',');\n \t$having = trim($having);\n \tif (!empty($having)) {\n\t \t$selectObj->having($having);\n \t}\n }\n $orderBy = rtrim($orderBy,',');\n $orderBy = trim($orderBy);\n if (! empty($orderBy) ) {\n \t$selectObj->order($orderBy);\n }\n \n if(!$isGetTotal){\n\t $currentPage = $_POST['pageNum'] ? $_POST['pageNum']-1 :0;\n\t $numPerPage = $_POST['numPerPage'] ? $_POST['numPerPage'] : 100;//report 100 rows\n\t $selectObj->limit($numPerPage,$currentPage*$numPerPage);\n }else {\n \t$selectObj->limit(10000);//test\n }\n\t\t//echo $selectObj->text;\n\n if ( strpos($columns, \",\") === false && \n strpos($columns, \"*\") === false ) {\n $result = $selectObj->queryColumn();\n } else {\n $result = $selectObj->queryAll();\n }\n //return !$isGetTotal ? $result : count($result);\n return $result;\n }",
"public static function fetch($param_map) {\n // Cache table name \n $table_name = static::getTableName();\n \n // Generate db query\n $query_str = self::genFetchByParamsQuery($param_map);\n\n // Initialize cache, if necessary\n if (!isset(self::$fetchRecordPreparedStatementsCacheTable)) {\n self::$fetchRecordPreparedStatementsCacheTable = array();\n }\n \n if (!isset(self::$fetchRecordPreparedStatementsCacheTable[$table_name])) {\n self::$fetchRecordPreparedStatementsCacheTable[$table_name] = array();\n }\n\n // Cache fetch record\n $fetch_record_cache = self::$fetchRecordPreparedStatementsCacheTable[$table_name];\n\n // Initiate implicit transaction, if necessary\n $is_implicit_tx = false;\n if (self::$numTransactions == 0) {\n $is_implicit_tx = true;\n self::beginTx();\n }\n \n // Fail due to invalid database connection\n assert(isset(self::$databaseHandle));\n\n try {\n // Create prepared statement, if nonextant\n if (!isset($fetch_record_cache[$query_str])) {\n $fetch_record_cache[$query_str] = self::$databaseHandle->prepare($query_str);\n }\n\n // Fetch record\n $parent_db_field_map = static::genParentDbFieldTableTemplate();\n $child_db_field_map = static::genChildDbFieldTableTemplate(); \n $db_field_map = array_merge($parent_db_field_map, $child_db_field_map);\n \n $fetch_stmt = $fetch_record_cache[$query_str];\n foreach ($param_map as $p_name => $p_value) {\n // Fail due to invalid field name\n assert(isset($db_field_map[$p_name]));\n\n // Bind value to field in prepared statement\n $key_for_prepared_statement = self::transformForPreparedStatement($p_name); \n $fetch_stmt->bindValue(\n $key_for_prepared_statement,\n $p_value,\n $db_field_map[$p_name]->getDataType()\n );\n }\n $fetch_stmt->execute();\n $raw_record_set = $fetch_stmt->fetchAllRows();\n\n // Close implicit tx\n if ($is_implicit_tx) {\n self::endTx();\n }\n\n // Extrude raw records to objects\n foreach ($raw_record_set as $raw_record) {\n $record_objects[] = new static($raw_record); \n }\n return $record_objects;\n } catch (PDOException $e) {\n self::$databaseHandle->rollback();\n die(\"\\nERROR: \" . $e->getMessage() . \"\\n\");\n } \n }",
"public function fetchRows( $type = FETCH_OBJ );",
"public abstract function fetchAll();",
"public abstract function fetchRow($result_set);",
"abstract protected function doFetchAll();",
"abstract protected function fetchRowAssocDb();",
"public function GetRows($table,$conditions = array()){\n\t\t$sql = 'SELECT ';\n\t\t$sql .= array_key_exists(\"select\",$conditions)?$conditions['select']:'*';\n\t\t$sql .= ' FROM '.$table;\n\t\tif(array_key_exists(\"where\",$conditions)){\n\t\t\t$sql .= ' WHERE ';\n\t\t\t$i = 0;\n\t\t\tforeach($conditions['where'] as $key => $value){\n\t\t\t\t$pre = ($i > 0)?' AND ':'';\n\t\t\t\t$sql .= $pre.$key.\" = '\".$value.\"'\";\n\t\t\t\t$i++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(array_key_exists(\"order_by\",$conditions)){\n\t\t\t$sql .= ' ORDER BY '.$conditions['order_by']; \n\t\t}\n\t\t\n\t\tif(array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n\t\t\t$sql .= ' LIMIT '.$conditions['start'].','.$conditions['limit']; \n\t\t}elseif(!array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n\t\t\t$sql .= ' LIMIT '.$conditions['limit']; \n\t\t}\n\t\t\n\t\t$query = $this->db->prepare($sql);\n\t\t$query->execute();\n\t\t\n\t\tif(array_key_exists(\"return_type\",$conditions) && $conditions['return_type'] != 'all'){\n\t\t\tswitch($conditions['return_type']){\n\t\t\t\tcase 'count':\n\t\t\t\t\t$data = $query->rowCount();\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'single':\n\t\t\t\t\t$data = $query->fetch(PDO::FETCH_ASSOC);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t$data = '';\n\t\t\t}\n\t\t}else{\n\t\t\tif($query->rowCount() > 0){\n\t\t\t\t$data = $query->fetchAll();\n\t\t\t}\n\t\t}\n\t\treturn !empty($data)?$data:false;\n\t}",
"public function getRows($table,$conditions = array()){\n $sql = 'SELECT ';\n $sql .= array_key_exists(\"select\",$conditions)?$conditions['select']:'*';\n $sql .= ' FROM '.$table;\n if(array_key_exists(\"where\",$conditions)){\n $sql .= ' WHERE ';\n $i = 0;\n foreach($conditions['where'] as $key => $value){\n $pre = ($i > 0)?' AND ':'';\n $sql .= $pre.$key.\" = '\".$value.\"'\";\n $i++;\n }\n }\n \n if(array_key_exists(\"order_by\",$conditions)){\n $sql .= ' ORDER BY '.$conditions['order_by']; \n }\n \n if(array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n $sql .= ' LIMIT '.$conditions['start'].','.$conditions['limit']; \n }elseif(!array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n $sql .= ' LIMIT '.$conditions['limit']; \n }\n \n $result = $this->db->query($sql);\n \n if(array_key_exists(\"return_type\",$conditions) && $conditions['return_type'] != 'all'){\n switch($conditions['return_type']){\n case 'count':\n $data = $result->num_rows;\n break;\n case 'single':\n $data = $result->fetch_assoc();\n break;\n default:\n $data = '';\n }\n }else{\n if($result->num_rows > 0){\n while($row = $result->fetch_assoc()){\n $data[] = $row;\n }\n }\n }\n return !empty($data)?$data:false;\n }",
"public function getRows($table,$conditions = array()){\n $sql = 'SELECT ';\n $sql .= array_key_exists(\"select\",$conditions)?$conditions['select']:'*';\n $sql .= ' FROM '.$table;\n if(array_key_exists(\"where\",$conditions)){\n $sql .= ' WHERE ';\n $i = 0;\n foreach($conditions['where'] as $key => $value){\n $pre = ($i > 0)?' AND ':'';\n $sql .= $pre.$key.\" = '\".$value.\"'\";\n $i++;\n }\n }\n \n if(array_key_exists(\"order_by\",$conditions)){\n $sql .= ' ORDER BY '.$conditions['order_by']; \n }\n \n if(array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n $sql .= ' LIMIT '.$conditions['start'].','.$conditions['limit']; \n }elseif(!array_key_exists(\"start\",$conditions) && array_key_exists(\"limit\",$conditions)){\n $sql .= ' LIMIT '.$conditions['limit']; \n }\n \n $result = $this->db->query($sql);\n \n if(array_key_exists(\"return_type\",$conditions) && $conditions['return_type'] != 'all'){\n switch($conditions['return_type']){\n case 'count':\n $data = $result->num_rows;\n break;\n case 'single':\n $data = $result->fetch_assoc();\n break;\n default:\n $data = '';\n }\n }else{\n if($result->num_rows > 0){\n while($row = $result->fetch_assoc()){\n $data[] = $row;\n }\n }\n }\n return !empty($data)?$data:false;\n }",
"public function fetchAllWithJoin($where='3>1 ',$startrow=0,$pagesize=10)\n\t{\n\t\t\n\t\t$sql=\"select c.*, u.nomUser,u.prenomUser,u.mailUser \";\n\t\t$sql.=\"from (select * from commentaires where idCommentaire not in (SELECT c.idCommentaire as idCommentaire\n FROM commentaires c , manipulercommentaire m \n WHERE c.idCommentaire=m.idCommentaire and m.idTypeManipulation =3)) c, users u \";\n\t\t$sql.=\"where c.idUser=u.idUser \";\n\t\t$sql.=\"and \".$where;\n\t\t$sql.=\" order by c.idCommentaire desc \";\n\t\t$sql.=\"limit {$startrow},{$pagesize}\";\n\t\t\n\t\treturn $this->pdo->fetchAll($sql);\n\t}",
"function fetch($table, $campos=\"*\", $where=\"\", $order=\"\", $tipo=\"\", $limite=\"\"){\n\n\t\t$sql = \"SELECT DISTINCT \";\n\n\t\tif(is_array($campos)){\n\n\t\t\tforeach ($campos as $value){\n\t\t\t\t$sql .= \"'$value' ,\";\n\t\t\t}\n\n\t\t\t$strCut = strlen($sql) -1;\n\t\t\t$sql = substr($sql,0,$strCut);\n\n\t\t}else{\n\n\t\t\t$sql .= \" $campos \";\n\n\t\t}\n\n\t\tif ( strstr($table, \"|\") ) {\n\n\t\t\t$fromTable = substr($table,0,strpos($table,\"|\"));\n\n\t\t\t$leftJoin = substr($table,strpos($table,\"|\"),strlen($table));\n\n\t\t\t$leftJoin = explode(\"|\",$leftJoin);\n\n\t\t\t$sql .= \" FROM \".$fromTable;\n\n\t\t\tforeach ($leftJoin as $ex){\n\n\t\t\t\t$leftEx = explode(\">\", $ex );\n\n\t\t\t\t@list($left_table, $on_condition) = $leftEx;\n\n\t\t\t\tif(!empty($left_table)){\n\t\t\t\t\t$sql .= \" LEFT JOIN \" . $left_table;\n\t\t\t\t}\n\t\t\t\tif(!empty($on_condition)){\n\t\t\t\t\t$sql .= \" ON \" . $on_condition;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\t\t}else{\n\n\t\t\t$sql .= \" FROM $table \";\n\n\t\t}\n\n\n\t\tif(!empty($where)) $sql .= \" WHERE \";\n\n\n\t\tif(is_array($where)){\n\n\t\t\tforeach ($where as $key => $value){\n\n\t\t\t\tif( strstr($value,\"!\") ){\n\t\t\t\t\t\t$value = substr($value, 1);\n\t\t\t\t\t\tif (strtolower($value) == \"empty\"){\n\t\t\t\t\t\t\t\t$sql .= \" $key <> '' OR $key <> 0 OR $key <> NULL AND\";\n\t\t\t\t\t\t}else if(is_int($value)){\n\t\t\t\t\t\t\t\t$sql .= \" $key <> $value OR $key <> 0 OR $key <> NULL AND\";\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t$sql .= \" $key <> '$value' OR $key <> 0 OR $key <> NULL AND\";\n\t\t\t\t\t\t}\n\n\t\t\t\t}elseif( strstr($value,\"!<\") ){\n\t\t\t\t\t\t$value = substr($value, 2);\n\t\t\t\t\t\tif (strtolower($value) == \"empty\"){\n\t\t\t\t\t\t\t\t$sql .= \" $key <= '' AND\";\n\t\t\t\t\t\t}else if(is_int($value)){\n\t\t\t\t\t\t\t\t$sql .= \" $key <= $value AND\";\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t$sql .= \" $key <= '$value' AND\";\n\t\t\t\t\t\t}\n\n\t\t\t\t}elseif( strstr($value,\"!>\") ){\n\t\t\t\t\t\t$value = substr($value, 2);\n\t\t\t\t\t\tif (strtolower($value) == \"empty\"){\n\t\t\t\t\t\t\t\t$sql .= \" $key >= '' AND\";\n\t\t\t\t\t\t}else if(is_int($value)){\n\t\t\t\t\t\t\t\t$sql .= \" $key >= $value AND\";\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t$sql .= \" $key >= '$value' AND\";\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t}else{\n\t\t\t\t\t\tif(is_int($value)){\n\t\t\t\t\t\t$sql .= \" $key LIKE $value AND\";\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t$sql .= \" $key LIKE '$value' AND\";\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t$strCut = strlen($sql)-3;\n\t\t\t$sql = substr($sql,0,$strCut);\n\n\t\t}else{\n\n\t\t\t$sql .= \" $where \";\n\n\t\t}\n\n\t\t//envia sql para total rows\n\t\t$this->sql = $sql;\n\n\t\tif(!empty($order)) $sql .= \" ORDER BY \";\n\n\n\t\tif(is_array($order)){\n\n\t\t\tforeach ($order as $value){\n\t\t\t\t$sql .= \"$value ,\";\n\t\t\t}\n\n\t\t\t$strCut = strlen($sql)-1;\n\t\t\t$sql = substr($sql,0,$strCut);\n\n\t\t}else{\n\n\t\t\t$sql .= \" $order \";\n\n\t\t}\n\n\t\tif(!empty($tipo)) $sql .= \" $tipo \";\n\n\t\tif(!empty($limite)) $sql .= \" LIMIT $limite \";\n\n\t\t$qr = mysql_query($sql) or die($sql . \" <hr> \" . mysql_error());\n\t\t$rows = mysql_num_rows($qr);\n\n\t if($rows){\n\n\t\t\twhile ($rs = mysql_fetch_array($qr) ) {\n\n\t\t\t\t$exFetch[] = $rs;\n\n\t\t\t}\n\n\t\t}else{\n\n\t\t\t\t$exFetch = false;\n\t\t}\n\n\t\treturn $exFetch;\n\n\t}",
"function getRecords($table, $fields=\"\", $condition=\"\", $orderby=\"\", $single_row=false) //$condition is array \n\t{\n//\t\tif($fields != \"\")\n//\t\t{\n//\t\t\t$this->db->select($fields);\n//\t\t}\n\n $rs = $this->db->table($table);\n\n\t\tif($orderby != \"\")\n\t\t{\n $rs->orderBy($orderby,'DESC');\n\t\t}\n\n\t\tif($condition != \"\")\n\t\t{\n\t\t\t$rs->getWhere($condition);\n\t\t}\n\t\t\n\t\tif($single_row)\n\t\t{ \n\t\t\treturn $rs->get()->getResultArray();\n\t\t}\n\t\treturn $rs->get()->getResultArray();\n\n\t}",
"function get_rows($query,&$rows,&$readonlys,$join='',$need_full_no_count=false,$only_keys=false,$extra_cols=array())\n\t{\n\t\tunset($readonlys);\t// required by function signature, but not used in this default implementation\n\t\tif ((int) $this->debug >= 4)\n\t\t{\n\t\t\techo \"<p>so_sql::get_rows(\".print_r($query,true).\",,)</p>\\n\";\n\t\t}\n\t\t$criteria = array();\n\t\t$op = 'AND';\n\t\tif ($query['search'])\n\t\t{\n\t\t\t$criteria = $query['search'];\n\t\t}\n\t\t$rows = $this->search($criteria,$only_keys,$query['order']?$query['order'].' '.$query['sort']:'',$extra_cols,\n\t\t\t'',false,$op,$query['num_rows']?array((int)$query['start'],$query['num_rows']):(int)$query['start'],\n\t\t\t$query['col_filter'],$join,$need_full_no_count);\n\n\t\tif (!$rows) $rows = array();\t// otherwise false returned from search would be returned as array(false)\n\n\t\treturn $this->total;\n\t}",
"public function findCriteria()\r\n\t{\n\t\t$result = $this -> connection -> setTable($this -> entity)\n\t\t\t\t\t\t\t\t\t -> fetch();\r\n\n\t\treturn $result;\r\n\t}",
"public function getMany(array $params = null, \n $resultType = self::RESULT_TYPE_OBJECT) \n { \n $hasJoins = false;\n \n /*\n * Fields \n */\n if(!isset($params['fields'])){\n //$params['fields'] = array('id');\n $params['fields'] = $this->_metaData->getColumnNames();\n }\n if(!is_array($params['fields'])){\n throw new Exception(array(\n 'prop' => '@dataTypeNoArray', \n 'extend' => 'Verify \"fields\" parameter' ));\n } \n $props = $this->_verifyProps($params['fields'], true);\n $hasJoins = isset($props[count($props) - 1])? false : true;\n\n /*\n * OrderBy\n */\n $orderProps = null;\n if(isset($params['orderBy'])){\n if(!is_array($params['orderBy'])){\n throw new Exception(array(\n 'prop' => '@dataTypeNoArray', \n 'extend' => 'Verify \"orderBy\" parameter' ));\n }\n $orderProps = $this->_verifyKeyProps($params['orderBy']);\n foreach($orderProps as $key => $value){\n //no permito que existan orderBY con associations, da errores con el paginado\n if(strpos($key, '.') !== false){\n throw new Exception(array(\n 'prop' => '@assocPropNotAllowed', \n 'extend' => 'Verify property: ' . $key));\n }\n $hasJoins |= strpos($key, '.') !== false;\n }\n }\n \n /*\n * FindBy\n */ \n $whereParsed = null;\n if(isset($params['findBy'])){\n if(!is_string($params['findBy'])){\n throw new Exception(array(\n 'prop' => '@dataTypeNoString', \n 'extend' => 'Verify \"findBy\" parameter' ));\n }\n $whereParsed = $this->_parseFindBy($params['findBy']);\n for($i = 0; $i < count($whereParsed); $i++){\n $hasJoins |= strpos($whereParsed[$i]['prop'], '.') !== false;\n } \n }\n \n $dql = $this->_createGetDQL($props, $orderProps, $whereParsed);\n $query = $this->_em->createQuery($dql);\n\n /*\n * Paginated\n */ \n $query->setMaxResults(self::QUERY_LIMIT_DEFAULT);\n if(isset($params['paginated'])){\n if(isset($params['paginated']['offset'])){\n $query->setFirstResult($params['paginated']['offset']);\n }\n if(isset($params['paginated']['limit'])){\n $query->setMaxResults($params['paginated']['limit']);\n }\n }\n $query->setHydrationMode(\n ($resultType == self::RESULT_TYPE_ARRAY)?\n \\Doctrine\\ORM\\AbstractQuery::HYDRATE_ARRAY:\n \\Doctrine\\ORM\\AbstractQuery::HYDRATE_OBJECT);\n $paginator = new \\Doctrine\\ORM\\Tools\\Pagination\\Paginator($query, (bool)$hasJoins);\n $result = (array) $paginator->getIterator();\n if(empty($result)){\n $result = null;\n }\n \n return $result; \n }",
"function fetchAssoc($table,$col,$condition=\"non\") {\n global $db, $dbname;\n $socket = $db;\n $select_db = $dbname;\n\n $query = \"SELECT \".$col.\" FROM `$select_db`.`$table`\"; //echo \"$query <br/>\";\n if($condition != \"non\") $query .= \" WHERE \".$condition;\n $stm = $socket->prepare($query);\n $stm->execute();\n $stm = $stm->fetchAll(PDO::FETCH_ASSOC); //echo \"query = $query \".count($stm);\n if(!isset($stm) || count($stm) == 0) return -1;\n\n\t\t//return data\n return $stm;\n}",
"function fetchAssoc($table,$col,$condition=\"non\") {\n global $db, $dbname;\n $socket = $db;\n $select_db = $dbname;\n\n $query = \"SELECT \".$col.\" FROM `$select_db`.`$table`\"; //echo \"$query <br/>\";\n if($condition != \"non\") $query .= \" WHERE \".$condition;\n $stm = $socket->prepare($query);\n\n $stm->execute();\n $stm = $stm->fetchAll(PDO::FETCH_ASSOC); //echo \"query = $query \".count($stm);\n if(!isset($stm) || count($stm) == 0) return -1;\n\t\t//return data\n return $stm;\n}",
"abstract public function fetchAll($fetchType = \\PDO::FETCH_ASSOC);",
"protected function fetch() \n {\n $record = $this->statement->fetch(PDO::FETCH_ASSOC);\n\n if($record === false) {\n return false;\n }\n\n foreach($this->mappers as $mapper) {\n $record = $mapper($record);\n }\n\n return $record;\n }",
"public function select($tableName, $conditions = \"\", array $datasCond = array(), array $fieldsList = array()){\r\n //We try to perform the task\r\n try{\r\n //We check if any database is opened\r\n if (!$this->checkOpenDB()) {\r\n throw new Exception(\"There isn't any opened DataBase !\");\r\n }\r\n \r\n //Process fields to select\r\n if(count($fieldsList) == 0)\r\n $fields = \"*\";\r\n else {\r\n $fields = implode(\", \", $fieldsList);\r\n }\r\n\r\n //Generating SQL\r\n $sql = \"SELECT \".$fields.\" FROM \".$tableName.\" \".$conditions;\r\n $selectOBJ = $this->db->prepare($sql);\r\n $selectOBJ->execute($datasCond);\r\n \r\n //Preparing return\r\n $return = array();\r\n foreach($selectOBJ as $process){\r\n $result = array();\r\n \r\n //Processing datas\r\n foreach($process as $name => $data){\r\n //We save the data only if it is not an integer\r\n if (!is_int($name)) {\r\n $result[$name] = $data;\r\n }\r\n }\r\n \r\n //Saving result\r\n $return[] = $result;\r\n }\r\n \r\n //Returning result\r\n return $return;\r\n }\r\n catch(Exception $e){\r\n exit($this->echoException($e));\r\n }\r\n catch(PDOException $e){\r\n exit($this->echoPDOException($e));\r\n }\r\n }"
] |
[
"0.6340733",
"0.61871755",
"0.6094626",
"0.6094413",
"0.6087799",
"0.60755444",
"0.60662967",
"0.6011202",
"0.5954555",
"0.5905584",
"0.5904738",
"0.5889988",
"0.58785784",
"0.58668005",
"0.58667153",
"0.58631146",
"0.58523464",
"0.5826039",
"0.5826039",
"0.57998425",
"0.57867026",
"0.5784317",
"0.57682306",
"0.5750428",
"0.5749136",
"0.574747",
"0.57436424",
"0.57115126",
"0.5705497",
"0.5704969"
] |
0.7059432
|
0
|
Show build info attached to a site created by the build:project:create command.
|
public function info(
$site_name,
$options = [
'ci' => '',
])
{
// Fetch the build metadata
$buildMetadata = $this->retrieveBuildMetadata("{$site_name}.dev");
$url = $this->getMetadataUrl($buildMetadata);
$this->log()->notice('Build metadata: {metadata}', ['metadata' => var_export($buildMetadata, true)]);
// Create a git repository service provider appropriate to the URL
$this->git_provider = $this->inferGitProviderFromUrl($url);
// Extract just the project id from the URL
$target_project = $this->projectFromRemoteUrl($url);
$this->git_provider->getEnvironment()->setProjectId($target_project);
$ci_provider_class_or_alias = $this->selectCIProvider($this->git_provider->getServiceName(), $options['ci']);
$this->ci_provider = $this->createCIProvider($ci_provider_class_or_alias);
// Ensure that all of our providers are given the credentials they need.
// Providers are not usable until this is done.
$this->providerManager()->validateCredentials();
// Fetch the project name.
$this->log()->notice('Found project {project}', ['project' => $target_project]);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function showProjectInfo()\n {\n // URLs\n $this->output->writeln('');\n $this->output->writeln('<info>'. $this->project->getName(false) .'</info> has now been created.');\n $this->output->writeln('<comment>Development:</comment> ' . $this->project->getDevUrl());\n $this->output->writeln('<comment>Staging:</comment> ' . $this->project->getStagingUrl());\n $this->output->writeln('<comment>Production:</comment> N/A');\n\n // Database credentials\n $databaseCredentials = $this->project->getDatabaseCredentials('dev');\n $this->output->writeln('');\n $this->output->writeln('<info>Development MySQL credentials</info>');\n $this->output->writeln('Username: ' . $databaseCredentials['username']);\n $this->output->writeln('Password: ' . $databaseCredentials['password']);\n $this->output->writeln('Database: ' . $databaseCredentials['database']);\n\n $databaseCredentials = $this->project->getDatabaseCredentials('staging');\n $this->output->writeln('');\n $this->output->writeln('<info>Staging MySQL credentials</info>');\n $this->output->writeln('Username: ' . $databaseCredentials['username']);\n $this->output->writeln('Password: ' . $databaseCredentials['password']);\n $this->output->writeln('Database: ' . $databaseCredentials['database']);\n $this->output->writeln('');\n\n // We're done!\n $this->output->writeln('<info>You can now run \"cd '. $this->project->getName() .' && vagrant up\"</info>');\n }",
"function devindavid_site_info() {\n\t\tdo_action( 'devindavid_site_info' );\n\t}",
"public function info( $args ) {\n\t\t\\EE\\Utils\\delem_log( 'site info start' );\n\t\tif ( ! isset( $this->site_name ) ) {\n\t\t\t$args = \\EE\\Utils\\set_site_arg( $args, 'site info' );\n\t\t\t$this->populate_site_info( $args );\n\t\t}\n\t\tEE::log( \"Details for site $this->site_name:\" );\n\t\t$prefix = ( $this->le ) ? 'https://' : 'http://';\n\t\t$info = array(\n\t\t\tarray( 'Access phpMyAdmin', $prefix . $this->site_name . '/ee-admin/pma/' ),\n\t\t\tarray( 'Access mailhog', $prefix . $this->site_name . '/ee-admin/mailhog/' ),\n\t\t\tarray( 'Site Title', $this->site_title ),\n\t\t\tarray( 'DB Root Password', $this->db_root_pass ),\n\t\t\tarray( 'DB Name', $this->db_name ),\n\t\t\tarray( 'DB User', $this->db_user ),\n\t\t\tarray( 'DB Password', $this->db_pass ),\n\t\t\tarray( 'E-Mail', $this->site_email ),\n\t\t\tarray( 'Cache Type', $this->cache_type ),\n\t\t);\n\n\t\tif ( ! empty( $this->site_user ) && ! $this->skip_install ) {\n\t\t\t$info[] = array( 'WordPress Username', $this->site_user );\n\t\t\t$info[] = array( 'WordPress Password', $this->site_pass );\n\t\t}\n\n\t\t\\EE\\Utils\\format_table( $info );\n\n\t\t\\EE\\Utils\\delem_log( 'site info end' );\n\t}",
"public function collectBuildFile()\r\n {\r\n if( file_exists($this->site_root . \"/build\") )\r\n {\r\n $this->file_list[] = \"build\";\r\n }\r\n }",
"public static function show_site($builder, $notes, $system, $parts) {\n\t \t$contents = \"\";\n\t \tif (!empty($parts['parameters'])) {\n\t \t\tif ($parts['parameters'] == \"pagename\") {\n \t\t\t\t\t// If we have an object ID and the system request URI is \n \t\t\t\t\t// project.htm, then we are on a project page. We should get \n \t\t\t\t\t// the project's ID and create the page's name.\n \t\t\t\t\tif (!empty($system['obj_id']) && \n \t\t\t\t\t\t\tstrpos($system['request_uri'], \"projects/\") &&\n \t\t\t\t\t\t\tstrlen($system['request_uri']) > strlen(\"projects/\")) {\n \t\t\t\t\t\t// If we have an object ID, and we're sure that the request URI\n \t\t\t\t\t\t// indicates that we are on a project page, then we return the \n \t\t\t\t\t\t// project's title.\n \t\t\t\t\t\t$project = Project::find_by_id($system['obj_id']);\n \t\t\t\t\t\t$contents = $project->title;\n \t\t\t\t\t} else if (empty($system['obj_id']) &&\n \t\t\t\t\t\t\t\t\t\t strpos($system['request_uri'], \"projects\") &&\n \t\t\t\t\t\t\t\t\t\t strlen($system['request_uri'] <= strlen(\"projects/\"))) {\n \t\t\t\t\t\t// If we don't have an object ID, and we're sure that the \n \t\t\t\t\t\t// request URI indicates that we are on the page for all \n \t\t\t\t\t\t// projects, then we return the a string.\n \t\t\t\t\t\t$contents = \"Projects\";\n \t\t\t\t\t} else if (strpos($system['request_uri'], \"about\")) {\n \t\t\t\t\t\t// If we don't have an object ID, and we're sure that the \n \t\t\t\t\t\t// request URI indicates that we are on the about page, then we \n \t\t\t\t\t\t// return the a string. \t\t\t\t\t\n \t\t\t\t\t\t$contents = \"About\";\n \t\t\t\t\t}\n \t\t\t\t} else if ($parts['parameters'] == \"about\") {\n \t\t\t\t\t$contents = \"/about\";\n \t\t\t\t} else if ($parts['parameters'] == \"admin\") {\n\t\t \t\t\t$contents = \"Built on <a href='http://getfoundation.com/'>Foundation</a> • <a href='/admin'>admin</a>\";\n \t\t\t\t} else {\n \t\t\t\t\t$contents = false;\n \t\t\t\t\tif ($setting = Setting::find_by_name($parts['parameters'])) {\n\t \t\t\t\t\t$contents = $setting->get_value();\n\t \t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t\n \t\treturn $contents;\n \t}",
"function info($args)\n {\n $data['version'] = $this->view->version;\n return $data;\n }",
"public function info()\n {\n $info = new EcrProjectTemplateInfo;\n\n $info->group = $this->group;\n $info->title = 'Map and Admin';\n $info->description = jgettext('This will map an existing table and create an admin interface and menu link');\n\n return $info;\n }",
"function devindavid_add_site_info() {\n\t\t\n\t\t$site_info = sprintf(\n\t\t\t\n\t\t\t'<div id=\"copyrights\" class=\"noselect\">\n\t\t\t<span>©%1$s </span>\n\t\t\t<span class=\"footerLogo\" style=\"margin: 0 0 0 6px; display:inline-block; color:transparent;\">%2$s</span>\n\t\t\t</div>',\n\t\t\t\n\t\t\tsprintf( esc_html__( '%s', 'devindavid' ),\n\t\t\t\t'2021'\n\t\t\t),\n\t\t\tsprintf( esc_html__( '%s', 'devindavid' ),\n\t\t\t\t'Devin David'\n\t\t\t)\n\t\t);\n\n\t\techo apply_filters( 'devindavid_site_info_content', $site_info ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped\n\t}",
"public function index()\n {\n $siteinfos = Siteinfo::all();\n\n return view('admin.siteInfo', compact('siteinfos'));\n }",
"public function show(SiteInfo $siteInfo)\n {\n //\n }",
"public function show(Siteinfo $siteinfo)\n {\n //\n }",
"public function show()\n {\n $service = Config::get(\"ProjectLister::service\");\n $method = \"fetch_$service\";\n // Fetch\n $projects = self::$method();\n // Sort the list\n $projects = Project::sort( $projects );\n\n $output = '';\n foreach($projects as $project)\n {\n $template = ( Config::get(\"ProjectLister::template\") ) ? Config::get(\"ProjectLister::template\") : Project::getProjectTemplate();\n\n $template = str_replace('{{PROJECT_URL}}', $project->url, $template);\n $template = str_replace('{{PROJECT_NAME}}', htmlentities($project->name), $template);\n $template = str_replace('{{PROJECT_WATCHER_COUNT}}', $project->watchers, $template);\n $template = str_replace('{{PROJECT_DESCRIPTION}}', htmlentities($project->description), $template);\n $template = str_replace('{{PROJECT_SOURCE}}', $project->source, $template);\n $template = str_replace('{{PROJECT_WATCHER_NOUN}}', $project->watcher_noun, $template);\n\n $output .= $template . \"\\n\";\n }\n return $output;\n }",
"public function getDeveloper()\n {\n return 'Absolute Web Solutions';\n }",
"private function populate_site_info( $args ) {\n\n\t\t$this->site_name = \\EE\\Utils\\remove_trailing_slash( $args[0] );\n\n\t\tif ( $this->db::site_in_db( $this->site_name ) ) {\n\n\t\t\t$data = array( 'site_type', 'site_title', 'proxy_type', 'cache_type', 'site_path', 'db_name', 'db_user', 'db_host', 'db_port', 'db_password', 'db_root_password', 'wp_user', 'wp_pass', 'email' );\n\n\t\t\t$db_select = $this->db::select( $data, array( 'sitename' => $this->site_name ) );\n\n\t\t\t$this->site_type = $db_select[0]['site_type'];\n\t\t\t$this->site_title = $db_select[0]['site_title'];\n\t\t\t$this->proxy_type = $db_select[0]['proxy_type'];\n\t\t\t$this->cache_type = $db_select[0]['cache_type'];\n\t\t\t$this->site_root = $db_select[0]['site_path'];\n\t\t\t$this->db_user = $db_select[0]['db_user'];\n\t\t\t$this->db_name = $db_select[0]['db_name'];\n\t\t\t$this->db_host = $db_select[0]['db_host'];\n\t\t\t$this->db_port = $db_select[0]['db_port'];\n\t\t\t$this->db_pass = $db_select[0]['db_password'];\n\t\t\t$this->db_root_pass = $db_select[0]['db_root_password'];\n\t\t\t$this->site_user = $db_select[0]['wp_user'];\n\t\t\t$this->site_pass = $db_select[0]['wp_pass'];\n\t\t\t$this->site_email = $db_select[0]['email'];\n\n\t\t} else {\n\t\t\tEE::error( \"Site $this->site_name does not exist.\" );\n\t\t}\n\t}",
"function info()\n\t{\n\t\t$info=array();\n\t\t$info['supports_advanced_import']=false;\n\t\t$info['product']='HTML website (page extraction and basic themeing)';\n\t\t$info['import']=array(\n\t\t\t\t\t\t\t\t'pages',\n\t\t\t\t\t\t\t);\n\t\treturn $info;\n\t}",
"function info()\n {\n $data = array(\n 'name' => \"MostViewed\",\n 'description' => \"List the most viewed contenttype\",\n 'keywords' => \"most viewed\",\n 'author' => \"Nacho Fernandez\",\n 'link' => \"http://www.fernandezsansalvador.es\",\n 'version' => \"0.1\",\n 'required_bolt_version' => \"1.4\",\n 'highest_bolt_version' => \"1.4\",\n 'type' => \"General\",\n 'first_releasedate' => \"2014-01-19\",\n 'latest_releasedate' => \"2014-01-19\",\n 'dependencies' => \"\",\n 'priority' => 10\n );\n\n return $data;\n\n }",
"function drush_dslm_info() {\n // Bootstrap dslm, this grabs the instantiated and configured DSLM library object\n if (!$dslm = _dslm_bootstrap()) {\n return FALSE;\n }\n\n // Iterate through the cores array and print them out\n if (!$info = $dslm->siteInfo()) {\n return drush_set_error($dslm->lastError());\n }\n\n $out = \"Core: {$info['core']}\\n\";\n if(!empty($info['profiles'])) {\n $out .= \"Managed Profiles: \";\n foreach($info['profiles'] as $profile) {\n $out .= \"$profile \";\n }\n }\n\n // Render the display\n drush_log(trim($out), 'ok');\n return TRUE;\n}",
"protected function buildSite() {\n switch ($this->s->action) {\n\t\t\tcase 'list':\n\t\t\t\t$content = $this->listSpots();\n\t\t\t\tbreak;\n\t\t\tcase 'create':\n\t\t\tcase 'update':\n\t\t\t\t$content = $this->getForm($this->s->params[0]);\n break;\n case 'delete':\n $content = 'Soll dieser Spot wirklich gelöscht werden?<input type=\"hidden\" value=\"form/poker/poker_spot-delete/'.$this->s->element.'\" />';\n \tbreak;\n }\n parent::buildSite($content);\n }",
"public function getWpDetailsList()\n\t{\n\t\techo \"Version : \" . get_bloginfo('version') . \"\\n\";\n\t\techo \"Charset : \" . get_bloginfo('charset') . \"\\n\";\n\t\techo \"Url : \" . get_bloginfo('url') . \"\\n\";\n\t\techo \"Language : \" . get_bloginfo('language') . \"\\n\";\n\t\techo \"PHP : \" . phpversion() . \"\\n\";\n\t}",
"function getInfo(){\n return array(\n 'author' => 'Oleg Lavrovsky',\n 'email' => '[email protected]',\n 'date' => '2013-2-1',\n 'name' => 'New Page Button Plugin',\n 'desc' => 'Simplifies page creation for users',\n 'url' => 'http://oleg.utou.ch',\n );\n }",
"public function getProjectInformation() {\n $query = \"select * from projects\";\n $result = mysql_query($query);\n return $result;\n }",
"public function websiteInfo( $website ){ return $this->APICall( array('websiteInfo' => $website), \"Couldn't get \" . $website . \" information\" ); }",
"public static function get_build()\n {\n }",
"public function info()\n {\n $info = array();\n $info['author'] = 'Philip Withnall';\n $info['organisation'] = 'ocProducts';\n $info['hacked_by'] = null;\n $info['hack_version'] = null;\n $info['version'] = 1;\n $info['locked'] = false;\n $info['parameters'] = array('param', 'page', 'id');\n return $info;\n }",
"function getInfo(){\n return array(\n 'author' => 'seism',\n 'email' => '[email protected]',\n 'date' => '2011-5-1',\n 'name' => 'Embed GitHub Plugin',\n 'desc' => 'Show a GitHUb widget in your wiki',\n 'url' => 'http://www.dokuwiki.org/wiki:plugins',\n );\n }",
"public function PrintProject(){\r\n\t\tprint \"id: $this->id<br>\\n\";\r\n\t\tprint \"number: $this->number<br>\\n\";\r\n\t\tprint \"name: $this->name<br>\\n\";\r\n\t\tprint \"status: $this->status<br>\\n\";\r\n\t\tprint \"manager: $this->manager<br>\\n\";\t\r\n\t\tprint \"location: $this->location<br>\\n\";\r\n\t\tprint \"information: $this->information<br>\\n\";\r\n\t\tprint \"showme: $this->show<br>\\n\";\r\n\t\tprint \"cadmin: $this->cadmin<br>\\n\";\r\n\t\tprint \"changeday: $this->changeday<br>\\n\";\t\r\n\t\tprint \"location_name: $this->location_name<br>\\n\";\r\n\t\tprint \"manager_name: $this->manager_name<br>\\n\";\r\n\t\tprint \"cadmin_name: $this->cadmin_name<br>\\n\";\r\n\t}",
"public function actionIndex()\n {\n\t\t$id = 1;\n return $this->render('/backend/siteinfo/view', [\n 'model' => $this->findModel($id),\n ]);\n }",
"public function fetchDetail(): void\n {\n $request = Certification::$request;\n\n $url = sprintf('%s/projects/%s', Certification::$endpoint, $this->id);\n $payload = $request->get($url)->throw()->json();\n\n $attributes = Arr::get($payload, 'data.attributes');\n\n conmsg(sprintf('Project ID: %s', Arr::get($attributes, 'id')));\n conmsg(sprintf('Project Name: %s', Arr::get($attributes, 'name')));\n conmsg(sprintf('Project Description: %s', Arr::get($attributes, 'description')));\n }",
"public function create()\n {\n return view('admin.builds.create', ['types' => TypeBuild::all()]);\n }",
"public function actionWebbuild()\n\t{\n\t\t// using the default layout 'protected/views/layouts/main.php'\n\t\t$this->render('webbuild/index');\n\t}"
] |
[
"0.67511606",
"0.6175381",
"0.6052875",
"0.57897246",
"0.5722969",
"0.5699622",
"0.5664737",
"0.55574167",
"0.5500091",
"0.54897493",
"0.5438663",
"0.54245204",
"0.53862834",
"0.5384272",
"0.5375842",
"0.53689635",
"0.5330091",
"0.532686",
"0.52977127",
"0.52883863",
"0.5275815",
"0.527097",
"0.52508754",
"0.52408725",
"0.5230579",
"0.5209315",
"0.5207703",
"0.5200062",
"0.51609",
"0.5159279"
] |
0.70729315
|
0
|
Get the Dropzone localization options.
|
public function getLocalizationOptions(): array
{
return [
'dictDefaultMessage' => t('Drop files here or click to upload.'),
'dictFallbackMessage' => t("Your browser does not support drag'n'drop file uploads."),
'dictFallbackText' => t('Please use the fallback form below to upload your files like in the olden days.'),
'dictFileTooBig' => t('File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.'),
'dictInvalidFileType' => t('You can\'t upload files of this type.'),
'dictResponseError' => t('Server responded with {{statusCode}} code.'),
'dictCancelUpload' => t('Cancel upload'),
'dictUploadCanceled' => t('Upload canceled.'),
'dictCancelUploadConfirmation' => t('Are you sure you want to cancel this upload?'),
'dictRemoveFile' => t('Remove file'),
'dictMaxFilesExceeded' => t('You can not upload any more files.'),
'dictFileSizeUnits' => [
'tb' => Unit::getName('digital/terabyte', 'narrow'),
'gb' => Unit::getName('digital/gigabyte', 'narrow'),
'mb' => Unit::getName('digital/megabyte', 'narrow'),
'kb' => Unit::getName('digital/kilobyte', 'narrow'),
'b' => Unit::getName('digital/byte', 'narrow'),
],
];
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function getLocalizedOptions() {\n\t\treturn array();\n\t}",
"function abl_droploader_get_localisation() {\n\t\t$l10n = array(\n\t\t\t'open' => '',\n\t\t\t'open_title' => '',\n\t\t\t'close' => '',\n\t\t\t'close_title' => '',\n\t\t\t'error_method' => '',\n\t\t\t'info_text' => '',\n\t\t\t'err_invalid_filetype' => '',\n\t\t\t'err_browser_not_supported' => '',\n\t\t\t'err_too_many_files' => '',\n\t\t\t'err_file_too_large' => '',\n\t\t\t'all_files_uploaded' => '',\n\t\t\t'no_files_uploaded' => '',\n\t\t\t'some_files_uploaded' => '',\n\t\t);\n\t\tforeach ($l10n as $k => $v) {\n\t\t\t$l10n[$k] = gTxt('abl_droploader_' . $k);\n\t\t}\n\t\treturn $l10n;\n\t}",
"protected function get_language_options() {\n $langs = get_string_manager()->get_list_of_translations(true);\n\n $config = $this->instance->config;\n if (empty($config->displaylangs)) {\n $options = array();\n } else {\n $options = explode(',', $config->displaylangs);\n $options = array_map('trim', $options);\n $options = array_filter($options);\n }\n if (empty($options)) {\n $options[] = 'en';\n }\n $options = array_combine($options, array_fill(0, count($options), ''));\n foreach ($options as $lang => $text) {\n if (array_key_exists($lang, $langs)) {\n $text = $langs[$lang];\n } else {\n $text = get_string('unknownlanguage', $this->plugin);\n }\n $options[$lang] = $text;\n }\n return $options;\n }",
"public function getCountryOptions() {\n\t\treturn array(\n \"us\" => \"United States\",\n \"uk\" => \"United Kingdom\",\n \"ca\" => \"Canada\",\n );\n }",
"function getTranslationOptions()\r\n\t{\r\n\t\t$translations = $this->Translations();\r\n\t\tif(count($translations) > 0)\r\n\t\t\t$indexed = regroupList($translations, \"language\");\r\n\t\telse\r\n\t\t\t$index = array();\r\n\t\t\t\r\n\t\t$options = array();\r\n\t\tforeach(TextTranslation::$languageOptions as $language)\r\n\t\t{\r\n\t\t\tif($language != \"English\" && !array_key_exists($language, $indexed))\r\n\t\t\t\t$options[$language] = $language;\r\n\t\t}\r\n\t\t\t\r\n\t\treturn $options;\r\n\t}",
"public static function getLanguageOptions()\n\t{\n\t\t$lrOptions = array(\n\t\t\tJHtml::_('select.option', 'lang_ar', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_AR')),\n\t\t\tJHtml::_('select.option', 'lang_zh-CN', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_ZH_CN')),\n\t\t\tJHtml::_('select.option', 'lang_zh-TW', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_ZH_TW')),\n\t\t\tJHtml::_('select.option', 'lang_cs', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_CS')),\n\t\t\tJHtml::_('select.option', 'lang_da', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_DA')),\n\t\t\tJHtml::_('select.option', 'lang_nl', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_NL')),\n\t\t\tJHtml::_('select.option', 'lang_en', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_EN')),\n\t\t\tJHtml::_('select.option', 'lang_et', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_ET')),\n\t\t\tJHtml::_('select.option', 'lang_fi', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_FI')),\n\t\t\tJHtml::_('select.option', 'lang_fr', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_FR')),\n\t\t\tJHtml::_('select.option', 'lang_de', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_DE')),\n\t\t\tJHtml::_('select.option', 'lang_el', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_EL')),\n\t\t\tJHtml::_('select.option', 'lang_iw', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_IW')),\n\t\t\tJHtml::_('select.option', 'lang_hu', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_HU')),\n\t\t\tJHtml::_('select.option', 'lang_is', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_IS')),\n\t\t\tJHtml::_('select.option', 'lang_it', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_IT')),\n\t\t\tJHtml::_('select.option', 'lang_ja', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_JA')),\n\t\t\tJHtml::_('select.option', 'lang_ko', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_KO')),\n\t\t\tJHtml::_('select.option', 'lang_lv', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_LV')),\n\t\t\tJHtml::_('select.option', 'lang_lt', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_LT')),\n\t\t\tJHtml::_('select.option', 'lang_no', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_NO')),\n\t\t\tJHtml::_('select.option', 'lang_pl', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_PL')),\n\t\t\tJHtml::_('select.option', 'lang_pt', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_PT')),\n\t\t\tJHtml::_('select.option', 'lang_ro', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_RO')),\n\t\t\tJHtml::_('select.option', 'lang_ru', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_RU')),\n\t\t\tJHtml::_('select.option', 'lang_es', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_ES')),\n\t\t\tJHtml::_('select.option', 'lang_sv', JText::_('COM_ARTOFGM_OPTION_LANGUAGE_LANG_SV')),\n\t\t);\n\n\t\treturn $lrOptions;\n\t}",
"function wpjsfsp_get_options() {\n\treturn \\WPJSFSP\\Options::get_all();\n}",
"public function getOptions()\n {\n /**\n * `id` is not in editor.md's attribute , so remove it\n */\n unset($this->options['id']);\n\n /**\n * Get the asset path which is published\n */\n $publishedAssetUrl = $this->getView()\n ->getAssetManager()\n ->getBundle('echotrue\\markdown\\MarkdownAsset', true)->baseUrl . '/assets/';\n\n $this->options['path'] = $publishedAssetUrl;\n $this->options['pluginPath'] = $publishedAssetUrl . 'plugins/';\n return Json::encode($this->options);\n }",
"protected function getOptions()\n\t{\n\t\treturn array(\n\t\t\tarray('path', null, InputOption::VALUE_OPTIONAL, 'Path for language directories.', null),\n\t\t);\n\t}",
"protected function defaultLocalizations()\n {\n $t = $this->translator();\n\n return [\n 'volume_default' => $t->translation('filesystem.volume.default'),\n 'volume_library' => $t->translation('filesystem.volume.library'),\n 'volume_storage' => $t->translation('filesystem.volume.storage'),\n 'volume_uploads' => $t->translation('filesystem.volume.uploads'),\n 'volume_public' => $t->translation('filesystem.volume.public'),\n 'volume_private' => $t->translation('filesystem.volume.private'),\n ];\n }",
"public function get_options_list() {\n\t\treturn array(\n\t\t\t'ring_logger_limit' => __('How many last records store?', 'wp-optimize')\n\t\t);\n\t}",
"public static function getOptions()\n {\n return Pronamic_Google_Maps_Settings::get_settings();\n }",
"protected function get_options() {\n global $CFG;\n $options = parent::get_options();\n $options['file'] = substr(__FILE__, strlen($CFG->dirroot.'/'));\n $options['context'] = $this->context;\n $options['currentgroup'] = $this->currentgroup;\n $options['reactforumid'] = $this->reactforumid;\n return $options;\n }",
"public function tOptions()\n {\n return json_encode($this->options);\n }",
"function get_options(){\n\t\treturn $this->options;\n\t}",
"protected function _options() {\n\t\t\treturn array();\n\t\t}",
"public function getOptions()\n {\n return $this->get(self::OPTIONS);\n }",
"public function getOptions() {\n\t\t$options = parent::getOptions();\n\t\t$options->fallback_controller = 'app\\\\controllers\\\\fallbax';\n\t\t$options->action_name_postfix = '';\n\t\treturn $options;\n\t}",
"public function getOptions() {}",
"public function getOptions() {}",
"public function getOptions() {}",
"protected function getOptions()\n\t{\n\t\treturn [\n\t\t];\n\t}",
"protected static function allowedOptions()\n\t{\n\t\t$additional = array(\n\t\t\t\t\t\t\t\t'dir' => 1,\n\t\t\t\t\t\t\t\t'lang' => 1,\n\t\t\t\t\t\t\t\t'xml:lang' => 1,\n\t\t\t\t\t\t\t\t'title' => 2\n\t\t\t\t\t\t\t);\n\t\treturn array_merge( One_Form_Container_Abstract::allowedOptions(), $additional );\n\t}",
"protected function getOptions()\n {\n return array(\n\n );\n }",
"protected function getOptions() {\n\t\treturn array(\n\t\t);\n\t}",
"protected function getOptions()\n\t{\n\t\treturn [\n\t\t\t\n\t\t];\n\t}",
"public function getOptions()\n {\n return $this->options->getOptions();\n }",
"protected function getOptions()\r\n {\r\n return [\r\n\r\n ];\r\n }",
"protected function getOptions() {}",
"protected function getOptions() {}"
] |
[
"0.69759256",
"0.66892403",
"0.65263885",
"0.64681286",
"0.6464968",
"0.63179225",
"0.6206821",
"0.60914654",
"0.60607946",
"0.60516196",
"0.60390174",
"0.6038899",
"0.6003268",
"0.5987604",
"0.5983329",
"0.59644526",
"0.5947619",
"0.59452933",
"0.59446007",
"0.594385",
"0.594385",
"0.5942062",
"0.59354573",
"0.5918563",
"0.59176093",
"0.59162754",
"0.59091794",
"0.5905072",
"0.59014666",
"0.59014666"
] |
0.7418204
|
0
|
Get the Dropzone configuration options.
|
public function getConfigurationOptions(): array
{
$options = [
'timeout' => $this->getTimeout() * 1000,
'chunking' => $this->isChunkingEnabled(),
'parallelUploads' => $this->getParallelUploads(),
] + $this->getLocalizationOptions();
if ($options['chunking']) {
// You cannot set both: uploadMultiple and chunking
$options['uploadMultiple'] = false;
$options['chunkSize'] = $this->getChunkSize();
}
$maxWidth = (int) $this->config->get('concrete.file_manager.restrict_max_width');
if ($maxWidth > 0) {
$options['resizeWidth'] = $maxWidth;
}
$maxHeight = (int) $this->config->get('concrete.file_manager.restrict_max_height');
if ($maxHeight > 0) {
$options['resizeHeight'] = $maxHeight;
}
if ($maxWidth > 0 || $maxHeight > 0) {
$options['resizeQuality'] = $this->bitmapFormat->getDefaultJpegQuality() / 100;
$options['_dontResizeMimeTypes'] = preg_split('/\s+/', (string) $this->config->get('concrete.file_manager.dont_resize_mimetypes'), -1, PREG_SPLIT_NO_EMPTY);
}
return $options;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function getOptions()\n {\n $options = array();\n\n if ($this->proxyCacheDirectory) {\n $this->ensureDirectoryExists($this->proxyCacheDirectory);\n\n $options['proxy.path'] = $this->proxyCacheDirectory;\n }\n\n if ($this->annotationCacheDirectory) {\n $this->ensureDirectoryExists($this->annotationCacheDirectory);\n\n $options['annotation.path'] = $this->annotationCacheDirectory;\n }\n\n return $options;\n }",
"public function getConfig() : array {\n\t\treturn static::$options;\n\t}",
"private function set_upload_options()\n {\n $config = array();\n $config['upload_path'] = './uploads/';\n $config['allowed_types'] = 'png|jpg|gif';\n $config['max_size'] = '0';\n $config['overwrite'] = FALSE;\n\n return $config;\n }",
"private function set_upload_options() {\n $config = array();\n $config ['upload_path'] = './uploadedImage';\n $config ['allowed_types'] = 'gif|jpg|png|bmp';\n\n return $config;\n }",
"public function getConfig()\n {\n $template = $this->getGiftCardTemplate();\n $config = [\n 'text' => $this->getOptions('text'),\n 'size' => $this->getOptions('size'),\n 'color' => $this->getOptions('color'),\n 'image' => $this->getOptions('image'),\n 'design' => $template->getDesign(),\n 'name' => $template->getName(),\n 'store_id' => $template->getStoreId(),\n 'action' => $this->getActions(),\n 'formKey' => $this->formKey->getFormKey(),\n 'imageList' => $this->getImageList(),\n 'template_id' => $this->getTemplateId(),\n ];\n return $config;\n }",
"private function set_upload_options()\n {\n $config = array();\n $config['upload_path'] = APPPATH. '../uploads/';\n $config['allowed_types'] = 'jpg|png';\n $config['max_size'] = 1000000;\n $config['overwrite'] = TRUE;\n \n return $config;\n }",
"private function set_upload_options() {\n $config = array();\n $config['upload_path'] = './valuassets/vendors';\n $config['allowed_types'] = 'gif|jpg|png|jpeg';\n $config['max_size'] = '5000';\n $config['overwrite'] = FALSE;\n return $config;\n }",
"private function set_upload_options()\n\t{\n\t\t$config = array();\n\t\t$config['upload_path'] = assets_server_path('uploads/products/');\n\t\t$config['allowed_types'] = 'gif|jpg|png|JPG';\n\t\t$config['max_size'] = '30000000';\n\t\t$config['overwrite'] = FALSE;\n\n\t\treturn $config;\n\t}",
"private function set_upload_options() { \r\n \r\n $config = array();\r\n $config['upload_path'] = 'assets/uploads/img';\r\n $config['allowed_types'] = 'gif|jpg|png';\r\n $config['max_size'] = '5000';\r\n $config['overwrite'] = FALSE;\r\n \r\n return $config;\r\n }",
"private function set_upload_options()\n {\n $config = array();\n $config['file_name'] = 'test';\n $config['upload_path'] = './resources/images/upload/';\n $config['allowed_types'] = 'gif|jpg|png';\n $config['max_size'] = '0';\n $config['overwrite'] = FALSE;\n\n return $config;\n }",
"public function options()\n {\n return $this->options;\n }",
"public function options()\n {\n return $this->options;\n }",
"public function options()\n {\n return $this->options;\n }",
"public function load_options() {\n\t\treturn $this->get_config();\n\t}",
"private function set_upload_options()\n {\n $config = array();\n $config['upload_path'] = './uploads/';\n $config['allowed_types'] = 'gif|jpg|png|jpeg';\n \n $config['overwrite'] = FALSE;\n\n return $config;\n }",
"protected function getOptions()\n {\n return array(\n 'default_ttl' => 15 * 60,\n 'private_headers' => array('Authorization', 'Cookie'),\n 'allow_reload' => true,\n 'allow_revalidate' => true,\n 'stale_while_revalidate' => 2,\n 'stale_if_error' => 3600,\n );\n }",
"public function get_filemanager_options() {\n $templateoptions = array();\n $templateoptions['accepted_types'] = '.xml';\n $templateoptions['maxbytes'] = 0;\n $templateoptions['maxfiles'] = -1;\n $templateoptions['mainfile'] = true;\n $templateoptions['subdirs'] = false;\n\n return $templateoptions;\n }",
"protected function getOptions()\n {\n return $this->options;\n }",
"public static function getOptions()\n {\n return Pronamic_Google_Maps_Settings::get_settings();\n }",
"public function getOptions() {\n return $this->options;\n }",
"public function getOptions() {\n return $this->options;\n }",
"public function getOptions() {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }",
"public function getOptions()\n {\n return $this->options;\n }"
] |
[
"0.6573508",
"0.6559956",
"0.6555097",
"0.64960873",
"0.64481664",
"0.64379954",
"0.6436235",
"0.63836694",
"0.6338183",
"0.6323543",
"0.62507534",
"0.62507534",
"0.62507534",
"0.62429446",
"0.6223347",
"0.6207054",
"0.620293",
"0.61433727",
"0.61425686",
"0.61248624",
"0.61248624",
"0.61248624",
"0.6112854",
"0.6112854",
"0.6112854",
"0.6112854",
"0.6112854",
"0.6112854",
"0.6112854",
"0.6112854"
] |
0.67933774
|
0
|
Does this meta object have additional attrs.
|
function has_attrs() {
$has_attrs = True;
if (empty($this->attrs)) {
$has_attrs = False;
}
return $has_attrs;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function hasAttributes() {\n return $this->_has(15);\n }",
"public function hasAttributes() {\n return $this->_has(15);\n }",
"public function hasAttributes() {\n return $this->_has(2);\n }",
"public function hasAttributes() {\n return $this->_has(3);\n }",
"public function hasAttributes() {\n return $this->_has(9);\n }",
"public function hasAttributes() {\n return $this->_has(7);\n }",
"public function hasAttributes() {\n return $this->_has(24);\n }",
"function has_attributes() {\n\t\tif (isset($this->attributes) && sizeof($this->attributes)>0) :\n\t\t\tforeach ($this->attributes as $attribute) :\n\t\t\t\tif ($attribute['visible'] == 'yes') return true;\n\t\t\tendforeach;\n\t\tendif;\n\t\treturn false;\n\t}",
"public function hasAttr(){\n return (is_array($this->attr) && !empty($this->attr));\n }",
"protected function additionalFieldsAllowed(): bool\n\t{\n\t\treturn true;\n\t}",
"public function getAdditionalProperties(): bool\n {\n return $this->additionalProperties;\n }",
"function hasMeta() {\n return $this->imageMeta->hasMeta();\n }",
"public function hasAdditionalInfo()\n {\n return $this->AdditionalInfo !== null;\n }",
"public function necessaryAttributes()\n {\n return $this->_necessaryAttributes;\n }",
"protected function getIsCustomAttribute()\n {\n return !$this->is_organizational;\n }",
"public function hasAdditionalDetails()\n {\n return !empty($this->additional);\n }",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function getAdditionalAttributes() {}",
"public function hasTranslatedAttributes()\n {\n return property_exists($this, 'translatedAttributes');\n }",
"protected function validate_attributes()\n {\n foreach (static::$object_attributes as $key => $value) {\n if (!isset($this->{$key})) {\n Error::set(Error::ERROR_MISSING_ATTRIBUTE, [$key], Error::ERROR);\n }\n }\n\n return true;\n }",
"public static function hasAttributes() {\n\t return (!empty($_SESSION));\n\t}",
"public static function has_basic_metadata_trait()\n\t{\n\t\treturn true;\n\t}",
"public function isDynamicAttribute()\n {\n return in_array($this->arrConfig['attribute'], Attribute::getDynamicAttributeFields());\n }",
"public function hasCustomFields() : bool\n {\n return !empty($this->customFields);\n }"
] |
[
"0.7789699",
"0.7789699",
"0.7739773",
"0.773973",
"0.77315843",
"0.7622507",
"0.75999004",
"0.70818835",
"0.7063301",
"0.68818885",
"0.67667264",
"0.6759799",
"0.66802216",
"0.6544646",
"0.6537789",
"0.65229666",
"0.65095884",
"0.65092754",
"0.65092754",
"0.6508483",
"0.6507925",
"0.6507925",
"0.6507925",
"0.6507925",
"0.643317",
"0.634365",
"0.6288692",
"0.62490946",
"0.6221237",
"0.6215727"
] |
0.78022474
|
0
|
Get an array of FileObj objects.
|
function get_file_objs() {
return $this->file_objs;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getFiles(): array;",
"public function getFiles($where = null){\n $result = null;\n $temp = parent::getObjects(null, $where);\n if(count($temp) > 0){\n $result = array();\n foreach($temp as $item){\n $f = new File();\n $f->setID($item->ID);\n $f->setIdUtente($item->id_utente);\n $f->setUrlFile($item->url_file);\n $f->setDescrizione($item->descrizione);\n array_push($result, $f);\n }\n }\n return $result;\n }",
"public static function getFiles()\n\t{\n\t\t$result = Array();\n\t\t$files = sfCore::$db->query(\"SELECT * FROM `swoosh_file_storage`\")->asObjects();\n\t\tforeach($files as $file){\n\t\t\t$sfFileStorageItem = sfCore::make('sfFileStorageItem');\n\t\t\t$sfFileStorageItem->loadFromObject($file);\n\t\t\t$result[] = $sfFileStorageItem;\n\t\t}\n\t\treturn $result;\n\t}",
"public function getFilesList() : array {\n $sqlQuery = 'SELECT * FROM files';\n $statement = $this->_dbHandle->prepare($sqlQuery);\n $statement->execute();\n\n $dataSet = [];\n while ($row = $statement->fetch()) {\n $dataSet[] = new File($row);\n }\n return $dataSet;\n }",
"public function getFiles(): array\n {\n return [$this->file];\n }",
"private function getFiles(array $arr, array &$options)\n {\n $files = [];\n\n foreach ($arr as $key => $val) {\n $files[$key] = new File($val, $options);\n }\n\n return $files;\n }",
"public function getOtherFiles(): array;",
"public function getFiles() : array\n {\n return $this->files;\n }",
"public function getFiles(): array\n {\n return $this->files;\n }",
"public function getFiles();",
"public function getFiles();",
"public function getFiles();",
"public function getFiles ();",
"function &getFiles() {\n\t\tif (!isset($this->files)) {\n\t\t\t$res = db_query_params ('SELECT id,artifact_id,description,filename,filesize,' .\n\t\t\t\t\t'filetype,adddate,submitted_by,user_name,realname\n\t\t\t\t\t FROM artifact_file_user_vw WHERE artifact_id=$1',\n\t\t\t\t\t\tarray ($this->getID())) ;\n\t\t\t$rows=db_numrows($res);\n\t\t\tif ($rows > 0) {\n\t\t\t\tfor ($i=0; $i < $rows; $i++) {\n\t\t\t\t\t$this->files[$i]=new ArtifactFile($this,db_fetch_array($res));\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t$this->files=array();\n\t\t\t}\n\t\t}\n\t\treturn $this->files;\n\t}",
"public function getFiles(string $class = DefaultElement::class) : array\n {\n $result = file_get_contents($this->end_point, false, stream_context_create([\n 'http' => [\n 'method' => 'POST',\n 'header' => \"Content-Type: application/json\\r\\n\",\n 'content' => json_encode([\n 'action' => 'file_by',\n 'session' => $this->session\n ])\n ]\n ]));\n\n $result = json_decode($result, true)['data'];\n\n $elements = [];\n\n foreach ( $result as $data) {\n /** @noinspection PhpUndefinedMethodInspection */\n $elements[] = $class::createFromArray($data);\n }\n return $elements;\n }",
"private function getFileList(){\n // Using the high-level iterators returns ALL the objects in your bucket, low level returns truncated result of about 1000 files\n $objects = $this->AmazonClient->getIterator('ListObjects', array('Bucket' => $this->getDataFromBucket));\n return $objects;\n }",
"function getFilesByObject() {\n if($this->object_id == '') return ;\n $sql = \"SELECT * FROM \".$this->tableImages().\" WHERE object_id = $this->object_id \";\n return $this->db->query($sql)->result('array');\n\t}",
"public function getFiles() {}",
"protected function getFiles(): array\n {\n return [];\n }",
"public function getFiles()\n {\n return FileInfo::findBy( Condition::EQ(FileInfo::TABLE, 'module_id', $this->getId()),\n new ArrayObject(array('sort'=>$this->getSortBy(), 'ord'=>'asc')) );\n }",
"public function GetFiles() {\n\n if ($this->Files === null) {\n $this->Files= array();\n foreach($this->GetRequestContext()->FILES as $Key=>$Value) {\n if (is_array($Value['tmp_name'])) {\n $this->Error('Request/File: multiple values for files are not supported for key \"'.$Key.'\".');\n continue;\n }\n $this->Files[$Key]= $this->BuildComponent('Accent\\\\Request\\\\File', array('OrigInfo'=> $Value));\n }\n }\n return $this->Files;\n }",
"public function files() :array\n {\n $files = DB::query(\"SELECT `ft_filename` AS 'filename', `ft_size` AS 'size' FROM `file_table` WHERE `ft_ut_id` = :u_id ORDER BY `ft_filename` ASC\", array(':u_id'=>$_SESSION['user_id']));\n\n $list = [];\n $i = 0;\n\n foreach($files as $file){\n $list[$i] = array($file['filename'], round($file['size']/1024, 2));\n $i++;\n }\n return $list;\n }",
"public function getFiles()\n {\n $files = [];\n if($attachmentData = $this->setAttachmentData()){\n $files['attachment'] = $this->setAttachmentData();\n }\n return $files;\n }",
"function _generateFilesList() {\n return array();\n }",
"public function files()\n {\n return $this->morphMany(File::class, 'model');\n }",
"private function makeObjects($array) {\n\t\t$ret = array();\n\t\tforeach ($array as $k => $v) {\n\t\t\tif (is_array($v)) {\n\t\t\t\t$ret[$k] = $this->makeObjects($v);\n\t\t\t} else {\n\t\t\t\treturn new UploadedFile($array);\n\t\t\t}\n\t\t}\n\t\treturn $ret;\n\t}",
"public function fileListObj(){\n if( $this->_fileListObj === null ){\n $this->_fileListObj = new FlexryFileList( $this->record );\n }\n return $this->_fileListObj;\n }",
"public function getFiles(): array\n {\n try {\n if (count($this->_filesCollection) === 0) {\n $path = $this->_flysystemHelper->getCurrentPath();\n\n $contents = $this->_flysystemManager->getAdapter()->listContents($path);\n foreach ($contents as $file) {\n if ($this->validateFile($file)) {\n $this->_filesCollection[] = $file;\n }\n }\n }\n } catch (\\Exception $e) {\n $this->_messageManager->addErrorMessage($e->getMessage());\n return [];\n }\n\n return $this->_filesCollection;\n }",
"public function getFiles(){\r\n $fids = Input::get('FILES');\r\n $files = array();\r\n foreach($fids as $fid){\r\n $file = UploadedFiles::find($fid);\r\n if($file == null)\r\n return -1;\r\n $files[]=$file;\r\n }\r\n return json_encode($files);\r\n }",
"private function get_files(): array {\n\t\t$files = [];\n\n\t\tif ( $this->directory->is_readable() ) {\n\t\t\tforeach ( $this->directory->get_files() as $file ) {\n\t\t\t\tif ( ! $file->isFile() || ! $file->isReadable() || $file->getSize() === 0 ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif ( $this->extension !== null && $this->extension !== $file->getExtension() ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t$files[] = $file->getFileInfo();\n\t\t\t}\n\t\t}\n\n\t\treturn $files;\n\t}"
] |
[
"0.73008895",
"0.7200046",
"0.7177691",
"0.7170979",
"0.7119214",
"0.6905499",
"0.6840452",
"0.6820739",
"0.6813961",
"0.67185766",
"0.67185766",
"0.67185766",
"0.6703287",
"0.6664954",
"0.659127",
"0.6569479",
"0.6559155",
"0.65550023",
"0.6548631",
"0.65439093",
"0.6538253",
"0.648859",
"0.64574045",
"0.6445708",
"0.64210916",
"0.6412114",
"0.6398721",
"0.636932",
"0.63452274",
"0.6336142"
] |
0.7699946
|
0
|
Add a single FileObj.
|
function add_file_obj($path = null, $media_type = null, $size = null, $duration = null,
$container = null, $bitrate = null, $width = null, $height = null,
$frames = null, $framerate = null, $samplerate = null)
{
array_push($this->file_objs, new FileObj($path, $media_type, $size, $duration, $container, $bitrate, $width, $height, $frames, $framerate, $samplerate));
$this->update_files = 1;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function add(){\n\t\t\n\t\t// Open or create file\n\t\t$f = fopen($this->file, 'wb');\n\t\tfclose($f);\n\t}",
"function add($File){\n if(is_file($File->path)) {\n $this->files[$File->ID] = $File;\n }\n elseif(is_dir($File->path)) {\n $this->folders[$File->ID] = $File;\n }\n $this->names[] = $File->basename;\n }",
"public function addFile(\\Models\\File $file) {\n $this->files[] = $file;\n }",
"public function addFile($file);",
"public function add() {\n $this->usePostRequest();\n //$this->dbFileModel->add_file();\n }",
"function add_file_objs($file_objs) {\n array_merge($this->file_objs, $file_objs);\n $this->update_files = 1;\n }",
"public function add($file) {\n\t\tarray_push($this->files, $file);\n\t}",
"private function add_file()\n {\n \t$helperPluginManager = $this->getServiceLocator();\n \t$serviceManager = $helperPluginManager->getServiceLocator();\n \t\n \t$file = $serviceManager->get('PM/Model/Files');\n \t\n \t$result = $file->getFileById($this->pk);\n \tif($result)\n \t{\n \t\tif($result['company_name'] != '' && $result['company_id'] && $result['company_id'] > 0)\n \t\t{\n \t\t\t$company_url = $this->view->url('companies/view', array('company_id' => $result['company_id']));\n \t\t\t$this->add_breadcrumb($company_url, $result['company_name']);\n \t\t}\n \t\t\n \t\tif($result['project_name'] != '' && $result['project_id'] && $result['project_id'] > 0)\n \t\t{ \t\t\n \t\t\t$project_url = $this->view->url('projects/view', array('project_id' => $result['project_id']));\n \t\t\t$this->add_breadcrumb($project_url, $result['project_name']);\n \t\t}\n \t\t\n \t\tif($result['task_name'] != '' && $result['task_id'] && $result['task_id'] > 0)\n \t\t{\n \t\t\t$task_url = $this->view->url('tasks/view', array('task_id' => $result['task_id']));\n \t\t\t$this->add_breadcrumb($task_url, $result['task_name']);\n \t\t}\n \t\t\n \t\t$file_url = $this->view->url('pm', array('module' => 'pm','controller' => 'files','action'=>'view', 'id' => $result['file_id']), null, TRUE);\n \t\t$this->add_breadcrumb($file_url, 'File: '.$result['name'], TRUE); \t\t\n \t}\n }",
"function addFile(FileUpload $file)\n\t{\n\t\t$file->move($this->getUniqueFilePath());\n\t\t$this->query('INSERT INTO files (queueID, created, data, name) VALUES (\"' . sqlite_escape_string($this->getQueueID()) . '\",' . time() . ',\\'' . sqlite_escape_string(serialize($file)) . '\\', \\'' . sqlite_escape_string($file->getName()) . '\\')');\n\t}",
"function addFile(File $newFile)\r\n\t{\r\n\t\tif( file_exists( $this->path . '/' . $newFile->getName( ) ) )\r\n\t\t{\r\n\t\t\t$this->filesCollection->add( $newFile );\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\ttrigger_error( \"arquivo inexistente! não foi possível adicionar\" );\r\n\t\t}\r\n\t}",
"public function addFile(File $l)\n\t{\n\t\t$this->collFiles[] = $l;\n\t\t$l->setMm($this);\n\t}",
"public function add($obj) {\n\t}",
"public function addFile($file) {\n $this->files[$file->getName()] = $file;\n }",
"public function addFile($file = null){\n $client = Yii::$app->fileService;\n return $client->add(['sid'=>$this->sid,'file'=>$file]);\n }",
"public function addFile(File $file)\n {\n $file->setFileset($this);\n $this->files->add($file);\n }",
"static private function _add($object) {\n $object->_className = get_class($object);\n $exists = self::doesExist($object);\n if ($exists) {\n return self::update($object);\n }\n $fileName = self::getFileNameByObject($object);\n if (!file_exists($fileName)) {\n @mkdir(dirname($fileName), '0755', TRUE);\n file_put_contents($fileName, NULL);\n }\n $data = json_encode($object);\n $data = $data . self::getConfig('delimiter') . PHP_EOL;\n if (file_put_contents($fileName, $data, FILE_APPEND)) {\n return $object->_id;\n }\n self::fail('Can not add ' . $object->_id);\n }",
"public function add(\\wkhtmltox\\PDF\\Object $object): void {}",
"function addFile($filename){\n\t\t$this->_Items[] = new StringBufferFileItem($filename);\n\t}",
"function addFile($attachment_id, $filename, $filetype, &$blob)\n {\n $attachment_id = Misc::escapeInteger($attachment_id);\n $filesize = strlen($blob);\n $stmt = \"INSERT INTO\n \" . APP_DEFAULT_DB . \".\" . APP_TABLE_PREFIX . \"issue_attachment_file\n (\n iaf_iat_id,\n iaf_filename,\n iaf_filesize,\n iaf_filetype,\n iaf_file\n ) VALUES (\n $attachment_id,\n '\" . Misc::escapeString($filename) . \"',\n '\" . $filesize . \"',\n '\" . Misc::escapeString($filetype) . \"',\n '\" . Misc::escapeString($blob) . \"'\n )\";\n $res = DB_Helper::getInstance()->query($stmt);\n if (PEAR::isError($res)) {\n Error_Handler::logError(array($res->getMessage(), $res->getDebugInfo()), __FILE__, __LINE__);\n return false;\n } else {\n return true;\n }\n }",
"public function addTaskFile($task_id){\n\n $err=\"\";\n $file=\"\";\n // Testons si le fichier n'est pas trop gros\n if ($_FILES['myfile']['error'] == 0){\n if ($_FILES['myfile']['size'] <= MAX_FILE_SIZE)\n {\n // On peut valider le fichier et le stocker définitivement\n if (!is_dir(REPOSITORY_PATH . '/'. $task_id .'/')) {\n mkdir(REPOSITORY_PATH . '/'. $task_id .'/', 0777, true);\n }\n //move file to 'uploads' repository\n $file=REPOSITORY_PATH . '/'. $task_id .'/'. basename($_FILES['myfile']['name']);\n move_uploaded_file($_FILES['myfile']['tmp_name'], $file);\n\n //retrieve the task team id\n $bdd = $this->connectDB();\n $req=$bdd->prepare('SELECT team from task WHERE id= ?');\n $req->execute(array($task_id));\n\n if ($req->rowCount()){\n $row = $req->fetch();\n $team=$row['team'];\n }\n\n //update history\n $history_manager=new historyManager();\n $history_manager->addEvent($team,'attach_file',$task_id);\n\n }else{\n $err=\"fichier trop volumineux\";\n }\n }else{\n $err=\"erreur lors de l'envoi du fichier\";\n }\n\n\n $file_add=array(\n 'error'=>$err,\n 'file'=>$file\n );\n\n return $file_add;\n }",
"public function addFile($file)\r\n\t{\r\n\t\t$this->frame[Cache::FILES][] = $file;\r\n\t}",
"public function add ($obj) {\n\t\treturn $this->append($obj);\t\n\t}",
"function add( $obj )\r\n\t{\r\n\t\tif ( $this->signUseID == true) {\r\n\t\t\t$pos = $obj->primary_key_value();\r\n\t\t\t$this->data[ $pos ] = $obj;\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$this->data[] = $obj;\r\n\t\t}\r\n\t}",
"function addFile($path)\n {\n }",
"public function saveSingleObject() {\n\t\t$Object = $this->urlParams['ID'];\n\t\t$data = $_REQUEST;\n\t\tif ($DataObject = Object::create($Object)) {\n\t\t\tforeach ($data as $key=>$value) {\n\t\t\t\t$DataObject->$key = $value;\n\t\t\t}\n\t\t\t//$hobj = $this->processObjHasOne($DataObject, $data);\n\t\t\t//$hobj->write();\n\t\t\tforeach($_FILES as $key=>$value) {\n\t\t\t\t$IDkey = $key.'ID';\n\t\t\t\t$has_one = array();\n\t\t\t\tif($parent = get_parent_class($DataObject)) {\n\t\t\t\t\tif($parentObject = Object::create($parent)) {\n\t\t\t\t\t\tif($parentObject->has_one()) {\n\t\t\t\t\t\t\t$has_one = array_merge($DataObject->has_one(), $parentObject->has_one());\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$has_one = $DataObject->has_one();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif($has_one[$key] == 'Image' || $has_one[$key] == 'File') {\n\t\t\t\t\tif($DataObject->$IDkey < 1) {\n\t\t\t\t\t\t$subObject = Object::create($has_one[$key]);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$subObject = DataObject::get_by_id($has_one[$key], (int)$DataObject->$IDkey);\n\t\t\t\t\t\tif($_FILES[$key]['tmp_name'] != '') {\n\t\t\t\t\t\t\t$subObject->delete();\n\t\t\t\t\t\t\t$subObject = Object::create($has_one[$key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t$file_path = \"../assets/Uploads/\";\n\t\t\t\t\t$fileName = basename(md5(time()).\"_\".str_replace(\" \", \"_\", $_FILES[$key]['name']));\n\t\t\t\t\t$file_path = $file_path . $fileName; \n\t\t\t\t\tif(move_uploaded_file($_FILES[$key]['tmp_name'], $file_path)) {\n\t\t\t\t\t\t$subObject->Name = $fileName;\n\t\t\t\t\t\t$subObject->Title = $fileName;\n\t\t\t\t\t\t$subObject->Filename = $file_path;\n\t\t\t\t\t\t$subObject->ParentID = 3;\n\t\t\t\t\t\t$subObject->OwnerID = 0;\n\t\t\t\t\t}\n\t\t\t\t\t$subObject->write();\n\t\t\t\t\t$DataObject->$IDkey = $subObject->ID;\n\t\t\t\t}\n\t\t\t}\n\t\t\t$RtnID = $DataObject->write();\n\t\t\t$f = new JSONDataFormatter();\n\t\t\t$json = $f->convertDataObject($DataObject);\n\t\t\techo '{\"success\": true, \"data\":{\"ID\":\"'.$RtnID.'\",\"rows\":[]}}'; //.$json.\n\t\t} else{\n \t\techo '{\"success\": false, \"data\":{}}';\n\t\t}\n\t}",
"public function addFile($file)\n\t{\n\t\t$file = $this->addAdditionalFileData($file);\n\n\t\t$this->returnData->files[$file->field] = (object) [\n\t\t\t'name' => $file->displayName,\n\t\t\t'filename' => $file->newFilename,\n\t\t\t'basename' => $file->basename,\n\t\t\t'extension' => $file->extension,\n\t\t\t'path' => $file->path,\n\t\t\t'url' => $file->url,\n\t\t\t'fileSize' => $file->size,\n\t\t\t'isImage' => $file->isImage,\n\t\t\t'thumbnailUrl' => $file->thumbnailUrl,\n\t\t\t'imageDimensions' => $file->imageDimensions,\n\t\t\t'error' => false,\n\t\t];\n\n\t\t$this->returnData->uploaded ++;\n\n\t\treturn $file->field;\n\t}",
"public function actionAddFile()\r\n {\r\n \r\n $formData = CJSON::decode(stripslashes($_POST['formData']));\r\n $fileData = CJSON::decode($formData[\"fileData\"]);\r\n $res=0;\r\n\r\n if(count($fileData)>0 and is_array($fileData)){\r\n foreach ($fileData as $imageFile) {\r\n\r\n $file = new FileMaster();\r\n $file->Type = \"deed\";\r\n $file->LandID = $formData[\"landID\"];\r\n $file->DeedID = $formData[\"deedID\"];\r\n $file->DateCreated = date('Y-m-d');\r\n $file->Title = $imageFile[\"fileName\"];\r\n $file->Image = $imageFile[\"imageName\"];\r\n if($file->save()) $res=1;\r\n else print_r( $file->getErrors() );\r\n } \r\n \r\n }else print \"Files not found\";\r\n print CJSON::encode($res);\r\n }",
"public function add_object ($obj)\n {\n $this->_objects [] = $obj;\n }",
"public function AddFile($asFile = null)\n\t{\n $config = Config::GetInstance();\n\t\t$this->_File = $asFile;\n\t\tif($this->_File != null){\n\t\t\t$CarpetaFicheros = $config->get(\"Ruta\").'app/contenidos/proyectos/';\n\t\t\tcheckCarpeta($CarpetaFicheros);\n\t\t\tcheckCarpeta($CarpetaFicheros.$this->IdProyecto);\n\t\t\t$Nombrefichero = $this->IdProyecto.'/'.getToken(4).\"_\".normaliza($this->_File['name']);\n\t\t\t$ficheroFinal = $CarpetaFicheros.$Nombrefichero;\n\n\t\t\tif (move_uploaded_file($this->_File['tmp_name'], $ficheroFinal)) {\n\t\t\t\t// Guardarlo en la BD\n\t\t\t\t$this->Ruta = $Nombrefichero;\n\t\t\t}else{\n\t\t\t\t$this->Ruta = null;\n\t\t\t}\n\t\t}\n\t}",
"public function add_file($filepath) {\n\t\t\t$this->hasfile = true;\n\t\t\t$this->files[] = $filepath;\n\t\t}"
] |
[
"0.70125693",
"0.70001",
"0.6835182",
"0.6751971",
"0.6608704",
"0.6496924",
"0.6494521",
"0.645789",
"0.6378516",
"0.63754386",
"0.6365361",
"0.6356813",
"0.62929",
"0.6289832",
"0.62717885",
"0.6145311",
"0.6086144",
"0.6046761",
"0.59739166",
"0.5970485",
"0.59445935",
"0.5928367",
"0.5920712",
"0.5913641",
"0.5837775",
"0.5830639",
"0.5822267",
"0.58025146",
"0.5799489",
"0.57967436"
] |
0.7353056
|
0
|
Add an array of FileObj objects.
|
function add_file_objs($file_objs) {
array_merge($this->file_objs, $file_objs);
$this->update_files = 1;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function createFilesFromArray($request, $array)\n {\n foreach ($array as $key => $value) {\n if ($file = $this->client->getResourceHandler($value)) {\n $request->files[] = new FileReference([\n 'field' => $key,\n 'file' => $file,\n ]);\n } elseif (is_array($value)) {\n foreach ($value as $id => $_value) {\n if ($file = $this->client->getResourceHandler($_value)) {\n $request->files[] = new FileReference([\n 'field' => $key,\n 'id' => $id,\n 'file' => $file,\n ]);\n }\n }\n }\n }\n }",
"function add_file_obj($path = null, $media_type = null, $size = null, $duration = null, \n $container = null, $bitrate = null, $width = null, $height = null, \n $frames = null, $framerate = null, $samplerate = null)\n {\n array_push($this->file_objs, new FileObj($path, $media_type, $size, $duration, $container, $bitrate, $width, $height, $frames, $framerate, $samplerate));\n $this->update_files = 1;\n }",
"public function addMultiple(array $arrFiles): void\n {\n foreach ($arrFiles as $strFile)\n {\n $this->add($strFile);\n }\n }",
"public function add($files)\n {\n // Add just one file\n if (!is_array($file)) {\n $files = array($files);\n }\n // Add an array of files\n foreach ($files as $file) {\n if (!empty($file) && file_exists($file)) {\n $this->files[] = $file;\n }\n }\n // Return this class so we can Chain Events\n return $this;\n }",
"public function addFiles(array $files, $register = true)\n {\n foreach ($files as $file)\n $this->addFile($file, $register);\n }",
"protected function addFiles($var, $files)\n {\n if (is_array($files)) {\n $this->{$var} = array_merge($this->{$var}, $files);\n } else if (is_string($files)) {\n array_push($this->{$var}, $files);\n } else {\n throw new \\Exception('Invalid data given. Expect to be array or string.');\n }\n\n array_unique($this->{$var});\n }",
"public function addFiles(array $files, $register = true)\n {\n foreach ($files as $file)\n {\n $this->addFile($file, $register);\n }\n }",
"function set_file_objs($file_objs) {\n $this->file_objs = $file_objs;\n $this->update_files = 1;\n }",
"public static function add_files(array $files, $backref = null)\n {\n $filestorageIds = [];\n foreach ($files as $file) {\n if (is_array($file)) {\n $filename = $file['filename'];\n $created_by = isset($file['created_by']) ? $file['created_by'] : null;\n $created_on = isset($file['created_on']) ? $file['created_on'] : null;\n $link = isset($file['link']) ? $file['link'] : null;\n if (isset($file['file'])) {\n $filestorageIds[] = self::write_file($filename, $file['file'],\n $link, $backref,\n $created_on, $created_by);\n } elseif (isset($file['content'])) {\n $filestorageIds[] = self::write_content($filename, $file['content'],\n $link, $backref,\n $created_on, $created_by);\n }\n } else {\n $meta = self::meta($file, false);\n if (!$meta['backref'] && $backref !== null) {\n self::update_metadata($meta['id'], false, false, $backref);\n } elseif ($backref === null || $meta['backref'] != $backref) {\n $file = self::write_file($meta['filename'], $meta['file'],\n null, $backref);\n }\n $filestorageIds[] = $file;\n }\n }\n sort($filestorageIds);\n return $filestorageIds;\n }",
"public function addFiles(&$files) {\n\t\t$value = $this->value();\n\n\t\tif ($this->includeInEmail) {\n\t\t\tforeach ($value['added'] as $file_info) {\n\t\t\t\tif (isset($this->move_map[$file_info['tmp_name']])) {\n\t\t\t\t\t$files[$this->move_map[$file_info['tmp_name']]] = $file_info['name'];\n\t\t\t\t} else {\n\t\t\t\t\t$files[$file_info['tmp_name']] = $file_info['name'];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private function makeObjects($array) {\n\t\t$ret = array();\n\t\tforeach ($array as $k => $v) {\n\t\t\tif (is_array($v)) {\n\t\t\t\t$ret[$k] = $this->makeObjects($v);\n\t\t\t} else {\n\t\t\t\treturn new UploadedFile($array);\n\t\t\t}\n\t\t}\n\t\treturn $ret;\n\t}",
"protected function addFileFieldArray(&$metadata)\n {\n if($metadata['type']==\"text\"){\n $metadata['data']['file'] = [];\n }\n }",
"public function add($file) {\n\t\tarray_push($this->files, $file);\n\t}",
"public function add()\n\t{\n\t\tforeach (func_get_args() as $script) {\n\t\t\t$asset = $this->input_path . $script;\n\t\t\tarray_push($this->files, $asset);\n\t\t}\n\t}",
"public function addAttachment(){\n $header = $this->app->request->headers->all();\n $body = $this->app->request->getBody();\n $fileObjects = Attachment::decodeAttachment($body);\n\n // always been an array\n $arr = true;\n if ( !is_array( $fileObjects ) ){\n $fileObjects = array( $fileObjects );\n $arr = false;\n }\n\n $res = array( );\n $files=array();\n\n foreach ( $fileObjects as $fileObject )\n $files[] = $fileObject->getFile();\n\n //add the Files\n $result = Request::routeRequest(\n 'POST',\n '/file',\n array(),\n File::encodeFile($files),\n $this->_postFile,\n 'file'\n );\n\n $tempFiles = File::decodeFile($result['content']);\n\n // checks the correctness of the query\n if ( $result['status'] === 201 && isset($result['content'])){\n\n // upload files\n $countObjects = count($fileObjects);\n for($i=0;$i<$countObjects;$i++){\n if ($tempFiles[$i]->getStatus() === 201){\n $fileObjects[$i]->setFile($tempFiles[$i]);\n\n if ($files[$i] !== null)\n $files[$i]->setStatus(201);\n } else {\n $fileObjects[$i]->setStatus(409);\n $fileObjects[$i]->addMessage(\"Die Datei konnte nicht gespeichert werden.\");\n if ($files[$i] !== null)\n $files[$i]->setBody();\n }\n }\n } else {\n $this->app->response->setStatus(409);\n $this->app->response->setBody( Attachment::encodeAttachment( new Attachment()) );\n $this->app->stop();\n }\n\n // upload attachments\n $result = Request::routeRequest(\n 'POST',\n '/attachment',\n array(),\n Attachment::encodeAttachment($fileObjects),\n $this->_postAttachment,\n 'attachment'\n );\n\n if ( $result['status'] === 201 && isset($result['content'])){\n $tempAttachments = Attachment::decodeAttachment($result['content']);\n\n $countObjects = count($fileObjects);\n for($i=0;$i<$countObjects;$i++){\n $fileObjects[$i]->setStatus($tempAttachments[$i]->getStatus());\n $fileObjects[$i]->addMessages($tempAttachments[$i]->getMessages());\n\n if ($tempAttachments[$i]->getStatus() !== 201){\n $fileObjects[$i]->addMessage('Anhang konnte nicht erstellt werden.');\n $fileObjects[$i]->getFile()->setBody();\n } else\n $fileObjects[$i]->setId($tempAttachments[$i]->getId());\n\n $res[] = $fileObjects[$i];\n }\n\n } else {\n $this->app->response->setStatus(409);\n $this->app->response->setBody( Attachment::encodeAttachment( new Attachment()) );\n $this->app->stop();\n\n }\n\n if ( !$arr &&\n count( $res ) == 1 )\n $res = $res[0];\n\n $this->app->response->setBody( Attachment::encodeAttachment( $res ) );\n $this->app->response->setStatus( 201 );\n }",
"function add($p_filelist)\n {\n }",
"function get_file_objs() {\n return $this->file_objs;\n }",
"private function addFile(array &$files, string $fieldName, string $filename, string $tmpPath, string $mimeType, bool $err): void\n {\n $data = [\n 'type' => $mimeType ?: 'application/octet-stream',\n 'name' => $filename,\n 'tmp_name' => $tmpPath,\n 'error' => $err ? UPLOAD_ERR_CANT_WRITE : UPLOAD_ERR_OK,\n 'size' => filesize($tmpPath),\n ];\n\n $parts = preg_split('|(\\[[^\\]]*\\])|', $fieldName, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);\n $count = count($parts);\n if (1 === $count) {\n $files[$fieldName] = $data;\n } else {\n $current = &$files;\n foreach ($parts as $i => $part) {\n if ($part === '[]') {\n $current[] = $data;\n continue;\n }\n\n $trimmedMatch = trim($part, '[]');\n if ($i === $count -1) {\n $current[$trimmedMatch] = $data;\n } else {\n $current = &$current[$trimmedMatch];\n }\n }\n }\n }",
"function Add($aObject) {\n\tif( is_array($aObject) ) {\n\t for($i=0; $i<count($aObject); ++$i)\n\t\t$this->iObj[] = $aObject[$i];\n\t}\n\telse\n\t $this->iObj[] = $aObject;\n }",
"public function actionAddFile()\r\n {\r\n \r\n $formData = CJSON::decode(stripslashes($_POST['formData']));\r\n $fileData = CJSON::decode($formData[\"fileData\"]);\r\n $res=0;\r\n\r\n if(count($fileData)>0 and is_array($fileData)){\r\n foreach ($fileData as $imageFile) {\r\n\r\n $file = new FileMaster();\r\n $file->Type = \"deed\";\r\n $file->LandID = $formData[\"landID\"];\r\n $file->DeedID = $formData[\"deedID\"];\r\n $file->DateCreated = date('Y-m-d');\r\n $file->Title = $imageFile[\"fileName\"];\r\n $file->Image = $imageFile[\"imageName\"];\r\n if($file->save()) $res=1;\r\n else print_r( $file->getErrors() );\r\n } \r\n \r\n }else print \"Files not found\";\r\n print CJSON::encode($res);\r\n }",
"private function getFiles(array $arr, array &$options)\n {\n $files = [];\n\n foreach ($arr as $key => $val) {\n $files[$key] = new File($val, $options);\n }\n\n return $files;\n }",
"public function add_uploaded_files( $keys = null ) {\r\n\t\t\tif ( $this->is_add_uploaded ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\t$keys = ( $keys ) ? (array)$keys : null;\r\n\t\t\t$this->is_add_uploaded = true;\r\n\t\t\tforeach( $_FILES as $key => $data ) {\r\n\t\t\t\tif ( $keys && !in_array( $key, $keys ) ) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\t$data['tmp_name'] = (array)$data['tmp_name'];\r\n\t\t\t\t$data['name'] = (array)$data['name'];\r\n\t\t\t\t$data['error'] = (array)$data['error'];\r\n\t\t\t\t$data['type'] = (array)$data['type'];\r\n\t\t\t\tfor( $i = 0, $count = count( $data['tmp_name'] ); $i < $count; $i++ ) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t$file = self::FILE_OBJECT_TEMPLATE;\r\n\t\t\t\t\t$file['path'] = $data['tmp_name'][$i];\r\n\t\t\t\t\t$file['origname'] = $data['name'][$i];\r\n\t\t\t\t\t$file['name'] = self::strip_to_valid_filename( $data['name'][$i] );\r\n\t\t\t\t\t$file['uploadKey'] = $key;\r\n\t\t\t\t\t$file['mime'] = $data['type'][$i];\r\n\t\t\t\t\t\r\n\t\t\t\t\t// php.ini -> 'upload_max_filesize' exceeded error\r\n\t\t\t\t\tif ( $data['error'][$i] === UPLOAD_ERR_INI_SIZE ) {\r\n\t\t\t\t\t\t$this->add_invalid_file( $file, self::ERR_FILE_UPLOAD_SIZE ); \r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\t$this->process_file_add( $file );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}",
"private function createFiles($request)\n {\n $this->createFilesFromArray($request, $request->getParams);\n $this->createFilesFromArray($request, $request->postParams);\n }",
"public function addFile(\\Models\\File $file) {\n $this->files[] = $file;\n }",
"protected static function uploadFactory($_files = array()) {\n\n\t\t$_files = self::normalize($_files);\n\n\t\tforeach ($_files as $input => $uploads) {\n\t\t\tforeach ($uploads as $upload) {\n\t\t\t\t$object = new stdClass();\n\t\t\t\tif (is_array($upload)) {\n\t\t\t\t\tforeach ($upload as $key => $value) {\n\t\t\t\t\t\t$object->$key = $value;\n\t\t\t\t\t}\n\n\t\t\t\t\t$object->error = self::getError($object->error);\n\t\t\t\t\tif (!$object->error) {\n\t\t\t\t\t\t$object->filesize = $upload['size'];\n\t\t\t\t\t\t$object->mimetype = self::detectMimeType($upload);\n\t\t\t\t\t\t$object->simpletype = self::parseSimpletype($object->mimetype);\n\t\t\t\t\t\t$object->path = $upload['tmp_name'];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tself::$uploads[$input][] = $object;\n\t\t\t}\n\t\t}\n\n\t\treturn self::$uploads;\n\t}",
"function addFiles($files /*Only Pass Array*/) {\t\t\n\t\t$dirs = array();\n\t\t$directory = 'Plugins/';\n\t\tif ($handle = opendir($directory)) {\n\t\t\twhile (false !== ($file = readdir($handle))) {\n\t\t\t\tif ($file != '.' and $file != '..' and is_dir($directory.$file)) {\n\t\t\t\t\t$dirs[] = $file;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tclosedir($handle);\n\n\t\tforeach($files as $file) {\n\t\t\tif (is_file($file)) { //directory check\n\t\t\t\tforeach($dirs as $dir) {\n\t\t\t\t\t$dirName = 'Plugins/' . $dir;\n\t\t\t\t\t$fileName = substr($file, 0, -3);\n\t\t\t\t\t\n\t\t\t\t\tif($dirName == $fileName) {\n\t\t\t\t\t\t$this->zipDirectory($dirName,$dirName);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t$data = implode(\"\",file($file));\n\t\t\t\t$this->addFile($data,$file);\n\t\t\t}\n }\n }",
"private function _setFileObject() {\n try {\n $fileArry = $_FILES;\n $_FILES = array();\n\n $fName = $fType = $fTmpName = $fErr = $fSize = array();\n foreach ($fileArry as $key => $val) {\n $fArr = explode('_', $key);\n $fKey = $fArr[0];\n $fPos = $fArr[1];\n\n $fName[] = $val['name'];\n $fType[] = $val['type'];\n $fTmpName[] = $val['tmp_name'];\n $fErr[] = $val['error'];\n $fSize[] = $val['size'];\n\n $_FILES[$fKey] = array(\n 'name' => $fName,\n 'type' => $fType,\n 'tmp_name' => $fTmpName,\n 'error' => $fErr,\n 'size' => $fSize\n );\n }\n } catch (Exception $ex) {\n throw new Exception('Error in _setFileObject function - ' . $ex);\n }\n }",
"function add($File){\n if(is_file($File->path)) {\n $this->files[$File->ID] = $File;\n }\n elseif(is_dir($File->path)) {\n $this->folders[$File->ID] = $File;\n }\n $this->names[] = $File->basename;\n }",
"public static function add ($type, Array $files) {\n if (in_array($type, array_keys(self::$_assets))) {\n self::$_assets[$type] = array_merge(self::$_assets[$type], $files);\n }\n }",
"public function createByFiles($files_array = array(), $customHeaders = array()){\n\t\t$_api = new API('',true);\n\t\t$response = $this->createByType($files_array, $_api, 'FILES', $customHeaders);\n\t\t$response_success = $response['response']['Success'];\n\t\t$success_processes = array();\n\t\tforeach ($response_success as $process_response){\n\t\t\tarray_push($success_processes, new CopyleaksProcess($process_response['ProcessId'],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t$process_response['CreationTimeUTC'],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t$this->loginToken->authHeader(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t$this->typeOfService,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t$process_response['Filename']));\n\t\t}\n\t\t$response_errors = $response['response']['Errors'];\n\t\t$errors = array();\n\t\tforeach ($response_errors as $process_response){\n\t\t\tarray_push($errors, new Errorhandler((int)$process_response['ErrorCode'],\n\t\t\t\t\t\t\t\t\t\t\t\t\t $process_response['ErrorMessage'],\n\t\t\t\t\t\t\t\t\t\t\t\t\t $process_response['Filename']));\n\t\t}\n\t\treturn array($success_processes, $errors);\n\t}"
] |
[
"0.6812675",
"0.6635221",
"0.64833426",
"0.62343603",
"0.6229129",
"0.62261343",
"0.6195148",
"0.6179248",
"0.6073326",
"0.59869665",
"0.5982539",
"0.5934057",
"0.591297",
"0.5854468",
"0.5798723",
"0.5764501",
"0.5759937",
"0.5738621",
"0.57349485",
"0.57124025",
"0.5704694",
"0.5693428",
"0.5647209",
"0.5639475",
"0.5632143",
"0.5617889",
"0.56077373",
"0.55937946",
"0.55890644",
"0.55877167"
] |
0.7707787
|
0
|
Set an array of FileObj objects.
|
function set_file_objs($file_objs) {
$this->file_objs = $file_objs;
$this->update_files = 1;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function _setFileObject() {\n try {\n $fileArry = $_FILES;\n $_FILES = array();\n\n $fName = $fType = $fTmpName = $fErr = $fSize = array();\n foreach ($fileArry as $key => $val) {\n $fArr = explode('_', $key);\n $fKey = $fArr[0];\n $fPos = $fArr[1];\n\n $fName[] = $val['name'];\n $fType[] = $val['type'];\n $fTmpName[] = $val['tmp_name'];\n $fErr[] = $val['error'];\n $fSize[] = $val['size'];\n\n $_FILES[$fKey] = array(\n 'name' => $fName,\n 'type' => $fType,\n 'tmp_name' => $fTmpName,\n 'error' => $fErr,\n 'size' => $fSize\n );\n }\n } catch (Exception $ex) {\n throw new Exception('Error in _setFileObject function - ' . $ex);\n }\n }",
"function add_file_objs($file_objs) {\n array_merge($this->file_objs, $file_objs);\n $this->update_files = 1;\n }",
"public function setFiles($files)\n {\n if (is_array($files))\n $this->files = collect($files);\n else\n $this->files = $files;\n }",
"function set_files(&$files){\n $this->_files = $files;\n }",
"private function createFilesFromArray($request, $array)\n {\n foreach ($array as $key => $value) {\n if ($file = $this->client->getResourceHandler($value)) {\n $request->files[] = new FileReference([\n 'field' => $key,\n 'file' => $file,\n ]);\n } elseif (is_array($value)) {\n foreach ($value as $id => $_value) {\n if ($file = $this->client->getResourceHandler($_value)) {\n $request->files[] = new FileReference([\n 'field' => $key,\n 'id' => $id,\n 'file' => $file,\n ]);\n }\n }\n }\n }\n }",
"public function setFiles(array $files)\n {\n $this->_files = $files;\n return $this;\n }",
"public function setPostFiles(array $post_files) {}",
"public function setFiles(Array $files) {\n\t\t$this->apiConfig['files'] = $files;\n\t\treturn $this;\n\t}",
"public function setFile($file=null){\r\n if(is_array($file)){\r\n $this->file=$file;\r\n }else{\r\n $this->file = null;\r\n }\r\n }",
"public function files() {\n\t\t$files = $this->ApiFile->fileList($this->path);\n\t\t$this->set('files', $files);\n\t}",
"private function makeObjects($array) {\n\t\t$ret = array();\n\t\tforeach ($array as $k => $v) {\n\t\t\tif (is_array($v)) {\n\t\t\t\t$ret[$k] = $this->makeObjects($v);\n\t\t\t} else {\n\t\t\t\treturn new UploadedFile($array);\n\t\t\t}\n\t\t}\n\t\treturn $ret;\n\t}",
"protected function _initFileObjects()\n {\n\n return $this;\n }",
"protected function _initFileObjects()\n {\n\n return $this;\n }",
"protected function _initFileObjects()\n {\n\n return $this;\n }",
"protected function _initFileObjects()\n {\n\n return $this;\n }",
"private function set_files()\n\t\t{\n\t\t\t$this->files = Filesystem::ls(PATH_POSTS, '*', 'xml', false, false, true);\n\t\t\t$this->files_count = count( $this->files );\n\t\t}",
"function get_file_objs() {\n return $this->file_objs;\n }",
"protected function _initFileObjects()\n {\n $this->_irudiaFso = new \\Iron_Model_Fso($this, $this->getIrudiaSpecs());\n $this->_banerraFso = new \\Iron_Model_Fso($this, $this->getBanerraSpecs());\n\n return $this;\n }",
"public function setFiles($value)\n {\n return $this->set('Files', $value);\n }",
"function set_filenames($filename_array)\n\t{\n\t\tif (!is_array($filename_array))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tforeach($filename_array as $handle => $filename)\n\t\t{\n\t\t\t$this->set_filename($handle, $filename);\n\t\t}\n\n\t\treturn true;\n\t}",
"public function initFiles()\n\t{\n\t\tif ($this->collFiles === null) {\n\t\t\t$this->collFiles = array();\n\t\t}\n\t}",
"function setObjects(array $inArray = array()) {\n\t\treturn $this->_setItem($inArray);\n\t}",
"function setObjects(array $inArray = array()) {\n\t\treturn $this->_setItem($inArray);\n\t}",
"public function file($files) {\n\t\tforeach ((array) $files as $val) {\n\t\t\t$this->files[] = $val;\n\t\t}\n\n\t\treturn $this;\n\t}",
"public function setFileInfo(array $info)\n {\n $this->_info = $info;\n\n return $this;\n }",
"public function updateFiles($object)\n {\n $files = serialize($this->fileUploader->getFiles(array('folder' => self::FILES_FOLDER . $this->getId($object))));\n\n $entity = $this->getOrCreateByFolder($this->getId($object));\n $entity->setFiles($files);\n\n $this->em->persist($entity);\n $this->em->flush();\n }",
"public function setObjects(array $objects): void\n {\n $this->objects = $objects;\n $this->objects[ObjectManagerInterface::class]['i'] = $this;\n $this->objects[get_class($this)]['i'] = $this;\n }",
"public function testGetSetFiles()\n {\n // test initial state of files in a fresh change object.\n $change = new Change;\n $files = $change->getFiles();\n $this->assertTrue(is_array($files), 'Expect an array from getFiles.');\n $this->assertSame(0, count($files), 'There should be no files associated with a fresh change.');\n\n // create two submitted changes, and one pending\n $file1 = new File;\n $filespec1 = '//depot/change1.txt';\n $file1->setFilespec($filespec1)->add()->setLocalContents('content1')->submit('File 1');\n\n $file2 = new File;\n $filespec2 = '//depot/change2.txt';\n $file2->setFilespec($filespec2)->add()->setLocalContents('content2')->submit('File 2');\n\n $file3 = new File;\n $filespec3 = '//depot/change3.txt';\n $file3->setFilespec($filespec3)->add()->setLocalContents('content3');\n $this->assertTrue($file3->isOpened(), 'File #3 should be opened.');\n\n // test that we get the appropriate files back for each change\n $change = Change::fetch(1);\n $this->assertFalse($change->isPending(), 'Change 1 should not be pending.');\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 1.');\n $this->assertSame($filespec1.'#1', $files[0], 'Expected filespec for change 1.');\n\n $change = Change::fetch(2);\n $this->assertFalse($change->isPending(), 'Change 2 should not be pending.');\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 2.');\n $this->assertSame($filespec2.'#1', $files[0], 'Expected filespec for change 2.');\n\n $change = Change::fetch('default');\n $this->assertTrue($change->isPending(), 'Change 3 should be pending.');\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 3.');\n $this->assertSame($filespec3, $files[0], 'Expected filespec for change 3.');\n\n // test that setting a comment on a pending changelist does not influence\n // getFiles handling.\n $change->setDescription('This is the default change.');\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 3.');\n $this->assertSame($filespec3, $files[0], 'Expected filespec for change 3.');\n\n // test that we cannot setFiles on a submitted changelist.\n try {\n $change = Change::fetch(2);\n $change->setFiles(array($filespec3));\n $this->fail('Unexpected success setting files on a submitted changelist.');\n } catch (SpecException $e) {\n $this->assertSame(\n 'Cannot set files on a submitted change.',\n $e->getMessage(),\n 'Expected error setting files on a submitted changelist'\n );\n } catch (\\Exception $e) {\n $this->fail(\n 'Unexpected exception setting files on a submitted changelist: ('\n . get_class($e) .') '. $e->getMessage()\n );\n }\n\n // test that we can setFiles on a pending changelist, and that getFiles\n // returns the same list.\n $change = new Change;\n $change->setId('default');\n $change->setFiles(array($filespec1));\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 3 after setFiles.');\n $this->assertSame($filespec1, $files[0], 'Expected filespec for change 3 after setFiles.');\n\n // test that we can set the files to null to empty the list, and that we get\n // empty list in return.\n $change->setFiles(null);\n $files = $change->getFiles();\n $this->assertSame(0, count($files), 'There should now be no files associated with change 3.');\n\n // test that fetching a new change object returns the original files.\n $change = Change::fetch('default');\n $files = $change->getFiles();\n $this->assertSame(1, count($files), 'There should be one file associated with change 3.');\n $this->assertSame($filespec3, $files[0], 'Expected filespec for change 3.');\n\n // test that we can setFiles with an iterator of P4\\File objects.\n $files = new FieldedIterator;\n $files[] = $file1;\n $files[] = $file2;\n $files[] = $file3;\n $change->setFiles($files);\n $files = $change->getFiles();\n $this->assertSame(3, count($files), 'There should now be three files associated with change 3.');\n $this->assertSame($filespec1, $files[0], 'Expected filespec for change 3, file 0.');\n $this->assertSame($filespec2, $files[1], 'Expected filespec for change 3, file 1.');\n $this->assertSame($filespec3, $files[2], 'Expected filespec for change 3, file 2.');\n }",
"protected static function uploadFactory($_files = array()) {\n\n\t\t$_files = self::normalize($_files);\n\n\t\tforeach ($_files as $input => $uploads) {\n\t\t\tforeach ($uploads as $upload) {\n\t\t\t\t$object = new stdClass();\n\t\t\t\tif (is_array($upload)) {\n\t\t\t\t\tforeach ($upload as $key => $value) {\n\t\t\t\t\t\t$object->$key = $value;\n\t\t\t\t\t}\n\n\t\t\t\t\t$object->error = self::getError($object->error);\n\t\t\t\t\tif (!$object->error) {\n\t\t\t\t\t\t$object->filesize = $upload['size'];\n\t\t\t\t\t\t$object->mimetype = self::detectMimeType($upload);\n\t\t\t\t\t\t$object->simpletype = self::parseSimpletype($object->mimetype);\n\t\t\t\t\t\t$object->path = $upload['tmp_name'];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tself::$uploads[$input][] = $object;\n\t\t\t}\n\t\t}\n\n\t\treturn self::$uploads;\n\t}",
"public function uploadMultiple()\n {\n\n foreach ($this->uploads['multiple'] as $field) {\n $files = [];\n\n if (is_array(Request::file($field))) {\n\n foreach (Request::file($field) as $file) {\n\n if ($file instanceof UploadedFile) {\n $files[] = Uploader::upload($file, $this->upload_folder . '/' . $field);\n }\n\n }\n\n }\n\n $this->setFileMultiple($field, $files);\n }\n\n }"
] |
[
"0.67921007",
"0.6766793",
"0.6723891",
"0.6552626",
"0.6476096",
"0.62589777",
"0.61255443",
"0.60883117",
"0.5911723",
"0.5898012",
"0.58622843",
"0.5849475",
"0.5849475",
"0.5849475",
"0.5849475",
"0.57740444",
"0.5697608",
"0.5683663",
"0.5671209",
"0.5651089",
"0.5609057",
"0.5604914",
"0.5604914",
"0.55864435",
"0.5554678",
"0.5540523",
"0.55340314",
"0.55212265",
"0.55166274",
"0.5504481"
] |
0.7764088
|
0
|
Get an array of MetaObj objects.
|
function get_meta_objs() {
return $this->meta_objs;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getMetas(): object\n {\n return (object) $this->metas->pluck('value', 'key')->toArray();\n }",
"public function getObjectArray()\n {\n $this->_cache->load($this->_cache_key, $this->_data_version);\n\n return $this->_cache->objects;\n }",
"public abstract function getObjects();",
"public function get_meta() : array\n {\n return $this->additional['meta'] ?? [];\n }",
"public function getMeta(): array;",
"public static function getAll() : array {\n return self::$objects;\n }",
"public function getMeta(): array\n {\n return [];\n }",
"public function allMeta(): array\n {\n /** @var HasMetadataInterface $this */\n $meta = Meta::metable(static::class, $this->id)\n ->get(['key', 'value', 'type']);\n\n $data = [];\n foreach ($meta as $m) {\n $data[$m->key] = $m->value;\n }\n\n return $data;\n }",
"public function getObjects()\n {\n return get_object_vars($this);\n }",
"public function getObjects()\n {\n return get_object_vars($this);\n }",
"function GetAll()\n {\n $this->abrir_conexion();\n $sql = \"SELECT * FROM metas order by meta_id\";\n $resultado = mysqli_query($this->db, $sql);\n\n while ($row = mysqli_fetch_assoc($resultado)) {\n $datos[] = $row;\n }\n\n return $datos;\n $this->cerrar_conexion();\n }",
"protected function getMetas(): array\n {\n return $this->metas;\n }",
"public function toArray() : array{\n return get_object_vars( $this );\n }",
"public function objectToArray()\n {\n return get_object_vars($this);\n }",
"public function getInstances() {\n\t\t$instances = array();\n\t\tforeach ($this->objects as $objectName => $information) {\n\t\t\tif (isset($information['i'])) {\n\t\t\t\t$instances[$objectName] = $information['i'];\n\t\t\t}\n\t\t}\n\t\treturn $instances;\n\t}",
"public function getAllMeta()\n {\n return $this->meta;\n }",
"public function getAllMeta()\n {\n return $this->meta;\n }",
"public static function arrayWithObjects()\n {\n return new RsoArray(func_get_args());\n }",
"public function getAllMeta() {\n return $this->meta;\n }",
"public function getArray(): array\n {\n $output = [];\n foreach (get_object_vars($this) as $key => $value) {\n $output[$key] = gettype($value) === 'object' ? $value->getArray() : $value;\n }\n return $output;\n }",
"public function getObjects()\n {\n return $this->objects;\n }",
"public function __toArray(): array\n {\n return call_user_func('get_object_vars', $this);\n }",
"public function get(): array\n {\n return Arr::map(\n $this->query->get(),\n fn($item) => call_user_func($this->class . \"::__createInstanceFromArray\", $item)\n );\n }",
"public function toArray(): array\r\n {\r\n return get_object_vars($this);\r\n }",
"public function toArray() :array {\n return get_object_vars($this);\n }",
"public function toArray() {\n return get_object_vars($this);\n }",
"public function get_all(){\n return get_object_vars($this);\n }",
"function toArray() {\n\t\treturn get_object_vars($this);\n\t}",
"function toArray() {\n\t\treturn get_object_vars($this);\n\t}",
"function toArray() {\n\t\treturn get_object_vars($this);\n\t}"
] |
[
"0.71918005",
"0.71327776",
"0.6921699",
"0.6880615",
"0.68551975",
"0.6837565",
"0.6800118",
"0.67317593",
"0.66250485",
"0.66250485",
"0.65229803",
"0.6522807",
"0.6520747",
"0.6467978",
"0.64327335",
"0.6414906",
"0.6403882",
"0.63921",
"0.6357611",
"0.63242716",
"0.62987405",
"0.62986064",
"0.62974447",
"0.629545",
"0.6284647",
"0.62630594",
"0.624667",
"0.62430865",
"0.62430865",
"0.62430865"
] |
0.7523737
|
0
|
Add a single MetaObj.
|
function add_meta_obj($meta_name = null, $vocab = null, $text = null, $lang = null, $attrs = null) {
array_push($this->meta_objs, new MetaObj($meta_name, $vocab, $text, $lang, $attrs));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function add_meta( &$object, $meta );",
"public function add_meta( &$object, $meta ) {\n\t\t}",
"public function add_meta( &$object, $meta ) {\n\t\t// TODO: Implement add_meta() method.\n\t}",
"public function addMeta(Meta $meta) {\n $this->meta[$meta->getName()] = $meta;\n }",
"function add_metadata($meta_type, $object_id, $meta_key, $meta_value, $unique = \\false)\n {\n }",
"public function add($obj) {\n\t}",
"function add($meta = array(), $post_id = 0, $is_main = \\false)\n {\n }",
"function add( $obj )\r\n\t{\r\n\t\tif ( $this->signUseID == true) {\r\n\t\t\t$pos = $obj->primary_key_value();\r\n\t\t\t$this->data[ $pos ] = $obj;\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$this->data[] = $obj;\r\n\t\t}\r\n\t}",
"public static function add_meta( $object_id, $meta_key, $meta_value, $unique = false ) {\n\n\t\tadd_term_meta( $object_id, $meta_key, $meta_value, $unique );\n\t}",
"public function addMetaData(metadataObj $obj) {\n\t\tarray_push($this->arrMetadata, $obj);\n\t}",
"public function add($object): void;",
"public function add ($obj) {\n\t\treturn $this->append($obj);\t\n\t}",
"public function add_object ($obj)\n {\n $this->_objects [] = $obj;\n }",
"public function add($info, $meta)\r\n {\r\n\r\n }",
"public function add_meta( $key, $value, $unique = false );",
"static public function add($object) {\n self::debug('*ADD*');\n $object = self::checkRequirments($object);\n return self::_add($object);\n }",
"function add_meta($post_id)\n {\n }",
"function add_meta_objs($meta_objs) {\n array_merge($this->meta_objs, $meta_objs);\n }",
"function addObject($inObject) {\n\t\tif ( !$inObject instanceof mofilmEvent ) {\n\t\t\t$inObject = mofilmEvent::getInstance($inObject);\n\t\t}\n\t\treturn $this->_setValue($inObject);\n\t}",
"public function add($obj, $key = NULL) {\n try{\n if ($key == NULL) {\n $this->Items[] = $obj;\n } else {\n $this->Items[$key] = $obj;\n }\n }catch(Exception $e){\n throw $e;\n }\n }",
"function add_post_meta($post_id, $meta_key, $meta_value, $unique = \\false)\n {\n }",
"static private function _add($object) {\n $object->_className = get_class($object);\n $exists = self::doesExist($object);\n if ($exists) {\n return self::update($object);\n }\n $fileName = self::getFileNameByObject($object);\n if (!file_exists($fileName)) {\n @mkdir(dirname($fileName), '0755', TRUE);\n file_put_contents($fileName, NULL);\n }\n $data = json_encode($object);\n $data = $data . self::getConfig('delimiter') . PHP_EOL;\n if (file_put_contents($fileName, $data, FILE_APPEND)) {\n return $object->_id;\n }\n self::fail('Can not add ' . $object->_id);\n }",
"function wck_add_meta(){\n\t\tparent::wck_add_meta();\n\t}",
"public function add();",
"public function add();",
"public function add(\\wkhtmltox\\PDF\\Object $object): void {}",
"public function addObject($object)\n\t{\n\t\t$this->tableObjects[$this->count++] = $object;\n\t}",
"public function addMeta($key, $value)\n {\n $this->meta[$key] = $value;\n }",
"public function add(Post $post);",
"public function add(Post $post);"
] |
[
"0.77229536",
"0.7447476",
"0.7144841",
"0.6860587",
"0.68502325",
"0.6821461",
"0.6820942",
"0.66351885",
"0.65816915",
"0.6574995",
"0.6540033",
"0.6502844",
"0.64895934",
"0.64275295",
"0.6325971",
"0.62230426",
"0.6124011",
"0.606383",
"0.60581183",
"0.60247993",
"0.59782755",
"0.594358",
"0.58992463",
"0.58759815",
"0.58759815",
"0.5812918",
"0.5806818",
"0.5800714",
"0.5781945",
"0.5781945"
] |
0.76216483
|
1
|
Add an array of MetaObj objects.
|
function add_meta_objs($meta_objs) {
array_merge($this->meta_objs, $meta_objs);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function add_meta_obj($meta_name = null, $vocab = null, $text = null, $lang = null, $attrs = null) {\n array_push($this->meta_objs, new MetaObj($meta_name, $vocab, $text, $lang, $attrs));\n }",
"public function addMetaData(array $meta)\n {\n $this->meta = array_merge($this->meta, $meta);\n return $this;\n }",
"public function add_meta( &$object, $meta );",
"public function addMetaData(metadataObj $obj) {\n\t\tarray_push($this->arrMetadata, $obj);\n\t}",
"public function addMetaboxes() {}",
"function add($object){if(is_array($this->arrayObj))\n \n {$tmp = count($this->arrayObj);$this->arrayObj[$tmp]=$object;\n\n }else{$this->arrayObj[0]=$object;}\n }",
"function add($object){if(is_array($this->arrayObj))\n \n {$tmp = count($this->arrayObj);$this->arrayObj[$tmp]=$object;\n\n }else{$this->arrayObj[0]=$object;}\n }",
"public function add_meta( &$object, $meta ) {\n\t\t}",
"public function addAllFromArray(array $items)\n {\n foreach ($items as $object) {\n $this->attach($object);\n }\n }",
"function Add($aObject) {\n\tif( is_array($aObject) ) {\n\t for($i=0; $i<count($aObject); ++$i)\n\t\t$this->iObj[] = $aObject[$i];\n\t}\n\telse\n\t $this->iObj[] = $aObject;\n }",
"function set_meta_objs($meta_objs) {\n $this->meta_objs = $meta_objs;\n }",
"public function addMetas(array $metas)\n {\n $this->metas->addMany($metas);\n\n return $this;\n }",
"public function addMeta(array $attributes)\n {\n $this->meta[] = $attributes;\n return $this;\n }",
"public function add_meta( &$object, $meta ) {\n\t\t// TODO: Implement add_meta() method.\n\t}",
"public function addItems(array $items);",
"public function add_meta_content(Array $parameters = array()){\n $this->metatags[] = $parameters;\n }",
"public function addMetadatas(array $metadatas)\n {\n foreach ($metadatas as $metadata) {\n if (isset($this->metadatas[$metadata->getClassName()])) {\n $this->metadatas[$metadata->getClassName()]->merge($metadata);\n }\n\n $this->metadatas[$metadata->getClassName()] = $metadata;\n }\n }",
"public function add(array $elements);",
"function add_metadata($meta_type, $object_id, $meta_key, $meta_value, $unique = \\false)\n {\n }",
"public function addMeta(Meta $meta) {\n $this->meta[$meta->getName()] = $meta;\n }",
"protected function addCustomFieldset()\n {\n $this->meta = array_merge_recursive(\n $this->meta,\n [\n static::NOTE_FIELD_INDEX => $this->getFieldsetConfig(),\n ]\n );\n }",
"public function setMeta(array $data)\n {\n $this->meta = [];\n\n foreach ($data as $key => $item) {\n $this->addMeta($key, $item);\n }\n }",
"public function add(...$items);",
"public function Add(array $input)\n {\n $this->insertAll($input);\n $this->resetProperties();\n }",
"public function Add($aObject)\n\t{\n\t\tif (is_array($aObject) && safe_count($aObject) > 0) {\n\t\t\t$cl = $aObject[0];\n\t\t\tif (($cl instanceof Plot\\IconPlot)) {\n\t\t\t\t$this->AddIcon($aObject);\n\t\t\t} elseif (($cl instanceof Text\\Text)) {\n\t\t\t\t$this->AddText($aObject);\n\t\t\t} else {\n\t\t\t\t$n = safe_count($aObject);\n\t\t\t\tfor ($i = 0; $i < $n; ++$i) {\n\t\t\t\t\t$this->iObj[] = $aObject[$i];\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (($aObject instanceof Plot\\IconPlot)) {\n\t\t\t\t$this->AddIcon($aObject);\n\t\t\t} elseif (($aObject instanceof Text\\Text)) {\n\t\t\t\t$this->AddText($aObject);\n\t\t\t} else {\n\t\t\t\t$this->iObj[] = $aObject;\n\t\t\t}\n\t\t}\n\t}",
"public function addOrders(ArrayObject $orders)\n {\n $this->orders = array_merge($this->orders, $orders);\n }",
"public function arrayByAddingObject($object)\n {\n $array = $this->array;\n $array[] = $object;\n return new RsoArray($array);\n }",
"public function add($info, $meta)\r\n {\r\n\r\n }",
"public function addData(array $arr);",
"function add($meta = array(), $post_id = 0, $is_main = \\false)\n {\n }"
] |
[
"0.665217",
"0.6426755",
"0.6382091",
"0.6363904",
"0.61551964",
"0.61149925",
"0.61149925",
"0.6091335",
"0.60860676",
"0.60126007",
"0.5994277",
"0.58388317",
"0.57677644",
"0.5764114",
"0.5704747",
"0.56324196",
"0.56276315",
"0.562419",
"0.56137663",
"0.5595443",
"0.5565687",
"0.5511553",
"0.5496308",
"0.5484727",
"0.548179",
"0.547566",
"0.5463086",
"0.5459287",
"0.5444372",
"0.5438983"
] |
0.7775638
|
0
|
Set all meta_objs (replaces existing ones).
|
function set_meta_objs($meta_objs) {
$this->meta_objs = $meta_objs;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function add_meta_objs($meta_objs) {\n array_merge($this->meta_objs, $meta_objs);\n }",
"protected function _populateMetas()\n {\n $nodes = $this->_catalog->getModel('nodes');\n $metas = $this->_catalog->getModel('metas');\n $collection = $nodes->fetchAll();\n foreach ($collection as $node) {\n $meta = $metas->fetchNew();\n $meta->node_id = $node->id;\n $meta->save();\n }\n }",
"public function setMetas($meta)\n {\n if (empty($meta)) {\n return;\n }\n\n foreach ($meta as $key => $value) {\n if (is_callable($value) && !is_string($value)) {\n $value = $value($this);\n }\n\n $this->setMeta($key, $value);\n }\n }",
"protected function applyMeta(): void\n {\n $this->state->mergeIntoArray('tca.meta', $this->cache->get(static::TCA_META_CACHE_KEY, []));\n }",
"protected function addCustomFieldset()\n {\n $this->meta = array_merge_recursive(\n $this->meta,\n [\n static::NOTE_FIELD_INDEX => $this->getFieldsetConfig(),\n ]\n );\n }",
"public function setMeta(array $data)\n {\n $this->meta = [];\n\n foreach ($data as $key => $item) {\n $this->addMeta($key, $item);\n }\n }",
"protected function setMeta(array $meta)\n\t{\n\t\t$this->meta = $meta;\n\n\t\tforeach ($this->meta as $key => $value)\n\t\t{\n\t\t\t$this->router->setGlobal(sprintf('route_%d_%s', $this->index, $key), $value);\n\t\t}\n\t}",
"public function setMetaFrom($object);",
"public function setObjects(array $objects): void\n {\n $this->objects = $objects;\n $this->objects[ObjectManagerInterface::class]['i'] = $this;\n $this->objects[get_class($this)]['i'] = $this;\n }",
"abstract public function setMetas();",
"public function setMeta(array $meta)\n {\n $this->meta = $meta;\n }",
"function setMetas($metas = array())\n\t{\n\t\t$defaultMetas = array('Robots'=>'all');\n\t\t$finalMetas = array_merge($defaultMetas,$metas);\n\t\t$metas = '';\n\t\tforeach($finalMetas as $name => $content)\n\t\t\t$metas .= '<meta name=\"'.$name.'\" content=\"'.htmlentities($content).'\" />';\n\t\t$this->setVar(\"meta\",$metas);\n\t}",
"public function setMeta( KCommandContext $context )\n {\n $data = $context->data;\n \n $entity = $this->getItem();\n \n $plugins = KConfig::unbox( pick( $data->plugins, array() ) );\n \n $entity->setPluginsValues( $plugins );\n }",
"private function import_metas() {\n\t\tWPSEO_Meta::replace_meta( '_aioseop_description', WPSEO_Meta::$meta_prefix . 'metadesc', $this->replace );\n\t\tWPSEO_Meta::replace_meta( '_aioseop_keywords', WPSEO_Meta::$meta_prefix . 'metakeywords', $this->replace );\n\t\tWPSEO_Meta::replace_meta( '_aioseop_title', WPSEO_Meta::$meta_prefix . 'title', $this->replace );\n\t}",
"protected function set_meta( $meta ) {\n\t\t$this->meta = wp_parse_args( $meta, $this->meta );\n\t}",
"public function setMeta(array $meta=null) {\n\t\t$this->meta = $meta;\n\t}",
"public function reset() {\n $this->setEntities([]);\n $this->setLinks([]);\n $this->setMetadata([]);\n $this->setIncludes([]);\n $this->setDynamic();\n $this->setCacheability(new CacheableMetadata());\n }",
"function update_meta_cache($meta_type, $object_ids)\n {\n }",
"function brag_rest_update_flamingo( $value, $object, $field_name ) {\n \n\tforeach ($value as $field => $data) {\n\t\tupdate_post_meta( $object->ID, $field, $data );\n\t}\n}",
"function modifyMeta(array $meta)\n {\n $meta = array_replace_recursive(\n $meta,\n [\n $this->groupContainer => [\n 'children' => $this->getGeneralChildren(),\n ],\n ]\n );\n return $meta;\n }",
"public function setMeta(array $meta = null)\n {\n $this->meta = $meta;\n }",
"public function update_meta( &$object, $meta ) {\n\t\t}",
"public function bulkSet(array $args = array()) {\n foreach ($args as $argName => $arg) {\n $this->__set($argName, $arg);\n }\n }",
"private function updateMetas() {\n if( is_null($this->Metas) )\n $this->Metas = array();\n\n $this->Metas[0] = '<meta http-equiv=\"Content-Type\" content=\"' . $this->ContentType . '; charset=' . $this->Charset . '\" />';\n }",
"public function modifyMeta(array $meta)\n {\n $this->meta = $meta;\n $this->addCustomFieldset();\n\n return $this->meta;\n }",
"public function hydrate($data){\n foreach ($data as $key => $value){\n $method = 'set'.ucfirst($key);\n \n if (method_exists($this, $method)){\n $this->$method($value);\n }\n }\n }",
"public function setAll($values) {\n\t\tif (isset($values[self::$primaryKey[$this->table]])) {\n\t\t\t$this->originalData = $values;\n\t\t}\n\t\telse {\n\t\t\t$this->modifiedData = $values;\n\t\t}\n\t}",
"private function import_metas() {\n\t\tWPSEO_Meta::replace_meta( '_aioseop_description', WPSEO_Meta::$meta_prefix . 'metadesc', false );\n\t\tWPSEO_Meta::replace_meta( '_aioseop_keywords', WPSEO_Meta::$meta_prefix . 'metakeywords', false );\n\t\tWPSEO_Meta::replace_meta( '_aioseop_title', WPSEO_Meta::$meta_prefix . 'title', false );\n\t}",
"private function set_metafile_fields(){\n\n\t\t\t// add more fields for your requierements\n $custom_fields = array( \n\t\t\t\t'field_name1'\t=> __( 'field name 1', self::$plugin_obj->class_name ),\n\t\t\t\t'field_name2'\t=> __( 'field name 2', self::$plugin_obj->class_name ),\n\t\t\t\t'field_name3'\t=> __( 'field name 3', self::$plugin_obj->class_name ),\n\t\t\t );\n\n\n foreach( $custom_fields as $custom_attrname => $custom_value){\n self::$metafile_fields->$custom_attrname = $custom_value;\n } \n\n }",
"public function clearMetas(): void\n {\n $this->metas()->delete();\n }"
] |
[
"0.71170723",
"0.6608214",
"0.6229818",
"0.61225766",
"0.6116649",
"0.6080004",
"0.59958893",
"0.5939378",
"0.5899221",
"0.58914727",
"0.5853595",
"0.5843925",
"0.58142984",
"0.57941264",
"0.56809384",
"0.56768036",
"0.56698644",
"0.56613135",
"0.5641368",
"0.5616914",
"0.5606668",
"0.5584723",
"0.5565394",
"0.5554427",
"0.55508596",
"0.55291665",
"0.55187523",
"0.55137455",
"0.5495598",
"0.54823303"
] |
0.7991882
|
0
|
Add a single tag.
|
function add_tag($tag) {
array_push($this->tags, $tag);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function addTag()\n {\n $params = array();\n $params['db_link'] = $this->db;\n $params['ticket_id'] = $_REQUEST['ticket_id'];\n \n $data = array();\n $tagTitle = stripslashes(trim($_REQUEST['tag']));\n $tag = Utils::sanitize($tagTitle);\n \n $Tickets = new Tickets($params);\n $Tickets->addTag($tag, $tagTitle);\n \n echo '[{\"isError\":0, \"message\":\"Successfully added tag\"}]';\n exit;\n }",
"public function add() {\n\t\t$this->display ( 'admin/tag/add.html' );\n\t}",
"public function addTag($tag)\n {\n $this->tags[] = $tag;\n $this->processTags();\n }",
"public function actionAdd()\n\t{\n\t\t$tag = array(\n\t\t\t'tag_id' => 0\n\t\t);\n\n\t\treturn $this->_getTagAddEditResponse($tag);\n\t}",
"function add_tag($tag) {\n if (!is_object($tag)) {\n return false;\n }\n if (!isset($tag->name) or\n !isset($tag->value) or\n !isset($tag->ticketid) or\n isset($tag->id)){\n\n return false;\n }\n\n if (!insert_record('helpdesk_ticket_tag', $tag)) {\n return false;\n }\n\n // Lets make an update saying we added this tag.\n $dat = new stdClass;\n $dat->ticketid = $this->id;\n $dat->notes = get_string('tagaddedwithnameof', 'block_helpdesk') . $tag->name;\n $dat->status = HELPDESK_NATIVE_UPDATE_TAG;\n $dat->type = HELPDESK_UPDATE_TYPE_DETAILED;\n\n if(!$this->add_update($dat)) {\n notify(get_string('cantaddupdate', 'block_helpdesk'));\n }\n\n // Update modified time and refresh the ticket.\n $this->store();\n $this->fetch();\n return true;\n }",
"public function addTag($tag) {\n $this->init(); //it would actually work without it\n\n if (!in_array($tag,$this->tags)) {\n $tag = trim($tag);\n\n $this->tags['new'][] = $tag;\n return true;\n }\n\n return false;\n }",
"public function insert(Tag $tag);",
"public function addTag( $data = array() ) { \t\n\n $url = $this->_base_url . 'tags';\n $options['data']['tag'] = $data;\n $options['post'] = true;\n $this->_callAPI($url, $options);\n }",
"public function addTag(Tag $tag)\n {\n $tag->addArticle($this);\n $this->tags[] = $tag;\n }",
"public function inserirTag(Tag $tag){\n $this->tag[] = $tag;\n }",
"public function add_tag($tag, $message = null) {\n\t\t\tif ($message === null) {\n\t\t\t\t$message = $tag;\n\t\t\t}\n\t\t\treturn $this->run(\"tag -a $tag -m \" . escapeshellarg($message));\n\t\t}",
"public function addTag($tag)\r\n {\r\n if (!empty($this->data['props']['taglist'])) {\r\n $this->data['props']['taglist'] .= ',' . $tag;\r\n } else {\r\n $this->data['props']['taglist'] = $tag;\r\n }\r\n }",
"public function addSingleTag($tag, $id = null)\n {\n try {\n if (!empty($id)) {\n $result = $this->database->prepare('UPDATE tags SET name = :name WHERE id = :id');\n } else {\n $result = $this->database->prepare('INSERT INTO tags (name) VALUES (:name)');\n }\n $result->bindParam('name', $tag);\n if (!empty($id)) {\n $result->bindParam('id', $id);\n }\n if ($result->execute()) {\n if (!empty($id)) {\n return true;\n } else {\n $tag_id = $this->database->lastInsertId();\n return $tag_id;\n }\n } \n } catch (Exception $e) {\n $e->getMessage();\n }\n return false;\n }",
"public function addNewTag($tagName) {\n $sql = \"INSERT INTO t_tags VALUES(?)\";\n $select = $this->con->prepare($sql);\n $select->bind_param(\"s\", $tagName);\n $select->execute();\n $select->close();\n }",
"public function addTag($tagData)\n {\n $this->clickButton('add_new_tag');\n $this->fillTagSettings($tagData);\n $this->saveForm('save_tag');\n }",
"public function addTag(Tag $tag)\n {\n $tag->addTask($this);\n $this->tags->add($tag);\n }",
"private function addTag($tagName)\n\t{\n\t\tif (is_null($tagName) || $tagName == '') return;\n\n\t\t// return Builder\n $tag = Tag::where('tag', '=', $tagName)->first();\n\t\t\n\t\tif (is_object($tag))\n\t\t{\n\t\t\t// To increment count number to exists tag\n\t\t\tTagUtil::incrementCount($tagName, 1, $tag);\n\n\t\t\t// return collection object\n\t\t\t$tagPivot = $this->tags()->wherePivot('tag_id', '=', $tag->id)->get();\n\t\t\t\n\t if ($tagPivot->count() === 0)\n\t {\n\t\t\t\t// To attach a related item to taggable\n\t \t$this->tags()->attach($tag->id);\n\t }\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$tag = new Tag(['tag' => $tagName]);\n\t\t\t\n\t\t\t$this->tags()->save($tag);\t\n\t\t}\n\t}",
"private function ADD_SINGLE_TAG($tagName)\n {\n $tagName = trim($tagName);\n\n if(strlen($tagName) == 0) {\n return;\n }\n\n $tagSlug = TaggUtility::SLUG($tagName);\n\n $checkTag = $this->tagModel::FIND($tagSlug);\n if(!empty($checkTag)){\n if(is_array($checkTag)){\n return $checkTag[0]->tagIdentifier;\n }else{\n return $checkTag->tagIdentifier;\n }\n }\n\n $tagged = [\n 'tag_name' => $tagName,\n 'tag_slug' => $tagSlug,\n 'meta_title' => ucfirst($tagName)\n ];\n\n $id = $this->tagModel::INSERT($tagged);\n\n if($id) return $id;\n return false;\n }",
"public static function add_tag($name) {\n global $wpdb;\n $data = array(\n 'name' => $name\n );\n\n // Si no se inserta nada, retornamos false\n if (!$wpdb->insert('XTB_TAGS', $data, array('%s'))) {\n return null;\n }\n\n return $wpdb->insert_id;\n //return true;\n }",
"public function addTag(Tag $tag)\n {\n throw new \\RuntimeException('Adding a tag on an ImageVariant is not supported.', 1371237593);\n }",
"public function addTag($tag)\n {\n $tag = \"{$tag}\";\n if (!in_array($tag, $this->_tags)) {\n $this->_tags[] = $tag;\n }\n return $this;\n }",
"public function tagged( $tag );",
"protected function addTag($tag_name, $value = null)\n {\n $this->startElement($tag_name);\n\n if ($value !== null) {\n $this->writeRaw($value);\n }\n\n $this->endElement();\n }",
"public function create()\n {\n $tag = new Tag();\n $this->vars['tag'] = $tag;\n $this->title = __('system.tag_add');\n $this->template = 'admin.tag';\n \n return $this->renderOutput();\n }",
"public function addTag(string $name, TagInterface $tag, string $placement = null);",
"public function add();",
"public function add();",
"function TestRun_add_tag($run_id, $tag_name) {\n\t// Create call\n\t$call = new xmlrpcmsg('TestRun.add_tag', array(new xmlrpcval($run_id, \"int\"), new xmlrpcval($tag_name, \"string\")));\n\n\t// Do call and return value\n\treturn do_call($call);\n}",
"public function addTag($id){\n\t\t$crl = curl_init();\n\t\tcurl_setopt($crl, CURLOPT_URL, $this->buildTagUrl($id) );\n\t\tcurl_setopt($crl, CURLOPT_CUSTOMREQUEST, \"PUT\"); \n\t\tcurl_setopt($crl, CURLOPT_RETURNTRANSFER, true);\n\t\tcurl_setopt($crl, CURLOPT_HTTPHEADER, array( \n\t\t\t\t'Authorization: Bearer '.$this->getToken(), \n\t\t\t 'Content-Type: application/json',\n\t\t\t 'Accept: application/vnd.vimeo.*+json;version=3.4'\n\t\t\t) \n\t\t);\n\t\tcurl_setopt($crl, CURLOPT_SSL_VERIFYPEER, true); \n\t\t$result = curl_exec($crl);\n\t}",
"private function createNewTag(object $tag) \n {\n if(Tag::find($tag->id)) return;\n\n $newTag = new Tag;\n \n $newTag->id = $tag->id;\n $newTag->name = $tag->name;\n $newTag->description = $tag->description;\n\n if(isset($tag->category->id)){\n\n $category = Category::firstOrCreate([\n 'id' => $tag->category->id,\n 'name' => $tag->category->name,\n 'description' => $tag->category->description,\n ]);\n\n $newTag->category()->associate($category->fresh());\n }\n\n $newTag->save();\n }"
] |
[
"0.74001855",
"0.7233407",
"0.71393776",
"0.7124893",
"0.7008241",
"0.6906902",
"0.6870894",
"0.6810829",
"0.66979295",
"0.6675728",
"0.664657",
"0.66265845",
"0.66088784",
"0.65411377",
"0.64965725",
"0.64663833",
"0.6450908",
"0.6389864",
"0.63801575",
"0.63384336",
"0.63283485",
"0.6273421",
"0.62225187",
"0.6212793",
"0.6132307",
"0.6128721",
"0.6128721",
"0.6094875",
"0.60899",
"0.60818505"
] |
0.7541282
|
0
|
Add a single Chapter.
|
function add_chapter($offset, $title = null, $description = null) {
array_push($this->chapters, new Chapter($offset, $title, $description));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function addChapter(Request $request){\n \t//Validate request\n \t$this->validate($request,[\n \t\t'chapterTitle' => 'required',\n 'chapterThumbnail' => 'required',\n 'chapterContent' => 'required',\n 'comic_id' => 'required',\n \t]);\n \treturn Chapter::create([\n \t\t'chapterTitle' => $request->chapterTitle,\n 'chapterThumbnail' => $request->chapterThumbnail,\n 'chapterContent' => $request->chapterContent,\n 'comic_id' => $request->comic_id,\n\n \t]);\n }",
"public function created(Chapter $chapter)\n {\n //\n }",
"public function addChapter($chapterTitle,$htmlName,$content,$autoSplit = FALSE, $externalReferences = EPub::EXTERNAL_REF_REPLACE_IMAGES, $baseDir = \"\")\n {\n $this->epub->addChapter($chapterTitle, $htmlName, $content,$autoSplit,$externalReferences,$baseDir);\n }",
"function insertChapter($a_as_sub = false)\n\t{\n\t\tglobal $ilCtrl, $lng;\n\t\t\n\t\tinclude_once(\"./Modules/LearningModule/classes/class.ilChapterHierarchyFormGUI.php\");\n\t\t\n\t\t$num = ilChapterHierarchyFormGUI::getPostMulti();\n\t\t$node_id = ilChapterHierarchyFormGUI::getPostNodeId();\n\t\t\n\t\tif ($a_as_sub)\t\t// as subchapter\n\t\t{\n\t\t\tif (!ilChapterHierarchyFormGUI::getPostFirstChild())\t// insert under parent\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = \"\";\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// we shouldnt end up here\n\t\t\t{\n\t\t\t\t$ilCtrl->redirect($this, \"showHierarchy\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\telse\t\t\t\t// as chapter\n\t\t{\n\t\t\tif (!ilChapterHierarchyFormGUI::getPostFirstChild())\t// insert after node id\n\t\t\t{\n\t\t\t\t$parent_id = $this->tree->getParentId($node_id);\n\t\t\t\t$target = $node_id;\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// insert as first child\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = IL_FIRST_NODE;\n\t\t\t}\n\t\t}\n\t\tfor ($i = 1; $i <= $num; $i++)\n\t\t{\n\t\t\t$chap = new ilStructureObject($this->content_object);\n\t\t\t$chap->setType(\"st\");\n\t\t\t$chap->setTitle($lng->txt(\"cont_new_chap\"));\n\t\t\t$chap->setLMId($this->content_object->getId());\n\t\t\t$chap->create();\n\t\t\tilLMObject::putInTree($chap, $parent_id, $target);\n\t\t}\n\n\t\t$ilCtrl->redirect($this, \"view\");\n\t}",
"function add_chapters($chapters) {\n array_merge($this->chapters, $chapters);\n }",
"public function create($chapter_id)\n { \n $files=[];\n $source = 'url';\n if(auth()->user()->role == 'Student' || (!empty(auth()->user()->role['role_id']) && auth()->user()->role['role_id'] == AppHelper::USER_STUDENT)) {\n abort(404);\n }\n\n $chapter = Chapters::select('chapters.*', 'i_classes.name as className', 'subjects.name as subjectName')\n ->leftJoin('i_classes', 'chapters.class_id', '=', 'i_classes.id')\n ->leftJoin('subjects', 'chapters.subject_id', '=', 'subjects.id')\n ->where('chapters.id', $chapter_id)\n ->first();\n\n if(!$chapter) {\n abort(404);\n }\n $chaptertopic = null;\n return view('backend.chapterstopics.add', compact('chapter','chaptertopic', 'files', 'source'));\n }",
"function addComment($chapterId)\r\n\t{\r\n\t\t$commentManager = new CommentManager();\r\n\t\t\r\n\t\trequire_once('view/insertCommentView.php');\r\n\t}",
"public function addChapter() {\n\t\t$chaptermanager = $this->chapterManager;\n\t\t$chapter = new Chapter();\n\t\t$chapter->setBookId( $_POST['bookSelect'] );\n\t\t$chapter->setTitle( $_POST['titrechapitre'] );\n\t\t$chapter->setContent( $_POST['content'] );\n\t\t$resum = $chaptermanager->resumContent( $_POST['content'] );\n\t\t$chapter->getResum( $resum );\n\t\t$chapter->setImageId( '0' );\n\t\tif ( $_FILES['image']['name'] == '' ) {\n\t\t\t$Chaptersansimage = $this->chapterManager;\n\t\t\t$addchaptersansimage = $Chaptersansimage->addChapter( $chapter );\n\t\t\tif ( $addchaptersansimage === false ) {\n\t\t\t\t$_SESSION['error'] = 'Impossible d\\'ajouter votre chapitre !';\n\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t} else {\n\t\t\t\t$_SESSION['success'] = 'Votre chapitre a bien été ajouté';\n\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t}\n\t\t} else {\n\t\t\t$imagemanager = $this->imagesManager;\n\t\t\t$uploadResult = $imagemanager->upload();\n\t\t\t$chapter->setImageId( $uploadResult['imageId'] );\n\t\t\tif ( $uploadResult['result'] ) {\n\t\t\t\t$ChapterManager = $this->chapterManager;\n\t\t\t\t$Addchapter = $ChapterManager->addChapter( $chapter );\n\t\t\t\tif ( $Addchapter === false ) {\n\t\t\t\t\t$_SESSION['error'] = 'Votre chapitre n\\'a pas pu être ajouté';\n\t\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t\t} else {\n\t\t\t\t\t$chapterId = $Addchapter;\n\t\t\t\t\t$modifimage = $imagemanager->modifChapterImage( $chapterId );\n\t\t\t\t\tif ( $modifimage === false ) {\n\t\t\t\t\t\t$_SESSION['error'] = 'Votre image n\\'a pas pu être ajoutée au chapitre';\n\t\t\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$_SESSION['success'] = 'Votre chapitre a bien été ajouté avec son image';\n\t\t\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t$_SESSION['error'] = 'Votre image n\\'a pas pu être téléchargée';\n\t\t\t\t$this->redirect( 'Location: index.php?action=boutonaddchapter' . \"#endpage\" );\n\t\t\t}\n\t\t}\n\t}",
"public function boutonaddchapter() {\n\t\t$bookManager = $this->booksManager;\n\t\t$books = $bookManager->getBooks();\n\t\tif ( isset( $_POST['bookSelect'] ) ) {\n\t\t\t$bookSelect = $bookManager->getBook( $_POST['bookSelect'] );\n\t\t\t$bookId = $bookManager->getBook( $_POST['bookSelect'] )->getId();\n\t\t\t$selectedbook = $bookSelect->getTitle();\n\t\t} else {\n\t\t\t$selectedbook = \"Choisissez votre livre\";\n\t\t}\n\t\t$success = ( isset( $_SESSION['success'] ) ? $_SESSION['success'] : null );\n\t\t$error = ( isset( $_SESSION['error'] ) ? $_SESSION['error'] : null );\n\t\t$bookId = ( isset( $bookId ) ? $bookId : null );\n\t\t$bookSelect = ( isset( $_POST['bookSelect'] ) ? $_POST['bookSelect'] : null );\n\t\t$myView = new View( 'boutonaddchapter' );\n\t\t$myView->renderView( array(\n\t\t\t'books' => $books,\n\t\t\t'bookId' => $bookId,\n\t\t\t'selectedbook' => $selectedbook,\n\t\t\t'success' => $success,\n\t\t\t'error' => $error,\n\t\t\t'bookSelect' => $bookSelect\n\t\t) );\n\t}",
"function insertSubchapter()\n\t{\n\t\tglobal $ilCtrl;\n\t\t\n\t\t$this->insertChapter(true);\n\t}",
"public function add() {\n if ($this->id == 0) {\n $reponse = $this->bdd->prepare('INSERT INTO chapitres SET title = :title, body = :body');\n $reponse->execute([\n 'body'=>$this->body, \n 'title'=>$this->title\n ]);\n }\n }",
"public function saved(Chapter $chapter)\n {\n //\n }",
"function copyChapter()\n\t{\n\t\t$this->copyItems(\"subchap\");\n\t}",
"public function add($title, $description, $parentId = null);",
"public function show(Chapter $chapter)\n {\n //\n }",
"public function chapter()\n {\n return $this->belongsTo('App\\Chapter');\n }",
"public function add()\n {\n $category = new stdClass();\n $category->category_id = null;\n $category->name = null;\n $data = [\n 'page' => 'add',\n 'row' => $category\n ];\n $this->template->load('template', 'product/category/category_add', $data);\n }",
"public function add(){\n\t\t\t\n\t\t\trequire_once('views/category/add.php');\n\t\t}",
"function insert_chapter($data)\n\t{ \n\t\t$this->db->insert('course_chapter_add',$data);\n return true;\n\t}",
"public function edit(Chapter $chapter)\n {\n //\n }",
"public function edit(Chapter $chapter)\n {\n //\n }",
"public function createChapter ($number, $title, $content)\n {\n $db = $this->dbConnect ();\n $req = $db->prepare ('INSERT INTO chapter (number_chapter, publication_date,title,content,modification_date) VALUES(?, NOW(), ?,?,NOW()) ');\n $req->execute (array ( $number, $title, $content ));\n return $req;\n }",
"public function add(Category $category);",
"public function addCitation($author, $chapter, $content, $date, $image){\n // Récuperation de la connection à la base de donnée\n // Rappel: pour récupérer une variable défini en dehors de la fonction, on préfixera la variable par \"global\"\n global $bdd;\n\n // Requete d'ajout en base de donnée\n mysqli_query($bdd, \"INSERT INTO citation (author, chapter, content, date, image) VALUES ('$author', '$chapter', '$content', '$date', '$image')\");\n }",
"public function add(Section $section)\n {\n $this->sections[$section->getKey()] = $section;\n }",
"function insertChapterClip($a_as_sub = false, $a_return = \"view\")\n\t{\n\t\tglobal $ilUser, $ilCtrl, $ilLog;\n\t\t\n\t\t$ilLog->write(\"Insert Chapter From Clipboard\");\n\t\t\n\t\tinclude_once(\"./Modules/LearningModule/classes/class.ilChapterHierarchyFormGUI.php\");\n\t\t\n\t\t$node_id = ilChapterHierarchyFormGUI::getPostNodeId();\n\t\t$first_child = ilChapterHierarchyFormGUI::getPostFirstChild();\n\n\t\tif ($a_as_sub)\t\t// as subchapter\n\t\t{\n\t\t\tif (!$first_child)\t// insert under parent\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = \"\";\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// we shouldnt end up here\n\t\t\t{\n\t\t\t\t$ilCtrl->redirect($this, \"showHierarchy\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\telse\t// as chapter\n\t\t{\n\t\t\tif (!$first_child)\t// insert after node id\n\t\t\t{\n\t\t\t\t$parent_id = $this->tree->getParentId($node_id);\n\t\t\t\t$target = $node_id;\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// insert as first child\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = IL_FIRST_NODE;\n\t\t\t\t\n\t\t\t\t// do not move a chapter in front of a page\n\t\t\t\t$childs = $this->tree->getChildsByType($parent_id, \"pg\");\n\t\t\t\tif (count($childs) != 0)\n\t\t\t\t{\n\t\t\t\t\t$target = $childs[count($childs) - 1][\"obj_id\"];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t// copy and paste\n\t\t$chapters = $ilUser->getClipboardObjects(\"st\", true);\n\t\t$copied_nodes = array();\n\t\t\n\t\tforeach ($chapters as $chap)\n\t\t{\n\t\t\t$ilLog->write(\"Call pasteTree, Target LM: \".$this->content_object->getId().\", Chapter ID: \".$chap[\"id\"]\n\t\t\t\t.\", Parent ID: \".$parent_id.\", Target: \".$target);\n\t\t\t$cid = ilLMObject::pasteTree($this->content_object, $chap[\"id\"], $parent_id,\n\t\t\t\t$target, $chap[\"insert_time\"], $copied_nodes,\n\t\t\t\t(ilEditClipboard::getAction() == \"copy\"));\n\t\t\t$target = $cid;\n\t\t}\n\t\tilLMObject::updateInternalLinks($copied_nodes);\n\n\t\tif (ilEditClipboard::getAction() == \"cut\")\n\t\t{\n\t\t\t$ilUser->clipboardDeleteObjectsOfType(\"pg\");\n\t\t\t$ilUser->clipboardDeleteObjectsOfType(\"st\");\n\t\t\tilEditClipboard::clear();\n\t\t}\n\t\t\n\t\t$this->content_object->checkTree();\n\t\t$ilCtrl->redirect($this, $a_return);\n\t}",
"public function add($title, $link = null, $cPath = null) {\n global $lC_Category;\n \n if ($cPath != null) {\n $cPathArr = explode('_', $cPath);\n $cp = '';\n foreach ($cPathArr as $id) {\n $lC_Category = new lC_Category($id);\n $this->_path[] = lc_link_object(lc_href_link(FILENAME_DEFAULT, 'cPath=' . $cp . $id), $lC_Category->getTitle($id));\n $cp .= $id . '_';\n }\n }\n \n if ( !empty($link) ) {\n $title = lc_link_object($link, $title);\n }\n\n if ( !empty($title) ) {\n $this->_path[] = $title;\n }\n }",
"public static function insert($title, $text, $storyID, $additionalFields = array()) {\n $keys = $values = '';\n foreach ($additionalFields as $key => $value) {\n $keys .= ',' . $key;\n $values .= \",'\" . escapeString($value) . \"'\";\n }\n if (CHAPTER_IN_FILE) {\n $sql = \"INSERT INTO\tsls\" . SLS_N . \"_chapter\n\t\t\t\t\t(storyID, title\n\t\t\t\t\t\" . $keys . \")\n\t\t\tVALUES\t\t(\" . $storyID . \", '\" . escapeString($title) . \"'\n\t\t\t\t\t\" . $values . \")\";\n } else {\n $sql = \"INSERT INTO\tsls\" . SLS_N . \"_chapter\n\t\t\t\t\t(storyID, title, text\n\t\t\t\t\t\" . $keys . \")\n\t\t\tVALUES\t\t(\" . $storyID . \", '\" . escapeString($title) . \"', '\" . escapeString($text) . \"'\n\t\t\t\t\t\" . $values . \")\";\n }\n WCF::getDB()->sendQuery($sql);\n $chapterID = WCF::getDB()->getInsertID();\n if (CHAPTER_IN_FILE) {\n $file = CHAPTER_FILE_PATH . \"/\" . $authorID . \"/\" . $chapterID . \"_cache.txt\";\n file_put_contents($file, escapeString($text));\n }\n return $chapterID;\n }",
"public function add() {\n\t\tglobal $User;\n\t\t$question = Validation::setVar('question', 'post');\n\t\t$response = Validation::setVar('response', 'post');\n\t\t$page = Validation::setVar('page', 'post');\n\t\t$data = array('question' => $question, 'response' => $response, 'page' => $page);\n\t\t$dao = new FAQDAO();\n\t\t$pointer = &$dao;\n\t\t$FAQ = new FAQ($pointer);\n\t\t\n\t\tif ( isset($question[1]) && isset($response[1]) && is_numeric($page)) {\n\t\t\t$AppPage = AppPageFactory::getInstance();\n\t\t\t$AppPage->setPropertie('id', $page);\n\t\t\tif ( $AppPage->exists()) {\n\t\t\t\t$FAQ->add($data);\n\t\t\t\tif ( $User->updateFAQ($FAQ)) {\n\t\t\t\t\t$this->setMessage('Pergunta adicionada com sucesso.');\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t$this->setMessage('Erro ao adicionar pergunta.');\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$this->setMessage('A página selecionada não existe.');\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\t$this->setMessage('Erro ao cadastrar pergunta no sistema.');\n\t\t}\n\t\t$this->redirect('FAQ');\n\t}",
"function add(){\n\t\tif(!$this->checkLogin()){\n\t\t\tredirect(base_url());\n\t\t}\n\n\t\t$pageData['header_title'] = APP_NAME.' | Add Document Category';\n\t\t$pageData['page_title'] = 'Document Category Management';\n\t\t$pageData['parent_menu'] = 'document_management';\n\t\t$pageData['child_menu'] = 'document_category';\n\n\t\t$this->load->view('admin/document_management/category/add', $pageData);\n\t}"
] |
[
"0.7016111",
"0.67454344",
"0.6696928",
"0.64727324",
"0.6341173",
"0.6328242",
"0.61628366",
"0.60892314",
"0.60637563",
"0.6013534",
"0.5883887",
"0.5783847",
"0.5746625",
"0.56990206",
"0.56968594",
"0.55565405",
"0.5541706",
"0.550126",
"0.5495831",
"0.5449782",
"0.5449782",
"0.5423681",
"0.5398437",
"0.5396494",
"0.5350664",
"0.53285766",
"0.53140765",
"0.5309627",
"0.5304975",
"0.5300411"
] |
0.7102798
|
0
|
Add an array of Chapter objects.
|
function add_chapters($chapters) {
array_merge($this->chapters, $chapters);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function add_chapter($offset, $title = null, $description = null) {\n array_push($this->chapters, new Chapter($offset, $title, $description));\n }",
"function set_chapters($chapters) {\n $this->chapters = $chapters;\n }",
"static function getAllChapters()\n {\n global $db;\n $reqChapter = $db->prepare('SELECT * FROM chapters');\n $reqChapter->execute([]);\n $chapters = array();\n while ($data = $reqChapter->fetch()) {\n $chapter = new Chapter();\n $chapter->setIdChapter($data['id_chapter']);\n $chapter->setChaptTitle($data['chapt_title']);\n $chapter->setChaptSentence($data['chapt_sentence']);\n $chapter->setChaptContent($data['chapt_content']);\n $chapter->setChaptDateCreated($data['chapt_datecreated']);\n $chapters[] = $chapter;\n }\n return $chapters;\n }",
"public function addChapter($chapterTitle,$htmlName,$content,$autoSplit = FALSE, $externalReferences = EPub::EXTERNAL_REF_REPLACE_IMAGES, $baseDir = \"\")\n {\n $this->epub->addChapter($chapterTitle, $htmlName, $content,$autoSplit,$externalReferences,$baseDir);\n }",
"private function InsertNewChapters(array $ImportedChapters, DriverInterface $driver):int {\n\t\t$numberChapters = 0;\n\t\t$chapters = [];\n\t\tforeach ($ImportedChapters as $importedChapterSub) {\n\t\t\tforeach ($importedChapterSub as $importedChapter) {\n\t\t\t\t$tmp = [\n\t\t\t\t\t'idNovel' => $importedChapter['idNovel'],\n\t\t\t\t\t'no' => $importedChapter['no'],\n\t\t\t\t\t'noCode' => isset($importedChapter['noCode']) ? $importedChapter['noCode'] : null,\n\t\t\t\t\t'arc' => $importedChapter['arc'],\n\t\t\t\t\t'title' => $importedChapter['title'],\n\t\t\t\t\t'dateOriginalPost' => $importedChapter['dateOriginalPost'],\n\t\t\t\t\t'dateOriginalRevision' => $importedChapter['dateOriginalRevision'],\n\t\t\t\t];\n\t\t\t\t\n\t\t\t\t/**\n\t\t\t\t * Once I removed adding the Content for the sake of improving speed,\n\t\t\t\t * because of Kakuyomu, I will also remove the date part now, because there would be conflicts later.\n\t\t\t\t */\n\n\t\t\t\t//$chapter = new Chapter($tmp);\n\t\t\t\t//if (!$tmp['dateOriginalRevision']) {\n\t\t\t\t//\t// Because of Kakuyomu, makes an extra external access. Syosetsu works straight\n\t\t\t\t//\t$updateMeta = $driver->getUpdateMeta($chapter);\n\t\t\t\t//\t$tmp['dateOriginalPost'] = $updateMeta['dateOriginalPost'];\n\t\t\t\t//\t$tmp['dateOriginalRevision'] = $updateMeta['dateOriginalRevision'];\n\t\t\t\t//}\n\t\t\t\t//$tmp['textOriginal'] = $driver->importContent($chapter);\n\n\t\t\t\t$chapters[] = $tmp;\n\t\t\t\t++$numberChapters;\n\t\t\t}\n\t\t}\n\t\tChapter::insert($chapters);\n\t\treturn $numberChapters;\n\t}",
"public function addChildDocuments(array &$docs) {}",
"public function getChapters() \n\t{\n\n\t\t$req = $this->db->query('SELECT id, article_number, title FROM articles ORDER BY date_creation');\n\n\t\t$req->execute();\n\n\t\t$values = $req->fetchAll(PDO::FETCH_ASSOC);\n\n\t\tforeach ($values as $value)\n\t\t{\n\t\t\t$chapters[] = new Article($value);\n\t\t}\n\n\t\treturn $chapters;\n\t}",
"public function addCategories(array $categories);",
"function copyChapter()\n\t{\n\t\t$this->copyItems(\"subchap\");\n\t}",
"function insertChapter($a_as_sub = false)\n\t{\n\t\tglobal $ilCtrl, $lng;\n\t\t\n\t\tinclude_once(\"./Modules/LearningModule/classes/class.ilChapterHierarchyFormGUI.php\");\n\t\t\n\t\t$num = ilChapterHierarchyFormGUI::getPostMulti();\n\t\t$node_id = ilChapterHierarchyFormGUI::getPostNodeId();\n\t\t\n\t\tif ($a_as_sub)\t\t// as subchapter\n\t\t{\n\t\t\tif (!ilChapterHierarchyFormGUI::getPostFirstChild())\t// insert under parent\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = \"\";\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// we shouldnt end up here\n\t\t\t{\n\t\t\t\t$ilCtrl->redirect($this, \"showHierarchy\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\telse\t\t\t\t// as chapter\n\t\t{\n\t\t\tif (!ilChapterHierarchyFormGUI::getPostFirstChild())\t// insert after node id\n\t\t\t{\n\t\t\t\t$parent_id = $this->tree->getParentId($node_id);\n\t\t\t\t$target = $node_id;\n\t\t\t}\n\t\t\telse\t\t\t\t\t\t\t\t\t\t\t\t\t// insert as first child\n\t\t\t{\n\t\t\t\t$parent_id = $node_id;\n\t\t\t\t$target = IL_FIRST_NODE;\n\t\t\t}\n\t\t}\n\t\tfor ($i = 1; $i <= $num; $i++)\n\t\t{\n\t\t\t$chap = new ilStructureObject($this->content_object);\n\t\t\t$chap->setType(\"st\");\n\t\t\t$chap->setTitle($lng->txt(\"cont_new_chap\"));\n\t\t\t$chap->setLMId($this->content_object->getId());\n\t\t\t$chap->create();\n\t\t\tilLMObject::putInTree($chap, $parent_id, $target);\n\t\t}\n\n\t\t$ilCtrl->redirect($this, \"view\");\n\t}",
"public function addChapter(Request $request){\n \t//Validate request\n \t$this->validate($request,[\n \t\t'chapterTitle' => 'required',\n 'chapterThumbnail' => 'required',\n 'chapterContent' => 'required',\n 'comic_id' => 'required',\n \t]);\n \treturn Chapter::create([\n \t\t'chapterTitle' => $request->chapterTitle,\n 'chapterThumbnail' => $request->chapterThumbnail,\n 'chapterContent' => $request->chapterContent,\n 'comic_id' => $request->comic_id,\n\n \t]);\n }",
"function get_chapters() {\n return $this->chapters;\n }",
"public function addChildren(array $children);",
"function insertSubchapter()\n\t{\n\t\tglobal $ilCtrl;\n\t\t\n\t\t$this->insertChapter(true);\n\t}",
"public function add_sections()\n {\n }",
"protected function addCategories(array $array)\n {\n foreach ($array as $category)\n {\n factory(Category::class)->create(['name' => $category]);\n }\n }",
"public function addFromArray(array $array)\r\n {\r\n foreach ($array as $child) {\r\n $this->add($child);\r\n }\r\n return $this;\r\n }",
"public function created(Chapter $chapter)\n {\n //\n }",
"static function getChapterList($a_lm_id)\n\t{\n\t\t$tree = new ilTree($a_lm_id);\n\t\t$tree->setTableNames('lm_tree', 'lm_data');\n\t\t$tree->setTreeTablePK(\"lm_id\");\n\n\t\t$chapters = array();\n\t\t$ndata = $tree->getNodeData($tree->readRootId());\n\t\t$childs = $tree->getSubtree($ndata);\n\t\tforeach ($childs as $child)\n\t\t{\n\t\t\tif($child[\"type\"] == \"st\")\n\t\t\t{\n\t\t\t\t$chapters[] = $child;\n\t\t\t}\n\n\t\t}\n\t\treturn $chapters;\n\t}",
"public function run() {\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Mr. Sherlock Holmes\",\n\t\t\t'number' => \"Chapter One\",\n\t\t\t'order' => 1,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/1.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Curse of the Baskervilles\",\n\t\t\t'number' => \"Chapter Two\",\n\t\t\t'order' => 2,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/2.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Problem\",\n\t\t\t'number' => \"Chapter Three\",\n\t\t\t'order' => 3,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/3.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Sir Henry Baskerville\",\n\t\t\t'number' => \"Chapter Four\",\n\t\t\t'order' => 4,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/4.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Three Broken Threads\",\n\t\t\t'number' => \"Chapter Five\",\n\t\t\t'order' => 5,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/5.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Baskerville Hall\",\n\t\t\t'number' => \"Chapter Six\",\n\t\t\t'order' => 6,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/6.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Stapletons of Merripit House\",\n\t\t\t'number' => \"Chapter Seven\",\n\t\t\t'order' => 7,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/7.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"First Report of Dr. Watson\",\n\t\t\t'number' => \"Chapter Eight\",\n\t\t\t'order' => 8,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/8.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Light upon the Moor\",\n\t\t\t'number' => \"Chapter Nine\",\n\t\t\t'order' => 9,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/9.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Extract from the Diary of Dr. Watson\",\n\t\t\t'number' => \"Chapter Ten\",\n\t\t\t'order' => 10,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/10.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Man on the Tor\",\n\t\t\t'number' => \"Chapter Eleven\",\n\t\t\t'order' => 11,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/11.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Death on the Moor\",\n\t\t\t'number' => \"Chapter Twelve\",\n\t\t\t'order' => 12,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/12.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Fixing the Nets\",\n\t\t\t'number' => \"Chapter Thirteen\",\n\t\t\t'order' => 13,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/13.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Hound of the Baskervilles\",\n\t\t\t'number' => \"Chapter Fourteen\",\n\t\t\t'order' => 14,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/14.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"A Retrospection\",\n\t\t\t'number' => \"Chapter Fifteen\",\n\t\t\t'order' => 15,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/15.html\"))\n\t\t]);\n\t}",
"public function addItems(array $items);",
"function addChildren(array $children) : void;",
"function newDataObject() {\n\t\treturn new ChapterAuthor();\n\t}",
"function add($n)\n\t{\n\t\tif (is_array($n))\n\t\t{\n\t\t\tfor($i = 0; $i < count($n); ++$i)\n\t\t\t{\n\t\t\t\t$this->children[] = $n[$i];\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$this->children[] = $n;\n\t\t}\n\t}",
"function add($n)\n\t{\n\t\tif (is_array($n))\n\t\t{\n\t\t\tfor($i = 0; $i < count($n); ++$i)\n\t\t\t{\n\t\t\t\t$this->children[] = $n[$i];\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$this->children[] = $n;\n\t\t}\n\t}",
"public function append($pages) {}",
"public function addTitles($titles)\n {\n if ( !is_array($titles) ) $titles = array($titles);\n if ( !array_key_exists('titles', $this->_options) ) {\n $this->_options['titles'] = array();\n }\n foreach ($titles as $t) {\n array_push($this->_options['titles'], $t);\n }\n return $this;\n }",
"public function prepareChapterSchema()\n {\n // Store Chapters\n $fromchapter = ['bookbyid' => [],'labelsbybook' => [],'idbybook' => []];\n foreach ($this->container->db->getFormats() as $f) {\n if (!$fromchapter['labelsbybook'][$f->getForbook()]) {\n $fromchapter['labelsbybook'][$f->getForbook()] = [];\n array_push($fromchapter['labelsbybook'][$f->getForbook()], $this->container->translations['field_type_*Ausgeschaltet*']);\n }\n if (!$fromchapter['idbybook'][$f->getForbook()]) {\n $fromchapter['idbybook'][$f->getForbook()] = [];\n array_push($fromchapter['idbybook'][$f->getForbook()], -1);\n }\n array_push($fromchapter['labelsbybook'][$f->getForbook()], $f->getName());\n array_push($fromchapter['idbybook'][$f->getForbook()], $f->getId());\n $fromchapter['bookbyid'][$f->getId()] = $f->getForbook();\n }\n\n $schema = [\n 'title' => 'Field Configuration',\n 'type' => 'object',\n 'properties' => [\n 'editorcolumns' => [\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'],\n 'propertyOrder' => 3,\n 'type' => 'array',\n 'format' => 'table',\n 'items' => [\n 'type' => 'object',\n 'format' => 'grid',\n 'title' => 'Row',\n 'properties' => [\n \"key\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'.'key'],\n ],\n \"value\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'.'value'],\n ]\n ]\n ]\n ],\n 'locale' => [\n 'title' => $this->container->translations['chapter_config'.'locale'],\n 'propertyOrder' => 2,\n 'type' => 'array',\n 'format' => 'table',\n 'items' => [\n 'type' => 'object',\n 'format' => 'grid',\n 'title' => 'Row',\n 'properties' => [\n \"language\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'locale'.'language'],\n ],\n \"translation\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'locale'.'translation'],\n ]\n ]\n ]\n ],\n 'parentnode' => [\n 'title' => $this->container->translations['chapter_config'.'parentnode'],\n 'format' => 'select',\n 'type' => 'integer',\n 'propertyOrder' => 1,\n 'uniqueItems' => true,\n 'enum' => [],\n 'bookbyid' => $fromchapter['bookbyid'],\n 'idbybook' => $fromchapter['idbybook'],\n 'labelsbybook' => $fromchapter['labelsbybook'],\n\n 'options' => [\n 'enum_titles' => [],\n 'grid_columns' => 12,\n ]\n ],\n 'referenced' => [\n 'type' => 'object',\n 'options' => [\n 'hidden' => 'true'\n ]\n ]\n ]\n ];\n\n return json_encode($schema);\n }",
"function insertSubchapterClip()\n\t{\n\t\t$this->insertChapterClip(true);\n\t}",
"public function add($rel_page, $rel_id, $categorie_ids = array())\n {\n $this->delete($rel_page, $rel_id);\n if (count($categorie_ids) > 0) {\n foreach ($categorie_ids as $categorie_id) {\n // Add them\n $this->add_new($rel_id, $categorie_id, $rel_page);\n }\n }\n }"
] |
[
"0.6692787",
"0.58243555",
"0.56667477",
"0.5647436",
"0.54507875",
"0.5377904",
"0.5361634",
"0.5346678",
"0.52958477",
"0.5276429",
"0.52332747",
"0.51990914",
"0.50874656",
"0.508404",
"0.49860978",
"0.49097064",
"0.48841247",
"0.4866361",
"0.48529866",
"0.4822454",
"0.47591758",
"0.47484916",
"0.4736201",
"0.47194803",
"0.47194803",
"0.46871123",
"0.46787852",
"0.46703663",
"0.46325588",
"0.46180764"
] |
0.75464064
|
0
|
Set all chapters (replaces existing ones).
|
function set_chapters($chapters) {
$this->chapters = $chapters;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function add_chapters($chapters) {\n array_merge($this->chapters, $chapters);\n }",
"function copyChapter()\n\t{\n\t\t$this->copyItems(\"subchap\");\n\t}",
"public function restore() {\n self::restoreAll($this->chapterID);\n }",
"static function getAllChapters()\n {\n global $db;\n $reqChapter = $db->prepare('SELECT * FROM chapters');\n $reqChapter->execute([]);\n $chapters = array();\n while ($data = $reqChapter->fetch()) {\n $chapter = new Chapter();\n $chapter->setIdChapter($data['id_chapter']);\n $chapter->setChaptTitle($data['chapt_title']);\n $chapter->setChaptSentence($data['chapt_sentence']);\n $chapter->setChaptContent($data['chapt_content']);\n $chapter->setChaptDateCreated($data['chapt_datecreated']);\n $chapters[] = $chapter;\n }\n return $chapters;\n }",
"public static function unmarkAll() {\n WCF::getSession()->unregister('markedChapters');\n }",
"function get_chapters() {\n return $this->chapters;\n }",
"public static function enableAll($chapterIDs) {\n // send notifications\n require_once(SLS_DIR . 'lib/data/library/Library.class.php');\n $statChapterIDs = '';\n $sql = \"SELECT\t\tchapter.*, story.LibraryID\n\t\t\tFROM\t\tsls\" . SLS_N . \"_chapter chapter\n\t\t\tLEFT JOIN\tsls\" . SLS_N . \"_story story\n\t\t\tON\t\t(story.storyID = chapter.storyID)\n\t\t\tWHERE\t\tchapter.chapterID IN (\" . $chapterIDs . \")\n\t\t\t\t\tAND chapter.isDisabled = 1\n\t\t\t\t\tAND chapter.everEnabled = 0\n\t\t\t\t\tAND chapter.chapterID <> story.firstChapterID\";\n $result = WCF::getDB()->sendQuery($sql);\n while ($row = WCF::getDB()->fetchArray($result)) {\n if (!empty($statChapterIDs))\n $statChapterIDs .= ',';\n $statChapterIDs .= $row['chapterID'];\n\n // send notifications\n $chapter = new ChapterEditor(null, $row);\n $chapter->sendNotification();\n }\n\n // update user chapters & activity points\n self::updateUserStats($statChapterIDs, 'enable');\n\n // enable chapters\n $sql = \"UPDATE \tsls\" . SLS_N . \"_chapter\n\t\t\tSET\tisDisabled = 0,\n\t\t\t\teverEnabled = 1\n\t\t\tWHERE \tchapterID IN (\" . $chapterIDs . \")\";\n WCF::getDB()->sendQuery($sql);\n }",
"public function chapter_set()\n {\n return $this->hasOne('WhereYouLeftOff\\ChapterSet');\n }",
"function set_items() { \n\n\t\t$this->items = $this->get_items();\n\n\t}",
"final public function setPages(iterable $pages): void\n {\n $this->removePages();\n $this->addPages($pages);\n }",
"public function getChapters() \n\t{\n\n\t\t$req = $this->db->query('SELECT id, article_number, title FROM articles ORDER BY date_creation');\n\n\t\t$req->execute();\n\n\t\t$values = $req->fetchAll(PDO::FETCH_ASSOC);\n\n\t\tforeach ($values as $value)\n\t\t{\n\t\t\t$chapters[] = new Article($value);\n\t\t}\n\n\t\treturn $chapters;\n\t}",
"public function run() {\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Mr. Sherlock Holmes\",\n\t\t\t'number' => \"Chapter One\",\n\t\t\t'order' => 1,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/1.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Curse of the Baskervilles\",\n\t\t\t'number' => \"Chapter Two\",\n\t\t\t'order' => 2,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/2.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Problem\",\n\t\t\t'number' => \"Chapter Three\",\n\t\t\t'order' => 3,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/3.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Sir Henry Baskerville\",\n\t\t\t'number' => \"Chapter Four\",\n\t\t\t'order' => 4,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/4.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Three Broken Threads\",\n\t\t\t'number' => \"Chapter Five\",\n\t\t\t'order' => 5,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/5.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Baskerville Hall\",\n\t\t\t'number' => \"Chapter Six\",\n\t\t\t'order' => 6,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/6.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Stapletons of Merripit House\",\n\t\t\t'number' => \"Chapter Seven\",\n\t\t\t'order' => 7,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/7.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"First Report of Dr. Watson\",\n\t\t\t'number' => \"Chapter Eight\",\n\t\t\t'order' => 8,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/8.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Light upon the Moor\",\n\t\t\t'number' => \"Chapter Nine\",\n\t\t\t'order' => 9,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/9.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Extract from the Diary of Dr. Watson\",\n\t\t\t'number' => \"Chapter Ten\",\n\t\t\t'order' => 10,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/10.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Man on the Tor\",\n\t\t\t'number' => \"Chapter Eleven\",\n\t\t\t'order' => 11,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/11.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Death on the Moor\",\n\t\t\t'number' => \"Chapter Twelve\",\n\t\t\t'order' => 12,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/12.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"Fixing the Nets\",\n\t\t\t'number' => \"Chapter Thirteen\",\n\t\t\t'order' => 13,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/13.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"The Hound of the Baskervilles\",\n\t\t\t'number' => \"Chapter Fourteen\",\n\t\t\t'order' => 14,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/14.html\"))\n\t\t]);\n\n\t\tDB::table('chapters')->insert([\n\t\t\t'title' => \"A Retrospection\",\n\t\t\t'number' => \"Chapter Fifteen\",\n\t\t\t'order' => 15,\n\t\t\t'book_id' => DB::table('books')->where('title', \"The Hound of the Baskervilles\")->value('id'),\n\t\t\t'content' => File::get(storage_path(\"books/the-hound-of-the-baskervilles/15.html\"))\n\t\t]);\n\t}",
"public static function restoreAll($chapterIDs) {\n $sql = \"UPDATE \tsls\" . SLS_N . \"_chapter\n\t\t\tSET\tisDeleted = 0\n\t\t\tWHERE \tchapterID IN (\" . $chapterIDs . \")\";\n WCF::getDB()->sendQuery($sql);\n }",
"public function updateAllSources()\n\t{\n\t\t$sections = $this->getLangPackInfo()->getDefaultSections();\n\n\t\tforeach ($sections as $section) {\n\t\t\tforeach ($this->getLangPackInfo()->getDefaultCategories($section) as $category) {\n\t\t\t\t$this->updateSourcePhrases($section, $category);\n\t\t\t}\n\t\t}\n\t}",
"public function resetAll() {\r\n $this->_language = '';\r\n }",
"public static function copyAll($chapterIDs, $storyID, $storyMapping = null, $libraryID = 0, $updateUserStats = true) {\n if (empty($chapterIDs))\n return;\n\n // copy 'chapter' data\n $chapterMapping = array();\n $sql = \"SELECT\t*\n\t\t\tFROM \tsls\" . SLS_N . \"_chapter\n\t\t\tWHERE \tchapterID IN (\" . $chapterIDs . \")\";\n $result = WCF::getDB()->sendQuery($sql);\n while ($row = WCF::getDB()->fetchArray($result)) {\n $chapter = new ChapterEditor(null, $row);\n $chapterMapping[$chapter->chapterID] = $chapter->copy($storyID ? $storyID : $storyMapping[$row['storyID']]);\n }\n\n // refresh first chapter ids\n require_once(SLS_DIR . 'lib/data/story/StoryEditor.class.php');\n StoryEditor::refreshFirstChapterIDAll(($storyID ? $storyID : implode(',', $storyMapping)));\n\n // update user chapters and activity points\n if ($updateUserStats) {\n self::updateUserStats(implode(',', $chapterMapping), 'copy', $libraryID);\n }\n\n // copy 'chapter_cache' data\n $sql = \"SELECT\t*\n\t\t\tFROM \tsls\" . SLS_N . \"_chapter_cache\n\t\t\tWHERE \tchapterID IN (\" . $chapterIDs . \")\";\n $result = WCF::getDB()->sendQuery($sql);\n while ($row = WCF::getDB()->fetchArray($result)) {\n $sql = \"INSERT INTO \tsls\" . SLS_N . \"_chapter_cache\n\t\t\t\t\t\t(chapterID, storyID, textCache)\n\t\t\t\tVALUES\t\t(\" . $chapterMapping[$row['chapterID']] . \",\n\t\t\t\t\t\t\" . ($storyID ? $storyID : $storyMapping[$row['storyID']]) . \",\n\t\t\t\t\t\t'\" . escapeString($row['textCache']) . \"')\";\n WCF::getDB()->sendQuery($sql);\n }\n\n // copy 'chapter_report' data\n $sql = \"SELECT \t*\n\t\t\tFROM \tsls\" . SLS_N . \"_chapter_report\n\t\t\tWHERE \tchapterID IN (\" . $chapterIDs . \")\";\n $result = WCF::getDB()->sendQuery($sql);\n while ($row = WCF::getDB()->fetchArray($result)) {\n $sql = \"INSERT INTO \tsls\" . SLS_N . \"_chapter_report\n\t\t\t\t\t\t(chapterID, userID, report, reportTime)\n\t\t\t\tVALUES\t\t(\" . $chapterMapping[$row['chapterID']] . \",\n\t\t\t\t\t\t\" . $row['userID'] . \",\n\t\t\t\t\t\t'\" . escapeString($row['report']) . \"',\n\t\t\t\t\t\t\" . $row['reportTime'] . \")\";\n WCF::getDB()->sendQuery($sql);\n }\n }",
"public function setCategories($categories)\n {\n // This is the owning side, we have to call remove and add to have change in the category side too.\n foreach ($this->getCategories() as $category) {\n $this->removeCategory($category);\n }\n foreach ($categories as $category) {\n $this->addCategory($category);\n }\n }",
"public function setItems(string $view): void\n {\n\n $this->items = match($view)\n {\n CONTENT => [\n // YOUTUBE => Playlist::navigation()\n ]\n };\n }",
"public static function resetFirstChapterID($chapterIDs) {\n $sql = \"UPDATE \tsls\" . SLS_N . \"_story\n\t\t\tSET\tfirstChapterID = 0\n\t\t\tWHERE \tfirstChapterID IN (\" . $chapterIDs . \")\";\n WCF::getDB()->sendQuery($sql);\n }",
"abstract function setContent();",
"function insertSubchapter()\n\t{\n\t\tglobal $ilCtrl;\n\t\t\n\t\t$this->insertChapter(true);\n\t}",
"public function restored(Chapter $chapter)\n {\n //\n }",
"public function prepareChapterSchema()\n {\n // Store Chapters\n $fromchapter = ['bookbyid' => [],'labelsbybook' => [],'idbybook' => []];\n foreach ($this->container->db->getFormats() as $f) {\n if (!$fromchapter['labelsbybook'][$f->getForbook()]) {\n $fromchapter['labelsbybook'][$f->getForbook()] = [];\n array_push($fromchapter['labelsbybook'][$f->getForbook()], $this->container->translations['field_type_*Ausgeschaltet*']);\n }\n if (!$fromchapter['idbybook'][$f->getForbook()]) {\n $fromchapter['idbybook'][$f->getForbook()] = [];\n array_push($fromchapter['idbybook'][$f->getForbook()], -1);\n }\n array_push($fromchapter['labelsbybook'][$f->getForbook()], $f->getName());\n array_push($fromchapter['idbybook'][$f->getForbook()], $f->getId());\n $fromchapter['bookbyid'][$f->getId()] = $f->getForbook();\n }\n\n $schema = [\n 'title' => 'Field Configuration',\n 'type' => 'object',\n 'properties' => [\n 'editorcolumns' => [\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'],\n 'propertyOrder' => 3,\n 'type' => 'array',\n 'format' => 'table',\n 'items' => [\n 'type' => 'object',\n 'format' => 'grid',\n 'title' => 'Row',\n 'properties' => [\n \"key\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'.'key'],\n ],\n \"value\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'keyvaluepairs'.'value'],\n ]\n ]\n ]\n ],\n 'locale' => [\n 'title' => $this->container->translations['chapter_config'.'locale'],\n 'propertyOrder' => 2,\n 'type' => 'array',\n 'format' => 'table',\n 'items' => [\n 'type' => 'object',\n 'format' => 'grid',\n 'title' => 'Row',\n 'properties' => [\n \"language\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'locale'.'language'],\n ],\n \"translation\" => [\n 'type' => 'string',\n 'title' => $this->container->translations['chapter_config'.'locale'.'translation'],\n ]\n ]\n ]\n ],\n 'parentnode' => [\n 'title' => $this->container->translations['chapter_config'.'parentnode'],\n 'format' => 'select',\n 'type' => 'integer',\n 'propertyOrder' => 1,\n 'uniqueItems' => true,\n 'enum' => [],\n 'bookbyid' => $fromchapter['bookbyid'],\n 'idbybook' => $fromchapter['idbybook'],\n 'labelsbybook' => $fromchapter['labelsbybook'],\n\n 'options' => [\n 'enum_titles' => [],\n 'grid_columns' => 12,\n ]\n ],\n 'referenced' => [\n 'type' => 'object',\n 'options' => [\n 'hidden' => 'true'\n ]\n ]\n ]\n ];\n\n return json_encode($schema);\n }",
"public function update($lesson_id, $chapter_id, $course_id)\n {\n\n\n }",
"function set_sections() {\n\t\t\n\t\t$this->sections[] = '<script type=\"text/javascript\" charset=\"utf-8\">$(\"#accessoryTabs a.'.$this->id.'\").parent().remove();</script>';\n\n\t\tif($this->EE->input->get('C') == 'admin_content' && $this->EE->input->get('M') == 'category_edit' ) {\n\n\t\t\t// help!\n\t\t\trequire_once(PATH_THIRD.'dm_eeck/includes/eeck_helper.php');\n\t\t\t$this->helper = new eeck_helper();\n\n\t\t\t// we'll need the settings from the Editor field type\n\t\t\t$this->eeck_settings = $this->helper->load_editor_settings();\n\n\t\t\t$this->helper->include_editor_js($this->eeck_settings['eeck_ckepath'], $this->eeck_settings['eeck_ckfpath']);\n\t\t\t\n\t\t\t// get our settings for this field\n\t\t\t$myConf = $this->eeck_settings['eeck_config_settings'];\n\t\t\t\n\t\t\t// load out config file\n\t\t\t$conf = $this->load_config_file($myConf);\n\t\t\tif($conf != '') $conf .= ',';\n\n\t\t\t// add on integration for CK finder\n\t\t\t$conf .= $this->integrate_ckfinder($this->eeck_settings['eeck_ckfpath'],'Images','Files','Flash');\n\n\t\t\t$str = 'CKEDITOR.replace( \"cat_description\",{'.$conf.'});';\n\t\t\t$this->sections[] = '<script type=\"text/javascript\" charset=\"utf-8\">'.$str.'</script>';\n\t\t}\n\t}",
"function setHandbook(array $handbooks): void\n {\n }",
"function ind_prepare_content($title, $content) {\n\tglobal $chapters, $page, $chapter, $indizar_first_chapter, $indizar_config;\n\t\n\t//Declare the config array\n\t$indizar_config=array();\n\t\n\t//search for configuration and poblate the global variable if the\n\t//post declared it\n\t$search = \"@(?:<p>)*\\s*\\[indizar\\s*:\\s*(.+)\\]\\s*(?:</p>)*@i\";\n\tif(preg_match_all($search, $content, $matches)) {\n\t\tif(is_array($matches)) {\n\t\t\tforeach ($matches[1] as $key =>$v0) {\n\t\t\t\t$search = $matches[0][$key];\n\t\t\t\t$aux = explode(',', $v0);\n\t\t\t\t$indizar_config['config'] = $aux[0];\n\t\t\t\t$indizar_config['box_size'] = $aux[1];\n\t\t\t\t$indizar_config['box_float'] = $aux[2];\n\t\t\t\tif(count($aux)>3) {\n\t\t\t\t\t$indizar_config['first_chapter_number'] = 0;\n\t\t\t\t\t$indizar_first_chapter = 0;\n\t\t\t\t\t$indizar_config['preface_title'] = $aux[3];\n\t\t\t\t} else {\n\t\t\t\t\t$indizar_config['first_chapter_number'] = 1;\n\t\t\t\t\t$indizar_first_chapter = 1;\n\t\t\t\t}\n\t\t\t\t$content= str_replace ($search, \"\", $content);\n\t\t\t}\n\t\t}\n\t}\n\t\n\t//Declare the chapters array\n\t$chapters=false;\n\t\n\t//Suppose the first chapter has the name of the post\n\t$chapters[$indizar_first_chapter]=$title;\n\t\n\t//Set the page_index starts in the number we get as first chapter\n\t$page_index=$indizar_first_chapter;\n\t\n\t//search for firstchapter and define it in the chapters list\n\t$search = \"@(?:<p>)*\\s*\\[firstchapter\\s*:\\s*(.+)\\]\\s*(?:</p>)*@i\";\n\tif(preg_match_all($search, $content, $matches)) {\n\t\tif(is_array($matches)) {\n\t\t\tforeach ($matches[1] as $key =>$v0) {\n\t\t\t\t$search = $matches[0][$key];\n\t\t\t\t//Set the title and put a box place definition to use if we need it\n\t\t\t\t$replace= \"<h1 class='indizar'>$v0</h1><!--indizar_box-->\";\n\t\t\t\t$content= str_replace ($search, $replace, $content);\n\t\t\t\t$chapters[$indizar_first_chapter]=$v0;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tif(INDIZAR_USE_HEADERS) {\n\t\t//search for h1.firstchapter and define it in the chapters list\n\t\t$search = \"@<\".INDIZAR_USE_HEADERS.\" class=\\\"firstchapter\\\">(.+)</\".INDIZAR_USE_HEADERS.\">\\s*@i\";\n\t\tif(preg_match_all($search, $content, $matches)) {\n\t\t\tif(is_array($matches)) {\n\t\t\t\tforeach ($matches[1] as $key =>$v0) {\n\t\t\t\t\t$search = $matches[0][$key];\n\t\t\t\t\t//Set the title and put a box place definition to use if we need it\n\t\t\t\t\t$replace= \"<h1 class='indizar'>$v0</h1><!--indizar_box-->\";\n\t\t\t\t\t$content= str_replace ($search, $replace, $content);\n\t\t\t\t\t$chapters[$indizar_first_chapter]=$v0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\t//search for chapter and poblate the chapters list\n\t$search = \"@(?:<p>)*\\s*\\[chapter\\s*:\\s*(.+)\\]\\s*(?:</p>)*@i\";\n\tif(preg_match_all($search, $content, $matches)) {\n\t\tif(is_array($matches)) {\n\t\t\tforeach ($matches[1] as $key =>$v0) {\n\t\t\t\t$search = $matches[0][$key];\n\t\t\t\t//Set the title, put a box place definition to use if we need it\n\t\t\t\t//and create a 'chapter mark' to use as a page break\n\t\t\t\t$replace= \"<!--indizar_chapter--><h1 class='indizar'>$v0</h1><!--indizar_box-->\";\n\t\t\t\t$content= str_replace ($search, $replace, $content);\n\t\t\t\t$page_index++;\n\t\t\t\t$chapters[$page_index]=$v0;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tif(INDIZAR_USE_HEADERS) {\n\t\t//search for h1 and poblate the chapters list\n\t\t$search = \"@<\".INDIZAR_USE_HEADERS.\">\\s*(.+)</\".INDIZAR_USE_HEADERS.\">\\s*@i\";\n\t\tif(preg_match_all($search, $content, $matches)) {\n\t\t\tif(is_array($matches)) {\n\t\t\t\tforeach ($matches[1] as $key =>$v0) {\n\t\t\t\t\t$search = $matches[0][$key];\n\t\t\t\t\t//Set the title, put a box place definition to use if we need it\n\t\t\t\t\t//and create a 'chapter mark' to use as a page break\n\t\t\t\t\t$replace= \"<!--indizar_chapter--><h1 class='indizar'>$v0</h1><!--indizar_box-->\";\n\t\t\t\t\t$content= str_replace ($search, $replace, $content);\n\t\t\t\t\t$page_index++;\n\t\t\t\t\t$chapters[$page_index]=$v0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\t//if there is just one chapter in the list it means we don't need\n\t//to cut the post in pages, so we don't need a chapters list and\n\t//this plugin isn't required to manage the content\n\tif(count($chapters)==1) \n\t\t$chapters=false;\n\t\n\treturn $content;\n\n}",
"public function addChapter($chapterTitle,$htmlName,$content,$autoSplit = FALSE, $externalReferences = EPub::EXTERNAL_REF_REPLACE_IMAGES, $baseDir = \"\")\n {\n $this->epub->addChapter($chapterTitle, $htmlName, $content,$autoSplit,$externalReferences,$baseDir);\n }",
"public function updated(Chapter $chapter)\n {\n //\n }",
"public function edit(Chapter $chapter)\n {\n //\n }"
] |
[
"0.62365735",
"0.5739508",
"0.5568501",
"0.5166048",
"0.5115015",
"0.49340504",
"0.4874775",
"0.4865878",
"0.48304495",
"0.48265022",
"0.48096693",
"0.47075906",
"0.47035143",
"0.46908727",
"0.467862",
"0.46611834",
"0.46594313",
"0.4641621",
"0.4579771",
"0.45792103",
"0.45383012",
"0.45309255",
"0.45246065",
"0.4510731",
"0.44729844",
"0.44680595",
"0.44320756",
"0.4429193",
"0.44264734",
"0.44134372"
] |
0.7011564
|
0
|
Function to request audio file (a.k.a communique)
|
public function requestAudioFile($comData)
{
if (is_array($comData)){
// name of textarea input on communique generator form
$data = array('communique' => Zend_Json::encode($comData));
// initiate curl session
$ch = curl_init();
$audioGenUrl = Zend_Registry::get('config')
->voice->platform->base->url . '/rest/get_audio_communique.php';
// url for curl
curl_setopt($ch, CURLOPT_URL, $audioGenUrl);
// return with result on success
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// using POST and not GET
curl_setopt($ch, CURLOPT_POST, true);
// POST data
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// get wave file a.k.a communique
$result = curl_exec($ch);
$result_decoded = Zend_Json::decode($result);
$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$status = $result_decoded['status'];
if ($status == 'FAIL') // response was not ok
{
$message = $result_decoded['message'];
throw new Exception('Audio Generation Error: ' . $message, $httpRspCode);
}
else {
$waveURL = array();
$waveURL = $result_decoded['audio'];
}
return array($httpRspCode, $status, $waveURL);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function receiveAudio($title,$path_upload, $author, $maxfilebytes)\r\n {\r\n \r\n global $xoopsUser, $xoopsDB, $_POST, $_FILES;\r\n //busca id do user logado\r\n $uid = $xoopsUser->getVar('uid');\r\n //create a hash so it does not erase another file\r\n //$hash1 = date();\r\n //$hash = substr($hash1,0,4);\r\n \r\n // mimetypes and settings put this in admin part later\r\n $allowed_mimetypes = array( \"audio/mp3\" , \"audio/x-mp3\", \"audio/mpeg\");\r\n $maxfilesize = $maxfilebytes;\r\n \r\n // create the object to upload\r\n $uploader = new XoopsMediaUploader($path_upload, $allowed_mimetypes, $maxfilesize);\r\n // fetch the media\r\n if ($uploader->fetchMedia($_POST['xoops_upload_file'][0])) {\r\n //lets create a name for it\r\n $uploader->setPrefix('aud_'.$uid.'_');\r\n //now let s upload the file\r\n if (!$uploader->upload()) {\r\n // if there are errors lets return them\r\n echo \"<div style=\\\"color:#FF0000; background-color:#FFEAF4; border-color:#FF0000; border-width:thick; border-style:solid; text-align:center\\\"><p>\".$uploader->getErrors().\"</p></div>\";\r\n return false;\r\n } else {\r\n // now let s create a new object audio and set its variables\r\n //echo \"passei aqui\";\r\n $audio = $this->create();\r\n $url = $uploader->getSavedFileName();\r\n $audio->setVar(\"url\",$url);\r\n $audio->setVar(\"title\",$title);\r\n $audio->setVar(\"author\",$author);\r\n $uid = $xoopsUser->getVar('uid');\r\n $audio->setVar(\"uid_owner\",$uid);\r\n $this->insert($audio);\r\n $saved_destination = $uploader->getSavedDestination();\r\n //print_r($_FILES);\r\n }\r\n } else {\r\n echo \"<div style=\\\"color:#FF0000; background-color:#FFEAF4; border-color:#FF0000; border-width:thick; border-style:solid; text-align:center\\\"><p>\".$uploader->getErrors().\"</p></div>\";\r\n return false;\r\n }\r\n return true;\r\n }",
"function media_upload_audio()\n {\n }",
"public function downloadAudioFile($vid, $mid){\n $file_path = null;\n $response = [];\n \n $media = Media::load($mid);\n if(empty($media)){\n $response = ['vid' => $m->video_id, 'cmd' => 'Copy media file to temporary directory!', 'output_file' => null, 'output_value' => 'Couldn\\'t load audio file.', 'return_value' => 1];\n $this->trackProcessingStage($response, 'Copy-to-temp-directory');\n }else{\n $fid = null;\n $file_uri = null;\n $type = $media->bundle(); \n // audio\n if(($type == 'audio') && !empty($media->field_media_audio_file->entity)) {\n $fid = $media->field_media_audio_file->target_id;\n $file_uri = $media->field_media_audio_file->entity->getFileUri();\n }\n \n if(empty($fid)){\n $response = ['vid' => $vid, 'cmd' => 'Copy audio file to temporary directory!', 'output_file' => null, 'output_value' => 'File doesn\\'t exists.', 'return_value' => 1];\n $this->trackProcessingStage($response, 'Copy-to-temp-directory');\n }else{\n $file = File::load($fid);\n $file_name = $file->getFilename();\n $destination = $this->createTmpDir($vid) . '/' . $file_name;\n if($file = file_copy($file, $destination, FILE_EXISTS_REPLACE)) {\n $file_path = drupal_realpath($destination);\n }else {\n $response = ['vid' => $vid, 'cmd' => 'Copy audio file to temporary directory!', 'output_file' => null, 'output_value' => 'Couldn\\'t copy the file into temporary directory.', 'return_value' => 1];\n $this->trackProcessingStage($response, 'Copy-to-temp-directory');\n }\n }\n }\n \n return $file_path;\n }",
"function getAudio($office,$name){\n echo '<audio controls>';\n echo ' <source src=\"../' . $office . '-audio/' . $name . '.ogg\" />';\n echo ' <source src=\"../' . $office . '-audio/' . $name . '.mp3\" />';\n echo '</audio><br />'; \n }",
"function type_url_form_audio()\n {\n }",
"function find_file( $ServerID, $AsteriskID, $QMUserID, $QMUserName ) {\n\tglobal $FILE_FOUND;\n\tglobal $FILE_LISTEN_URL;\n\tglobal $FILE_LENGTH;\n\tglobal $FILE_ENCODING;\n\tglobal $FILE_DURATION;\n\n\t$FILE_FOUND = true;\n\n\t// if found single file...\n\t// note that the parameters returned are just strings, so you can put anything in them\n\t$FILE_LISTEN_URL = \"http://listennow.server/$ServerID/$AsteriskID/$QMUserID/$QMUserName\";\n\t$FILE_LENGTH = \"125k\";\n\t$FILE_ENCODING = \"mp3\";\t\n\t$FILE_DURATION = \"1:12\"; \t\n\n\t// if found multiple files\n\t// add MULTI: to FILE_LISTEN_URL\n\t// separate entries with a space\n\t// add the same number of entries for each record\n\t//$FILE_LISTEN_URL = \"MULTI:http://listennow.server/$ServerID/$AsteriskID/$QMUserID/$QMUserName http://file2 http://file3\";\n\t//$FILE_LENGTH = \"125000 100 200\";\n\t//$FILE_ENCODING = \"mp3 - -\";\t\n\t//$FILE_DURATION = \"1:12 1:10 -\"; \t\n\n}",
"function wp_read_audio_metadata($file)\n {\n }",
"public function communiquePlatformQuery()\n\t{\n\t\t$data = array('communique' => Zend_Json::encode(array('comm_id' => 1)));\n\t\t\n\t\t// initiate curl session\n\t\t$ch = curl_init();\n\t\t\n\t\t$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';\n\t\t\n\t\t// url for curl\n\t\tcurl_setopt($ch, CURLOPT_URL, $queryArrUrl);\n\t\t// return with result on success\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\t\t// using POST and not GET\n\t\tcurl_setopt($ch, CURLOPT_POST, true);\n\t\t// POST data\n\t\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $data);\n\t\t\t\n\t\t// get wave file a.k.a communique\n\t\t$result = curl_exec($ch);\n\t\t\n\t\t$resultInArr = Zend_Json::decode($result);\n\t\t$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n\t\t\n\t\tcurl_close($ch);\n\t\t\n\t\tif ($resultInArr['status'] == 'FAIL'){\n\t\t\t$message = $status['message'];\n\t\t\t\n\t\t\tthrow new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);\n\t\t}\n\t\telse{\n\t\t\treturn $resultInArr['comm_id'];\n\t\t}\n\t}",
"function sendResampledFile($command, $name){\n\t\t// Now let's send the header\n\t\t// CRUCIAL: //\n\t\tignore_user_abort(false);\n\t\theader(\"ICY 200 OK\");\n\t\theader(\"icy-name: $name\");\n\t\theader(\"Content-type: audio/mpeg\");\n\t\t// header(\"Content-length: \".(string)(filesize($file))); // TODO: get the real filesize.\n\t\theader(\"Content-Disposition: inline; filename=\\\"\".$name.\"\\\"\");\n\t\theader(\"Connection: close\");\n\t\tpassthru($command);\t\n\t}",
"function getmp3($data){\n // $ContentString = $obj -> getGoogleTTS($data);\n // $randfilestring = 'mp3/' . time() . '_' . sprintf('%02d', rand(0, 999)) . \".mp3\";\n // return rtrim(C('site_url'), '/') . $randfilestring;\n return \"\";\n}",
"function sotf_AudioFile($path)\n\n\t{\n\n\t\t$parent = get_parent_class($this);\n\n\t\tparent::$parent($path);\t\t// Call the constructor of the parent class. lk. super()\n\n\t\t// CHANGED BY BUDDHAFLY 06-05-12\n\t\t$getID3 = new getID3();\n\t\t$fileinfo = $getID3->analyze($this->path);\n\t\tgetid3_lib::CopyTagsToComments($fileinfo);\n\t\t\n\t\t//$fileinfo = GetAllFileInfo($this->path);\n\n $this->allInfo = $fileInfo;\n\t\n\t\t//if ($audioinfo[\"fileformat\"] == 'mp3' || $audioinfo[\"fileformat\"] == 'ogg') {\n\n //debug(\"finfo\", $fileinfo);\n\t\n\n if (isset($fileinfo['audio'])) {\n\n $audioinfo = $fileinfo['audio'];\n\n\t\t\t$this->type = \"audio\";\n\n\t\t\t$this->format = $fileinfo[\"fileformat\"];\n\n\t\t\tif ($audioinfo[\"bitrate_mode\"] == 'vbr')\n\n\t\t\t\t$this->bitrate = \"VBR\";\n\n $this->bitrate = round($audioinfo[\"bitrate\"]/1000);\n\n\t\t\t$this->average_bitrate = round($audioinfo[\"bitrate\"]/1000);\n\n\t\t\t$this->samplerate = $audioinfo[\"sample_rate\"];\n\n\t\t\t$this->channels = $audioinfo[\"channels\"];\n\n\t\t\t$this->duration = round($fileinfo[\"playtime_seconds\"]);\n\n\t\t\t$this->mimetype = $this->determineMimeType($this->format);\n\n\t\t}\n\n\t}",
"public function sounds_mp3()\n\t{\n\t\tif (preg_match('/^\\(dream-of-usenet\\.info\\) - \\[\\d+\\/\\d+\\] - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //http://dream-of-usenet.org empfehlen newsconnection.eu - [02/32] - \"Adam_Ant-Manners_and_Physique-(MCAD-6315)-CD-FLAC-1989-2Eleven.par2\" yEnc\n\t\tif (preg_match('/^http:\\/\\/dream-of-usenet\\.org .+? - \\[\\d+\\/\\d+\\] - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //trtk09920 - [01/12] - \"Guido Negraszus - Night Cafe Iii (Freedom Travellers) (2012)(320).par2\" yEnc\n\t\tif (preg_match('/^trtk\\d+[-_\\s]{0,3}\\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //>>> CREATIVE COMMONS NZB <<< \"dexter romweber duo-lookout\" - File 1 of 9: \"creative_commons_nzb_dexter_romweber_duo-lookout.rar\" yEnc\n\t\tif (preg_match('/^>>> CREATIVE COMMONS NZB <<< \"(.+?)\" - File \\d+ of \\d+: \".+?\" yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //<<<usenet-space-cowboys.info>>> <<<Powered by https://secretusenet.com>< \"Justin_Bieber-Believe_Acoustic-2013-pLAN9_usenet-space-cowbys.info.rar\" >< 4/6 (78.65 MB) >< 60.84 MB > yEnc\n\t\tif (preg_match('/^.+?usenet-space.+?Powered by.+? \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 .\n\t\t\t\t\t '.+? \\d+\\/\\d+ \\(\\d+[.,]\\d+ [kKmMgG][bB]\\) .+? \\d+[.,]\\d+ [kKmMgG][bB] .+?yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //\"The Absence - Riders Of The Plague\" [00/14] - \"the_absence-riders_of_the_plague.nzb\" yEnc\n\t\tif (preg_match('/\"(.+)\"[-_\\s]{0,3}[\\(\\[]\\d+\\/(\\d+[\\)\\]])[-_\\s]{0,3}\".+(\\.part\\d*|\\.rar)?(\\.vol.+ \\(\\d+\\/\\d+\\) \"|\\.[A-Za-z0-9]{2,4}\").+?yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t}\n\t\t//( Albert Cummings Albums 6x By Dready Niek (1999-2012) ) ( ** By Dready Niek ** ) [11/20] - \"Albert Cummings Albums 6x By Dready Niek (1999-2012).part10.rar\" yEnc\n\t\t//( Fat Freddy's Drop - Blackbird (2013) -- By Dready Niek ) -- By Dready Niek ) [01/15] - \"Fat Freddy's Drop - Blackbird (2013) -- By Dready Niek.par2\" yEnc\n\t\tif (preg_match('/\\( (.+?)\\)[-_\\s]{0,3}( |\\().+\\)[-_\\s]{0,3}[\\(\\[]\\d+\\/(\\d+[\\)\\]])[-_\\s]{0,3}\".+(\\.part\\d*|\\.rar)?(\\.vol.+ \\(\\d+\\/\\d+\\) \"|\\.[A-Za-z0-9]{2,4}\").+?yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //( Addison_Road-Addison_Road-2008 ) [01/10] - \"01. Addison Road - This Could Be Our Day.mp3\" yEnc\n\t\tif (preg_match('/\\( (.+?) \\)[-_\\s]{0,3}[\\(\\[]\\d+\\/(\\d+[\\)\\]])[-_\\s]{0,3}\".+(\\.part\\d*|\\.rar)?(\\.vol.+ \\(\\d+\\/\\d+\\) \"|\\.[A-Za-z0-9]{2,4}\").+?yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(????) [0/8] - Crionics Post - Alice In Chains - Dirt REPOST\"Alice In Chains - Dirt.nzb\" yEnc\n\t\tif (preg_match('/^.+?\\[\\d+\\/(\\d+\\][-_\\s]{0,3}.+?)[-_\\s]{0,3}(\"|#34;)(.+?)(\\.part\\d*|\\.rar)?(\\.vol.+ \\(\\d+\\/\\d+\\) \"|\\.[A-Za-z0-9]{2,4}(\"|#34;))[-_\\s]{0,3}yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[3];\n\t\t} //(????) [001/153] - \"C4 House Party Horse Meat Disco Set 6.nfo\" C4 House Party Horse Meat Disco Set 6 yEnc\n\t\tif (preg_match('/^\\(\\?+\\) \\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(????) [19/22] - C.K.N. Demo 85 \"19-rotten system.mp3\" yEnc\n\t\tif (preg_match('/^\\(\\?+\\) \\[\\d+\\/\\d+\\] - (.+)[-_\\s]{0,3}\".+?' . $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(03/11) \"Europe - Discography (1983 - 2009) (320 kbps CBR) www.brothers-of-usenet.org - empfehlen - Newsconnection.par2\" yEnc\n\t\t//(03/11) \"Evanescence Diskographie (1998-2011) www.brothers-of-usenet.org - empfehlen - Newsconnection.par2\" yEnc\n\t\tif (preg_match('/^\\(\\d+\\/\\d+\\)[-_\\s]{0,3}\"(.+?) {1,3}www\\.brothers-of-usenet\\.org - empfehlen - Newsconnection' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(107/123) - \"Mark.EG.M.Zone.Rave.Tape.Packs.Hard.Trance.1990s.vol006+04.PAR2\" - 11.39 GB yEnc\n\t\t//(12/16) \"Horrid Henry The Movie - Original Soundtrack.vol00+01.PAR2\" - 102.32 MB - yEnc\n\t\tif (preg_match('/^\\(\\d+\\/\\d+\\)[-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e2,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //[002/123] - \"Mark.EG.M.Zone.Rave.Tape.Packs.Hard.Trance.1990s.part001.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //< usenetrevolution > <-> Partner of ssl-news.info <-> Anastacia.-.It's.a.Mans.World [04/15] - \"Anastacia.-.It's.a.Mans.World.part01.rar\" - 100,47 MB - yEnc\n\t\tif (preg_match('/^.+usenetrevolution.+Partner of ssl-news\\.info.+\\[\\d+\\/\\d+\\] - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e2,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //<<<Old but Sold>>> <<< >< >< \"German Top 50 ODC - 12.08.2013.nfo\" >< 02/33 (541,61 MB) >< 10,93 kB > yEnc\n\t\tif (preg_match('/^.+Old but Sold.+>< \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . ' >< \\d+\\/\\d+ \\(\\d+[.,]\\d+ [kKmMgG][bB]\\).+ yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //<<< <ghost-of-usenet.org> <\"MC Basstard Diskographie 16CDs 2000-2011 MP3 - Ghost.part08.rar\"> >www.SSL-News.info< - (10/43) - 1,69 GB yEnc\n\t\t//<<< <ghost-of-usenet.org> >\"UltraTraxx Rare Remixes - Vol 011 MP3 192kbps.par2\"> >www.SSL-News.info< - (1/9) - 120,82 MB yEnc\n\t\tif (preg_match('/^.+ghost-of-usenet.org[<>] [><]\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 .\n\t\t\t\t\t '> >www\\.SSL-News\\.info< - \\(\\d+\\/\\d+\\)[-_\\s]{0,3}\\d+[.,]\\d+ [kKmMgG][bB][-_\\s]{0,3}yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //BY REQ:........! - \"Keith Whitley - All American Country - .par2\" [06/22] yEnc\n\t\tif (preg_match('/^BY REQ.+ - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e0 .\n\t\t\t\t\t ' \\[\\d+\\/\\d+\\] yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Der etwas andere Mix - Wilde Herzenmix (auf wunsch) neu (by dem verrückten Lordi) (1/8) \"Der etwas andere Mix - Wilde Herzenmix.par2\" yEnc\n\t\tif (preg_match('/^Der etwas.+ \\(\\d+\\/\\d+\\) \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . '.+yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //DJ Inferno Beatport Xtreme September 2011[63/66] - \"DJ Inferno Beatport Xtreme September 2011.vol073+55.PAR2\" upp o-o yEnc\n\t\t//Kastelruther Spatzen - Weihnachten Bei Uns Daheim (2011) (22/25) \"Kastelruther Spatzen - Weihnachten Bei Uns Daheim (2011).vol00+1.PAR2\" - 113,03 MB - Tapier 13.11.02 yEnc\n\t\tif (preg_match('/^.+[\\[\\(]\\d+\\/\\d+[\\)\\]][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . '.+yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //\"8 Wenn ich einmal gross bin .mp3\" Koelschefetz postet.Die Filue -Immer Wigger yEnc\n\t\tif (preg_match('/^\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Queens Of The Stone Age - Rated R (2000) (10th Anniversary Deluxe Edition 2010) [EAC/Lame V0] \"QU2 - Queens of the Stone Age - Rated R.M3u\" yEnc\n\t\tif (preg_match('/^.+\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //squeeze-east side story-nmr- [01/14] - 01-squeeze-in quintessence.mp3 yEnc\n\t\tif (preg_match('/^(.+?)- [\\[\\(]\\d+\\/\\d+[\\)\\]][-_\\s]{0,3}\\d\\d.+?([-_](proof|sample|thumbs?))*(\\.part\\d*(\\.rar)?|\\.rar)?(\\d{1,3}\\.rev|\\.vol.+?|\\.[A-Za-z0-9]{2,4}) yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t}\n\t\treturn array(\n\t\t\t\"cleansubject\" => $this->releaseCleanerHelper($this->subject), \"properlynamed\" => false\n\t\t);\n\t}",
"function synthesizeOnline($vocalwareLID, $vocalwareVID, $text, $filename)\n {\n $error = false;\n $errormessage = null;\n $errorcode = 0;\n $output = array();\n \n $curl = curl_init();\n\n\n\t\t// A Vocalware account is needed\n $url = \"\";\n $secret_phrase = \"\";\n\n // Vocalware API identification is required\n $data = array(\n 'EID' => '2',\n 'LID' => $vocalwareLID,\n 'VID' => $vocalwareVID,\n 'TXT' => $text,\n 'EXT' => 'mp3',\n 'ACC' => '', // required\n 'API' => '' // required \n );\n\n $data['CS'] = md5($data['EID'].$data['LID'].$data['VID'].$data['TXT'].$data['EXT'].$data['ACC'].$data['API'].$secret_phrase);\n\n curl_setopt($curl, CURLOPT_POSTFIELDS, $data);\n\n curl_setopt($curl, CURLOPT_URL, $url);\n curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);\n\n $result = curl_exec($curl);\n\n curl_close($curl);\n \n // if no error occurred (we assume there's an error if the mp3 data is less than 1000 characters)\n if ($result && !strpos($result, \"Error: \") && (strlen($result) > 1000)) {\n\n try {\n $filenamewrite = \"mp3/\".$filename.\".mp3\";\n $fitxertxtwrite = fopen($filenamewrite,\"w+b\");\n\n if (flock($fitxertxtwrite, LOCK_EX)) {\n fwrite($fitxertxtwrite, $result);\n flock($fitxertxtwrite, LOCK_UN);\n fclose($fitxertxtwrite);\n }\n } catch (Exception $ex) {\n $error = true;\n $errormessage = \"Error. An error occurred while writing the audio file.\";\n $errorcode = 108;\n }\n }\n // if there was an error\n else {\n $error = true;\n $errormessage = \"Error. An error occurred while contacting the online voice service. Try again.\";\n $errorcode = 109;\n }\n \n $output[0] = $error;\n $output[1] = $errormessage;\n $output[2] = $errorcode;\n return $output;\n }",
"public function hasAudio() {}",
"private function _getCloudFile($fname){\n // So we utilize CURL to POST the message directly\n $url = 'https://ws.aculabcloud.net/file_get';\n // $auth = '1-2-0/[email protected]'.\":\".'yourpassword';\n $auth = $GLOBALS['hConfig']->get('acctLogin').\":\".\n $GLOBALS['hConfig']->get('acctPwd');\n $fields = array('filetype' => \"media\",\n 'filename' => $fname);\n $post = http_build_query($fields);\n $curl = curl_init($url);\n curl_setopt($curl, CURLOPT_POST, true);\n curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);\n curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);\n // url_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);\n curl_setopt($curl, CURLOPT_USERAGENT , 'Mozilla 5.0');\n curl_setopt($curl, CURLOPT_POSTFIELDS, $post);\n curl_setopt($curl, CURLOPT_USERPWD, $auth);\n curl_setopt($curl, CURLOPT_VERBOSE , true);\n\n $resp = curl_exec($curl);\n log_message('debug',\"Writing test.wav...\");\n file_put_contents(\"test.wav\",$resp);\n\n curl_close($curl);\n }",
"public function uploadVoiceRecording(){\n\t\t$db = $this->db;\n\t\t$util = new HTMLUtil();\n\t\t$allowedExtensions = array(\"mp3\", \"wav\", \"wma\");\n\t\t$userid = $_SESSION[\"userid\"];\n\t\t\n\t\t//check if has voice uploaded\n\t\t$voice = $db->fetchRow($db->select()->from(array(\"p\"=>\"personal\"), \"voice_path\")->where(\"userid = ?\", $userid));\n\t\tif ($voice&&$voice[\"voice_path\"]){\n\t\t\t$path = getcwd().\"/../uploads/voice/\".$userid.\".mp3\";\n\t\t\tif (file_exists($path)){\n\t\t\t\tunlink($path);\t\n\t\t\t}\n\t\t\n\t\t\t$path = getcwd().\"/../uploads/voice/\".$userid.\".MP3\";\n\t\t\tif (file_exists($path)){\n\t\t\t\tunlink($path);\t\n\t\t\t}\n\t\t\t$path = getcwd().\"/../uploads/voice/\".$userid.\".Mp3\";\n\t\t\tif (file_exists($path)){\n\t\t\t\tunlink($path);\t\n\t\t\t}\n\t\t\t$path = getcwd().\"/../uploads/voice/\".$userid.\".mP3\";\n\t\t\tif (file_exists($path)){\n\t\t\t\tunlink($path);\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\t$sizeLimit = 5 * 1024 * 1024;\n\t\t$uploader = new qqFileUploader($allowedExtensions,$sizeLimit);\n\t\t\n\t\t$name = $uploader->getName();\n\t\t$splitName = explode(\".\", $name);\n\t\t$uploader->handleUpload(getcwd().\"/../uploads/voice/\");\n\t\t\n\t\t$new = \"uploads/voice/\".$userid.\".\".$splitName[1];\n\t\t\n\t\tif (file_exists(getcwd().\"/../uploads/voice/\".$name)){\n\t\t\trename(getcwd().\"/../uploads/voice/\".$name, getcwd().\"/../\".$new);\n\t\t\t$db->update(\"personal\", array(\"voice_path\"=>$new), $db->quoteInto(\"userid = ?\", $userid));\n\t\t\t$voice_parts = pathinfo($new);\n if (strtolower($voice_parts['extension']) != 'mp3' && (in_array(strtolower($voice_parts['extension']), array(\"wma\", \"wav\") ))) {\t\t\n\t\t\t\t$this->convert($userid);\t\n\t\t\t}\n\t\t\t$data = array();\n\t\t\t$this->subtractRemoteReadyScore($userid, 2);\n\t\t\t\n//\t\t\t$db->delete(\"remote_ready_criteria_entries\", \"userid = \".$userid.\" AND remote_ready_criteria_id = 2\");\n\t\t\t$data[\"userid\"] = $userid;\n\t\t\t$data[\"remote_ready_criteria_id\"] = 2;\n\t\t\t$data[\"date_created\"] = date(\"Y-m-d h:i:s\");\n//\t\t\t$db->insert(\"remote_ready_criteria_entries\", $data);\n\t\t\t\n\t\t\tglobal $base_api_url;\n\t\t\t\n\t\t\tfile_get_contents($base_api_url . \"/mongo-index/sync-candidates-files/?userid=\" . $userid);\n\t\t\t\n\t\t\treturn array(\"success\"=>true);\n\t\t}else{\n\t\t\treturn array(\"success\"=>false);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"function languagelesson_get_audio_submission($filerecord) {\n global $CFG;\n // Get file.\n $fs = get_file_storage();\n $file = $fs->get_file_instance($filerecord);\n \n $filecontext = $file->get_contextid();\n $itemid = $file->get_itemid();\n $filename = $file->get_filename();\n \n $fileurl = $CFG->wwwroot .'/pluginfile.php/'.$filecontext . '/mod_languagelesson/submission/'. $itemid .'/'.$filename;\n \n $return = array();\n $return['filename'] = $filename;\n $return['fileurl'] = $fileurl;\n \n return $fileurl;\n \n }",
"private function deleteAudio(){\n if($this->checkStatus()){\n chdir('..');\n $return = 'false';\n $fileName = $this->sanitizeString($this->json->fileName);\n if(unlink('aud/'.$fileName)) $return='true';\n header('content-type: text/plain');\n echo $return;\n } else {\n $this->notFound404();\n } \n }",
"static function get_audio_id( $atts ) {\n\t\tif ( isset( $atts[0] ) )\n\t\t\treturn $atts[0];\n\t\telse\n\t\t\treturn 0;\n\t}",
"function ReceivedAudio($f, $t, $d, $byteRateAdjust)\n {\n $this->ok = 0;\n $this->dbg = $d;\n $this->chunksParsed = 0;\n $this->calcStart($t);\n $this->fileName = $f;\n if (!($fp = fopen($f, \"rb\")))\n {\n echo (\"Failed to open \" . $f);\n return;\n }\n $str = fread($fp, 4);\n if ($str == \"RIFF\") // all .WAV files must have this\n {\n $str = fread($fp, 4);\n for ($i = 3; $i >=0; $i--)\n {\n $this->hdrSize *= 256;\n $this->hdrSize += ord($str[$i]);\n }\n if ($this->dbg) echo (\"hdrSize = \" . $this->hdrSize . \"<br/>\");\n\n $str = fread($fp, 4);\n if ($str == \"WAVE\") // all .WAV files must have this\n {\n $str = fread($fp, 4); $this->fmt = $str;\n if ($str == \"fmt \") // all .WAV files must have this\n {\n $str = fread($fp, 4); $this->fmt .= $str;\n $chunkSize = 0;\n for ($i = 3; $i >=0; $i--)\n {\n $chunkSize *= 256;\n $chunkSize += ord($str[$i]);\n }\n $str = fread($fp, 2); $this->fmt .= $str;\n $this->waveFormat = ord($str[0]) + 256 * ord($str[1]);\n if ($this->dbg) echo (\"File has format: \" . $this->waveFormat . \"<br/>\");\n $str = fread($fp, 2); $this->fmt .= $str;\n $this->numChannels = ord($str[1]);\n $this->numChannels *= 256;\n $this->numChannels += ord($str[0]);\n if ($this->dbg) echo (\"File has \" . $this->numChannels . \" channels<br/>\");\n $str = fread($fp, 4); $this->fmt .= $str;\n for ($i = 3; $i >=0; $i--)\n {\n $this->sampleRate *= 256;\n $this->sampleRate += ord($str[$i]);\n }\n if ($this->dbg) echo (\"File has \" . $this->sampleRate . \" sample rate<br/>\");\n $str = fread($fp, 4); $this->fmt .= $str;\n for ($i = 3; $i >=0; $i--)\n {\n $this->byteRate *= 256;\n $this->byteRate += ord($str[$i]);\n }\n if ($this->dbg) echo (\"File has \" . $this->byteRate . \" byteRate<br/>\");\n $this->byteRateAdjusted = $this->byteRate * $byteRateAdjust;\n $str = fread($fp, 2); $this->fmt .= $str;\n $this->blockAlign = ord($str[0]) + 256 * ord($str[1]);\n if ($this->dbg) echo (\"File has \" . $this->blockAlign . \" blockAlign<br/>\");\n $str = fread($fp, 2); $this->fmt .= $str;\n $this->bitsPerSample = ord($str[0]) + 256 * ord($str[1]);\n if ($this->dbg) echo (\"File has \" . $this->bitsPerSample . \" bitsPerSample<br/>\");\n if ($chunkSize > 16)\n {\n $this->extraFmt = fread($fp, $chunkSize-16); // keep whole fmt\n $this->fmt .= $this->extraFmt;\n }\n $this->firstData = ftell($fp);\n $str = fread($fp, 4);\n if ($str == \"data\")\n {\n $this->ok = 1;\n if ($this->dbg) echo (\"File \" . $f . \" is OK<br/>\");\n } else {if ($this->dbg) echo (\"File \" . $f . \" error on data block<br/>\");}\n } else {if ($this->dbg) echo (\"File \" . $f . \" is not 'fmt' file<br/>\"); }\n } else {if ($this->dbg) echo (\"File \" . $f . \" is not a WAVE file<br/>\"); }\n } else {if ($this->dbg) echo (\"File \" . $f . \" is wrong format<br/>\"); }\n \n fclose($fp);\n $this->approxLenSec = $this->hdrSize / $this->byteRateAdjusted;\n if ($this->dbg) echo (\"approxLenSec = \" . $this->approxLenSec . \"<br/>\");\n }",
"function SERVICE_CREATE_RESAMPLED_TRACK($file, $format, $bitrate, $meta, $destination = false){\n\t\tglobal $path_to_lame, $path_to_flac, $path_to_mpc, $path_to_wavpack, \n\t\t\t $path_to_oggdec, $path_to_oggenc, $lame_cmd, $include_path, \n\t\t\t $jzSERVICES, $path_to_mpcenc, $path_to_wavunpack, $path_to_wmadec,\n\t\t\t\t $path_to_mplayer, $mplayer_opts, $path_to_faad;\n\t\t\t \n\t\t// Ok, now based on the input file let's create the beginning of the command\n\t\t$extArr = explode(\".\",$file);\n\t\t$ext = $extArr[count($extArr)-1];\n\n\t\t// Now let's create the output filename\n\t\t// Did they specify one?\n\t\tif ($destination){\n\t\t\t$outFile = $destination;\n\t\t} else {\n\t\t\t$outArry = explode(\"/\",$file);\n\t\t\t$outFile = $outArry[count($outArry)-1];\n\t\t\t$outFile = getcwd(). \"/data/resampled/\". str_replace($ext,$format,$outFile);\n\t\t\t$outFile = str_replace(\".\". $format,\"\",$outFile). \"-\". $bitrate. \".\". $format;\n\t\t}\n\n\t\t// Now, does the output file already exist? If so let's NOT do this again, ok?\n\t\tif (is_file($outFile)){\n\t\t\treturn $outFile;\n\t\t}\n\n\t\tswitch ($ext){\n\t\t\tcase \"flac\":\n\t\t\t\t$command = $path_to_flac. ' -d -c --totally-silent \"'. $file. '\"';\n\t\t\tbreak;\n\t\t\tcase \"mpc\":\n\t\t\t\t$command = $path_to_mpc. ' --wav \"'. $file. '\"';\n\t\t\tbreak;\n\t\t\tcase \"mp3\":\n\t\t\t\t$command = $path_to_lame. ' --decode -S --silent --quiet \"'. $file. '\" - '; \n\t\t\tbreak;\n\t\t\tcase \"wv\":\n\t\t\t\t$command = $path_to_wavunpack. ' -q \"'. $file. '\" - '; \n\t\t\tbreak;\n\t\t\tcase \"ogg\":\n\t\t\t\tif (stristr($path_to_oggdec,\"oggdec\")){\n\t\t\t\t //$command = $path_to_oggdec. ' --stdout \"'. $file. '\"';\n\t\t\t\t $command = $path_to_oggdec . ' -Q \"' . $file . '\" -o -';\n\t\t\t\t} else {\n\t\t\t\t\t$command = $path_to_oggdec. ' --skip 1 -q -d wav -f - \"'. $file. '\"';\n\t\t\t\t}\n\t\t\tbreak;\n\t\t\tcase \"wma\":\n\t\t\t\t$command .= ' | '. $path_to_wmadec. ' -w \"'. $file. '\"';\n\t\t\tbreak;\n\t\t\tcase \"wav\":\n\t\t\tcase \"ra\":\n\t\t\tcase \"ram\":\n\t\t\tcase \"rm\":\n\t\t\tcase \"m4a\":\n\t\t\t\t\t$command = $path_to_mplayer. ' ' . $mplayer_opts . ' \"' . $file . '\"';\n\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t return false;\n\t\t\tbreak;\n\t\t}\n\n\t\t// Ok, now that we have the input command let's create the output command\n\t\tswitch ($format){\n\t\t\tcase \"mp3\":\n\t\t\t\t// Now let's add the proper options to the lame command\n\t\t\t\t$command .= ' | '. $lame_cmd. $bitrate . ' -f - > \"'. $outFile. '\"';\n\t\t\tbreak;\n\t\t\tcase \"wav\":\n\t\t\t\t$command .= ' > \"'. $outFile. '\"';\n\t\t\tbreak;\n\t\t\tcase \"mpc\":\n\t\t\t\t// First let's figure out the quality setting\n\t\t\t\tswitch ($bitrate){\n\t\t\t\t\tcase \"128\":\n\t\t\t\t\t\t$quality = \" --standard\";\n\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"192\":\n\t\t\t\t\t\t$quality = \" --xtreme\";\n\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"320\":\n\t\t\t\t\tcase \"original\":\n\t\t\t\t\t\t$quality = \" --insane\";\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t$command .= ' | '. $path_to_mpcenc. $quality. ' --silent --overwrite --standard - \"'. $outFile. '\"';\n\t\t\tbreak;\n\t\t\tcase \"wv\":\n\t\t\t\t$command .= ' | '. $path_to_wavpack. ' -y -i -q - \"'. $outFile. '\"';\n\t\t\tbreak;\n\t\t\tcase \"flac\":\n\t\t\t\t$command .= ' | '. $path_to_flac. ' --totally-silent - > \"'. $outFile. '\" ';\n\t\t\tbreak;\n\t\t\tcase \"ogg\":\n\t\t\t return false;\n\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t return false;\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\t// Now let's fix up the paths for Windows\n\t\tif (stristr($_ENV['OS'],\"win\")){\n\t\t\t$command = str_replace(\"/\",\"\\\\\",$command);\n\t\t}\n\n\t\t// Let's log the command we just passed\n\t\twriteLogData(\"resample-command\",$command);\n\n\t\t// Now let's execute the command\n\t\texec($command);\n\n\t\t// Ok, now let's write the meta data to our new track\n\t\t$jzSERVICES->setTagData($outFile, $meta);\n\t\t\n\t\t// Now let's return the newly created filename\n\t\treturn $outFile;\n\t}",
"public function voicePlatformQuery()\n\t{\n\t\t$data = array('communique' => Zend_Json::encode(array('voice' => 1)));\n\t\t\n\t\t// initiate curl session\n\t\t$ch = curl_init();\n\t\t\n\t\t$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';\n\t\t\n\t\t// url for curl\n\t\tcurl_setopt($ch, CURLOPT_URL, $queryArrUrl);\n\t\t// return with result on success\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\t\t// using POST and not GET\n\t\tcurl_setopt($ch, CURLOPT_POST, true);\n\t\t// POST data\n\t\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $data);\n\t\t\t\n\t\t// get wave file a.k.a communique\n\t\t$result = curl_exec($ch);\n\t\t\n\t\t$resultInArr = Zend_Json::decode($result);\n\t\t$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n\t\t\n\t\tcurl_close($ch);\n\t\t\n\t\tif ($resultInArr['status'] == 'FAIL'){\n\t\t\t$message = $status['message'];\n\t\t\t\n\t\t\tthrow new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);\n\t\t}\n\t\telse{\n\t\t\t$urlString = $resultInArr['voice'][0]; // retrieve only one url string\n\t\t\t\n\t\t\treturn array($urlString, $resultInArr['voice']);\n\t\t}\n\t}",
"public function sound_mp3()\n\t{\n\t\tif (preg_match('/.+[-_\\s]{0,3}[\\(\\[]\\d+\\/\\d+[\\)\\]][-_\\s]{0,3}\"(.+)' . $this->e0 .\n\t\t\t\t\t '[ _-]{0,3}\\d+[.,]\\d+ [kKmMgG][bB][ _-]{0,3}yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //\"Terraplane Sun - Funnel of Love.mp3\" - 21.55 MB - (1/6) - yEnc\n\t\tif (preg_match('/^\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e0 .\n\t\t\t\t\t '[ _-]{0,3}\\d+[.,]\\d+ [kKmMgG][bB][ _-]{0,3}\\(\\d+\\/(\\d+\\))[ _-]{0,3}yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //trtk09920 - [01/12] - \"Guido Negraszus - Night Cafe Iii (Freedom Travellers) (2012)(320).par2\" yEnc\n\t\tif (preg_match('/^trtk\\d+[-_\\s]{0,3}\\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(????) [001/153] - \"C4 House Party Horse Meat Disco Set 6.nfo\" C4 House Party Horse Meat Disco Set 6 yEnc\n\t\tif (preg_match('/^\\(\\?+\\) \\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(????) [19/22] - C.K.N. Demo 85 \"19-rotten system.mp3\" yEnc\n\t\tif (preg_match('/^\\(\\?+\\) \\[\\d+\\/\\d+\\] - (.+)[-_\\s]{0,3}\".+?' . $this->e0 . '.+yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(LUNATIC SOUL - IMPRESSIONS) [00/18] - \"Lunatic Soul - Impressions 2011.nzb\" yEnc\n\t\tif (preg_match('/^\\(.+\\)[-_\\s]{0,3}\\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //[1/8] - \"Black Market Flowers - Bind (1993).sfv\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\] - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t}\n\t\t//[1/1] - (150 MP3 Album Charts) - \"Atlantean Kodex - The White Goddess.rar\" yEnc\n\t\t//[1/1] - (MP3 Album Charts) - \"Black Sabbath - 13.rar\" yEnc\n\t\t//[1/1] - (Top100 Album Charts) - \"Bastille - Pompeii.rar\" yEnc\n\t\t//[1/1] - (Top100 Charts) - \"Beatrice Egli - Gluecksgefuehle.rar\" yEnc\n\t\t//[1/1] - (Top100 Single Charts) - \"Alicia Keys - Girl On Fire.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}\\(((Top)?\\d+ )?(MP3 )?((Album|Single) )?Charts\\)[ -]{0,4}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . ' yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[6];\n\t\t} //[1/1] - (Album Top 100) - \"[Dance] David Guetta - One Love (2010) .rar\" yEnc\n\t\t//[1/1] - (Album Top 100) - \"Aerosmith - Music From Another Dimension.rar\" yEnc\n\t\t//[1/1] - Album Top 100 - \"ACDC - Live At River Plate.rar\" yEnc\n\t\t//[1/1] (Album Top 100 - 2012) - \"Alicia Keys - Girl On Fire.rar\" yEnc\n\t\t//[1/1] (Album Top 100 2012) - \"Asaf Avidan And The Mojos - One Day.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}(\\()?(Album|Single) Top \\d+ ([- ]{0,2}\\d+)?(\\))? - \"(\\[.+?\\] )?(.+?)' .\n\t\t\t\t\t $this->e0 . ' {1,4}yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[6];\n\t\t} //[1/1] - Top 100 Album Charts 2012 - \"Aura Dione feat. Rock Mafia - Friends.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}Top \\d+ Album Charts \\d+[-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . ' {1,4}yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //<>usenet-piraten.info<>partner<>ssl-news.info<> - [10/10] - \"Overexposed (Deluxe Version).vol31+23.par2\" yEnc\n\t\tif (preg_match('/^.+usenet-piraten\\.info.+ - \\[\\d+\\/\\d+\\][-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(1/1) \"Adam Levine (Maroon 5) & Alicia Keys - Daylight & Girl on fire LIVE 55TH GRAMMY AWARDS 320Kpbs.mp3\" yEnc\n\t\tif (preg_match('/^\\(\\d+\\/\\d+\\) \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' . $this->e1,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //(1/4) - VERBAteam present - \"Avril Lavigne - Rock 'N Roll (Official Audio).mp3\" - 5,80 MB - yEnc\n\t\tif (preg_match('/^\\(\\d+\\/\\d+\\) - VERBAteam present - \"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e2,\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //[1/1] - (Album Top 1000) - \"Davis, Miles - Complete Live at the Plugged Nickel 1965.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}\\(Album Top \\d+\\)[-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . ' yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //[1/1] - Album Top 100 - \"Rammstein - Made In Germany 1995-2011.rar\" yEnc\n\t\tif (preg_match('/^\\[\\d+\\/\\d+\\][-_\\s]{0,3}Album Top \\d+[-_\\s]{0,3}\"([\\w\\säöüÄÖÜß+¤¶!.,&_()\\[\\]\\'\\`{}#-]{8,}?\\b.?)' .\n\t\t\t\t\t $this->e0 . ' yEnc$/',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Andrea Berg - My Danish Collection (2013) by dem verrückten Lordi (14/27) \"Andrea Berg - My Danish Collection (2013).par2\" - 132,74 MB 150920134 yEnc\n\t\t//Der Deutsche Beat Mix Teil 2 auf wunsch (by dem verrückten Lordi) (2/9) \"Der Deutsche Beat Mix Teil 3 Back.jpg\" - 117,84 MB 13.11.05 yEnc\n\t\tif (preg_match('/^(.+?) (\\()?by dem verrückten Lordi(\\))? {1,2}\\(\\d+\\/\\d+\\) \".+?' .\n\t\t\t\t\t $this->e0 . '[-_\\s]{0,3}\\d+[.,]\\d+ [kKmMgG][bB].+yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Christian Anders - Tief in dir (15/24) \"Christian Anders - Tief In Dir Back.jpg\" - 58,56 MB by dem verrückten Lordi 0703123 yEnc\n\t\tif (preg_match('/^(.+?) \\(\\d+\\/\\d+\\) \".+?' . $this->e0 .\n\t\t\t\t\t '[-_\\s]{0,3}\\d+[.,]\\d+ [kKmMgG][bB] {1,2}by dem verrückten Lordi.+yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Der etwas andere Mix - Wilde Herzenmix (auf wunsch) neu (by dem verrückten Lordi) (1/8) \"Der etwas andere Mix - Wilde Herzenmix.par2\" yEnc\n\t\tif (preg_match('/^Der etwas.+ - (.+) \\(\\d+\\/\\d+\\) \".+?' . $this->e0 . '.+yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //Full Discography - The Cranberries (01/47) \"Full Discography - The Cranberries.par2\" - 3,52 GB 2812111 yEnc\n\t\tif (preg_match('/^(.+?) \\(\\d+\\/\\d+\\) \".+?' . $this->e0 .\n\t\t\t\t\t '[-_\\s]{0,3}\\d+[.,]\\d+ [kKmMgG][bB] {1,2}\\d+ yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t} //jean ferrat année 1967 à 1969 meil29 \"17 Rien à voir.mp3\" yEnc\n\t\tif (preg_match('/^(.+?) meil29 \".+?' . $this->e1, $this->subject, $match)) {\n\t\t\treturn $match[1];\n\t\t} //Selected Songs by Various Artists - Depeche Mode - Personal Jesus (Acoustic Version).mp3 yEnc\n\t\tif (preg_match('/^Selected Songs by Various Artists - (.+?)([-_](proof|sample|thumbs?))*(\\.part\\d*(\\.rar)?|\\.rar)?(\\d{1,3}\\.rev|\\.vol.+?|\\.[A-Za-z0-9]{2,4}) yEnc$/i',\n\t\t\t\t\t $this->subject,\n\t\t\t\t\t $match)\n\t\t) {\n\t\t\treturn $match[1];\n\t\t}\n\t\treturn array(\n\t\t\t\"cleansubject\" => $this->releaseCleanerHelper($this->subject), \"properlynamed\" => false\n\t\t);\n\t}",
"function _audio($src, $atts = array()) {\n $files = array();\n $isExternal = media_isexternal($src);\n\n if ($isExternal) {\n // take direct source for external files\n list(/*ext*/, $srcMime) = mimetype($src);\n $files[$srcMime] = $src;\n } else {\n // prepare alternative formats\n $extensions = array('ogg', 'mp3', 'wav');\n $files = media_alternativefiles($src, $extensions);\n }\n\n $out = '';\n // open audio tag\n $out .= '<audio '.buildAttributes($atts).' controls=\"controls\">'.NL;\n $fallback = '';\n\n // output source for each alternative audio format\n foreach($files as $mime => $file) {\n if ($isExternal) {\n $url = $file;\n $linkType = 'externalmedia';\n } else {\n $url = ml($file, '', true, '&');\n $linkType = 'internalmedia';\n }\n $title = $atts['title'] ? $atts['title'] : $this->_xmlEntities(utf8_basename(noNS($file)));\n\n $out .= '<source src=\"'.hsc($url).'\" type=\"'.$mime.'\" />'.NL;\n // alternative content (just a link to the file)\n $fallback .= $this->$linkType($file, $title, null, null, null, $cache = null, $linking = 'linkonly', $return = true);\n }\n\n // finish\n $out .= $fallback;\n $out .= '</audio>'.NL;\n return $out;\n }",
"public function testconvertAudioSuccess()\n {\n $mock_response = new MockHttpResponse(\n 200,\n '{\"uuid\" : \"some_uuid\"}'\n );\n\n $stub_http_client = $this->createMock(\\GuzzleHttp\\Client::class);\n $stub_http_client->method('request')\n ->willReturn($mock_response);\n\n $client = new FilestackClient(\n $this->test_api_key,\n $this->test_security,\n $stub_http_client\n );\n\n $source = 'https://upload.wikimedia.org/wikipedia/commons/b/b5/'.\n 'Op.14%2C_Scherzo_No.2_in_C_minor_for_piano%2C_C._Schumann.ogg';\n $output_options = [\n 'access' => 'public',\n 'audio_bitrate' => 256,\n 'audio_channels' => 2,\n 'audio_sample_rate' => 44100,\n 'force' => true,\n 'title' => 'test Filestack Audio conversion'\n ];\n\n $uuid = $client->convertAudio($source, 'mp3', $output_options);\n\n $this->assertNotNull($uuid);\n }",
"function synthesizeAudio($md5, $text, $voice, $type, $language, $rate)\n { \n \t\n // DEBUG\n \t// echo \"T: \".$text.\"; V: \".$voice.\"; Ty: \".$type.\"; L: \".$language;\n \t\n $CI = &get_instance();\n $CI->load->model('Audio_model');\n \n $output = array();\n $error = false;\n $errormessage = null;\n $errorcode = 0;\n $filename = null;\n $extension = \"mp3\";\n \n // if it's an online voice\n if ($type == \"online\") {\n \n // default voice ES masc (Jorge)\n $vocalwareLID = 2;\n $vocalwareVID = 6;\n \n // if it's a default interface voice\n if (preg_match(\"/DEFAULT \\(/i\", $voice)) {\n $isfem = true;\n if (preg_match(\"/DEFAULT \\(masc\\)/i\", $voice)) $isfem = false;\n \n // get default values for the interface voice in each language\n switch ($language) {\n \n // CA\n case 1:\n $vocalwareLID = 5;\n if ($isfem) $vocalwareVID = 1;\n else $vocalwareVID = 2;\n break;\n \n // ES\n case 2:\n $vocalwareLID = 2;\n if ($isfem) $vocalwareVID = 1;\n else $vocalwareVID = 6;\n break;\n \n // EN\n case 3:\n $vocalwareLID = 1;\n if ($isfem) $vocalwareVID = 1;\n else $vocalwareVID = 2;\n break;\n \n default:\n $error = true;\n $errormessage = \"Error. Default voice not found for this language.\";\n $errorcode = 106;\n break;\n } \n }\n // the voice is the id of the voice in the database\n else {\n // we get the info of the voice from the database\n $auxrow = $CI->Audio_model->getOnlineVoices((int) $voice);\n $voiceinfo = $auxrow[0];\n \n $vocalwareLID = $voiceinfo->vocalwareIdLang;\n $vocalwareVID = $voiceinfo->vocalwareVoiceId;\n }\n \n if (!$error) {\n $auxresponse = $this->synthesizeOnline($vocalwareLID, $vocalwareVID, $text, $md5);\n // if there was an error\n if ($auxresponse[0]) {\n $error = true;\n $errormessage = $auxresponse[1];\n $errorcode = $auxresponse[2];\n }\n }\n \n }\n // si la veu és offline\n else {\n $user_agent = $this->getOS();\n \n switch ($user_agent) {\n case \"Mac OS X\":\n $extension = \"m4a\";\n \n $auxresponse = $this->synthesizeMacOSX($voice, $text, $md5, $rate);\n // if there was an error\n if ($auxresponse[0]) {\n $error = true;\n $errormessage = $auxresponse[1];\n $errorcode = $auxresponse[2];\n }\n\n break;\n \n case \"Windows\":\n \n $auxresponse = $this->synthesizeWindows($voice, $text, $md5);\n // if there was an error\n if ($auxresponse[0]) {\n $error = true;\n $errormessage = $auxresponse[1];\n $errorcode = $auxresponse[2];\n }\n \n break;\n\n default:\n $error = true;\n $errormessage = \"Error. Your OS is not compatible with offline voices. \"\n . \"Change your voices in your user configuration settings.\";\n $errorcode = 107;\n break;\n }\n }\n \n if (!$error) {\n $filename = $md5.\".\".$extension;\n $CI->Audio_model->saveAudioFileToDatabase($text, $md5, $filename);\n }\n \n $output[0] = $filename;\n $output[1] = $error;\n $output[2] = $errormessage;\n $output[3] = $errorcode;\n \n return $output;\n }",
"function copyFileToLocal($fileid){\n#set target path for storing audio files on the server\n$audio_upload_path = \"/home/dingz/dataset/audiofiles/0/\" .$fileid. \".wav\";\n#get and store uploaded audio files on the server\nif(copy($_FILES['uploadedfile']['tmp_name'], $audio_upload_path)) {\n #echo \"File uploaded!\\n\";\n return TRUE;\n} else{\n echo \"There was an error uploading the file...\\nThe developer is notified with this problem. Sorry for the inconvenience!\\n\";\n #error_log(\"Attendance System:\\nVerification: Uploading file failed!\", 1, \"[email protected]\");\n\treturn FALSE;\n}\n}",
"public function sendAudio($chat_id,$audio,$caption=null,$reply_to_message_id=null,$reply_markup=null,$title=null,$duration=null,$performer=null,$disable_notification=null){\n return $this->make_http_request(__FUNCTION__,(object) get_defined_vars());\n }",
"private function aud(){\n if($this->checkStatus()){\n chdir('..');\n $mp3 = scandir('aud/');\n unset($mp3[0]);\n unset($mp3[1]);\n sort($mp3);\n header('content-type: application/json');\n echo json_encode($mp3);\n } else {\n $this->notFound404();\n }\n }",
"public function audio($action = '', $needle = '', $optional_arg = '')\n {\n $action = strtolower(clean_input($action));\n $needle = strtolower(clean_input($needle));\n $optional_arg = strtolower(clean_input($optional_arg));\n\n if($action === 'category' && $needle !== '' && $optional_arg === 'latest'){\n $audio_data = $this->audio_model->getAudioByCategory($needle, $optional_arg);\n $this->output->set_content_type('application/json')->set_output(json_encode($audio_data));\n }elseif($action === 'single' && $needle !== ''){\n // get single audio from database using $needle as audio_id\n $audio_data = $this->audio_model->get_audio_by_id($needle);\n $this->output->set_content_type('application/json')->set_output(json_encode($audio_data));\n }else{\n return false;\n }\n }"
] |
[
"0.65607166",
"0.6422165",
"0.6350923",
"0.62428117",
"0.62085336",
"0.6149807",
"0.6081975",
"0.5986384",
"0.59571826",
"0.5924818",
"0.59077454",
"0.58577657",
"0.5834823",
"0.58140904",
"0.5808749",
"0.57970387",
"0.57926077",
"0.5764043",
"0.57349765",
"0.5667112",
"0.5648286",
"0.56335676",
"0.56254566",
"0.5619234",
"0.5593766",
"0.5572723",
"0.5524557",
"0.54878414",
"0.5484774",
"0.54761696"
] |
0.7150639
|
0
|
Funttion to delete unpublished communique from voice platform and database
|
public function deleteUnpublishedCommunique($id)
{
/** remove entry from communique platform **/
$data = array('communique' => Zend_Json::encode(array('comm_id' => $id)));
// initiate curl session
$ch = curl_init();
$deleteUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/delete.php';
// url for curl
curl_setopt($ch, CURLOPT_URL, $deleteUrl);
// return with result on success
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// using POST and not GET
curl_setopt($ch, CURLOPT_POST, true);
// POST data
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// delete entry from platform
$delete = curl_exec($ch);
$statusDel = Zend_Json::decode($delete);
$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($statusDel['status'] == 'FAIL'){
$message = strip_tags($statusDel['message']);
throw new Exception('Communique Deletion Error: '. $message .$httpRspCode);
}
else{
$logger = Zend_Registry::get('logger');
$message = 'Communiqué with com_id: '. $id . ' deleted';
$logger->setEventItem('stacktrace', 'deleted by user with user_id: '.$this->auth->user_id);
$logger->setEventItem('request', $message.' on '. date('Y-m-d H:i:s'));
$logger->log('Generated communiqué not published', Zend_Log::NOTICE);
$q = Doctrine_Query::create()
->delete('Voices_Model_Uploads u')
->where('u.com_id=?', $id);
$q->execute();
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function cms_delete($id) {\n GLOBAL $db;\n// удаление данных о статье\n $db -> query(\"DELETE FROM content WHERE id='$id'\");\n $db -> query(\"DELETE FROM content WHERE pid = '$id'\");\n// удаление информации о статьях из \"связанных\" таблиц\n $db -> query(\"UPDATE items SET article=REPLACE(article,'|\".$id.\"|','|') WHERE article LIKE '%|\".$id.\"|%'\");\n $db -> query(\"UPDATE spec SET article=REPLACE(article,'|\".$id.\"|','|') WHERE article LIKE '%|\".$id.\"|%'\");\n\n}",
"public function adminDelComm()\n {\n $commID = $_POST['commID'];\n $del = \"DELETE FROM comment_section WHERE comm_id = ?\";\n $do = $this->connect()->prepare($del);\n $do->execute([$commID]);\n }",
"function pubf_DeleteSingleAnswer(){\n //delete all relations from table actividadrespuesta\n $DeleteSingleAnswer=$this->prepare(\"DELETE FROM actividadrespuesta WHERE idRespuesta = :idRespuesta\");\n $DeleteSingleAnswer->bindParam(':idRespuesta' , $this->idRespuesta);\n $this->executeQueryPrepare($DeleteSingleAnswer);\n $DeleteRelatedAnswer=$this->prepare(\"DELETE FROM respuesta WHERE idRespuesta = :idRespuesta\");\n $DeleteRelatedAnswer->bindParam(':idRespuesta' , $this->idRespuesta);\n $this->executeQueryPrepare($DeleteRelatedAnswer);\n }",
"function removeSubscription() {\r\n if(isset($_REQUEST['corp_id'])) {\r\n $arrArg=array(\r\n \"id\"=>$_SESSION['id'],\r\n \"corp_id\"=>$_REQUEST['corp_id']\r\n );\r\n $result=loadModel(\"subscription\",\"removeSubscription\",$arrArg);\r\n if ($result == true) {\r\n echo \"UnSubscribed\";\r\n } else {\r\n echo \"Error! Try later\";\r\n }\r\n }\r\n }",
"function delete_users_in_presence($id_presence)\n{\n\t$db = cmsms()->GetDb();\n\t$query = \"DELETE FROM \".cms_db_prefix().\"module_presence_belongs WHERE id_presence = ?\";\n\t$dbresult = $db->Execute($query, array($id_presence));\n\t\n}",
"function setDelete(){\n\t\t$msg\t= \"===========\\tELIMINADO LA CUENTA \" . $this->mNumeroCuenta . \"\\r\\n\";\n\t\t$cuenta\t= $this->mNumeroCuenta;\n\t\t$socio\t= $this->mSocioTitular;\n\t\t$xQL\t= new MQL();\n\t\t\t//Cuenta\n\t\t\t$SQLDCuenta \t= \"DELETE FROM captacion_cuentas WHERE numero_cuenta = $cuenta AND numero_socio = $socio \";\n\t\t\t$x = $xQL->setRawQuery($SQLDCuenta);\n\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\t Eliminando la Cuenta (\" . $x[\"info\"] . \")\\r\\n\";\n\t\t\t}\n\t\t\t//Firma\n\t\t\t/*$SQLDFirma \t= \"DELETE FROM socios_firmas WHERE numero_de_cuenta = $cuenta \";\n\t\t\t$x = my_query($SQLDFirma);\n\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\tEliminando las Firmas (\" . $x[\"info\"] . \")\\r\\n\";\n\t\t\t}*/\n\t\t\t//sdpm\n\t\t\t$SQLD_SDPM \t= \"DELETE FROM captacion_sdpm_historico WHERE cuenta = $cuenta \";\n\t\t\t$x = $xQL->setRawQuery($SQLD_SDPM);\n\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\t\" . $x[\"info\"] . \"\\r\\n\";\n\t\t\t}\n\n\t\t\t//Movimientos\n\t\t\t$SQLDOpes\t= \"DELETE FROM operaciones_mvtos WHERE docto_afectado = $cuenta AND socio_afectado = $socio \";\n\t\t\t$x = $xQL->setRawQuery($SQLDOpes);\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\t\" . $x[\"info\"] . \"\\r\\n\";\n\t\t\t}\n\n\t\t\t$SQLDRecs\t= \"DELETE FROM operaciones_recibos WHERE docto_afectado = $cuenta AND numero_socio = $socio \";\n\t\t\t$x = $xQL->setRawQuery($SQLDRecs);\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\t\" . $x[\"info\"] . \"\\r\\n\";\n\t\t\t}\n\n\t\t\t//Actualizar el Credito Relacionado\n\t\t\t$SQLDCC\t= \"UPDATE creditos_solicitud\n\t\t\t\t\t\tSET contrato_corriente_relacionado = \" . CTA_GLOBAL_CORRIENTE . \"\n\t\t\t\t\t\tWHERE contrato_corriente_relacionado = $cuenta \";\n\t\t\t$x = $xQL->setRawQuery($SQLDCC);\n\t\t\tif ($x[\"stat\"] == false ){\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tERROR\\t\" . $x[\"error\"] . \"\\r\\n\";\n\t\t\t} else {\n\t\t\t\t$msg\t.= date(\"H:i:s\") . \"\\tSUCESS\\tActualizando Creditos Relacionados (\" . $x[\"info\"] . \") \\r\\n\";\n\t\t\t}\n\t\treturn $msg;\n\t}",
"function removeExistingAssociation($sentenceID, $wordSequenceNumber){\r\n\t\t$sentence_wordDeleteQuery = \"DELETE FROM sentence_word WHERE sentenceID = \" .\r\n\t\t\t$sentenceID . \" AND wordSequenceNumber = \" . \r\n\t\t\tmysql_real_escape_string($wordSequenceNumber);\r\n\t\tif(!$sentence_wordDeleteResult = mysql_query($sentence_wordDeleteQuery)){echo ('Query failed: ' . mysql_error()) . \" QUERY TEXT: \" . $sentence_wordDeleteQuery; mysql_query(\"ROLLBACK\");die();} \r\n}",
"function deletePromotions($parameters=array()){\n $result=deletePromotionsDataBase($parameters);\n return $result;\n}",
"public function delete(){\n if (isset($this->content[$this->idField])) {\n\n $sql = \"DELETE FROM {$this->table} WHERE {$this->idField} = {$this->content[$this->idField]};\";\n $delet = new \\AR\\BD\\Delete();\n $delet->ExeDelete($this->table, \"WHERE {$this->idField} = {$this->content[$this->idField]}\", \"\");\n \n }\n }",
"function delete()\n {\n $product_id =(int) $this->getProductId();\n if(!$product_id){\n return false;\n }\n \n $vdo = vpdo::getVdo(DB_PREFIX . $this->wid);\n\n $vdo->exec('delete from word_relation where product_id = '. $product_id);\n $vdo->exec('delete from products where id = '. $product_id);\n $vdo->exec('delete from options_values where product_id = '. $product_id);\n return $product_id;\n }",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete();",
"public function delete()\n {\n $this->entityManager->getConnection()->exec(\"TRUNCATE subscriptions_products;\");\n $this->entityManager->getConnection()->exec(\"TRUNCATE subscriptions_products_tiers;\");\n $this->entityManager->getConnection()->exec(\"TRUNCATE subscriptions_products_tiers_payment_options;\");\n }",
"public function DELETE() {\n #\n }",
"public function phrase_delete_execute()\n {\n ee()->publisher_phrase->delete(ee()->input->post('phrase_id', TRUE));\n\n ee()->session->set_flashdata('message_success', lang('publisher_phrase_deleted'));\n ee()->publisher_helper_url->redirect(ee()->publisher_helper_cp->mod_link('phrases'));\n }",
"public function delete(){\r\n $rsid_array = $this -> uri -> segment_array();\r\n\r\n foreach ($rsid_array as $key => $value) {\r\n \r\n //If the key is greater than 2 i.e is one of the the ids\r\n if ($key > 2) {\r\n\r\n //Run delete\r\n $this -> db -> delete('refSubs', array('id' => $value));\r\n\r\n } \r\n }\r\n\r\n }",
"public function delete($perifericos);"
] |
[
"0.6233338",
"0.6129496",
"0.60930765",
"0.60498625",
"0.6048823",
"0.6028461",
"0.6024652",
"0.6021869",
"0.60194",
"0.6019219",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60165685",
"0.60077554",
"0.59901184",
"0.5969113",
"0.5966677",
"0.5943002"
] |
0.72974724
|
0
|
Function to query current communique on voice platform
|
public function voicePlatformQuery()
{
$data = array('communique' => Zend_Json::encode(array('voice' => 1)));
// initiate curl session
$ch = curl_init();
$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';
// url for curl
curl_setopt($ch, CURLOPT_URL, $queryArrUrl);
// return with result on success
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// using POST and not GET
curl_setopt($ch, CURLOPT_POST, true);
// POST data
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// get wave file a.k.a communique
$result = curl_exec($ch);
$resultInArr = Zend_Json::decode($result);
$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($resultInArr['status'] == 'FAIL'){
$message = $status['message'];
throw new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);
}
else{
$urlString = $resultInArr['voice'][0]; // retrieve only one url string
return array($urlString, $resultInArr['voice']);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function communiquePlatformQuery()\n\t{\n\t\t$data = array('communique' => Zend_Json::encode(array('comm_id' => 1)));\n\t\t\n\t\t// initiate curl session\n\t\t$ch = curl_init();\n\t\t\n\t\t$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';\n\t\t\n\t\t// url for curl\n\t\tcurl_setopt($ch, CURLOPT_URL, $queryArrUrl);\n\t\t// return with result on success\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\t\t// using POST and not GET\n\t\tcurl_setopt($ch, CURLOPT_POST, true);\n\t\t// POST data\n\t\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $data);\n\t\t\t\n\t\t// get wave file a.k.a communique\n\t\t$result = curl_exec($ch);\n\t\t\n\t\t$resultInArr = Zend_Json::decode($result);\n\t\t$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n\t\t\n\t\tcurl_close($ch);\n\t\t\n\t\tif ($resultInArr['status'] == 'FAIL'){\n\t\t\t$message = $status['message'];\n\t\t\t\n\t\t\tthrow new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);\n\t\t}\n\t\telse{\n\t\t\treturn $resultInArr['comm_id'];\n\t\t}\n\t}",
"public function matchid() {\r\n\t\t$this->db->getCommsArr ();\r\n\t}",
"public function robot()\n {\n if ($device == 'robot') {\n #which robot is it. google, yahoo, amazon etc..\n\n #return result to be stored\n } \n }",
"function get_chtrm($chatid){\r\n\r\n}",
"public function pingVoicePlatform()\n\t{\n\t\t// initiate curl session\n\t\t$ch = curl_init();\n\t\t\n\t\t$queryUrl = Zend_Registry::get('config')->voice->platform->base->url;\n\t\t\n\t\t// url for curl\n\t\tcurl_setopt($ch, CURLOPT_URL, $queryUrl);\n\t\t// return with result on success\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\t\t// only headers, no body\n\t\tcurl_setopt($ch, CURLOPT_NOBODY, true);\n\t\t\t\n\t\t// test connection\n\t\tcurl_exec($ch);\n\t\t\n\t\t$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n\t\t\n\t\tcurl_close($ch);\n\t\t\n\t\tif ($httpRspCode >= 200 && $httpRspCode < 400)\n\t\t\treturn true;\n\t\telse{\n\t\t\treturn false;\n\t\t}\n\t}",
"function get_chtrm_name($chatid){\r\n\r\n}",
"public function getLocalVoices()\n {\n $user_agent = $this->getOS();\n \n $voices = array();\n $error = false;\n $errorcode = 0;\n $errormessage = null;\n \n switch ($user_agent) {\n \n case \"Mac OS X\":\n \n try {\n // Llistat de veus\n $cmdresponse = shell_exec(\"say --voice=?\");\n\n // Partim pels espais d'abans de la definició de l'idioma de format xX_xX\n // fins al salt de línia\n $voices = preg_split( '/[\\s]+..[_-][a-zA-Z]+[\\s]+#[^\\r\\n]*(\\r\\n|\\r|\\n)/', $cmdresponse);\n // eliminem l'últim element que és buit\n array_pop($voices);\n \n } catch (Exception $ex) {\n $error = true;\n $errormessage = \"Error. Unable to access your Mac OS X voices. Try activating your system\"\n . \"voices. Otherwise, your OS X may not be compatible with the 'say' command.\";\n $errorcode = 101;\n }\n \n if (!$error && count($voices) < 1) {\n $error = true;\n $errormessage = \"Error. No installed voices found. Activate your system\"\n . \"voices or install external voices for Mac OS X (i.e. Acapela voices).\";\n $errorcode = 102;\n }\n\n break;\n \n case \"Windows\":\n\n // error de Microsoft Speech Platform\n $errorMSP = false;\n $errorMSPtmp = null;\n \n try {\n // Recollim els objectes de les llibreries Speech de Microsoft que necessitem\n $msVoice = new COM('Speech.SpVoice');\n\n $numvoices = $msVoice->GetVoices()->Count;\n\n // agafem les veus, la descripció la farem servir per buscar els idiomes\n // de cada una d'elles, idealment són les que s'haurien de llistar\n // a la interfície de l'usuari\n for ($i=0; $i<$numvoices; $i++) {\n $voices[] = $msVoice->GetVoices()->Item($i)->GetDescription;\n }\n\n // DEBUG\n // print_r($voices);\n \n } catch (Exception $ex) {\n $errorMSP = true;\n $errorMSPtmp = \"Error. Unable to access Microsoft Speech Platform.\";\n }\n \n // error de SAPI\n $errorSAPI = false;\n $errorSAPItmp = null;\n \n try {\n // Recollim els objectes de les llibreries SAPI que necessitem\n\n $msSAPIVoice = new COM('SAPI.SpVoice');\n\n $numvoicesSAPI = $msSAPIVoice->GetVoices()->Count;\n\n // agafem les veus, la descripció la farem servir per buscar els idiomes\n // de cada una d'elles, idealment són les que s'haurien de llistar\n // a la interfície de l'usuari\n\n for ($i=0; $i<$numvoicesSAPI; $i++) {\n $voices[] = $msSAPIVoice->GetVoices()->Item($i)->GetDescription;\n }\n // DEBUG\n // print_r($voices);\n \n } catch (Exception $ex) {\n $errorSAPI = true;\n $errorSAPItmp = \"Error. Unable to access SAPI voices.\";\n }\n \n if ($errorMSP && $errorSAPI) {\n $error = true;\n $errormessage = \"Error. Unable to access your Windows voices. \"\n . \"Install Microsoft Speech Platform (MSP) or SAPI voices. Otherwise, \"\n . \"your Windows may not be compatible with MSP or SAPI.\";\n $errorcode = 103;\n }\n else if (count($voices) < 1) {\n $error = true;\n $errormessage = \"Error. No installed voices found. \"\n . \"Install Microsoft Speech Platform or SAPI voices.\";\n $errorcode = 104;\n }\n\n break;\n \n default:\n $error = true;\n $errormessage = \"Error. Your OS is not compatible with the offline version of this app.\";\n $errorcode = 105;\n break;\n }\n \n $output = array(\n 0 => $voices,\n 1 => $error,\n 2 => $errormessage,\n 3 => $errorcode\n );\n \n return $output;\n }",
"function common_serial_get_connected_device($query,$pass){\r\n//Inisialisasi serial port\r\n\t//Sertakan library php serial untuk menggunakan fungsi\r\n\t//php yang mendukung komunikasi serial\r\n\trequire_once(\"php_serial.class.php\");\r\n\t//Inisialisasi parameter serial\r\n\t$serial = new phpSerial();\t\r\n\t//baud rate\r\n\t$serial->confBaudRate(9600);\r\n\t$devList = common_serial_scan();\r\n\tforeach($devList as $dev){\r\n\t\t//Siapkan port arduino untuk bisa digunakan\r\n\t\tcommon_init_serial($dev);\t\r\n\t\t//Alamat perangkat\r\n\t\t$serial->deviceSet($dev);\r\n\t\t//Buka koneksi (tulis)\r\n\t\t$serial->deviceOpen('w+');\r\n\t\t//kirim query (delay 1 detik)\r\n\t\t$serial->sendMessage($query,1);\r\n\t\t//baca balasan\r\n\t\t$mp = $serial->readPort();\r\n\t\t//tutup koneksi\r\n\t\t$serial->deviceClose();\t\r\n\r\n\t\t//cek hasil query\r\n\t\tif($mp == $pass){\r\n\t\t\t//Jika respon sama dengan query\r\n\t\t\t//kembalikan alamat perangkat terkoneksi\r\n\t\t\treturn $dev;\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n}",
"function voirCommandeToken($token){\n\t$conditions = array();\n\tarray_push($conditions, array('nameChamps'=>'tokenVerification','type'=>'=','name'=>'tokenVerification','value'=>$token));\n\t$req = new myQueryClass('commande',$conditions);\n\t$r = $req->myQuerySelect();\n\tif(count($r)== 1){\n\t\treturn $r[0];\n\t}else{\n\t\treturn false;\n\t}\n}",
"protected function detectUserDevice()\n {\n //get the language id for chapter site\n $userModel = new Model_User();\n \n //get the chapter site defaultlanguage\n $this->_chapLanguageId = $userModel->getUserLanguage($this->_chapId);\n \n //Set chap default language to emglish if $_chapLanguageId is empty\n $this->_chapLanguageId = (empty($this->_chapLanguageId)) ? 1 : $this->_chapLanguageId;\n \n //If chap is multilingual\n $sessionLanguage = new Zend_Session_Namespace('languagesession');\n if($sessionLanguage->id){\n $this->_chapLanguageId = $sessionLanguage->id;\n }\n else{\n if($this->_chapId == 81604 || $this->_chapId == 274515 || $this->_chapId == 110721 || $this->_chapId == 276531 || $this->_chapId == 280316\n || $this->_chapId == 320345 || $this->_chapId == 324405 || $this->_chapId == 326728 || $this->_chapId == 320345 \n || $this->_chapId == 585480 || $this->_chapId == 585474 || $this->_chapId == 282227 ){ //This is for temporary for qelasy\n $this->_chapLanguageId = 2;\n }\n if($this->_chapId == 115189){ //For YCoins\n \n $sessionCounty = new Zend_Session_Namespace('county');\n $this->_chapLanguageId = ($sessionCounty->code == 'JP') ? 24 : 1; \n //$this->_chapLanguageId = ($sessionCounty->code == 'JP') ? 24 : 1; \n\n }\n \n if($this->_chapId == 136079){ //For YCoins\n \t$this->_chapLanguageId = 4;\n }\n \n \n if($this->_chapId == 283006){ //For YCoins\n \t$this->_chapLanguageId = 22;\n }\n\n \n if($this->_chapId == 726355){ //For YCoins\n \t$this->_chapLanguageId = 57;\n }\n \n \n }\n \n //$nexApi = new Nexva_Api_NexApi();\n $nexApi = new Nexva_Api_QelasyApi();\n $categories = $nexApi->categoryAction($this->_chapId,$this->_chapLanguageId,$this->_grade);\n \n $this->view->categories = $categories;\n \n $userAgent = $_SERVER['HTTP_USER_AGENT']; \n \n if($userAgent) \n { \n /*\n * I have uncommented this to add new detection engine this is old code.. so In case any error comment the new detection code and uncomment the old one. \n * start\n * \n */\n \n //$deviceSession = new Zend_Session_Namespace('Device'); \n \n //Iniate device detection using Device detection adapter\n //$deviceDetector = Nexva_DeviceDetection_Adapter_TeraWurfl::getInstance();\n \n //Detect the device\n //$exactMatch = $deviceDetector->detectDeviceByUserAgent($userAgent);\n\n //Device barand name\n //$brandName = $deviceDetector->getDeviceAttribute('brand_name', 'product_info');\n //Zend_Debug::dump($deviceDetector->getDeviceAttribute('product_info'));die();\n //Zend_Debug::dump($brandName);die();\n \n //Get the Device ID of nexva db\n //$deviceId = $deviceDetector->getNexvaDeviceId();\n \n \n \n /*\n * I have uncommented this to add new detection engine this is old code.. so In case any error comment the new detection code and uncomment the old one.\n * end\n *\n */\n \n \n \n \n /*\n * Detection Script Start we need to find a better way to implemnt this as i am doing this in hurry bcos shaun need to put this live up\n *\n *\n */\n \n /******* comment start **************************************************************\n \n \n $deviceModel = new Model_Device();\n // Check whether this is a device previosly detected by the WURFL if the use WURFL\n // check for neXva device table for user agnet\n $row = $deviceModel->fetchRow(\"useragent = '\".$_SERVER['HTTP_USER_AGENT'].\"' and detection_type = 'wurfl'\");\n \n \n if(!is_null($row)) {\n \n \t$deviceDetector = Nexva_DeviceDetection_Adapter_TeraWurfl::getInstance();\n \t$exactMatch = $deviceDetector->detectDeviceByUserAgent();\n \t//If this is not a wireless device redirect to the main site\n \t$isWireless = $deviceDetector->getDeviceAttribute('is_wireless_device', 'product_info');\n \n \t// get properties from the Wurfl\n \t$brandName = $deviceDetector->getDeviceAttribute('brand_name', 'product_info');\n \t$modelName = $deviceDetector->getDeviceAttribute('model_name', 'product_info');\n \t$marketing_name = $deviceDetector->getDeviceAttribute('marketing_name', 'product_info');\n \t$inputMethod = $deviceDetector->getDeviceAttribute('pointing_method', 'product_info');\n \t$osVersion = $deviceDetector->getDeviceAttribute('device_os_version', 'product_info');\n \t$isWireless = $deviceDetector->getDeviceAttribute('is_wireless_device', 'product_info');\n \t//get nexva device Id\n \t$deviceId = $deviceDetector->getNexvaDeviceId();\n \t\n \t\n \t\n \n \n } else {\n \n \t$deviceDetection = Nexva_DeviceDetection_Adapter_HandsetDetection::getInstance();\n \t$deviceInfo = $deviceDetection->getNexvaDeviceId($_SERVER['HTTP_USER_AGENT']);\n \t//If this is not a wireless device redirect to the main site\n \t$isWireless = $deviceInfo->is_mobile_device;\n \n \n \t// get properties from the Wurfl\n \t$brandName = $deviceInfo->brand;\n \t$modelName = $deviceInfo->model;\n \t$marketing_name = $deviceInfo->marketing_name;\n \t$inputMethod = $deviceInfo->pointing_method;\n \t$osVersion = $deviceInfo->device_os_version;\n \t$exactMatch = $deviceInfo;\n \t//get nexva device Id\n \t$deviceId = $deviceInfo->id;\n \t$isWireless = $deviceInfo->is_mobile_device;\n \t\n \t\n \t\n \t\n \n }\n \n\n \n */\n \n $session = new Zend_Session_Namespace(\"devices_partner_web\");\n $deviceId = $session->deviceId;\n \n \n if(!isset($deviceId) and $session->is_check == false) {\n \n $deviceDetection = Nexva_DeviceDetection_Adapter_HandsetDetection::getInstance();\n $deviceInfo = $deviceDetection->getNexvaDeviceId($_SERVER['HTTP_USER_AGENT']);\n //If this is not a wireless device redirect to the main site\n $deviceId = $deviceInfo->id;\n $session->deviceId = $deviceId;\n $session->is_check = true;\n $session->platfrom = $deviceInfo->platform;\n \n \n } \n \n\n $this->_deviceId = $deviceId;\n \n }\n else\n {\n $this->_deviceId = null;\n }\n \n }",
"function id_imm_to_id_cli($id_imm=\"\"){\n\t$db = new db(DB_USER,DB_PASSWORD,DB_NAME,DB_HOST);\n\n\t$q=\"SELECT * FROM cli_imm WHERE id_imm=$id_imm\";\n\t$r=$db->query($q);\n if($r){\n $ro=mysql_fetch_array($r);\n\treturn $ro['id_cli'];\n }\n}",
"public function getSystemId()\r\n{\r\n $query_string = \"SELECT systemid FROM voting_system \";\r\n $query_string .= \"WHERE systemname = :systemname\";\r\n\r\n return $query_string;\r\n\r\n}",
"function getSim()\n {\n \t$sh_args = 'getcellccid'; \t//admin client command for getting sim number\n \t$sh_out = atsexec(escapeshellcmd($sh_args));\t//socket call\n \tdebug('(cell_controller.inc|getSim()) admin client api command \"getcellccid\" output: $sh_out', $sh_out); \t//DEBUG\n \t\n \tif($sh_out != 'phpcmd: fail' && $sh_out != 'phpcmd: invalid command')\n \t{\n \t\tdebug('(cell_controller.inc|getSim()) getcellccid command completed.'); \t\t\t\t\t\t\t\t//DEBUG\n \t\treturn $sh_out;\n \t}\n \telse\n \t{\n \t\tdebug('(cell_controller.inc|getSim()) getcellccid command failed.'); \t\t\t\t\t\t\t\t\t//DEBUG\n \t\treturn false;\n \t\t//return 'Failed to detect sim number';\n \t}\n }",
"function return_oneClientByName($mel)\n{\n if (strlen($mel) > 0) {\n return getOne(utf8_encode($mel), \"bav_client\", \"cli_nom\");\n }\n}",
"function getCurrentTvProgram(Channel $channel): string\n{\n return $channel->getProgramAt(time());\n}",
"function get_chtrm_by_usr($usrid){\r\n\r\n}",
"public function detectaDispositivo()\n {\n\n $mobile = FALSE;\n /**\n * Tipo de dispositivos\n * Type of devices\n */ \n $user_agents = array(\"iPhone\",\"iPad\",\"Android\",\"webOS\",\"BlackBerry\",\"iPod\",\"Symbian\",\"IsGeneric\");\n \n /**\n * Usando a variavel $_SERVER['HTTP_USER_AGENT'] para comparar com os tipo de dispositivos\n * Using the variable $ _SERVER ['HTTP_USER_AGENT'] to compare with the type of devices\n */ \n foreach($user_agents as $user_agent)\n {\n if (strpos($_SERVER['HTTP_USER_AGENT'], $user_agent) !== FALSE) \n {\n $mobile = TRUE;\n $modelo = $user_agent;\n break;\n }\n }\n \n if ($mobile)\n {\n\n return $modelo;\n \n }\n else\n {\n\n return \"Área de Trabalho\";\n \n }\n \n }",
"function getPlatformNameByID($pID) {\n global $conn;\n $query = \"SELECT pName from platforms WHERE pID = $pID\";\n if ($result = $conn->query($query)) {\n while ($row = $result -> fetch_row()) {\n return $row[0];\n }\n }\n}",
"public function getCidSystemInfo() {}",
"public function getPrimaryPlatform() {}",
"function GetOS($name,$version='',$bits='')\n {\n $sql = \"SELECT id FROM client_os WHERE \";\n $ids = array();\n $firstarg = true;\n if($name!='')\n { \n $name = pdo_real_escape_string($name); \n $sql .= \" name='\".$name.\"'\"; \n $firstarg = false; \n }\n \n if($version!='')\n {\n if(!$firstarg)\n {\n $sql .= \" AND \"; \n } \n $version = pdo_real_escape_string($version); \n $sql .= \" version='\".$version.\"'\"; \n $firstarg = false; \n }\n \n if($bits!='')\n {\n if(!$firstarg)\n {\n $sql .= \" AND \"; \n } \n $bits = pdo_real_escape_string($bits); \n $sql .= \" bits='\".$bits.\"'\"; \n $firstarg = false; \n }\n \n $query = pdo_query($sql);\n while($query_array = pdo_fetch_array($query))\n {\n $ids[] = $query_array['id'];\n }\n return $ids; \n }",
"function get_user_by_device_token($device_token)\n{\n global $conn;\n $q['query'] = \"SELECT * FROM `user_master` WHERE `device_token`='$device_token'\";\n $q['run'] = $conn->query($q['query']);\n $q['result'] = $q['run']->fetch_assoc();\n if ($q['result'])\n {\n return $q['result'];\n }\n else\n {\n $q1['query'] = \"SELECT * FROM `device_tokens` WHERE `device_token`='$device_token'\";\n $q1['run'] = $conn->query($q1['query']);\n $q1['result'] = $q1['run']->fetch_assoc();\n \n return $q1['result'];\n }\n\n}",
"function getDeviceImeiNo($imeiNo,$status,$DbConnection)\n{\n\t$query=\"SELECT device_imei_no FROM device_manufacturing_info USE INDEX(dmi_device_imei_status) WHERE \".\n\t\t \"device_imei_no='$imeiNo' AND status=$status\";\n\t$result=mysql_query($query,$DbConnection);\n\t$numrow=mysql_num_rows($result);\n\tif($numrow>0)\n\t{\n\t\t$deviceImeiNo=mysql_fetch_row($result);\n\t\t$row=mysql_fetch_row($result);\n\t\t$deviceImeiNo=$row[0];\t\n\t}\n\telse\n\t{\n\t\t$deviceImeiNo=\"\";\n\t}\n}",
"public function sendPeerWhatHeWant(){\n if(in_array('ADCGet', $this->opponentSupports)){\n $Command = $this->waitForCommand('ADCGET');\n if(!$Command || !$Command->params || !is_array($Command->params) || count($Command->params)<2){\n return;\n }\n if($Command->params[1]=='MyList.DcLst'){\n $this->sendCommand('ADCSND file MyList.DcLst 0 0');\n }else{\n $this->sendCommand('Error File Not Found');\n }\n }else{\n $Command = $this->waitForCommand('Get');\n $this->sendCommand('Error File Not Found');\n }\n }",
"public function getMobile();",
"function getallphonenos()\n\t{\n\t\tinclude_once('twilio/Twilio.php');\n\t\t$twilio_creds=getTwlioCreds();\n\t\t$client = new Services_Twilio($twilio_creds['sid'], $twilio_creds['auth_token']);\n\t\t$allnos = array();\n\t\tforeach ($client->account->incoming_phone_numbers as $number) \n\t\t{\n\t\t\tif($number->voice_application_sid == $twilio_creds['app_sid'])\n\t\t\t{\n\t\t\t\t$allnos[]['incoming_no'] = $number->phone_number;\t\t \n\t\t\t}\n\t\t}\n\t\treturn($allnos);\n\t}",
"function enameToOid($ename) {\n\n $query = \"SELECT master.oid FROM coredata_read.coreUser_master AS master \n INNER JOIN coredata_read.coreUser_name AS name ON name.oid = master.oid \n WHERE name.nameValue=:ename AND name.nameType='ename' AND userStatus='Active'\";\n \n $bindV = array(\"ename\"=>$ename);\n $result = query_db($query,$bindV,\"false\",true);\n \n return addslashes($result['oid']);\n\n}",
"function getPhoneNumber()\n {\n \t$sh_args = 'getcellpnumber'; //admin client command for getting phone number\n \t$sh_out = atsexec(escapeshellcmd($sh_args));\t//socket call\n \tdebug('(cell_controller.inc|getPhoneNumber()) admin client api command \"getcellpnumber\" output: $sh_out', $sh_out); \t//DEBUG\n \t \n \tif($sh_out != 'phpcmd: fail' && $sh_out != 'phpcmd: invalid command')\n \t{\n \t\tdebug('(cell_controller.inc|getPhoneNumber()) getcellpnumber command completed.'); \t//DEBUG\n \t\treturn $sh_out;\n \t}\n \telse\n \t{\n \t\tdebug('(cell_controller.inc|getPhoneNumber()) getcellpnumber command failed.'); \t//DEBUG\n \t\treturn false;\n \t\t//return 'Failed to detect phone number';\n \t}\n }",
"public function List_client_Physique(){\n $req = self::list(\"SELECT * FROM client_physique\");\n return $req;\n }",
"function view_chat($demand_id)\n {\n }"
] |
[
"0.7680156",
"0.57536757",
"0.57086074",
"0.5572791",
"0.5547971",
"0.5502195",
"0.52978474",
"0.5263327",
"0.51710653",
"0.5145145",
"0.51411843",
"0.5093499",
"0.5060722",
"0.50197303",
"0.4979288",
"0.49568394",
"0.49511677",
"0.49205324",
"0.48953053",
"0.48918843",
"0.48815367",
"0.48775166",
"0.48404276",
"0.4840157",
"0.48335165",
"0.48290774",
"0.4820207",
"0.48022112",
"0.47959298",
"0.47835985"
] |
0.6751662
|
1
|
Function to retrieve all published communique on voice platform
|
public function communiquePlatformQuery()
{
$data = array('communique' => Zend_Json::encode(array('comm_id' => 1)));
// initiate curl session
$ch = curl_init();
$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';
// url for curl
curl_setopt($ch, CURLOPT_URL, $queryArrUrl);
// return with result on success
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// using POST and not GET
curl_setopt($ch, CURLOPT_POST, true);
// POST data
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// get wave file a.k.a communique
$result = curl_exec($ch);
$resultInArr = Zend_Json::decode($result);
$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($resultInArr['status'] == 'FAIL'){
$message = $status['message'];
throw new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);
}
else{
return $resultInArr['comm_id'];
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function voicePlatformQuery()\n\t{\n\t\t$data = array('communique' => Zend_Json::encode(array('voice' => 1)));\n\t\t\n\t\t// initiate curl session\n\t\t$ch = curl_init();\n\t\t\n\t\t$queryArrUrl = Zend_Registry::get('config')->voice->platform->base->url . '/rest/query.php';\n\t\t\n\t\t// url for curl\n\t\tcurl_setopt($ch, CURLOPT_URL, $queryArrUrl);\n\t\t// return with result on success\n\t\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n\t\t// using POST and not GET\n\t\tcurl_setopt($ch, CURLOPT_POST, true);\n\t\t// POST data\n\t\tcurl_setopt($ch, CURLOPT_POSTFIELDS, $data);\n\t\t\t\n\t\t// get wave file a.k.a communique\n\t\t$result = curl_exec($ch);\n\t\t\n\t\t$resultInArr = Zend_Json::decode($result);\n\t\t$httpRspCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n\t\t\n\t\tcurl_close($ch);\n\t\t\n\t\tif ($resultInArr['status'] == 'FAIL'){\n\t\t\t$message = $status['message'];\n\t\t\t\n\t\t\tthrow new Exception('Voice Platform Query Error: ' . $message, $httpRspCode);\n\t\t}\n\t\telse{\n\t\t\t$urlString = $resultInArr['voice'][0]; // retrieve only one url string\n\t\t\t\n\t\t\treturn array($urlString, $resultInArr['voice']);\n\t\t}\n\t}",
"function ppmess_get_all_communications($logged_user){\n\t\n\tglobal $wpdb;\t \n\t\n\t$show_status = '_' . $logged_user; \n\t\n\t$query = \"SELECT * FROM {$wpdb->prefix}private_messages WHERE (sender_id = $logged_user OR receiver_id = $logged_user)\n\t\t\t\tAND message_parent = 0 AND show_status LIKE '%$show_status%' ORDER BY FIELD(sent_to, $logged_user) DESC\";\n\t\n\t$result = $wpdb->get_results( $query, ARRAY_A );\n\t\n\tif($wpdb->num_rows > 0)\n\t\treturn $result;\n}",
"function getallphonenos()\n\t{\n\t\tinclude_once('twilio/Twilio.php');\n\t\t$twilio_creds=getTwlioCreds();\n\t\t$client = new Services_Twilio($twilio_creds['sid'], $twilio_creds['auth_token']);\n\t\t$allnos = array();\n\t\tforeach ($client->account->incoming_phone_numbers as $number) \n\t\t{\n\t\t\tif($number->voice_application_sid == $twilio_creds['app_sid'])\n\t\t\t{\n\t\t\t\t$allnos[]['incoming_no'] = $number->phone_number;\t\t \n\t\t\t}\n\t\t}\n\t\treturn($allnos);\n\t}",
"public function list_voices()\n {\n $ttsEngine = config('tts.text_speech_codes');\n $toOrderArray = $ttsEngine;\n $field = 'languageName';\n\n $position = array();\n $newRow = array();\n foreach ($toOrderArray as $key => $row) {\n $position[$key] = $row[$field];\n $newRow[$key] = $row;\n }\n \n asort($position);\n \n $returnArray = array();\n foreach ($position as $key => $pos) { \n $returnArray[] = $newRow[$key];\n }\n return $this->sendResponse($returnArray, 'Listado de voces por paises');\n }",
"function GetCompetitors()\n\t{\n\t\t$result = $this->sendRequest(\"GetCompetitors\", array());\t\n\t\treturn $this->getResultFromResponse($result);\n\t}",
"public function getAllProductInfoFromCommunique($id)\n\t{\n\t\t$q = Doctrine_Query::create()\n\t\t\t\t\t\t\t//\t->select('u.prod_com_ids, u.com_number, u.ts_date_submitted')\n\t\t\t\t\t\t\t\t->from('Voices_Model_Uploads u')\n\t\t\t\t\t\t\t\t->where('u.upload_id=?', $id);\n\t\t$uResults = $q->fetchArray();\n\t\t\t\n\t\t$prodIds = explode('|', $uResults[0]['prod_com_ids']);\n\t\t\t\n\t\t$prods = array();\n\t\t\t\n\t\t// get product info from prod_com_ids\n\t\tforeach ($prodIds as $key=>$value)\n\t\t{\n\t\t\t$q = Doctrine_Query::create()\n\t\t\t\t\t\t\t\t\t->from('Voices_Model_Products p')\n\t\t\t\t\t\t\t\t\t->leftJoin('p.Voices_Model_Contacts')\n\t\t\t\t\t\t\t\t\t->where('p.prod_id =?', $value);\n\t\t\t$pResults = $q->fetchArray();\n\t\t\t\t\n\t\t\tif (count($pResults) > 0){\n\t\t\t\tarray_push($prods, $pResults);\n\t\t\t}\n\t\t}\n\t\t// $uResults for results from initial query\n\t\t// needed by other functions (eg excelPreviewAction)\n\t\treturn array($prods, $uResults);\n\t}",
"function getOGMusicCreators();",
"function find_all_commite() {\n global $db;\n\n $sql = \"SELECT * FROM commite \";\n $sql .= \"ORDER BY id ASC\";\n $result = mysqli_query($db, $sql);\n return $result;\n }",
"function retrieve_promoter_clients_list(){\n\t\t\n\t\t$this->CI->load->model('model_users_promoters', 'users_promoters', true);\n\t\t$clients = $this->CI->users_promoters->retrieve_promoter_clients_list($this->promoter->up_id, $this->promoter->team->t_fan_page_id);\n\t\tforeach($clients as $key => &$client){\n\t\t\t\n\t\t\tif($client->pglr_user_oauth_uid === null){\n\t\t\t\tunset($clients[$key]);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t$client = $client->pglr_user_oauth_uid;\n\t\t}\n\t\treturn $clients;\n\t\t\n\t}",
"public function _list() {\n\t\t// assign user based on api key\n\t\tif (empty($this->params[0])) {\n\t\t\t$json = [\n\t\t\t\t'error' => 'No channel specified'\n\t\t\t];\n\t\t\treturn $json;\n\t\t}\n\t\t$account = filter_var($this->params[0], FILTER_SANITIZE_STRING);\n\t\t$params = array($account);\n\t\t$sql = \"SELECT * FROM \" . $this->db->sub_table . \" WHERE subscriber = $1 OR host_account = $1\";\n\t\t$result = pg_query_params($this->db->link, $sql, $params);\n\t\t$subscribed = [];\n\t\t$subscribers = [];\n\t\twhile ($row = pg_fetch_assoc($result)) {\n\t\t\tif ($row['host_account'] === $account) {\n\t\t\t\t$subscribers[] = $row['subscriber'];\n\t\t\t} \n\t\t\tif ($row['subscriber'] === $account) {\n\t\t\t\t$subscribed[] = $row['host_account'];\n\t\t\t}\n\t\t}\n\t\t$json = [\n\t\t\t'subscribed' => $subscribed,\n\t\t\t'subscribers' => $subscribers\n\t\t];\n\t\treturn json_encode($json);\n\t}",
"public function getList(){\n\t\tuser_login_required();\n\n\t\t//Try to get the list\n\t\t$conversationsList = CS::get()->components->conversations->getList(userID);\n\n\t\t//Check for errors\n\t\tif($conversationsList === false)\n\t\t\tRest_fatal_error(500, \"Couldn't get conversations list !\");\n\t\t\n\t\t//Process the list of conversation\n\t\tforeach($conversationsList as $num => $conv)\n\t\t\t$conversationsList[$num] = self::ConvInfoToAPI($conv);\n\t\t\n\t\t//Return results\n\t\treturn $conversationsList;\n\t}",
"public function recupererToutesLesCompetitions()\n {\n return $this->getAll('competition','Competition');\n }",
"public function public_ids_get()\n {\n $from = \"0\";\n $size = \"10\";\n $lastModified = NULL;\n \n $temp = $this->input->get('from', TRUE);\n if(!is_null($temp) & is_numeric($temp))\n $from = $temp;\n \n $temp = $this->input->get('size', TRUE);\n if(!is_null($temp) & is_numeric($temp))\n $size = $temp;\n \n $temp = $this->input->get('lastModified', TRUE);\n if(!is_null($temp) & is_numeric($temp))\n $lastModified = intval($temp);\n \n $cutil = new CILServiceUtil();\n $result = $cutil->getAllPublicIds($from, $size,$lastModified);\n $this->response($result);\n \n }",
"function ppmess_shortcode_all_communications(){\n\n\t$data = array();\n\t$current_user = wp_get_current_user();\n\n\t/*------------------------- Logged user info -------------------------*/\n\t$data['logged_user'] = array(\n\t\t'user_login'\t=> $current_user->user_login, \n\t\t'user_id'\t\t=> $current_user->ID\n\t);\n\t\n\t$all_communs = ppmess_get_all_communications($current_user->ID);\n\t\n\t/*----------- Zamena datuma diskusije sa najnovijim datumom -----------*/\n\tif(! empty($all_communs)){\n\t\tforeach($all_communs as $key => $commu){\n\t\t\t\n\t\t\t$last_data_mess = ppmess_get_last_message_date($commu['message_id'], $commu['post_id'], $current_user->ID);\n\t\t\t\n\t\t\t// change the message with the latest message\n\t\t\tif( ! empty($last_data_mess)){\n\t\t\t\t$all_communs[$key]['date_created'] = $last_data_mess['date_created'];\n\t\t\t}\t\n\t\t}\n\t}\n\t\t\n\t/*------------ Division the list of communications into two parts -----------*/\n\t/*-------- part1: unread messages (sent_to == logged user ID) ---------------*/\n\t/*-------- part2: rest of the messages --------------------------------------*/\n\t$part1_arr = array();\n\t$part2_arr = array();\n\tif(! empty($all_communs)){\n\t\tforeach($all_communs as $key => $value){\n\t\t\tif($value['sent_to'] == $current_user->ID){\n\t\t\t\t$part1_arr[] = $all_communs[$key];\t\t\t\t\t\n\t\t\t}else{\n\t\t\t\t$part2_arr[] = $all_communs[$key];\n\t\t\t}\n\t\t}\n\t}\n\t\n\t/*------------- Sorting first part by date release, decreasing order -------------*/\n\t$date_created = array();\n\tif(! empty($part1_arr)){\n\t\tforeach ($part1_arr as $key => $row){\n\t\t\t$date_created[$key] = $row['date_created'];\n\t\t}\n\t\t// array_multisort($sent_to, SORT_DESC, $date_created, SORT_DESC, $part1_arr);\n\t\tarray_multisort($date_created, SORT_DESC, $part1_arr);\n\t}\n\t\n\t/*------------- Sorting second part by date release, decreasing order -------------*/\n\t$date_created = array();\n\tif(! empty($part2_arr)){\n\t\tforeach ($part2_arr as $key => $row) {\n\t\t\t$date_created[$key] = $row['date_created'];\n\t\t}\n\t\tarray_multisort($date_created, SORT_DESC, $part2_arr);\n\t}\n\t\n\t/*---------------- Connect two parts into one ------------------*/\n\t$data['all_communs'] = array_merge($part1_arr, $part2_arr);\n\t\n\t/*----------- Adding new row 'number_messages' per communication -----------*/\n\tforeach($data['all_communs'] as $key => $row){\n\t\t// new row\n\t\t$data['all_communs'][$key]['number_messages'] = ppmess_all_unread_messages($row['message_id'], $row['post_id'], $current_user->ID);\t\n\t}\n\t\t\n\treturn $data;\n}",
"function getCampaignList() {\n\t\treturn $this->gateway->execCommad('getCampaignList',\"\");\n\t}",
"public function getAll(){\n\t\t$Channels = \\Channel::all();\n\t\treturn $Channels;\n\t}",
"function &subscription_list($start=NULL, $limit=NULL, $direction=0, $where=NULL)\n\n {\n\n global $database, $user;\n\n \n\n\t $message_array = array();\n\n \n\n\t // MAKE SURE MESSAGES ARE ALLOWED\n\n\t $set_sql = \"select currency_sign from se_global_sms where id='1'\";\n\t $set_resource = $database->database_query($set_sql);\n $set_result = $database->database_fetch_assoc($set_resource);\n\t $currency_sign = $set_result[currency_sign];\n\n // BEGIN MESSAGE QUERY\n\n $sql = \"\n\n SELECT\n\n *\n\n FROM\n\n se_subscription\n\n \";\n\n // EXECUTE QUERY\n\n $resource = $database->database_query($sql);\n\n \n\n // GET MESSAGES\n\n\t while( $message_info=$database->database_fetch_assoc($resource) )\n\n {\n\n // CREATE AN OBJECT FOR MESSAGE AUTHOR/RECIPIENT\n\n $pm_user = new SEUser();\n\n $pm_user->user_info['sno'] = $message_info['sno'];\n\n $pm_user->user_info['text'] = $message_info['text'];\n\n $pm_user->user_info['value'] = $message_info['value'];\n\t\n\t $pm_user->user_info['sms_credit'] = $message_info['sms_credit'];\n\t \n $pm_user->user_displayname();\n\n \n\n // Remove breaks for preview\n\n $message_info['pm_body'] = str_replace(\"<br>\", \"\", $message_info['pm_body']);\n\n \n\n // SET MESSAGE ARRAY\n\n $message_array[] = array(\n\n 'pmconvo_sno' => $message_info['sno'],\n\t\t'pmconvo_destext' => $message_info['text'],\n 'pmconvo_text' => $message_info['text'].\" - \".$currency_sign.$message_info['value'].\" For \".$message_info['sms_credit'].\" SMS \",\n 'pm_value' => $message_info['value'],\n\t\t'pm_body' => $message_info['pm_body'] \n\n );\n\n \n\n unset($pm_user);\n\n }\n\n \n\n return $message_array;\n\n }",
"public function get_competitions()\n\t\t{\n\t\t\t$output = file_get_contents($this->api_url.\"/competitions?api_key=\".$this->api_key);\n\t\t\treturn json_decode($output);\n\t\t}",
"function getCommonProvisions();",
"final public function GetAll()\r\n\t{\r\n\t\t$result = array();\r\n\t\tif ( ! self::$_loaded) return $result;\r\n\r\n\t\t$channelTags = self::$GetChannelTags();\r\n\t\t$channelItems = self::$GetItems();\r\n\r\n\t\t$result = array_merge($channelTags, $channelItems);\r\n\r\n\t\treturn $result;\r\n\t}",
"public function getAllPublished();",
"public function channels()\n {\n return $this->send('channels');\n }",
"public function query()\n {\n $query = ctCommunicationSocialMedia::select([\n\t\t'ct_communication_id as id',\n\t\t'ct_communication_id',\n\t\t'social_medium_id',\n\t\t'url'\n ]);\n\n return $this->applyScopes($query);\n }",
"function affichersponsors(){\n\t\t$sql=\"SElECT * From sponsors\";\n\t\t$db = config::getConnexion();\n\t\ttry{\n\t\t$liste=$db->query($sql);\n\t\treturn $liste;\n\t\t}\n catch (Exception $e){\n die('Erreur: '.$e->getMessage());\n }\t\n\t}",
"public function index()\n {\n return PodcastResource::collection(Podcast::with('subscription')->orderBy('title', 'ASC')->get());\n }",
"public function findAll()\n {\n return $this->find('/admin/v1/phones', '\\\\DuoAuth\\\\Devices\\\\Phone');\n }",
"function _get_all_opponents($uid, $tid) {\n\n}",
"public function get_instances() { \n\n\t\t$sql = \"SELECT * FROM `localplay_mpd` ORDER BY `name`\"; \n\t\t$db_results = Dba::query($sql); \n\n\t\t$results = array(); \n\n\t\twhile ($row = Dba::fetch_assoc($db_results)) { \n\t\t\t$results[$row['id']] = $row['name']; \n\t\t} \n\n\t\treturn $results; \n\n\t}",
"public function getChannels(){\n\t\t//TODO: Change query\n\t\t$query = sprintf(\"SELECT idChannel FROM Channels limit 1\");\n\n\t\t$this->dbObj->Query($query);\n\n\t\tif ($this->dbObj->numErr) {\n\t\t\t$this->parent->SetError(5);\n\t\t}\n\n\t\t$out = NULL;\n\t\twhile (!$this->dbObj->EOF) {\n\t \t\t$out[] = $this->dbObj->GetValue(\"idChannel\");\n\t\t\t$this->dbObj->Next();\n\t\t}\n\n\t \treturn $out;\n\t}",
"function getSpeakersListForResolution($num) {\n $speakerOrder = getSpeakersListOrder();\n $resSpeakerOrder = array();\n foreach ($speakerOrder as $speaker) {\n $amendmentRow = getAmendmentRow($speaker['id'],$num);\n if ($amendmentRow != null) {\n if ($amendmentRow['status'] == 'approved') {\n array_push($resSpeakerOrder,$amendmentRow['country_id']);\n }\n }\n }\n return $resSpeakerOrder;\n}"
] |
[
"0.63213545",
"0.5836658",
"0.57722646",
"0.56202006",
"0.5559082",
"0.5504062",
"0.54170233",
"0.5414691",
"0.54059994",
"0.5393204",
"0.53663117",
"0.5364365",
"0.53609675",
"0.5352094",
"0.53470826",
"0.5319117",
"0.5316695",
"0.53024596",
"0.52959037",
"0.52951777",
"0.5257983",
"0.52435625",
"0.5237049",
"0.5223166",
"0.5220523",
"0.5204308",
"0.5195839",
"0.51851505",
"0.51705647",
"0.5145819"
] |
0.6547984
|
0
|
Utility function to calculate date difference using log message
|
public function getLogTimeDifference($message)
{
// has there been an instance for today?
$query = Doctrine_Query::create()
->select('l.log_time')
->from('Voices_Model_Logs l')
->where('l.log_message=?', $message)
->orderBy('l.log_time DESC');
$result = $query->fetchArray();
if (count($result)){
// the time for the last log
$last_log_time = $result[0]['log_time'];
// calculate difference between times
$diff = abs(strtotime('now') - strtotime($last_log_time));
// days gone since last log
$days = floor($diff / (60*60*24));
return $days;
}
else
return;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function date_difference($date1, $date2, $return_format)\r\n{\r\n switch ($return_format) {\r\n case 'd':\r\n return (int)$date1->diff($date2)->format('%r%a');\r\n break;\r\n case 'h':\r\n return (int)$date1->diff($date2)->format('%r%h');\r\n break;\r\n case 'm':\r\n return (int)$date1->diff($date2)->format('%r%m');\r\n break;\r\n case 'i':\r\n return (int)$date1->diff($date2)->format('%r%i');\r\n break;\r\n\r\n default:\r\n return (int)($date1->getTimestamp() - $date1->getOffset()) - ($date2->getTimestamp() - $date2->getOffset());\r\n break;\r\n }\r\n}",
"function mdiff($date1, $date2){\r\n $diff = abs(strtotime($date1->format('d-m-Y H:i:s.u'))-strtotime($date2->format('d-m-Y H:i:s.u')));\r\n\r\n //Creates variables for the microseconds of date1 and date2\r\n $micro1 = $date1->format(\"u\");\r\n $micro2 = $date2->format(\"u\");\r\n\r\n //Difference between these micro seconds:\r\n $diffmicro = $micro1 - $micro2;\r\n\r\n list($sec,$micro) = explode('.',((($diff) * 1000000) + $diffmicro )/1000000);\r\n\r\n //Creates the variable that will hold the seconds (?):\r\n $difference = $sec . \".\" . str_pad($micro,6,'0');\r\n\r\n return $difference;\r\n }",
"function DiffBetweenDates($fechaI, $fechaF) {\r\n if ($fechaF == \"NOW\")\r\n $fechaF = date(USERDATE_READ);\r\n if ($fechaI == \"NOW\")\r\n $fechaI = date(USERDATE_READ);\r\n $seg_dif = strtotime(STRdate_format($fechaF, USERDATE_READ, \"Y-m-d H:i\")) - strtotime(STRdate_format($fechaI, USERDATE_READ, \"Y-m-d H:i\"));\r\n return round($seg_dif / 60, 0, PHP_ROUND_HALF_DOWN);\r\n}",
"function date_diff($d1, $d2){\r\n\t//check higher timestamp and switch if neccessary\t\r\n\t$d1 = date_parse($d1);\r\n\t$d2 = date_parse($d2);\r\n\tif ($d1 < $d2){\r\n\t\t$temp = $d2;\r\n\t\t$d2 = $d1;\r\n\t\t$d1 = $temp;\r\n\t}\r\n\telse {\r\n\t\t$temp = $d1; //temp can be used for day count if required\r\n\t}\r\n\t//seconds\r\n\tif ($d1['second'] >= $d2['second']){\r\n\t\t$diff['second'] = $d1['second'] - $d2['second'];\r\n\t}\r\n\telse {\r\n\t\t$d1['minute']--;\r\n\t\t$diff['second'] = 60-$d2['second']+$d1['second'];\r\n\t}\r\n\t//minutes\r\n\tif ($d1['minute'] >= $d2['minute']){\r\n\t\t$diff['minute'] = $d1['minute'] - $d2['minute'];\r\n\t}\r\n\telse {\r\n\t\t$d1['hour']--;\r\n\t\t$diff['minute'] = 60-$d2['minute']+$d1['minute'];\r\n\t}\r\n\t//hours\r\n\tif ($d1['hour'] >= $d2['hour']){\r\n\t\t$diff['hour'] = $d1['hour'] - $d2['hour'];\r\n\t}\r\n\telse {\r\n\t\t$d1['day']--;\r\n\t\t$diff['hour'] = 24-$d2['hour']+$d1['hour'];\r\n\t}\r\n\t//days\r\n\tif ($d1['day'] >= $d2['day']){\r\n\t\t$diff['day'] = $d1['day'] - $d2['day'];\r\n\t}\r\n\telse {\r\n\t\t$d1['month']--;\r\n\t\t$diff['day'] = date(\"t\",$temp)-$d2['day']+$d1['day'];\r\n\t}\r\n\t//months\r\n\tif ($d1['month'] >= $d2['month']){\r\n\t\t$diff['month'] = $d1['month'] - $d2['month'];\r\n\t}\r\n\telse {\r\n\t\t$d1['year']--;\r\n\t\t$diff['month'] = 12-$d2['month']+$d1['month'];\r\n\t}\r\n\t//years\r\n\t$diff['year'] = $d1['year'] - $d2['year'];\r\n\t//return $diff; \r\n\t//return strtotime($diff);\r\n\t\r\n\treturn mktime($diff['hour'],$diff['minute'],$diff['second'],$diff['month'], $diff['day'], $diff['year']) - 943920000;\r\n\t\r\n\t\r\n}",
"function dateDiff($t1, $t2) {\r\n\t\t$t1 = strtotime($t1);\r\n\t\t$t2 = strtotime($t1);\r\n\t\t$delta_T = ($t2 - $t1);\r\n\t\t$day = round(($delta_T % 604800) / 86400); \r\n\t\t$hours = round((($delta_T % 604800) % 86400) / 3600); \r\n\t\t$minutes = round(((($delta_T % 604800) % 86400) % 3600) / 60); \r\n\t\t$sec = round((((($delta_T % 604800) % 86400) % 3600) % 60));\r\n\r\n\t\treturn \"$day days $hours hours $minutes minutes $sec secs\";\t \r\n }",
"static function getDateDifference($date1, $date2) {\n $date1 = strtotime($date1);\n $date2 = strtotime($date2);\n $datediff = $date1 - $date2;\n return floor($datediff / (60 * 60 * 24));\n }",
"function dateDiff($date1, $date2){\r\n $diff = abs($date1 - $date2); // abs pour avoir la valeur absolute, ainsi éviter d'avoir une différence négative\r\n $retour = array();\r\n \r\n $tmp = $diff;\r\n $retour['second'] = $tmp % 60;\r\n \r\n $tmp = floor( ($tmp - $retour['second']) /60 );\r\n $retour['minute'] = $tmp % 60;\r\n \r\n $tmp = floor( ($tmp - $retour['minute'])/60 );\r\n $retour['hour'] = $tmp % 24;\r\n \r\n $tmp = floor( ($tmp - $retour['hour']) /24 );\r\n $retour['day'] = $tmp;\r\n \r\n return $retour;\r\n }",
"function dateDiff($date1, $date2){\n\t $date1_ts = strtotime($date1);\n\t $date2_ts = strtotime($date2);\n\t $diff = $date2_ts - $date1_ts;\n\t return round($diff / 86400);\n}",
"function dateDifference($date_1 , $date_2 , $differenceFormat = '%a' )\n{\n $datetime1 = date_create($date_1);\n $datetime2 = date_create($date_2);\n \n $interval = date_diff($datetime1, $datetime2);\n \n return ($interval->format($differenceFormat));\n \n}",
"function date_diff($d1, $d2){\n\t$d1 = (is_string($d1) ? strtotime($d1) : $d1);\n\t$d2 = (is_string($d2) ? strtotime($d2) : $d2);\n\n\t$diff_secs = abs($d1 - $d2);\n\t$base_year = min(date(\"Y\", $d1), date(\"Y\", $d2));\n\n\t$diff = mktime(0, 0, $diff_secs, 1, 1, $base_year);\n\t$diffArray = array(\n\t\t\"years\" => date(\"Y\", $diff) - $base_year,\n\t\t\"months_total\" => (date(\"Y\", $diff) - $base_year) * 12 + date(\"n\", $diff) - 1,\n\t\t\"months\" => date(\"n\", $diff) - 1,\n\t\t\"days_total\" => floor($diff_secs / (3600 * 24)),\n\t\t\"days\" => date(\"j\", $diff) - 1,\n\t\t\"hours_total\" => floor($diff_secs / 3600),\n\t\t\"hours\" => date(\"G\", $diff),\n\t\t\"minutes_total\" => floor($diff_secs / 60),\n\t\t\"minutes\" => (int) date(\"i\", $diff),\n\t\t\"seconds_total\" => $diff_secs,\n\t\t\"seconds\" => (int) date(\"s\", $diff)\n\t);\n\tif($diffArray['days'] > 0){\n\t\tif($diffArray['days'] == 1){\n\t\t\t$days = '1 day';\n\t\t}else{\n\t\t\t$days = $diffArray['days'] . ' days';\n\t\t}\n\t\treturn $days . ' and ' . $diffArray['hours'] . ' hours ago';\n\t}else if($diffArray['hours'] > 0){\n\t\tif($diffArray['hours'] == 1){\n\t\t\t$hours = '1 hour';\n\t\t}else{\n\t\t\t$hours = $diffArray['hours'] . ' hours';\n\t\t}\n\t\treturn $hours . ' and ' . $diffArray['minutes'] . ' minutes ago';\n\t}else if($diffArray['minutes'] > 0){\n\t\tif($diffArray['minutes'] == 1){\n\t\t\t$minutes = '1 minute';\n\t\t}else{\n\t\t\t$minutes = $diffArray['minutes'] . ' minutes';\n\t\t}\n\t\treturn $minutes . ' and ' . $diffArray['seconds'] . ' seconds ago';\n\t}else{\n\t\treturn 'Less than a minute ago';\n\t}\n}",
"function dateDiff($date1, $date2) \n {\n $diff = strtotime($date2) - strtotime($date1); \n // 1 day = 24 hours \n // 24 * 60 * 60 = 86400 seconds \n return ($diff/ 86400); \n }",
"function dateDiff($date1, $date2)\r\n{\r\n\t$diff = abs($date1 - $date2); // abs pour avoir la valeur absolute, ainsi éviter d'avoir une différence négative\r\n\t$retour = array();\r\n \r\n\t$tmp = $diff;\r\n\t$retour['second'] = $tmp % 60;\r\n \r\n\t$tmp = floor( ($tmp - $retour['second']) /60 );\r\n\t$retour['minute'] = $tmp % 60;\r\n \r\n\t$tmp = floor( ($tmp - $retour['minute'])/60 );\r\n\t$retour['hour'] = $tmp % 24;\r\n \r\n\t$tmp = floor( ($tmp - $retour['hour']) /24 );\r\n\t$retour['day'] = $tmp;\r\n \r\n\treturn $retour;\r\n}",
"function diff($from,$to,$howlong,$howlongtype)\n{\n$duration_in_days = \"\";\n if($howlongtype=='Weeks')\n {\n $duration_in_days = $howlong * 7;\n }\n else if($howlongtype=='Months')\n {\n $duration_in_days = $howlong * 30;\n }\n else if($howlongtype=='Days')\n {\n $duration_in_days = $howlong;\n }\n\n$diff = abs(strtotime($to) - strtotime($from));/*Plan Synced Date - Current Date*/\n$diff = floor($diff/(60*60*24));\n$diff_in_days = max(0,floor($duration_in_days-$diff));\n\nreturn $diff_in_days;\n}",
"public static function dateDiff($date1, $date2) {\n\t\t// $datetime2 = new DateTime ( $date2 );\n\t\t// $interval = $datetime1->diff ( $datetime2 );\n\t\t// return $interval->format ( '%a' );\n\t\t$unixOriginalDate = strtotime ( $date1 );\n\t\t$unixNowDate = strtotime ( $date2 );\n\t\t$difference = $unixNowDate - $unixOriginalDate;\n\t\t$days = ( int ) ($difference / 86400);\n\t\t$hours = ( int ) ($difference / 3600);\n\t\t$minutes = ( int ) ($difference / 60);\n\t\t$seconds = $difference;\n\t\treturn $days;\n\t}",
"function dateDiff($date1,$date2,$format='D'){\n $diff = abs($date2 - $date1);\n $year=$months=$days=$hours=$minutes=$seconds=0;\n $print=\"\";\n\n switch($format){\n case 'Y':\n $years = floor($diff / (365*60*60*24));\n $print.= $years.\" years \";\n case 'M':\n $months = floor(($diff - $years * 365*60*60*24) / (30*60*60*24));\n $print.= $months.\" months \";\n case 'D':\n $days = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24));\n $print.= $days.\" days \";\n case 'H':\n $hours = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24) / (60*60));\n $print.= $hours.\" hours \";\n case 'i':\n $minutes = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24 - $hours*60*60)/ 60);\n $print.= $minutes.\" minutes \";\n case 's':\n $seconds = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24 - $hours*60*60 - $minutes*60));\n $print.= $seconds.\" seconds \";\n }\n return $print;\n}",
"function dateDiff ($d1, $d2) {\n return round(abs(strtotime($d1) - strtotime($d2))/86400);\n\n}",
"function dateDiff($dt1, $dt2, $split) \r\n{\r\n\t$date1 = (strtotime($dt1) != -1) ? strtotime($dt1) : $dt1;\r\n\t$date2 = (strtotime($dt2) != -1) ? strtotime($dt2) : $dt2;\r\n\t$dtDiff = $date1 - $date2;\r\n\t$totalDays = intval($dtDiff/(24*60*60));\r\n\t\r\n\t$totalSecs = $dtDiff-($totalDays*24*60*60); // this doesnt look at days!?! .. so check $dif['d'] == 0 to see if its the same day.\r\n\t$dif['totalSecs'] = $totalSecs; // not including any days in the total seconds. you would think 1 day difference with identical minutes/seconds should equal == 86,400 seconds, but actually this var will say zero.\r\n\t$dif['h'] = $h = intval($totalSecs/(60*60));\r\n\t$dif['m'] = $m = intval(($totalSecs-($h*60*60))/60);\r\n\t$dif['s'] = $totalSecs-($h*60*60)-($m*60);\r\n\t\r\n\t// use this if you want the TOTAL seconds between two dates. above, the $dif['totalSecs'] could be the same if you compare \r\n\t// two different days...\r\n\t$dif['totalSecs_including_days'] = $totalSecs + ($totalDays*24*60*60); // 86400seconds in one full day..ie 24 hours. ie 1440 mins.\r\n\t\r\n // set up array as necessary\r\n \tswitch($split) \r\n\t{\r\n\t\tcase 'yw': # split years-weeks-days\r\n\t\t\t$dif['y'] = $y = intval($totalDays/365);\r\n\t\t\t$dif['w'] = $w = intval(($totalDays-($y*365))/7);\r\n\t\t\t$dif['d'] = $totalDays-($y*365)-($w*7);\r\n\t\t\tbreak;\r\n\t\tcase 'y': # split years-days\r\n\t\t\t$dif['y'] = $y = intval($totalDays/365);\r\n\t\t\t$dif['d'] = $totalDays-($y*365);\r\n\t\t\tbreak;\r\n\t\tcase 'w': # split weeks-days\r\n\t\t\t$dif['w'] = $w = intval($totalDays/7);\r\n\t\t\t$dif['d'] = $totalDays-($w*7);\r\n\t\t\tbreak;\r\n\t\tcase 'd': # don't split -- total days\r\n\t\t\t$dif['d'] = $totalDays;\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tdie(\"Error in dateDiff(). Unrecognized \\$split parameter. Valid values are 'yw', 'y', 'w', 'd'. Default is 'yw'.\");\r\n }\r\n return $dif;\r\n}",
"public function getDateDifference()\n {\n switch ($this->scale) {\n case \"year\":\n return $this->yearDifference;\n case \"mon\":\n return $this->monthDifference;\n case \"week\":\n return $this->weekDifference;\n case \"day\":\n return $this->dayDifference;\n case \"hour\":\n return $this->hourDifference;\n case \"min\":\n return $this->minuteDifference;\n case \"sec\":\n return $this->stampDifference;\n }\n }",
"function dateDiff($dformat, $endDate, $beginDate)\r\n{\r\n $date_parts1=explode($dformat, $beginDate);\r\n $date_parts2=explode($dformat, $endDate);\r\n $start_date=gregoriantojd($date_parts1[0], $date_parts1[1], $date_parts1[2]);\r\n $end_date=gregoriantojd($date_parts2[0], $date_parts2[1], $date_parts2[2]);\r\n return $end_date - $start_date;\r\n}",
"function date_diff2($date1, $date2) {\n\tif(empty($date2)) return array(\"d\"=>1); // considering only [d] so if date 2 is empty then return 1\n\n $s = strtotime($date2)-strtotime($date1);\n $d = intval($s/86400); \n $s -= $d*86400;\n $h = intval($s/3600);\n $s -= $h*3600;\n $m = intval($s/60); \n $s -= $m*60;\n return array(\"d\"=>$d,\"h\"=>$h,\"m\"=>$m,\"s\"=>$s);\n}",
"public function getTotalDifferenceInDays();",
"function getDifference($date1 ,$date2 , $in ='d'){\n \t$diff = abs(strtotime($date2) - strtotime($date1));\n \t$years = floor($diff / (365*60*60*24));\n\t$months = floor(($diff - $years * 365*60*60*24) / (30*60*60*24));\n\t$days = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24));\n\t$hours = floor($diff / 60 / 60);\n\t$minites = floor($diff / 60 );\n\t\n\tswitch($in){\n \t\tcase 'd':\n \t\t\t$op_days = $years*365 + $months*30 + $days; \n\t\t\treturn $op_days ;\n \t\t\t/* Return No of Days Between Two Days*/\n\t\tbreak;\n\t\t\n\t\tcase 'h':\n \t\t\t$hours = $hours % 24;\n\t\t\t\n\t\t\tif($minites!=0){\n\t\t\t\treturn $hours +1;\n\t\t\t}\n\t\t\treturn $hours ;\n\t\t/* Return No of Hours After Day */\n\t\tbreak;\n\t}\n \t\n\tif($years){\n\t\treturn $years.\" years \" ;\n\t}\n\telseif($months){\n\t\treturn $months.\" months \"; \n\t}\n\telseif($days){\n\t\treturn $days.\" days \";\n\t}\n\telseif($hours){\n\t\treturn $hours.\" hours \";\n\t}\n\telse{\n\t\treturn $minites.\" minites \";\n\t} \n\t//printf(\"%d years, %d months, %d days\\n\", $years, $months, $days);\n}",
"function DateDifference($interval, $date1, $date2)\n {\n $difference = $date2 - $date1;\n switch ($interval) {\n case \"w\":\n $returnvalue = $difference / 604800;\n break;\n case \"d\":\n $returnvalue = $difference / 86400;\n break;\n case \"h\":\n $returnvalue = $difference / 3600;\n break;\n case \"m\":\n $returnvalue = $difference / 60;\n break;\n case \"s\":\n $returnvalue = $difference;\n break;\n }\n return $returnvalue;\n }",
"function GetDiffDays($dt1, $dt2){\n \n list($dia1, $mes1, $anio1) = explode( '/', $dt1); \n list($dia2, $mes2, $anio2) = explode( '/', $dt2);\n \n //calculo timestam de las dos fechas \n $timestamp1 = mktime(0,0,0,$mes1,$dia1,$anio1); \n $timestamp2 = mktime(4,12,0,$mes2,$dia2,$anio2); \n\n //resto a una fecha la otra \n $segundos_diferencia = $timestamp1 - $timestamp2; \n //echo $segundos_diferencia; \n\n //convierto segundos en días \n $dias_diferencia = $segundos_diferencia / (60 * 60 * 24); \n\n //obtengo el valor absoulto de los días (quito el posible signo negativo) \n $dias_diferencia = abs($dias_diferencia); \n\n //quito los decimales a los días de diferencia \n $dias_diferencia = floor($dias_diferencia); \n\n return $dias_diferencia; \n}",
"function dateDifference($timenow,$oldtime) {\n\t\t\t$secondDifference = $timenow-$oldtime;\n\t\t\n\t\t\tif ($secondDifference >= 2592000) {\n\t\t\t\t// months\n\t\t\t\t$difference = $secondDifference/2592000;\n\t\t\t\t$difference = round($difference,0);\n\t\t\t\tif ($difference>1) { $extra=\"s\"; }\n\t\t\t\t$difference = $difference.\" month\".$extra.\"\";\n\t\t\t}\n\t\t\telseif ($secondDifference >= 604800) {\n\t\t\t\t// weeks\n\t\t\t\t$difference = $secondDifference/604800;\n\t\t\t\t$difference = round($difference,0);\n\t\t\t\tif ($difference>1) { $extra=\"s\"; }\n\t\t\t\t$difference = $difference.\" week\".$extra.\"\";\n\t\t\t}\n\t\t\telseif ($secondDifference >= 86400) {\n\t\t\t\t// days\n\t\t\t\t$difference = $secondDifference/86400;\n\t\t\t\t$difference = round($difference,0);\n\t\t\t\tif ($difference>1) { $extra=\"s\"; }\n\t\t\t\t$difference = $difference.\" day\".$extra.\"\";\n\t\t\t}\n\t\t\telseif ($secondDifference >= 3600) {\n\t\t\t\t// hours\n\t\t\t\t$difference = $secondDifference/3600;\n\t\t\t\t$difference = round($difference,0);\n\t\t\t\tif ($difference>1) { $extra=\"s\"; }\n\t\t\t\t$difference = $difference.\" hour\".$extra.\"\";\n\t\t\t}\n\t\t\telseif ($secondDifference < 3600) {\n\t\t\t\t// hours\n\t\t\t\t$difference = $secondDifference/60;\n\t\t\t\t$difference = round($difference,0);\n\t\t\t\tif ($difference>1) { $extra=\"s\"; }\n\t\t\t\t$difference = $difference.\" minute\".$extra.\"\";\n\t\t\t}\n\t\t\n\t\t\t$FinalDifference = $difference;\n\t\t\treturn $FinalDifference;\n\t\t}",
"function diffDate($date1 ,$date2){\n\t$diff = abs(strtotime($date2) - strtotime($date1));\n\t$years = floor($diff / (365*60*60*24));\n\t$months = floor(($diff - $years * 365*60*60*24) / (30*60*60*24));\n\t$days = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24)/ (60*60*24));\n\t$hours = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24)/ (60*60));\n\t$minuts = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24 - $hours*60*60)/ 60);\n\t$seconds = floor(($diff - $years * 365*60*60*24 - $months*30*60*60*24 - $days*60*60*24 - $hours*60*60 - $minuts*60));\n\t$result [0]= $years;\n\t$result [1]= $months;\n\t$result [2]= $days;\n\t$result [3]= $hours;\n\t$result [4]= $minuts;\n\t$result [5]= $seconds;\n\treturn $result;\n}",
"function diffdate($unite, $operateur, $valeur) {\n //$unite : month year day\n // $operateur : + ou -\n // $valeur : nombre\n $datej = date(\"d\", strtotime($operateur . '' . $valeur . ' ' . $unite));\n $datem = date(\"m\", strtotime($operateur . '' . $valeur . ' ' . $unite));\n $datey = date(\"Y\", strtotime($operateur . '' . $valeur . ' ' . $unite));\n return \"$datey-$datem-$datej\";\n}",
"function dateDiffInDays($date1, $date2) \n\t{\n\t\t$diff = strtotime($date2) - strtotime($date1); \n\t\t \n\t\t// 1 day = 24 hours \n\t\t// 24 * 60 * 60 = 86400 seconds \n\t\treturn abs(round($diff / 86400)); \n\t}",
"public function getDateDifference($created)\n {\n $now = Mage::getSingleton('core/date')->gmtDate();\n return strtotime($now) - strtotime($created);\n }",
"private function calculateDifference()\n {\n $this->stampDifference = abs(strtotime($this->firstDate) - strtotime($this->secondDate));\n\n //all of the calculations get whole interval represented in a given scale\n $this->yearDifference = floor($this->stampDifference / (365 * 60 * 60 * 24));\n $this->monthDifference = floor($this->stampDifference / (30.41 * 60 * 60 * 24));\n $this->weekDifference = floor($this->stampDifference / (7 * 60 * 60 * 24));\n $this->dayDifference = floor($this->stampDifference / (60 * 60 * 24));\n $this->hourDifference = floor($this->stampDifference / (60 * 60));\n $this->minuteDifference = floor($this->stampDifference / (60));\n\n //Slightly Different Solution: All of the calculations altogether represent same interval\n //$this->yearDifference = floor($this->stampDifference / (365*60*60*24));\n //$this->monthDifference = floor(($this->stampDifference - $this->yearDifference * 365*60*60*24) / (30*60*60*24));\n //$this->dayDifference = floor(($this->stampDifference - $this->yearDifference * 365*60*60*24 - $this->monthDifference*30*60*60*24)/ (60*60*24));\n }"
] |
[
"0.6677497",
"0.6650422",
"0.64833444",
"0.64770776",
"0.6470693",
"0.64654505",
"0.64383566",
"0.6426713",
"0.641285",
"0.6383705",
"0.6379617",
"0.63086516",
"0.62907964",
"0.6288828",
"0.6232141",
"0.621416",
"0.6145476",
"0.61333007",
"0.6128318",
"0.6110879",
"0.60894215",
"0.6073966",
"0.6051868",
"0.60494363",
"0.601576",
"0.6008234",
"0.597824",
"0.5956945",
"0.5929721",
"0.589609"
] |
0.6661866
|
1
|
Auxilliary function to select product information from a generated communique
|
public function getAllProductInfoFromCommunique($id)
{
$q = Doctrine_Query::create()
// ->select('u.prod_com_ids, u.com_number, u.ts_date_submitted')
->from('Voices_Model_Uploads u')
->where('u.upload_id=?', $id);
$uResults = $q->fetchArray();
$prodIds = explode('|', $uResults[0]['prod_com_ids']);
$prods = array();
// get product info from prod_com_ids
foreach ($prodIds as $key=>$value)
{
$q = Doctrine_Query::create()
->from('Voices_Model_Products p')
->leftJoin('p.Voices_Model_Contacts')
->where('p.prod_id =?', $value);
$pResults = $q->fetchArray();
if (count($pResults) > 0){
array_push($prods, $pResults);
}
}
// $uResults for results from initial query
// needed by other functions (eg excelPreviewAction)
return array($prods, $uResults);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"abstract protected function extractProductDetail();",
"function getProductInfos($oid){\n if (!isset($this->products[$oid])){\n $r = array('pool'=>NULL, 'ticket'=>NULL, 'person'=>NULL, 'taarticleno'=>NULL);\n $selectedfields = array('tapool', 'taperson', 'taticket', 'prdconf');\n if ($this->xwtscatalog->fieldExists('taarticleno')){\n $selectedfields[] = 'taarticleno';\n }\n $dp = $this->xwtscatalog->display(array('oid'=>$oid,\n 'selectedfields'=>$selectedfields,\n 'options'=>array('tapool'=>array('target_fields'=>array('prjno', 'poolno')),\n 'taperson'=>array('target_fields'=>array('ptno')),\n 'prdconf'=>array('target_fields'=>array('calendar')),\n 'taticket'=>array('target_fields'=>array('tapool', 'ttno'))\n )\n )\n );\n $r['project'] = $dp['otapool']->link['oprjno']->raw;\n $r['pool'] = $dp['otapool']->link['opoolno']->raw;\n $r['ticket'] = $dp['otaticket']->link['ottno']->raw;\n $r['person'] = $dp['otaperson']->link['optno']->raw;\n $r['calendartype'] = $dp['oprdconf']->link['ocalendar']->link['otype']->raw;\n if (isset($dp['otaarticleno']))\n $r['taarticleno'] = $dp['otaarticleno']->raw;\n $this->products[$oid] = $r;\n }\n return $this->products[$oid];\n }",
"public function productRetrieveInfo(){\n\t\t$productId\t\t\t\t=\tself::getUserId();\n\t\t$productTable\t\t\t=\tself::getUserTable();\n\t\t$joinTable\t\t\t\t=\tself::getJoinTable();\n\t\t$productArray\t\t\t=\tself::getUserArray(); //single dimension array output\t\t\n\t\t$productCond\t\t\t=\tself::getUserCond();\t\t\n\t\t$retArray\t\t\t\t=\tself::retrieveEntry($productTable, $productArray, $joinTable, $productCond);\n\t\tforeach ($retArray as $retIndex => $retValue) {\n $$retIndex \t\t\t= \t$retValue;\n $mainArr \t\t\t=\texplode('|', $$retIndex);\n\t\t\t$returnValue \t\t= \tarray();\t\t\t \t \n\t\t\tforeach ($mainArr as $mainArrIndex => $mainArrValue) {\t\t\t\t\t\n\t\t\t\t$returnValue[] \t= \t$mainArrValue;\t\t\t\n\t\t\t}\t\t\t \n }\n\t\treturn $returnValue;\n\t}",
"function getClosetProductsValues($arrproductId)\n\t{\n\t\t$query = \"SELECT pd.* , cl.name AS client_name, cl.id AS client_id FROM `products` AS pd \n\t\tLEFT JOIN `client` AS cl ON cl.id = pd.client_id WHERE pd.pd_id IN (\".$arrproductId.\")\";\n\t\t$result = $this->selectQueryForAssoc($query);\n\t\treturn $result;\n\t}",
"private function getProductInformation()\r\n {\r\n \r\n // if product is repairable get the repair agents details as well as products and suppliers\r\n if ($this->claimType == \"repair-warranty\" || $this->claimType == \"repair-no-warranty\" || \r\n $this->claimType == \"repair-no-transaction\")\r\n {\r\n $result = mysql_query( \"SELECT *\r\n FROM ProductSupplierRepairAgent_VIEW\r\n WHERE Keycode = $this->keycode\");\r\n \r\n $this->keycodeResult = mysql_fetch_array($result);\r\n }\r\n // if the product is not repairable grab the product information and supplier information only\r\n else\r\n {\r\n $result = mysql_query( \"SELECT *\r\n FROM ProductSupplier_VIEW\r\n WHERE Keycode = $this->keycode\");\r\n \r\n $this->keycodeResult = mysql_fetch_array($result);\r\n }\r\n }",
"function getProdId($product){\r\n require '../../model/dbconnect.php';\r\n $prod = $db->quote($product);\r\n $rows_prod = $db->query(\"SELECT id FROM product WHERE name = $prod\");\r\n if ($rows_prod) {\r\n foreach($rows_prod as $row)\r\n return $row['id'];\r\n }\r\n }",
"function getProduct($product_id)\n{\n $var = getDataArray(\"select * from Product_with_catogory WHERE product_id =\" . $product_id);\n if (count($var) > 0)\n return $var[0];\n else\n return null;\n}",
"public static function select_product_by_id($data)\n {\n \n try{\n $product_id=$data['product_id'];\n $productquery = new Query;\n $productdata = $productquery->select(['core_products.*','core_product_categories.category_name','core_product_sub_categories.sub_category_name', 'core_product_models.model_name','core_product_categories.metric','core_product_images.*'])\n ->from('core_products')\n ->leftJoin('core_product_categories', 'core_product_categories.category_id=core_products.category_id')\n ->leftJoin('core_product_sub_categories', 'core_product_sub_categories.sub_category_id=core_products.sub_category_id')\n ->leftJoin('core_product_models', 'core_product_models.model_id=core_products.model_id')\n ->innerJoin('core_product_images', 'core_product_images.product_id=core_products.product_id')\n ->orderBy(['core_products.product_id' => SORT_DESC])\n ->groupBy(['core_products.product_id'])\n ->limit(1)\n ->where(\"core_products.product_id = $product_id\")\n ->all();\n $product = (object)$productdata[0];\n $imagequery = new Query;\n $productimages = $imagequery->select(['*'])\n ->from('core_product_images')\n ->where(\"product_id = $product_id\")\n ->all();\n \n $tax_details = new Query;\n $tax_ids= explode(',',$product->life_tax_details);\n $tax_regions = $tax_details->select(['region_name'])\n ->from('core_regions')\n ->where(['region_id' => $tax_ids])\n ->all();\n $life_tax_details='';\n foreach($tax_regions as $index=>$region_name)\n {\n if($index==0)\n $life_tax_details = $region_name['region_name'];\n else\n $life_tax_details .= ', '.$region_name['region_name'];\n }\n $common_value = \"Not Available\";\n //variable to dispaly product title\n $product_title = $product->equipment_title.' <span><i class=\"fa fa-check-circle\"></i> In Stock</span>';\n \n //variable to display product navigation\n $product_navs ='<li role=\"presentation\" class=\"active\"><a href=\"#cranedetails\" aria-controls=\"details\" role=\"tab\" data-toggle=\"tab\">Details</a></li>\n <li role=\"presentation\"><a href=\"#craneimages\" aria-controls=\"craneimages\" role=\"tab\" data-toggle=\"tab\">Images</a></li>';\n $loadchartcount = 0;\n foreach($productimages as $index=>$image)\n {\n $image = (object)$image;\n if($image->image_type == 2) $loadchartcount++; \n }\n \n if($product->category_id ==1)\n $product_navs .='<li role=\"presentation\"><a href=\"#loadcharts\" aria-controls=\"loadcharts\" role=\"tab\" data-toggle=\"tab\">Load Charts</a></li>';\n $price_type = ''; $place_holder_price_type = '';\n if(@$product->price_type == 1)\n {\n @$price_type = \"Daily\"; \n $place_holder_price_type ='Days';\n }\n else if(@$product->price_type == 2)\n {\n @$price_type = \"Monthly\"; \n $place_holder_price_type ='Months';\n }\n \n //variable to display product details\n $product_details ='<div role=\"tabpanel\" class=\"tab-pane active\" id=\"cranedetails\">\n <div class=\"b-t-b-grey flex\">\n <img width=\"209px\" height=\"194px\" src=\"'.$product->image_url.'\" alt=\"\">\n <p>'.$product->description.'</p>\n </div>\n <div class=\"col-md-6\">\n <ul class=\"cranedtlslist\">\n <li><strong>Code: </strong> '.$product->manual_product_code.'</li>';\n if($product->product_type == 0)\n {\n if($product->hire_price == -1)\n $product_details .= '<li data-toggle=\"popover\" data-trigger=\"hover\" data-content=\"PRICE ON REQUEST\" onmouseover=\"mousepopover();\"><strong>Hire Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> PRICE ON REQUEST/'.$price_type.'</li>'; \n else\n $product_details .= '<li><strong>Hire Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> '.$product->hire_price.'/'.$price_type.'</li>'; \n }\n else if($product->product_type == 1)\n {\n if($product->sale_price == -1)\n $product_details .= '<li data-toggle=\"popover\" data-trigger=\"hover\" data-content=\"PRICE ON REQUEST\" onmouseover=\"mousepopover();\"><strong>Sale Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> PRICE ON REQUEST </li>'; \n else\n $product_details .= '<li ><strong>Sale Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> '.$product->sale_price.'</li>'; \n }\n else if($product->product_type == 2)\n {\n if($product->hire_price == -1)\n $product_details .= '<li data-toggle=\"popover\" data-trigger=\"hover\" data-content=\"PRICE ON REQUEST\" onmouseover=\"mousepopover();\"><strong>Hire Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> PRICE ON REQUEST/'.$price_type.'</li>'; \n else\n $product_details .= '<li><strong>Hire Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> '.$product->hire_price.'/'.$price_type.'</li>'; \n \n \n if($product->sale_price == -1)\n $product_details .= '<li data-toggle=\"popover\" data-trigger=\"hover\" data-content=\"PRICE ON REQUEST\" onmouseover=\"mousepopover();\"><strong>Sale Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> PRICE ON REQUEST </li>'; \n else\n $product_details .= '<li ><strong>Sale Price: </strong> <strong><i class=\"fa fa-rupee\"></i></strong> '.$product->sale_price.'</li>'; \n }\n \n \n $product_details .= '<li><strong>Capacity: </strong> '.$product->capacity.'</li>';\n $product_details .= '<li><strong>Category: </strong> '.$product->category_name.'</li>';\n $product_details .= '<li><strong>Sub category: </strong> '.$product->sub_category_name.'</li>';\n \n \n /*if($product->model_name != '')\n {\n $product_details .= '<li ><strong>Model: </strong>'.$product->model_name.'</li>'; \n }\n if($product->model_other != '')\n {\n $product_details .= '<li ><strong>Model Other: </strong> '.$product->model_other.'</li>'; \n }*/\n\tif($product->model_name != '' && $product->model_name != 'Custom')\n {\n $product_details .= '<li ><strong>Model: </strong>'.$product->model_name.'</li>'; \n }\n if($product->model_other != '')\n {\n //$product_details .= '<li ><strong>Model Other: </strong> '.$product->model_other.'</li>'; \n $product_details .= '<li ><strong>Model: </strong> '.$product->model_other.'</li>'; \n }\n if($product->current_location != '')\n {\n $pos = strrpos( $product->current_location, ',');\n if ($pos > 0) { // try to find the second one\n $npath = substr($product->current_location, 0, $pos);\n $npos = strrpos($npath, ',');\n if ($npos !== false) {\n $currentlocation = substr($product->current_location, $npos+1);\n } \n else {\n $currentlocation =$product->current_location;\n \n }\n }\n $product_details .= '<li ><strong>Location: </strong>'.$currentlocation.'</li>'; \n }\n \n $product_details .= '</ul></div><div class=\"col-md-6\">\n <ul class=\"cranedtlslist\">';\n if($product->category_id == '1')\n {\n if($product->fly_jib)\n $product_details .= '<li ><strong>Fly jib:</strong> '.$product->fly_jib.' meters</li>';\n else\n $product_details .= '<li ><strong>Fly jib:</strong> '.$common_value.'</li>';\n }\n \n if($product->category_id == '1')\n {\n if($product->luffing_jib)\n $product_details .= '<li ><strong>Luffing jib:</strong>'.$product->luffing_jib.' meters</li>'; \n else\n $product_details .= '<li ><strong>Luffing jib:</strong> '.$common_value.'</li>';\n \n }\n if($product->category_id == '1' || $product->category_id == '2')\n {\n if($product->registered_number)\n $product_details .= '<li ><strong>Registered Number:</strong> '.$product->registered_number.'</li>'; \n else\n $product_details .= '<li ><strong>Registered Number:</strong> '.$common_value.'</li>'; \n }\n \n if($life_tax_details)\n $product_details .= '<li ><strong>Life Tax Details:</strong> '.$life_tax_details.'</li>'; \n else\n $product_details .= '<li ><strong>Life Tax Details:</strong> '.$common_value.'</li>'; \n \n if($product->condition != '')\n {\n $product_details .= '<li ><strong>Condition:</strong> '.$product->condition.'</li>'; \n }\n if($product->category_id == '3')\n {\n if($product->bucket_capacity)\n $product_details .= '<li ><strong>Bucket Capacity:</strong> '.$product->bucket_capacity.' Cubic Metres</li>'; \n else\n $product_details .= '<li ><strong>Bucket Capacity:</strong> '.$common_value.'</li>'; \n }\n if($product->manufacture_year != '')\n {\n if($product->manufacture_year)\n $product_details .= '<li ><strong>Manufacture year:</strong> '.$product->manufacture_year.'</li>'; \n else\n $product_details .= '<li ><strong>Manufacture year:</strong> '.$common_value.'</li>'; \n }\n if($product->category_id == '1')\n {\n if($product->boom_length)\n $product_details .= '<li ><strong>Boom Length:</strong> '.$product->boom_length.' meters</li>'; \n else\n $product_details .= '<li ><strong>Boom Length:</strong> '.$common_value.'</li>'; \n }\n if($product->category_id == '5')\n {\n if($product->kelly_length)\n $product_details .= '<li ><strong>Kelly Length: </strong>'.$product->kelly_length.' meters</li>'; \n else\n $product_details .= '<li ><strong>Kelly Length: </strong>'.$common_value.'</li>'; \n } \n if($product->category_id == '3')\n {\n if($product->arm_length)\n $product_details .= '<li ><strong>Arm Length: </strong>'.$product->arm_length.' meters</li>'; \n else\n $product_details .= '<li ><strong>Arm Length: </strong>'.$common_value.'</li>'; \n }\n if($product->category_id == '2')\n {\n if($product->numberof_axles)\n $product_details .= '<li ><strong>Number of axles: </strong> '.$product->numberof_axles.'</li>'; \n else\n $product_details .= '<li ><strong>Number of axles: </strong> '.$common_value.'</li>'; \n }\n \n if($product->dimensions && $product->dimensions!= '0x0x0')\n $product_details .= '<li ><strong>Dimensions: </strong> '.$product->dimensions .'</li>'; \n else\n $product_details .= '<li ><strong>Dimensions: </strong> '.$common_value.'</li>'; \n \n $product_details .='</ul></div></div>';\n \n $gallery_thumb = '';$gallery = '';$load_charts_thumb = '';$load_charts=''; $i=0; $j=0;\n foreach($productimages as $index=>$image)\n {\n $image = (object)$image;\n if($image->image_type == 1)\n {\n \n if($i==0) $active= 'active'; else $active = '';\n $gallery_thumb .='<li><a class=\"thumbnail\" id=\"carousel-selector-'.$i.'\"><img width=\"100px\" height=\"74px\" src=\"'.$image->image_url.'\"></a></li>';\n $gallery .= '<div class=\"item '.$active.'\" data-slide-number=\"'.$i.'\"><img src=\"'.$image->image_url.'\"></div>';\n $i++; \n }\n else if($image->image_type == 2)\n {\n \n if($j==0) $active= 'active'; else $active = '';\n $load_charts_thumb .='<li><a class=\"thumbnail\" id=\"carousel-selector-'.$j.'\"><img width=\"100px\" height=\"74px\" src=\"'.$image->image_url.'\"></a></li>';\n $load_charts .= '<div class=\"item '.$active.'\" data-slide-number=\"'.$j.'\"><img src=\"'.$image->image_url.'\"></div>';\n $j++;\n }\n \n \n }\n //variable to display images slider\n $image_block ='<div role=\"tabpanel\" class=\"tab-pane\" id=\"craneimages\">\n <div class=\"col-sm-2\" id=\"slider-thumbs\">\n <!-- Bottom switcher of slider -->\n <ul class=\"hide-bullets\">'.$gallery_thumb.'</ul>\n </div>\n <div class=\"col-sm-10\">\n <div class=\"col-xs-12\" id=\"slider\">\n <!-- Top part of the slider -->\n <div class=\"row\">\n <div class=\"col-sm-12\" id=\"carousel-bounding-box\">\n <div class=\"carousel slide\" id=\"myCarousel\">\n <!-- Carousel items -->\n <div class=\"carousel-inner\">'.$gallery.'</div>\n <!-- Carousel nav -->\n <a class=\"left carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"prev\">\n <span class=\"glyphicon glyphicon-chevron-left\"></span>\n </a>\n <a class=\"right carousel-control\" href=\"#myCarousel\" role=\"button\" data-slide=\"next\">\n <span class=\"glyphicon glyphicon-chevron-right\"></span>\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>';\n //variable to display load charts if exists.\n if($loadchartcount >0)\n {\n $product_load_charts ='<div role=\"tabpanel\" class=\"tab-pane\" id=\"loadcharts\">\n <div class=\"col-sm-2\" id=\"slider-thumbs\">\n <!-- Bottom switcher of slider -->\n <ul class=\"hide-bullets\">'.$load_charts_thumb.'</ul>\n </div>\n <div class=\"col-sm-10\">\n <div class=\"col-xs-12\" id=\"slider\">\n <!-- Top part of the slider -->\n <div class=\"row\">\n <div class=\"col-sm-12\" id=\"carousel-bounding-box\">\n <div class=\"carousel slide\" id=\"load_chart_carousel\">\n <!-- Carousel items -->\n <div class=\"carousel-inner\">'.$load_charts.'</div>\n <!-- Carousel nav -->\n <a class=\"left carousel-control\" href=\"#load_chart_carousel\" role=\"button\" data-slide=\"prev\">\n <span class=\"glyphicon glyphicon-chevron-left\"></span>\n </a>\n <a class=\"right carousel-control\" href=\"#load_chart_carousel\" role=\"button\" data-slide=\"next\">\n <span class=\"glyphicon glyphicon-chevron-right\"></span>\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div><div class=\"clearfix\"></div>';\n }\n else\n {\n $product_load_charts ='<div role=\"tabpanel\" class=\"tab-pane\" id=\"loadcharts\">\n <center><h4>Load Charts Not Available</h4></center>\n </div><div class=\"clearfix\"></div>';\n }\n \n //condition to check which button to display \n if(Yii::$app->user->id != $product->user_id)\n {\n\t if($product->product_type == 0)\n \t$hirenowbutton = '<button type=\"button\" class=\"btn btn-bei\" onclick=\"order_now('.$product->product_id.',0);\">Hire Now</button>';\n else if($product->product_type == 1)\n \t$hirenowbutton = '<button type=\"button\" class=\"btn btn-bei\" onclick=\"order_now('.$product->product_id.',1);\">Buy Now</button>';\n else if($product->product_type == 2)\n \t$hirenowbutton = '<button type=\"button\" class=\"btn btn-bei\" onclick=\"order_now('.$product->product_id.',2);\">Hire / Buy</button>';\n }\n else\n {\n $hirenowbutton = '';\n }\n $data['title'] = $product_title;\n $data['navs'] = $product_navs;\n $data['details'] = $product_details;\n $data['images'] = $image_block;\n $data['load_charts'] = $product_load_charts;\n $data['hire_now_button'] = $hirenowbutton;\n $data['price_type'] = $place_holder_price_type;\n return $data;\n \n }catch (ErrorException $ex) {\n Yii::warning($ex->getMessage());\n }\n \n \n \n }",
"function get_products_with_attributes() {\n global $db;\n if(isset($_SESSION['languages_id'])){ $language_id = (int)$_SESSION['languages_id'];} else { $language_id=1;}\n $query = 'SELECT DISTINCT attrib.products_id, description.products_name, products.products_quantity, products.products_model, products.products_image\n FROM '.TABLE_PRODUCTS_ATTRIBUTES.' attrib, '.TABLE_PRODUCTS_DESCRIPTION.' description, '.TABLE_PRODUCTS.' products\n WHERE attrib.products_id = description.products_id AND\n attrib.products_id = products.products_id AND \n description.language_id='.$language_id.' \n ORDER BY description.products_name ';\n $products = $db->Execute($query);\n while(!$products->EOF){\n $products_array[] = $products->fields['products_id'];\n $products->MoveNext();\n }\n return $products_array;\n }",
"function getProductInfo($productId)\n{\n global $conn;\n\n $sql = \"SELECT * FROM product WHERE ProductID = $productId \";\n \n $stmt = $conn->prepare($sql);\n $stmt->execute();\n $record = $stmt->fetch(PDO::FETCH_ASSOC);\n \n return $record;\n}",
"public function getProduct();",
"function getProductId($product_name)\n\t{\n\t\tglobal $log;\n $log->info(\"in getProductId \".$product_name);\n\t\tglobal $adb;\n\t\tif($product_name != '')\n\t\t{\n\t\t\t$sql = \"select productid from ec_products where productname='\".$product_name.\"'\";\n\t\t\t$result = $adb->query($sql);\n\t\t\t$productid = $adb->query_result($result,0,\"productid\");\n\t\t}\n\t\treturn $productid;\n\t}",
"public function product1(){\r\n\t\t$sql =\"SELECT * FROM `products`,`manufactures`,`protypes` WHERE manufactures.manu_ID = products.manu_ID AND protypes.type_ID = products.type_ID\";\r\n\t\t$result = self::$conn->query($sql);\r\n\t\treturn $this->getData($result);\r\n\t}",
"function getAssociatedProducts($module, $focus, $seid = '') {\n\tglobal $log, $adb, $currentModule, $current_user;\n\t$log->debug('> getAssociatedProducts '.$module.','.get_class($focus).','.$seid);\n\n\t$product_Detail = array();\n\t$acvid = 0;\n\t$listcostprice = false;\n\t$zerodiscount = false;\n\n\tif (GlobalVariable::getVariable('PurchaseOrder_TransferCostPrice', '0', isset($_REQUEST['return_module']) ? $_REQUEST['return_module'] : '') == '1' && $currentModule == 'PurchaseOrder' && $_REQUEST['return_module'] != 'PurchaseOrder') {\n\t\t$listcostprice = true;\n\t}\n\tif (GlobalVariable::getVariable('PurchaseOrder_IgnoreTransferDiscount', '0', isset($_REQUEST['return_module']) ? $_REQUEST['return_module'] : '') == '1' && $currentModule == 'PurchaseOrder' && $_REQUEST['return_module'] != 'PurchaseOrder') {\n\t\t$zerodiscount = true;\n\t}\n\t$crmETProduct = CRMEntity::getcrmEntityTableAlias('Products');\n\t$crmETService = CRMEntity::getcrmEntityTableAlias('Services');\n\n\tif (in_array($module, getInventoryModules())) {\n\t\t$query=\"SELECT\n\t\t\tcase when vtiger_products.productid != '' then vtiger_products.productname else vtiger_service.servicename end as productname,\n\t\t\tcase when vtiger_products.productid != '' then vtiger_products.productcode else vtiger_service.service_no end as productcode,\n\t\t\tcase when vtiger_products.productid != '' then vtiger_products.unit_price else vtiger_service.unit_price end as unit_price, \n\t\t\tcase when vtiger_products.productid != '' then vtiger_products.cost_price else vtiger_service.cost_price end as cost_price, \n\t\t\tcase when vtiger_products.productid != '' then vtiger_products.qtyinstock else 'NA' end as qtyinstock,\n\t\t\tcase when vtiger_products.productid != '' then 'Products' else 'Services' end as entitytype,\n\t\t\tvtiger_inventoryproductrel.listprice,\n\t\t\tvtiger_inventoryproductrel.description AS product_description,\n\t\t\tvtiger_inventoryproductrel.*\n\t\t\tFROM vtiger_inventoryproductrel\n\t\t\tLEFT JOIN vtiger_products ON vtiger_products.productid=vtiger_inventoryproductrel.productid\n\t\t\tLEFT JOIN vtiger_service ON vtiger_service.serviceid=vtiger_inventoryproductrel.productid\n\t\t\tWHERE id=? ORDER BY sequence_no\";\n\t\t\t$params = array($focus->id);\n\t\tif ($module != 'PurchaseOrder' && $module != 'Receiptcards' && $module != 'MassiveMovements') {\n\t\t\tif (GlobalVariable::getVariable('Application_B2B', '1')=='1') {\n\t\t\t\tif ($module == 'Issuecards') {\n\t\t\t\t\t$acvid = $focus->column_fields['accid'];\n\t\t\t\t} else {\n\t\t\t\t\t$acvid = $focus->column_fields['account_id'];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($module == 'Issuecards') {\n\t\t\t\t\t$acvid = $focus->column_fields['ctoid'];\n\t\t\t\t} else {\n\t\t\t\t\t$acvid = $focus->column_fields['contact_id'];\n\t\t\t\t}\n\t\t\t}\n\t\t} elseif ($module != 'MassiveMovements') {\n\t\t\t$acvid = $focus->column_fields['vendor_id'];\n\t\t}\n\t} elseif ($module == 'Potentials') {\n\t\t$query=\"SELECT vtiger_products.productid, vtiger_products.productname, vtiger_products.productcode,\n\t\t\tvtiger_products.unit_price, vtiger_products.qtyinstock, vtiger_crmentity.description AS product_description,\n\t\t\t'Products' AS entitytype\n\t\t\tFROM vtiger_products\n\t\t\tINNER JOIN $crmETProduct ON vtiger_crmentity.crmid=vtiger_products.productid\n\t\t\tINNER JOIN vtiger_seproductsrel ON vtiger_seproductsrel.productid=vtiger_products.productid\n\t\t\tWHERE vtiger_seproductsrel.crmid=?\";\n\t\t$query.=\" UNION SELECT vtiger_service.serviceid AS productid, vtiger_service.servicename AS productname,\n\t\t\t'NA' AS productcode, vtiger_service.unit_price AS unit_price, 'NA' AS qtyinstock,\n\t\t\tvtiger_crmentity.description AS product_description, 'Services' AS entitytype\n\t\t\tFROM vtiger_service\n\t\t\tINNER JOIN $crmETService ON vtiger_crmentity.crmid=vtiger_service.serviceid\n\t\t\tINNER JOIN vtiger_crmentityrel ON vtiger_crmentityrel.relcrmid=vtiger_service.serviceid\n\t\t\tWHERE vtiger_crmentityrel.crmid=?\";\n\t\t\t$params = array($seid,$seid);\n\t} elseif ($module == 'Products') {\n\t\t$query=\"SELECT vtiger_products.productid, vtiger_products.productcode, vtiger_products.productname,\n\t\t\tvtiger_products.unit_price, vtiger_products.qtyinstock, vtiger_crmentity.description AS product_description,\n\t\t\t'Products' AS entitytype\n\t\t\tFROM vtiger_products\n\t\t\tINNER JOIN $crmETProduct ON vtiger_crmentity.crmid=vtiger_products.productid\n\t\t\tWHERE vtiger_crmentity.deleted=0 AND vtiger_products.productid=?\";\n\t\t\t$params = array($seid);\n\t} elseif ($module == 'Services') {\n\t\t$query=\"SELECT vtiger_service.serviceid AS productid, 'NA' AS productcode, vtiger_service.servicename AS productname,\n\t\t\tvtiger_service.unit_price AS unit_price, 'NA' AS qtyinstock, vtiger_crmentity.description AS product_description,\n\t\t\t'Services' AS entitytype\n\t\t\tFROM vtiger_service\n\t\t\tINNER JOIN $crmETService ON vtiger_crmentity.crmid=vtiger_service.serviceid\n\t\t\tWHERE vtiger_crmentity.deleted=0 AND vtiger_service.serviceid=?\";\n\t\t\t$params = array($seid);\n\t} else {\n\t\t$query = \"SELECT vtiger_products.productid, vtiger_products.productname, vtiger_products.productcode,\n\t\t\tvtiger_products.unit_price, vtiger_products.qtyinstock, vtiger_crmentity.description AS product_description,\n\t\t\t'Products' AS entitytype\n\t\t\tFROM vtiger_products\n\t\t\tINNER JOIN $crmETProduct ON vtiger_crmentity.crmid=vtiger_products.productid\n\t\t\tINNER JOIN vtiger_crmentityreldenorm ON vtiger_crmentityreldenorm.crmid=vtiger_products.productid and vtiger_crmentityreldenorm.relcrmid=?\n\t\t\tWHERE vtiger_crmentity.deleted=0\";\n\t\t$query.=\" UNION SELECT vtiger_service.serviceid AS productid, vtiger_service.servicename AS productname,\n\t\t\t'NA' AS productcode, vtiger_service.unit_price AS unit_price, 'NA' AS qtyinstock,\n\t\t\tvtiger_crmentity.description AS product_description, 'Services' AS entitytype\n\t\t\tFROM vtiger_service\n\t\t\tINNER JOIN $crmETService ON vtiger_crmentity.crmid=vtiger_service.serviceid\n\t\t\tINNER JOIN vtiger_crmentityreldenorm ON vtiger_crmentityreldenorm.crmid=vtiger_service.serviceid and vtiger_crmentityreldenorm.relcrmid=?\n\t\t\tWHERE vtiger_crmentity.deleted=0\";\n\t\t\t$params = array($seid, $seid, $seid, $seid);\n\t}\n\tif ($module != $currentModule && in_array($currentModule, getInventoryModules())) {\n\t\t$cbMap = cbMap::getMapByName($currentModule.'InventoryDetails', 'MasterDetailLayout');\n\t} else {\n\t\t$cbMap = cbMap::getMapByName($module.'InventoryDetails', 'MasterDetailLayout');\n\t}\n\t$MDMapFound = ($cbMap!=null && isPermitted('InventoryDetails', 'EditView')=='yes');\n\tif ($MDMapFound) {\n\t\t$cbMapFields = $cbMap->MasterDetailLayout();\n\t}\n\t$result = $adb->pquery($query, $params);\n\t$num_rows=$adb->num_rows($result);\n\tfor ($i=1; $i<=$num_rows; $i++) {\n\t\t$so_line = 0;\n\t\t$min_qty = null;\n\t\tif (GlobalVariable::getVariable('Inventory_Check_Invoiced_Lines', 0, $currentModule) == 1) {\n\t\t\t$crmETID = CRMEntity::getcrmEntityTableAlias('InventoryDetails', true);\n\t\t\tif ($module == 'SalesOrder' && vtlib_isModuleActive('InventoryDetails')) {\n\t\t\t\tif (isset($_REQUEST['convertmode']) && $_REQUEST['convertmode'] == 'sotoinvoice') {\n\t\t\t\t\t$so_line = $adb->query_result($result, $i-1, 'lineitem_id');\n\t\t\t\t\t$sel_min_qty = \"SELECT remaining_units\n\t\t\t\t\t\tFROM vtiger_inventorydetails inde\n\t\t\t\t\t\tLEFT JOIN $crmETID crm ON inde.inventorydetailsid=crm.crmid WHERE crm.deleted=0 AND lineitem_id=?\";\n\t\t\t\t\t$res_min_qty = $adb->pquery($sel_min_qty, array($so_line));\n\t\t\t\t\tif ($adb->num_rows($res_min_qty) == 1) {\n\t\t\t\t\t\t$min_qty = $adb->query_result($res_min_qty, 0, 'remaining_units');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} elseif ($module == 'Invoice' && vtlib_isModuleActive('InventoryDetails')) {\n\t\t\t\t$sel_soline = \"SELECT rel_lineitem_id\n\t\t\t\t\tFROM vtiger_inventorydetails inde\n\t\t\t\t\tLEFT JOIN $crmETID crm ON inde.inventorydetailsid=crm.crmid WHERE crm.deleted=0 AND lineitem_id=?\";\n\t\t\t\t$res_soline = $adb->pquery($sel_soline, array($adb->query_result($result, $i-1, 'lineitem_id')));\n\t\t\t\tif ($adb->num_rows($res_soline) == 1) {\n\t\t\t\t\t$so_line = $adb->query_result($res_soline, 0, 'rel_lineitem_id');\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!is_null($min_qty) && $min_qty == 0) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t$hdnProductId = $adb->query_result($result, $i-1, 'productid');\n\t\t$hdnProductcode = $adb->query_result($result, $i-1, 'productcode');\n\t\t$productname=$adb->query_result($result, $i-1, 'productname');\n\t\t$productdescription=$adb->query_result($result, $i-1, 'product_description');\n\t\t$comment=$adb->query_result($result, $i-1, 'comment');\n\t\t$qtyinstock=$adb->query_result($result, $i-1, 'qtyinstock');\n\n\t\t$qty=(is_null($min_qty) ? $adb->query_result($result, $i-1, 'quantity') : $min_qty);\n\t\t$unitprice=$adb->query_result($result, $i-1, 'unit_price');\n\t\t$listprice=$listcostprice ? $adb->query_result($result, $i-1, 'cost_price') : $adb->query_result($result, $i-1, 'listprice');\n\t\t$entitytype=$adb->query_result($result, $i-1, 'entitytype');\n\t\tif (!empty($entitytype)) {\n\t\t\t$product_Detail[$i]['entityType'.$i]=$entitytype;\n\t\t}\n\t\tif ($module==$currentModule) {\n\t\t\t$product_Detail[$i]['lineitem_id'.$i]=$adb->query_result($result, $i-1, 'lineitem_id');\n\t\t} else {\n\t\t\t$product_Detail[$i]['lineitem_id'.$i]=0;\n\t\t}\n\n\t\tif ($listprice == '') {\n\t\t\t$listprice = $unitprice;\n\t\t}\n\t\tif ($qty =='') {\n\t\t\t$qty = 1;\n\t\t}\n\n\t\t//calculate productTotal\n\t\t$productTotal = $qty*$listprice;\n\n\t\t//Delete link in First column\n\t\tif ($i != 1) {\n\t\t\t$product_Detail[$i]['delRow'.$i]='Del';\n\t\t}\n\t\tif (empty($focus->mode) && $seid!='') {\n\t\t\t$crmETPC = CRMEntity::getcrmEntityTableAlias('ProductComponent');\n\t\t\t$sub_prod_query = $adb->pquery(\n\t\t\t\t'SELECT topdo as prod_id\n\t\t\t\t\tFROM vtiger_productcomponent\n\t\t\t\t\tINNER JOIN '.$crmETPC.' ON vtiger_crmentity.crmid=vtiger_productcomponent.productcomponentid\n\t\t\t\t\tWHERE vtiger_crmentity.deleted=0 AND frompdo=?',\n\t\t\t\tarray($seid)\n\t\t\t);\n\t\t} else {\n\t\t\t$sub_prod_query = $adb->pquery('SELECT productid as prod_id from vtiger_inventorysubproductrel WHERE id=? AND sequence_no=?', array($focus->id,$i));\n\t\t}\n\t\t$subprodid_str='';\n\t\t$subprodname_str='';\n\t\t$subProductArray = array();\n\t\tif ($adb->num_rows($sub_prod_query)>0) {\n\t\t\tfor ($j=0; $j<$adb->num_rows($sub_prod_query); $j++) {\n\t\t\t\t$sprod_id = $adb->query_result($sub_prod_query, $j, 'prod_id');\n\t\t\t\t$sprod_name = $subProductArray[] = getProductName($sprod_id);\n\t\t\t\t$str_sep = '';\n\t\t\t\tif ($j>0) {\n\t\t\t\t\t$str_sep = ':';\n\t\t\t\t}\n\t\t\t\t$subprodid_str .= $str_sep.$sprod_id;\n\t\t\t\t$subprodname_str .= $str_sep.' - '.$sprod_name;\n\t\t\t}\n\t\t}\n\n\t\t$subprodname_str = str_replace(':', '<br>', $subprodname_str);\n\n\t\t$product_Detail[$i]['subProductArray'.$i] = $subProductArray;\n\t\t$product_Detail[$i]['hdnProductId'.$i] = $hdnProductId;\n\t\t$product_Detail[$i]['rel_lineitem_id'.$i] = $so_line;\n\t\t$product_Detail[$i]['productName'.$i]= $productname;\n\t\t/* Added to fix the issue Product Pop-up name display*/\n\t\tif (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'CreateSOPDF' || $_REQUEST['action'] == 'CreatePDF' || $_REQUEST['action'] == 'SendPDFMail')) {\n\t\t\t$product_Detail[$i]['productName'.$i]= htmlspecialchars($product_Detail[$i]['productName'.$i]);\n\t\t}\n\t\t$product_Detail[$i]['hdnProductcode'.$i] = $hdnProductcode;\n\t\t$product_Detail[$i]['productDescription'.$i]= $productdescription;\n\t\tif ($module == 'Potentials' || $module == 'Products' || $module == 'Services') {\n\t\t\t$product_Detail[$i]['comment'.$i]= $productdescription;\n\t\t} else {\n\t\t\t$product_Detail[$i]['comment'.$i]= $comment;\n\t\t}\n\t\tif ($MDMapFound) {\n\t\t\tforeach ($cbMapFields['detailview']['fields'] as $mdfield) {\n\t\t\t\t$crmETID = CRMEntity::getcrmEntityTableAlias('InventoryDetails');\n\t\t\t\t$mdrs = $adb->pquery(\n\t\t\t\t\t'select '.$mdfield['fieldinfo']['name'].',vtiger_inventorydetails.inventorydetailsid from vtiger_inventorydetails\n\t\t\t\t\t\tinner join '.$crmETID.' on crmid=vtiger_inventorydetails.inventorydetailsid\n\t\t\t\t\t\tinner join vtiger_inventorydetailscf on vtiger_inventorydetailscf.inventorydetailsid=vtiger_inventorydetails.inventorydetailsid\n\t\t\t\t\t\twhere deleted=0 and related_to=? and lineitem_id=?',\n\t\t\t\t\tarray($focus->id,$adb->query_result($result, $i - 1, 'lineitem_id'))\n\t\t\t\t);\n\t\t\t\tif ($mdrs) {\n\t\t\t\t\t$col_fields = array();\n\t\t\t\t\tif (isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate']=='true' && !is_null($mdfield['duplicatevalue'])) {\n\t\t\t\t\t\t$col_fields[$mdfield['fieldinfo']['name']] = $mdfield['duplicatevalue'];\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$col_fields[$mdfield['fieldinfo']['name']] = $adb->query_result($mdrs, 0, $mdfield['fieldinfo']['name']);\n\t\t\t\t\t}\n\t\t\t\t\t$col_fields['record_id'] = $adb->query_result($mdrs, 0, 'inventorydetailsid');\n\t\t\t\t\t$foutput = getOutputHtml($mdfield['fieldinfo']['uitype'], $mdfield['fieldinfo']['name'], $mdfield['fieldinfo']['label'], 100, $col_fields, 0, 'InventoryDetails', 'edit', $mdfield['fieldinfo']['typeofdata']);\n\t\t\t\t\t$product_Detail[$i]['moreinfo'.$i][] = $foutput;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($module != 'PurchaseOrder') {\n\t\t\t$product_Detail[$i]['qtyInStock'.$i]=$qtyinstock;\n\t\t}\n\t\t$qty = number_format($qty, GlobalVariable::getVariable('Inventory_Quantity_Precision', $current_user->no_of_currency_decimals, $module), '.', '');\n\t\t$product_Detail[$i]['qty'.$i]=$qty;\n\t\t$product_Detail[$i]['listPrice'.$i]=CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($listprice, null, true), null, true);\n\t\t$product_Detail[$i]['unitPrice'.$i]=CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($unitprice, null, true), null, true);\n\t\t$product_Detail[$i]['productTotal'.$i]=CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($productTotal, null, true), null, true);\n\t\t$product_Detail[$i]['subproduct_ids'.$i]=$subprodid_str;\n\t\t$product_Detail[$i]['subprod_names'.$i]=$subprodname_str;\n\t\t$discount_percent=$adb->query_result($result, $i-1, 'discount_percent');\n\t\t$discount_amount=$adb->query_result($result, $i-1, 'discount_amount');\n\t\t$discount_amount = (is_numeric($discount_amount) ? $discount_amount : 0);\n\t\t$discountTotal = '0.00';\n\t\t//Based on the discount percent or amount we will show the discount details\n\n\t\t//To avoid NaN javascript error, here we assign 0 initially to' %of price' and 'Direct Price reduction'(for Each Product)\n\t\t$product_Detail[$i]['discount_percent'.$i] = 0;\n\t\t$product_Detail[$i]['discount_amount'.$i] = 0;\n\n\t\tif ($discount_percent != 'NULL' && $discount_percent != '') {\n\t\t\t$product_Detail[$i]['discount_type'.$i] = 'percentage';\n\t\t\t$product_Detail[$i]['discount_percent'.$i] = $discount_percent;\n\t\t\t$product_Detail[$i]['checked_discount_percent'.$i] = ' checked';\n\t\t\t$product_Detail[$i]['style_discount_percent'.$i] = ' style=\"visibility:visible\"';\n\t\t\t$product_Detail[$i]['style_discount_amount'.$i] = ' style=\"visibility:hidden\"';\n\t\t\t$discountTotal = $productTotal*$discount_percent/100;\n\t\t} elseif ($discount_amount != 'NULL' && $discount_amount != '') {\n\t\t\t$product_Detail[$i]['discount_type'.$i] = 'amount';\n\t\t\t$product_Detail[$i]['discount_amount'.$i] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($discount_amount, null, true), null, true);\n\t\t\t$product_Detail[$i]['checked_discount_amount'.$i] = ' checked';\n\t\t\t$product_Detail[$i]['style_discount_amount'.$i] = ' style=\"visibility:visible\"';\n\t\t\t$product_Detail[$i]['style_discount_percent'.$i] = ' style=\"visibility:hidden\"';\n\t\t\t$discountTotal = $discount_amount;\n\t\t} else {\n\t\t\t$product_Detail[$i]['checked_discount_zero'.$i] = ' checked';\n\t\t}\n\t\t$totalAfterDiscount = $productTotal-$discountTotal;\n\t\t$product_Detail[$i]['discountTotal'.$i] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($discountTotal, null, true), null, true);\n\t\t$product_Detail[$i]['totalAfterDiscount'.$i] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($totalAfterDiscount, null, true), null, true);\n\n\t\tif ($zerodiscount) {\n\t\t\t$product_Detail[$i]['discount_type'.$i] = 'zero';\n\t\t\t$product_Detail[$i]['discount_percent'.$i] = 0;\n\t\t\t$product_Detail[$i]['discount_amount'.$i] = 0;\n\t\t\t$product_Detail[$i]['discountTotal'.$i] = 0;\n\t\t\t$product_Detail[$i]['totalAfterDiscount'.$i] = $product_Detail[$i]['listPrice'.$i];\n\t\t}\n\n\t\t$taxTotal = '0.00';\n\t\t$product_Detail[$i]['taxTotal'.$i] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($taxTotal, null, true), null, true);\n\n\t\t//Calculate netprice\n\t\t$netPrice = $totalAfterDiscount+$taxTotal;\n\t\t//if condition is added to call this function when we create PO/SO/Quotes/Invoice from Product module\n\t\tif (in_array($module, getInventoryModules())) {\n\t\t\t$taxtype = getInventoryTaxType($module, $focus->id);\n\t\t\tif ($taxtype == 'individual') {\n\t\t\t\t//Add the tax with product total and assign to netprice\n\t\t\t\t$netPrice = $netPrice+$taxTotal;\n\t\t\t}\n\t\t} else {\n\t\t\t$taxtype = GlobalVariable::getVariable('Inventory_Tax_Type_Default', 'individual', $currentModule);\n\t\t}\n\t\t$product_Detail[$i]['netPrice'.$i] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($netPrice, null, true), null, true);\n\n\t\t//First we will get all associated taxes as array\n\t\t$tax_details = getTaxDetailsForProduct($hdnProductId, 'all', $acvid);\n\t\t//Now retrieve the tax values from the current query with the name\n\t\tfor ($tax_count=0, $tax_countMax = count($tax_details); $tax_count< $tax_countMax; $tax_count++) {\n\t\t\t$tax_name = $tax_details[$tax_count]['taxname'];\n\t\t\t$tax_label = $tax_details[$tax_count]['taxlabel'];\n\n\t\t\t//condition to avoid this function call when create new PO/SO/Quotes/Invoice from Product module\n\t\t\tif ($focus->id != '') {\n\t\t\t\tif ($taxtype == 'individual') { //if individual then show the entered tax percentage\n\t\t\t\t\t$tax_value = getInventoryProductTaxValue($focus->id, $hdnProductId, $tax_name);\n\t\t\t\t} else { //if group tax then we have to show the default value when change to individual tax\n\t\t\t\t\t$tax_value = $tax_details[$tax_count]['percentage'];\n\t\t\t\t}\n\t\t\t} else { //if the above function not called then assign the default associated value of the product\n\t\t\t\t$tax_value = $tax_details[$tax_count]['percentage'];\n\t\t\t}\n\n\t\t\t$product_Detail[$i]['taxes'][$tax_count]['taxname'] = $tax_name;\n\t\t\t$product_Detail[$i]['taxes'][$tax_count]['taxlabel'] = $tax_label;\n\t\t\t$product_Detail[$i]['taxes'][$tax_count]['percentage'] = $tax_value;\n\t\t}\n\t}\n\tif (empty($product_Detail)) {\n\t\treturn $product_Detail;\n\t}\n\tif ($num_rows==0) {\n\t\t$product_Detail[1] = array();\n\t}\n\t$j = min(array_keys($product_Detail));\n\t$product_Detail[$j]['final_details'] = array();\n\n\t//set the taxtype\n\tif (!isset($taxtype)) {\n\t\t$taxtype = GlobalVariable::getVariable('Inventory_Tax_Type_Default', 'individual', $currentModule);\n\t}\n\t$product_Detail[$j]['final_details']['taxtype'] = $taxtype;\n\n\t//Get the Final Discount, S&H charge, Tax for S&H and Adjustment values\n\t//To set the Final Discount details\n\t$finalDiscount = '0.00';\n\t$product_Detail[$j]['final_details']['discount_type_final'] = 'zero';\n\n\t$subTotal = (!empty($focus->column_fields['hdnSubTotal']))?$focus->column_fields['hdnSubTotal']:'0.00';\n\n\t$product_Detail[$j]['final_details']['hdnSubTotal'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($subTotal, null, true), null, true);\n\t$discountPercent = (!empty($focus->column_fields['hdnDiscountPercent']))?$focus->column_fields['hdnDiscountPercent']:'0.00';\n\t$discountAmount = (!empty($focus->column_fields['hdnDiscountAmount']))?$focus->column_fields['hdnDiscountAmount']:'0.00';\n\n\t//To avoid NaN javascript error, here we assign 0 initially to' %of price' and 'Direct Price reduction'(For Final Discount)\n\t$product_Detail[$j]['final_details']['discount_percentage_final'] = 0;\n\t$product_Detail[$j]['final_details']['discount_amount_final'] = 0;\n\n\tif (!empty($focus->column_fields['hdnDiscountPercent']) && $focus->column_fields['hdnDiscountPercent'] != '0') {\n\t\t$finalDiscount = ($subTotal*$discountPercent/100);\n\t\t$product_Detail[$j]['final_details']['discount_type_final'] = 'percentage';\n\t\t$product_Detail[$j]['final_details']['discount_percentage_final'] = $discountPercent;\n\t\t$product_Detail[$j]['final_details']['checked_discount_percentage_final'] = ' checked';\n\t\t$product_Detail[$j]['final_details']['style_discount_percentage_final'] = ' style=\"visibility:visible\"';\n\t\t$product_Detail[$j]['final_details']['style_discount_amount_final'] = ' style=\"visibility:hidden\"';\n\t} elseif (!empty($focus->column_fields['hdnDiscountAmount']) && $focus->column_fields['hdnDiscountAmount'] != '0') {\n\t\t$finalDiscount = $focus->column_fields['hdnDiscountAmount'];\n\t\t$product_Detail[$j]['final_details']['discount_type_final'] = 'amount';\n\t\t$product_Detail[$j]['final_details']['discount_amount_final'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($discountAmount, null, true), null, true);\n\t\t$product_Detail[$j]['final_details']['checked_discount_amount_final'] = ' checked';\n\t\t$product_Detail[$j]['final_details']['style_discount_amount_final'] = ' style=\"visibility:visible\"';\n\t\t$product_Detail[$j]['final_details']['style_discount_percentage_final'] = ' style=\"visibility:hidden\"';\n\t}\n\t$product_Detail[$j]['final_details']['discountTotal_final'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($finalDiscount, null, true), null, true);\n\n\tif ($zerodiscount) {\n\t\t$product_Detail[$j]['final_details']['discount_type_final'] = 'zero';\n\t\t$product_Detail[$j]['final_details']['discount_percentage_final'] = 0;\n\t\t$product_Detail[$j]['final_details']['discount_amount_final'] = 0;\n\t\t$product_Detail[$j]['final_details']['discountTotal_final'] = 0;\n\t}\n\n\t//To set the Final Tax values\n\t//we will get all taxes. if individual then show the product related taxes only else show all taxes\n\t//suppose user want to change individual to group or vice versa in edit time the we have to show all taxes.\n\t//so that here we will store all the taxes and based on need we will show the corresponding taxes\n\n\t$taxtotal = '0.00';\n\t//First we should get all available taxes and then retrieve the corresponding tax values\n\t$tax_details = getAllTaxes('available', '', 'edit', $focus->id);\n\t$ipr_cols = $adb->getColumnNames('vtiger_inventoryproductrel');\n\n\tfor ($tax_count=0, $tax_countMax = count($tax_details); $tax_count< $tax_countMax; $tax_count++) {\n\t\t$tax_name = $tax_details[$tax_count]['taxname'];\n\t\t$tax_label = $tax_details[$tax_count]['taxlabel'];\n\n\t\t//if taxtype==individual and want to change to group during edit then we have to show the all available taxes and their default values\n\t\t//if taxtype==group and want to change to individual during edit then we have to provide the associated taxes and their default tax values for individual products\n\t\tif ($taxtype == 'group') {\n\t\t\tif (in_array($tax_name, $ipr_cols)) {\n\t\t\t\t$tax_percent = $adb->query_result($result, 0, $tax_name);\n\t\t\t} else {\n\t\t\t\t$tax_percent = $tax_details[$tax_count]['percentage'];\n\t\t\t}\n\t\t} else {\n\t\t\t$tax_percent = $tax_details[$tax_count]['percentage'];\n\t\t}\n\n\t\tif ($tax_percent == '' || $tax_percent == 'NULL') {\n\t\t\t$tax_percent = '0.00';\n\t\t}\n\t\t$taxamount = ($subTotal-$finalDiscount)*$tax_percent/100;\n\t\t$taxtotal = $taxtotal + $taxamount;\n\t\t$product_Detail[$j]['final_details']['taxes'][$tax_count]['taxname'] = $tax_name;\n\t\t$product_Detail[$j]['final_details']['taxes'][$tax_count]['taxlabel'] = $tax_label;\n\t\t$product_Detail[$j]['final_details']['taxes'][$tax_count]['percentage'] = $tax_percent;\n\t\t$product_Detail[$j]['final_details']['taxes'][$tax_count]['amount'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($taxamount, null, true), null, true);\n\t}\n\t$product_Detail[$j]['final_details']['tax_totalamount'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($taxtotal, null, true), null, true);\n\n\t//To set the Shipping & Handling charge\n\t$shCharge = (!empty($focus->column_fields['hdnS_H_Amount']))?$focus->column_fields['hdnS_H_Amount']:'0.00';\n\t$product_Detail[$j]['final_details']['shipping_handling_charge'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($shCharge, null, true), null, true);\n\n\t//To set the Shipping & Handling tax values\n\t//calculate S&H tax\n\t$shtaxtotal = '0.00';\n\t//First we should get all available taxes and then retrieve the corresponding tax values\n\t$shtax_details = getAllTaxes('available', 'sh', 'edit', $focus->id);\n\n\t//if taxtype is group then the tax should be same for all products in vtiger_inventoryproductrel table\n\tfor ($shtax_count=0, $shtax_countMax = count($shtax_details); $shtax_count< $shtax_countMax; $shtax_count++) {\n\t\t$shtax_name = $shtax_details[$shtax_count]['taxname'];\n\t\t$shtax_label = $shtax_details[$shtax_count]['taxlabel'];\n\t\t$shtax_percent = '0.00';\n\t\t//if condition is added to call this function when we create PO/SO/Quotes/Invoice from Product module\n\t\tif (in_array($module, getInventoryModules())) {\n\t\t\t$shtax_percent = getInventorySHTaxPercent($focus->id, $shtax_name);\n\t\t}\n\t\t$shtaxamount = $shCharge*$shtax_percent/100;\n\t\t$shtaxtotal = $shtaxtotal + $shtaxamount;\n\t\t$product_Detail[$j]['final_details']['sh_taxes'][$shtax_count]['taxname'] = $shtax_name;\n\t\t$product_Detail[$j]['final_details']['sh_taxes'][$shtax_count]['taxlabel'] = $shtax_label;\n\t\t$product_Detail[$j]['final_details']['sh_taxes'][$shtax_count]['percentage'] = $shtax_percent;\n\t\t$product_Detail[$j]['final_details']['sh_taxes'][$shtax_count]['amount'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($shtaxamount, null, true), null, true);\n\t}\n\t$product_Detail[$j]['final_details']['shtax_totalamount'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($shtaxtotal, null, true), null, true);\n\n\t//To set the Adjustment value\n\t$adjustment = (!empty($focus->column_fields['txtAdjustment']))?$focus->column_fields['txtAdjustment']:'0.00';\n\t$product_Detail[$j]['final_details']['adjustment'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($adjustment, null, true), null, true);\n\n\t//To set the grand total\n\t$grandTotal = (!empty($focus->column_fields['hdnGrandTotal']))?$focus->column_fields['hdnGrandTotal']:'0.00';\n\t$product_Detail[$j]['final_details']['grandTotal'] = CurrencyField::convertToDBFormat(CurrencyField::convertToUserFormat($grandTotal, null, true), null, true);\n\n\t$log->debug('< getAssociatedProducts');\n\tif (GlobalVariable::getVariable('Inventory_Check_Invoiced_Lines', 0, $currentModule) == 1) {\n\t\t$res_prddtl = array();\n\t\t$prdkey = 1;\n\t\tforeach ($product_Detail as $old_key => $prddtl) {\n\t\t\t$current_prddtl = array();\n\t\t\tforeach ($prddtl as $key => $value) {\n\t\t\t\t$new_key = $key;\n\t\t\t\tif ($key != 'final_details') {\n\t\t\t\t\t$new_key = substr($key, 0, strlen($old_key)*(-1)).$prdkey;\n\t\t\t\t}\n\t\t\t\t$current_prddtl[$new_key] = $value;\n\t\t\t}\n\t\t\t$res_prddtl[$prdkey] = $current_prddtl;\n\t\t\t$prdkey++;\n\t\t}\n\t\t$product_Detail = $res_prddtl;\n\t}\n\treturn $product_Detail;\n}",
"function fn_generate_cart_id($product_id, $extra, $only_selectable = false)\n{\n\t$_cid = array();\n\n\tif (!empty($extra['product_options']) && is_array($extra['product_options'])) {\n\t\tforeach ($extra['product_options'] as $k => $v) {\n\t\t\t\n\t\t\tif ($only_selectable == true && ((string)intval($v) != $v || db_get_field(\"SELECT inventory FROM ?:product_options WHERE option_id = ?i\", $k) != 'Y')) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t$_cid[] = $v;\n\t\t}\n\t}\n\n\tif (isset($extra['exclude_from_calculate'])) {\n\t\t$_cid[] = $extra['exclude_from_calculate'];\n\t}\n\n\t\n\n\tnatsort($_cid);\n\tarray_unshift($_cid, $product_id);\n\t$cart_id = fn_crc32(implode('_', $_cid));\n\n\treturn $cart_id;\n}",
"function ciniki_merchandise_web_productLoad($ciniki, $tnid, $args) {\n \n $strsql = \"SELECT ciniki_merchandise.id, \"\n . \"ciniki_merchandise.uuid, \"\n . \"ciniki_merchandise.name, \"\n . \"ciniki_merchandise.permalink, \"\n . \"ciniki_merchandise.flags, \"\n . \"ciniki_merchandise.primary_image_id, \"\n . \"'' AS primary_image_caption, \"\n . \"ciniki_merchandise.synopsis, \"\n . \"ciniki_merchandise.description \"\n . \"FROM ciniki_merchandise \"\n . \"WHERE ciniki_merchandise.tnid = '\" . ciniki_core_dbQuote($ciniki, $tnid) . \"' \"\n . \"\";\n if( isset($args['permalink']) && $args['permalink'] != '' ) {\n $strsql .= \"AND ciniki_merchandise.permalink = '\" . ciniki_core_dbQuote($ciniki, $args['permalink']) . \"' \";\n } elseif( isset($args['id']) && $args['id'] > 0 ) {\n $strsql .= \"AND ciniki_merchandise.id = '\" . ciniki_core_dbQuote($ciniki, $args['id']) . \"' \";\n } else {\n return array('stat'=>'fail', 'err'=>array('code'=>'ciniki.merchandise.27', 'msg'=>'No product specified'));\n }\n ciniki_core_loadMethod($ciniki, 'ciniki', 'core', 'private', 'dbHashQuery');\n $rc = ciniki_core_dbHashQuery($ciniki, $strsql, 'ciniki.merchandise', 'product');\n if( $rc['stat'] != 'ok' ) {\n return array('stat'=>'fail', 'err'=>array('code'=>'ciniki.merchandise.28', 'msg'=>'Product not found', 'err'=>$rc['err']));\n }\n if( !isset($rc['product']) ) {\n return array('stat'=>'fail', 'err'=>array('code'=>'ciniki.merchandise.29', 'msg'=>'Unable to find Product'));\n }\n $product = $rc['product'];\n\n //\n // Get the images\n //\n if( isset($args['images']) && $args['images'] == 'yes' ) {\n $strsql = \"SELECT id, \"\n . \"name AS title, \"\n . \"permalink, \"\n . \"flags, \"\n . \"image_id, \"\n . \"description \"\n . \"FROM ciniki_merchandise_images \"\n . \"WHERE product_id = '\" . ciniki_core_dbQuote($ciniki, $product['id']) . \"' \"\n . \"AND tnid = '\" . ciniki_core_dbQuote($ciniki, $tnid) . \"' \"\n . \"\";\n ciniki_core_loadMethod($ciniki, 'ciniki', 'core', 'private', 'dbHashQueryArrayTree');\n $rc = ciniki_core_dbHashQueryArrayTree($ciniki, $strsql, 'ciniki.merchandise', array(\n array('container'=>'images', 'fname'=>'id', 'fields'=>array('id', 'title', 'permalink', 'flags', 'image_id', 'description')),\n ));\n if( $rc['stat'] != 'ok' ) {\n return $rc;\n }\n if( isset($rc['images']) ) {\n $product['images'] = $rc['images'];\n } else {\n $product['images'] = array();\n }\n if( $product['primary_image_id'] > 0 ) {\n $found = 'no';\n foreach($product['images'] as $image) {\n if( $image['image_id'] == $product['primary_image_id'] ) {\n $found = 'yes';\n }\n }\n if( $found == 'no' ) {\n array_unshift($product['images'], array('title'=>'', 'flags'=>1, 'permalink'=>$product['uuid'], 'image_id'=>$product['primary_image_id'], 'description'=>''));\n }\n }\n }\n\n return array('stat'=>'ok', 'product'=>$product);\n}",
"function tep_random_select($query) {\n $random_product = '';\n $random_query = tep_db_query($query);\n $num_rows = tep_db_num_rows($random_query);\n if ($num_rows > 0) {\n $random_row = tep_rand(0, ($num_rows - 1));\n tep_db_data_seek($random_query, $random_row);\n $random_product = tep_db_fetch_array($random_query);\n }\n\n return $random_product;\n }",
"static function getProductProperty($prob_name,$prod_id, $wid){\n $vdo = vpdo::getVdo(DB_PREFIX.$wid) ;\n return $vdo->fetchOne(\"select ov.name from options o \n inner join options_values ov on o.id = ov.option_id where o.name = ? and product_id = ?\", array($prob_name, $prod_id));\n }",
"function ciniki_customers_productGet($ciniki) {\n //\n // Find all the required and optional arguments\n //\n ciniki_core_loadMethod($ciniki, 'ciniki', 'core', 'private', 'prepareArgs');\n $rc = ciniki_core_prepareArgs($ciniki, 'no', array(\n 'tnid'=>array('required'=>'yes', 'blank'=>'no', 'name'=>'Tenant'),\n 'product_id'=>array('required'=>'yes', 'blank'=>'no', 'name'=>'Membership Products'),\n ));\n if( $rc['stat'] != 'ok' ) {\n return $rc;\n }\n $args = $rc['args'];\n\n //\n // Make sure this module is activated, and\n // check permission to run this function for this tenant\n //\n ciniki_core_loadMethod($ciniki, 'ciniki', 'customers', 'private', 'checkAccess');\n $rc = ciniki_customers_checkAccess($ciniki, $args['tnid'], 'ciniki.customers.productGet');\n if( $rc['stat'] != 'ok' ) {\n return $rc;\n }\n\n //\n // Load tenant settings\n //\n ciniki_core_loadMethod($ciniki, 'ciniki', 'tenants', 'private', 'intlSettings');\n $rc = ciniki_tenants_intlSettings($ciniki, $args['tnid']);\n if( $rc['stat'] != 'ok' ) {\n return $rc;\n }\n $intl_timezone = $rc['settings']['intl-default-timezone'];\n $intl_currency_fmt = numfmt_create($rc['settings']['intl-default-locale'], NumberFormatter::CURRENCY);\n $intl_currency = $rc['settings']['intl-default-currency'];\n\n ciniki_core_loadMethod($ciniki, 'ciniki', 'users', 'private', 'dateFormat');\n $date_format = ciniki_users_dateFormat($ciniki, 'php');\n\n //\n // Return default for new Membership Products\n //\n if( $args['product_id'] == 0 ) {\n $product = array('id'=>0,\n 'name'=>'',\n 'short_name'=>'',\n 'code'=>'',\n 'permalink'=>'',\n 'type'=>'10',\n 'status'=>'10',\n 'flags'=>'0',\n 'months'=>12,\n 'sequence'=>'1',\n 'primary_image_id'=>'',\n 'synopsis'=>'',\n 'description'=>'',\n 'unit_amount'=>'',\n );\n }\n\n //\n // Get the details for an existing Membership Products\n //\n else {\n $strsql = \"SELECT ciniki_customer_products.id, \"\n . \"ciniki_customer_products.name, \"\n . \"ciniki_customer_products.short_name, \"\n . \"ciniki_customer_products.code, \"\n . \"ciniki_customer_products.permalink, \"\n . \"ciniki_customer_products.type, \"\n . \"ciniki_customer_products.status, \"\n . \"ciniki_customer_products.flags, \"\n . \"ciniki_customer_products.months, \"\n . \"ciniki_customer_products.sequence, \"\n . \"ciniki_customer_products.primary_image_id, \"\n . \"ciniki_customer_products.synopsis, \"\n . \"ciniki_customer_products.description, \"\n . \"ciniki_customer_products.unit_amount \"\n . \"FROM ciniki_customer_products \"\n . \"WHERE ciniki_customer_products.tnid = '\" . ciniki_core_dbQuote($ciniki, $args['tnid']) . \"' \"\n . \"AND ciniki_customer_products.id = '\" . ciniki_core_dbQuote($ciniki, $args['product_id']) . \"' \"\n . \"\";\n ciniki_core_loadMethod($ciniki, 'ciniki', 'core', 'private', 'dbHashQueryArrayTree');\n $rc = ciniki_core_dbHashQueryArrayTree($ciniki, $strsql, 'ciniki.customers', array(\n array('container'=>'products', 'fname'=>'id', \n 'fields'=>array('name', 'short_name', 'code', 'permalink', 'type', 'status', 'flags', 'months', 'sequence',\n 'primary_image_id', 'synopsis', 'description', 'unit_amount',\n ),\n ),\n ));\n if( $rc['stat'] != 'ok' ) {\n return array('stat'=>'fail', 'err'=>array('code'=>'ciniki.customers.403', 'msg'=>'Membership Products not found', 'err'=>$rc['err']));\n }\n if( !isset($rc['products'][0]) ) {\n return array('stat'=>'fail', 'err'=>array('code'=>'ciniki.customers.418', 'msg'=>'Unable to find Membership Products'));\n }\n $product = $rc['products'][0];\n $product['unit_amount'] = '$' . number_format($product['unit_amount'], 2);\n }\n\n return array('stat'=>'ok', 'product'=>$product);\n}",
"function get_complementary_items($diffid, $diffyear, $make, $model, $drivetype, $customer_number, $product_number) {\n\n global $wpdb;\n // Get Complementary product items\n $complementary_items = $wpdb->get_results(\n $wpdb->prepare(\n \"SELECT DISTINCT this_addOns.productnumber AS ProductNumber, P.ProductID as ProductID\n FROM (\n SELECT DISTINCT\n tmp_addons.priority,\n C.categoryname,\n C.categoryID,\n P.productline,\n P.ProductID,\n P.productnumber,\n %s AS 'VehicleDiffId',\n %s AS 'VehicleModel',\n %s AS 'VehicleYear',\n %s AS 'VehicleMake',\n %s AS 'VehicleDriveType'\n\n FROM randys_product P\n\n INNER JOIN randys_categoryproduct CP\n ON CP.productID = P.ProductID\n\n INNER JOIN randys_category C\n ON C.categoryID = CP.categoryID\n\n INNER JOIN (-- @bb\n -- GetAlternatesAndAddons\n -- add alternates that are an equal or higher priority than the selected product line.\n\n SELECT\n priority,\n productline,\n 'AlternateProductLines' AS type,\n SubCategoryId\n\n FROM\n randys_aa_alternateproductlines APP\n\n WHERE\n categoryid IN\n (SELECT\n category_1.categoryID\n\n FROM\n -- get the grouping number (called Category) that the selected product/subcategory is in.\n (SELECT\n categoryID\n\n FROM\n randys_aa_scenariocategories\n WHERE CategoryID in (\n SELECT DISTINCT CategoryID FROM randys_aa_alternateproductlines\n\n WHERE ProductLine = (\n SELECT ProductLine FROM randys_product WHERE ProductNumber = %s\n )\n\n AND SubCategoryId = (\n SELECT C.CategoryID from randys_category C\n INNER JOIN randys_categoryproduct CP ON CP.CategoryID = C.CategoryID\n INNER JOIN randys_product P ON P.ProductID = CP.ProductID\n WHERE ProductNumber = %s LIMIT 1\n )\n )\n ) category_1\n )\n\n UNION\n SELECT\n priority,\n productline,\n 'AddOnProductLines' AS type,\n SubCategoryId\n\n FROM randys_aa_addonproductlines\n\n WHERE\n categoryID IN (SELECT\n category_2.categoryID\n\n FROM\n (SELECT DISTINCT\n categoryID\n FROM\n randys_aa_alternateproductlines\n WHERE CategoryID in (\n select DISTINCT CategoryID from randys_aa_alternateproductlines\n\n where ProductLine = (\n select ProductLine from randys_product where ProductNumber = %s\n )\n AND SubCategoryId = (\n select C.CategoryID from randys_category C\n inner join randys_categoryproduct CP ON CP.CategoryID = C.CategoryID\n inner Join randys_product P on P.ProductID = CP.ProductID\n where ProductNumber = %s limit 1\n )\n )\n ) category_2\n )\n UNION SELECT\n priority,\n productline,\n 'CheckoutProductLines' AS type,\n SubCategoryId\n FROM\n randys_aa_checkoutproductlines\n ORDER BY priority\n -- End GetAlternatesAndAddons\n ) tmp_addons -- [tmp_addons] add all Checkout product lines.\n\n ON tmp_addons.productline = P.productline\n AND tmp_addons.SubCategoryId = C.categoryID\n WHERE P.productnumber <> %s\n AND tmp_addons.type = 'AddOnProductLines'\n\n ) this_addOns -- addons end\n\n INNER JOIN randys_advancedsearch A\n ON this_addOns.productnumber = A.productnumber\n AND ( ( A.diffid = this_addOns.VehicleDiffId\n AND A.model = this_addOns.VehicleModel )\n OR A.cattype = 'S' )\n AND this_addOns.categoryID = A.categoryID\n\n INNER JOIN randys_product P\n ON A.productID = P.ProductID\n\n INNER JOIN randys_brands B\n ON B.brandID = A.brandID\n\n LEFT OUTER JOIN randys_brands PB\n ON PB.BannerId = B.BannerID\n WHERE (%d = '0' or A.BrandID IN (select BrandID from randys_customerbrands where customerID = %d))\n\n UNION\n SELECT DISTINCT this_chkOut_1.productnumber AS ProductNumber, P.ProductID as ProductID\n FROM (SELECT DISTINCT\n C.categoryname,\n C.categoryID,\n P.productline,\n P.ProductID,\n P.productnumber,\n %s AS 'VehicleDiffId',\n %s AS 'VehicleModel',\n %s AS 'VehicleYear',\n %s AS 'VehicleMake',\n %s AS 'VehicleDriveType'\n\n FROM randys_product P\n\n INNER JOIN randys_categoryproduct CP\n ON CP.productID = P.ProductID\n\n INNER JOIN randys_category C\n ON C.categoryID = CP.categoryID\n\n INNER JOIN (\n SELECT\n productline,\n priority,\n SubCategoryId\n\n FROM randys_aa_checkoutproductlines\n\n ORDER BY priority\n ) a -- tmp_checkouts Get Checkouts\n WHERE P.productnumber <> %s\n ) this_chkOut_1 -- checkOut\n\n INNER JOIN randys_advancedsearch A\n ON this_chkOut_1.productnumber = A.productnumber\n AND ( ( A.diffid = this_chkOut_1.VehicleDiffId\n AND A.model = this_chkOut_1.VehicleModel )\n OR A.cattype = 'S' )\n AND this_chkOut_1.categoryID = A.categoryID\n\n INNER JOIN randys_product P\n ON A.ProductID = P.ProductID\n\n INNER JOIN randys_brands B\n ON B.brandID = A.brandID\n\n WHERE (%d = '0' or A.BrandID IN (select BrandID from randys_customerbrands where customerID = %d))\n\n -- This gets the RPS Book.\n UNION\n SELECT this_chkOut_2.productnumber AS ProductNumber, P.ProductID as ProductID\n FROM (SELECT DISTINCT\n C.categoryname,\n C.categoryID,\n P.productline,\n P.ProductID,\n P.productnumber,\n %s AS 'VehicleDiffId',\n %s AS 'VehicleModel',\n %s AS 'VehicleYear',\n %s AS 'VehicleMake',\n %s AS 'VehicleDriveType'\n FROM randys_product P\n\n INNER JOIN randys_categoryproduct CP\n ON CP.productID = P.ProductID\n\n INNER JOIN randys_category C\n ON C.categoryID = CP.categoryID\n\n INNER JOIN (\n SELECT\n productline,\n priority,\n SubCategoryId\n FROM randys_aa_checkoutproductlines\n ORDER BY priority\n ) a -- tmp_checkouts Get Checkouts\n WHERE P.productnumber <> %s\n ) this_chkOut_2\n\n INNER JOIN randys_advancedsearch A\n ON this_chkOut_2.productnumber = A.productnumber\n\n INNER JOIN randys_product P\n ON A.productID = P.ProductID\n\n INNER JOIN randys_brands B\n ON B.brandID = A.brandID\n\n WHERE P.productnumber = %s\n ORDER BY productnumber\",\n array(\n $diffid,\n $model,\n $diffyear,\n $make,\n $drivetype,\n $product_number,\n $product_number,\n $product_number,\n $product_number,\n $product_number,\n $customer_number,\n $customer_number,\n $diffid,\n $model,\n $diffyear,\n $make,\n $drivetype,\n $product_number,\n $customer_number,\n $customer_number,\n $diffid,\n $model,\n $diffyear,\n $make,\n $drivetype,\n $product_number,\n 'RPSBOOK-01'\n )\n )\n );\n\n if( $complementary_items ) {\n $comp_output = '<div class=\"products-slider m-t-3\">';\n\n foreach($complementary_items as $key => $complementary) {\n\n $product_post_ID = $wpdb->get_results(\n $wpdb->prepare(\n \"SELECT post_id FROM wp_postmeta WHERE meta_key = %s AND meta_value = %d\",\n array('_randy_productid', $complementary->ProductID)\n )\n );\n $post_id = $product_post_ID[0]->post_id;\n\n ob_start();\n include(locate_template('templates/content-product-list-sm.php', false, false));\n $comp_output .= ob_get_clean();\n }\n $comp_output .= '</div>';\n echo $comp_output;\n }\n\n}",
"public function getProductSelections();",
"function getprodproclist($bid)\r\n\t{\r\n\t\t$sql = \"select p.product_name as product,p.product_id,(pl.qty*o.quantity) as qty \r\nfrom proforma_invoices i \r\njoin king_orders o on o.id=i.order_id \r\njoin m_product_deal_link pl on pl.itemid=o.itemid \r\njoin m_product_info p on p.product_id=pl.product_id \r\njoin (select distinct p_invoice_no from shipment_batch_process_invoice_link where batch_id = ? and packed=0) as h on h.p_invoice_no = i.p_invoice_no\r\nwhere i.invoice_status=1 \r\norder by p.product_name asc \r\n\t\t\";\r\n\t\t$raw=$this->db->query($sql,$bid)->result_array();\r\n\t\t$prods=array();\r\n\t\t$pids=array();\r\n\t\tforeach($raw as $r)\r\n\t\t{\r\n\t\t\tif(!isset($prods[$r['product_id']]))\r\n\t\t\t\t$prods[$r['product_id']]=array(\"product_id\"=>$r['product_id'],\"product\"=>$r['product'],\"qty\"=>0,\"location\"=>\"\");\r\n\t\t\t$prods[$r['product_id']]['qty']+=$r['qty'];\r\n\t\t\t$pids[]=$r['product_id'];\r\n\t\t}\r\n\t\t$pids=array_unique($pids);\r\n\t\t$raw_locs=$this->db->query(\"select s.mrp,s.product_id,rb.rack_name,rb.bin_name from t_stock_info s join m_rack_bin_info rb on rb.id=s.rack_bin_id where s.product_id in ('\".implode(\"','\",$pids).\"') order by s.stock_id asc\")->result_array();\r\n\t\t$ret=array();\r\n\t\tforeach($prods as $i=>$p)\r\n\t\t{\r\n\t\t\t$q=$p['qty'];\r\n\t\t\t$locations=array();\r\n\t\t\t$mrps=array();\r\n\t\t\tforeach($raw_locs as $s)\r\n\t\t\t{\r\n\t\t\t\tif($s['product_id']!=$i)\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t$q-=$s['available_qty'];\r\n\t\t\t\t$locations[]=$s['rack_name'].$s['bin_name'];\r\n\t\t\t\t$mrps[]=\"Rs \".$s['mrp'];\r\n\t\t\t\tif($q<=0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t$prods[$i]['location']=$loc=implode(\", \",array_unique($locations));\r\n\t\t\t$prods[$i]['mrp']=implode(\", \",array_unique($mrps));\r\n\t\t\t$assoc_loc=$loc.substr($p['product'],0,10).rand(110,9999);\r\n\t\t\t$ret[$assoc_loc]=$prods[$i];\r\n\t\t}\r\n\t\tksort($ret);\r\n\t\treturn $ret;\r\n\t}",
"function tx_commerce_product() {\n\t\tif ((func_num_args()>0) && (func_num_args()<=2)){\n\t\t\t$uid = func_get_arg(0); \n\t\t\tif (func_num_args()==2){\n\t\t\t\t$lang_uid=func_get_arg(1);\n\t\t\t}else\n\t\t\t{\n\t\t\t\t$lang_uid=0;\n\t\t\t}\n\t\t\treturn $this->init($uid,$lang_uid);\n\t\t}\n\t}",
"function getProductBasics() {\n $db = acmeConnect();\n $sql = 'SELECT invName, invId FROM inventory ORDER BY invName ASC';\n $stmt = $db->prepare($sql);\n $stmt->execute();\n $products = $stmt->fetchAll(PDO::FETCH_ASSOC);\n $stmt->closeCursor();\n return $products;\n }",
"public function product_action()\n\t{\n\t\t// shut up php\n\t\terror_reporting(0);\n\t\tee()->load->helper('xml');\n\n\t\t$output = new Oxymel;\n\n\t\t// create our structure\n\t\t$output->xml->products->contains;\n\n\t\tee()->sync_db = ee()->load->database('sync_db', true);\n\n\t\t$query = ee()->sync_db\n\t\t\t->where('processed', 0)\n\t\t\t->get('products', 500);\n\n\t\t$ids_processed = array();\n\n\t\tforeach($query->result() as $row)\n\t\t{\n\n\t\t\tif($row->tax_exempt == 0)\n\t\t\t{\n\t\t\t\t$tax_exempt = \"Taxable\";\n\t\t\t}\t\n\t\t\telse\n\t\t\t{\n\t\t\t\t$tax_exempt = \"\";\n\t\t\t}\n\n\t\t\tif(!empty($row->product_category_3))\n\t\t\t{\n\t\t\t\t$product_category = $row->product_category_3;\n\t\t\t}\t\n\t\t\telseif(!empty($row->product_category_2))\n\t\t\t{\n\t\t\t\t$product_category = $row->product_category_2;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$product_category = $row->product_category_1;\n\t\t\t}\n\n\t\t\t// append a product\n\t\t\t$output\n\t\t\t\t->product->contains\n\t\t\t\t \t->title->contains->cdata($row->sku .' - ' . $row->name)->end\n\t\t\t\t \t->sku($row->sku)\n\t\t\t\t \t->name->contains->cdata($row->name)->end\n\t\t\t\t \t->price($row->price)\n\t\t\t\t \t->weight($row->weight)\n\t\t\t\t \t->length($row->length)\n\t\t\t\t \t->width($row->width)\n\t\t\t\t \t->height($row->height)\n\t\t\t\t \t->handling($row->handling)\n\t\t\t\t \t->free_shipping($row->free_shipping)\n\t\t\t\t \t->tax_exempt($tax_exempt)\n\t\t\t\t \t->category->contains->cdata($product_category)->end\n\t\t\t\t \t->product_number($row->product_number)\n\t\t\t\t \t->manufacturer->contains->cdata($row->product_manufacturer)->end\n\t\t\t\t \t->container($row->product_container)\n\t\t\t\t \t->condition($row->product_condition)\n\t\t\t\t \t->listed($row->product_listed)\n\t\t\t\t \t->location($row->product_location)\n\t\t\t\t \t->tested($row->product_tested)\n\t\t\t\t \t->cosmetic_condition->contains->cdata($row->product_cosmetic_condition)->end\n\t\t\t\t \t->keywords->contains->cdata($row->product_keywords)->end\n\t\t\t\t \t->natural_search->contains->cdata($row->product_natural_search)->end\n\t\t\t\t \t->description->contains->cdata($row->product_description)->end\n\t\t\t\t \t->image($row->product_image_filename)\n\t\t\t\t \t->stock_level($row->product_stock_level)\n\t\t\t\t \t->sell_online($row->product_sell_online)\n\t\t\t\t \t->timestamp($row->timestamp)\n\t\t\t\t->end;\t\n\n\t\t\t$ids_processed[] = $row->id;\n\n\t\t}\t\n\n\t\t// close our structure\n\t\t$output->end;\t\n\t\t\t \t\n\t\t// update processed flag on records\t\n\t\tif(count($ids_processed) > 0)\n\t\t{\n\t\t\tee()->sync_db->where_in('id', $ids_processed)->set('processed', 1)->update('products');\n\t\t}\n\n\t\theader('Content-Type: text/xml');\n\t\texit($output->to_string());\n\n\t}",
"public function getProductByUniqueId( $unique_id ) {\n\n $sql = \"SELECT product_id as row FROM \" . DB_PREFIX . \"product \";\n $sql .= \"WHERE model ='{$unique_id}' LIMIT 1\";\n\n $query = $this->db->query( $sql );\n\n return $query->row;\n }",
"function get_selected_product($input_type, $input_id, $total_number)\n\t{\n\t\tif ($input_type == 'mouse') {\n\t\t\t$product_info = $this->db->get_where('product', array(\n\t\t\t\t'product_id' => $input_id\n\t\t\t))->row();\n\t\t} else if ($input_type == 'barcode') {\n\t\t\t$product_info = $this->db->get_where('product', array(\n\t\t\t\t'serial_number' => $input_id\n\t\t\t))->row();\n\t\t}\n\t\techo '<tr id=\"entry_row_' . $total_number . '\">\n\t\t\t\t<td id=\"serial_' . $total_number . '\">' . $total_number . '</td>\n\t\t\t\t<td>' . $product_info->serial_number . '</td>\n\t\t\t\t<td>' . $product_info->name . '\n\t\t\t\t\t<input type=\"hidden\" name=\"product_id[]\" value=\"' . $product_info->product_id . '\"\n\t\t\t\t\t\tid=\"single_entry_product_id_' . $total_number . '\">\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<input type=\"number\" name=\"total_number[]\" value=\"1\" min=\"1\"\n\t\t\t\t\t\tid=\"single_entry_quantity_' . $total_number . '\"\n\t\t\t\t\t\t\tonkeyup=\"calculate_single_entry_total(' . $total_number . ')\"\n\t\t\t\t\t\t\t\tonclick=\"calculate_single_entry_total(' . $total_number . ')\">\n\t\t\t\t</td>\n\t\t\t\t<td>\n\t\t\t\t\t<input type=\"number\" name=\"selling_price[]\" value=\"' . $product_info->selling_price . '\" min=\"1\"\n\t\t\t\t\t\tid=\"single_entry_selling_price_' . $total_number . '\"\n\t\t\t\t\t\t\tonkeyup=\"calculate_single_entry_total(' . $total_number . ')\"\n\t\t\t\t\t\t\t\tonclick=\"calculate_single_entry_total(' . $total_number . ')\">\n\t\t\t\t</td>\n\t\t\t\t<td id=\"single_entry_total_' . $total_number . '\">' . $product_info->selling_price . '</td>\n\t\t\t\t<td>\n\t\t\t\t\t<i class=\"fa fa-trash\" onclick=\"remove_row(' . $total_number . ')\"\n\t\t\t\t\t\tid=\"delete_button_' . $total_number . '\" style=\"cursor: pointer;\"></i>\n\t\t\t\t</td>\n\t\t\t</tr>';\n\t}",
"function GetProductInfo($sz) {\n include('Connections/DBConn.php');\n mysqli_select_db( $DBConn, $database_DBConn) or die(mysqli_error($GLOBALS[\"___mysqli_ston\"]));\n $query_rs = sprintf('SELECT * FROM `signboom_allproducts` WHERE ID = \"%s\"', $sz);\n $rs = mysqli_query( $DBConn, $query_rs) or die(mysqli_error($GLOBALS[\"___mysqli_ston\"]));\n $row_rs = mysqli_fetch_assoc($rs);\n $temp = $row_rs['code'];\n ((mysqli_free_result($rs) || (is_object($rs) && (get_class($rs) == \"mysqli_result\"))) ? true : false); \n return addslashes($temp);\n }",
"function getProduct($params = array()){\n\t\tMpApi::sleep(); \n\t\treturn json_decode($this->callCurl(MpApi::GET , '/multivendor/product/id/'.(int)$params['id'].'.json'),true);\n\t}",
"function trgetcustomerid($productid)\n\t{\n\t\t$customerid=\"SELECT customer_id from mapping_table where product_id = '\".$productid.\"'\";\n\t\t$customeriddata = $this->get_results($customerid);\n\t\treturn $customeriddata;\n\t}"
] |
[
"0.64559305",
"0.60557127",
"0.58778244",
"0.58615094",
"0.5849176",
"0.5845866",
"0.5824251",
"0.5817775",
"0.5800472",
"0.574693",
"0.57431334",
"0.5732374",
"0.5702204",
"0.5698581",
"0.5688721",
"0.56827503",
"0.5665202",
"0.5651999",
"0.5647444",
"0.56446403",
"0.5582221",
"0.5581625",
"0.55610156",
"0.5554237",
"0.55411977",
"0.55287206",
"0.5523005",
"0.55222124",
"0.5514701",
"0.55054456"
] |
0.6186458
|
1
|
Gets the return types from a list of statements
|
public static function getReturnTypes(
array $stmts,
array &$yield_types,
&$ignore_nullable_issues = false,
&$ignore_falsable_issues = false,
$collapse_types = false
) {
$return_types = [];
foreach ($stmts as $stmt) {
if ($stmt instanceof PhpParser\Node\Stmt\Return_) {
if ($stmt->expr instanceof PhpParser\Node\Expr\Yield_ ||
$stmt->expr instanceof PhpParser\Node\Expr\YieldFrom) {
$yield_types = array_merge($yield_types, self::getYieldTypeFromExpression($stmt->expr));
} else {
if (!$stmt->expr) {
$return_types[] = new Atomic\TVoid();
} elseif (isset($stmt->inferredType)) {
$return_types = array_merge(array_values($stmt->inferredType->getTypes()), $return_types);
if ($stmt->inferredType->ignore_nullable_issues) {
$ignore_nullable_issues = true;
}
if ($stmt->inferredType->ignore_falsable_issues) {
$ignore_falsable_issues = true;
}
} else {
$return_types[] = new Atomic\TMixed();
}
}
break;
} elseif ($stmt instanceof PhpParser\Node\Stmt\Throw_
|| $stmt instanceof PhpParser\Node\Stmt\Break_
|| $stmt instanceof PhpParser\Node\Stmt\Continue_
) {
break;
} elseif ($stmt instanceof PhpParser\Node\Stmt\Expression
&& ($stmt->expr instanceof PhpParser\Node\Expr\Yield_
|| $stmt->expr instanceof PhpParser\Node\Expr\YieldFrom)
) {
$yield_types = array_merge($yield_types, self::getYieldTypeFromExpression($stmt->expr));
} elseif ($stmt instanceof PhpParser\Node\Expr\Yield_
|| $stmt instanceof PhpParser\Node\Expr\YieldFrom
) {
$yield_types = array_merge($yield_types, self::getYieldTypeFromExpression($stmt));
} elseif ($stmt instanceof PhpParser\Node\Stmt\Expression
&& $stmt->expr instanceof PhpParser\Node\Expr\Assign
) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
[$stmt->expr->expr],
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
} elseif ($stmt instanceof PhpParser\Node\Stmt\If_) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
foreach ($stmt->elseifs as $elseif) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$elseif->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
}
if ($stmt->else) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->else->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
}
} elseif ($stmt instanceof PhpParser\Node\Stmt\TryCatch) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
foreach ($stmt->catches as $catch) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$catch->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
}
if ($stmt->finally) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->finally->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
}
} elseif ($stmt instanceof PhpParser\Node\Stmt\For_) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
} elseif ($stmt instanceof PhpParser\Node\Stmt\Foreach_) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
} elseif ($stmt instanceof PhpParser\Node\Stmt\While_) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
} elseif ($stmt instanceof PhpParser\Node\Stmt\Do_) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$stmt->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
} elseif ($stmt instanceof PhpParser\Node\Stmt\Switch_) {
foreach ($stmt->cases as $case) {
$return_types = array_merge(
$return_types,
self::getReturnTypes(
$case->stmts,
$yield_types,
$ignore_nullable_issues,
$ignore_falsable_issues
)
);
}
}
}
// if we're at the top level and we're not ending in a return, make sure to add possible null
if ($collapse_types) {
// if it's a generator, boil everything down to a single generator return type
if ($yield_types) {
$key_type = null;
$value_type = null;
foreach ($yield_types as $type) {
if ($type instanceof Type\Atomic\TArray || $type instanceof Type\Atomic\TGenericObject) {
$first_type_param = count($type->type_params) ? $type->type_params[0] : null;
$last_type_param = $type->type_params[count($type->type_params) - 1];
if ($value_type === null) {
$value_type = clone $last_type_param;
} else {
$value_type = Type::combineUnionTypes($value_type, $last_type_param);
}
if (!$key_type || !$first_type_param) {
$key_type = $first_type_param ? clone $first_type_param : Type::getMixed();
} else {
$key_type = Type::combineUnionTypes($key_type, $first_type_param);
}
}
}
$yield_types = [
new Atomic\TGenericObject(
'Generator',
[
$key_type ?: Type::getMixed(),
$value_type ?: Type::getMixed(),
]
),
];
}
}
return $return_types;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static function getReturnTypes()\n\t{\n\t\t\n\t\treturn [\n\t\t\tself::RETURN_TYPE_MONTHLY\t =>\t\"Monthly\",\n\t\t\tself::RETURN_TYPE_YEARLY\t =>\t\"Yearly\",\n\t\t];\n\t\t\n\t}",
"public function getTitleTypes() {\n $stmt = $this->conn->stmt_init ();\n $stmt->prepare ( \"call getTitleTypes\" );\n $stmt->execute ();\n \n return $stmt->get_result ();\n }",
"public function lead_type_list()\n {\n \n $result = $this->db->query(\"call lead_type_list()\")->result();\n \n save_query_in_log();\n return $result;\n }",
"public function getAllTypes()\n {\n return $this->connection->select(\n $this->grammar->compileGetAllTypes()\n );\n }",
"public function getAllTypes()\n {\n return $this->connection->select(\n $this->grammar->compileGetAllTypes()\n );\n }",
"function get_test_types(){\n\n\t$conn = connect();\n\t$sql = \"select test_type as T from radiology_record\";\n\n\tif(($statement = oci_parse($conn, $sql)) == false){\n\t\t$err = oci_error($statement);\n\t\techo htmlentities($err['message']);\n\t\toci_close($conn);\n\t\treturn FALSE;\n\t}\n\n\t$exec = oci_execute($statement);\n\n\tif(!$exec){\n\t\t$err = oci_error($statement);\n\t\toci_free_statement($statement);\n\t\techo htmlentities($err['message']);\n\t\toci_close($conn);\n\t\treturn FALSE;\n\t}\n\n\t$count = 0;\n\twhile($row = oci_fetch_assoc($statement)){\n\t\t$ret[$count] = $row['T'];\n\t\t$count +=1;\n\t}\n\n\toci_close($conn);\n\toci_free_statement($statement);\n\n\treturn $ret;\n\n}",
"public function getServiceTypes()\n\t{\n\t\t$result = new Result();\n\t\t$types = Cache::getServiceTypes();\n\n\t\tif($types === false)\n\t\t{\n\t\t\t$res = self::getSidResult();\n\n\t\t\tif($res->isSuccess())\n\t\t\t{\n\t\t\t\t$data = $res->getData();\n\t\t\t\t$sessId = $data[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t$result->addErrors($res->getErrors());\n\t\t\t\t$sessId = '';\n\t\t\t}\n\n\t\t\t$request = new Request();\n\t\t\t$res = $request->getServiceTypes($sessId, $this->getKnownServices());\n\n\t\t\tif(!$res->isSuccess())\n\t\t\t{\n\t\t\t\t$result->addErrors($res->getErrors());\n\t\t\t\treturn $result;\n\t\t\t}\n\n\t\t\t$types = $res->getData();\n\t\t\t$types = $types + self::getOnLineSrvs();\n\t\t\tCache::setServiceTypes($types);\n\t\t}\n\n\t\tif(!is_array($types))\n\t\t\t$types = array();\n\n\t\t$result->setData($types);\n\t\treturn $result;\n\t}",
"public function analyzeReturnTypes(CodeBase $code_base): void;",
"private function extractTypeValues(array $columnList, array $types): array\n {\n $typeValues = [];\n\n foreach ($columnList as $columnName) {\n $typeValues[] = $types[$columnName] ?? ParameterType::STRING;\n }\n\n return $typeValues;\n }",
"public static function getTypes();",
"public function getReturnType(){\r\n\t\treturn $this->returntype;\r\n\t}",
"public function getTypeList__600(){\n $query = new Query ( \"SELECT\" );\n\n $type = TypeBean::select ( $query );\n if (! $type) {\n return false;\n }\n return $type;\n }",
"public function getTypes();",
"public function getTypes();",
"public function getTypes();",
"public function getTypes();",
"public function get_meal_types() {\n $query = $this->database_connection->prepare(\"SELECT * FROM meals\");\n $query->execute();\n $result = $query->fetchAll(PDO::FETCH_ASSOC);\n if(count($result) > 0) {\n return $result;\n } else {\n echo \"Sorry, there was an error. Could not find any meal tyoes.\"; // TODO - Send as error.\n exit();\n }\n }",
"public function getTypes()\n {\n $return = $this->dsn->types;\n\n if ($return === null) {\n return;\n }\n return explode(',', $return);\n }",
"function get_types_and_literals($tokens){\n $types = array();\n $literals = array();\n for($i = 1; $i < count($tokens[0]); $i++){\n if($tokens[0][$i] == TokenConstants::CONSTANT){\n if(preg_match(\"/^bool@(true|false)\\z/u\",$tokens[1][$i])){\n $types[$i - 1] = \"bool\";\n $literals[$i - 1] = preg_replace(\"/^bool@/\",\"\",$tokens[1][$i]);\n }\n elseif(preg_match(\"/^int@(\\\\+|-)?[0-9]+\\z/u\",$tokens[1][$i])){\n $types[$i - 1] = \"int\";\n $literals[$i - 1] = preg_replace(\"/^int@/\",\"\",$tokens[1][$i]);\n }\n elseif(preg_match(\"/^nil@nil\\z/u\",$tokens[1][$i])){\n $types[$i - 1] = \"nil\";\n $literals[$i - 1] = \"nil\";\n }\n else{\n $types[$i - 1] = \"string\";\n $literals[$i - 1] = preg_replace(\"/^string@/\",\"\",$tokens[1][$i]);\n\n }\n }\n elseif($tokens[0][$i] == TokenConstants::LABEL){\n $types[$i - 1] = \"label\";\n $literals[$i - 1] = $tokens[1][$i];\n }\n elseif($tokens[0][$i] == TokenConstants::ID){\n $types[$i - 1] = \"var\";\n $literals[$i - 1] = $tokens[1][$i];\n }\n elseif($tokens[0][$i] == TokenConstants::TYPE){\n $types[$i - 1] = \"type\";\n $literals[$i - 1] = $tokens[1][$i];\n }\n }\n\n return array($types,$literals);\n}",
"public function getReturnType()\n {\n return $this->return_type;\n }",
"public function getReturnType(): string\n {\n return static::RETURN_TYPE;\n }",
"public function getTypes(){\n // SET SOAPOPTIONS\n $this->setSoapOptions();\n \n //SET WSDLPATH\n $wsdlPath = $this->soapWebServiceWSDLPath;//'wsdl'.DIRECTORY_SEPARATOR.'WebServService.wsdl';\n \n //CREATE A NEW CLIENT\n $sClient = new SoapClient($wsdlPath,$this->soapOptions);\n \n //SET A NEW SOAP HEADER FOR INDICATING SOAP LOGIN ID\n $this->setSoapHeader();\n $sClient->__setSoapHeaders($this->soapHeader);\n \n //SOAP FUNCTION CALL\n return $sClient->__getTypes();\n }",
"public function listOfTypes()\n {\n $qb = $this->createQueryBuilder('b')\n ->select('b.type')\n ->distinct('b.type');\n \n $query = $qb->getquery();\n \n return $query->execute();\n }",
"public function get_types()\n\t{\n\t\treturn $this->driver_query('type_list', FALSE);\n\t}",
"public function returnType() {\n return $this->type;\n }",
"protected function getTypes() {}",
"public static function getTypeList() {\n return array(\n self::TYPE_CODE_1=>self::TYPE_STRING_1,\n self::TYPE_CODE_2=>self::TYPE_STRING_2,\n self::TYPE_CODE_3=>self::TYPE_STRING_3,\n self::TYPE_CODE_4=>self::TYPE_STRING_4,\n self::TYPE_CODE_5=>self::TYPE_STRING_5,\n self::TYPE_CODE_6=>self::TYPE_STRING_6\n );\n }",
"public function listAllType(){\n try {\n return $this->identityTypeGateway->getAllTypes();\n } catch (Exception $ex) {\n throw $ex;\n }catch (PDOException $e){\n throw $e;\n }\n }",
"private function _return_type($multi = FALSE)\n\t{\n\t\t$method = ($multi) ? 'result' : 'row';\n\t\treturn $this->_temporary_return_type == 'array' ? $method . '_array' : $method; \n\t}",
"public function getAllReturnInfo() {\n $this->selStmt->execute(); // execute SQL statement\n return $this->selStmt->fetchAll(PDO::FETCH_ASSOC); // return fetched result\n }"
] |
[
"0.60892516",
"0.5860834",
"0.5488392",
"0.5486775",
"0.5486775",
"0.5414571",
"0.53880364",
"0.5359523",
"0.52922153",
"0.5287315",
"0.5113888",
"0.50893",
"0.5072855",
"0.5072855",
"0.5072855",
"0.5072855",
"0.50042695",
"0.5003815",
"0.49853745",
"0.4961098",
"0.49516824",
"0.49264842",
"0.49222526",
"0.49188593",
"0.49123427",
"0.49077964",
"0.48989224",
"0.48808026",
"0.48611304",
"0.48407245"
] |
0.59590596
|
1
|
return this object as JSON string
|
public function toJSON(){
return json_encode($this);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function toJson() {\r\n\t\t// Returns:\t\tReturns JSON encoded string\r\n\t\treturn json_encode($this);\r\n\t}",
"public function get_json()\n {\n return json_encode($this);\n }",
"public function makeJSON()\n {\n return(json_encode($this));\n }",
"public function makeJSON()\n {\n return(json_encode($this));\n }",
"public function serialize() {\r\n return json_encode($this);\r\n }",
"public function __toString()\r\n {\r\n return json_encode($this);\r\n }",
"public function serialize()\n {\n return json_encode($this);\n }",
"public function json() \n\t{\n return json_encode($this);\n\t}",
"public function ToJson()\n {\n return json_encode($this);\n }",
"public function toJson()\n {\n return json_encode($this);\n }",
"public function toJson() {\n return json_encode($this);\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\MuhimbiPDFOnline\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\MuhimbiPDFOnline\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Yext\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Yext\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\ChrisHemmings\\Electio\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\ChrisHemmings\\Electio\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\SquareConnect\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\SquareConnect\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Voximplant\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Voximplant\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Voximplant\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Voximplant\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Spinen\\ConnectWise\\Clients\\Service\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Spinen\\ConnectWise\\Clients\\Service\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Ubo\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Ubo\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Ory\\Hydra\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Ory\\Hydra\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Autodesk\\Forge\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Autodesk\\Forge\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\UniversityOfAdelaide\\OpenShift\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\UniversityOfAdelaide\\OpenShift\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\UniversityOfAdelaide\\OpenShift\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\UniversityOfAdelaide\\OpenShift\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) {\n return json_encode(\\Nomad\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n } else {\n return json_encode(\\Nomad\\ObjectSerializer::sanitizeForSerialization($this));\n }\n }",
"public function __toString()\n {\n //if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n // return json_encode(\n // ObjectSerializer::sanitizeForSerialization($this),\n // JSON_PRETTY_PRINT\n // );\n //}\n\n return json_encode(ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString(){\n return json_encode($this->json);\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Secuconnect\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Secuconnect\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Secuconnect\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Secuconnect\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Dcm\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Dcm\\ObjectSerializer::sanitizeForSerialization($this));\n }",
"public function __toString()\n {\n if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print\n return json_encode(\\Kinow\\Client\\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT);\n }\n\n return json_encode(\\Kinow\\Client\\ObjectSerializer::sanitizeForSerialization($this));\n }"
] |
[
"0.8686108",
"0.86675304",
"0.85926867",
"0.85926867",
"0.85898733",
"0.85709745",
"0.8567509",
"0.85513204",
"0.85437614",
"0.85078984",
"0.8496155",
"0.84777826",
"0.8471035",
"0.84696406",
"0.84305584",
"0.84290755",
"0.84290755",
"0.842673",
"0.84229916",
"0.8422542",
"0.84164846",
"0.8414968",
"0.8414968",
"0.84140706",
"0.840846",
"0.8405835",
"0.8404825",
"0.8404825",
"0.84039897",
"0.84039605"
] |
0.8755468
|
0
|
Show the form for creating new Language.
|
public function create()
{
if (! Gate::allows('language_create')) {
return abort(401);
}
return view('admin.languages.create');
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function create()\n {\n $data['record'] \t = FALSE;\n \t$data['active_class'] = 'languages';\n $data['title'] = LanguageHelper::getPhrase('add_language');\n $data['layout'] = 'layouts.admin.adminlayout';\n $data['module_helper'] = false;\n $data['admin'] = $this->admin;\n $data['breadcumbs'] = $this->breadcumbs;\n return view('lmanager::languages.add-edit', $data);\n }",
"public function create()\n {\n \n return view('admin.languages.create', compact(''));\n }",
"public function create()\n {\n return view('Backend.Contents.language.add');\n }",
"public function create()\n {\n return view('admin.pages.language.create');\n }",
"public function create()\n\t{\n\t \n\t \n\t return view('admin.language.create');\n\t}",
"public function create()\n {\n return view('sadmin.languageadd');\n }",
"public function create()\n {\n $language = new Language();\n return view('student::settings.languages.create', compact('language'));\n }",
"public function create()\n {\n return view('admin.languages.create');\n }",
"public function create() {\n $activeTab = 'Languages';\n return View('admin/languages/create', compact('activeTab'));\n }",
"public function create()\n {\n return view('languages/create');\n }",
"public function create()\n {\n return view('languages.create');\n }",
"public static function create()\n {\n if(isset($_POST['create_language']) && Html::form()->validate())\n {\n if(!Multilanguage::language()->where('code', 'LIKE', $_POST['code'])->first())\n {\n $id = Multilanguage::language()->insert(array(\n 'name' => $_POST['name'],\n 'code' => strtolower($_POST['code'])\n ));\n\n if($id)\n {\n Message::ok('Language created successfully.');\n $_POST = array(); // Clear form\n }\n else\n Message::error('Error creating language, please try again.');\n }\n else\n Message::error('A language with that code already exists.');\n }\n\n $form[] = array(\n 'fields' => array(\n 'name' => array(\n 'title' => 'Language Name <em>(Ex: Russian)</em>',\n 'type' => 'text',\n 'validate' => array('required')\n ),\n 'code' => array(\n 'title' => '2 Letter Language Code <em>(Ex: ru)<em>',\n 'type' => 'text',\n 'validate' => array('required', 'min:2'),\n 'attributes' => array(\n 'maxlength' => 2\n )\n ),\n 'create_language' => array(\n 'type' => 'submit',\n 'value' => 'Create Language'\n )\n )\n );\n\n return array(\n 'title' => 'Create Language',\n 'content' => Html::form()->build($form)\n );\n }",
"public function actionCreate()\n {\n $model = new SiteLang();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['index', 'id' => $model->code]);\n }\n\n return $this->render('create', [\n 'model' => $model,\n ]);\n }",
"public function create()\n\t{\n\t\treturn view('translation.form');\n\t}",
"public function getCreate()\n\t{\n // Show the page\n return view('admin/language/create_edit');\n\t}",
"public function getCreate()\n {\n $languages = Language::all();\n $language = \"\";\n // Show the page\n return view('admin.objecttype.create_edit', compact('languages','language'));\n }",
"public function create()\n {\n $this->view_data['language'] = Language::translatable()->get(); \n return view($this->base_view_path.'add', $this->view_data);\n }",
"public function create()\n {\n $currencies = Currency::all();\n return view('language.create', compact('currencies'));\n }",
"public function create()\n {\n // $model = new Culture();\n return view('admin.culture.form', compact('model'));\n }",
"public function newAction()\n\t{\n\t\t$this->render( View::make( 'schools/form' , array(\n\t\t\t'title' => 'Ajouter une nouvelle école'\n\t\t) ) );\n\t}",
"public function create()\n {\n $languages = Language::all();\n return view('admin.category.create', ['languages' => $languages]);\n }",
"public function languages_create(Request $request) {\n\n $language_details = new Language;\n\n return view('admin.languages.create')\n ->withPage('languages')\n ->with('sub_page','languages-create')\n ->with('language_details', $language_details);\n }",
"public function create()\n {\n $languages = Languages::get();\n return view('admin.hotel-options.create', compact('languages'));\n }",
"public function displayActivityCreationForm()\n {\n $actionUrl = \"/activity/create\";\n $availableLanguages = $this->systemAvailableLanguageService->getAllAvailableLanguages();\n $allAvailableLanguages = [];\n foreach ($availableLanguages as $availableLanguage) {\n $allAvailableLanguages[$availableLanguage->systemLanguage->code] = $availableLanguage->systemLanguage->language;\n }\n\n $data = [\n \"actionUrl\" => $actionUrl,\n \"availableLanguages\" => $allAvailableLanguages\n ];\n return view(\"front.activity.activity-form\", $data);\n }",
"public function formNew() {\n $this->data->options = array(\n 'RJ' => 'Rio de Janeiro',\n 'MG' => 'Minas Gerais',\n 'SP' => 'São Paulo',\n 'ES' => 'Espírito Santo',\n 'BA' => 'Bahia',\n 'RS' => 'Rio Grande do Sul'\n );\n $this->data->action = \"@exemplos/pessoa/save\";\n $this->render();\n }",
"public function create()\n {\n return \"Display a form for creating a new catalogue\";\n }",
"public function create()\n {\n $languages = Language::all();\n return view('profile.create', compact('languages'));\n }",
"public function newAction()\n {\n $typeSeance = new TypeSeance();\n\n $form = $this->createCreateForm($typeSeance);\n\n $pages = array();\n $pages['Types de Séance '] = \"movibe_backend_typeSeance\";\n $pages['Creation'] = \"\";\n $this->breadcrumb($pages);\n\n return $this->render('MovibeBackendBundle:TypeSeance:new.html.twig', array(\n 'typeSeance' => $typeSeance,\n 'form' => $form->createView(),\n ));\n }",
"public function create()\n {\n return view('quizzes.type.translate_words.create', [\n 'languages' => Language::all()\n ]);\n }",
"public function create()\n {\n\t\t //$languages = Language::all();\n return view('admin.banners.create');\n }"
] |
[
"0.8155987",
"0.79809713",
"0.7958585",
"0.7923026",
"0.791869",
"0.790691",
"0.7880252",
"0.78607327",
"0.777997",
"0.77516437",
"0.7725541",
"0.76017666",
"0.74462664",
"0.74324936",
"0.72692686",
"0.7231372",
"0.71671504",
"0.71653557",
"0.7157637",
"0.71383274",
"0.71356803",
"0.69893014",
"0.6980642",
"0.6974609",
"0.69457674",
"0.69395256",
"0.69371337",
"0.69103396",
"0.6881605",
"0.6878741"
] |
0.80496204
|
1
|
[get_categories] get all tags according to the group
|
public function get_categories()
{
$param = array(
'delete_flg' => $this->config->item('not_deleted','common_config')
);
$groups = $this->get_tag_group();
if (empty($groups)) return array();
$group_id = array_column($groups, 'tag_group_id');
$param = array_merge($param, array('group_id' => $group_id));
$tags = $this->Logic_tag->get_list($param);
return $this->_generate_categories_param($groups, $tags);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function get_categories_by_group()\n\t{\n\t\t// get variables\n\t\t$vars = $this->_get_vars('get', array('group_id'));\n\n\t\t// start hook\n\t\t$vars = $this->_hook('get_categories_by_group_start', $vars);\n\n\t\t// load channel data library\n\t\t$this->_load_library('channel_data');\n\n\t\t$data = $this->EE->channel_data_lib->get_category_by_group($vars['group_id'])->result();\n\n\t\t// end hook\n\t\t$data = $this->_hook('get_categories_by_group_end', $data);\n\n\t\t$this->response($data);\n\t}",
"public function getAllWithCategoryAndTags();",
"public function getCategories();",
"public function getCategories();",
"public function findCategories();",
"public function getCategorys()\r\n {\r\n $groupData = $this->getGroupById();\r\n $html = null;\r\n if ($groupData) {\r\n foreach (explode(',', $groupData['categorys']) as $categoryId) {\r\n if ($categoryId) {\r\n $itemCategorys = $this->itemCollectionFactory->create()\r\n ->addFieldToFilter('category_id', array('eq' => $categoryId))\r\n ->addFieldToFilter('status', array('eq' => 1))\r\n ->addFieldToFilter('menu_type', array('eq' => 1));\r\n if ($itemCategorys->getData()) {\r\n foreach ($itemCategorys as $item) {\r\n $html .= $this->getMegamenuHtml($item);\r\n continue;\r\n }\r\n } else {\r\n $category = $this->getCategoryById($categoryId);\r\n if ($category) {\r\n $parentClass = ($this->hasSubcategory($category->getId())) ? 'parent' : null;\r\n $html .= '<li class=\"' . $this->checkCurrentCategory($category->getId()) . ' ui-menu-item level0 ' . $this->getMenuTypeGroup($groupData['menu_type']) . ' ' . $parentClass . ' \">';\r\n $html .= '<a href=\"' . $category->getUrl() . '\" class=\"level-top\"><span>' . $category->getName() . '</span></a>';\r\n if ($this->hasSubcategory($category->getId())) {\r\n $html .= '<div class=\"open-children-toggle\"></div>';\r\n }\r\n //get html of category\r\n $html .= $this->getHtmlCategory($category,\r\n $this->getMenuTypeGroup($groupData['menu_type']));\r\n $html .= '</li>';\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return $html;\r\n }",
"public function getGroupTagsList()\r\n {\r\n $tmpGroup = new Warecorp_Group_Base();\r\n $EntityTypeId = $tmpGroup->EntityTypeId;\r\n $EntityTypeName = $tmpGroup->EntityTypeName;\r\n unset($tmpGroup);\r\n\r\n $query = $this->_db->select();\r\n if ( $this->isAsAssoc() ) {\r\n $fields = array();\r\n $fields[] = ( $this->getAssocKey() === null ) ? 'ztd.id' : $this->getAssocKey();\r\n $fields[] = ( $this->getAssocValue() === null ) ? 'ztd.name' : $this->getAssocValue();\r\n $query->from(array('ztr' => 'zanby_tags__relations'), $fields);\r\n } else {\r\n $query->from(array('ztr' => 'zanby_tags__relations'), new Zend_Db_Expr('DISTINCT ztd.id'));\r\n }\r\n $query->joininner(array('ztd' => 'zanby_tags__dictionary'), 'ztr.tag_id = ztd.id');\r\n\r\n if ( $this->getWhere() ) $query->where($this->getWhere());\r\n $query->where('entity_type_id = ?', $EntityTypeId);\r\n $query->where('entity_id = ?', $this->getGroupId());\r\n $query->where('ztr.status IN (?)', $this->getTagStatus());\r\n\r\n if ( $this->getCurrentPage() !== null && $this->getListSize() !== null ) {\r\n $query->limitPage($this->getCurrentPage(), $this->getListSize());\r\n }\r\n if ( $this->getOrder() !== null ) $query->order($this->getOrder());\r\n else $query->order('ztd.name');\r\n\r\n\t\t$items = $this->getTagListFromSQL($query, false);\r\n return $items;\r\n }",
"private function getCategories($groupID = null)\n {\n $this->db->select('*', '`bf_categories`')\n ->where('`visible` = 1' . \n ($groupID ? ' AND `category_group_id` = \\'' . intval($groupID) . '\\'' : ''))\n ->order('name', 'asc')\n ->execute();\n \n // Collect categories\n $categoryCollection = array();\n while($category = $this->db->next())\n {\n // Get image\n $image = $this->parent->db->getRow('bf_images', $category->image_id);\n \n // No image?\n if(!$image)\n {\n // Default image\n $imageURL = \n $this->parent->config->get('com.b2bfront.site.default-image', true);\n }\n else\n {\n $imageURL = Tools::getImageThumbnail($image->url);\n }\n \n $categoryCollection[] = array(\n 'name' => $category->name,\n 'id' => $category->id,\n 'url' => $imageURL\n );\n }\n \n return $categoryCollection;\n }",
"public function get_categorys(Context $ctx) {\n $user = $ctx->getUser();\n if($user === null){\n return ResponseHelper::error('Access denied');\n }\n \n $db = $this->connect();\n $dt = new \\DateTime();\n $time_stamp = $dt->getTimestamp();\n $date_now = new \\MongoDate($time_stamp);\n \n // Set an event into array\n $event_lists = [];\n $events = $db->event->find([\n 'build' => 1,\n 'approve' => 1,\n 'date_end' => [ '$gte' => $date_now ]\n ],['date_end']);\n foreach($events as $event){\n $event_lists[] = $event['_id']->{'$id'};\n }\n \n $categories = [];\n $items = $db->tag->find([],['en']);\n foreach($items as $item){\n $item['id'] = $item['_id']->{'$id'};\n $item['name'] = $item['en'];\n \n // sniff status\n $item['sniffed'] = false;\n if(in_array($item['id'], $user['sniff_category'])){\n $item['sniffed'] = true;\n }\n \n // Search an event from event_tag in event(Array)\n $events = $db->event_tag->find(['tag_id' => $item['id']],['event_id']);\n $count_active_event = 0;\n foreach($events as $event){\n if(in_array($event['event_id'], $event_lists)){\n $count_active_event++;\n }\n }\n $item['rows'] = $count_active_event;\n\n // - Default picture\n if(!isset($item['picture'])){\n $item['picture'] = Image::default_category_picture();\n }\n $item['picture'] = Image::load_picture($item['picture']);\n \n unset($item['_id']);\n unset($item['en']);\n \n $categories[] = $item;\n }\n \n $res = [\n 'data' => $categories,\n 'length' => count($categories)\n ];\n \n return $res;\n }",
"public function getCategoriesGroup() {\n\t\t$imageTypes = $this->getImagesTypes();\n\t\t$categories = $this->getCollection()\n\t\t\t\t->addFieldToFilter('status',1);\n\t\t$arrayOptions = array();\n\t\t$i = 1;\n\t\tforeach($imageTypes as $key => $imageType)\n\t\t{\n\t\t\tif($key == 'uncategorized')\n\t\t\t{\n\t\t\t\t$arrayOptions[0] = 'Uncategorized';\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t$arrayValue = array();\n\t\t\tforeach($categories as $category)\n\t\t\t{\n\t\t\t\tif($category->getImageTypes() == $key)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\t$arrayValue[] = array('value'=>$category->getId(),'label'=>$category->getTitle());\n\t\t\t\t}\n\t\t\t}\n\t\t\t$arrayOptions[$i]['value'] = $arrayValue;\n\t\t\t$arrayOptions[$i]['label'] = $imageType;\n\t\t\t$i++;\n\t\t}\n\t\treturn $arrayOptions;\n\t}",
"public function all_tags()\n {\n $out = [];\n $out = array_merge($out, $this->extraTags('CATEGORY'));\n\n foreach ($this->tags->find_all() as $tag) {\n $out[] = $tag;\n }\n\n return array_unique($out);\n\n }",
"function gtags_group_tags() {\n\techo gtags_get_group_tags();\n}",
"function get_category_group()\n\t{\n\t\t// get variables\n\t\t$vars = $this->_get_vars('get', array('group_id'));\n\t\t\n\t\t// start hook\n\t\t$vars = $this->_hook('get_category_group_start', $vars);\n\n\t\t// load channel data library\n\t\t$this->_load_library('channel_data');\n\n\t\t$data = $this->EE->channel_data_lib->get_category_group($vars['group_id'])->result();\n\n\t\t// end hook\n\t\t$data = $this->_hook('get_category_group_end', $data);\n\n\t\t$this->response($data);\n\t}",
"function getAllCategories()\n {\n // Get list of categories using solr\n $metadataDao = MidasLoader::loadModel('Metadata')->getMetadata(MIDAS_METADATA_TEXT, \"mrbextrator\", \"category\");\n $enabledDao = MidasLoader::loadModel('Metadata')->getMetadata(MIDAS_METADATA_TEXT, \"mrbextrator\", \"slicerdatastore\");\n $terms = array(); \n if($metadataDao)\n {\n $db = Zend_Registry::get('dbAdapter');\n $results = $db->query(\"SELECT value, itemrevision_id FROM metadatavalue WHERE metadata_id='\".$metadataDao->getKey().\"' order by value ASC\")\n ->fetchAll();\n foreach($results as $result)\n {\n $arrayTerms = explode(\" --- \", $result['value']);\n foreach($arrayTerms as $term)\n { \n if(strpos($term, \"zzz\") === false) continue;\n $tmpResults = $db->query(\"SELECT value FROM metadatavalue WHERE itemrevision_id='\".$result['itemrevision_id'].\"' AND metadata_id='\".$enabledDao->getKey().\"' order by value ASC\")\n ->fetchAll();\n if(empty($tmpResults))continue;\n $term = trim(str_replace('zzz', '', $term));\n if(!isset($terms[$term]))\n {\n $terms[$term] = 0;\n }\n $terms[$term]++;\n }\n } \n }\n ksort($terms);\n return $terms;\n }",
"function _get_group_tags($group=NULL)\n{\n\t$group_tags=array(\n\t\t'dynamic_front_end'=>array('overlay','random','pulse','ticker','shocker','jumping','sections','big_tabs','tabs','carousel','hide','tooltip'),\n\t\t'dynamic_back_end'=>array('currency','if_in_group'),\n\t\t'structure'=>array('title','contents','include','concepts','concept','staff_note','menu','surround'),\n\t\t'formatting'=>array('list','indent','ins','del','b','u','i','s','sup','sub','size','color','highlight','font','align','left','center','right','abbr','box','quote'),\n\t\t'semantic'=>array('cite','samp','q','var','dfn','address'),\n\t\t'display_code'=>array('php','codebox','sql','code','tt','no_parse'),\n\t\t'execute_code'=>array('semihtml','html'),\n\t\t'media'=>array('flash','img'/*Over complex,'upload','exp_thumb','exp_ref'*/,'thumb'),\n\t\t'linking'=>array('url','email','reference','page','snapback','post','topic')\n\t);\n\n\tif (addon_installed('filedump')) $group_tags['media'][]='attachment';\n\n\t// Non-categorised ones\n\t$all_tags=_get_details_comcode_tags();\n\t$not_found=array();\n\tforeach (array_keys($all_tags[0]+$all_tags[1]) as $tag)\n\t{\n\t\tif (in_array($tag,array('exp_thumb','exp_ref','upload','attachment'))) continue; // Explicitly don't want to allow these (attachment will already be listed if allowed)\n\t\tforeach ($group_tags as $_group)\n\t\t{\n\t\t\tif (in_array($tag,$_group))\n\t\t\t{\n\t\t\t\tcontinue 2;\n\t\t\t}\n\t\t}\n\t\t$not_found[]=$tag;\n\t}\n\t$group_tags['CUSTOM']=$not_found;\n\n\tif ($group!==NULL && array_key_exists($group,$group_tags))\n\t\treturn $group_tags[$group];\n\n\treturn $group_tags;\n}",
"public function getCategories() : array;",
"public function getAllWithCategory();",
"function gtags_get_groups_by_tag( $limit = null, $page = null, $user_id = false, $search_terms = false, $group_tag = null ) {\n\tglobal $wpdb, $bp;\n\t$hidden_sql = $search_sql = $tag_sql = $pag_sql = '';\n\t\n\tif ( $limit && $page ) {\n\t\t$pag_sql = $wpdb->prepare( \" LIMIT %d, %d\", intval( ( $page - 1 ) * $limit), intval( $limit ) );\n\t}\n\n\tif ( ! is_user_logged_in() )\n\t\t$hidden_sql = \"AND g.status != 'hidden'\";\n\n\tif ( $search_terms ) {\n\t\t$search_terms = like_escape( $wpdb->escape( $search_terms ) );\n\t\t$search_sql = \" AND ( g.name LIKE '%%{$search_terms}%%' OR g.description LIKE '%%{$search_terms}%%' )\";\n\t}\n\n\tif ( $group_tag ) {\n\t\t$group_tag = like_escape( $wpdb->escape( $group_tag ) );\n\t\t$group_tag = stripslashes($group_tag);\n\t\t$tag_sql = \" AND ( gm3.meta_value LIKE '%%{$group_tag}%%' )\";\n\t}\n\t\n\t$paged_groups = $wpdb->get_results( \"SELECT g.*, gm1.meta_value as total_member_count, gm2.meta_value as last_activity, gm3.meta_value as gtags_group_tags FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2, {$bp->groups->table_name_groupmeta} gm3, {$bp->groups->table_name} g WHERE g.id = gm1.group_id AND g.id = gm2.group_id AND g.id = gm3.group_id AND gm2.meta_key = 'last_activity' AND gm1.meta_key = 'total_member_count' AND gm3.meta_key = 'gtags_group_tags' {$hidden_sql} {$search_sql} {$tag_sql} ORDER BY CONVERT(gm1.meta_value, SIGNED) DESC {$pag_sql}\" );\n\n\t// this is commented out because it doesn't really work due to the over-inclusive issue.\n\t//$total_groups = $wpdb->get_var( \"SELECT COUNT(DISTINCT g.id) FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2, {$bp->groups->table_name_groupmeta} gm3, {$bp->groups->table_name} g WHERE g.id = gm1.group_id AND g.id = gm2.group_id AND g.id = gm3.group_id AND gm2.meta_key = 'last_activity' AND gm1.meta_key = 'total_member_count' AND gm3.meta_key = 'gtags_group_tags' {$hidden_sql} {$search_sql} {$tag_sql}\" ); \n\n\t// loop through results and return only exact matches in comma separated list.\n\t$paged_groups2 = array();\n\t\n\tforeach ( (array)$paged_groups as $group ) {\n\t\t$items = explode( \",\", $group->gtags_group_tags );\n\t\t$match = false;\n\t\tforeach( $items as $item ) {\n\t\t\tif ( trim( strtolower( $item ) ) == strtolower( $group_tag ) ) $match = true; \n\t\t}\n\t\tif ( $match == true ) \n\t\t\t$paged_groups2[] = $group;\n\t}\n\t\n\t$total_groups = count($paged_groups2); // in place of the commented out code above\n\n\tforeach ( (array)$paged_groups2 as $group ) $group_ids[] = $group->id;\n\t$group_ids = $wpdb->escape( join( ',', (array)$group_ids ) );\n\t$paged_groups2 = BP_Groups_Group::get_group_extras( $paged_groups2, $group_ids, 'popular' );\n\n\treturn array( 'groups' => $paged_groups2, 'total' => $total_groups );\n}",
"public function _getListTags()\n {\n return array_slice($this->_getArticleDataVal('categories'), 0, 3);\n }",
"public function getMetaTagsCategories()\n\t{\n\t\treturn $this->metaTagsCategories;\n\t}",
"public function findAllCategories(): iterable;",
"public function getAllCategories();",
"public function getCacheIdTagsWithCategories()\n {\n $tags = $this->getCacheTags();\n $affectedCategoryIds = $this->_getResource()->getCategoryIdsWithAnchors($this);\n foreach ($affectedCategoryIds as $categoryId) {\n $tags[] = Mage_Catalog_Model_Category::CACHE_TAG.'_'.$categoryId;\n }\n return $tags;\n }",
"public function addMultipleCategoriesToGroup();",
"public function getTags();",
"public function getTags();",
"public function getTags();",
"public function getTags();",
"public function getTags();",
"function fm_get_cat_list($groupid=0) {\r\n\tglobal $USER;\r\n\t\r\n\t// $cats = array();\r\n\t$cats[0] = get_string('btnnoassigncat','block_file_manager');\r\n\tif ($groupid == 0){\r\n\t\t$ownertype = OWNERISUSER;\r\n\t\t$rs = get_recordset_select('fmanager_categories', \"owner=$USER->id AND ownertype=$ownertype\", 'name');\r\n\t\t$catsrec = recordset_to_array($rs);\t\r\n\t} else {\r\n\t\t$ownertype = OWNERISGROUP;\r\n\t\t$rs = get_recordset_select('fmanager_categories', \"owner=$groupid AND ownertype=$ownertype\", 'name');\r\n\t\t$catsrec = recordset_to_array($rs);\r\n\t}\r\n\tif ($catsrec) {\r\n \tforeach ($catsrec as $c) {\r\n \t\t$cats[$c->id] = $c->name;\r\n \t}\r\n\t}\r\n\treturn $cats;\r\n}"
] |
[
"0.7466487",
"0.7053428",
"0.6803988",
"0.6803988",
"0.6671355",
"0.6617695",
"0.6593049",
"0.65206057",
"0.65164375",
"0.6493043",
"0.64881545",
"0.64784867",
"0.6468833",
"0.64276576",
"0.64112526",
"0.64075565",
"0.6397384",
"0.63890415",
"0.63785446",
"0.6377309",
"0.63374245",
"0.6321625",
"0.6289917",
"0.62584436",
"0.621915",
"0.621915",
"0.621915",
"0.621915",
"0.621915",
"0.61828464"
] |
0.7628434
|
0
|
[delete the tag_group by id]
|
public function delete_for_tag_group($id)
{
$param = array(
'tag_group_id' => $id,
'delete_flg' => $this->config->item('deleted', 'common_config'),
'updated' => date('Y-m-d H:i:s', time())
);
return $this->Logic_tag->delete_for_tag_group($param);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static function onGroupDelete($id)\n {\n static::deleteCacheByTag(static::getCacheTag());\n }",
"public static function onGroupDelete($id)\n {\n static::deleteCacheByTag(static::getCacheTag());\n }",
"function acf_delete_field_group($id = 0)\n{\n}",
"function delete() {\n\t\t$sql = \"DELETE FROM umgroup\n\t\t\t\tWHERE GpID=?\";\n\t\t\n\t\t \n\t\t$this->ums->query($sql, array($this->GpID));\n\n\t}",
"private function deleteFromGroup(array $idlist) {\n $query = \"\n DELETE tags_group\n WHERE tag_id IN (#list#)\";\n $ok = $this->db->query($query, array('list' => $idlist));\n\n return $ok;\n }",
"public function delete_group($id){\n $this->db->where('group_id', $id);\n $this->db->delete('member_group');\n }",
"public function tag_delete($id)\n{\n $productstag = ProductTag::where('product_id','=',$id)->get();\n\n foreach ($productstag as $key => $protag) {\n\n $productTag = ProductTag::find($protag->id);\n $productTag->delete();\n }\n\n}",
"public function delete_by_id($id) {\n // We need to make sure we delete the item and all related files, which can be done with solr_filegroupingid.\n $this->get_search_client()->deleteByQuery('solr_filegroupingid:' . $id);\n $this->commit();\n }",
"function delete_group($id)\n\t{\n\t\treturn get_instance()->kbcore->groups->delete($id);\n\t}",
"public function batch_delete($group_id, $tag_id)\n {\n $delete_flg = $this->config->item('deleted', 'common_config');\n $group_arg = explode(',', $group_id);\n $tag_arg = explode(',', $tag_id);\n\n if ( ! empty($group_id)) {\n $group_data = array_map(function($id) use($delete_flg){\n return array('tag_group_id' => $id, 'delete_flg' => $delete_flg);\n }, $group_arg);\n\n } else {\n $group_data = array();\n }\n\n if (!empty($tag_id)) {\n $tag_data = array_map(function($id) use($delete_flg){\n return array('tag_id' => $id, 'delete_flg' => $delete_flg);\n }, $tag_arg);\n } else {\n $tag_data = array();\n }\n\n $param = array($group_data, $tag_data);\n $CI = &get_instance();\n $CI->db->trans_begin();\n if (! empty($tag_data)) {\n $this->Logic_tag->batch_delete_tag($tag_data);\n }\n\n if (! empty($group_data)) {\n $this->Logic_tag->batch_delete_group($group_data);\n }\n\n if ($CI->db->trans_status() === FALSE) {\n $CI->db->trans_rollback();\n return ;\n } else {\n $CI->db->trans_commit();\n return true;\n }\n\n\n\n }",
"public function delete($id)\n {\n $query=\"DELETE FROM l_release_group_series WHERE id=\".$id;\n\n $this->executeQuery($query);\n }",
"function acf_delete_field_group( $id = 0 ) {\n\treturn acf_delete_internal_post_type( $id, 'acf-field-group' );\n}",
"public function delete_tag($tag);",
"public function deleteGroup()\n {\n // If the group has system attributes, we can't delete it.\n if ($this->groupProtected) {\n $this->notify(\n __('adminhub::notifications.attribute-groups.delete_protected')\n );\n\n return;\n }\n DB::transaction(function () {\n DB::table(config('getcandy.database.table_prefix').'attributables')\n ->whereIn(\n 'attribute_id',\n $this->attributeGroupToDelete->attributes()->pluck('id')->toArray()\n )->delete();\n $this->attributeGroupToDelete->attributes()->delete();\n $this->attributeGroupToDelete->delete();\n });\n $this->deleteGroupId = null;\n $this->refreshGroups();\n\n $this->notify(\n __('adminhub::notifications.attribute-groups.deleted')\n );\n }",
"public function mass_remove_group()\n {\n $ids = json_decode($this->input->post('ids'), true); //convert json into array\n foreach ($ids as $id) {\n $resultat = $this->m_feuille_controle->remove_group($id);\n }\n }",
"public function deleteConnectionWithGroup(){\n $respondent = $this->id;\n $table = 'tbl_link_users_group_respondents';\n $sql = 'DELETE FROM '.$table.' WHERE respondents_id=:respondent';\n $command = Yii::app()->db->createCommand($sql);\n $command->bindParam(\":respondent\", $respondent);\n $command->execute();\n }",
"function acf_delete_json_field_group($key)\n{\n}",
"public function deleteRefTag($id_tag){\n $index = -1;\n foreach ($this->_id_tags_arr as $index_temp => $id_tag_temp){\n if($id_tag_temp == $id_tag){\n $index= $index_temp;\n break;\n }\n }\n if ($index!=-1){\n unset ($this->_id_tags_arr[$index]);\n //reindexo para evitar que me queden posiciones vacias en el array\n $this->_id_tags_arr = array_values($this->_id_tags_arr);\n }else{\n throw new Exception('deleteRefTag');\n }\n }",
"public function destroyTags($id)\n {\n //\n $portfolio = Portfolio::findOrFail($id);\n $portfolio->untag(); // remove all tags\n }",
"public function deleteGroup($id){\n\t\t//The downside to this approach is that in case you inherit the groups from another admin, you will not be able to delete them unless you are logged in with his or her credentials\n\t\t//Yet the upside is that you cannot delete groups created by other admin accounts\n\t\t$userGroup = DB::select(DB::raw(\n\t\t\t\t\t\t\t\t\t\"select user_groups.id from user_groups where user_groups.id = :groupId and user_groups.created_by = :createdBy\"),\n\t\t\t\t\t\t\t\t\t\tarray(\"groupId\"=>$id,\"createdBy\"=>Auth::User()->id));\n\t\t//Check that there surveys in this group\n\t\t$surveysInGroup = DB::select(DB::raw(\n\t\t\t\t\t\t\t\t\t\"select surveys.id, surveys.type_id from surveys where surveys.user_group_id = :groupId\"),\n\t\t\t\t\t\t\t\t\t\tarray(\"groupId\"=>$id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t if(!empty($userGroup)){//Means the group exists\n\t\t\t\t\t DB::beginTransaction();\n\t\t\t\t\t try{\n\t\t\t\t\t if(!empty($surveysInGroup)){//Means there are surveys in the group\n\t\t\t\t\t\t foreach($surveysInGroup as $survey){//Iterate over each survey in the group and delete it\n\t\t\t\t\t\t\t if ($survey->type_id == 1) {\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from results where results.survey_id = :surveyId and results.survey_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from participants where participants.survey_id = :surveyId and participants.survey_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from surveys where surveys.id = :surveyId\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif ($survey->type_id == 2) {\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from peer_results where peer_results.peer_survey_id = :surveyId and peer_results.peer_survey_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from peer_surveys where peer_surveys.survey_id = :surveyId and peer_surveys.survey_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from participants where participants.survey_id = :surveyId and participants.survey_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"delete from surveys where surveys.id = :surveyId\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"surveyId\"=>$survey->id));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//Now that you have removed the surveys you can delete the users in this group\n\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\"delete from user_in_groups where user_in_groups.user_group_id = :groupId and user_in_groups.user_group_id is not null\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"groupId\"=>$id));\n\t\t\t\t\t\t//At this point it should be safe to delete the group\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tDB::delete(DB::raw(\n\t\t\t\t\t\t\t\t\t\t\"delete from user_groups where user_groups.id = :groupId\"),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tarray(\"groupId\"=>$id));\n\t\t\t\t\t\t\n\t\t\t\t\t\tDB::commit();\n\t\t\t\t\t\treturn Redirect::to('admin/usergroup')->with('success','A user group has been deleted successfully.');\n\t\t\t\t\t\t}catch(\\Exception $e){\n\t\t\t\t\t\t\tDB::rollback();\n\t\t\t\t\t\t\treturn \"An error occured; your request could not be completed \".$e->getMessage();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treturn Redirect::to('admin/usergroup')->with('warning','A user group could not be deleted: check if you are the one who created the group.');\n \t\n }",
"function delGroupHandler() {\n global $inputs;\n\n $sql = \"delete from `group` where id = \" . $inputs['id'];\n execSql($sql);\n\n formatOutput(true, 'delete success');\n}",
"public function delTag($id, $tag)\n {\n $this->db->update(array('id'=>$id), array('$pull'=>array('tags'=>$tag)));\n }",
"public function delete() {\r\n\r\n // Does the Group object have an ID?\r\n if ( is_null( $this->id ) ) trigger_error ( \"Group::delete(): Attempt to delete a Group object that does not have it's ID property set.\", E_USER_ERROR );\r\n\r\n // Delete the Group\r\n $conn = new PDO( DB_DSN, DB_USERNAME, DB_PASSWORD ); \r\n $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );\r\n $st = $conn->prepare ( \"DELETE FROM \" . DB_PREFIX . \"groups WHERE id = :id LIMIT 1\" );\r\n \r\n $st->bindValue( \":id\", $this->id, PDO::PARAM_INT );\r\n $st->execute();\r\n \r\n $conn = null;\r\n }",
"function _deleteGroup()\n\t{\n\t\t// Get the informations\n\t\t$group = kform::getInput('group');\n\t\tlist($drawId, $groupname) = explode(';', $group);\n\n\t\t// Delete the draws\n\t\t$oGroup = new objgroup();\n\t\t$oGroup->deleteGroup($drawId, $groupname);\n\t\t$page = new utPage('none');\n\t\t$page->close(true, 'draws', DRAW_DISPLAY , $drawId);\n\t\texit();\n\t}",
"public function delete($id){\r\n\t\t$sql = 'DELETE FROM connection_tags WHERE id = ?';\r\n\t\t$sqlQuery = new SqlQuery2($sql);\r\n\t\t$sqlQuery->setNumber($id);\r\n\t\treturn $this->executeUpdate($sqlQuery);\r\n\t}",
"function acf_untrash_field_group($id = 0)\n{\n}",
"public function ajax_batch_delete(Request $request, $id)\n {\n foreach ($request->id as $id) {\n \n $tag = Tag::find($id);\n Tag::destroy($id);\n }\n echo 1;\n }",
"public function mass_unremove_group()\n {\n $ids = json_decode($this->input->post('ids'), true); //convert json into array\n foreach ($ids as $id) {\n $resultat = $this->m_feuille_controle->unremove_group($id);\n }\n }",
"public static function delete_tag($id)\n\t{\n\t\t$keys = Cache::instance()->get($id,array());\n\t\tforeach($keys as $key)\n\t\t{\n\t\t\tCache::instance()->delete($key);\n\t\t}\n\t\tCache::instance()->delete($id);\n\t}",
"public function deleteGroup($id){\n /// Compruebo que no pertenesca a NoGroup (id = 2)\n if($id!=2){\n #Actualizar Paginas a valor 0 = no pertenece a un grupo/\n $result_Domain= DB::table('w59_page')\n ->select('w59_page.id')\n ->join('w59_groudpage', 'w59_groudpage.id', '=', 'w59_page.IDgroudpage')\n ->where('w59_groudpage.IDgroup','=',$id)\n ->get(); \n if(count($result_Domain) > 0){\n foreach($result_Domain as $IDPage){\n DB::table('w59_page')\n ->where('id', $IDPage->id)\n ->update(['IDgroudpage' => '0']);\n }\n }\n\n ////verificar si el grupo es nivel 2.\n $get_Type= DB::table('w59_group')->select('type')->where('id','=',$id)->first();\n if($get_Type->type==2){\n $ArrayDomain= DB::table('w59_dominio')\n ->select('url')->get(); \n $hey = $ArrayDomain;\n }else{\n $ArrayDomain= DB::table('w59_dominio')\n ->select('url')->where('IDgroup', '=', $id)->get(); \n $hey = $ArrayDomain;\n }\n \n #Actualizar Dominio a NoGroup con ID 2 como Predeterminado.\n DB::table('w59_dominio')->where('IDgroup','=', $id)->update(['IDgroup' => '2']);\n #Eliminar Grupos de pagina\n DB::table('w59_groudpage')->where('IDgroup', '=', $id)->delete();\n #Borrar Grupos\n DB::table('w59_group')->where('id', '=', $id)->delete();\n\n foreach($hey as $po){\n $url =\"https://www.\".$po->url.\"/wp-json/kb/v2/worked/14/\";\n $this->curl_load($url);\n }\n return back()->withInput();\n \n }\n }"
] |
[
"0.6889137",
"0.6889137",
"0.68088126",
"0.67740095",
"0.66292846",
"0.6629161",
"0.6599461",
"0.6568675",
"0.6563651",
"0.6525752",
"0.6469747",
"0.6458733",
"0.644415",
"0.64426875",
"0.6433141",
"0.6424767",
"0.64131016",
"0.6411358",
"0.6408845",
"0.63977027",
"0.63652766",
"0.636244",
"0.63450414",
"0.6339991",
"0.63366705",
"0.6310537",
"0.63037205",
"0.6283738",
"0.62819225",
"0.62638026"
] |
0.69618064
|
0
|
batch delete info by group_id or tag_id
|
public function batch_delete($group_id, $tag_id)
{
$delete_flg = $this->config->item('deleted', 'common_config');
$group_arg = explode(',', $group_id);
$tag_arg = explode(',', $tag_id);
if ( ! empty($group_id)) {
$group_data = array_map(function($id) use($delete_flg){
return array('tag_group_id' => $id, 'delete_flg' => $delete_flg);
}, $group_arg);
} else {
$group_data = array();
}
if (!empty($tag_id)) {
$tag_data = array_map(function($id) use($delete_flg){
return array('tag_id' => $id, 'delete_flg' => $delete_flg);
}, $tag_arg);
} else {
$tag_data = array();
}
$param = array($group_data, $tag_data);
$CI = &get_instance();
$CI->db->trans_begin();
if (! empty($tag_data)) {
$this->Logic_tag->batch_delete_tag($tag_data);
}
if (! empty($group_data)) {
$this->Logic_tag->batch_delete_group($group_data);
}
if ($CI->db->trans_status() === FALSE) {
$CI->db->trans_rollback();
return ;
} else {
$CI->db->trans_commit();
return true;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function executeBatchDelete(sfWebRequest $request)\n {\n $q = Doctrine::getTable('Group')->createQuery('g')\n ->andWhereIn('g.id', $request->getParameter('ids'))\n ;\n $ids = array();\n foreach ( $q->execute() as $group )\n $ids[] = $group->id;\n $request->setParameter('ids', $ids);\n \n parent::executeBatchDelete($request);\n }",
"public function mass_remove_group()\n {\n $ids = json_decode($this->input->post('ids'), true); //convert json into array\n foreach ($ids as $id) {\n $resultat = $this->m_feuille_controle->remove_group($id);\n }\n }",
"public function ajax_batch_delete(Request $request, $id)\n {\n foreach ($request->id as $id) {\n \n $tag = Tag::find($id);\n Tag::destroy($id);\n }\n echo 1;\n }",
"public function mass_unremove_group()\n {\n $ids = json_decode($this->input->post('ids'), true); //convert json into array\n foreach ($ids as $id) {\n $resultat = $this->m_feuille_controle->unremove_group($id);\n }\n }",
"private function deleteFromGroup(array $idlist) {\n $query = \"\n DELETE tags_group\n WHERE tag_id IN (#list#)\";\n $ok = $this->db->query($query, array('list' => $idlist));\n\n return $ok;\n }",
"function delGroupHandler() {\n global $inputs;\n\n $sql = \"delete from `group` where id = \" . $inputs['id'];\n execSql($sql);\n\n formatOutput(true, 'delete success');\n}",
"public function tag_delete($id)\n{\n $productstag = ProductTag::where('product_id','=',$id)->get();\n\n foreach ($productstag as $key => $protag) {\n\n $productTag = ProductTag::find($protag->id);\n $productTag->delete();\n }\n\n}",
"public function testDeleteBatch()\n {\n // TODO: implement\n $this->markTestIncomplete('Not implemented');\n }",
"function delete( string $_group_key, IIndexedEntity $_entity ): bool;",
"public function delete_multiple(array $keys, $group = '')\n {\n }",
"protected function bp_gtm_delete_g_data($data) {\n global $bp, $wpdb;\n\n if (!check_admin_referer('bp_gtm_delete'))\n return false;\n $paths = $wpdb->get_results($wpdb->prepare(\"SELECT path FROM {$bp->gtm->table_files} WHERE `group_id` = %d\", $_POST['cur_group']));\n foreach ($paths as $path) {\n if (file_exists(bp_gtm_file_dir($path->path)))\n unlink(bp_gtm_file_dir($path->path));\n }\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_files} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_projects} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_tasks} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_taxon} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_terms} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_resps} WHERE `group_id` = %d\", $_POST['cur_group']));\n $wpdb->query($wpdb->prepare(\"DELETE FROM {$bp->gtm->table_discuss} WHERE `group_id` = %d\", $_POST['cur_group']));\n\n bp_core_add_message(__('Everything was deleted successfully.', 'bp_gtm'));\n\n do_action('bp_gtm_delete_g_data', $bp->groups->current_group->id);\n bp_core_redirect(bp_get_group_permalink($bp->groups->current_group) . $bp->gtm->slug . '/delete/');\n }",
"function deleteMultipleData($tableName,$ids,$fieldName,$flag=SOFT_DELETE){\t\t\r\n\t\tif(!isset($ids) || $ids==''){\r\n\t\t\treturn FALSE;\r\n\t\t}else{\r\n\t\t\tif(isset($tableName)&& trim($tableName)!='' && $fieldName!=''){\r\n\t\t\t\tif($flag==SOFT_DELETE){\r\n\t \t\t\t $query=\"UPDATE \".$tableName.\" SET \".COND_IS_DELETED_TRUE .\" WHERE \". $fieldName .\" IN(\".$ids.\")\";\r\n\t\t\t\t}\r\n\t\t\t\tif($flag==HARD_DELETE){\r\n\t\t\t\t\t$query=\"DELETE FROM \".$tableName.\" WHERE \".$fieldName.\" IN(\".$ids.\")\";\r\n\t\t\t\t}\r\n\t\t\t\treturn mysql_query($query); \r\n\t\t\t}\r\n\t \t}\r\n\t }",
"public function batch_delete($data)\n {\n $required = array(\n 'ids' => 'IDs not passed',\n );\n $this->di['validator']->checkRequiredParamsForArray($required, $data);\n\n foreach ($data['ids'] as $id) {\n $this->delete(array('id' => $id));\n }\n\n return true;\n }",
"function system_delete_group($paramv)\n{\n}",
"function delete_list($group_ids)\n {\n $this->db->where_in('group_id', $group_ids);\n $success = $this->db->update('groups', array('deleted' => 1));\n return $success;\n }",
"function delete_complete_research_group($main_object,$value){\n //delete 1\n //from log in table\n $main_object->research_group=$value;\n $query_make = new Query_Make();\n $attribute = array(\"research_group\");\n $value = array($main_object->research_group);\n $sql = $query_make->delete_query($query_make,\"LogInTable\",$attribute,$value);\n $result = $main_object->exeute_query($main_object,$sql);\n if($result) {\n echo \"delete 1 done \";\n //from supervisor Table \n $attribute = array(\"research_group\");\n $value = array($main_object->research_group);\n $sql = $query_make->delete_query($query_make,\"Supervisor\",$attribute,$value);\n $result = $main_object->exeute_query($main_object,$sql);\n if($result) {\n echo \"delete 2 done \";\n //Thesis Group Info Table \n $attribute = array(\"research_group\");\n $value = array($main_object->research_group);\n $sql = $query_make->delete_query($query_make,\"ThesisGroupInfo\",$attribute,$value);\n $result = $main_object->exeute_query($main_object,$sql);\n if($result) {\n echo \"delete 3 done \";\n //StudentInformation Table \n $attribute = array(\"research_group\");\n $value = array($main_object->research_group);\n $sql = $query_make->delete_query($query_make,\"StudentInformation\",$attribute,$value);\n $result = $main_object->exeute_query($main_object,$sql);\n if($result) {\n echo \"delete 4 done\";\n //ReseachGroupInfo Table \n $attribute = array(\"name\");\n $value = array($main_object->research_group);\n $sql = $query_make->delete_query($query_make,\"ResearchGroupInfo\",$attribute,$value);\n $result = $main_object->exeute_query($main_object,$sql);\n\n if($result) {\n echo \"successful\";\n }\n else {\n echo \"not successful\"; \n }\n }\n else {\n echo \"unsuccessful\";\n }\n\n }\n else {\n echo \"unsuccessful\";\n }\n\n }\n\n }\n else {\n echo \"unsuccessful\"; \n }\n }",
"function delete() {\n\t\t$sql = \"DELETE FROM umgroup\n\t\t\t\tWHERE GpID=?\";\n\t\t\n\t\t \n\t\t$this->ums->query($sql, array($this->GpID));\n\n\t}",
"function batch_delete($datas)\n\t{\n\t\t$ci = &get_instance();\n\t\t$ci->db->trans_strict(TRUE);\n\t\t$ci->db->trans_start();\n\n\t\tif (IS_LOCAL) $ci->load->helper('logger');\n\n\t\tforeach($datas as $table => $condition) {\n\t\t\t$ci->db->delete($table, $condition);\n\n\t\t\tif (IS_LOCAL)\tlogme('DELETE_QUERY', 'info', $ci->db->last_query());\n\t\t}\n\n\t\t$ci->db->trans_complete();\n\t\tif ($ci->db->trans_status() === FALSE)\n\t\t{\n\t\t\tif (IS_LOCAL)\tlogme('ERROR_QUERY', 'info', 'Database Error: '.$ci->db->error()['message']);\n\t\t\treturn [FALSE, ['message' => F::_err_msg('err_commit_data')]];\n\t\t}\n\n\t\treturn [TRUE, NULL];\n\t}",
"public function processGroupBeforeDelete($event)\n {\n $group_id = isset($event->data['aGroup']['Group']['id']) ? $event->data['aGroup']['Group']['id'] : '';\n if (!empty($group_id)) {\n $activityModel = MooCore::getInstance()->getModel('Activity');\n $this->Photo = ClassRegistry::init('Photo.Photo');\n $photos = $this->Photo->getPhotos('Group_Group', $group_id, null, null);\n foreach ($photos as $p) {\n $this->Photo->delete($p['Photo']['id']);\n\n // delete activity comment_add_photo\n $activityModel->deleteAll(array('Activity.item_type' => 'Photo_Photo', 'Activity.action' => 'comment_add_photo', 'Activity.item_id' => $p['Photo']['id']));\n\n // delete activity photos_tag\n $activityModel->deleteAll(array('Activity.item_type' => 'Photo_Photo', 'Activity.action' => 'photos_tag', 'Activity.items' => $p['Photo']['id']));\n }\n }\n }",
"public static function clearout($group_list, $self_id) {\n\t\t$arr = [];\n\t\tforeach ($group_list as $value) {\n\t\t\t$arr[] = $value['group_id'];\n\t\t}\n\t\t$sus = implode(',', $arr);\n\t\t$arr2 = \\app\\v1\\model\\GroupInfoModel::api_release($sus);\n\t\t$arr3 = [];\n\t\tforeach ($arr2 as $value) {\n\t\t\t$arr3[] = $value['group_id'];\n\t\t}\n\t\t$group_ids = implode(',', $arr3);\n\t\tdump($arr2);\n//\t\t\\think\\Db::startTrans();\n//\t\t\\app\\v1\\model\\GroupMemberModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupFunctionOpenModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupKickModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupRecieveModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupRequestModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupSendModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupSignModel::api_deletes($group_ids);\n//\t\t\\app\\v2\\model\\GroupTagModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupBlackListModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupAutoreplyModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupBanModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupBanPermenentModel::api_deletes($group_ids);\n//\t\t\\app\\v1\\model\\GroupInfoModel::api_deletes($group_ids);\n//\t\t\\think\\Db::commit();\n\t\techo 'groupclear';\n\t}",
"public function delete($ids){\n \n $filter = $this->primaryFilter; \n $ids = ! is_array($ids) ? array($ids) : $ids;\n \n foreach ($ids as $id) {\n $id = $filter($id);\n if ($id) {\n $this->db->where($this->primary_key, $id)->limit(1)->delete($this->table_name);\n }\n }\n }",
"public function bulk_destroy(Request $request)\n {\n $banners = Banners::find($request->ids);\n\n foreach ($banners as $item) {\n //languages\n $languages = Language::all();\n if($languages->count()){\n foreach ($request->language as $language) {\n $banners_trans = BannersTrans::where('lang', '=', $language)->where('tid', '=', $item->id)->first();\n\n if($banners_trans) {\n $banners_trans->delete();\n }\n }\n $check_banners_trans = BannersTrans::where('tid', '=', $item->id)->first();\n if(!$check_banners_trans){\n $item->delete();\n }\n }\n // end languages\n }\n \n Flash::success(trans('backend.deleted_successfully'));\n $Currentlanguage = Lang::getLocale();\n return redirect(''.$Currentlanguage.'/admin/banners');\n }",
"function acf_delete_json_field_group($key)\n{\n}",
"function timeconditions_timegroups_del_group($timegroup) {\n\tglobal $db;\n\n\t$sql = \"delete from timegroups_details where timegroupid = $timegroup\";\n\t$db->query($sql);\n\t$sql = \"delete from timegroups_groups where id = $timegroup\";\n\t$db->query($sql);\n\tneedreload();\n}",
"abstract public function deleteAll();",
"protected function applyDelete() {\n\t\t$entity_types = $this->getRegisteredEntityTypes();\n\t\t$tag_names = $this->getTagNames();\n\t\tif (empty($entity_types) || empty($tag_names)) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t$metadata = elgg_get_metadata([\n\t\t\t'type_subtype_pairs' => $entity_types,\n\t\t\t'metadata_names' => $tag_names,\n\t\t\t'metadata_value' => $this->from_tag,\n\t\t\t'metadata_case_sensitive' => false,\n\t\t\t'limit' => false,\n\t\t\t'batch' => true,\n\t\t\t'batch_inc_offset' => false,\n\t\t]);\n\t\t\n\t\tforeach ($metadata as $md) {\n\t\t\t$entity = $md->getEntity();\n\t\t\t$md->delete();\n\t\t\t\n\t\t\t// let system know entity has been updated\n\t\t\t$entity->save();\n\t\t}\n\t\t\n\t\treturn true;\n\t}",
"private function deleteRecords(){\r\n\t\r\n\t\t$fileNames = explode(',', $this->collection['images']);\r\n\t\t// remove imagerecords which are not used anymore\r\n\t\tforeach($this->images as $filename => $image){\r\n\t\t\tif(array_search($filename, $fileNames) === false){\r\n\t\t\r\n\t\t\t\t$this->db->exec_DELETEquery('tx_gorillary_images', \"image='$filename' AND collection='\".$this->collection['uid'].\"'\");\r\n\t\t\t\t//unset ($this->images[$filename]);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public function destroy(Request $request,$id)\n\t{\n\t\t//if the resources to be deleted is grouped\n\t\tif ($id == \"-1\") {\n\t\t\t$body = json_decode($request->getContent());\n\t\t\t$count = count($body);\n\n\t\t\tif ($count > 1) {\n\t\t\t\t$processed_items = 0;\n\n\t\t\t\tforeach ($body as $item) {\n\t\t\t\t\t$query = DB::table('ims_patmeds')->where('ipm_id', $item->ipm_id)->update(['ipm_deletedon' => DB::raw('CURRENT_TIMESTAMP')]);\n\t\t\t\t\t$processed_items += $query;\n\t\t\t\t}\n\t\t\t\tif ($processed_items < $count) {\n\t\t\t\t\tabort(500);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t{\t\n\t\t\t\t$query = DB::table('ims_patmeds')->where('ipm_id', $body[0]->ipm_id)->update(['ipm_deletedon' => DB::raw('CURRENT_TIMESTAMP')]);\n\t\t\t\tif ($query !== 1) {\n\t\t\t\t\tabort(500);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\t$query = DB::table('ims_patmeds')->where('ipm_id', $id)->update(['ipm_deletedon' => DB::raw('CURRENT_TIMESTAMP')]);\n\t\t\tif ($query !== 1) {\n\t\t\t\tabort(500);\n\t\t\t}\n\t\t}\n\t}",
"public function actionBatchDelete() {\n if (($ids = Yii::$app->request->post('ids')) !== null) {\n $models = $this->findModelAll($ids);\n foreach ($models as $model) {\n $model->delete();\n }\n return $this->redirect(['index']);\n } else {\n throw new HttpException(400);\n }\n }",
"public function actionBulkDelete()\n {\n $request = Yii::$app->request;\n $pks = explode(',', $request->post( 'pks' )); // Array or selected records primary keys\n foreach ( $pks as $pk ) {\n $model = $this->findModel($pk);\n $model->delete();\n }\n\n if($request->isAjax){\n /*\n * Process for ajax request\n */\n Yii::$app->response->format = Response::FORMAT_JSON;\n return ['forceClose'=>true,'forceReload'=>'#crud-datatable-pjax'];\n }else{\n /*\n * Process for non-ajax request\n */\n return $this->redirect(['index']);\n }\n\n }"
] |
[
"0.6826499",
"0.6700145",
"0.6628533",
"0.65690523",
"0.64623314",
"0.6420057",
"0.6394605",
"0.62557685",
"0.6226761",
"0.621095",
"0.61776334",
"0.6085563",
"0.6085254",
"0.6034143",
"0.59997356",
"0.59918606",
"0.5939394",
"0.5937838",
"0.59180516",
"0.58817476",
"0.5875083",
"0.58665794",
"0.5865672",
"0.5828785",
"0.5814468",
"0.58083487",
"0.5806968",
"0.58065575",
"0.58018124",
"0.57980335"
] |
0.7642746
|
0
|
get tag_group detail by tag_group_id
|
public function get_tag_group_detail($tag_group_id)
{
$param['tag_group_id'] = $tag_group_id;
$param['delete_flg'] = $this->config->item('not_deleted','common_config');
return $this->Logic_tag->get_tag_group_detail($param);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function _get_group_detail($tag_group_id){\n $param['tag_group_id'] = $tag_group_id;\n $param['delete_flg'] = $this->config->item('not_deleted','common_config');\n $record = $this->Logic_tag->get_group_detail($param);\n if(!empty($record[0])){\n return $record[0];\n }else{\n return false;\n }\n }",
"public function getDetails($group_id);",
"public function findById($group_id);",
"public function getDetail($id){\n //Get detail\n return Group::findOrFail($id);\n }",
"public function getById($group_id)\n {\n return $this->getQuery()->eq('id', $group_id)->findOne();\n }",
"function get_group( $id ) {\r\n global $wpdb;\r\n return $wpdb->get_row( $wpdb->prepare( \"SELECT * FROM {$wpdb->prefix}wpc_client_groups WHERE group_id = %d\", $id ), \"ARRAY_A\");\r\n }",
"public function getGroupDetail($id){\n //Get detail\n return Group::with('contacts')->find($id)->toArray();\n }",
"public static function get($group);",
"function get_group_by_id($group_id) {\n $sql = \"SELECT a.*, portal_nm \n FROM com_group a \n INNER JOIN com_portal b ON a.portal_id = b.portal_id\n WHERE group_id = ?\";\n $query = $this->db->query($sql, $group_id);\n if ($query->num_rows() > 0) {\n $result = $query->row_array();\n $query->free_result();\n return $result;\n } else {\n return array();\n }\n }",
"private function _getTagGroup()\n {\n $tagGroupId = $this->_getTagGroupId();\n\n if ($tagGroupId !== false) {\n return Craft::$app->getTags()->getTagGroupByUid($tagGroupId);\n }\n\n return null;\n }",
"public function getGroup($groupId);",
"public function getGroup();",
"public function getGroup();",
"public function getGroup();",
"function get_category_group()\n\t{\n\t\t// get variables\n\t\t$vars = $this->_get_vars('get', array('group_id'));\n\t\t\n\t\t// start hook\n\t\t$vars = $this->_hook('get_category_group_start', $vars);\n\n\t\t// load channel data library\n\t\t$this->_load_library('channel_data');\n\n\t\t$data = $this->EE->channel_data_lib->get_category_group($vars['group_id'])->result();\n\n\t\t// end hook\n\t\t$data = $this->_hook('get_category_group_end', $data);\n\n\t\t$this->response($data);\n\t}",
"function getGroup() ;",
"function gtags_get_groups_by_tag( $limit = null, $page = null, $user_id = false, $search_terms = false, $group_tag = null ) {\n\tglobal $wpdb, $bp;\n\t$hidden_sql = $search_sql = $tag_sql = $pag_sql = '';\n\t\n\tif ( $limit && $page ) {\n\t\t$pag_sql = $wpdb->prepare( \" LIMIT %d, %d\", intval( ( $page - 1 ) * $limit), intval( $limit ) );\n\t}\n\n\tif ( ! is_user_logged_in() )\n\t\t$hidden_sql = \"AND g.status != 'hidden'\";\n\n\tif ( $search_terms ) {\n\t\t$search_terms = like_escape( $wpdb->escape( $search_terms ) );\n\t\t$search_sql = \" AND ( g.name LIKE '%%{$search_terms}%%' OR g.description LIKE '%%{$search_terms}%%' )\";\n\t}\n\n\tif ( $group_tag ) {\n\t\t$group_tag = like_escape( $wpdb->escape( $group_tag ) );\n\t\t$group_tag = stripslashes($group_tag);\n\t\t$tag_sql = \" AND ( gm3.meta_value LIKE '%%{$group_tag}%%' )\";\n\t}\n\t\n\t$paged_groups = $wpdb->get_results( \"SELECT g.*, gm1.meta_value as total_member_count, gm2.meta_value as last_activity, gm3.meta_value as gtags_group_tags FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2, {$bp->groups->table_name_groupmeta} gm3, {$bp->groups->table_name} g WHERE g.id = gm1.group_id AND g.id = gm2.group_id AND g.id = gm3.group_id AND gm2.meta_key = 'last_activity' AND gm1.meta_key = 'total_member_count' AND gm3.meta_key = 'gtags_group_tags' {$hidden_sql} {$search_sql} {$tag_sql} ORDER BY CONVERT(gm1.meta_value, SIGNED) DESC {$pag_sql}\" );\n\n\t// this is commented out because it doesn't really work due to the over-inclusive issue.\n\t//$total_groups = $wpdb->get_var( \"SELECT COUNT(DISTINCT g.id) FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2, {$bp->groups->table_name_groupmeta} gm3, {$bp->groups->table_name} g WHERE g.id = gm1.group_id AND g.id = gm2.group_id AND g.id = gm3.group_id AND gm2.meta_key = 'last_activity' AND gm1.meta_key = 'total_member_count' AND gm3.meta_key = 'gtags_group_tags' {$hidden_sql} {$search_sql} {$tag_sql}\" ); \n\n\t// loop through results and return only exact matches in comma separated list.\n\t$paged_groups2 = array();\n\t\n\tforeach ( (array)$paged_groups as $group ) {\n\t\t$items = explode( \",\", $group->gtags_group_tags );\n\t\t$match = false;\n\t\tforeach( $items as $item ) {\n\t\t\tif ( trim( strtolower( $item ) ) == strtolower( $group_tag ) ) $match = true; \n\t\t}\n\t\tif ( $match == true ) \n\t\t\t$paged_groups2[] = $group;\n\t}\n\t\n\t$total_groups = count($paged_groups2); // in place of the commented out code above\n\n\tforeach ( (array)$paged_groups2 as $group ) $group_ids[] = $group->id;\n\t$group_ids = $wpdb->escape( join( ',', (array)$group_ids ) );\n\t$paged_groups2 = BP_Groups_Group::get_group_extras( $paged_groups2, $group_ids, 'popular' );\n\n\treturn array( 'groups' => $paged_groups2, 'total' => $total_groups );\n}",
"function gtags_show_groups_for_tag( $groups ) {\n\tglobal $bp, $groups_template, $gtags_done;\n\n\t/*echo '<pre>ajax_querystring: '; print_r( $bp->ajax_querystring ); echo '</pre>';\n\techo '<pre>current_action: '; print_r( $bp->current_action ); echo '</pre>';\n\techo '<pre>POST: '; print_r( $_POST ); echo '</pre>';*/\n\t\n\tif ( isset( $_POST['action'] ) && $_POST['action'] == 'groups_filter' || isset( $_POST['groups_search_submit'] ) /* && $_POST['groups_search_submit'] == 'Search' */ || $gtags_done )\n\t\treturn $groups;\n\t\t\t\n\tif ( isset( $_POST['tag'] ) && $_POST['tag'] )\n\t\t$tag = urldecode( $_POST['tag'] ); // this is what ajax sends if we are in group directory\n\telse if ( $bp->current_action == 'tag' )\n\t\t$tag = urldecode( $bp->action_variables[0] ); // this is for the widget from all other places\n\t\t\t\n\tif ( isset( $tag ) && $tag ) {\n\t\t$gtags_groups = gtags_get_groups_by_tag( null, null, false, false, $tag );\n\t\t$groups_template->groups = $gtags_groups['groups'];\n\t\t// turn off pagination \n\t\t$groups_template->group_count = $gtags_groups['total'];\n\t\t$groups_template->total_group_count = $gtags_groups['total'];\n\t\t$groups_template->pag_num = $gtags_groups['total'];\n\t\t$groups_template->pag_page = 1;\n\t\t$groups_template->pag_links = '';\n\t\t$groups = $gtags_groups;\n\t}\n\n\t//echo '<br><pre> : '; print_r( $groups ); echo '</pre>';\n\t//echo '<pre>'; print_r( $bp->current_action ); echo '</pre>';\n\t//echo '<pre>'; print_r( $bp->action_variables[0] ); echo '</pre>';\n\t\n\t$gtags_done = false; // only run it once, so that the widgets function shows normal groups, not tags.\n\treturn $groups;\n}",
"function &getByGroup( $id )\n {\n $this->dbInit();\n $link_array = array();\n $return_array = array();\n \n $this->Database->array_query( $link_array, \"SELECT ID FROM eZLink_Link WHERE LinkGroup='$id' AND Accepted='Y' ORDER BY Title\" );\n\n for( $i=0; $i < count( $link_array ); $i++ )\n {\n $return_array[] = new eZLink( $link_array[$i][ \"ID\" ] );\n }\n\n\n return $return_array;\n }",
"function get_this_group($grp_id)\n{\n\t$db=new db_util();\n\t$query_string=\"SELECT * FROM vm_group WHERE v_group_id=$grp_id\";\n\t$result=$db->query($query_string);\n\treturn $result;\n}",
"function GetGroup ($id) {\n $path = REST_PATH . 'groups/' . $id . '.xml';\n\n // Call Rest API\n $result = CallRestApi($path);\n \n // Read the returned XML\n $xml = simplexml_load_string($result) or die(\"Error: Cannot create object\");\n\n return $xml;\n}",
"public function getGroup() {}",
"public function getGroup() {}",
"public function getGroup() {}",
"public function getGroup() {}",
"function getGroup() {\n\n\tglobal $db;\n\treturn $db->getGroup ( $GLOBALS [\"targetId\"] );\n\n}",
"public function findByName($group_name);",
"public abstract function getGroup();",
"function fetchGroupDetails($group_id) {\n try {\n global $db_table_prefix;\n\n $db = pdoConnect();\n\n $sqlVars = array();\n\n $query = \"SELECT\n id,\n name,\n is_default,\n can_delete,\n home_page_id\n FROM \".$db_table_prefix.\"groups\n WHERE\n id = :group_id\n LIMIT 1\";\n\n $stmt = $db->prepare($query);\n\n $sqlVars[':group_id'] = $group_id;\n\n if (!$stmt->execute($sqlVars)){\n // Error\n return false;\n }\n\n if (!($results = $stmt->fetch(PDO::FETCH_ASSOC)))\n return false;\n\n $stmt = null;\n\n return $results;\n\n } catch (PDOException $e) {\n addAlert(\"danger\", \"Oops, looks like our database encountered an error.\");\n error_log(\"Error in \" . $e->getFile() . \" on line \" . $e->getLine() . \": \" . $e->getMessage());\n return false;\n } catch (ErrorException $e) {\n addAlert(\"danger\", \"Oops, looks like our server might have goofed. If you're an admin, please check the PHP error logs.\");\n return false;\n }\n}",
"function get_group($id)\n\t{\n\t\treturn get_instance()->kbcore->groups->get($id);\n\t}"
] |
[
"0.8297262",
"0.7239454",
"0.6882552",
"0.6848828",
"0.6757791",
"0.67075676",
"0.66064835",
"0.6604022",
"0.65643096",
"0.65611047",
"0.6521932",
"0.6460279",
"0.6460279",
"0.6460279",
"0.6413978",
"0.63887006",
"0.6359666",
"0.63354754",
"0.632916",
"0.6302792",
"0.6302211",
"0.62596565",
"0.62596565",
"0.62596565",
"0.62596565",
"0.62304413",
"0.6194477",
"0.6165862",
"0.6165382",
"0.61529744"
] |
0.81537664
|
1
|
[get_group_detail] is a function that get tag group information
|
private function _get_group_detail($tag_group_id){
$param['tag_group_id'] = $tag_group_id;
$param['delete_flg'] = $this->config->item('not_deleted','common_config');
$record = $this->Logic_tag->get_group_detail($param);
if(!empty($record[0])){
return $record[0];
}else{
return false;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getDetails($group_id);",
"public function get_tag_group_detail($tag_group_id)\n {\n $param['tag_group_id'] = $tag_group_id;\n $param['delete_flg'] = $this->config->item('not_deleted','common_config');\n return $this->Logic_tag->get_tag_group_detail($param);\n }",
"function getGroup() ;",
"public function getGroup();",
"public function getGroup();",
"public function getGroup();",
"public function getGroup() {}",
"public function getGroup() {}",
"public function getGroup() {}",
"public function getGroup() {}",
"public abstract function getGroup();",
"public function GetGroupDetails(){\n if ($this->get_request_method() != \"POST\") {\n $this->response('', 406);\n }\n $group_id = $_POST['group_id'];\n $authkey = $_POST['authkey'];\n $format = $_POST['format'];\n $this->dbConnect();\n $conn = $this->db;\n $res = new getService();\n if(!empty($group_id) && !empty($authkey)){\n $result = $res->CheckAuthentication('', $authkey, $conn);\n if($result!=false){\n $result=$res->get_group_details($group_id, $conn);\n }\n else{\n $error = array('status' => \"0\",\"msg\" => \"Not authorised to do this\");\n ($_REQUEST['format'] == 'xml') ? $this->response($this->xml($error), 200) : $this->response($this->json($error), 200);\n }\n }\n else{\n $error = array('status' => \"0\", \"msg\" => \"Fill All Fields\");\n ($_REQUEST['format']=='xml')?$this->response($this->xml($error), 200):$this->response($this->json($error), 200);\n }\n }",
"public function getDetail($id){\n //Get detail\n return Group::findOrFail($id);\n }",
"public static function get($group);",
"function get_group_info($user)\n{\n global $group_names, $group_colors, $special_ids;\n\n // get data from group string\n @list($group, $suppl) = @explode(',', make_group_str($user));\n\n // data validation\n $group_default = $group == 2 ? 2 : 0;\n if (is_null($suppl)) {\n $suppl = $group_default;\n }\n $group = $group > count($group_names) - 1 ? 0 : max(0, (int) $group);\n $suppl = $suppl > count($group_names[$group]) - 1 ? $group_default : max(0, (int) $suppl);\n\n // special\n $special_user = in_array(@$user->user_id, $special_ids);\n\n // return data\n $ret = new stdClass();\n $ret->num = $group;\n $ret->num2 = !$special_user ? $suppl : '*';\n $ret->name = $group_names[$group][$suppl];\n $ret->color = !$special_user ? $group_colors[$group][$suppl] : '83C141';\n $ret->str = \"$group,$ret->num2\";\n return $ret;\n}",
"public function getGroup()\n {\n $this->getParam('group');\n }",
"function MyMod_Data_Group_Def_Get($group,$single=FALSE,$echo=True)\n {\n if ($this->MyMod_Data_Group_Singular($single))\n {\n if (!empty($this->ItemDataSGroups[ $group ]))\n {\n return $this->ItemDataSGroups[ $group ];\n }\n }\n else\n {\n if (!empty($this->ItemDataGroups[ $group ]))\n {\n return $this->ItemDataGroups[ $group ];\n }\n }\n\n if ($echo)\n {\n echo $this->ModuleName.\" Warning: Group $group undefined\";\n $this->AddMsg(\"Warning: Group $group undefined\");\n exit();\n }\n\n return array();\n }",
"public function getGroupDetail($id){\n //Get detail\n return Group::with('contacts')->find($id)->toArray();\n }",
"public function detail(): string\n {\n return $this->groupDetail ?? '';\n }",
"abstract protected function getGroupStructure();",
"static function get_apigroup();",
"function _get_group_tags($group=NULL)\n{\n\t$group_tags=array(\n\t\t'dynamic_front_end'=>array('overlay','random','pulse','ticker','shocker','jumping','sections','big_tabs','tabs','carousel','hide','tooltip'),\n\t\t'dynamic_back_end'=>array('currency','if_in_group'),\n\t\t'structure'=>array('title','contents','include','concepts','concept','staff_note','menu','surround'),\n\t\t'formatting'=>array('list','indent','ins','del','b','u','i','s','sup','sub','size','color','highlight','font','align','left','center','right','abbr','box','quote'),\n\t\t'semantic'=>array('cite','samp','q','var','dfn','address'),\n\t\t'display_code'=>array('php','codebox','sql','code','tt','no_parse'),\n\t\t'execute_code'=>array('semihtml','html'),\n\t\t'media'=>array('flash','img'/*Over complex,'upload','exp_thumb','exp_ref'*/,'thumb'),\n\t\t'linking'=>array('url','email','reference','page','snapback','post','topic')\n\t);\n\n\tif (addon_installed('filedump')) $group_tags['media'][]='attachment';\n\n\t// Non-categorised ones\n\t$all_tags=_get_details_comcode_tags();\n\t$not_found=array();\n\tforeach (array_keys($all_tags[0]+$all_tags[1]) as $tag)\n\t{\n\t\tif (in_array($tag,array('exp_thumb','exp_ref','upload','attachment'))) continue; // Explicitly don't want to allow these (attachment will already be listed if allowed)\n\t\tforeach ($group_tags as $_group)\n\t\t{\n\t\t\tif (in_array($tag,$_group))\n\t\t\t{\n\t\t\t\tcontinue 2;\n\t\t\t}\n\t\t}\n\t\t$not_found[]=$tag;\n\t}\n\t$group_tags['CUSTOM']=$not_found;\n\n\tif ($group!==NULL && array_key_exists($group,$group_tags))\n\t\treturn $group_tags[$group];\n\n\treturn $group_tags;\n}",
"function getGroup() {\n\n\tglobal $db;\n\treturn $db->getGroup ( $GLOBALS [\"targetId\"] );\n\n}",
"public function getGroup()\n {\n $ProductGroup = ProductGroup::find($this->group_id); \n \n return $ProductGroup->description;\n }",
"function gtags_group_tags() {\n\techo gtags_get_group_tags();\n}",
"public function getGroup($groupId);",
"function bluegroup_metadata ($group, $attr = null) {\n\t# build the search filter, basedn, and attr list\n\t$filter = \"(cn=$group)\";\n\t$basedn = 'ou=metadata,ou=ibmgroups,o=ibm.com';\n\t$bg_attr = array('cn', 'owner', 'admin', 'expirationdate', 'description', 'viewaccess');\n\n\t# setup ldap connection\n\tif ( ! is_resource($ds) ) {\n\t\tif ( ! $ds = _ldap_connect() )\n\t\t\treturn(false);\n\t}\n\n\t# connect, bind, and search for groups\n\tif (!$sr = @ldap_search($ds, $basedn, $filter, $bg_attr))\n\t\treturn(false);\n\n\t# make sure we got one group back\n\tif ( @ldap_count_entries($ds, $sr) == 0 )\n\t\treturn(false);\n\n\t# extract the meta data\n\tif ( ! $entry = @ldap_first_entry($ds, $sr) )\n\t\treturn(false);\n\n\t$result = array();\n\tforeach ($bg_attr as $a) {\n\t\t$val = @ldap_get_values($ds, $entry, $a);\n\t\tif ($a == 'owner' || $a == 'admin') {\n\t\t\t$result[$a] = $val ? $val : array();\n\t\t\tunset($result[$a]['count']);\n\t\t} else {\n\t\t\t$result[$a] = $val ? $val[0] : null;\n\t\t}\n\t}\n\n\t# get employee info for admin and owner\n\tforeach (array('admin', 'owner') as $a) {\n\t\tif ( ! $result[$a] )\n\t\t\tcontinue;\n\t\t$filter = array_map('_uid_filter', $result[$a]);\n\t\tif ($employees = bluepages_search($filter, $attr))\n\t\t\t$result[$a] = $employees;\n\t}\n\n\t# change expirationdate from YYYYMMDD to a timestamp\n\tif ($result['expirationdate'])\n\t\t$result['expirationdate'] = strtotime($result['expirationdate']);\nreturn($result);\n}",
"public function getDetails($group = 'default') {\n return $this->getPagerArray($group);\n }",
"function get_category_group()\n\t{\n\t\t// get variables\n\t\t$vars = $this->_get_vars('get', array('group_id'));\n\t\t\n\t\t// start hook\n\t\t$vars = $this->_hook('get_category_group_start', $vars);\n\n\t\t// load channel data library\n\t\t$this->_load_library('channel_data');\n\n\t\t$data = $this->EE->channel_data_lib->get_category_group($vars['group_id'])->result();\n\n\t\t// end hook\n\t\t$data = $this->_hook('get_category_group_end', $data);\n\n\t\t$this->response($data);\n\t}",
"private function _getTagGroup()\n {\n $tagGroupId = $this->_getTagGroupId();\n\n if ($tagGroupId !== false) {\n return Craft::$app->getTags()->getTagGroupByUid($tagGroupId);\n }\n\n return null;\n }"
] |
[
"0.774607",
"0.7604742",
"0.7221876",
"0.71788144",
"0.71788144",
"0.71788144",
"0.697128",
"0.697128",
"0.697128",
"0.697128",
"0.6952053",
"0.6771416",
"0.6752883",
"0.6595156",
"0.65370053",
"0.65158105",
"0.64651424",
"0.6427939",
"0.64161664",
"0.64104474",
"0.6388451",
"0.638818",
"0.6355414",
"0.6354314",
"0.6343377",
"0.6317306",
"0.63160366",
"0.6304314",
"0.62481076",
"0.6228398"
] |
0.79707974
|
0
|
Get tag of job view all tag relative job
|
public function get_tag_job($param){
$tag_relation = $this->_get_relation_list($param);
$result = array();
if($tag_relation && ! empty($tag_relation)){
foreach( (array) $tag_relation as $item ){
$tag_id = $item['tag_id'];
$result[] = $this->get_single_detail($tag_id);
}
return $result;
}
return false;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getTag();",
"public function getTag();",
"public function getTag()\n {\n return $this->get('tag');\n }",
"public function getTag()\n {\n return $this->_params['tag'];\n }",
"public function getTag(): string;",
"public function getResultTag();",
"public function jobIdList()\n {\n return Job::all();\n }",
"public function getTag()\n {\n }",
"public function getTag()\n\t{\n\t\treturn $this->data['tag'];\n\t}",
"private function getTag()\n {\n return $this->tag;\n }",
"public function getTag()\n {\n return $this->tag;\n }",
"public function getTag()\n {\n return $this->tag;\n }",
"public function getTag()\n {\n return $this->tag;\n }",
"public function getJob(): string\n {\n return $this->job;\n }",
"public function tag() { return $this->_m_tag; }",
"public function tag() { return $this->_m_tag; }",
"public function tag() { return $this->_m_tag; }",
"public function tag() { return $this->_m_tag; }",
"public function tag() { return $this->_m_tag; }",
"function getJobId() {\n return $this->helper->getJobId();\n }",
"function getJobId() {\n return $this->helper->getJobId();\n }",
"function getJobId() {\n return $this->helper->getJobId();\n }",
"function getJobId() {\n return $this->helper->getJobId();\n }",
"function getJobId() {\n return $this->helper->getJobId();\n }",
"public function getJob()\n\t{\n\t\treturn $this->compose('Job', 'Jobs');\n\t}",
"public function getTag() {\n return $this->_tag;\n }",
"public function jobs()\n {\n return $this->morphedByMany('App\\Job', 'taggable');\n }",
"public function get_tag()\n {\n }",
"public function viewJob()\n {\n $result = Job::paginate(50);\n return view('data.list_job', ['job' => $result]);\n }",
"public function getTagId(){\n return $this->tagId;\n }"
] |
[
"0.602265",
"0.602265",
"0.57935643",
"0.5787981",
"0.5731303",
"0.56354016",
"0.5629452",
"0.56251913",
"0.56201303",
"0.56102294",
"0.5609356",
"0.5609356",
"0.5609356",
"0.5602646",
"0.5596159",
"0.5596159",
"0.5596159",
"0.5596159",
"0.5596159",
"0.5576122",
"0.5576122",
"0.5576122",
"0.5576122",
"0.5576122",
"0.55632687",
"0.55621517",
"0.5561348",
"0.5556246",
"0.55500007",
"0.5549807"
] |
0.6855176
|
0
|
Creates a new relation between variant and attribute.
|
public function createVariantAttributeRelation($productId, array $requestData)
{
$variant = $this->retrieveProductById($productId);
$attribute = $this->retrieveAttributeById($this->getProperty($requestData, 'attributeId'));
// Only add if relation does not already exists.
if (!$variant->getVariantAttributes()->contains($attribute)) {
$variant->addVariantAttribute($attribute);
}
return $variant;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function createRelation()\n {\n $this->createBuilder();\n }",
"public function create()\n {\n $definition = $this->definition->toArray();\n\n if (! isset($definition[$this->type]) || empty($definition[$this->type])) {\n return;\n }\n\n foreach (range(1, $definition[$this->type]['scale'] ?? 1) as $index) {\n $this->relation()->create(\n $this->baseAttributes($index, $definition[$this->type]) +\n $this->attributes($definition)\n );\n }\n }",
"public function createAttribute()\n\t{\n\n\t\t$this->createCustomAttribute($this->attributeName, $this->arguments);\n\n\t}",
"public function variant(){\n return $this->hasOne('Salesfly\\Salesfly\\Entities\\Variant');\n }",
"public static function make(){\n return new Relation();\n }",
"public function newRelation($name)\n\t{\n\t\t// TODO: More options directly in this method\n\t\t\n\t\t$r = new Db_Descriptor_Relation($this);\n\t\t$r->setName($name);\n\t\t$r->setParentDescriptor($this);\n\t\t\n\t\treturn $r;\n\t}",
"function newInstance($language, $variant)\n\t{\t\t\n\t\t// Get its datatype\n\t\t$datatype = $variant->getDatatype();\n\t\t\n\t\t$frontAttributeClassName = $datatype->getDatatype() . \"FrontAttribute\";\t\n\t\t$dinamicCode = \"\\$frontAttribute = new \" . $frontAttributeClassName . \"(\\$language, \\$variant);\";\n\t\t\n\t\t// Dynamically invoke the constructor for a FrontAttribute\n\t\t$frontAttribute = null;\n\t\teval($dinamicCode);\n\t\t\n\t\tif ($frontAttribute == null)\n\t\t\ttrigger_error(\"Cannot instantiate front attribute dynamically: \" . $dinamicCode);\n\t\t\t\n\t\treturn $frontAttribute;\n\t}",
"public function addNewPivot(BelongsToMany $relation, array $attributes): PivotValueable;",
"public function newRelation($array)\n {\n $model = new Relation($array);\n $model->createdAt = new DateTime();\n\n return $model;\n }",
"public function addRelation(RelationInterface $relation);",
"function create_fam_relation($eParent, $personRec, $tag)\n\t{\n\t\t//throw new exception(\"create fam rel - this function is not implemented\");\n\t}",
"public function create(array $attributes): Model {\n $product = $this->model->create($attributes);\n\t\t\n $this->updateOrCreateTranslations($product, $attributes['product_translations']);\n $product->productTags()->attach($attributes['product_tag_ids']);\n\t\t\n return $this->find($product->id);\n }",
"static public function createRelations($new)\n {\n $instruments = self::getInstruments();\n if (!empty($instruments)) {\n foreach ($instruments as $instrument) {\n if ($instrument->getName() != $new->getName()) {\n $relation = new self;\n $relation->setStep($instrument->getStep());\n $relationName = $new->getName() . ucfirst($instrument->getName());\n $relation->setName($relationName);\n $rate = $new->getRate();\n $lastRate = $instrument->getRate();\n $relation->setDelta($rate, $lastRate);\n self::addRelation($relation);\n }\n }\n }\n }",
"public function createRelationship() {\n\t\tthrow new CmisNotImplementedException(\"createRelationship\");\n\t}",
"public function attribute() {\n return $this->belongsTo(Attribute::class);\n }",
"public function attribute()\n {\n return $this->belongsTo(Attribute::class);\n }",
"public function attribute()\n {\n return $this->belongsTo(Attribute::class);\n }",
"public function attribute()\n {\n return $this->belongsTo(Attribute::class);\n }",
"public function aAddTo($attribute, PersistentObject $value)\n {\n Logger::getInstance()->po_log(\"PO:aAddTo $attribute []=\".$value->getClass());\n \n // CHEK: attribute es un atributo hasMany\n \n // Si el rol tiene el nombre de la assoc declarado, necesito ver cual es el nombre\n // completo de la key en hasOne o hasMany porque usa attribute__assocName.\n $attribute = $this->getRoleWithAssocName( $attribute );\n\n\n // TODO: Se podria poner la restriccion de que no se puede hacer set('id', xxx); \n // o sea el id no se puede modificar por el usuario.\n // (asi puedo asumir que si no tiene id es xq no esta guardado... y me ahorro consultar si existe en la base)\n\n // Aqui se hace todo lo del codigo comentado abajo\n $this->lazyLoadHasMany($attribute);\n\n\n // Chekeo de tipos con el tipo definido en hasMany para este atributo.\n \n // Si es colection, se agrega normalmente, \n // si es set se verifica que no hay otro con el mismo id, \n // si es list al salvar y cargar se respeta el orden en el que se agregaron los elementos.\n \n $add = false;\n \n switch ( $this->hasManyType[$attribute] )\n {\n case self::HASMANY_COLLECTION:\n case self::HASMANY_LIST: // Por ahora hace lo mismo que COLECTION, en PM se verificaria el orden.\n \n $add = true;\n \n break;\n case self::HASMANY_SET: // Buscar repetidos por id, si ya esta no agrego de nuevo.\n \n $found = false;\n reset( $this->attributeValues[$attribute] );\n $elem = current( $this->attributeValues[$attribute] );\n while ( $elem )\n {\n if ($elem->getId() === $value->getId() )\n {\n $found = true;\n break; // while\n }\n $elem = next( $this->attributeValues[$attribute] );\n }\n\n $add = !$found; // Agrega solo si no esta.\n\n break;\n }\n\n if ($add)\n {\n $this->attributeValues[$attribute][] = $value; // TODO: Verificar que args0 es un PersistentObject y es simple!\n // FIXME: bool is_subclass_of ( mixed $object, string $class_name )\n $this->dirtyMany = true; // Marca como editado el hasMany\n }\n }",
"function generateVariationsFromAttributes(ProductAttributeType $attributetype, array $values){\r\n\r\n\t\t//TODO: introduce transactions here, in case objects get half made etc\r\n\r\n\t\t//if product has variation attribute types\r\n\t\tif(is_array($values)){\r\n\t\t\t//TODO: get values dataobject set\r\n\t\t\t$avalues = $attributetype->convertArrayToValues($values);\r\n\t\t\t$existingvariations = $this->owner->Variations();\r\n\t\t\tif($existingvariations->exists()){\r\n\t\t\t\t//delete old variation, and create new ones - to prevent modification of exising variations\r\n\t\t\t\tforeach($existingvariations as $oldvariation){\r\n\t\t\t\t\t$oldvalues = $oldvariation->AttributeValues();\r\n\t\t\t\t\tif($oldvalues) {\r\n\t\t\t\t\t\tforeach($avalues as $value){\r\n\t\t\t\t\t\t\t$newvariation = $oldvariation->duplicate();\r\n\t\t\t\t\t\t\t$newvariation->InternalItemID = $this->owner->InternalItemID.'-'.$newvariation->ID;\r\n\t\t\t\t\t\t\t$newvariation->AttributeValues()->addMany($oldvalues);\r\n\t\t\t\t\t\t\t$newvariation->AttributeValues()->add($value);\r\n\t\t\t\t\t\t\t$newvariation->write();\r\n\t\t\t\t\t\t\t$existingvariations->add($newvariation);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$existingvariations->remove($oldvariation);\r\n\t\t\t\t\t$oldvariation->AttributeValues()->removeAll();\r\n\t\t\t\t\t$oldvariation->delete();\r\n\t\t\t\t\t$oldvariation->destroy();\r\n\t\t\t\t\t//TODO: check that old variations actually stick around, as they will be needed for past orders etc\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tif($avalues) {\r\n\t\t\t\t\tforeach($avalues as $value){\r\n\t\t\t\t\t\t$variation = new ProductVariation();\r\n\t\t\t\t\t\t$variation->ProductID = $this->owner->ID;\r\n\t\t\t\t\t\t$variation->Price = $this->owner->Price;\r\n\t\t\t\t\t\t$variation->write();\r\n\t\t\t\t\t\t$variation->InternalItemID = $this->owner->InternalItemID.'-'.$variation->ID;\r\n\t\t\t\t\t\t$variation->AttributeValues()->add($value); //TODO: find or create actual value\r\n\t\t\t\t\t\t$variation->write();\r\n\t\t\t\t\t\t$existingvariations->add($variation);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public function fromRelation(MapperInfo $info, ObjectPropertyInfo $relation);",
"public function relation(string $source, string $target): ISchemaBuilder;",
"public function create(array $data) : OrderProductAttribute;",
"protected function subRelation(): RelationInterface\n {\n /** @var array{entity:class-string<L>} $infos */\n $infos = $this->map($this->discriminatorValue);\n\n $relation = $this->local->repository($infos['entity'])\n ->relation($this->attributeAim);\n\n // TODO doit on redescendre les options sur la relation ?\n\n return $relation;\n }",
"public function createSupplier($attributes);",
"protected function createRelationHandlerInstance() {}",
"function create_product_attribute_term( $term_name, $attribute_name ) {\n\tif ( wp_insert_term( $term_name, $attribute_name ) ) {\n\t\twisync_admin_notice__success( $term_name . ' added to Product Attributes.' );\n\t} else {\n\t\twisync_admin_notice__error( 'Failed to add ' . $term_name . ' to Product Attributes.' );\n\t}\n}",
"protected function initializeAttributes() {\n\t\tparent::initializeAttributes();\n\n\t\t$this->attributes['subtype'] = 'procuralog';\n\t}",
"public function create(array $attributes) : Model;",
"public function attributes() {\n return $this->hasMany('App\\Models\\ProductAttribute');\n }"
] |
[
"0.60578245",
"0.600295",
"0.5491731",
"0.54072374",
"0.5393067",
"0.5313739",
"0.53119814",
"0.5305044",
"0.5285786",
"0.52590024",
"0.5216837",
"0.5209493",
"0.51789",
"0.51435274",
"0.50953853",
"0.50603336",
"0.50603336",
"0.50603336",
"0.5028011",
"0.5025301",
"0.49866867",
"0.4984229",
"0.497433",
"0.4954265",
"0.49537647",
"0.4940406",
"0.49350235",
"0.492787",
"0.49179247",
"0.49153528"
] |
0.691138
|
0
|
Get the Current / Last Modifed Date of the Login Security Reset File
|
function bps_getLoginSecurityResetFileLastMod() {
$filename = WP_CONTENT_DIR . '/bps-backup/master-backups/Login-Security-Alert-Reset.txt';
$gmt_offset = get_option( 'gmt_offset' ) * 3600;
if ( file_exists($filename) ) {
$last_modified = date("F d Y H:i:s", filemtime($filename) + $gmt_offset );
return $last_modified;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getLastResetDate()\n {\n return $this->get(self::_LAST_RESET_DATE);\n }",
"public function getLastLoginDateAndTime() {}",
"public static function getProfilePasswordChangeDate()\n {\n return self::getProfile()->getPasswordResetKeyDate();\n }",
"public function GetLoginDate()\n\t\t{\n\t\t\tif (isset($_SESSION[\"LoginDate\"])) return '+'.$_SESSION['LoginDate'];\n\t\t\telse return null;\n\t\t}",
"public function getLastLoginDate()\n {\n return $this->get(self::_LAST_LOGIN_DATE);\n }",
"public function getLastLoginDate()\n {\n return $this->lastLoginDate;\n }",
"public function getLastUpdateDateTime() {\n\t\t// open file\n\t\t$lastUpdateStorageFile = fopen($this::LAST_UPDATE_STORAGE_FILE, $this::FILE_READ_ONLY_MODE);\n\t\n\t\t// read the first and unique line\n\t\t$lastUpdateDateTime = fgets($lastUpdateStorageFile);\n\t\n\t\t// Close the file\n\t\tfclose($lastUpdateStorageFile);\n\t\n\t\treturn $lastUpdateDateTime;\n\t}",
"public function getModDate();",
"public function getLastModifiedDate() {\n\t\treturn date(\"d/m/Y\", strtotime($this->lastModifiedDate));\n\t}",
"public function getDateLastLogin() {\n return $this->dateLastLogin;\n }",
"public function getLastAccessDate();",
"public function getModifiedDate()\n {\n $this->modified_date = null;\n\n if ($this->exists === true) {\n } else {\n return;\n }\n\n if ($this->is_file === true) {\n } else {\n return;\n }\n\n $this->modified_date =\n $this->temp_files[$this->path]->year . '-' .\n $this->temp_files[$this->path]->month . '-' .\n $this->temp_files[$this->path]->day . ' ' .\n $this->temp_files[$this->path]->time;\n\n return;\n }",
"public function last_pass_change() \n {\n global $_SESSION;\n \n $date = date('Y-m-d H:i:s');\n \n $db = new ossim_db();\n $conn = $db->connect();\n \n $pass = md5($this->pass);\n $login = $this->login;\n \n $params = array($login, $pass);\n $query = 'SELECT * FROM users WHERE login = ? AND pass = ?';\n \n $rs = $conn->Execute($query, $params);\n \n if (!$rs) \n {\n Av_exception::write_log(Av_exception::DB_ERROR, $conn->ErrorMsg()); \n } \n else\n {\n if (!$rs->EOF) \n { \n $date = $rs->fields['last_pass_change'];\n }\n }\n \n $db->close();\n \n return $date;\n }",
"public function getLastLogin() {\n\n $lastLoginDateTime = \\DateTime::createFromFormat('Y-m-d H:i:s', $this->last_login);\n return $lastLoginDateTime;\n\n }",
"function getLastModified()\n {\n $this->loadStats();\n return $this->stat['mtime'];\n }",
"public function getModDate() \r\n { \r\n return $this->_modDate; \r\n }",
"public function getLastResetTime()\n {\n return $this->get(self::_LAST_RESET_TIME);\n }",
"function getLastModifiedDate() {\n\t\treturn $this->data_array['last_modified_date'];\n\t}",
"public function lastLoginTime();",
"public function getModate()\n {\n return $this->modate;\n }",
"public function last_modified() {\n\t\treturn $this->timestamp;\n\t}",
"public function getLastModified() {\n\t\treturn filemtime($this->filename);\n\t}",
"public function getLastLoginAt();",
"public function getLastModificationDateTime() {\n $timestamp = $this->getUpdatedAt();\n // we don't know when the module content is updated, so we \"guess\"\n if ($this->getModule() != '') {\n $timestamp->setDate(date('Y'), date('m'), date('d'));\n }\n return $timestamp;\n }",
"function getLastModified() {\n\t\treturn $this->getData('lastModified');\n\t}",
"function get_date_mod(){\n\treturn date (\"F d Y H:i:s.\", filemtime(lastModifiedInFolder(ABSPATH . 'wp-content/')));\n}",
"public function getLastModifiedAt()\n {\n return $this->lastModifiedAt;\n }",
"public function getLastModifiedAt()\n {\n return $this->lastModifiedAt;\n }",
"public function getLastModifiedAt()\n {\n return $this->lastModifiedAt;\n }",
"public function getLastModifiedAt()\n {\n return $this->lastModifiedAt;\n }"
] |
[
"0.69483405",
"0.6902033",
"0.6838497",
"0.6820241",
"0.67112017",
"0.66996187",
"0.6680103",
"0.65755004",
"0.6570192",
"0.6565125",
"0.65309167",
"0.64795005",
"0.64784145",
"0.6456199",
"0.6420966",
"0.6382543",
"0.63781154",
"0.6372934",
"0.63573664",
"0.631877",
"0.6310324",
"0.63088834",
"0.6296487",
"0.6273882",
"0.62656915",
"0.62442964",
"0.6242869",
"0.6242869",
"0.6242869",
"0.6242869"
] |
0.7533037
|
0
|
Lists all deplacement entities.
|
public function indexAction()
{
$em = $this->getDoctrine()->getManager();
$deplacements = $em->getRepository('BackOfficeBundle:Deplacement')->findAll();
return $this->render('BackOfficeBundle:Deplacement:index.html.twig', array(
'deplacements' => $deplacements,
));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function listaAll() {\n require ROOT . \"config/bootstrap.php\";\n return $em->getRepository('models\\Equipamentos')->findby(array(), array(\"id\" => \"DESC\"));\n $em->flush();\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('SuperAdminBundle:Departamento')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function getEntities()\n {\n return $this->getRepository()->findBy([], ['discipline' => 'ASC']);\n }",
"public function listDemarcaciones()\n {\n $list_demarcaciones = \\common\\models\\autenticacion\\Demarcaciones::find()->all();\n\n return $list_demarcaciones;\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $deces = $em->getRepository('MairieMairieBundle:Deces')->findAll();\n\n return $this->render('deces/index.html.twig', array(\n 'deces' => $deces,\n ));\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('HaccoDeeeBundle:DevisSetup')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function getAll(){\n\t\t$tabDemandes = [];\n\t\t$q = $this->pdo->query(\"SELECT * FROM demande\");\n\t\twhile ($donnee = $q->fetch(PDO::FETCH_ASSOC)) {\n\t\t\t$tabDemandes[] = new Demande($donnee);\n\t\t}\n\t\treturn $tabDemandes;\n\t}",
"protected function displayEntities()\n {\n $enities = $this->_proxyObject->getEntities();\n echo \"<br><br><table align=\\\"center\\\" style=\\\"font-family: Calibri; \"\n . \"width: 95%\\\">\";\n echo \"<tr><td align=\\\"center\\\" style=\\\"font-family: Calibri; \"\n . \"background-color: #97CC00\\\">Entities</td></tr>\";\n foreach ($enities as $entity)\n {\n echo \"<tr ><td style=\\\"font-family: Calibri; \"\n . \"background-color: #99CCFF\\\" border=\\\"1\\\">\";\n echo \"<a href=\\\"\" . $this->_containerScriptName . \"?query=\"\n . $entity\n . '&pagingAllowed=true'\n . \"&serviceUri=\"\n . $this->_uri\n . \"\\\">\"\n . $entity . \"</a>\";\n echo \"</td></tr>\";\n }\n echo \"</table><br><br>\";\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $districts = $em->getRepository('adminBundle:districts')->findAll();\n\n return $this->render('districts/index.html.twig', array(\n 'districts' => $districts,\n ));\n }",
"public function index()\n {\n return Departments::all();\n }",
"public function indexAction() {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('BackOfficebackBundle:Extraitnaissances')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $etablissements = $em->getRepository('AppBundle:Etablissements')->findAllWithCountry();\n\n return $this->render('etablissements/index.html.twig', array(\n 'etablissements' => $etablissements,\n ));\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n $entities = $em->getRepository('QihooToolBundle:AutoDownUrl')->getAllList();\n return array(\n 'entities' => $entities,\n );\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('KbhGestionCongesBundle:Entreprise')->findAll();\n\n return $this->render('KbhGestionCongesBundle:Admin\\Entreprise:index.html.twig', array(\n 'entities' => $entities,\n ));\n }",
"public function get_entities();",
"public function getAllEntities();",
"public function indexAction() {\n\n $user = $this->getUser();\n if (!$user) {\n return $this->render('AeagDieBundle:Default:interdit.html.twig');\n }\n $session = $this->get('session');\n $session->set('menu', 'Admin');\n $session->set('controller', 'Demande');\n $session->set('fonction', 'index');\n $em = $this->get('doctrine')->getManager('die');\n\n $repoDemande = $em->getRepository('AeagDieBundle:Demande');\n\n $entities = $repoDemande->getDemandes();\n\n return $this->render('AeagDieBundle:Demande:index.html.twig', array(\n 'entities' => $entities\n ));\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getEntityManager();\n\n $entities = $em->getRepository('JetBredaBundle:Alquiler')->findAll();\n\n return array('entities' => $entities);\n }",
"public function showAllAction( Request $request)\n { $em = $this->getDoctrine()->getManager();\n\n $entrepots = $em->getRepository('GererEntrepotBundle:Entrepot')->findAll();\n\n\n return $this->render('@GererEntrepot/admin/index.html.twig', array(\n 'entrepots' => $entrepots,\n ));\n\n }",
"public function indexAction()\r\n {\r\n $em = $this->getDoctrine()->getManager();\r\n\r\n $entities = $em->getRepository('GaleriasBundle:Galeria')->findAll();\r\n\r\n return array(\r\n 'entities' => $entities,\r\n );\r\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('MinsalsifdaBundle:SifdaEquipoTrabajo')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager(\"ms_haberes_web\");\n\n $entities = $em->getRepository('LiquidacionesCuposAnualesBundle:Liquidaciones')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('AppProductBundle:FrontBottom')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function listeEpciAction(){\n $this->denyAccessUnlessGranted('ROLE_ADMIN', 'Vous n\\'avez pas accès à cette page' );\n $em = $this->getDoctrine()->getManager();\n\n $listeEpci = $em->getRepository('LSIMarketBundle:Epci')->findAllEpci();\n //dump($listeEpci);\n\n return $this->render('@LSIMarket/admin/gestion_epci/liste_epci.html.twig', array('listeepci' => $listeEpci));\n }",
"public function getEntities();",
"public function getEntities();",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $droits = $em->getRepository('AppBundle:Droits')->findAll();\n\n return $this->render('droits/index.html.twig', array(\n 'droits' => $droits,\n ));\n }",
"public function indexAction()\n {\n $em = $this->getDoctrine()->getManager();\n\n $entities = $em->getRepository('MrsBlogBundle:Cidades')->findAll();\n\n return array(\n 'entities' => $entities,\n );\n }",
"public function getAllDecoupage() {\n $qb = $this->createQueryBuilder('e')\n ->where('e.etatDecoupage != ' . TypeEtat::SUPPRIME);\n // ->orderBy('e.typeDecoupage', 'ASC');\n return $qb->getQuery()->getResult();\n }",
"function ccdev_hosting_list_entities() {\n module_load_include('inc','ccHosting','includes/entity_load');\n module_load_include('inc','ccHosting','includes/lib');\n global $user;\n\n ctools_include('modal');\n ctools_modal_add_js();\n\n $content = array();\n $rows = array();\n\n $header = array(\n 'site_name' => array(\n 'data' => t('Site Name'),\n 'type' => 'property',\n 'specifier' => 'site_name',\n 'field' => 'site_name'\n ),\n 'site_description' => array(\n 'data' => t('Description'),\n 'type' => 'property',\n 'specifier' => 'total_balance',\n 'field' => 'total_balance'\n ),\n 'site_domain' => array(\n 'data' => t('Domain'),\n 'type' => 'property',\n 'specifier' => 'site_domain',\n 'field' => 'site_domain'\n ),\n 'site_cms' => array(\n 'data' => t('CMS'),\n 'type' => 'property',\n 'specifier' => 'site_cms',\n 'field' => 'site_cms'\n ),\n );\n\n\n $entities = ccdev_hosting_load_multiple(FALSE, array(), FALSE, $header);\n if (!empty($entities)) {\n foreach ($entities as $entity) {\n\tif($user->uid == $entity->user_id || user_access('administer ccdev_hosting entities')) {\n\t // Create tabular rows for our entities.\n\t $rows[] = array(\n\t\t'data' => array(\n\t\t'site_name' => l($entity->site_name, 'ccMods/ccHosting/basic/' . $entity->site_name),\n\t\t'site_description' => $entity->site_description,\n\t\t'site_domain' => $entity->site_domain,\n\t\t'site_cms' => $entity->site_cms,\n\t\t'manage' => _ccHosting_make_link(array('site_id' => $entity->basic_id,'title' => 'Manage')),\n\t\t),\n\t );\n\t}\n }\n\n // Put our entities into a themed table. See theme_table() for details.\n $content['entity_table'] = array(\n '#theme' => 'table',\n '#rows' => $rows,\n '#header' => $header,\n '#attributes' => array(\n 'id' => 'sort-table')\n );\n\n //Add pagination to table\n $content['pager'] = array(\n '#theme' => 'pager');\n\n }\n else {\n // There were no entities. Tell the user.\n $content[] = array(\n '#type' => 'item',\n '#markup' => t('No ccdev_hosting entities currently exist.'),\n );\n }\n return $content;\n}"
] |
[
"0.6316794",
"0.6211428",
"0.59858936",
"0.5865503",
"0.58461773",
"0.57951593",
"0.5793714",
"0.57840765",
"0.5778971",
"0.5771979",
"0.5747771",
"0.5693437",
"0.56683064",
"0.5663307",
"0.5658475",
"0.5657051",
"0.56505847",
"0.56137764",
"0.5567446",
"0.5548945",
"0.5545457",
"0.55437595",
"0.55402684",
"0.5537266",
"0.55333066",
"0.55333066",
"0.5520083",
"0.5515223",
"0.549373",
"0.54899955"
] |
0.72455657
|
0
|
Set query components in an array w/ elements "sort", "limit", "where" No return value, sets flexigrid::$query_components[]
|
private function set_query_components() {
$start = (($this->page-1) * $this->rp);
if($this->query) {
$this->query_components['where'] = " WHERE $qtype LIKE '%".mysql_real_escape_string($query)."%' ";
}
else {
$this->query_componenets['where'] = "";
}
$this->query_components['sort'] = "ORDER BY {$this->sortname} {$this->sortorder}";
$this->query_components['limit'] = "LIMIT $start, {$this->rp}";
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setQuery(array $query);",
"public function getQueryComponents(): array;",
"public function components() {\r\n\t\t$components = new Dbi_Model_QueryComponents();\r\n\t\t$components->table = $this->name();\r\n\t\t$components->where = $this->_wheres;\r\n\t\t$components->fields = $this->_fields;\r\n\t\t$components->subqueries = $this->_subqueries;\r\n\t\t$components->innerJoins = $this->_innerJoins;\r\n\t\t$components->leftJoins = $this->_leftJoins;\r\n\t\t$components->rightJoins = $this->_rightJoins;\r\n\t\t$components->orders = $this->_orders;\r\n\t\t$components->limit = $this->_limit;\r\n\t\t$components->groups = $this->_group;\r\n\t\t$components->having = $this->_haves;\r\n\t\t$components->calculated = $this->_calculated;\r\n\t\treturn $components;\r\n\t}",
"public function setQuery(array $query)\n {\n $this->_query = new ExtArray($query);\n\n return $this;\n }",
"protected function setFilterArray() {\n $primary_keys = getPrimaryKeys($this->table_name);\n foreach ($primary_keys as $pk) {\n if (isset($_GET[$pk])) {\n $this->filter[$pk] = Mysql::SQLValue($_GET[$pk]);\n }\n }\n }",
"function setParamsToSaveQuery()\n {\n \n \n if($this->form->getQuery())\n {\n $stringTmp=$this->form->getQuery()->getSqlQuery();\n $stringTmp=substr($stringTmp, strpos($stringTmp,' FROM ' ));\n $stringTmp=substr($stringTmp, 0, strpos($stringTmp,' LIMIT ' ));\n $this->getUser()->setAttribute('queryToSaveWhere', $stringTmp);\n }\n \n if($this->form->getQuery()->getParams())\n {\n $stringTmp=\"\";\n $arrayTmp=$this->form->getQuery()->getParams();\n if(isset($arrayTmp['where']))\n {\n foreach($arrayTmp['where'] as $key=>$value)\n {\n $stringTmp.=\";|\".$value.\"|\";\n }\n $this->getUser()->setAttribute('queryToSaveParams', $stringTmp);\n }\n }\n return;\n }",
"private function initQuery()\n {\n $this->_lastSql = null;\n $this->_limit = null;\n $this->_offset = null;\n $this->_order = array();\n $this->_group = array();\n $this->_table = null;\n $this->_stmt = null;\n\n $this->fromStates = array();\n $this->selectFields = array();\n $this->whereStates = array();\n $this->havingStates = array();\n $this->values = array();\n $this->joinStates = array();\n }",
"function fetch_query_array(){\n $queryAccessor = new Queries();\n $cumColRptquery = $queryAccessor::getSumColRpt();\n $VSClassesquery = $queryAccessor::getVSClasses();\n $PSUClassesquery = $queryAccessor::getPSUClasses();\n $VSInfoquery = $queryAccessor::getVSInfo();\n $PSUInfoquery = $queryAccessor::getPSUInfo();\n $creditBreakdownquery = $queryAccessor::getCreditBreakdown();\n return array(\n $cumColRptquery,\n $VSClassesquery,\n $PSUClassesquery,\n $VSInfoquery,\n $PSUInfoquery,\n $creditBreakdownquery\n );\n}",
"abstract protected function initQuery(): void;",
"public function setGridQuery ($value)\r\n\t{\r\n\t\t$this->gridQuery = $value;\r\n\t}",
"function getListQuery() \n\t{\n\t\t$db = JFactory::getDBO();\n\t\t$query = $db->getQuery(true);\n\t\t\n\t\t$query->select('<#= Value(\"Task.tableAlias\") #>.*');\n\t\t$query->from('#__<#= Value(\"Task.table\") #> AS <#= Value(\"Task.tableAlias\") #>');\n\t\t\n\t\t// Filter by search in fields\n\t\t$search = $this->getState('filter.search');\n\t\t$search_filter = $this->getState('search.filter');\n\t\tif (!empty($search) && !empty($search_filter)) {\n\t\t\t$where = '((0=1) ';\n\t\t\t$search = $db->Quote('%'.$db->getEscaped($search, true).'%');\n\t\t\t$allowedSearch = explode(',', $search_filter);\n\t\t\tforeach($allowedSearch as $field) {\n\t\t\t\tif (!$field) continue;\n\t\t\t\t$where .= \" OR ( $field LIKE $search ) \";\n\t\t\t}\n\t\t\t$where .= ')';\n\t\t\t$query->where($where);\n\t\t}\n\t\t\t\n\t\t$form = $this->getForm(array(), false);\n\t\tforeach ($form->getFieldset('select_lists') as $field) {\n\t\t\t$select = $form->getFieldAttribute($field->name, 'select', null);\n\t\t\tif(!is_null($select)) {\n\t\t\t\t$query->select($select);\t\t\t\t\n\t\t\t}\n\t\t\t$join = $form->getFieldAttribute($field->name, 'join', null);\n\t\t\tif(!is_null($join)) {\n\t\t\t\t$query->join('LEFT',$join);\t\t\t\t\n\t\t\t}\n\t\t\t$field_value = $this->getState(str_replace('_', '.', $field->name), NULL);\n\t\t\t//Check that the field was set in the state variables and user has selected\n\t\t\t//a filter.\n\t\t\tif(!is_null($field_value) && $field_value !== '') {\n\t\t\t\t$field_where = $form->getFieldAttribute($field->name, 'where', null);\n\t\t\t\tif(!is_null($field_where)) {\n\t\t\t\t\t$query->where(str_replace('{0}', $db->quote($field_value), $field_where));\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\t$field_name = $form->getFieldAttribute($field->name, 'key_field', null);\n\t\t\t\t\t//Key field should always exist.\n\t\t\t\t\t$query->where(\"<#= Value(\"Task.tableAlias\") #>.$field_name = \" . $db->quote($field_value));\t\t\t\t\t\t\n\t\t\t\t}\t\t\t\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\t// Add the list ordering clause.\n\t\t$orderCol\t= $this->state->get('list.ordering');\n\t\t$orderDirn\t= $this->state->get('list.direction');\n\t\t$query->order($db->getEscaped($orderCol.' '.$orderDirn));\n\t\t\n\t\treturn $query;\n\t}",
"public function prepareQuery()\n {\n $query = $this->model->newQuery();\n $primaryTable = $this->model->getTable();\n $selects = [$primaryTable.'.*'];\n $joins = [];\n $withs = [];\n\n /**\n * @event backend.list.extendQueryBefore\n * Provides an opportunity to modify the `$query` object before the List widget applies its scopes to it.\n *\n * Example usage:\n *\n * Event::listen('backend.list.extendQueryBefore', function($listWidget, $query) {\n * $query->whereNull('deleted_at');\n * });\n *\n * Or\n *\n * $listWidget->bindEvent('list.extendQueryBefore', function ($query) {\n * $query->whereNull('deleted_at');\n * });\n *\n */\n $this->fireSystemEvent('backend.list.extendQueryBefore', [$query]);\n\n /*\n * Prepare searchable column names\n */\n $primarySearchable = [];\n $relationSearchable = [];\n\n $columnsToSearch = [];\n if (!empty($this->searchTerm) && ($searchableColumns = $this->getSearchableColumns())) {\n foreach ($searchableColumns as $column) {\n /*\n * Related\n */\n if ($this->isColumnRelated($column)) {\n $table = $this->model->makeRelation($column->relation)->getTable();\n $columnName = isset($column->sqlSelect)\n ? DbDongle::raw($this->parseTableName($column->sqlSelect, $table))\n : $table . '.' . $column->valueFrom;\n\n $relationSearchable[$column->relation][] = $columnName;\n }\n /*\n * Primary\n */\n else {\n $columnName = isset($column->sqlSelect)\n ? DbDongle::raw($this->parseTableName($column->sqlSelect, $primaryTable))\n : DbDongle::cast(Db::getTablePrefix() . $primaryTable . '.' . $column->columnName, 'TEXT');\n\n $primarySearchable[] = $columnName;\n }\n }\n }\n\n /*\n * Prepare related eager loads (withs) and custom selects (joins)\n */\n foreach ($this->getVisibleColumns() as $column) {\n\n // If useRelationCount is enabled, eager load the count of the relation into $relation_count\n if ($column->relation && @$column->config['useRelationCount']) {\n $query->withCount($column->relation);\n }\n\n if (!$this->isColumnRelated($column) || (!isset($column->sqlSelect) && !isset($column->valueFrom))) {\n continue;\n }\n\n if (isset($column->valueFrom)) {\n $withs[] = $column->relation;\n }\n\n $joins[] = $column->relation;\n }\n\n /*\n * Add eager loads to the query\n */\n if ($withs) {\n $query->with(array_unique($withs));\n }\n\n /*\n * Apply search term\n */\n $query->where(function ($innerQuery) use ($primarySearchable, $relationSearchable, $joins) {\n\n /*\n * Search primary columns\n */\n if (count($primarySearchable) > 0) {\n $this->applySearchToQuery($innerQuery, $primarySearchable, 'or');\n }\n\n /*\n * Search relation columns\n */\n if ($joins) {\n foreach (array_unique($joins) as $join) {\n /*\n * Apply a supplied search term for relation columns and\n * constrain the query only if there is something to search for\n */\n $columnsToSearch = array_get($relationSearchable, $join, []);\n\n if (count($columnsToSearch) > 0) {\n $innerQuery->orWhereHas($join, function ($_query) use ($columnsToSearch) {\n $this->applySearchToQuery($_query, $columnsToSearch);\n });\n }\n }\n }\n\n });\n\n /*\n * Custom select queries\n */\n foreach ($this->getVisibleColumns() as $column) {\n if (!isset($column->sqlSelect)) {\n continue;\n }\n\n $alias = $query->getQuery()->getGrammar()->wrap($column->columnName);\n\n /*\n * Relation column\n */\n if (isset($column->relation)) {\n\n // @todo Find a way...\n $relationType = $this->model->getRelationType($column->relation);\n if ($relationType == 'morphTo') {\n throw new ApplicationException('The relationship morphTo is not supported for list columns.');\n }\n\n $table = $this->model->makeRelation($column->relation)->getTable();\n $sqlSelect = $this->parseTableName($column->sqlSelect, $table);\n\n /*\n * Manipulate a count query for the sub query\n */\n $relationObj = $this->model->{$column->relation}();\n $countQuery = $relationObj->getRelationExistenceQuery($relationObj->getRelated()->newQueryWithoutScopes(), $query);\n\n $joinSql = $this->isColumnRelated($column, true)\n ? DbDongle::raw(\"group_concat(\" . $sqlSelect . \" separator ', ')\")\n : DbDongle::raw($sqlSelect);\n\n $joinSql = $countQuery->select($joinSql)->toSql();\n\n $selects[] = Db::raw(\"(\".$joinSql.\") as \".$alias);\n }\n /*\n * Primary column\n */\n else {\n $sqlSelect = $this->parseTableName($column->sqlSelect, $primaryTable);\n $selects[] = DbDongle::raw($sqlSelect . ' as '. $alias);\n }\n }\n\n /*\n * Apply sorting\n */\n if (($sortColumn = $this->getSortColumn()) && !$this->showTree) {\n if (($column = array_get($this->allColumns, $sortColumn)) && $column->valueFrom) {\n $sortColumn = $this->isColumnPivot($column)\n ? 'pivot_' . $column->valueFrom\n : $column->valueFrom;\n }\n\n // Set the sorting column to $relation_count if useRelationCount enabled\n if (isset($column->relation) && @$column->config['useRelationCount']) {\n $sortColumn = $column->relation . '_count';\n }\n\n $query->orderBy($sortColumn, $this->sortDirection);\n }\n\n /*\n * Apply filters\n */\n foreach ($this->filterCallbacks as $callback) {\n $callback($query);\n }\n\n /*\n * Add custom selects\n */\n $query->addSelect($selects);\n\n /**\n * @event backend.list.extendQuery\n * Provides an opportunity to modify and / or return the `$query` object after the List widget has applied its scopes to it and before it's used to get the records.\n *\n * Example usage:\n *\n * Event::listen('backend.list.extendQuery', function($listWidget, $query) {\n * $newQuery = MyModel::newQuery();\n * return $newQuery;\n * });\n *\n * Or\n *\n * $listWidget->bindEvent('list.extendQuery', function ($query) {\n * $query->whereNull('deleted_at');\n * });\n *\n */\n if ($event = $this->fireSystemEvent('backend.list.extendQuery', [$query])) {\n return $event;\n }\n\n return $query;\n }",
"public function newQuery()\n\t{\n\t\treturn array(\n\t\t\t'terms' => '',\n\t\t\t'query' => array(\n\t\t\t\t'facets' => '*',\n\t\t\t),\n\t\t);\n\t}",
"public function composeQuery()\n {\n $this->initQueryBody();\n if ($this->selectedFields) {\n array_set($this->queryBody, 'body._source', $this->selectedFields);\n $this->clearSelect();\n }\n if ($this->range) {\n $filter = array_get($this->queryBody, 'body.query.bool.filter');\n array_push($filter, $this->range);\n array_set($this->queryBody, 'body.query.bool.filter', $filter);\n\n }\n if ($this->terms) {\n foreach($this->terms as $condition => $conditionTerms) {\n $$condition = array_get($this->queryBody, \"body.query.bool.{$condition}\");\n $$condition = $$condition ?: [];\n foreach ($conditionTerms as $key => $value) {\n array_push($$condition, [\"term\" => [$key => $value]]);\n }\n array_set($this->queryBody, \"body.query.bool.{$condition}\", $$condition);\n }\n\n }\n if ($this->from) {\n array_set($this->queryBody, 'body.from', $this->from);\n }\n if ($this->size) {\n array_set($this->queryBody, 'body.size', $this->size);\n }\n if ($this->scrollSize) {\n array_set($this->queryBody, 'size', $this->scrollSize);\n }\n if ($this->scrollKeepTime) {\n array_set($this->queryBody, 'scroll', $this->scrollKeepTime);\n }\n if ($this->orders) {\n $orders = [];\n foreach($this->orders as $field => $value) {\n array_push($orders, [$field => [\"order\" => $value]]);\n }\n array_set($this->queryBody, 'body.sort', $orders);\n }\n }",
"public function setQueryOptions(array $options): void {\n\t\tif(!isset($options['limit'])) $options['limit'] = 20;\n\t\tif(!isset($options['offset'])) $options['offset'] = false;\n\t\tif(!isset($options['sort'])) $options['sort'] = false;\n\t\tif(!isset($options['sortDirection'])) $options['sortDirection'] = false;\n\t\tif(!isset($options['groupby'])) $options['groupby'] = '';\n\n\t\t$this->_queryOptions = $options;\n\t}",
"public function datagrid($query_debug = FALSE) {\n $page = request('page'); // la página requerida\n $limit = request('rows'); // cuantas filas queremos tener en la grilla\n $sidx = request('sidx'); // obtener la fila indice, es decir la que el usuario clickeó para ordenar\n $sord = request('sord'); // obtener la dirección (asc o desc)\n\n // renombra key búsqueda\n $sidx = !$sidx? $this->get_columns('%s.%s')[0] : $this->get_column_name($sidx); \n \n //filtros para busqueda multiple\n $filters = json_decode(request('filters', ''), true);\n $filters_rules = isset($filters['rules']) ? $filters['rules'] : [];\n $search = request('_search');\n \n //busqueda sin filtros multiples\n if($search == 'true' and empty($filters_rules)) {\n $field = request('searchField');\n $data = call_user_func($this->filter_format, $field, request('searchString'));\n $op = request('searchOper'); \n $this->set_where_rule($field, $op, $data);\n } else if ($search == 'true' and !empty($filters_rules)) { // Busqueda con filtros multiples\n foreach ($filters_rules as $filter_rule) {\n extract($filter_rule);\n $data = call_user_func($this->filter_format, $field, $data);\n $this->set_where_rule($field, $op, $data);\n }\n }\n\n $query_string = $this->get_query_str();\n $count = DB::select(\"SELECT COUNT(*) AS count FROM($query_string) count;\")[0]->count;\n\n if ($count > 0) {\n $total_pages = ceil($count / $limit);\n } else {\n $total_pages = 0;\n }\n if ($page > $total_pages)\n $page = $total_pages;\n $start = $limit * $page - $limit; // no poner $limit*($page - 1)\n \n if($query_debug) DB::enableQueryLog();\n $result = $this->query->orderBy($sidx, $sord)->skip($start)->take($limit)->get();\n\n $response['page'] = $page;\n $response['total'] = $total_pages;\n $response['records'] = $count;\n $response['rows'] = $this->set_response_rows($result);\n\n return $query_debug? $this->get_query_str() : response()->json($response);\n }",
"public function setQueryData(array $data)\n {\n $this->env['QUERY'] = $data;\n\n return $this;\n }",
"function query() {\n \n $this->ensure_my_table();\n \n if ($this->options['operator'] == 'in') {\n $keys = array_keys($this->value);\n\n $this->query->add_where(0, $this->table_alias.'.id IN ('. implode(',', $keys).')' );\n }\n\n }",
"public function withQuery(array $query);",
"public function query() {\n if (isset($this->value, $this->definition['trovequery'])) {\n $this->query->args['method'] = $this->definition['trovequery']['method'];\n if (is_array($this->value)) {\n $this->query->add_where($this->options['group'], $this->definition['trovequery']['arg'], implode($this->value, ','));\n }\n else {\n $this->query->add_where($this->options['group'], $this->definition['trovequery']['arg'], $this->value);\n }\n }\n }",
"private function loadFiltersFromQuery(): void\n {\n $request = RequestUtil::getMainRequest($this->requestStack) ?? Request::createFromGlobals();\n $requestFilters = $request->query->all('filter');\n\n if (is_array($requestFilters)) {\n foreach ($requestFilters as $name => $limitations) {\n foreach ($limitations as $comparison => $value) {\n $filterField = new FilterField();\n $filterField->setName($name)\n ->setValue($value)\n ->setComparison($comparison)\n ->setFilter($this->getFilterByName($name));\n\n $this->filterFields[] = $filterField;\n }\n }\n }\n }",
"public function prepareQuery()\n {\n //prepare where conditions\n foreach ($this->where as $where) {\n $this->prepareWhereCondition($where);\n }\n\n //prepare where not conditions\n foreach ($this->whereNot as $whereNot) {\n $this->prepareWhereNotCondition($whereNot);\n }\n\n // Add a basic range clause to the query\n foreach ($this->inRange as $inRange) {\n $this->prepareInRangeCondition($inRange);\n }\n\n // Add a basic not in range clause to the query\n foreach ($this->notInRange as $notInRange) {\n $this->prepareNotInRangeCondition($notInRange);\n }\n\n // add Terms to main query\n foreach ($this->whereTerms as $term) {\n $this->prepareWhereTermsCondition($term);\n }\n\n // add exists constrains to the query\n foreach ($this->exist as $exist) {\n $this->prepareExistCondition($exist);\n }\n\n // add matcher queries\n foreach ($this->match as $match) {\n $this->prepareMatchQueries($match);\n }\n\n $this->query->addFilter($this->filter);\n\n return $this->query;\n }",
"public function queryArray($sql, $params = array());",
"protected function getListQuery() {\n \n // Create a new query object.\n $db = $this->getDbo();\n $query = parent::getListQuery()\n ->select($this->getState('list.select', 'a.*'))\n ->from('`#__ishop_products` AS a')\n ->where('`a`.`state` = 1')\n ;\n\n \n // Обрабртка данных модуля фильтра \n // Фильтр по наличию\n if($filter = $this->getState('ishop_search_data.available', ''))\n {\n $query->where('available = 1');\n }\n \n // Бренды и категории\n $category_ids = array();\n if($filter = $this->getState('ishop_search_data.category', ''))\n {\n $category_model = IshopHelper::getModel('category');\n $children = $category_model->get_children($filter);\n }\n elseif($filter = $this->getState('ishop_search_data.brand', ''))\n {\n $category_model = IshopHelper::getModel('category');\n $children = $category_model->get_children($filter);\n }\n if(isset($children))\n {\n $category_ids = array($filter);\n foreach ($children as $child)\n {\n $category_ids[] = $child->id;\n }\n $query->where('a.id IN (SELECT product_id FROM `#__ishop_product_category` AS prcat WHERE prcat.category_id IN ('.implode(',',$category_ids).'))');\n }\n \n // Фильтр по цене\n if($cena_from = (int)$this->getState('ishop_search_data.cena_from', ''))\n {\n $query->where('cena_tut >= \"'.$cena_from.'\"');\n }\n if($cena_to = (int)$this->getState('ishop_search_data.cena_to', ''))\n {\n $query->where('cena_tut <= \"'.$cena_to.'\"');\n }\n \n if($artikul = $this->getState('ishop_search_data.artikul', ''))\n {\n $query->where('artikul = \"'.$artikul.'\"');\n }\n \n if($search_text = $this->getState('ishop_search_data.text', ''))\n {\n $query->where('`a`.`name` LIKE \"%'.$search_text.'%\"');\n }\n \n // Если установлена вторая цена в поиске, а первая или 0 или не\n // установлена, то не включаем товары с нулевой стоимостью\n if($cena_to AND !$cena_from)\n {\n $query->where('cena_tut >= \"0.01\"');\n \n }\n \n $order_by = $this->_get_order();\n\n if($order_by)\n {\n $query->order($order_by);\n }\n// var_dump((string)$query);\n \n return $query;\n }",
"private function setQueryParams()\n {\n if (empty($this->generator->types[CustomsInterface::CUSTOM_TYPES_QUERY_PARAMS][ApiInterface::RAML_PROPS]) === false) {\n $queryParams = $this->generator->types[CustomsInterface::CUSTOM_TYPES_QUERY_PARAMS][ApiInterface::RAML_PROPS];\n $this->openEntity(ConfigInterface::QUERY_PARAMS);\n foreach ($this->queryParams as $param) {\n if (empty($queryParams[$param][ApiInterface::RAML_KEY_DEFAULT]) === false) {\n $this->setParam($param, $queryParams[$param][ApiInterface::RAML_TYPE], $queryParams[$param][ApiInterface::RAML_KEY_DEFAULT], 2);\n }\n }\n $this->closeEntities();\n }\n }",
"protected function getListQuery()\n\t{\n\t\t$extension = Factory::getApplication()->input->get('extension', '', 'word');\n\t\t$parts = explode('.', $extension);\n\n\t\t// Extract the component name\n\t\t$this->setState('filter.component', $parts[0]);\n\n\t\t// Extract the optional section name\n\t\t$this->setState('filter.section', (count($parts) > 1) ? $parts[1] : null);\n\n\t\t// Initialize variables.\n\t\t$db = Factory::getDbo();\n\t\t$query = $db->getQuery(true);\n\n\t\t// Create the base select statement.\n\t\t$query->select('t.*')\n\t\t\t->from('`#__tj_notification_templates` AS t');\n\n\t\t$search = $this->getState('filter.search');\n\n\t\tif (!empty($search))\n\t\t{\n\t\t\t$like = $db->quote('%' . $search . '%');\n\t\t\t$query->where($db->quoteName('client') . ' LIKE ' . $like . ' OR ' . $db->quoteName('key') . ' LIKE ' . $like . ' OR ' . $db->quoteName('title') . ' LIKE ' . $like);\n\t\t}\n\n\t\tif ($extension)\n\t\t{\n\t\t\t$query->where($db->quoteName('client') . ' = ' . $db->quote($extension));\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// Filter by client\n\t\t\t$client = $this->getState('filter.client');\n\t\t\t$key = $this->getState('filter.key');\n\n\t\t\tif (!empty($client) && empty($key))\n\t\t\t{\n\t\t\t\t$query->where($db->quoteName('client') . ' = ' . $db->quote($client));\n\t\t\t}\n\t\t}\n\n\t\t// For getting templates\n\t\tif (!empty($client) && !empty($key))\n\t\t{\n\t\t\t$query->where($db->quoteName('client') . ' = ' . $db->quote($client) . ' AND ' . $db->quoteName('key') . ' = ' . $db->quote($key));\n\t\t\t$query->order($db->quoteName('key') . ' ASC');\n\t\t}\n\n\t\t// Filter by language\n\t\t$language = $this->getState('filter.language');\n\n\t\tif ($language !== '')\n\t\t{\n\t\t\t$query->select('ntc.language');\n\t\t\t$query->join('LEFT', '#__tj_notification_template_configs AS ntc ON ntc.template_id = t.id');\n\t\t\t$query->where($db->qn('ntc.language') . '=' . $db->quote($language));\n\t\t}\n\n\t\t$orderCol = $this->getState('list.ordering');\n\t\t$orderDirn = $this->getState('list.direction');\n\n\t\tif ($orderCol && $orderDirn)\n\t\t{\n\t\t\t$query->order($db->quoteName($orderCol) . ' ' . $db->escape($orderDirn));\n\t\t}\n\n\t\treturn $query;\n\t}",
"function pre_query() { \r\n // Unset invalid date values before the query runs.\r\n if (!empty($this->view->args) && count($this->view->args) > $this->position) {\r\n $argument = $this->view->args[$this->position];\r\n $parts = $this->date_handler->arg_parts($argument);\r\n if (empty($parts[0]['date']) && empty($parts[0]['period'])) {\r\n unset($this->view->args[$this->position]); \r\n }\r\n }\r\n \r\n $this->get_query_fields();\r\n if (!empty($this->query_fields)) {\r\n foreach ($this->query_fields as $query_field) {\r\n $field = $query_field['field'];\r\n // Explicitly add this table using add_table so Views does not\r\n // remove it if it is a duplicate, since that will break the query.\r\n $this->query->add_table($field['table_name'], NULL, NULL, $field['table_name']);\r\n }\r\n }\r\n }",
"protected function assembleQueries()\n {\n if ($this->getExecutedFilters()) {\n return $this;\n }\n\n $objectType = $this->getObjectType();\n\n $whereConditions = [];\n\n $mainTable = $this->getEntityService()->getTableName($objectType);\n $pre = 'v2';\n $dqlFilters = [];\n $tables = $this->getEntityService()->getVarOptionTables();\n $bindTypes = [];\n $pdoBindTypes = $this->getEntityService()->getPdoBindTypes();\n $filterable = $this->getFilterable();\n\n $x = 0; //count($this->getFilters()); // for tracking bind types\n\n // handle basic filters eg key=value\n // also, special handling of price range\n $filterParams = [];\n if ($this->getFilters()) {\n foreach($this->getFilters() as $field => $value) {\n foreach($filterable as $filterInfo) {\n if ($field == $filterInfo[CartRepositoryInterface::CODE]) {\n\n // handle special case for numerical ranges\n // eg price=100-199 or subtotal=50-100\n // note : the handling of strpos is very intentional, want an index > 0\n if ($filterInfo[CartRepositoryInterface::DATATYPE] == 'number' && strpos($value, '-')) {\n $rangeValues = explode('-', $value);\n $rangeMin = $rangeValues[0];\n $rangeMax = isset($rangeValues[1]) ? $rangeValues[1] : null;\n if (isset($rangeMax)) {\n\n $rangeMin = (float) $rangeMin;\n $rangeMax = (float) $rangeMax;\n\n // minimum\n $this->addAdvFilter([\n 'field' => $field,\n 'op' => 'gte',\n 'value' => $rangeMin,\n ]);\n\n // maximum\n $this->addAdvFilter([\n 'field' => $field,\n 'op' => 'lt',\n 'value' => $rangeMax,\n ]);\n\n break;\n }\n }\n\n if (isset($filterInfo['join'])) {\n $this->joins[] = $filterInfo['join'];\n $field = $filterInfo['join']['table'] . \".{$field}\";\n } elseif (!is_int(strpos($field, '.'))) {\n $field = \"main.{$field}\";\n }\n\n $whereConditions[] = \"{$field} = ?\";\n $filterParams[] = $value;\n\n switch($filterInfo[CartRepositoryInterface::DATATYPE]) {\n case 'boolean':\n $bindTypes[$x] = \\PDO::PARAM_INT;\n break;\n case 'number':\n // todo : make this better\n $bindTypes[$x] = \\PDO::PARAM_INT;\n break;\n case 'string':\n $bindTypes[$x] = \\PDO::PARAM_STR;\n break;\n case 'date':\n $bindTypes[$x] = \\PDO::PARAM_STR;\n break;\n default:\n $bindTypes[$x] = \\PDO::PARAM_STR;\n break;\n }\n\n $x++;\n break;\n }\n }\n }\n }\n\n // handle fulltext search first\n\n // note : use setFulltextIds() if you search somewhere else first eg SOLR / Elasticsearch\n if ($this->getFulltextIds()) {\n // ensure IDs are sanitized before you set them\n $whereConditions[] = \"main.id in (\" . implode(',', $this->getFulltextIds()) . \")\";\n } else if ($this->getQuery()\n && $this->getSearchField()\n && $this->getSearchMethod()) {\n\n if (is_array($this->getSearchField())) {\n if (count($this->getSearchField()) > 1) {\n\n $cond = '';\n foreach($this->getSearchField() as $searchField) {\n $bindTypes[$x] = \\PDO::PARAM_STR;\n\n $tbl = 'main';\n\n if (is_array($searchField)) {\n if (isset($searchField['table']) && isset($searchField['column'])) {\n $tbl = $searchField['table'];\n $searchField = $searchField['column'];\n } else {\n continue;\n }\n }\n\n // cond is empty, add a leading parentheses\n if (!$cond) {\n $cond .= \"({$tbl}.{$searchField} like ?\";\n } else {\n $cond .= \" OR {$tbl}.{$searchField} like ?\";\n }\n $x++;\n }\n $cond .= ')';\n $whereConditions[] = $cond;\n } else {\n\n $fields = $this->getSearchField();\n $searchField = $fields[0];\n if (is_array($searchField)) {\n if (isset($searchField['table']) && isset($searchField['column'])) {\n $tbl = $searchField['table'];\n $searchField = $searchField['column'];\n\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $whereConditions[] = \"{$tbl}.{$searchField} like ?\";\n $x++;\n }\n } else {\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $whereConditions[] = \"main.{$searchField} like ?\";\n $x++;\n }\n }\n } else {\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $whereConditions[] = \"main.{$this->getSearchField()} like ?\";\n $x++;\n }\n }\n\n // handle \"advanced\" filters\n // eg filter_field[x], filter_op[x], filter_val[x]\n // specifies a field, value, and operator ie (id > 100)\n $advFilterParams = [];\n if ($this->getAdvFilters()) {\n foreach($this->getAdvFilters() as $advFilter) {\n\n $field = $advFilter['field'];\n $op = $advFilter['op'];\n $value = $advFilter['value'];\n $table = isset($advFilter['table'])\n ? $advFilter['table']\n : 'main';\n\n $found = false;\n foreach($filterable as $filterInfo) {\n if ($field == $filterInfo[CartRepositoryInterface::CODE]) {\n $found = true;\n\n switch($filterInfo[CartRepositoryInterface::DATATYPE]) {\n case 'boolean':\n $bindTypes[$x] = \\PDO::PARAM_INT;\n $x++;\n break;\n case 'number':\n if ($op == 'in') {\n if (!is_array($value)) {\n $value = explode(',', $value);\n }\n if ($value) {\n foreach($value as $dummy) {\n $bindTypes[$x] = \\PDO::PARAM_INT;\n $x++;\n }\n }\n } else {\n $bindTypes[$x] = \\PDO::PARAM_INT;\n $x++;\n }\n break;\n case 'string':\n if ($op == 'in') {\n if (!is_array($value)) {\n $value = explode(',', $value);\n }\n if ($value) {\n foreach($value as $dummy) {\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $x++;\n }\n }\n } else {\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $x++;\n }\n\n break;\n case 'date':\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $x++;\n break;\n default:\n $bindTypes[$x] = \\PDO::PARAM_STR;\n $x++;\n break;\n }\n\n\n break;\n }\n }\n\n if (!$found || !in_array($op, ['contains', 'starts', 'ends', 'equals', 'gt', 'gte', 'lt', 'lte', 'in'])) {\n continue;\n }\n\n // example:\n // $and->add($qb->expr()->eq('u.id', 1));\n\n switch($op) {\n case 'contains':\n $advFilterParams[] = '%'. $value . '%';\n $whereConditions[] = \"{$table}.{$field} like ?\";\n break;\n case 'starts':\n $advFilterParams[] = $value . '%';\n $whereConditions[] = \"{$table}.{$field} like ?\";\n break;\n case 'ends':\n $advFilterParams[] = '%'. $value;\n $whereConditions[] = \"{$table}.{$field} like ?\";\n break;\n case 'equals':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} = ?\";\n break;\n case 'notequal':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} != ?\";\n break;\n// todo: this is messing up the counter, but it should be implemented\n// case 'null':\n// $advFilterParams[] = 'NULL';\n// $whereConditions[] = \"{$table}.{$field} IS ?\";\n// break;\n// case 'notnull':\n// $advFilterParams[] = $value;\n// $whereConditions[] = \"{$table}.{$field} IS NOT NULL\";\n// break;\n case 'gt':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} > ?\";\n break;\n case 'gte':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} >= ?\";\n break;\n case 'lt':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} < ?\";\n break;\n case 'lte':\n $advFilterParams[] = $value;\n $whereConditions[] = \"{$table}.{$field} <= ?\";\n break;\n case 'in':\n if (!is_array($value)) {\n $value = explode(',', $value);\n }\n\n if ($value) {\n foreach($value as $val) {\n $advFilterParams[] = $val;\n }\n $paramStr = implode(',', $value);\n $whereConditions[] = \"{$table}.{$field} in ({$paramStr})\";\n }\n\n break;\n default:\n\n break;\n }\n }\n }\n\n // handle category filter with products\n if ($this->getCategoryId()\n && $this->getObjectType() == EntityConstants::PRODUCT) {\n\n $categoryTable = $this->getEntityService()->getTableName(EntityConstants::CATEGORY_PRODUCT);\n $bindTypes[$x] = \\PDO::PARAM_INT;\n // todo : sometime in the future , add a category 'anchor', connecting multiple categories\n $whereConditions[] = \"main.id in (select product_id from {$categoryTable} where category_id = ?)\";\n $x++;\n }\n\n // handle stock, visibility filters with products\n\n\n // handle facet filters\n // ie filters on EAV tables, child tables\n $facetFilterParams = [];\n if ($this->getFacetFilters()) {\n foreach($this->getFacetFilters() as $facetCode => $value) {\n\n $itemVar = $this->getVarByCode($facetCode);\n\n $tblValue = $objectType . '_' . EntityConstants::getVarDatatype($itemVar->getDatatype());\n $values = explode($this->valueSep, $value);\n $joinTbl = $tables[$itemVar->getDatatype()];\n $joinTblPre = 'ivo';\n\n if (count($values) > 1) {\n $conditions = [];\n foreach($values as $itemVarValue) {\n $conditions[] = \"({$pre}.value = ? OR {$joinTblPre}.url_value = ?)\";\n $facetFilterParams[] = $itemVarValue;\n\n $bindTypes[$x] = $pdoBindTypes[$itemVar->getDatatype()];\n $x++;\n\n $bindTypes[$x] = $pdoBindTypes[$itemVar->getDatatype()];\n $x++;\n\n }\n $dqlFilters[] = \"({$pre}.item_var_id={$itemVar->getId()} AND (\".implode(' OR ', $conditions).\"))\";\n } else {\n $dqlFilters[] = \"({$pre}.item_var_id={$itemVar->getId()} AND ({$pre}.value = ? OR {$joinTblPre}.url_value = ?))\";\n $facetFilterParams[] = $value;\n\n $bindTypes[$x] = $pdoBindTypes[$itemVar->getDatatype()];\n $x++;\n\n $bindTypes[$x] = $pdoBindTypes[$itemVar->getDatatype()];\n $x++;\n }\n\n $whereConditions[] = \"main.id in (select parent_id from {$tblValue} {$pre} left join {$joinTbl} {$joinTblPre} on {$pre}.item_var_option_id={$joinTblPre}.id where \". implode(' AND ', $dqlFilters).\")\";\n $dqlFilters = [];\n\n }\n }\n\n // assemble where conditions\n $conditionsSql = implode(' AND ', $whereConditions);\n if (!$conditionsSql) {\n $conditionsSql = '1=1';\n }\n\n // assemble group by\n $groupSql = $this->getGroupBy()\n ? 'group by ' . implode(', ', $this->getGroupBy())\n : '';\n\n // assemble select columns\n $colSql = '';\n if ($this->getColumns()) {\n $cols = [];\n foreach($this->getColumns() as $colData) {\n // add select\n $select = $colData['select'];\n $alias = $colData['alias'];\n if ($alias) {\n $select .= \" as {$alias}\";\n }\n\n $cols[] = $select;\n }\n $colSql = ',' . implode(',', $cols);\n }\n\n // assemble joins\n $joinSql = '';\n if ($this->getJoins()) {\n $joins = [];\n foreach($this->getJoins() as $join) {\n $type = $join['type'];\n $table = $join['table'];\n $column = $join['column'];\n $joinAlias = $join['join_alias'];\n $joinColumn = $join['join_column'];\n $joins[] = \"{$type} join {$table} on {$joinAlias}.{$joinColumn}={$table}.{$column}\";\n }\n $joinSql = implode(' ', $joins);\n }\n\n // main data query without sorting and grouping\n $this->filtersSql = \"select distinct(main.id) from {$mainTable} main {$joinSql} where {$conditionsSql}\";\n // main data query\n $this->mainSql = \"select distinct(main.id), main.* {$colSql} from {$mainTable} main {$joinSql} where {$conditionsSql} {$groupSql}\";\n // main count query, for all rows, not just the current page\n $this->countSql = \"select count(distinct(main.id)) as count from {$mainTable} main {$joinSql} where {$conditionsSql} {$groupSql}\";\n $this->bindTypes = $bindTypes;\n $this->filterParams = $filterParams;\n $this->advFilterParams = $advFilterParams;\n $this->facetFilterParams = $facetFilterParams;\n\n $this->setExecutedFilters(true);\n return $this;\n }",
"protected function setQueryResultsArray()\n {\n if (is_array($this->controller['query_results'])) {\n } else {\n $this->controller['query_results'] = array($this->controller['query_results']);\n }\n\n return $this;\n }",
"public function setParameters()\n {\n $params = array();\n $associations = array();\n foreach ($this->datatablesModel->getColumns() as $key => $data) {\n // if a function or a number is used in the data property\n // it should not be considered\n if( !preg_match('/^(([\\d]+)|(function)|(\\s*)|(^$))$/', $data['data']) ) {\n $fields = explode('.', $data['data']);\n $params[$key] = $data['data'];\n $associations[$key] = array('containsCollections' => false);\n\n if (count($fields) > 1) {\n $this->setRelatedEntityColumnInfo($associations[$key], $fields);\n } else {\n $this->setSingleFieldColumnInfo($associations[$key], $fields[0]);\n }\n }\n }\n\n $this->parameters = $params;\n // do not reindex new array, just add them\n $this->associations = $associations + $this->associations;\n }"
] |
[
"0.6423673",
"0.6358506",
"0.62067235",
"0.5882202",
"0.5728754",
"0.5584593",
"0.55787534",
"0.55206734",
"0.5511033",
"0.5490272",
"0.5478503",
"0.5474463",
"0.542227",
"0.54194015",
"0.5404283",
"0.53975016",
"0.5375331",
"0.53722525",
"0.537072",
"0.534754",
"0.5340786",
"0.53253555",
"0.531732",
"0.531033",
"0.5302577",
"0.5281002",
"0.5279301",
"0.5265993",
"0.5255173",
"0.52522033"
] |
0.7824912
|
0
|
Getter of Calories The number of calories
|
public function getCalories()
{
return $this->calories;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getTotalCalories(){\n return $this->totalCalories;\n }",
"public function getCalories()\n\t{\n\t\treturn $this->calories;\n\t}",
"public function getTotalCalories() {\n return (float) $this->profile->userTotals->totalCalories;\n }",
"public function totalCount();",
"public function totalCount();",
"public function count()\n {\n return $this->getCartSessionCollection()->map(function($item, $key) {\n return $item['quantity'];\n })->reduce(function($carry, $item) {\n return $carry + $item;\n }, 0);\n }",
"public function getTotalCount();",
"public function getTotalCount();",
"public function getTotalCount();",
"public function getCandyEarnedCount()\n {\n return $this->candy_earned_count;\n }",
"public function setTotalCalories($val){\n $this->totalCalories = $val;\n return $this;\n }",
"public function getCount() {\n return $this->get(self::COUNT);\n }",
"public function getCount()\n {\n return $this->data['count'];\n }",
"public function getCount()\n {\n return $this->get('Count');\n }",
"public static function getCount(){\n \t$sql = \"SELECT COUNT(*) as count FROM yy_hospital\";\n \t$res = self::getDb()->query($sql)->fetchAll();\n \t$count = $res[0]['count'];\n \treturn $count;\n }",
"public function count()\n {\n return $this->getCount();\n }",
"public function countCath()\n\t{\n \t\treturn $this->findAll('kategoria')->count('*');\n\t}",
"public function getCount() {}",
"public function getCount() {}",
"public function getCount() {}",
"public function getCount()\r\n {\r\n return $this->count;\r\n }",
"public function getCount()\n\t{\n\t\treturn $this->Count;\n\t}",
"public function getCount() {\r\n return $this->count;\r\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getTotalOpenCountAttribute(): int\n {\n return (int)$this->opens()->sum('open_count');\n }",
"public function getCountLactation()\n {\n return $this->count_lactation;\n }",
"public function getCount()\n {\n return $this->_count;\n }",
"public function getCount()\n {\n return $this->_count;\n }",
"public function getTotal() {\n\t\treturn $this->find('count', array(\n\t\t\t'contain' => false,\n\t\t\t'recursive' => false,\n\t\t\t'cache' => $this->alias . '::' . __FUNCTION__,\n\t\t\t'cacheExpires' => '+24 hours'\n\t\t));\n\t}",
"public function Count() {\n\t\treturn $this->count;\n\t}"
] |
[
"0.8170932",
"0.801765",
"0.6826751",
"0.6509464",
"0.6509464",
"0.6467058",
"0.645084",
"0.645084",
"0.645084",
"0.6305346",
"0.62830615",
"0.6257931",
"0.6256636",
"0.6222485",
"0.6163136",
"0.6159812",
"0.6154575",
"0.6142905",
"0.6142905",
"0.61420596",
"0.6120869",
"0.61190236",
"0.61110866",
"0.6110232",
"0.6098389",
"0.607862",
"0.60780895",
"0.60780895",
"0.6075745",
"0.60689706"
] |
0.80641085
|
1
|
Setter of Calories The number of calories
|
public function setCalories($value)
{
$this->calories = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setTotalCalories($val){\n $this->totalCalories = $val;\n return $this;\n }",
"public function getTotalCalories(){\n return $this->totalCalories;\n }",
"public function getCalories()\n\t{\n\t\treturn $this->calories;\n\t}",
"public function getCalories()\n {\n return $this->calories;\n }",
"function setCount( $value )\n {\n if ( $this->State_ == \"Dirty\" )\n $this->get( $this->ID );\n\n $this->Count = $value;\n setType( $this->Count, \"integer\" );\n }",
"public function setCount($value)\n {\n return $this->set('Count', $value);\n }",
"public function setCount($value)\n {\n return $this->set('Count', $value);\n }",
"public function setTotalCount($totalCount);",
"public function incrementSales() {\n $this->sales = ($this->getSales() + 1);\n }",
"public function incViewCount()\n {\n $incView = (int) $this->attribute( 'view_count' );\n $incView++;\n $this->setAttribute( 'view_count', $incView );\n $this->store();\n }",
"function set_num_items($num){\n $this -> num_of_items = $num;\n }",
"protected function setCaloriesByArray(array $calories)\n {\n if (isset($calories['minimum']) || isset($calories[0])) {\n $this->minimumCalories($calories['minimum'] ?? $calories[0]);\n }\n\n if (isset($calories['maximum']) || isset($calories[1])) {\n $this->maximumCalories($calories['maximum'] ?? $calories[1]);\n }\n\n return $this;\n }",
"function __construct() {\n\n echo $this->wheel_count;\n echo self::$door_count++;\n \n }",
"public function getTotalCalories() {\n return (float) $this->profile->userTotals->totalCalories;\n }",
"function setSumarPais(){\n\t\t$this->cantidad_paises++;\n\t}",
"public function getCandyEarnedCount()\n {\n return $this->candy_earned_count;\n }",
"public function setCount($countIn) {$listCount = $countIn;}",
"public function setCount(int $count)\n {\n $this->count = $count;\n }",
"public function setTotalCount($value)\n {\n $this->_totalCount = $value;\n }",
"public function setTotalCount($value)\n {\n $this->_totalCount = $value;\n }",
"public function reviewCount()\n {\n $this->attributes['review_count'] = $this->reviews()->selectRaw('count(*) as count')->pluck('count')[0];\n }",
"public function getTotalOpenCountAttribute(): int\n {\n return (int)$this->opens()->sum('open_count');\n }",
"public function testSetCum30Ss() {\n\n $obj = new Employes();\n\n $obj->setCum30Ss(10.092018);\n $this->assertEquals(10.092018, $obj->getCum30Ss());\n }",
"protected function _setCount()\n\t{\n\t\t$cacheKey = 'toolbar_count_' . $this->getSubject()->model->alias . '_user_' . AuthComponent::user('id');\n\n\t\tif (($count = Cache::read($cacheKey, 'trash_settings')) === false) {\n\t\t\t$Filter = $this->_listener('Trash')->initTrashFilter();\n\n\t\t\t// lets attach all listeners that changes output (this should be made more dry)\n\t\t\t// check if VisualisationListener is used in current Crud\n\t\t\tif ($this->_crud()->config('listeners.Visualisation') !== null) {\n\t\t\t\t$this->_listener('Visualisation')->attachListener($Filter);\n\t\t\t}\n\n\t\t\t$this->_listener('Trash')->attachListener($Filter);\n\n\t\t\t$count = $Filter->filter('count');\n\t\t\tunset($Filter);\n\n\t\t\tCache::write($cacheKey, $count, 'trash_settings');\n\t\t}\n\t\t\n\t\t$this->_count = $count;\n\t}",
"public function setCount($value) {\n return $this->set(self::COUNT, $value);\n }",
"public function testChangeRolls()\n {\n $dice = new DiceHand(5);\n $this->assertInstanceOf(\"Joki20\\Http\\Controllers\\DiceHand\\DiceHand\", $dice);\n\n // old nr of rolls\n $res = count($dice->getDices());\n $exp = 5;\n $this->assertEquals($exp, $res);\n\n // new nr of rolls\n $res = $dice->changeRolls(10);\n $exp = 10;\n $this->assertEquals($exp, $res);\n }",
"public function initTotalItemToBeShown($value) \n {\n $this->totalItemsToBeShown = (int)$value;\n return;\n }",
"public function testSetNbAppelsEnCours() {\n\n $obj = new AppelsEnCours();\n\n $obj->setNbAppelsEnCours(10);\n $this->assertEquals(10, $obj->getNbAppelsEnCours());\n }",
"public function setCount($value)\n {\n return $this->set(self::COUNT, $value);\n }",
"public function reSetEntriesCount()\n\t{\n\t\t$criteria = KalturaCriteria::create(categoryEntryPeer::OM_CLASS);\n\t\t$criteria->addAnd(categoryEntryPeer::CATEGORY_FULL_IDS, $this->getFullIds() . '%', Criteria::LIKE);\n\t\t$count = categoryEntryPeer::doCount($criteria);\n\n\t\t$this->setEntriesCount($count);\n\t}"
] |
[
"0.7138962",
"0.6706537",
"0.6531925",
"0.65239525",
"0.595278",
"0.5326266",
"0.5326266",
"0.53080356",
"0.5303007",
"0.52989674",
"0.5292607",
"0.527122",
"0.5250105",
"0.522336",
"0.5188618",
"0.5149541",
"0.5136806",
"0.51144683",
"0.5083316",
"0.5083316",
"0.50675476",
"0.5061711",
"0.5009125",
"0.5008068",
"0.500262",
"0.5001321",
"0.49967024",
"0.49830955",
"0.49733174",
"0.49478278"
] |
0.76508427
|
0
|
Getter of Carbohydrate Content The number of grams of carbohydrates.
|
public function getCarbohydrateContent()
{
return $this->carbohydrateContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfCarbs()\n\t{\n\t\treturn $this->carbohydrates;\n\t}",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"function get_object_count()\r\n {\r\n return $this->get_browser()->count_photo_gallery_publications($this->get_condition());\r\n }",
"public function getCrowdingCount()\n {\n return $this->crowding_count;\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function getCarteirasSize()\n {\n return count($this->carteiras);\n }",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function getSize() {\n return (int) $this->_count;\n }",
"public function count() {\n return $this->size;\n }",
"public function count()\n {\n return $this->size;\n }",
"public function count()\n {\n return $this->__size;\n }",
"public function size()\n {\n return $this->count;\n }",
"public function getContentCount() {\n return $this->count(self::CONTENT);\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function getClothingSize()\n {\n return $this->clothingSize;\n }",
"public function count() {\n \n return $this->getLength();\n }",
"public function count() { return $this->_m_count; }",
"public function totalParts() {\n return sizeof($this->all());\n }",
"function size()\n\t\t\t{\n\t\t\t\treturn $this->db->order_by('size_id')->get('size');\n\t\t\t}",
"public function getChildDocumentsCount() {}",
"public function size(): int\n {\n return $this->content->size();\n }",
"public function getBlockCount();",
"public function count()\n {\n return $this->length();\n }",
"public function count()\n {\n return $this->length;\n }",
"private function countChunks()\r\n {\r\n\t\t$this->icc_chunks = ceil($this->icc_size / ((float) (self::MAX_BYTES_IN_MARKER - self::ICC_HEADER_LEN)));\r\n }",
"public function count()\n {\n return $this->size();\n }",
"public function count() {\r\n if (is_null($this->objectcount)) {\r\n $this->fetchData();\r\n }\r\n return $this->objectcount;\r\n }",
"function get_gallery_count()\n {\n $settings = C_NextGen_Settings::get_instance();\n $count = $settings->get('gallery_count', FALSE);\n if (!$count) {\n $count = M_NextGen_Admin::update_gallery_count_setting();\n }\n return $count;\n }"
] |
[
"0.65958613",
"0.6051165",
"0.60455215",
"0.6010418",
"0.5942113",
"0.5889544",
"0.5887675",
"0.5857197",
"0.5855183",
"0.5810416",
"0.5777921",
"0.57626605",
"0.57392204",
"0.5699618",
"0.56911933",
"0.5688164",
"0.56502473",
"0.56467324",
"0.5627376",
"0.5624277",
"0.5623802",
"0.5610215",
"0.5608488",
"0.55932677",
"0.55896133",
"0.55558556",
"0.55543697",
"0.5552496",
"0.55459994",
"0.5537937"
] |
0.62016124
|
1
|
Getter of Cholesterol Content The number of milligrams of cholesterol.
|
public function getCholesterolContent()
{
return $this->cholesterolContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getContentLength() { return $this->content_length; }",
"public function getWordCount()\r\n\t\t{\r\n\t\t\treturn str_word_count($this->_blog_content);\r\n\t\t}",
"public function getSize(): int {\n\t\treturn mb_strlen($this->getContent());\n\t}",
"function wprt_content_length() {\n\t$length = wprt_get_mod( 'blog_excerpt_length', '55' );\n\n\treturn $length;\n}",
"public function size(): int\n {\n return $this->content->size();\n }",
"public function get_bodylength() {\n return \"Lichaamslengte = \" . $this->bodylength . \"m\";\n }",
"public function getContentLength() {\r\n return $this->__contentLength;\r\n }",
"public function getMb()\n {\n return $this->mb;\n }",
"static function technig_the_content($content)\n\t{\n\t\treturn substr($content, 0, 500);\n\t}",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getContentCount() {\n return $this->count(self::CONTENT);\n }",
"public function getContentLength(): int\n {\n return $this->length;\n }",
"public function getWordCount() {\n return $this->_wordCount;\n }",
"function getWordCount()\r\n {\r\n return $this->wordCount;\r\n }",
"public function getContentLength()\r\n\t{\r\n\t\treturn strlen($this->m_content);\r\n\t}",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"function voyage_mikado_blog_lists_number_of_chars() {\n\n $number_of_chars = array();\n\n if(voyage_mikado_options()->getOptionValue('standard_number_of_chars')) {\n $number_of_chars['standard'] = voyage_mikado_options()->getOptionValue('standard_number_of_chars');\n }\n if(voyage_mikado_options()->getOptionValue('masonry_number_of_chars')) {\n $number_of_chars['masonry'] = voyage_mikado_options()->getOptionValue('masonry_number_of_chars');\n }\n if(voyage_mikado_options()->getOptionValue('masonry_number_of_chars')) {\n $number_of_chars['masonry-full-width'] = voyage_mikado_options()->getOptionValue('masonry_number_of_chars');\n }\n if(voyage_mikado_options()->getOptionValue('split_column_number_of_chars')) {\n $number_of_chars['split-column'] = voyage_mikado_options()->getOptionValue('split_column_number_of_chars');\n }\n\n return $number_of_chars;\n\n }",
"public function lenchapter ()\n {\n $db = $this->dbConnect ();\n $req = $db->query ('SELECT COUNT(number_chapter) FROM chapter WHERE 1 ');\n $len = $req->fetch ();\n return $len;\n }",
"public function getNumCivicoMedico() {\n return $this->_numeroCivico;\n }",
"public function wordcount()\n {\n // Calculates a wordcount for the whole wiki\n // Could do it nicer, but seriously, nobody\n // needs such exact amounts\n $count = 0;\n\n $pages = Page::all();\n\n foreach($pages as $page)\n {\n $cntwords = explode(' ', $page->content);\n $count += count($cntwords);\n }\n\n return $count;\n }",
"public function wordCount() {\r\n\t\treturn $this->wordCount;\r\n\t}",
"public function getLenom():string\n {\n return $this->lenom;\n }",
"function medigroup_mikado_blog_lists_number_of_chars() {\n\n $number_of_chars = array();\n\n if(medigroup_mikado_options()->getOptionValue('standard_number_of_chars')) {\n $number_of_chars['standard'] = medigroup_mikado_options()->getOptionValue('standard_number_of_chars');\n }\n if(medigroup_mikado_options()->getOptionValue('masonry_number_of_chars')) {\n $number_of_chars['masonry'] = medigroup_mikado_options()->getOptionValue('masonry_number_of_chars');\n }\n if(medigroup_mikado_options()->getOptionValue('masonry_number_of_chars')) {\n $number_of_chars['masonry-full-width'] = medigroup_mikado_options()->getOptionValue('masonry_number_of_chars');\n }\n if(medigroup_mikado_options()->getOptionValue('split_column_number_of_chars')) {\n $number_of_chars['split-column'] = medigroup_mikado_options()->getOptionValue('split_column_number_of_chars');\n }\n\n return $number_of_chars;\n\n }",
"public function count() {\n \n return $this->getLength();\n }",
"public function length() {\r\n return strlen($this->contents);\r\n }",
"public function getCommentCount(): int;",
"public function getContentsCount() {\n return $this->count(self::CONTENTS);\n }",
"public static function storiesLength() {\n $conexion = StorianDB::connectDB();\n $query = $conexion->query(\"SELECT * FROM `cuento`\");\n return $query->rowCount();\n }"
] |
[
"0.59077793",
"0.57778674",
"0.57635784",
"0.57592267",
"0.5722463",
"0.56827986",
"0.5647985",
"0.56440926",
"0.563978",
"0.5605295",
"0.5588835",
"0.5566871",
"0.5479486",
"0.5440752",
"0.54248124",
"0.5413565",
"0.5413565",
"0.5413565",
"0.54071194",
"0.53971845",
"0.5391326",
"0.53912514",
"0.5387072",
"0.5377315",
"0.53759205",
"0.53576225",
"0.5351691",
"0.5344988",
"0.5326331",
"0.53014815"
] |
0.6358788
|
0
|
Setter of Cholesterol Content The number of milligrams of cholesterol.
|
public function setCholesterolContent($value)
{
$this->cholesterolContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setContent(string $content)\n {\n if (strlen($content) > 5) {\n $this->content = $content;\n }\n }",
"public function setNumGlyphs($value) {}",
"public function setContent($content) {\n if (is_string($content) && strlen($content) > 3 && strlen($content) < 500) {\n $this->content = htmlspecialchars($content);\n }\n return $this;\n }",
"function setTextContent(&$content) {\n\t\t$this->lobSub->lobText =& $content;\n\t\t$this->repoObj->lobSubType = 'text';\n\t\t$this->repoObj->lobBytes = strlen($content);\n\t\t$this->lobSub->lobBinary = null;\n\t}",
"public function setContent()\n {\n }",
"public function setMaxSizeOfInstructions($value) {}",
"public function toMilligram(): self\n {\n if (! isset($this->matric_ton)) {\n throw new MissingConversionUnitException();\n }\n\n $this->weight = $this->matric_ton * 1000000000;\n\n return $this;\n }",
"public function __construct()\n {\n $this->maxWordLength = 13;\n $this->minWordLength = 4;\n }",
"public function setContent($content = '')\n {\n $this->content = $content;\n $this->size = strlen($content);\n\n return $this;\n }",
"abstract function setContent();",
"protected function setContent() {}",
"function addContentWidth() {\n\t\t\tglobal $content_width;\n\t\t\tif ( isset( $content_width ) ) {\n\t\t\t\t$content_width = 628;\n\t\t\t}\n\n\t\t}",
"public function setContent($value) {\n\t\tif(strlen($value) < 1)\n\t\t\tthrow new \\Exception('Comment::setContent() failed: value must be longer than 0');\n\n\t\t$this->content = \\common\\Filter::sanitize($value);\n\t}",
"public function setPreviewLength(int $value): GetComments\n {\n $this->previewLength = $value;\n return $this;\n }",
"public static function UpdateCountOfWords() {\r\n $conn = ModMetocHelper::coToDa();\r\n $cont = ModMetocHelper::conTab();\r\n\r\n $sql = \"UPDATE $cont SET $cont.count_of_words=(LENGTH($cont.introtext) - LENGTH(REPLACE($cont.introtext, ' ', ''))+1 + LENGTH($cont.fulltext) - LENGTH(REPLACE($cont.fulltext, ' ', ''))) WHERE $cont.count_of_words IS NULL\";\r\n $result = $conn->query($sql);\r\n }",
"protected function setContent($content = null)\n {\n if (!is_null($content)) {\n if (is_array($content)) {\n $this->innerContent = [];\n foreach ($content as $key => $cnt) {\n if (is_a($cnt, self::class) || is_string($cnt) || is_numeric($cnt)) {\n $this->innerContent[] = $cnt;\n }\n }\n } else {\n $this->innerContent = [$content];\n }\n }\n }",
"public function setTextLimit($l = 150)\n {\n $this->shorteningLimit = $l;\n }",
"public function setContent( string $content );",
"public function setNumSpaces($numSpaces) {\n\t\t$this->spaces = str_repeat(' ', $numSpaces);\n\t\t$this->numSpaces = $numSpaces;\n\t}",
"public static function UpdateUniCountOfWords() {\r\n $conn = ModMetocHelper::coToDa();\r\n $cont = ModMetocHelper::conTab();\r\n $sql = \"SELECT `id`, `introtext`, `fulltext` FROM $cont\";\r\n $result = $conn->query($sql);\r\n\r\n\r\n if ($result->num_rows > 0) {\r\n ini_set('max_execution_time', 100); // extend max time of processing\r\n while ($row = $result->fetch_assoc()) {\r\n $ucow = count(array_unique(str_word_count(($row['introtext'] . ' ' . $row['fulltext']), 1))); //upravit\r\n $id = $row['id'];\r\n $sqlUpdate = \"UPDATE $cont SET $cont.uni_count_of_words=($ucow) WHERE $cont.uni_count_of_words IS NULL AND $cont.id=$id\";\r\n\r\n $conn->query($sqlUpdate);\r\n }\r\n }\r\n ini_set('max_execution_time', 30); // set max time to 30 second\r\n }",
"public function toMilligram(): self\n {\n if (! isset($this->gram)) {\n throw new MissingConversionUnitException();\n }\n\n $this->weight = $this->gram * 1000;\n\n return $this;\n }",
"public function setContent($content){\n $this->_content = $content;\n }",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);"
] |
[
"0.54640776",
"0.53311783",
"0.5114789",
"0.51066756",
"0.51065695",
"0.50787115",
"0.5057249",
"0.50513315",
"0.50469357",
"0.5046477",
"0.5037652",
"0.50365174",
"0.5010973",
"0.5000031",
"0.49932125",
"0.49693558",
"0.49678785",
"0.49629256",
"0.49381828",
"0.49129298",
"0.49090457",
"0.49039504",
"0.4878988",
"0.4878988",
"0.4878988",
"0.4878988",
"0.4878988",
"0.4878988",
"0.4878988",
"0.4878988"
] |
0.5892093
|
0
|
Getter of Fat Content The number of grams of fat.
|
public function getFatContent()
{
return $this->fatContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function getFosaCount()\n {\n return $this->manager->createQuery('SELECT COUNT(m) FROM App\\Entity\\Morgue m')\n ->getSingleScalarResult();\n }",
"public function count()\r\n {\n return $this->fm->count();\n }",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"public function getSaturatedFatContent()\n {\n return $this->saturatedFatContent;\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getSize()\n {\n return $this->item['size'];\n }",
"public function fat()\n\t{\n\t\treturn $this->macronutrients()['fat'];\n\t}",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function count() {\n \n return $this->getLength();\n }",
"public function getSize() {\r\n\t\treturn $this->app->filesystem->formatFilesize($this->get('size', 0));\r\n\t}",
"public function totalCottages()\n {\n return $this->cottage->count();\n }",
"public function size(): int\n {\n return $this->content->size();\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function getFiberContent()\n {\n return $this->fiberContent;\n }",
"public function getSize(): int {\n\t\treturn mb_strlen($this->getContent());\n\t}",
"public function count()\n {\n return $this->__size;\n }",
"function getSize() {\n\t\treturn $this->data_array['filesize'];\n\t}",
"public function getSize() {\n return (int) $this->_count;\n }",
"public function getFileCount(){\n\t\treturn $this->intFileCount;\n\t}",
"public function count()\n {\n return $this->length();\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"function size()\n\t\t\t{\n\t\t\t\treturn $this->db->order_by('size_id')->get('size');\n\t\t\t}",
"public function getContent() {\n $request =& HTTPRequest::instance();\n $group_id = $request->get('group_id');\n\n $duMgr = new Statistics_DiskUsageManager();\n $duHtml = new Statistics_DiskUsageHtml($duMgr);\n\n return $duHtml->getTotalProjectSize($group_id);\n }",
"public function getCount()\n {\n return $this->sideCount * $this->sideCount;\n }"
] |
[
"0.6865591",
"0.6321234",
"0.63044405",
"0.5862818",
"0.5845769",
"0.58390427",
"0.57175183",
"0.571679",
"0.562159",
"0.5618577",
"0.55989647",
"0.55961794",
"0.55899996",
"0.55646276",
"0.5560719",
"0.5555355",
"0.5506255",
"0.546915",
"0.54649884",
"0.5450512",
"0.54262143",
"0.5416397",
"0.54107165",
"0.5403634",
"0.5401501",
"0.53925097",
"0.53925097",
"0.5386956",
"0.5386272",
"0.5378014"
] |
0.66519296
|
1
|
Setter of Fat Content The number of grams of fat.
|
public function setFatContent($value)
{
$this->fatContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function setSaturatedFatContent($value)\n {\n $this->saturatedFatContent = $value;\n }",
"public function setFiberContent($value)\n {\n $this->fiberContent = $value;\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function setFileSize($val)\n {\n $this->_propDict[\"fileSize\"] = $val;\n return $this;\n }",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function setFactor($f)\n\t{\n\t\t$this->factor = (int) $f;\n\n\t\treturn $this;\n\t}",
"public function setGiphyContentRating($val)\n {\n $this->_propDict[\"giphyContentRating\"] = $val;\n return $this;\n }",
"public function setTransFatContent($value)\n {\n $this->transFatContent = $value;\n }",
"public function setSize(?float $value): void {\n $this->getBackingStore()->set('size', $value);\n }",
"public function setNumGlyphs($value) {}",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function sizeField($value) {\n return $this->setProperty('sizeField', $value);\n }",
"public function setSizeAttribute($value)\n {\n $size = self::getSizeLetter($value);\n\n if ($size) {\n $this->attributes['size'] = $size;\n }\n }",
"public function setTempFahrenheit() {\n\t\t$this->unit = 'fahrenheit';\n\t}",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"private function setFileSize(){\r\n $headers = get_headers($this->fileName);\r\n $this->fileSize = round(str_replace('Content-Length: ','',$headers[2])/1024,2);\r\n }",
"public function setSizeInGB(?int $value): void {\n $this->getBackingStore()->set('sizeInGB', $value);\n }",
"public function setUnsaturatedFatContent($value)\n {\n $this->unsaturatedFatContent = $value;\n }",
"function getTextSize($class) {\n\t$initialSize = 125;\n\t$multiplier = 10;\n\n if ($class == \"site\") $level = 0;\n if ($class == \"section\") $level = 1;\n if ($class == \"page\") $level = 2;\n if ($class == \"story\") $level = 3;\n\n\t$size = $initialSize - $level*$multiplier;\n\t$size = $size.\"%\";\n\treturn $size;\n}",
"function setCount( $value )\n {\n if ( $this->State_ == \"Dirty\" )\n $this->get( $this->ID );\n\n $this->Count = $value;\n setType( $this->Count, \"integer\" );\n }",
"function set_num_items($num){\n $this -> num_of_items = $num;\n }",
"public function setWidth($value)\n {\n $this->_width = $value;\n }",
"public function setContentLength($value)\n {\n $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_CONTENTLENGTH] \n = $value;\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function setMagia6Attribute($value) {\n $this->attributes['magia6'] = $this->verificaAtributo($value, true);\n }"
] |
[
"0.55215806",
"0.54069865",
"0.53988737",
"0.51530486",
"0.5061519",
"0.49376565",
"0.4910744",
"0.48504466",
"0.48501262",
"0.48163787",
"0.4813475",
"0.47901472",
"0.47901472",
"0.4784374",
"0.4784374",
"0.4784374",
"0.47760782",
"0.47751638",
"0.47735742",
"0.47604933",
"0.47424632",
"0.47414547",
"0.47310153",
"0.47139323",
"0.4711609",
"0.47105792",
"0.4696454",
"0.4693338",
"0.46925604",
"0.46849015"
] |
0.606326
|
0
|
Getter of Fiber Content The number of grams of fiber.
|
public function getFiberContent()
{
return $this->fiberContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function getSize() {\n return (int) $this->_count;\n }",
"public function getBlockCount();",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function chunks() { return $this->_m_chunks; }",
"public function count() {\n return $this->size;\n }",
"public function count()\n {\n return $this->size;\n }",
"public function count()\r\n {\n return $this->fm->count();\n }",
"public function count() {\n \n return $this->getLength();\n }",
"public function count() { return $this->_m_count; }",
"public function count()\n {\n return $this->__size;\n }",
"public function getCount() {\r\n return $this->count;\r\n }",
"public function getCount()\n {\n return $this->data['count'];\n }",
"function get_gallery_count()\n {\n $settings = C_NextGen_Settings::get_instance();\n $count = $settings->get('gallery_count', FALSE);\n if (!$count) {\n $count = M_NextGen_Admin::update_gallery_count_setting();\n }\n return $count;\n }",
"function get_object_count()\r\n {\r\n return $this->get_browser()->count_photo_gallery_publications($this->get_condition());\r\n }",
"public function getCount()\n {\n return $this->_count;\n }",
"public function getCount()\n {\n return $this->_count;\n }",
"public function getCount()\r\n {\r\n return $this->count;\r\n }",
"public function size()\n {\n return $this->count;\n }",
"public function count(){\n return $this->_count;\n }",
"public function count(): int\n {\n return $this->blocks->count();\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }",
"public function getCount()\n {\n return $this->count;\n }"
] |
[
"0.6240604",
"0.6018518",
"0.5844242",
"0.58240634",
"0.5810685",
"0.5793559",
"0.578089",
"0.5759052",
"0.5752725",
"0.5725656",
"0.57256293",
"0.57020795",
"0.56950283",
"0.5690333",
"0.5686585",
"0.5669889",
"0.5659125",
"0.56588745",
"0.56588745",
"0.56491464",
"0.5616052",
"0.561126",
"0.55992365",
"0.55870545",
"0.55870545",
"0.55870545",
"0.55870545",
"0.55870545",
"0.55870545",
"0.55870545"
] |
0.6838082
|
0
|
Setter of Fiber Content The number of grams of fiber.
|
public function setFiberContent($value)
{
$this->fiberContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function set_num_items($num){\n $this -> num_of_items = $num;\n }",
"public function chunkSize($value) {\n return $this->setProperty('chunkSize', $value);\n }",
"public function setSizeGib($var)\n {\n GPBUtil::checkInt32($var);\n $this->size_gib = $var;\n\n return $this;\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function setSizeInGB(?int $value): void {\n $this->getBackingStore()->set('sizeInGB', $value);\n }",
"public function setSize(?float $value): void {\n $this->getBackingStore()->set('size', $value);\n }",
"public function getFiberContent()\n {\n return $this->fiberContent;\n }",
"public function setNumberOfChildren( $value ) {\n\t\tif ( !intval($value) ) {\n\t\t\tthrow new \\InvalidArgumentException(sprintf('The value \"%s\" is invalid.', $value));\n\t\t}\n\t\t$this->config['general']['numberOfChildren'] = $value;\n\t}",
"function setCount( $value )\n {\n if ( $this->State_ == \"Dirty\" )\n $this->get( $this->ID );\n\n $this->Count = $value;\n setType( $this->Count, \"integer\" );\n }",
"public function setSize(?int $value): void {\n $this->getBackingStore()->set('size', $value);\n }",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"public function setNumCopies($numCopies) {}",
"private function setNumberOfPages(): void\n {\n $this->number_of_pages = (int)ceil($this->number_of_records / $this->per_page);\n }",
"protected function setCount($count) {\r\n $this->count = $count;\r\n }",
"function setPageSize($value)\n {\n $this->_props['PageSize'] = $value;\n }",
"protected function setContent() {}",
"private function refreshNbPages()\n {\n $this->_nbPages = $this->_limit ? ceil($this->_count/$this->_limit) : 0;\n }",
"public function setMaxBodySize(int $value): void {}",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function getBlockCount();",
"public function setMemberCount($newValue) {\r\n $this->cached_member_count = $newValue;\r\n }",
"public function setMaxSizeOfInstructions($value) {}",
"function addContentWidth() {\n\t\t\tglobal $content_width;\n\t\t\tif ( isset( $content_width ) ) {\n\t\t\t\t$content_width = 628;\n\t\t\t}\n\n\t\t}",
"public function setSettingCount(?int $value): void {\n $this->getBackingStore()->set('settingCount', $value);\n }",
"public function setNumGlyphs($value) {}",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }"
] |
[
"0.54326737",
"0.54055667",
"0.5359982",
"0.52917224",
"0.5144467",
"0.51420164",
"0.49709317",
"0.4965089",
"0.4951835",
"0.49481004",
"0.4947216",
"0.4894067",
"0.4871311",
"0.48406622",
"0.48244852",
"0.48201087",
"0.48175493",
"0.48153156",
"0.480381",
"0.47806403",
"0.47806403",
"0.477299",
"0.47637945",
"0.47520393",
"0.4732958",
"0.47278705",
"0.47147807",
"0.4709379",
"0.4709379",
"0.4709379"
] |
0.62367845
|
0
|
Getter of Protein Content The number of grams of protein.
|
public function getProteinContent()
{
return $this->proteinContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfProtein()\n\t{\n\t\treturn $this->protein;\n\t}",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function getNumagence()\n {\n return $this->numagence;\n }",
"public function getIngredientsNum():int\n {\n return $this->ingredients_num;\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function count() {\n \n return $this->getLength();\n }",
"function getNbProduits() {\n\t return $this->nbProduits;\n\t }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"function getCantidadPaises(){\n\t\treturn $this->cantidad_paises;\n\t}",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"function size()\n {\n return $this->p_size;\n }",
"function get_object_count()\r\n {\r\n return $this->get_browser()->count_photo_gallery_publications($this->get_condition());\r\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function getNbGroupes()\n {\n return $this->nbGroupes;\n }",
"public function getMammalLegs() {\n return $this->number_of_legs;\n }",
"public function getLenom():string\n {\n return $this->lenom;\n }",
"public function size(): int\n {\n return $this->content->size();\n }",
"public function getNbPion()\n {\n return $this->nbPion;\n }",
"public function getPartySize()\n {\n return $this->getAdults() + $this->getChildren() + $this->getInfants();\n }",
"public function get_data_length() {\n return $this->pages;\n }",
"public function getTreeCount(){\n\t\t\t$sql = mysql_query(\"\n SELECT\n count(*) AS `count`\n FROM\n `structure`\n \");\n\n $result = mysql_fetch_row($sql);\n\t\t\treturn $result[0];\n\t\t}",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function getTagsSize() {\n \t$user = GetUser();\n $query = \"SELECT COUNT(dct.tagid) AS tagsize FROM [|PREFIX|]dynamic_content_tags dct \";\n if (!$user->isAdmin()) {\n \t$query .= \" WHERE dct.ownerid = '{$user->Get('userid')}' \";\n }\n $result = $this->db->Query ( $query );\n if($row = $this->db->Fetch ( $result )) {\n return $row ['tagsize'];\n }\n return 0;\n }",
"public function getSize(): int {\n\t\treturn mb_strlen($this->getContent());\n\t}",
"public function count()\n {\n return $this->length();\n }",
"public function getGroupAgeSize() {\n\t\treturn $this->_group_age_size;\n\t}",
"public function protein()\n\t{\n\t\treturn $this->macronutrients()['protein'];\n\t}",
"private final function getLength() {\n\t\t\treturn $this->length;\n\t\t}",
"public function count()\n {\n return $this->__size;\n }"
] |
[
"0.6754218",
"0.5747178",
"0.56762564",
"0.56112814",
"0.5600712",
"0.55497056",
"0.54690367",
"0.5438966",
"0.5435701",
"0.54334396",
"0.5432112",
"0.5373279",
"0.534092",
"0.5321318",
"0.5300913",
"0.5263559",
"0.5240954",
"0.5235093",
"0.5218813",
"0.52137387",
"0.5213188",
"0.5212386",
"0.5212106",
"0.52064",
"0.5203841",
"0.5196091",
"0.5187817",
"0.51820767",
"0.5181649",
"0.51747483"
] |
0.6784707
|
0
|
Setter of Protein Content The number of grams of protein.
|
public function setProteinContent($value)
{
$this->proteinContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfProtein()\n\t{\n\t\treturn $this->protein;\n\t}",
"public function getProteinContent()\n {\n return $this->proteinContent;\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function setNumGlyphs($value) {}",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function setMaxSizeOfInstructions($value) {}",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function setGroupAgeSize($value) {\n\t\t$this->_group_age_size = $value;\n\t}",
"function set_num_items($num){\n $this -> num_of_items = $num;\n }",
"public function getIngredientsNum():int\n {\n return $this->ingredients_num;\n }",
"public function setSizeGib($var)\n {\n GPBUtil::checkInt32($var);\n $this->size_gib = $var;\n\n return $this;\n }",
"public function setSizeInGB(?int $value): void {\n $this->getBackingStore()->set('sizeInGB', $value);\n }",
"public function chunkSize($value) {\n return $this->setProperty('chunkSize', $value);\n }",
"function getNbProduits() {\n\t return $this->nbProduits;\n\t }",
"public function setGridSize($girdSize);",
"public function getNbPion()\n {\n return $this->nbPion;\n }",
"public function setGiphyContentRating($val)\n {\n $this->_propDict[\"giphyContentRating\"] = $val;\n return $this;\n }",
"public function getNbGroupes()\n {\n return $this->nbGroupes;\n }",
"function setPageSize($value)\n {\n $this->_props['PageSize'] = $value;\n }",
"public function getMammalLegs() {\n return $this->number_of_legs;\n }",
"public function getLimiteTamanhoAnexo() {\n return $this->attachSize;\n }",
"public function count()\t{\n\t\t$this->stringBase = preg_replace('/:fields/', 'count(*)', $this->stringBase);\n\t\treturn $this;\n\t}",
"private function countLength() {\n\n $this->_length = strlen($this->_value);\n }",
"public function SetNumPages()\n\t\t{\n\t\t\t$this->_pricenumpages = ceil($this->GetNumProducts() / GetConfig('CategoryProductsPerPage'));\n\t\t}",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function setLength() { \n $this->_rectLength = $_POST[\"Length\"]; // Gets the length from the HTML program and stores in \"_rectLength\"\n echo(\"The length of the rectangle is: \".$this->_rectLength); // Outputs the length to the console\n echo(\"<br>\");\n }",
"public function setNumberOfChildren( $value ) {\n\t\tif ( !intval($value) ) {\n\t\t\tthrow new \\InvalidArgumentException(sprintf('The value \"%s\" is invalid.', $value));\n\t\t}\n\t\t$this->config['general']['numberOfChildren'] = $value;\n\t}",
"function set_length($length) {\n $this->length = $length;\n }"
] |
[
"0.54145986",
"0.51854783",
"0.5059998",
"0.5026829",
"0.5010926",
"0.49719703",
"0.49553344",
"0.49084803",
"0.48012495",
"0.47882476",
"0.47373524",
"0.47315845",
"0.47128662",
"0.4635005",
"0.46297514",
"0.46268013",
"0.4618066",
"0.46151975",
"0.45794424",
"0.45545822",
"0.45447594",
"0.45236987",
"0.4522876",
"0.4517486",
"0.4513623",
"0.4513623",
"0.4513623",
"0.4477634",
"0.4471929",
"0.44611093"
] |
0.6032921
|
0
|
Getter of Saturated Fat Content The number of grams of saturated fat.
|
public function getSaturatedFatContent()
{
return $this->saturatedFatContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function getFatContent()\n {\n return $this->fatContent;\n }",
"public function getUnsaturatedFatContent()\n {\n return $this->unsaturatedFatContent;\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function fat()\n\t{\n\t\treturn $this->macronutrients()['fat'];\n\t}",
"public function getFosaCount()\n {\n return $this->manager->createQuery('SELECT COUNT(m) FROM App\\Entity\\Morgue m')\n ->getSingleScalarResult();\n }",
"public function setSaturatedFatContent($value)\n {\n $this->saturatedFatContent = $value;\n }",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"public function cost() {\n $cost = $this->beverage->cost();\n switch ($this->beverage->getSize()) {\n case 'tall':\n $cost += 1;\n break;\n case 'grande':\n $cost += 3;\n break;\n case 'venti':\n $cost += 6;\n break;\n }\n return $cost;\n }",
"public function calculateBodyDensityFloat()\n {\n $sum = $this->measurements['caliper_chest']\n + $this->measurements['caliper_abdomen']\n + $this->measurements['caliper_thigh'];\n\n $bodyDensity = 1.10938 - (0.0008267 * $sum) + (0.0000016 * pow($sum, 2)) - (0.0002574 * $this->age);\n\n return $bodyDensity;\n }",
"public function size() {\n return \"Red House is small.\";\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getMiningFeesSatoshis()\r\n {\r\n return $this->mining_fees_satoshis;\r\n }",
"function getTextSize($class) {\n\t$initialSize = 125;\n\t$multiplier = 10;\n\n if ($class == \"site\") $level = 0;\n if ($class == \"section\") $level = 1;\n if ($class == \"page\") $level = 2;\n if ($class == \"story\") $level = 3;\n\n\t$size = $initialSize - $level*$multiplier;\n\t$size = $size.\"%\";\n\treturn $size;\n}",
"public function getFiberContent()\n {\n return $this->fiberContent;\n }",
"public function getFood()\n {\n return $this->food;\n }",
"public function getFiguredLarge()\n\t{\n\t\tif(!Storage::has('json/wristband/colors/figuredLarge.json')) {\n\t\t\t// generate and save .json file.\n\t\t\tStorage::put('json/wristband/colors/figuredLarge.json', json_encode($this->figuredLarge()));\n\t\t}\n\t\t// return data from .json file.\n\t\treturn json_decode(Storage::get('json/wristband/colors/figuredLarge.json'), true);\n\t}",
"public function getTotalCotisFsh(): ?float {\n return $this->totalCotisFsh;\n }",
"public function getDias60()\n {\n return $this->dias60;\n }",
"public function getGrowthFactor()\n {\n return $this->growth_factor;\n }",
"public function getFreight()\n {\n return $this->freight;\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"function getPopulation() {\n\t\t$feed_contents = file_get_contents('http://portale.comune.venezia.it/millefoglie/statistiche/scheda/QUARTIERE-POPOLA-2$1$------');\n\t\t$DOM = new DOMDocument;\n\t\t$DOM->loadHTML($feed_contents);\n\n\t\t$items = $DOM->getElementsByTagName('td');\n \t\t$population = $items->item($items->length - 1)->nodeValue;\n\t\treturn intval($population);\n\t}",
"public function getMarkup(): ?float\n {\n $totalCost = $this->getTotalCost();\n if ( $totalCost > 0 ) {\n return $this->getTotalProfit() / $this->getTotalCost();\n }\n return null;\n }",
"public function getHeightS()\n {\n if (! isset($this->heightS)) {\n $this->heightS = (($nodeList = $this->getDomXPath($this->getDomDocument())->query($this->getHeightSQuery())) && $nodeList->length)\n ? $nodeList->item(0)->value\n : null;\n }\n return $this->heightS;\n }",
"public function getTransFatContent()\n {\n return $this->transFatContent;\n }",
"public function getTotalFieldHTWithDiscountAttribute()\n {\n return (float)$this->getTotalPriceHtAttribute(true);\n }",
"public function count()\r\n {\n return $this->fm->count();\n }",
"public function getSize()\n {\n return $this->item['size'];\n }",
"function totalfarmer_Cfemale($farmer_id){\n\n\t$crud = new CRUD();\n\t$crud->disconnect();\n\t$crud -> sql(\"select *, COUNT(barangay_id_fk) from farmers_tbl where barangay_id_fk='{$farmer_id}' and care_of_pig='Children / Female'\");\n\t$r = $crud->getResult();\n\tforeach($r as $rs){\n\t\treturn $rs['COUNT(barangay_id_fk)'];\n\t}\n\t$crud->disconnect();\n}"
] |
[
"0.6349346",
"0.62593734",
"0.6040652",
"0.59569585",
"0.55393076",
"0.5528327",
"0.54782456",
"0.5315036",
"0.52982104",
"0.52593",
"0.515077",
"0.51399165",
"0.51242965",
"0.51191944",
"0.51155305",
"0.5106214",
"0.51034784",
"0.5096977",
"0.5062941",
"0.50571954",
"0.50299215",
"0.50100404",
"0.5005928",
"0.50037676",
"0.5002434",
"0.49956286",
"0.49953887",
"0.4989741",
"0.49895033",
"0.4985827"
] |
0.73696434
|
0
|
Setter of Saturated Fat Content The number of grams of saturated fat.
|
public function setSaturatedFatContent($value)
{
$this->saturatedFatContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setFatContent($value)\n {\n $this->fatContent = $value;\n }",
"public function getSaturatedFatContent()\n {\n return $this->saturatedFatContent;\n }",
"public function setUnsaturatedFatContent($value)\n {\n $this->unsaturatedFatContent = $value;\n }",
"public function setTempFahrenheit() {\n\t\t$this->unit = 'fahrenheit';\n\t}",
"public function setFiberContent($value)\n {\n $this->fiberContent = $value;\n }",
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function setMagia6Attribute($value) {\n $this->attributes['magia6'] = $this->verificaAtributo($value, true);\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function setSizeAttribute($value)\n {\n $size = self::getSizeLetter($value);\n\n if ($size) {\n $this->attributes['size'] = $size;\n }\n }",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function setFifthSic($fifthSic)\n {\n $this->fifthSic = $fifthSic;\n return $this;\n }",
"public function setFactor($f)\n\t{\n\t\t$this->factor = (int) $f;\n\n\t\treturn $this;\n\t}",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"public function setFresh($fresh)\n {\n $this->fresh = intval($fresh);\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setTransFatContent($value)\n {\n $this->transFatContent = $value;\n }",
"public function setSizeInGB(?int $value): void {\n $this->getBackingStore()->set('sizeInGB', $value);\n }",
"public function setSize(?float $value): void {\n $this->getBackingStore()->set('size', $value);\n }",
"public function setGiphyContentRating($val)\n {\n $this->_propDict[\"giphyContentRating\"] = $val;\n return $this;\n }",
"function getTextSize($class) {\n\t$initialSize = 125;\n\t$multiplier = 10;\n\n if ($class == \"site\") $level = 0;\n if ($class == \"section\") $level = 1;\n if ($class == \"page\") $level = 2;\n if ($class == \"story\") $level = 3;\n\n\t$size = $initialSize - $level*$multiplier;\n\t$size = $size.\"%\";\n\treturn $size;\n}",
"public function holeSize($value) {\n return $this->setProperty('holeSize', $value);\n }",
"public function setCategory6($val)\n {\n $this->_propDict[\"category6\"] = $val;\n return $this;\n }",
"public function setFood($x, $y)\n {\n $this->setMapContent($x + 1, $y + 1, 'food');\n }",
"public function setPlafondFsh(?float $plafondFsh): DeclarationCafat {\n $this->plafondFsh = $plafondFsh;\n return $this;\n }",
"public function setFifthSicDesc($fifthSicDesc)\n {\n $this->fifthSicDesc = $fifthSicDesc;\n return $this;\n }",
"public function setTotalCotisFsh(?float $totalCotisFsh): DeclarationCafat {\n $this->totalCotisFsh = $totalCotisFsh;\n return $this;\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }"
] |
[
"0.57257414",
"0.53905994",
"0.5270793",
"0.52209467",
"0.5159335",
"0.48753607",
"0.4857519",
"0.4834006",
"0.48182428",
"0.48105794",
"0.48009753",
"0.47739965",
"0.4744801",
"0.47394526",
"0.47250953",
"0.47250953",
"0.47113228",
"0.47105113",
"0.470707",
"0.46790844",
"0.46470913",
"0.46296003",
"0.4626918",
"0.45974305",
"0.4584227",
"0.45784977",
"0.45769218",
"0.4575157",
"0.4575157",
"0.4575157"
] |
0.66535646
|
0
|
Getter of Serving Size The serving size, in terms of the number of volume or mass
|
public function getServingSize()
{
return $this->servingSize;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->getStat('size');\n }",
"public function getSize() {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize()\n {\n return $this->item['size'];\n }",
"public function getSize() {\n\n return $this->size;\n\t}",
"public function getSize() {\n return $this->_size;\n }",
"public function getSize() {\n\n return $this->size;\n }",
"public function getSize()\n {\n return $this->size;\n }",
"public function getSize() {\n\t \t return $this->size;\n\t }",
"function getSize()\r\n\t{\r\n\t\treturn $this->size;\r\n\t}",
"public function getSize()\n\t{\n\t\treturn $this->size;\n\t}",
"public function getSize()\n {\n return $this->_Size;\n }",
"public function getSize() \n {\n return $this->_size; \n }",
"function getSize() {\n return $this->size;\n }",
"function getSize()\n {\n $this->loadStats();\n return $this->stat['size'];\n }",
"public function getSize(): int\n {\n return $this->size;\n }",
"public function getSize() : int\n {\n return $this->size;\n }",
"public function getSize() : int\n {\n return $this->size;\n }",
"public function getSize() : int\n {\n return $this->size;\n }",
"function getSize() { return $this->_size; }"
] |
[
"0.7809924",
"0.7809924",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7735126",
"0.7732969",
"0.77243847",
"0.77163374",
"0.7648668",
"0.76471853",
"0.76066",
"0.7604833",
"0.7585662",
"0.75349224",
"0.7531123",
"0.75299716",
"0.7486902",
"0.74815655",
"0.74363995",
"0.7380163",
"0.73617744",
"0.7324324",
"0.7324324",
"0.7324324",
"0.73169327"
] |
0.8615779
|
0
|
Setter of Serving Size The serving size, in terms of the number of volume or mass
|
public function setServingSize($value)
{
$this->servingSize = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function setSize($size) {\n\t\t$this->size = $size;\n\t}",
"function setSize($size)\n {\n $this->size = $size;\n }",
"public function getServingSize()\n {\n return $this->servingSize;\n }",
"public function setSize($size) {\n $this->size = $size;\n }",
"public function setSize($size) {\n $this->size = $size;\n }",
"public function setSize($size)\n {\n $this->size = $size;\n }",
"public function setSize($size) {\n $this->_size = $size;\n }",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function setSize($size);",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"public function setSize(int $size)\n {\n $this->size = $size;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"function limitToSize($size) {\r\n $this->sizeLimit = $size;\r\n }",
"public function setSize($var)\n {\n GPBUtil::checkInt32($var);\n $this->size = $var;\n\n return $this;\n }",
"public function setSize($value) {\n$allowed = ['small', 'medium', 'large'];\nif (!in_array($value, $allowed))\n throw new Exception('The size must be either small, medium, or large');\n$this->size = $value;\nreturn $this;\n}",
"public function setSize(Size $size)\n {\n $this->options['size'] = $size;\n }",
"public function setSize($size)\n {\n $this->size = $size;\n\n return $this;\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function setPlanetSize($size) {\n list ($x, $y) = explode(' ', $size);\n \n $this->maxX = $x;\n $this->maxY = $y;\n }",
"public function setSize($size)\n {\n $this->size = $size;\n $this->computeGroup();\n }",
"public function setSizeAttribute($value)\n {\n $size = self::getSizeLetter($value);\n\n if ($size) {\n $this->attributes['size'] = $size;\n }\n }",
"public function setSize($size = 100)\n {\n $this->size = $size;\n\n return $this;\n }",
"function Set_max_size($ServerName, $max_size){\n\t\tself::Run_flushctl_command($ServerName, \" set max_size \".$max_size);\n\t}",
"public function size($size)\n {\n $this->size = $size;\n return $this;\n }",
"public function size($size)\n\t{\n\t\t$this->size = $size;\n\t\treturn $this;\n\t}",
"public function setSize(int $size) : self\n {\n $this->initialized['size'] = true;\n $this->size = $size;\n return $this;\n }",
"public function setSize(int $size) : self\n {\n $this->initialized['size'] = true;\n $this->size = $size;\n return $this;\n }"
] |
[
"0.7349647",
"0.7326837",
"0.7307173",
"0.72020406",
"0.72020406",
"0.7172832",
"0.7109579",
"0.6960561",
"0.68781847",
"0.68491304",
"0.6825747",
"0.68044287",
"0.68044287",
"0.68041635",
"0.6784586",
"0.6691421",
"0.6654558",
"0.6652436",
"0.6652401",
"0.6652401",
"0.6652401",
"0.6619159",
"0.66172636",
"0.6586733",
"0.6543702",
"0.65266514",
"0.65111524",
"0.6490169",
"0.64649874",
"0.64649874"
] |
0.8474157
|
0
|
Getter of Sodium Content The number of milligrams of sodium.
|
public function getSodiumContent()
{
return $this->sodiumContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function size(): int\n {\n return $this->content->size();\n }",
"public function getSize(): int {\n\t\treturn mb_strlen($this->getContent());\n\t}",
"public function getContentLength() { return $this->content_length; }",
"public function getDocumentSize() {\n return $this->document['size'];\n }",
"public function getContent() {\n $request =& HTTPRequest::instance();\n $group_id = $request->get('group_id');\n\n $duMgr = new Statistics_DiskUsageManager();\n $duHtml = new Statistics_DiskUsageHtml($duMgr);\n\n return $duHtml->getTotalProjectSize($group_id);\n }",
"public function getContentLength() {\r\n return $this->__contentLength;\r\n }",
"function size()\n\t\t\t{\n\t\t\t\treturn $this->db->order_by('size_id')->get('size');\n\t\t\t}",
"public function getContentLength(): int\n {\n return $this->length;\n }",
"function wprt_content_length() {\n\t$length = wprt_get_mod( 'blog_excerpt_length', '55' );\n\n\treturn $length;\n}",
"public function getContentCount() {\n return $this->count(self::CONTENT);\n }",
"private function getMetadataSize()\n {\n $this->seek($this->offset + 18 + $this->getAliasSize());\n\n return $this->readLong();\n }",
"public function getSize(): int;",
"public function getSize(): int;",
"public function getSize(): int;",
"public function getSize(): int;",
"private function getSize()\n {\n $this->seek($this->offset);\n\n return $this->readLong();\n }",
"public function getSize(): string;",
"function getContentLength(){\n\t\treturn $this->_OutputBuffer->getLength();\n\t}",
"public function getMb()\n {\n return $this->mb;\n }",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"public function getContentsCount()\n {\n return $this->count(self::_CONTENTS);\n }",
"public function size()\n {\n return $this->size;\n }",
"public function size()\n {\n return $this->size;\n }",
"public function getContentsCount() {\n return $this->count(self::CONTENTS);\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"function megastokas($num){\r\n\t\treturn $num*1024;\r\n\t}",
"public function bytes() {\n return $this->bytes;\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getContentLength()\r\n\t{\r\n\t\treturn strlen($this->m_content);\r\n\t}"
] |
[
"0.61431396",
"0.60290694",
"0.6005932",
"0.58610314",
"0.58138424",
"0.5755015",
"0.56914836",
"0.5658084",
"0.559689",
"0.55693096",
"0.5480651",
"0.545184",
"0.545184",
"0.545184",
"0.545184",
"0.54517424",
"0.5451122",
"0.5440245",
"0.5435871",
"0.53971803",
"0.53971803",
"0.53971803",
"0.53969955",
"0.53969955",
"0.5380756",
"0.53637064",
"0.5359616",
"0.5348714",
"0.5342103",
"0.5336218"
] |
0.6853249
|
0
|
Setter of Sodium Content The number of milligrams of sodium.
|
public function setSodiumContent($value)
{
$this->sodiumContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setContent(string $content)\n {\n if (strlen($content) > 5) {\n $this->content = $content;\n }\n }",
"public function sizeToContent() {\n $this->callMethod( 'sizeToContent' );\n }",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function setMaxSizeOfInstructions($value) {}",
"public function setContent($content = '')\n {\n $this->content = $content;\n $this->size = strlen($content);\n\n return $this;\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function setContent()\n {\n }",
"public function size(): int\n {\n return $this->content->size();\n }",
"public function setContent( string $content );",
"private function forceMinimalQrContentLength(string $content): string {\n return str_pad($content, 91, '#');\n }",
"function megastokas($num){\r\n\t\treturn $num*1024;\r\n\t}",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"protected function setContent() {}",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"public function setContent($content);",
"abstract function setContent();",
"function setTextContent(&$content) {\n\t\t$this->lobSub->lobText =& $content;\n\t\t$this->repoObj->lobSubType = 'text';\n\t\t$this->repoObj->lobBytes = strlen($content);\n\t\t$this->lobSub->lobBinary = null;\n\t}",
"public function chunkSize($value) {\n return $this->setProperty('chunkSize', $value);\n }",
"protected function setContent($content = null)\n {\n if (!is_null($content)) {\n if (is_array($content)) {\n $this->innerContent = [];\n foreach ($content as $key => $cnt) {\n if (is_a($cnt, self::class) || is_string($cnt) || is_numeric($cnt)) {\n $this->innerContent[] = $cnt;\n }\n }\n } else {\n $this->innerContent = [$content];\n }\n }\n }",
"public function setContent ($content) {\r\n\t\t$this->content = (string)$content;\r\n\t}"
] |
[
"0.5498193",
"0.5286246",
"0.52702326",
"0.5182912",
"0.5156013",
"0.51221263",
"0.51221263",
"0.51221263",
"0.51096714",
"0.51040256",
"0.5100983",
"0.5080469",
"0.5077039",
"0.5076101",
"0.50601643",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.5058783",
"0.50310427",
"0.5024625",
"0.50217694",
"0.5013039",
"0.50085264"
] |
0.60318476
|
0
|
Getter of Sugar Content The number of grams of sugar.
|
public function getSugarContent()
{
return $this->sugarContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"function get_gallery_count()\n {\n $settings = C_NextGen_Settings::get_instance();\n $count = $settings->get('gallery_count', FALSE);\n if (!$count) {\n $count = M_NextGen_Admin::update_gallery_count_setting();\n }\n return $count;\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getIngredientsNum():int\n {\n return $this->ingredients_num;\n }",
"public function getLootCount()\n {\n return $this->count(self::_LOOT);\n }",
"public function goldTrophyCount(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"function size()\n\t\t\t{\n\t\t\t\treturn $this->db->order_by('size_id')->get('size');\n\t\t\t}",
"function get_object_count()\r\n {\r\n return $this->get_browser()->count_photo_gallery_publications($this->get_condition());\r\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function earnedTrophiesGoldCount(): int\n {\n return $this->pluck('earnedTrophies.gold');\n }",
"public function getCount()\n {\n return $this->get('Count');\n }",
"public function getNbGroupes()\n {\n return $this->nbGroupes;\n }",
"public function countEm()\n {\n $qb = $this->createQueryBuilder('g');\n $qb->select('count(g.id) AS counter');\n $query = $qb->getQuery();\n return $query->getSingleScalarResult();\n }",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function count()\n {\n return $this->length();\n }",
"public function count()\n {\n return count($this->group);\n }",
"function getQuotationCount()\n {\n $result = $this->query(\"SELECT COUNT(*) as count FROM `\".$this->tblPrefix.$this->table.\"` WHERE client_id='\".$this->logUser.\"'\");\n return $result['0']['count'];\n }",
"public function size() {\n return \"Red House is small.\";\n }",
"public function count()\n\t{\n\t\t$content = $this->resource->get($this->name)->getContent();\n\t\t\n\t\treturn $content['doc_count'];\n\t}",
"public function count()\n {\n return $this->__size;\n }",
"public function get_total_badges() {\n\t\t\treturn $this->total_badges;\n\t\t}",
"public function count()\n {\n return $this->getCount();\n }",
"function getSubtotal()\n\t{\n\t\t// Lets load the content if it doesn't already exist\n\t\tif (empty($this->_subtotal))\n\t\t{\n\t\t\t$query = $this->_buildSuburbs();\n\t\t\t$this->_subtotal = $this->_getListCount($query);\n\t\t}\n\n\t\treturn $this->_subtotal;\n\t}",
"public function count()\n {\n return $this->getChildsObject()->count();\n }",
"public function count() {\n \n return $this->getLength();\n }",
"public function count()\n {\n return $this->length();\n }",
"function itemCount(){\r\n\t\tif( $this->_itemCount === null ){\r\n\t\t\tglobal $database;\r\n\t\t\t\r\n\t\t\t$gid = $this->id;\r\n\t\t\t$database->setQuery(\"SELECT COUNT(1) FROM #__rsgallery2_files WHERE gallery_id='$gid' AND published = '1'\");\r\n\t\t\t$this->_itemCount = $database->loadResult();\r\n\t\t}\r\n\t\treturn $this->_itemCount;\r\n\t}"
] |
[
"0.62934244",
"0.614834",
"0.6082615",
"0.5841023",
"0.58284533",
"0.5805369",
"0.574361",
"0.56445706",
"0.5615578",
"0.5602313",
"0.5584336",
"0.5572364",
"0.5568626",
"0.5554541",
"0.5549952",
"0.5537037",
"0.55287045",
"0.55177015",
"0.55050373",
"0.5503512",
"0.54990286",
"0.54880595",
"0.5480604",
"0.5471024",
"0.5465374",
"0.5455113",
"0.5449699",
"0.54447585",
"0.54416454",
"0.54386914"
] |
0.63505137
|
0
|
Getter of Trans Fat Content The number of grams of trans fat.
|
public function getTransFatContent()
{
return $this->transFatContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getFatContent()\n {\n return $this->fatContent;\n }",
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function getSaturatedFatContent()\n {\n return $this->saturatedFatContent;\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function getUnsaturatedFatContent()\n {\n return $this->unsaturatedFatContent;\n }",
"public function getFosaCount()\n {\n return $this->manager->createQuery('SELECT COUNT(m) FROM App\\Entity\\Morgue m')\n ->getSingleScalarResult();\n }",
"public function getFiberContent()\n {\n return $this->fiberContent;\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"function getTextSize($class) {\n\t$initialSize = 125;\n\t$multiplier = 10;\n\n if ($class == \"site\") $level = 0;\n if ($class == \"section\") $level = 1;\n if ($class == \"page\") $level = 2;\n if ($class == \"story\") $level = 3;\n\n\t$size = $initialSize - $level*$multiplier;\n\t$size = $size.\"%\";\n\treturn $size;\n}",
"public function count()\r\n {\n return $this->fm->count();\n }",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"public function getContent() {\n $request =& HTTPRequest::instance();\n $group_id = $request->get('group_id');\n\n $duMgr = new Statistics_DiskUsageManager();\n $duHtml = new Statistics_DiskUsageHtml($duMgr);\n\n return $duHtml->getTotalProjectSize($group_id);\n }",
"public function getSize()\n {\n return $this->item['size'];\n }",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"function getSize() {\n\t\treturn $this->data_array['filesize'];\n\t}",
"public function getMarkup(): ?float\n {\n $totalCost = $this->getTotalCost();\n if ( $totalCost > 0 ) {\n return $this->getTotalProfit() / $this->getTotalCost();\n }\n return null;\n }",
"public function getFileCount(){\n\t\treturn $this->intFileCount;\n\t}",
"public function getSize(): string\n {\n $B = 1;\n $KB = $B * 1024;\n $MB = $KB * 1024;\n $GB = $MB * 1024;\n\n $bytes = filesize($this->filePath);\n\n $units = match (true)\n {\n $bytes >= $GB => ['suffix' => 'GiB', 'base' => $GB, 'css' => 'text-dark'],\n $bytes >= $MB => ['suffix' => 'MiB', 'base' => $MB, 'css' => 'text-light'],\n $bytes >= $KB => ['suffix' => 'KiB', 'base' => $KB, 'css' => 'text-muted'],\n default => ['suffix' => 'B', 'base' => $B, 'css' => 'text-danger']\n };\n\n return sprintf('%.3f', $bytes / $units['base']) . $units['suffix'];\n }",
"public function getSize() {\r\n\t\treturn $this->app->filesystem->formatFilesize($this->get('size', 0));\r\n\t}",
"public function cost() {\n $cost = $this->beverage->cost();\n switch ($this->beverage->getSize()) {\n case 'tall':\n $cost += 1;\n break;\n case 'grande':\n $cost += 3;\n break;\n case 'venti':\n $cost += 6;\n break;\n }\n return $cost;\n }",
"public function totalCottages()\n {\n return $this->cottage->count();\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function getCantidad(){\n\t\t return $this->cantidad;\n\t\t }",
"public function getCantidad()\n {\n return $this->cantidad;\n }",
"public function getCantidad()\n {\n return $this->cantidad;\n }",
"public function getCantidad()\n {\n return $this->cantidad;\n }",
"public function getCantidad()\n {\n return $this->cantidad;\n }",
"public function getCantidad()\n {\n return $this->cantidad;\n }"
] |
[
"0.6603276",
"0.6227711",
"0.60141975",
"0.5811726",
"0.5726108",
"0.5706516",
"0.5694329",
"0.55659914",
"0.5560937",
"0.54233295",
"0.5420923",
"0.5375924",
"0.53001684",
"0.5274359",
"0.5273947",
"0.5245525",
"0.52245295",
"0.5221301",
"0.5219674",
"0.52172434",
"0.5206814",
"0.5205526",
"0.52019304",
"0.5199668",
"0.51980436",
"0.51854485",
"0.51854485",
"0.51854485",
"0.51854485",
"0.51854485"
] |
0.6458601
|
1
|
Setter of Trans Fat Content The number of grams of trans fat.
|
public function setTransFatContent($value)
{
$this->transFatContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setFatContent($value)\n {\n $this->fatContent = $value;\n }",
"public function setFiberContent($value)\n {\n $this->fiberContent = $value;\n }",
"public function setSaturatedFatContent($value)\n {\n $this->saturatedFatContent = $value;\n }",
"public function setTempFahrenheit() {\n\t\t$this->unit = 'fahrenheit';\n\t}",
"function getTextSize($class) {\n\t$initialSize = 125;\n\t$multiplier = 10;\n\n if ($class == \"site\") $level = 0;\n if ($class == \"section\") $level = 1;\n if ($class == \"page\") $level = 2;\n if ($class == \"story\") $level = 3;\n\n\t$size = $initialSize - $level*$multiplier;\n\t$size = $size.\"%\";\n\treturn $size;\n}",
"abstract function setContent();",
"public function setFactor($f)\n\t{\n\t\t$this->factor = (int) $f;\n\n\t\treturn $this;\n\t}",
"protected function setContent() {}",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function setUnsaturatedFatContent($value)\n {\n $this->unsaturatedFatContent = $value;\n }",
"public function setFabricQuantity($quantity) {\r\n \r\n $this->quantity = intVal(100*$quantity);\r\n }",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function setNumGlyphs($value) {}",
"public function setSizeInGB(?int $value): void {\n $this->getBackingStore()->set('sizeInGB', $value);\n }",
"public function setSize(?float $value): void {\n $this->getBackingStore()->set('size', $value);\n }",
"public function setFileSize($val)\n {\n $this->_propDict[\"fileSize\"] = $val;\n return $this;\n }",
"protected function setCount($count) {\r\n $this->count = $count;\r\n }",
"public function setView() {\n \n switch ( $this->getEffect() ) {\n case 1 :\n $this->view = 'first';\n break;\n case 2 :\n $this->view = 'second';\n break;\n case 3 :\n $this->view = 'third';\n break;\n case 4 :\n $this->view = 'fourth';\n break;\n case 5 :\n $this->view = 'fifth';\n break;\n case 6 :\n $this->view = 'sixth';\n break;\n case 7 :\n $this->view = 'seventh';\n break;\n case 8 :\n $this->view = 'eight';\n break;\n case 9 :\n $this->view = 'ninth';\n break;\n default:\n $this->view = 'tenth';\n break;\n }\n return $this->view;\n \n }",
"public function setContent()\n {\n }",
"public function setGiphyContentRating($val)\n {\n $this->_propDict[\"giphyContentRating\"] = $val;\n return $this;\n }",
"public function setTauxFsh(?float $tauxFsh): DeclarationCafat {\n $this->tauxFsh = $tauxFsh;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"function setCount( $value )\n {\n if ( $this->State_ == \"Dirty\" )\n $this->get( $this->ID );\n\n $this->Count = $value;\n setType( $this->Count, \"integer\" );\n }",
"private function setFileSize(){\r\n $headers = get_headers($this->fileName);\r\n $this->fileSize = round(str_replace('Content-Length: ','',$headers[2])/1024,2);\r\n }",
"function set_num_items($num){\n $this -> num_of_items = $num;\n }",
"function addContentWidth() {\n\t\t\tglobal $content_width;\n\t\t\tif ( isset( $content_width ) ) {\n\t\t\t\t$content_width = 628;\n\t\t\t}\n\n\t\t}",
"public function setContentLength($value)\n {\n $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_CONTENTLENGTH] \n = $value;\n }"
] |
[
"0.57104415",
"0.5289289",
"0.51919144",
"0.4936768",
"0.48981127",
"0.48626825",
"0.4851871",
"0.4812189",
"0.47413844",
"0.47244924",
"0.47133064",
"0.46893847",
"0.46796638",
"0.46773967",
"0.46771765",
"0.46441352",
"0.46290568",
"0.46257415",
"0.46011183",
"0.45920104",
"0.45755887",
"0.4565731",
"0.456015",
"0.456015",
"0.45512202",
"0.45483235",
"0.45429897",
"0.45291844",
"0.44894668",
"0.4484741"
] |
0.5521619
|
1
|
Getter of Unsaturated Fat Content The number of grams of unsaturated fat.
|
public function getUnsaturatedFatContent()
{
return $this->unsaturatedFatContent;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getSaturatedFatContent()\n {\n return $this->saturatedFatContent;\n }",
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function getFatContent()\n {\n return $this->fatContent;\n }",
"public function getFosaCount()\n {\n return $this->manager->createQuery('SELECT COUNT(m) FROM App\\Entity\\Morgue m')\n ->getSingleScalarResult();\n }",
"public function getStarGoodsCount()\n {\n return $this->count(self::_STAR_GOODS);\n }",
"public function getMammalLegs() {\n return $this->number_of_legs;\n }",
"public function count()\r\n {\n return $this->fm->count();\n }",
"public function fat()\n\t{\n\t\treturn $this->macronutrients()['fat'];\n\t}",
"public function count() {\n \n return $this->getLength();\n }",
"public function count(): int\n {\n return $this->content()->sum('quantity');\n }",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function getSize()\n {\n return 0;\n }",
"public function getSize() {\r\n\t\treturn $this->app->filesystem->formatFilesize($this->get('size', 0));\r\n\t}",
"public function count() {\r\n\r\n return $this->total_size;\r\n\r\n }",
"public function getSize()\n {\n return $this->item['size'];\n }",
"public function goldTrophyCount(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"public function getSize() {\n return (int) $this->_count;\n }",
"public function size(): int\n {\n return $this->content->size();\n }",
"public function getSize(): int {\n\t\treturn mb_strlen($this->getContent());\n\t}",
"public function get_bodymass() {\n return \"Gewicht = \" . $this->bodymass . \"kg\";\n }",
"public function getDamagesCount()\n {\n return $this->count(self::_DAMAGES);\n }",
"public function count()\n {\n return $this->__size;\n }",
"public function getTagsSize() {\n \t$user = GetUser();\n $query = \"SELECT COUNT(dct.tagid) AS tagsize FROM [|PREFIX|]dynamic_content_tags dct \";\n if (!$user->isAdmin()) {\n \t$query .= \" WHERE dct.ownerid = '{$user->Get('userid')}' \";\n }\n $result = $this->db->Query ( $query );\n if($row = $this->db->Fetch ( $result )) {\n return $row ['tagsize'];\n }\n return 0;\n }",
"public function filled()\n\t{\n\t\treturn Core_Cache::instance($this->cacheType)->getCount($this->id);\n\t}",
"public function count()\n {\n return $this->length();\n }",
"public function count()\n {\n return $this->getNumParts();\n }",
"public function howManyBodies() {\r\n return ($this->id == 5) ? 3 : 1;\r\n }",
"public function getFileCount(){\n\t\treturn $this->intFileCount;\n\t}",
"public function getFiberContent()\n {\n return $this->fiberContent;\n }"
] |
[
"0.6849725",
"0.6441359",
"0.63819814",
"0.62012285",
"0.60478497",
"0.5648696",
"0.5629312",
"0.5594677",
"0.5457532",
"0.542697",
"0.54061836",
"0.5401701",
"0.5340526",
"0.5318531",
"0.5311981",
"0.5310182",
"0.5308383",
"0.52996755",
"0.5285179",
"0.5274189",
"0.5269862",
"0.5246895",
"0.52426326",
"0.5234004",
"0.5222968",
"0.5217547",
"0.52144176",
"0.52134854",
"0.51893514",
"0.5188832"
] |
0.67360806
|
1
|
Setter of Unsaturated Fat Content The number of grams of unsaturated fat.
|
public function setUnsaturatedFatContent($value)
{
$this->unsaturatedFatContent = $value;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setSaturatedFatContent($value)\n {\n $this->saturatedFatContent = $value;\n }",
"public function size()\n {\n return 100 - $this->eaten;\n }",
"public function setFatContent($value)\n {\n $this->fatContent = $value;\n }",
"public function getGramsOfFat()\n\t{\n\t\treturn $this->fat;\n\t}",
"public function getSaturatedFatContent()\n {\n return $this->saturatedFatContent;\n }",
"function setSize($size)\n\t{\n\t\t$this->size = 0+$size;\n\t}",
"public function setFiberContent($value)\n {\n $this->fiberContent = $value;\n }",
"public function setFresh($fresh)\n {\n $this->fresh = intval($fresh);\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setSize($value = false) {\n $this->_size = $value;\n return $this;\n }",
"public function setMinDamage(){ $this->minDamage = 10; }",
"public function setTempFahrenheit() {\n\t\t$this->unit = 'fahrenheit';\n\t}",
"public function getUnsaturatedFatContent()\n {\n return $this->unsaturatedFatContent;\n }",
"public function holeSize($value) {\n return $this->setProperty('holeSize', $value);\n }",
"public function setMagia6Attribute($value) {\n $this->attributes['magia6'] = $this->verificaAtributo($value, true);\n }",
"function setCount( $value )\n {\n if ( $this->State_ == \"Dirty\" )\n $this->get( $this->ID );\n\n $this->Count = $value;\n setType( $this->Count, \"integer\" );\n }",
"public function setNumGlyphs($value) {}",
"public function getMammalLegs() {\n return $this->number_of_legs;\n }",
"public function setSize($value) {\r\n $this->iSize = $this->setIntegerProperty($this->iSize, $value);\r\n }",
"public function setFilledAttendeesCount($val)\n {\n $this->_propDict[\"filledAttendeesCount\"] = intval($val);\n return $this;\n }",
"public function setGiphyContentRating($val)\n {\n $this->_propDict[\"giphyContentRating\"] = $val;\n return $this;\n }",
"public function fakeMeta(int $count = 5)\n {\n $this->setMeta(\n $this->fakeMembers($count)\n );\n\n return $this;\n }",
"function size()\n\t{\n\t\treturn $this->nb;\n\t}",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function size($value) {\n return $this->setProperty('size', $value);\n }",
"public function setFactor($f)\n\t{\n\t\t$this->factor = (int) $f;\n\n\t\treturn $this;\n\t}",
"public function getSizeGib()\n {\n return $this->size_gib;\n }",
"public function setFileSize($val)\n {\n $this->_propDict[\"fileSize\"] = $val;\n return $this;\n }",
"public function setStructureRightBackMetalDust($value) {\n switch ($value) {\n case 0 : // Sin da�o\n return 0;\n break;\n case 7 : // Deformacion Fuerte\n return 14;\n break;\n case 8 : // Deformacion medio\n return 12;\n break;\n case 6 : // Malo\n return 20;\n break;\n case 9 : // Golpe\n return 0;\n break;\n case 10 : // Rayon\n return 1;\n break;\n case 11 : // Reparacion Buena\n return 0;\n break;\n case 12 : // Reparacion Mala\n return 10;\n break;\n case 13 : // Sumido\n return 2;\n break;\n }\n }"
] |
[
"0.57503486",
"0.5290251",
"0.52467346",
"0.51283073",
"0.5021745",
"0.4933637",
"0.48243824",
"0.48122522",
"0.4805816",
"0.4805816",
"0.47842354",
"0.47368717",
"0.4735139",
"0.47350422",
"0.4668271",
"0.4651706",
"0.46463984",
"0.4635742",
"0.4609403",
"0.4607547",
"0.46017444",
"0.4597518",
"0.45799363",
"0.4570707",
"0.4570707",
"0.4570707",
"0.45607984",
"0.45535928",
"0.45321506",
"0.45321324"
] |
0.5571888
|
1
|
Returns a list of airports ordered alphabetically.
|
public function getAllAirportsAlphabetically($columns = ['*'])
{
return $this->model->orderBy('name', 'ASC')->get($columns)->toArray();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected function getAirportList()\n {\n $cache = new FilesystemAdapter();\n $airportCache = $cache->getItem('airportcache.list');\n\n if (!$airportCache->isHit()) {\n $client = $this->container->get('guzzle.avinor.client');\n $response = $client->get('/airportNames.asp');\n $result = $response->getBody()->getContents();\n\n $service = new Service();\n $airports = $service->parse($result);\n\n $airportCache->set($airports);\n $cache->save($airportCache);\n }\n\n return $airportCache->get();\n }",
"public function getPaginatedAirportsAlphabetically($perPage = 30, $columns = ['*'])\n {\n return $this->model->orderBy('name', 'ASC')->paginate($perPage, $columns)->toArray();\n }",
"static public function GetAirports()\n {\n $ids = DbHandler::Query(\"SELECT DISTINCT(airport_id) FROM airports WHERE (airport_id IN ( SELECT airport_start_id FROM traject GROUP BY airport_start_id) OR airport_id IN ( SELECT airport_stop_id FROM traject GROUP BY airport_stop_id)) ;\");\n\n $airports = array();\n for ($i = 0; $i < count($ids); $i++) {\n $airports[] = airports::GetAirportByID($ids[$i][\"airport_id\"]);\n\n }\n\n\n return $airports;\n }",
"public function testGetAirportsReturnsList()\n {\n $this->get('/api/v1/airports')->seeJson();\n }",
"function getUniqueFirstLetters(array $airports): array\n{\n $letters = array();\n\n foreach ($airports as $airport) {\n $firstLetter = substr($airport['name'], 0, 1);\n array_push($letters, $firstLetter);\n }\n\n $uniqueLetters = array_unique($letters);\n sort($uniqueLetters);\n\n return $uniqueLetters;\n}",
"function allApprenticesAscending() {\n\n\t\t\t\t\treturn Apprentice::find('all', array('order'=>'name Asc'));\n\t\t\t\t}",
"public function airportList(Request $request)\n {\n if ($request->has('code')) {\n \t\t\t$airports = Airport::where('code', '!=', $request['code'])->get();\n \t\t\treturn $airports;\n\n\t\t}\n $airports = Airport::all();\n\n return $airports;\n }",
"public function run()\n {\n \t\n$airports = array(\narray('id' => '1','name' => '(UTK) - Utirik Airport, Utirik Island, Marshall Islands','country_id' => '139'),\narray('id' => '2','name' => '(OCA) - Ocean Reef Club Airport, Key Largo, United States','country_id' => '228'),\narray('id' => '3','name' => '(PQS) - Pilot Station Airport, Pilot Station, United States','country_id' => '228'),\narray('id' => '4','name' => '(CSE) - Buckhorn Ranch Airport, Crested Butte, United States','country_id' => '228'),\narray('id' => '5','name' => '(JCY) - LBJ Ranch Airport, Johnson City, United States','country_id' => '228'),\narray('id' => '6','name' => '(PMX) - Metropolitan Airport, Palmer, United States','country_id' => '228'),\narray('id' => '7','name' => '(NUP) - Nunapitchuk Airport, Nunapitchuk, United States','country_id' => '228'),\narray('id' => '8','name' => '(ICY) - Icy Bay Airport, Icy Bay, United States','country_id' => '228'),\narray('id' => '9','name' => '(KKK) - Kalakaket Creek AS Airport, Kalakaket Creek, United States','country_id' => '228'),\narray('id' => '10','name' => '(MHS) - Dunsmuir Muni-Mott Airport, Dunsmuir, United States','country_id' => '228'),\narray('id' => '11','name' => '(LVD) - Lime Village Airport, Lime Village, United States','country_id' => '228'),\narray('id' => '12','name' => '(HGZ) - Hog River Airport, Hogatza, United States','country_id' => '228'),\narray('id' => '13','name' => '(OTN) - Ed-Air Airport, Oaktown, United States','country_id' => '228'),\narray('id' => '14','name' => '(TLF) - Telida Airport, Telida, United States','country_id' => '228'),\narray('id' => '15','name' => '(BZT) - Eagle Air Park, Brazoria, United States','country_id' => '228'),\narray('id' => '16','name' => '(BYW) - Blakely Island Airport, Blakely Island, United States','country_id' => '228'),\narray('id' => '17','name' => '(DRF) - Drift River Airport, Kenai, United States','country_id' => '228'),\narray('id' => '18','name' => '(BDF) - Rinkenberger Restricted Landing Area, Bradford, United States','country_id' => '228'),\narray('id' => '19','name' => '(VRS) - Roy Otten Memorial Airfield, Versailles, United States','country_id' => '228'),\narray('id' => '20','name' => '(ATT) - Atmautluak Airport, Atmautluak, United States','country_id' => '228'),\narray('id' => '21','name' => '(LIV) - Livengood Camp Airport, Livengood, United States','country_id' => '228'),\narray('id' => '22','name' => '(PDB) - Pedro Bay Airport, Pedro Bay, United States','country_id' => '228'),\narray('id' => '23','name' => '(KOZ) - Ouzinkie Airport, Ouzinkie, United States','country_id' => '228'),\narray('id' => '24','name' => '(TNK) - Tununak Airport, Tununak, United States','country_id' => '228'),\narray('id' => '25','name' => '(WKK) - Aleknagik / New Airport, Aleknagik, United States','country_id' => '228'),\narray('id' => '26','name' => '(NNK) - Naknek Airport, Naknek, United States','country_id' => '228'),\narray('id' => '27','name' => '(BCS) - Southern Seaplane Airport, Belle Chasse, United States','country_id' => '228'),\narray('id' => '28','name' => '(BWL) - Earl Henry Airport, Blackwell, United States','country_id' => '228'),\narray('id' => '29','name' => '(CWS) - Center Island Airport, Center Island, United States','country_id' => '228'),\narray('id' => '30','name' => '(TEK) - Tatitlek Airport, Tatitlek, United States','country_id' => '228'),\narray('id' => '31','name' => '(DUF) - Pine Island Airport, Corolla, United States','country_id' => '228'),\narray('id' => '32','name' => '(SSW) - Stuart Island Airpark, Stuart Island, United States','country_id' => '228'),\narray('id' => '33','name' => '(FOB) - Fort Bragg Airport, Fort Bragg, United States','country_id' => '228'),\narray('id' => '34','name' => '(AXB) - Maxson Airfield, Alexandria Bay, United States','country_id' => '228'),\narray('id' => '35','name' => '(REE) - Reese Airpark, Lubbock, United States','country_id' => '228'),\narray('id' => '36','name' => '(WDN) - Waldronaire Airport, East Sound, United States','country_id' => '228'),\narray('id' => '37','name' => '(CHU) - Chuathbaluk Airport, Chuathbaluk, United States','country_id' => '228'),\narray('id' => '38','name' => '(UGS) - Ugashik Airport, Ugashik, United States','country_id' => '228'),\narray('id' => '39','name' => '(KLL) - Levelock Airport, Levelock, United States','country_id' => '228'),\narray('id' => '40','name' => '(WTL) - Tuntutuliak Airport, Tuntutuliak, United States','country_id' => '228'),\narray('id' => '41','name' => '(TWA) - Twin Hills Airport, Twin Hills, United States','country_id' => '228'),\narray('id' => '42','name' => '(KCQ) - Chignik Lake Airport, Chignik Lake, United States','country_id' => '228'),\narray('id' => '43','name' => '(ABP) - Atkamba Airport, Atkamba Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '44','name' => '(ADC) - Andakombe Airport, Andekombe, Papua New Guinea','country_id' => '172'),\narray('id' => '45','name' => '(ADV) - El Daein Airport, El Daein, Sudan','country_id' => '192'),\narray('id' => '46','name' => '(AEE) - Adareil Airport, , South Sudan','country_id' => '203'),\narray('id' => '47','name' => '(AEK) - Aseki Airport, Aseki, Papua New Guinea','country_id' => '172'),\narray('id' => '48','name' => '(URZ) - Or\"zgAn Airport, Or\"zgAn, Afghanistan','country_id' => '2'),\narray('id' => '49','name' => '(OLR) - Salerno Landing Zone Airport, , Afghanistan','country_id' => '2'),\narray('id' => '50','name' => '(AFR) - Afore Airstrip, , Papua New Guinea','country_id' => '172'),\narray('id' => '51','name' => '(AFT) - Afutara Aerodrome, Bila, Solomon Islands','country_id' => '190'),\narray('id' => '52','name' => '(RNA) - Ulawa Airport, Arona, Solomon Islands','country_id' => '190'),\narray('id' => '53','name' => '(ATD) - Uru Harbour Airport, Atoifi, Solomon Islands','country_id' => '190'),\narray('id' => '54','name' => '(VEV) - Barakoma Airport, Barakoma, Solomon Islands','country_id' => '190'),\narray('id' => '55','name' => '(GEF) - Geva Airport, Liangia, Solomon Islands','country_id' => '190'),\narray('id' => '56','name' => '(AGG) - Angoram Airport, Angoram, Papua New Guinea','country_id' => '172'),\narray('id' => '57','name' => '(AKS) - Auki Airport, Auki, Solomon Islands','country_id' => '190'),\narray('id' => '58','name' => '(BNY) - Bellona/Anua Airport, Anua, Solomon Islands','country_id' => '190'),\narray('id' => '59','name' => '(CHY) - Choiseul Bay Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '60','name' => '(BAS) - Ballalae Airport, Ballalae, Solomon Islands','country_id' => '190'),\narray('id' => '61','name' => '(FRE) - Fera/Maringe Airport, Fera Island, Solomon Islands','country_id' => '190'),\narray('id' => '62','name' => '(HIR) - Honiara International Airport, Honiara, Solomon Islands','country_id' => '190'),\narray('id' => '63','name' => '(MBU) - Babanakira Airport, Mbambanakira, Solomon Islands','country_id' => '190'),\narray('id' => '64','name' => '(AVU) - Avu Avu Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '65','name' => '(IRA) - Ngorangora Airport, Kirakira, Solomon Islands','country_id' => '190'),\narray('id' => '66','name' => '(SCZ) - Santa Cruz/Graciosa Bay/Luova Airport, Santa Cruz/Graciosa Bay/Luova, Solomon Islands','country_id' => '190'),\narray('id' => '67','name' => '(MUA) - Munda Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '68','name' => '(GZO) - Nusatupe Airport, Gizo, Solomon Islands','country_id' => '190'),\narray('id' => '69','name' => '(MNY) - Mono Airport, Stirling Island, Solomon Islands','country_id' => '190'),\narray('id' => '70','name' => '(PRS) - Parasi Airport, Parasi, Solomon Islands','country_id' => '190'),\narray('id' => '71','name' => '(RNL) - Rennell/Tingoa Airport, Rennell Island, Solomon Islands','country_id' => '190'),\narray('id' => '72','name' => '(EGM) - Sege Airport, Sege, Solomon Islands','country_id' => '190'),\narray('id' => '73','name' => '(NNB) - Santa Ana Airport, Santa Ana Island, Solomon Islands','country_id' => '190'),\narray('id' => '74','name' => '(RUS) - Marau Airport, Marau, Solomon Islands','country_id' => '190'),\narray('id' => '75','name' => '(VAO) - Suavanao Airport, Suavanao, Solomon Islands','country_id' => '190'),\narray('id' => '76','name' => '(XYA) - Yandina Airport, Yandina, Solomon Islands','country_id' => '190'),\narray('id' => '77','name' => '(AGK) - Kagua Airport, Kagua, Papua New Guinea','country_id' => '172'),\narray('id' => '78','name' => '(KGE) - Kaghau Airport, Kagau Island, Solomon Islands','country_id' => '190'),\narray('id' => '79','name' => '(KUE) - Kukudu Airport, Kolombangara Island, Solomon Islands','country_id' => '190'),\narray('id' => '80','name' => '(KWS) - Kwailabesi Airport, Kwailabesi, Solomon Islands','country_id' => '190'),\narray('id' => '81','name' => '(AGL) - Wanigela Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '82','name' => '(NAZ) - Nana Airport, Star Harbor, Solomon Islands','country_id' => '190'),\narray('id' => '83','name' => '(RIN) - Ringi Cove Airport, Ringi Cove, Solomon Islands','country_id' => '190'),\narray('id' => '84','name' => '(RBV) - Ramata Airport, Ramata, Solomon Islands','country_id' => '190'),\narray('id' => '85','name' => '(AGY) - Argyle Downs Airport, Argyle Downs, Australia','country_id' => '12'),\narray('id' => '86','name' => '(AHJ) - Hongyuan Airport, Aba, China','country_id' => '45'),\narray('id' => '87','name' => '(AHY) - Ambatolhy Airport, Ambatolahy, Madagascar','country_id' => '138'),\narray('id' => '88','name' => '(AIE) - Aiome Airport, Aiome, Papua New Guinea','country_id' => '172'),\narray('id' => '89','name' => '(AIH) - Aiambak Airport, Aiambak, Papua New Guinea','country_id' => '172'),\narray('id' => '90','name' => '(AIC) - Ailinglaplap Airok Airport, Bigatyelang Island, Marshall Islands','country_id' => '139'),\narray('id' => '91','name' => '(CEX) - Chena Hot Springs Airport, Chena Hot Springs, United States','country_id' => '228'),\narray('id' => '92','name' => '(SOL) - Solomon State Field, Solomon, United States','country_id' => '228'),\narray('id' => '93','name' => '(HED) - Herendeen Bay Airport, Herendeen Bay, United States','country_id' => '228'),\narray('id' => '94','name' => '(TWE) - Taylor Airport, Taylor, United States','country_id' => '228'),\narray('id' => '95','name' => '(LNI) - Lonely Air Station, Lonely, United States','country_id' => '228'),\narray('id' => '96','name' => '(CDL) - Candle 2 Airport, Candle, United States','country_id' => '228'),\narray('id' => '97','name' => '(BSZ) - Bartletts Airport, Egegik, United States','country_id' => '228'),\narray('id' => '98','name' => '(BSW) - Boswell Bay Airport, Boswell Bay, United States','country_id' => '228'),\narray('id' => '99','name' => '(AKM) - Zakuoma Airport, ZaKouma, Chad','country_id' => '210'),\narray('id' => '100','name' => '(TGE) - Sharpe Field, Tuskegee, United States','country_id' => '228'),\narray('id' => '101','name' => '(PPE) - Mar de CortAs International Airport, Puerto PeAasco, Mexico','country_id' => '153'),\narray('id' => '102','name' => '(AME) - Alto Molocue Airport, Alto Molocue, Mozambique','country_id' => '155'),\narray('id' => '103','name' => '(AMF) - Ama Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '104','name' => '(AMU) - Amanab Airport, Amanab, Papua New Guinea','country_id' => '172'),\narray('id' => '105','name' => '(AMY) - Ambatomainty Airport, , Madagascar','country_id' => '138'),\narray('id' => '106','name' => '(INU) - Nauru International Airport, Yaren District, Nauru','country_id' => '165'),\narray('id' => '107','name' => '(ANZ) - Angus Downs Airport, Angus Downs Station, Australia','country_id' => '12'),\narray('id' => '108','name' => '(ANL) - Andulo Airport, , Angola','country_id' => '7'),\narray('id' => '109','name' => '(CNZ) - Cangamba Airport, Cangamba, Angola','country_id' => '7'),\narray('id' => '110','name' => '(DRC) - Dirico Airport, Dirico, Angola','country_id' => '7'),\narray('id' => '111','name' => '(GGC) - Lumbala Airport, Lumbala, Angola','country_id' => '7'),\narray('id' => '112','name' => '(JMB) - Jamba Airport, Jamba, Angola','country_id' => '7'),\narray('id' => '113','name' => '(KNP) - Capanda Airport, Capanda, Angola','country_id' => '7'),\narray('id' => '114','name' => '(NDF) - Ndalatandos Airport, Ndalatandos, Angola','country_id' => '7'),\narray('id' => '115','name' => '(AOB) - Annanberg Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '116','name' => '(AOD) - Abou-DeAa Airport, Abou-DeAa, Chad','country_id' => '210'),\narray('id' => '117','name' => '(APP) - Asapa Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '118','name' => '(APR) - April River Airport, April River, Papua New Guinea','country_id' => '172'),\narray('id' => '119','name' => '(AQY) - Girdwood Airport, Girdwood, United States','country_id' => '228'),\narray('id' => '120','name' => '(QRF) - Bragado Airport, Bragado, Argentina','country_id' => '9'),\narray('id' => '121','name' => '(CVI) - Caleta Olivia Airport, Caleta Olivia, Argentina','country_id' => '9'),\narray('id' => '122','name' => '(CNT) - Charata Airport, Charata, Argentina','country_id' => '9'),\narray('id' => '123','name' => '(VGS) - General Villegas Airport, General Villegas, Argentina','country_id' => '9'),\narray('id' => '124','name' => '(LMD) - Los Menucos Airport, Los Menucos, Argentina','country_id' => '9'),\narray('id' => '125','name' => '(VCF) - Valcheta Airport, Valcheta, Argentina','country_id' => '9'),\narray('id' => '126','name' => '(NCJ) - Sunchales Aeroclub Airport, Sunchales, Argentina','country_id' => '9'),\narray('id' => '127','name' => '(CPG) - Carmen De Patagones Airport, Carmen de Patagones, Argentina','country_id' => '9'),\narray('id' => '128','name' => '(PRQ) - Termal Airport, Presidencia Roque SAenz PeAa, Argentina','country_id' => '9'),\narray('id' => '129','name' => '(OLN) - Colonia Sarmiento Airport, Sarmiento, Argentina','country_id' => '9'),\narray('id' => '130','name' => '(ARP) - Aragip Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '131','name' => '(TAV) - Tau Airport, Tau Village, American Samoa','country_id' => '10'),\narray('id' => '132','name' => '(ASZ) - Asirim Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '133','name' => '(ATN) - Namatanai Airport, Namatanai, Papua New Guinea','country_id' => '172'),\narray('id' => '134','name' => '(ATP) - Aitape Airport, Aitape, Papua New Guinea','country_id' => '172'),\narray('id' => '135','name' => '(ATQ) - Shri Guru Ram Dass Ji International Airport Amritsar, Amritsar, India','country_id' => '101'),\narray('id' => '136','name' => '(LYT) - Lady Elliot Island Airstrip, Lady Elliot Island, Australia','country_id' => '12'),\narray('id' => '137','name' => '(AGW) - Agnew Airport, Agnew, Australia','country_id' => '12'),\narray('id' => '138','name' => '(AYD) - Alroy Downs Airport, Alroy Downs, Australia','country_id' => '12'),\narray('id' => '139','name' => '(BYX) - Baniyala Airport, Baniyala, Australia','country_id' => '12'),\narray('id' => '140','name' => '(COB) - Coolibah Airport, Coolibah, Australia','country_id' => '12'),\narray('id' => '141','name' => '(CRJ) - Coorabie Airport, Coorabie, Australia','country_id' => '12'),\narray('id' => '142','name' => '(CRY) - Carlton Hill Airport, Carlton Hill, Australia','country_id' => '12'),\narray('id' => '143','name' => '(CSD) - Cresswell Downs Airport, Cresswell Downs, Australia','country_id' => '12'),\narray('id' => '144','name' => '(DYM) - Diamantina Lakes Airport, Diamantina Lakes, Australia','country_id' => '12'),\narray('id' => '145','name' => '(HLV) - Helenvale Airport, Helenvale, Australia','country_id' => '12'),\narray('id' => '146','name' => '(KBD) - Kimberley Downs Airport, Kimberley Downs, Australia','country_id' => '12'),\narray('id' => '147','name' => '(KGR) - Kulgera Airport, Kulgera, Australia','country_id' => '12'),\narray('id' => '148','name' => '(MWY) - Miranda Downs Airport, Miranda Downs, Australia','country_id' => '12'),\narray('id' => '149','name' => '(MYO) - Camballin Airport, Myroodah, Australia','country_id' => '12'),\narray('id' => '150','name' => '(OKB) - Orchid Beach Airport, Orchid Beach, Australia','country_id' => '12'),\narray('id' => '151','name' => '(PEP) - Peppimenarti Airport, Peppimenarti, Australia','country_id' => '12'),\narray('id' => '152','name' => '(RDA) - Rockhampton Downs Airport, Rockhampton Downs, Australia','country_id' => '12'),\narray('id' => '153','name' => '(SSK) - Sturt Creek Airport, Sturt Creek, Australia','country_id' => '12'),\narray('id' => '154','name' => '(SWB) - Shaw River Airport, Shaw River, Australia','country_id' => '12'),\narray('id' => '155','name' => '(TPR) - Tom Price Airport, Tom Price, Australia','country_id' => '12'),\narray('id' => '156','name' => '(TWP) - Torwood Airport, Torwood, Australia','country_id' => '12'),\narray('id' => '157','name' => '(ZVG) - Springvale Airport, Springvale, Australia','country_id' => '12'),\narray('id' => '158','name' => '(AUI) - Aua Island Airport, Aua Island, Papua New Guinea','country_id' => '172'),\narray('id' => '159','name' => '(AUJ) - Ambunti Airport, Ambunti, Papua New Guinea','country_id' => '172'),\narray('id' => '160','name' => '(AUP) - Agaun Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '161','name' => '(AUV) - Aumo Airport, Aumo, Papua New Guinea','country_id' => '172'),\narray('id' => '162','name' => '(AWE) - Alowe Airport, Wonga WonguA Presidential Reserve, Gabon','country_id' => '73'),\narray('id' => '163','name' => '(AXF) - Alxa Left Banner-Bayanhot Airport, Bayanhot, China','country_id' => '45'),\narray('id' => '164','name' => '(KPM) - Kompiam Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '165','name' => '(BUA) - Buka Airport, Buka Island, Papua New Guinea','country_id' => '172'),\narray('id' => '166','name' => '(BRP) - Biaru Airport, Biaru, Papua New Guinea','country_id' => '172'),\narray('id' => '167','name' => '(CMU) - Chimbu Airport, Kundiawa, Papua New Guinea','country_id' => '172'),\narray('id' => '168','name' => '(MDM) - Munduku Airport, Munduku, Papua New Guinea','country_id' => '172'),\narray('id' => '169','name' => '(KPF) - Kondobol Airport, Kondobol, Papua New Guinea','country_id' => '172'),\narray('id' => '170','name' => '(DNU) - Dinangat Airport, Dinangat, Papua New Guinea','country_id' => '172'),\narray('id' => '171','name' => '(DOI) - Doini Airport, Castori Islets, Papua New Guinea','country_id' => '172'),\narray('id' => '172','name' => '(DAU) - Daru Airport, Daru, Papua New Guinea','country_id' => '172'),\narray('id' => '173','name' => '(EMS) - Embessa Airport, Embessa, Papua New Guinea','country_id' => '172'),\narray('id' => '174','name' => '(XYR) - Edwaki Airport, Yellow River Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '175','name' => '(EPT) - Eliptamin Airport, Eliptamin, Papua New Guinea','country_id' => '172'),\narray('id' => '176','name' => '(EGA) - Engati Airstrip, Engati, Papua New Guinea','country_id' => '172'),\narray('id' => '177','name' => '(EMO) - Emo River Airstrip, Emo Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '178','name' => '(ERU) - Erume Airport, Erume, Papua New Guinea','country_id' => '172'),\narray('id' => '179','name' => '(MFZ) - Meselia Airport, Demgulu, Papua New Guinea','country_id' => '172'),\narray('id' => '180','name' => '(FRQ) - Feramin Airport, Feramin, Papua New Guinea','country_id' => '172'),\narray('id' => '181','name' => '(FAQ) - Frieda River Airport, Frieda River, Papua New Guinea','country_id' => '172'),\narray('id' => '182','name' => '(FUM) - Fuma Airport, Fuma, Papua New Guinea','country_id' => '172'),\narray('id' => '183','name' => '(GKA) - Goroka Airport, Goronka, Papua New Guinea','country_id' => '172'),\narray('id' => '184','name' => '(GUG) - Guari Airport, Guari, Papua New Guinea','country_id' => '172'),\narray('id' => '185','name' => '(GRL) - Garasa Airport, Au, Papua New Guinea','country_id' => '172'),\narray('id' => '186','name' => '(GUR) - Gurney Airport, Gurney, Papua New Guinea','country_id' => '172'),\narray('id' => '187','name' => '(GAP) - Gusap Airport, Gusap, Papua New Guinea','country_id' => '172'),\narray('id' => '188','name' => '(PNP) - Girua Airport, Popondetta, Papua New Guinea','country_id' => '172'),\narray('id' => '189','name' => '(GBC) - Gasuke Airport, Gasuke, Papua New Guinea','country_id' => '172'),\narray('id' => '190','name' => '(HBD) - Habi Airport, Habi, Papua New Guinea','country_id' => '172'),\narray('id' => '191','name' => '(HNI) - Heiweni Airport, Heiweni, Papua New Guinea','country_id' => '172'),\narray('id' => '192','name' => '(HNN) - Honinabi Airport, Honinabi, Papua New Guinea','country_id' => '172'),\narray('id' => '193','name' => '(HKN) - Kimbe Airport, Hoskins, Papua New Guinea','country_id' => '172'),\narray('id' => '194','name' => '(HIT) - Haivaro Airport, Haivaro, Papua New Guinea','country_id' => '172'),\narray('id' => '195','name' => '(IMN) - Imane Airport, Imane, Papua New Guinea','country_id' => '172'),\narray('id' => '196','name' => '(KGM) - Kungim Airport, Kungim, Papua New Guinea','country_id' => '172'),\narray('id' => '197','name' => '(IMD) - Imonda Airport, Imonda, Papua New Guinea','country_id' => '172'),\narray('id' => '198','name' => '(IAL) - Ialibu Airport, Ialibu, Papua New Guinea','country_id' => '172'),\narray('id' => '199','name' => '(WIU) - Witu Airport, Garove Island, Papua New Guinea','country_id' => '172'),\narray('id' => '200','name' => '(KGH) - Yongai Airport, Yongai, Papua New Guinea','country_id' => '172'),\narray('id' => '201','name' => '(LSA) - Losuia Airport, Losuia, Papua New Guinea','country_id' => '172'),\narray('id' => '202','name' => '(KPA) - Kopiago Airport, Kopiago, Papua New Guinea','country_id' => '172'),\narray('id' => '203','name' => '(UNG) - Kiunga Airport, Kiunga, Papua New Guinea','country_id' => '172'),\narray('id' => '204','name' => '(KNE) - Kanainj Airport, Kanainj, Papua New Guinea','country_id' => '172'),\narray('id' => '205','name' => '(KRI) - Kikori Airport, Kikori, Papua New Guinea','country_id' => '172'),\narray('id' => '206','name' => '(KMA) - Kerema Airport, Kerema, Papua New Guinea','country_id' => '172'),\narray('id' => '207','name' => '(KRX) - Kar Kar Airport, Kar Kar Island, Papua New Guinea','country_id' => '172'),\narray('id' => '208','name' => '(KIE) - Kieta Airport, Kieta, Papua New Guinea','country_id' => '172'),\narray('id' => '209','name' => '(KUQ) - Kuri Airport, Kuri, Papua New Guinea','country_id' => '172'),\narray('id' => '210','name' => '(KVG) - Kavieng Airport, Kavieng, Papua New Guinea','country_id' => '172'),\narray('id' => '211','name' => '(LNV) - Londolovit Airport, Londolovit, Papua New Guinea','country_id' => '172'),\narray('id' => '212','name' => '(LAB) - Lab Lab Airport, Lab Lab Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '213','name' => '(LWI) - Lowai Airport, Lowai, Papua New Guinea','country_id' => '172'),\narray('id' => '214','name' => '(LPN) - Leron Plains Airport, Leron Plains, Papua New Guinea','country_id' => '172'),\narray('id' => '215','name' => '(LNG) - Lese Airport, Lese, Papua New Guinea','country_id' => '172'),\narray('id' => '216','name' => '(LSJ) - Long Island Airport, Long Island, Papua New Guinea','country_id' => '172'),\narray('id' => '217','name' => '(MRM) - Manari Airport, Manari, Papua New Guinea','country_id' => '172'),\narray('id' => '218','name' => '(OBM) - Morobe Airport, Morobe, Papua New Guinea','country_id' => '172'),\narray('id' => '219','name' => '(MAG) - Madang Airport, Madang, Papua New Guinea','country_id' => '172'),\narray('id' => '220','name' => '(HGU) - Mount Hagen Kagamuga Airport, Mount Hagen, Papua New Guinea','country_id' => '172'),\narray('id' => '221','name' => '(GUV) - Mougulu Airport, Mougulu, Papua New Guinea','country_id' => '172'),\narray('id' => '222','name' => '(MDU) - Mendi Airport, Mendi, Papua New Guinea','country_id' => '172'),\narray('id' => '223','name' => '(MAS) - Momote Airport, Manus Island, Papua New Guinea','country_id' => '172'),\narray('id' => '224','name' => '(MXH) - Moro Airport, Moro, Papua New Guinea','country_id' => '172'),\narray('id' => '225','name' => '(MIS) - Misima Island Airport, Misima Island, Papua New Guinea','country_id' => '172'),\narray('id' => '226','name' => '(MWG) - Marawaka Airport, Marawaka, Papua New Guinea','country_id' => '172'),\narray('id' => '227','name' => '(NKN) - Nankina Airport, Gwarawon, Papua New Guinea','country_id' => '172'),\narray('id' => '228','name' => '(GBF) - Negarbo(Negabo) Airport, Negarbo, Papua New Guinea','country_id' => '172'),\narray('id' => '229','name' => '(MFO) - Manguna Airport, Manguna, Papua New Guinea','country_id' => '172'),\narray('id' => '230','name' => '(KSB) - Kasonombe Airport, Kasonombe, Papua New Guinea','country_id' => '172'),\narray('id' => '231','name' => '(NMN) - Nomane Airport, Namane, Papua New Guinea','country_id' => '172'),\narray('id' => '232','name' => '(NBA) - Nambaiyufa Airport, Nambaiyufa, Papua New Guinea','country_id' => '172'),\narray('id' => '233','name' => '(LAE) - Nadzab Airport, Lae, Papua New Guinea','country_id' => '172'),\narray('id' => '234','name' => '(KGB) - Konge Airport, Konge, Papua New Guinea','country_id' => '172'),\narray('id' => '235','name' => '(OKP) - Oksapmin Airport, Oksapmin, Papua New Guinea','country_id' => '172'),\narray('id' => '236','name' => '(HOC) - Komako Airport, Komako, Papua New Guinea','country_id' => '172'),\narray('id' => '237','name' => '(KCJ) - Komaio Airport, Komaio, Papua New Guinea','country_id' => '172'),\narray('id' => '238','name' => '(KDE) - Koroba Airport, Koroba, Papua New Guinea','country_id' => '172'),\narray('id' => '239','name' => '(PGB) - Pangoa Airport, Pangoa, Papua New Guinea','country_id' => '172'),\narray('id' => '240','name' => '(PGN) - Pangia Airport, Pangia, Papua New Guinea','country_id' => '172'),\narray('id' => '241','name' => '(MPF) - Mapoda Airport, Mapoda, Papua New Guinea','country_id' => '172'),\narray('id' => '242','name' => '(PMN) - Pumani Airport, Pumani, Papua New Guinea','country_id' => '172'),\narray('id' => '243','name' => '(POM) - Port Moresby Jacksons International Airport, Port Moresby, Papua New Guinea','country_id' => '172'),\narray('id' => '244','name' => '(SPH) - Sopu Airport, Sopu, Papua New Guinea','country_id' => '172'),\narray('id' => '245','name' => '(SXA) - Sialum Airport, Sialum, Papua New Guinea','country_id' => '172'),\narray('id' => '246','name' => '(RMN) - Rumginae Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '247','name' => '(KMR) - Karimui Airport, Karimui, Papua New Guinea','country_id' => '172'),\narray('id' => '248','name' => '(MWI) - Maramuni Airport, Maramuni, Papua New Guinea','country_id' => '172'),\narray('id' => '249','name' => '(MRH) - May River Airstrip, May River, Papua New Guinea','country_id' => '172'),\narray('id' => '250','name' => '(SBE) - Suabi Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '251','name' => '(NIS) - Simberi Airport, Simberi Island, Papua New Guinea','country_id' => '172'),\narray('id' => '252','name' => '(SIL) - Sila Airport, Sila Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '253','name' => '(SBV) - Sabah Airport, Sabah, Papua New Guinea','country_id' => '172'),\narray('id' => '254','name' => '(SIM) - Simbai Airport, Simbai, Papua New Guinea','country_id' => '172'),\narray('id' => '255','name' => '(SBC) - Selbang Airport, Selbang, Papua New Guinea','country_id' => '172'),\narray('id' => '256','name' => '(SPV) - Sepik Plains Airport, Sepik Plains, Papua New Guinea','country_id' => '172'),\narray('id' => '257','name' => '(SXW) - Sauren Airport, Sauren, Papua New Guinea','country_id' => '172'),\narray('id' => '258','name' => '(MBV) - Masa Airport, Masa, Papua New Guinea','country_id' => '172'),\narray('id' => '259','name' => '(TIZ) - Tari Airport, Tari, Papua New Guinea','country_id' => '172'),\narray('id' => '260','name' => '(TBG) - Tabubil Airport, Tabubil, Papua New Guinea','country_id' => '172'),\narray('id' => '261','name' => '(TPI) - Tapini Airport, Tapini, Papua New Guinea','country_id' => '172'),\narray('id' => '262','name' => '(RAB) - Tokua Airport, Tokua, Papua New Guinea','country_id' => '172'),\narray('id' => '263','name' => '(TKW) - Tekin Airport, Tekin, Papua New Guinea','country_id' => '172'),\narray('id' => '264','name' => '(TEP) - Tep Tep Airport, Teptep, Papua New Guinea','country_id' => '172'),\narray('id' => '265','name' => '(TSW) - Tsewi Airport, Tsewi, Papua New Guinea','country_id' => '172'),\narray('id' => '266','name' => '(TRJ) - Tarakbits Airport, Tarakbits, Papua New Guinea','country_id' => '172'),\narray('id' => '267','name' => '(TWY) - Tawa Airport, Tawa, Papua New Guinea','country_id' => '172'),\narray('id' => '268','name' => '(TKB) - Tekadu Airport, Tekadu, Papua New Guinea','country_id' => '172'),\narray('id' => '269','name' => '(AYU) - Aiyura Airport, Aiyura Valley, Papua New Guinea','country_id' => '172'),\narray('id' => '270','name' => '(UMC) - Umba Airport, Umba, Papua New Guinea','country_id' => '172'),\narray('id' => '271','name' => '(URU) - Uroubi Airport, Uroubi, Papua New Guinea','country_id' => '172'),\narray('id' => '272','name' => '(UPR) - Upiara Airport, Upiara, Papua New Guinea','country_id' => '172'),\narray('id' => '273','name' => '(UVO) - Uvol Airport, Uvol, Papua New Guinea','country_id' => '172'),\narray('id' => '274','name' => '(TLW) - Talasea Airport, Talasea, Papua New Guinea','country_id' => '172'),\narray('id' => '275','name' => '(TCJ) - Torembi Airport, Torembi, Papua New Guinea','country_id' => '172'),\narray('id' => '276','name' => '(VAI) - Vanimo Airport, Vanimo, Papua New Guinea','country_id' => '172'),\narray('id' => '277','name' => '(TON) - Tonu Airport, Tonu, Papua New Guinea','country_id' => '172'),\narray('id' => '278','name' => '(WAO) - Wabo Airport, Wabo, Papua New Guinea','country_id' => '172'),\narray('id' => '279','name' => '(WBM) - Wapenamanda Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '280','name' => '(WAJ) - Wawoi Falls Airport, Wavoi Falls, Papua New Guinea','country_id' => '172'),\narray('id' => '281','name' => '(WWK) - Wewak International Airport, Wewak, Papua New Guinea','country_id' => '172'),\narray('id' => '282','name' => '(WOA) - Wonenara Airport, Wonenara, Papua New Guinea','country_id' => '172'),\narray('id' => '283','name' => '(WSU) - Wasu Airport, Wasu, Papua New Guinea','country_id' => '172'),\narray('id' => '284','name' => '(WTP) - Woitape Airport, Fatima Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '285','name' => '(WUG) - Wau Airport, Wau, Papua New Guinea','country_id' => '172'),\narray('id' => '286','name' => '(YVD) - Yeva Airport, Yeva, Papua New Guinea','country_id' => '172'),\narray('id' => '287','name' => '(SMJ) - Sim Airport, Sim, Papua New Guinea','country_id' => '172'),\narray('id' => '288','name' => '(WEP) - Weam Airport, Weam, Papua New Guinea','country_id' => '172'),\narray('id' => '289','name' => '(KYX) - Yalumet Airport, Yalumet, Papua New Guinea','country_id' => '172'),\narray('id' => '290','name' => '(KSX) - Yasuru Airport, Yasuru, Papua New Guinea','country_id' => '172'),\narray('id' => '291','name' => '(WUM) - Wasum Airport, Wasum, Papua New Guinea','country_id' => '172'),\narray('id' => '292','name' => '(ZXT) - Zabrat Airport, Baku, Azerbaijan','country_id' => '14'),\narray('id' => '293','name' => '(AZB) - Amazon Bay Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '294','name' => '(BAJ) - Bali Airport, Unea Island, Papua New Guinea','country_id' => '172'),\narray('id' => '295','name' => '(BKG) - Branson Airport, Branson, United States','country_id' => '228'),\narray('id' => '296','name' => '(BCP) - Bambu Airport, Bambu, Papua New Guinea','country_id' => '172'),\narray('id' => '297','name' => '(BCW) - Benguera Island Airport, Benguera Island, Mozambique','country_id' => '155'),\narray('id' => '298','name' => '(BCZ) - Milyakburra Airport, Bickerton Island, Australia','country_id' => '12'),\narray('id' => '299','name' => '(ILL) - Willmar Municipal -John L Rice Field, Willmar, United States','country_id' => '228'),\narray('id' => '300','name' => '(BDZ) - Baindoung Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '301','name' => '(HKV) - Malevo Airport, Haskovo, Bulgaria','country_id' => '20'),\narray('id' => '302','name' => '(JAM) - Bezmer Air Base, Yambol, Bulgaria','country_id' => '20'),\narray('id' => '303','name' => '(JEG) - Aasiaat Airport, Aasiaat, Greenland','country_id' => '81'),\narray('id' => '304','name' => '(UAK) - Narsarsuaq Airport, Narsarsuaq, Greenland','country_id' => '81'),\narray('id' => '305','name' => '(CNP) - Neerlerit Inaat Airport, Neerlerit Inaat, Greenland','country_id' => '81'),\narray('id' => '306','name' => '(GOH) - Godthaab / Nuuk Airport, Nuuk, Greenland','country_id' => '81'),\narray('id' => '307','name' => '(JAV) - Ilulissat Airport, Ilulissat, Greenland','country_id' => '81'),\narray('id' => '308','name' => '(KUS) - Kulusuk Airport, Kulusuk, Greenland','country_id' => '81'),\narray('id' => '309','name' => '(JSU) - Maniitsoq Airport, Maniitsoq, Greenland','country_id' => '81'),\narray('id' => '310','name' => '(BGP) - Bongo Airport, Bongo, Gabon','country_id' => '73'),\narray('id' => '311','name' => '(JFR) - Paamiut Airport, Paamiut, Greenland','country_id' => '81'),\narray('id' => '312','name' => '(NAQ) - Qaanaaq Airport, Qaanaaq, Greenland','country_id' => '81'),\narray('id' => '313','name' => '(SFJ) - Kangerlussuaq Airport, Kangerlussuaq, Greenland','country_id' => '81'),\narray('id' => '314','name' => '(JHS) - Sisimiut Airport, Sisimiut, Greenland','country_id' => '81'),\narray('id' => '315','name' => '(THU) - Thule Air Base, Thule, Greenland','country_id' => '81'),\narray('id' => '316','name' => '(JUV) - Upernavik Airport, Upernavik, Greenland','country_id' => '81'),\narray('id' => '317','name' => '(JQA) - Qaarsut Airport, Uummannaq, Greenland','country_id' => '81'),\narray('id' => '318','name' => '(BHL) - BahAa de los Angeles Airport, BahAa de los Angeles, Mexico','country_id' => '153'),\narray('id' => '319','name' => '(BHT) - Brighton Downs Airport, , Australia','country_id' => '12'),\narray('id' => '320','name' => '(AEY) - Akureyri Airport, Akureyri, Iceland','country_id' => '105'),\narray('id' => '321','name' => '(BIU) - Bildudalur Airport, Bildudalur, Iceland','country_id' => '105'),\narray('id' => '322','name' => '(BGJ) - BorgarfjArAur eystri Airport, BorgarfjArAur eystri, Iceland','country_id' => '105'),\narray('id' => '323','name' => '(BJD) - BakkafjArAur Airport, BakkafjArAur, Iceland','country_id' => '105'),\narray('id' => '324','name' => '(BLO) - Hjaltabakki Airport, BlAnduAs, Iceland','country_id' => '105'),\narray('id' => '325','name' => '(BQD) - BAoAardalur Airport, BAoAardalur, Iceland','country_id' => '105'),\narray('id' => '326','name' => '(BXV) - BreiAdalsvAk Airport, BreiAdalsvAk, Iceland','country_id' => '105'),\narray('id' => '327','name' => '(DJU) - DjAopivogur Airport, DjAopivogur, Iceland','country_id' => '105'),\narray('id' => '328','name' => '(EGS) - EgilsstaAir Airport, EgilsstaAir, Iceland','country_id' => '105'),\narray('id' => '329','name' => '(FAS) - FAskrAoAsfjArAur Airport, FAskrAoAsfjArAur, Iceland','country_id' => '105'),\narray('id' => '330','name' => '(FAG) - FagurhAlsmAri Airport, FagurhAlsmAri, Iceland','country_id' => '105'),\narray('id' => '331','name' => '(GUU) - GrundarfjArAur Airport, GrundarfjArAur, Iceland','country_id' => '105'),\narray('id' => '332','name' => '(GJR) - GjAgur Airport, GjAgur, Iceland','country_id' => '105'),\narray('id' => '333','name' => '(GRY) - GrAmsey Airport, GrAmsey, Iceland','country_id' => '105'),\narray('id' => '334','name' => '(HVK) - HAlmavAk Airport, HAlmavAk, Iceland','country_id' => '105'),\narray('id' => '335','name' => '(HFN) - HornafjArAur Airport, HAfn, Iceland','country_id' => '105'),\narray('id' => '336','name' => '(FLI) - Holt Airport, Flateyri, Iceland','country_id' => '105'),\narray('id' => '337','name' => '(HZK) - HAosavAk Airport, HAosavAk, Iceland','country_id' => '105'),\narray('id' => '338','name' => '(HVM) - KrAkstaAarmelar Airport, Hvammstangi, Iceland','country_id' => '105'),\narray('id' => '339','name' => '(HLO) - IngjaldssanAur Airport, OnundarfjArAur, Iceland','country_id' => '105'),\narray('id' => '340','name' => '(IFJ) - AsafjArAur Airport, AsafjArAur, Iceland','country_id' => '105'),\narray('id' => '341','name' => '(KEF) - Keflavik International Airport, ReykjavAk, Iceland','country_id' => '105'),\narray('id' => '342','name' => '(OPA) - KApasker Airport, KApasker, Iceland','country_id' => '105'),\narray('id' => '343','name' => '(SAK) - SauAArkrAkur Airport, SauAArkrAkur, Iceland','country_id' => '105'),\narray('id' => '344','name' => '(NOR) - NorAfjArAur Airport, NorAfjArAur, Iceland','country_id' => '105'),\narray('id' => '345','name' => '(OFJ) - A\"lafsfjArAur Airport, A\"lafsfjArAur, Iceland','country_id' => '105'),\narray('id' => '346','name' => '(PFJ) - PatreksfjArAur Airport, PatreksfjArAur, Iceland','country_id' => '105'),\narray('id' => '347','name' => '(RHA) - ReykhAlar Airport, ReykhAlar, Iceland','country_id' => '105'),\narray('id' => '348','name' => '(OLI) - Rif Airport, Rif, Iceland','country_id' => '105'),\narray('id' => '349','name' => '(RFN) - RaufarhAfn Airport, RaufarhAfn, Iceland','country_id' => '105'),\narray('id' => '350','name' => '(RKV) - Reykjavik Airport, Reykjavik, Iceland','country_id' => '105'),\narray('id' => '351','name' => '(MVA) - ReykjahlAA Airport, Myvatn, Iceland','country_id' => '105'),\narray('id' => '352','name' => '(SIJ) - SiglufjArAur Airport, SiglufjArAur, Iceland','country_id' => '105'),\narray('id' => '353','name' => '(SYK) - StykkishAlmur Airport, StykkishAlmur, Iceland','country_id' => '105'),\narray('id' => '354','name' => '(TEY) - Aingeyri Airport, Aingeyri, Iceland','country_id' => '105'),\narray('id' => '355','name' => '(THO) - Thorshofn Airport, Thorshofn, Iceland','country_id' => '105'),\narray('id' => '356','name' => '(VEY) - Vestmannaeyjar Airport, Vestmannaeyjar, Iceland','country_id' => '105'),\narray('id' => '357','name' => '(VPN) - VopnafjArAur Airport, VopnafjArAur, Iceland','country_id' => '105'),\narray('id' => '358','name' => '(BJE) - Baleela Airport, Baleela Base Camp, Sudan','country_id' => '192'),\narray('id' => '359','name' => '(BJQ) - Bahja Airport, Bahja, Oman','country_id' => '168'),\narray('id' => '360','name' => '(PRN) - Pritina International Airport, Prishtina, Kosovo','country_id' => '240'),\narray('id' => '361','name' => '(BMH) - Bomai Airport, Bomai, Papua New Guinea','country_id' => '172'),\narray('id' => '362','name' => '(BMQ) - Bamburi Airport, , Kenya','country_id' => '111'),\narray('id' => '363','name' => '(BMZ) - Bamu Airport, Bamu, Papua New Guinea','country_id' => '172'),\narray('id' => '364','name' => '(BNM) - Bodinumu Airport, Bodinumu, Papua New Guinea','country_id' => '172'),\narray('id' => '365','name' => '(BNT) - Bundi Airport, Bundi, Papua New Guinea','country_id' => '172'),\narray('id' => '366','name' => '(RBQ) - Rurenabaque Airport, Rurenabaque, Bolivia','country_id' => '27'),\narray('id' => '367','name' => '(BVL) - Baures Airport, Baures, Bolivia','country_id' => '27'),\narray('id' => '368','name' => '(BOK) - Brookings Airport, Brookings, United States','country_id' => '228'),\narray('id' => '369','name' => '(BOT) - Bosset Airport, Bosset, Papua New Guinea','country_id' => '172'),\narray('id' => '370','name' => '(BOV) - Boang Airport, Boang Island, Papua New Guinea','country_id' => '172'),\narray('id' => '371','name' => '(BPF) - Batuna Aerodrome, Batuna Mission Station, Solomon Islands','country_id' => '190'),\narray('id' => '372','name' => '(ALT) - Alenquer Airport, Alenquer, Brazil','country_id' => '29'),\narray('id' => '373','name' => '(BSI) - Blairsville, Blairsville, United States','country_id' => '228'),\narray('id' => '374','name' => '(BSP) - Bensbach Airport, Bensbach, Papua New Guinea','country_id' => '172'),\narray('id' => '375','name' => '(BSV) - Besakoa Airport, Besakoa, Madagascar','country_id' => '138'),\narray('id' => '376','name' => '(BUL) - Bulolo Airport, Bulolo, Papua New Guinea','country_id' => '172'),\narray('id' => '377','name' => '(BVR) - Esperadinha Airport, Brava Island, Cape Verde','country_id' => '49'),\narray('id' => '378','name' => '(HUK) - Hukuntsi Airport, Hukuntsi, Botswana','country_id' => '32'),\narray('id' => '379','name' => '(BWJ) - Bawan Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '380','name' => '(BWP) - Bewani Airport, Bewani, Papua New Guinea','country_id' => '172'),\narray('id' => '381','name' => '(BXZ) - Bunsil Airport, Bunsil - Umboi Island, Papua New Guinea','country_id' => '172'),\narray('id' => '382','name' => '(BYA) - Boundary Airport, Boundary, United States','country_id' => '228'),\narray('id' => '383','name' => '(BYL) - Bella Yella Airport, Beliyela, Liberia','country_id' => '127'),\narray('id' => '384','name' => '(BCV) - Belmopan Airport, Belmopan, Belize','country_id' => '34'),\narray('id' => '385','name' => '(BGK) - Big Creek Airport, Big Creek, Belize','country_id' => '34'),\narray('id' => '386','name' => '(CUK) - Caye Caulker Airport, Caye Caulker, Belize','country_id' => '34'),\narray('id' => '387','name' => '(CYC) - Caye Chapel Airport, Caye Chapel, Belize','country_id' => '34'),\narray('id' => '388','name' => '(CZH) - Corozal Municipal Airport, Corozal, Belize','country_id' => '34'),\narray('id' => '389','name' => '(DGA) - Dangriga Airport, Dangriga, Belize','country_id' => '34'),\narray('id' => '390','name' => '(INB) - Independence Airport, Independence, Belize','country_id' => '34'),\narray('id' => '391','name' => '(MDB) - Melinda Airport, Melinda, Belize','country_id' => '34'),\narray('id' => '392','name' => '(ORZ) - Orange Walk Airport, Orange Walk, Belize','country_id' => '34'),\narray('id' => '393','name' => '(PLJ) - Placencia Airport, Placencia, Belize','country_id' => '34'),\narray('id' => '394','name' => '(PND) - Punta Gorda Airport, Punta Gorda, Belize','country_id' => '34'),\narray('id' => '395','name' => '(SJX) - Sartaneja Airport, Sartaneja, Belize','country_id' => '34'),\narray('id' => '396','name' => '(SPR) - San Pedro Airport, San Pedro, Belize','country_id' => '34'),\narray('id' => '397','name' => '(SQS) - Matthew Spain Airport, San Ignacio, Belize','country_id' => '34'),\narray('id' => '398','name' => '(STU) - Santa Cruz Airport, Santa Cruz, Belize','country_id' => '34'),\narray('id' => '399','name' => '(SVK) - Silver Creek Airport, Silver Creek, Belize','country_id' => '34'),\narray('id' => '400','name' => '(TZA) - Belize City Municipal Airport, Belize City, Belize','country_id' => '34'),\narray('id' => '401','name' => '(BZB) - Bazaruto Island Airport, Bazaruto Island, Mozambique','country_id' => '155'),\narray('id' => '402','name' => '(BZM) - Bemolanga Airport, Bemolanga, Madagascar','country_id' => '138'),\narray('id' => '403','name' => '(YRR) - Stuart Island Airstrip, Big Bay, Canada','country_id' => '35'),\narray('id' => '404','name' => '(YMV) - Mary River Aerodrome, , Canada','country_id' => '35'),\narray('id' => '405','name' => '(YZZ) - Trail Airport, Trail, Canada','country_id' => '35'),\narray('id' => '406','name' => '(YMB) - Merritt Airport, Merritt, Canada','country_id' => '35'),\narray('id' => '407','name' => '(CJH) - Chilko Lake (Tsylos Park Lodge) Airport, Chilko Lake, Canada','country_id' => '35'),\narray('id' => '408','name' => '(YCA) - Courtenay Airpark, Courtenay, Canada','country_id' => '35'),\narray('id' => '409','name' => '(CFQ) - Creston Valley Regional Airport - Art Sutcliffe Field, Creston, Canada','country_id' => '35'),\narray('id' => '410','name' => '(YAA) - Anahim Lake Airport, Anahim Lake, Canada','country_id' => '35'),\narray('id' => '411','name' => '(DGF) - Douglas Lake Airport, Douglas Lake, Canada','country_id' => '35'),\narray('id' => '412','name' => '(JHL) - Fort MacKay/Albian Aerodrome, Albian Village, Canada','country_id' => '35'),\narray('id' => '413','name' => '(DUQ) - Duncan Airport, Duncan, Canada','country_id' => '35'),\narray('id' => '414','name' => '(YHS) - Sechelt-Gibsons Airport, Sechelt, Canada','country_id' => '35'),\narray('id' => '415','name' => '(XQU) - Qualicum Beach Airport, Qualicum Beach, Canada','country_id' => '35'),\narray('id' => '416','name' => '(YMP) - Port Mcneill Airport, Port Mcneill, Canada','country_id' => '35'),\narray('id' => '417','name' => '(YZA) - Cache Creek-Ashcroft Regional Airport, Cache Creek, Canada','country_id' => '35'),\narray('id' => '418','name' => '(CBC) - Cherrabun Airport, , Australia','country_id' => '12'),\narray('id' => '419','name' => '(YPB) - Alberni Valley Regional Airport, Port Alberni, Canada','country_id' => '35'),\narray('id' => '420','name' => '(YBO) - Bob Quinn Lake Airport, Bob Quinn Lake, Canada','country_id' => '35'),\narray('id' => '421','name' => '(TNS) - Tungsten (Cantung) Airport, Tungsten, Canada','country_id' => '35'),\narray('id' => '422','name' => '(TUX) - Tumbler Ridge Airport, Tumbler Ridge, Canada','country_id' => '35'),\narray('id' => '423','name' => '(YWM) - Williams Harbour Airport, Williams Harbour, Canada','country_id' => '35'),\narray('id' => '424','name' => '(YSO) - Postville Airport, Postville, Canada','country_id' => '35'),\narray('id' => '425','name' => '(YBI) - Black Tickle Airport, Black Tickle, Canada','country_id' => '35'),\narray('id' => '426','name' => '(YFX) - St. Lewis (Fox Harbour) Airport, St. Lewis, Canada','country_id' => '35'),\narray('id' => '427','name' => '(YHA) - Port Hope Simpson Airport, Port Hope Simpson, Canada','country_id' => '35'),\narray('id' => '428','name' => '(YRG) - Rigolet Airport, Rigolet, Canada','country_id' => '35'),\narray('id' => '429','name' => '(CDK) - George T Lewis Airport, Cedar Key, United States','country_id' => '228'),\narray('id' => '430','name' => '(DVK) - Diavik Airport, Diavik, Canada','country_id' => '35'),\narray('id' => '431','name' => '(JOJ) - Doris Lake, Hope Bay, Canada','country_id' => '35'),\narray('id' => '432','name' => '(ZFW) - Fairview Airport, Fairview, Canada','country_id' => '35'),\narray('id' => '433','name' => '(YJP) - Hinton/Jasper-Hinton Airport, Hinton, Canada','country_id' => '35'),\narray('id' => '434','name' => '(YLE) - WhatA Airport, WhatA, Canada','country_id' => '35'),\narray('id' => '435','name' => '(YGC) - Grande Cache Airport, Grande Cache, Canada','country_id' => '35'),\narray('id' => '436','name' => '(YDC) - Drayton Valley Industrial Airport, Drayton Valley, Canada','country_id' => '35'),\narray('id' => '437','name' => '(NML) - Fort McMurray / Mildred Lake Airport, Fort McMurray, Canada','country_id' => '35'),\narray('id' => '438','name' => '(ZSP) - St. Paul Airport, St. Paul, Canada','country_id' => '35'),\narray('id' => '439','name' => '(GSL) - Taltheilei Narrows Airport, Taltheilei Narrows, Canada','country_id' => '35'),\narray('id' => '440','name' => '(XMP) - Macmillan Pass Airport, Macmillan Pass, Canada','country_id' => '35'),\narray('id' => '441','name' => '(DAS) - Great Bear Lake Airport, Great Bear Lake, Canada','country_id' => '35'),\narray('id' => '442','name' => '(YFI) - Fort Mackay / Firebag, Suncor Energy Site, Canada','country_id' => '35'),\narray('id' => '443','name' => '(YFJ) - WekweAtA Airport, WekweAtA, Canada','country_id' => '35'),\narray('id' => '444','name' => '(YOE) - Donnelly Airport, Donnelly, Canada','country_id' => '35'),\narray('id' => '445','name' => '(TIL) - Cheadle Airport, Cheadle, Canada','country_id' => '35'),\narray('id' => '446','name' => '(OKG) - Okoyo Airport, Okoyo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '447','name' => '(CGC) - Cape Gloucester Airport, Cape Gloucester, Papua New Guinea','country_id' => '172'),\narray('id' => '448','name' => '(CGG) - Casiguran Airport, Casiguran, Philippines','country_id' => '173'),\narray('id' => '449','name' => '(CGT) - Chinguetti Airport, Chinguetti, Mauritania','country_id' => '147'),\narray('id' => '450','name' => '(CHP) - Circle Hot Springs Airport, Circle Hot Springs, United States','country_id' => '228'),\narray('id' => '451','name' => '(LRQ) - Laurie River Airport, Laurie River, Canada','country_id' => '35'),\narray('id' => '452','name' => '(YDJ) - Hatchet Lake Airport, Hatchet Lake, Canada','country_id' => '35'),\narray('id' => '453','name' => '(YDU) - Kasba Lake Airport, Kasba Lake, Canada','country_id' => '35'),\narray('id' => '454','name' => '(XCL) - Cluff Lake Airport, Cluff Lake, Canada','country_id' => '35'),\narray('id' => '455','name' => '(YKE) - Knee Lake Airport, Knee Lake, Canada','country_id' => '35'),\narray('id' => '456','name' => '(SUR) - Summer Beaver Airport, Summer Beaver, Canada','country_id' => '35'),\narray('id' => '457','name' => '(CKD) - Crooked Creek Airport, Crooked Creek, United States','country_id' => '228'),\narray('id' => '458','name' => '(YTT) - Tisdale Airport, Tisdale, Canada','country_id' => '35'),\narray('id' => '459','name' => '(YAX) - Wapekeka Airport, Angling Lake, Canada','country_id' => '35'),\narray('id' => '460','name' => '(WNN) - Wunnumin Lake Airport, Wunnumin Lake, Canada','country_id' => '35'),\narray('id' => '461','name' => '(YBS) - Opapimiskan Lake Airport, Opapimiskan Lake, Canada','country_id' => '35'),\narray('id' => '462','name' => '(YNO) - North Spirit Lake Airport, North Spirit Lake, Canada','country_id' => '35'),\narray('id' => '463','name' => '(CKR) - Crane Island Airstrip, Crane Island, United States','country_id' => '228'),\narray('id' => '464','name' => '(CKU) - Cordova Municipal Airport, Cordova, United States','country_id' => '228'),\narray('id' => '465','name' => '(YDW) - North of Sixty Airport, Obre Lake, Canada','country_id' => '35'),\narray('id' => '466','name' => '(CKX) - Chicken Airport, Chicken, United States','country_id' => '228'),\narray('id' => '467','name' => '(CMT) - New CametA Airport, CametA, Brazil','country_id' => '29'),\narray('id' => '468','name' => '(CMZ) - Caia Airport, Caia, Mozambique','country_id' => '155'),\narray('id' => '469','name' => '(TVS) - Tangshan SannAhe Airport, Tangshan, China','country_id' => '45'),\narray('id' => '470','name' => '(YUA) - Yuanmou Air Base, Yuanmou, China','country_id' => '45'),\narray('id' => '471','name' => '(ZQZ) - Zhangjiakou Ningyuan Airport, Zhangjiakou, China','country_id' => '45'),\narray('id' => '472','name' => '(BSD) - Baoshan Yunduan Airport, , China','country_id' => '45'),\narray('id' => '473','name' => '(DZU) - Dazu Air Base, Dazu, China','country_id' => '45'),\narray('id' => '474','name' => '(LNJ) - Lintsang Airfield, Lincang, China','country_id' => '45'),\narray('id' => '475','name' => '(RKZ) - Shigatse Air Base, XigazAa, China','country_id' => '45'),\narray('id' => '476','name' => '(PZI) - Bao\\'anying Airport, Panzhihua, China','country_id' => '45'),\narray('id' => '477','name' => '(FUO) - Foshan Shadi Airport, Foshan, China','country_id' => '45'),\narray('id' => '478','name' => '(HUZ) - Huizhou Airport, Huizhou, China','country_id' => '45'),\narray('id' => '479','name' => '(HSC) - Shaoguan Guitou Airport, Shaoguan, China','country_id' => '45'),\narray('id' => '480','name' => '(JGS) - Jinggangshan Airport, Ji\\'an, China','country_id' => '45'),\narray('id' => '481','name' => '(AEB) - Baise Youjiang Airport, Baise, China','country_id' => '45'),\narray('id' => '482','name' => '(DOY) - Dongying Shengli Airport, Dongying, China','country_id' => '45'),\narray('id' => '483','name' => '(XEN) - Xingcheng Air Base, , China','country_id' => '45'),\narray('id' => '484','name' => '(AAT) - Altay Air Base, Altay, China','country_id' => '45'),\narray('id' => '485','name' => '(THQ) - Tianshui Maijishan Airport, Tianshui, China','country_id' => '45'),\narray('id' => '486','name' => '(YZY) - Zhangye Ganzhou Airport, Zhangye, China','country_id' => '45'),\narray('id' => '487','name' => '(DDG) - Dandong Airport, Dandong, China','country_id' => '45'),\narray('id' => '488','name' => '(NTG) - Nantong Airport, Nantong, China','country_id' => '45'),\narray('id' => '489','name' => '(XBE) - Bearskin Lake Airport, Bearskin Lake, Canada','country_id' => '35'),\narray('id' => '490','name' => '(YNP) - Natuashish Airport, Natuashish, Canada','country_id' => '35'),\narray('id' => '491','name' => '(YPD) - Parry Sound Area Municipal Airport, Parry Sound, Canada','country_id' => '35'),\narray('id' => '492','name' => '(XBR) - Brockville - Thousand Islands Regional Tackaberry Airport, Brockville, Canada','country_id' => '35'),\narray('id' => '493','name' => '(KIF) - Kingfisher Lake Airport, Kingfisher Lake, Canada','country_id' => '35'),\narray('id' => '494','name' => '(YOG) - Ogoki Post Airport, Ogoki Post, Canada','country_id' => '35'),\narray('id' => '495','name' => '(ARQ) - El Troncal Airport, Arauquita, Colombia','country_id' => '46'),\narray('id' => '496','name' => '(LCR) - La Chorrera Airport, La Chorrera, Colombia','country_id' => '46'),\narray('id' => '497','name' => '(SNT) - Las Cruces Airport, Sabana De Torres, Colombia','country_id' => '46'),\narray('id' => '498','name' => '(TCD) - TarapacA Airport, TarapacA, Colombia','country_id' => '46'),\narray('id' => '499','name' => '(YEB) - Bar River Airport, Bar River, Canada','country_id' => '35'),\narray('id' => '500','name' => '(CPI) - Cape Orford Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '501','name' => '(YHP) - Poplar Hill Airport, Poplar Hill, Canada','country_id' => '35'),\narray('id' => '502','name' => '(KEW) - Keewaywin Airport, Keewaywin, Canada','country_id' => '35'),\narray('id' => '503','name' => '(YSA) - Sable Island Landing Strip, Sable Island, Canada','country_id' => '35'),\narray('id' => '504','name' => '(YLS) - Lebel-sur-Quevillon Airport, Lebel-sur-QuAvillon, Canada','country_id' => '35'),\narray('id' => '505','name' => '(YNX) - Snap Lake Airport, Snap Lake Mine, Canada','country_id' => '35'),\narray('id' => '506','name' => '(SSQ) - La Sarre Airport, La Sarre, Canada','country_id' => '35'),\narray('id' => '507','name' => '(YKU) - Chisasibi Airport, Chisasibi, Canada','country_id' => '35'),\narray('id' => '508','name' => '(ZTB) - TAate-A-la-Baleine Airport, TAate-A-la-Baleine, Canada','country_id' => '35'),\narray('id' => '509','name' => '(ZKG) - Kegaska Airport, Kegaska, Canada','country_id' => '35'),\narray('id' => '510','name' => '(YAU) - Donaldson Airport, Kattiniq, Canada','country_id' => '35'),\narray('id' => '511','name' => '(YFG) - Fontanges Airport, Fontanges, Canada','country_id' => '35'),\narray('id' => '512','name' => '(ZLT) - La TabatiAre Airport, La TabatiAre, Canada','country_id' => '35'),\narray('id' => '513','name' => '(PST) - Preston Airport, Preston, Cuba','country_id' => '48'),\narray('id' => '514','name' => '(CUJ) - Culion Airport, Culion Island, Philippines','country_id' => '173'),\narray('id' => '515','name' => '(HLI) - Hollister Municipal Airport, Hollister, United States','country_id' => '228'),\narray('id' => '516','name' => '(CVL) - Cape Vogel Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '517','name' => '(CXC) - Chitina Airport, Chitina, United States','country_id' => '228'),\narray('id' => '518','name' => '(GEC) - GeAitkale Air Base, GeAitkale, Cyprus','country_id' => '52'),\narray('id' => '519','name' => '(YAB) - Arctic Bay Airport, Arctic Bay, Canada','country_id' => '35'),\narray('id' => '520','name' => '(YAC) - Cat Lake Airport, Cat Lake, Canada','country_id' => '35'),\narray('id' => '521','name' => '(YAR) - La Grande-3 Airport, La Grande-3, Canada','country_id' => '35'),\narray('id' => '522','name' => '(YAG) - Fort Frances Municipal Airport, Fort Frances, Canada','country_id' => '35'),\narray('id' => '523','name' => '(YAH) - La Grande-4 Airport, La Grande-4, Canada','country_id' => '35'),\narray('id' => '524','name' => '(YAL) - Alert Bay Airport, Alert Bay, Canada','country_id' => '35'),\narray('id' => '525','name' => '(YAM) - Sault Ste Marie Airport, Sault Ste Marie, Canada','country_id' => '35'),\narray('id' => '526','name' => '(XKS) - Kasabonika Airport, Kasabonika, Canada','country_id' => '35'),\narray('id' => '527','name' => '(YKG) - Kangirsuk Airport, Kangirsuk, Canada','country_id' => '35'),\narray('id' => '528','name' => '(YAT) - Attawapiskat Airport, Attawapiskat, Canada','country_id' => '35'),\narray('id' => '529','name' => '(YAY) - St. Anthony Airport, St. Anthony, Canada','country_id' => '35'),\narray('id' => '530','name' => '(YAZ) - Tofino / Long Beach Airport, Tofino, Canada','country_id' => '35'),\narray('id' => '531','name' => '(YBA) - Banff Airport, Banff, Canada','country_id' => '35'),\narray('id' => '532','name' => '(YBB) - Kugaaruk Airport, Kugaaruk, Canada','country_id' => '35'),\narray('id' => '533','name' => '(YBC) - Baie Comeau Airport, Baie-Comeau, Canada','country_id' => '35'),\narray('id' => '534','name' => '(QBC) - Bella Coola Airport, Bella Coola, Canada','country_id' => '35'),\narray('id' => '535','name' => '(YBE) - Uranium City Airport, Uranium City, Canada','country_id' => '35'),\narray('id' => '536','name' => '(YBY) - Bonnyville Airport, Bonnyville, Canada','country_id' => '35'),\narray('id' => '537','name' => '(YBG) - CFB Bagotville, Bagotville, Canada','country_id' => '35'),\narray('id' => '538','name' => '(YBK) - Baker Lake Airport, Baker Lake, Canada','country_id' => '35'),\narray('id' => '539','name' => '(YBL) - Campbell River Airport, Campbell River, Canada','country_id' => '35'),\narray('id' => '540','name' => '(XTL) - Tadoule Lake Airport, Tadoule Lake, Canada','country_id' => '35'),\narray('id' => '541','name' => '(YBR) - Brandon Municipal Airport, Brandon, Canada','country_id' => '35'),\narray('id' => '542','name' => '(YBT) - Brochet Airport, Brochet, Canada','country_id' => '35'),\narray('id' => '543','name' => '(YBV) - Berens River Airport, Berens River, Canada','country_id' => '35'),\narray('id' => '544','name' => '(YBX) - Lourdes de Blanc Sablon Airport, Lourdes-De-Blanc-Sablon, Canada','country_id' => '35'),\narray('id' => '545','name' => '(YRF) - Cartwright Airport, Cartwright, Canada','country_id' => '35'),\narray('id' => '546','name' => '(YCB) - Cambridge Bay Airport, Cambridge Bay, Canada','country_id' => '35'),\narray('id' => '547','name' => '(YCC) - Cornwall Regional Airport, Cornwall, Canada','country_id' => '35'),\narray('id' => '548','name' => '(YCD) - Nanaimo Airport, Nanaimo, Canada','country_id' => '35'),\narray('id' => '549','name' => '(YCE) - James T. Field Memorial Aerodrome, Centralia, Canada','country_id' => '35'),\narray('id' => '550','name' => '(YCG) - Castlegar/West Kootenay Regional Airport, Castlegar, Canada','country_id' => '35'),\narray('id' => '551','name' => '(YCH) - Miramichi Airport, Miramichi, Canada','country_id' => '35'),\narray('id' => '552','name' => '(XCM) - Chatham Kent Airport, Chatham-Kent, Canada','country_id' => '35'),\narray('id' => '553','name' => '(YCL) - Charlo Airport, Charlo, Canada','country_id' => '35'),\narray('id' => '554','name' => '(YCN) - Cochrane Airport, Cochrane, Canada','country_id' => '35'),\narray('id' => '555','name' => '(YCO) - Kugluktuk Airport, Kugluktuk, Canada','country_id' => '35'),\narray('id' => '556','name' => '(YCQ) - Chetwynd Airport, Chetwynd, Canada','country_id' => '35'),\narray('id' => '557','name' => '(YCR) - Cross Lake (Charlie Sinclair Memorial) Airport, Cross Lake, Canada','country_id' => '35'),\narray('id' => '558','name' => '(YCS) - Chesterfield Inlet Airport, Chesterfield Inlet, Canada','country_id' => '35'),\narray('id' => '559','name' => '(YCT) - Coronation Airport, Coronation, Canada','country_id' => '35'),\narray('id' => '560','name' => '(YCW) - Chilliwack Airport, Chilliwack, Canada','country_id' => '35'),\narray('id' => '561','name' => '(YCY) - Clyde River Airport, Clyde River, Canada','country_id' => '35'),\narray('id' => '562','name' => '(YCZ) - Fairmont Hot Springs Airport, Fairmont Hot Springs, Canada','country_id' => '35'),\narray('id' => '563','name' => '(CYD) - San Ignacio Downtown Airstrip, MulegA, Mexico','country_id' => '153'),\narray('id' => '564','name' => '(YDA) - Dawson City Airport, Dawson City, Canada','country_id' => '35'),\narray('id' => '565','name' => '(YDB) - Burwash Airport, Burwash, Canada','country_id' => '35'),\narray('id' => '566','name' => '(YDF) - Deer Lake Airport, Deer Lake, Canada','country_id' => '35'),\narray('id' => '567','name' => '(YDL) - Dease Lake Airport, Dease Lake, Canada','country_id' => '35'),\narray('id' => '568','name' => '(XRR) - Ross River Airport, Ross River, Canada','country_id' => '35'),\narray('id' => '569','name' => '(YDN) - Dauphin Barker Airport, Dauphin, Canada','country_id' => '35'),\narray('id' => '570','name' => '(YDO) - Dolbeau St Felicien Airport, Dolbeau-St-FAlicien, Canada','country_id' => '35'),\narray('id' => '571','name' => '(YDP) - Nain Airport, Nain, Canada','country_id' => '35'),\narray('id' => '572','name' => '(YDQ) - Dawson Creek Airport, Dawson Creek, Canada','country_id' => '35'),\narray('id' => '573','name' => '(YEG) - Edmonton International Airport, Edmonton, Canada','country_id' => '35'),\narray('id' => '574','name' => '(YEK) - Arviat Airport, Arviat, Canada','country_id' => '35'),\narray('id' => '575','name' => '(YEL) - Elliot Lake Municipal Airport, Elliot Lake, Canada','country_id' => '35'),\narray('id' => '576','name' => '(YEM) - Manitoulin East Municipal Airport, Manitowaning, Canada','country_id' => '35'),\narray('id' => '577','name' => '(YEN) - Estevan Airport, Estevan, Canada','country_id' => '35'),\narray('id' => '578','name' => '(YER) - Fort Severn Airport, Fort Severn, Canada','country_id' => '35'),\narray('id' => '579','name' => '(YET) - Edson Airport, Edson, Canada','country_id' => '35'),\narray('id' => '580','name' => '(YEU) - Eureka Airport, Eureka, Canada','country_id' => '35'),\narray('id' => '581','name' => '(YEV) - Inuvik Mike Zubko Airport, Inuvik, Canada','country_id' => '35'),\narray('id' => '582','name' => '(YEY) - Amos Magny Airport, Amos, Canada','country_id' => '35'),\narray('id' => '583','name' => '(YFA) - Fort Albany Airport, Fort Albany, Canada','country_id' => '35'),\narray('id' => '584','name' => '(YFB) - Iqaluit Airport, Iqaluit, Canada','country_id' => '35'),\narray('id' => '585','name' => '(YFC) - Fredericton Airport, Fredericton, Canada','country_id' => '35'),\narray('id' => '586','name' => '(YFE) - Forestville Airport, Forestville, Canada','country_id' => '35'),\narray('id' => '587','name' => '(YFH) - Fort Hope Airport, Fort Hope, Canada','country_id' => '35'),\narray('id' => '588','name' => '(YTM) - La Macaza / Mont-Tremblant International Inc Airport, RiviAre Rouge, Canada','country_id' => '35'),\narray('id' => '589','name' => '(YFO) - Flin Flon Airport, Flin Flon, Canada','country_id' => '35'),\narray('id' => '590','name' => '(YFR) - Fort Resolution Airport, Fort Resolution, Canada','country_id' => '35'),\narray('id' => '591','name' => '(YFS) - Fort Simpson Airport, Fort Simpson, Canada','country_id' => '35'),\narray('id' => '592','name' => '(YMN) - Makkovik Airport, Makkovik, Canada','country_id' => '35'),\narray('id' => '593','name' => '(YGB) - Texada Gillies Bay Airport, Texada, Canada','country_id' => '35'),\narray('id' => '594','name' => '(YGH) - Fort Good Hope Airport, Fort Good Hope, Canada','country_id' => '35'),\narray('id' => '595','name' => '(YGK) - Kingston Norman Rogers Airport, Kingston, Canada','country_id' => '35'),\narray('id' => '596','name' => '(YGL) - La Grande RiviAre Airport, La Grande RiviAre, Canada','country_id' => '35'),\narray('id' => '597','name' => '(YGM) - Gimli Industrial Park Airport, Gimli, Canada','country_id' => '35'),\narray('id' => '598','name' => '(YGO) - Gods Lake Narrows Airport, Gods Lake Narrows, Canada','country_id' => '35'),\narray('id' => '599','name' => '(YGP) - GaspA (Michel-Pouliot) Airport, GaspA, Canada','country_id' => '35'),\narray('id' => '600','name' => '(YGQ) - Geraldton Greenstone Regional Airport, Geraldton, Canada','country_id' => '35'),\narray('id' => '601','name' => '(YGR) - Ales-de-la-Madeleine Airport, Ales-de-la-Madeleine, Canada','country_id' => '35'),\narray('id' => '602','name' => '(YGT) - Igloolik Airport, Igloolik, Canada','country_id' => '35'),\narray('id' => '603','name' => '(YGV) - Havre St Pierre Airport, Havre St-Pierre, Canada','country_id' => '35'),\narray('id' => '604','name' => '(YGW) - Kuujjuarapik Airport, Kuujjuarapik, Canada','country_id' => '35'),\narray('id' => '605','name' => '(YGX) - Gillam Airport, Gillam, Canada','country_id' => '35'),\narray('id' => '606','name' => '(YGZ) - Grise Fiord Airport, Grise Fiord, Canada','country_id' => '35'),\narray('id' => '607','name' => '(YQC) - Quaqtaq Airport, Quaqtaq, Canada','country_id' => '35'),\narray('id' => '608','name' => '(YHB) - Hudson Bay Airport, Hudson Bay, Canada','country_id' => '35'),\narray('id' => '609','name' => '(YHD) - Dryden Regional Airport, Dryden, Canada','country_id' => '35'),\narray('id' => '610','name' => '(YHE) - Hope Airport, Hope, Canada','country_id' => '35'),\narray('id' => '611','name' => '(YHF) - Hearst RenA Fontaine Municipal Airport, Hearst, Canada','country_id' => '35'),\narray('id' => '612','name' => '(YNS) - Nemiscau Airport, Nemiscau, Canada','country_id' => '35'),\narray('id' => '613','name' => '(YHI) - Ulukhaktok Holman Airport, Ulukhaktok, Canada','country_id' => '35'),\narray('id' => '614','name' => '(YHK) - Gjoa Haven Airport, Gjoa Haven, Canada','country_id' => '35'),\narray('id' => '615','name' => '(YHM) - John C. Munro Hamilton International Airport, Hamilton, Canada','country_id' => '35'),\narray('id' => '616','name' => '(YHN) - Hornepayne Municipal Airport, Hornepayne, Canada','country_id' => '35'),\narray('id' => '617','name' => '(YHO) - Hopedale Airport, Hopedale, Canada','country_id' => '35'),\narray('id' => '618','name' => '(YHR) - Chevery Airport, Chevery, Canada','country_id' => '35'),\narray('id' => '619','name' => '(YHT) - Haines Junction Airport, Haines Junction, Canada','country_id' => '35'),\narray('id' => '620','name' => '(YHU) - MontrAal / Saint-Hubert Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '621','name' => '(YHY) - Hay River / Merlyn Carter Airport, Hay River, Canada','country_id' => '35'),\narray('id' => '622','name' => '(YHZ) - Halifax / Stanfield International Airport, Halifax, Canada','country_id' => '35'),\narray('id' => '623','name' => '(YIB) - Atikokan Municipal Airport, Atikokan, Canada','country_id' => '35'),\narray('id' => '624','name' => '(YDG) - Digby / Annapolis Regional Airport, Digby, Canada','country_id' => '35'),\narray('id' => '625','name' => '(YIF) - St Augustin Airport, St-Augustin, Canada','country_id' => '35'),\narray('id' => '626','name' => '(YIK) - Ivujivik Airport, Ivujivik, Canada','country_id' => '35'),\narray('id' => '627','name' => '(YIO) - Pond Inlet Airport, Pond Inlet, Canada','country_id' => '35'),\narray('id' => '628','name' => '(YIV) - Island Lake Airport, Island Lake, Canada','country_id' => '35'),\narray('id' => '629','name' => '(YJA) - Jasper Airport, Jasper, Canada','country_id' => '35'),\narray('id' => '630','name' => '(YJF) - Fort Liard Airport, Fort Liard, Canada','country_id' => '35'),\narray('id' => '631','name' => '(YJN) - St Jean Airport, St Jean, Canada','country_id' => '35'),\narray('id' => '632','name' => '(ZEL) - Denny Island Airport, Bella Bella, Canada','country_id' => '35'),\narray('id' => '633','name' => '(YJT) - Stephenville Airport, Stephenville, Canada','country_id' => '35'),\narray('id' => '634','name' => '(YKA) - Kamloops Airport, Kamloops, Canada','country_id' => '35'),\narray('id' => '635','name' => '(YKC) - Collins Bay Airport, Collins Bay, Canada','country_id' => '35'),\narray('id' => '636','name' => '(LAK) - Aklavik Airport, Aklavik, Canada','country_id' => '35'),\narray('id' => '637','name' => '(YKF) - Waterloo Airport, Kitchener, Canada','country_id' => '35'),\narray('id' => '638','name' => '(YWB) - Kangiqsujuaq (Wakeham Bay) Airport, Kangiqsujuaq, Canada','country_id' => '35'),\narray('id' => '639','name' => '(YKJ) - Key Lake Airport, Key Lake, Canada','country_id' => '35'),\narray('id' => '640','name' => '(YKL) - Schefferville Airport, Schefferville, Canada','country_id' => '35'),\narray('id' => '641','name' => '(YKD) - Kincardine Municipal Airport, Kincardine, Canada','country_id' => '35'),\narray('id' => '642','name' => '(AKV) - Akulivik Airport, Akulivik, Canada','country_id' => '35'),\narray('id' => '643','name' => '(YKQ) - Waskaganish Airport, Waskaganish, Canada','country_id' => '35'),\narray('id' => '644','name' => '(YKX) - Kirkland Lake Airport, Kirkland Lake, Canada','country_id' => '35'),\narray('id' => '645','name' => '(YKY) - Kindersley Airport, Kindersley, Canada','country_id' => '35'),\narray('id' => '646','name' => '(YKZ) - Buttonville Municipal Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '647','name' => '(YPJ) - Aupaluk Airport, Aupaluk, Canada','country_id' => '35'),\narray('id' => '648','name' => '(YLB) - Lac La Biche Airport, Lac La Biche, Canada','country_id' => '35'),\narray('id' => '649','name' => '(YLC) - Kimmirut Airport, Kimmirut, Canada','country_id' => '35'),\narray('id' => '650','name' => '(YLD) - Chapleau Airport, Chapleau, Canada','country_id' => '35'),\narray('id' => '651','name' => '(YLH) - Lansdowne House Airport, Lansdowne House, Canada','country_id' => '35'),\narray('id' => '652','name' => '(YLJ) - Meadow Lake Airport, Meadow Lake, Canada','country_id' => '35'),\narray('id' => '653','name' => '(YSG) - Lutselk\\'e Airport, Lutselk\\'e, Canada','country_id' => '35'),\narray('id' => '654','name' => '(YLL) - Lloydminster Airport, Lloydminster, Canada','country_id' => '35'),\narray('id' => '655','name' => '(YLQ) - La Tuque Airport, La Tuque, Canada','country_id' => '35'),\narray('id' => '656','name' => '(YLR) - Leaf Rapids Airport, Leaf Rapids, Canada','country_id' => '35'),\narray('id' => '657','name' => '(YLK) - Barrie-Orillia (Lake Simcoe Regional Airport), Barrie-Orillia, Canada','country_id' => '35'),\narray('id' => '658','name' => '(YLT) - Alert Airport, Alert, Canada','country_id' => '35'),\narray('id' => '659','name' => '(XGR) - Kangiqsualujjuaq (Georges River) Airport, Kangiqsualujjuaq, Canada','country_id' => '35'),\narray('id' => '660','name' => '(YLW) - Kelowna International Airport, Kelowna, Canada','country_id' => '35'),\narray('id' => '661','name' => '(YMA) - Mayo Airport, Mayo, Canada','country_id' => '35'),\narray('id' => '662','name' => '(YME) - Matane Airport, Matane, Canada','country_id' => '35'),\narray('id' => '663','name' => '(YMG) - Manitouwadge Airport, Manitouwadge, Canada','country_id' => '35'),\narray('id' => '664','name' => '(YMH) - Mary\\'s Harbour Airport, Mary\\'s Harbour, Canada','country_id' => '35'),\narray('id' => '665','name' => '(YMJ) - Moose Jaw Air Vice Marshal C. M. McEwen Airport, Moose Jaw, Canada','country_id' => '35'),\narray('id' => '666','name' => '(YML) - Charlevoix Airport, Charlevoix, Canada','country_id' => '35'),\narray('id' => '667','name' => '(YMM) - Fort McMurray Airport, Fort McMurray, Canada','country_id' => '35'),\narray('id' => '668','name' => '(YMO) - Moosonee Airport, Moosonee, Canada','country_id' => '35'),\narray('id' => '669','name' => '(YMT) - Chapais Airport, Chibougamau, Canada','country_id' => '35'),\narray('id' => '670','name' => '(YUD) - Umiujaq Airport, Umiujaq, Canada','country_id' => '35'),\narray('id' => '671','name' => '(YMW) - Maniwaki Airport, Maniwaki, Canada','country_id' => '35'),\narray('id' => '672','name' => '(YMX) - Montreal International (Mirabel) Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '673','name' => '(YNA) - Natashquan Airport, Natashquan, Canada','country_id' => '35'),\narray('id' => '674','name' => '(YNC) - Wemindji Airport, Wemindji, Canada','country_id' => '35'),\narray('id' => '675','name' => '(YND) - Ottawa / Gatineau Airport, Gatineau, Canada','country_id' => '35'),\narray('id' => '676','name' => '(YNE) - Norway House Airport, Norway House, Canada','country_id' => '35'),\narray('id' => '677','name' => '(YNH) - Hudsons Hope Airport, Hudson\\'s Hope, Canada','country_id' => '35'),\narray('id' => '678','name' => '(YLY) - Langley Airport, Langley, Canada','country_id' => '35'),\narray('id' => '679','name' => '(YNL) - Points North Landing Airport, Points North Landing, Canada','country_id' => '35'),\narray('id' => '680','name' => '(YNM) - Matagami Airport, Matagami, Canada','country_id' => '35'),\narray('id' => '681','name' => '(HZP) - Fort Mackay / Horizon Airport, Fort Mackay, Canada','country_id' => '35'),\narray('id' => '682','name' => '(YOA) - Ekati Airport, Ekati, Canada','country_id' => '35'),\narray('id' => '683','name' => '(YOC) - Old Crow Airport, Old Crow, Canada','country_id' => '35'),\narray('id' => '684','name' => '(YOD) - CFB Cold Lake, Cold Lake, Canada','country_id' => '35'),\narray('id' => '685','name' => '(YOH) - Oxford House Airport, Oxford House, Canada','country_id' => '35'),\narray('id' => '686','name' => '(YOJ) - High Level Airport, High Level, Canada','country_id' => '35'),\narray('id' => '687','name' => '(YOO) - Oshawa Airport, Oshawa, Canada','country_id' => '35'),\narray('id' => '688','name' => '(YOP) - Rainbow Lake Airport, Rainbow Lake, Canada','country_id' => '35'),\narray('id' => '689','name' => '(YOS) - Owen Sound / Billy Bishop Regional Airport, Owen Sound, Canada','country_id' => '35'),\narray('id' => '690','name' => '(YOW) - Ottawa Macdonald-Cartier International Airport, Ottawa, Canada','country_id' => '35'),\narray('id' => '691','name' => '(YPA) - Prince Albert Glass Field, Prince Albert, Canada','country_id' => '35'),\narray('id' => '692','name' => '(YPC) - Paulatuk (Nora Aliqatchialuk Ruben) Airport, Paulatuk, Canada','country_id' => '35'),\narray('id' => '693','name' => '(YPS) - Port Hawkesbury Airport, Port Hawkesbury, Canada','country_id' => '35'),\narray('id' => '694','name' => '(YPE) - Peace River Airport, Peace River, Canada','country_id' => '35'),\narray('id' => '695','name' => '(YPG) - Southport Airport, Portage la Prairie, Canada','country_id' => '35'),\narray('id' => '696','name' => '(YPH) - Inukjuak Airport, Inukjuak, Canada','country_id' => '35'),\narray('id' => '697','name' => '(YPL) - Pickle Lake Airport, Pickle Lake, Canada','country_id' => '35'),\narray('id' => '698','name' => '(YPM) - Pikangikum Airport, Pikangikum, Canada','country_id' => '35'),\narray('id' => '699','name' => '(YPN) - Port Menier Airport, Port-Menier, Canada','country_id' => '35'),\narray('id' => '700','name' => '(YPO) - Peawanuck Airport, Peawanuck, Canada','country_id' => '35'),\narray('id' => '701','name' => '(YPQ) - Peterborough Airport, Peterborough, Canada','country_id' => '35'),\narray('id' => '702','name' => '(YPR) - Prince Rupert Airport, Prince Rupert, Canada','country_id' => '35'),\narray('id' => '703','name' => '(YPW) - Powell River Airport, Powell River, Canada','country_id' => '35'),\narray('id' => '704','name' => '(YPX) - Puvirnituq Airport, Puvirnituq, Canada','country_id' => '35'),\narray('id' => '705','name' => '(YPY) - Fort Chipewyan Airport, Fort Chipewyan, Canada','country_id' => '35'),\narray('id' => '706','name' => '(YPZ) - Burns Lake Airport, Burns Lake, Canada','country_id' => '35'),\narray('id' => '707','name' => '(YQA) - Muskoka Airport, Muskoka, Canada','country_id' => '35'),\narray('id' => '708','name' => '(YQB) - Quebec Jean Lesage International Airport, Quebec, Canada','country_id' => '35'),\narray('id' => '709','name' => '(YQD) - The Pas Airport, The Pas, Canada','country_id' => '35'),\narray('id' => '710','name' => '(YQF) - Red Deer Regional Airport, Red Deer, Canada','country_id' => '35'),\narray('id' => '711','name' => '(YQG) - Windsor Airport, Windsor, Canada','country_id' => '35'),\narray('id' => '712','name' => '(YQH) - Watson Lake Airport, Watson Lake, Canada','country_id' => '35'),\narray('id' => '713','name' => '(YQI) - Yarmouth Airport, Yarmouth, Canada','country_id' => '35'),\narray('id' => '714','name' => '(YQK) - Kenora Airport, Kenora, Canada','country_id' => '35'),\narray('id' => '715','name' => '(YQL) - Lethbridge County Airport, Lethbridge, Canada','country_id' => '35'),\narray('id' => '716','name' => '(YQM) - Greater Moncton International Airport, Moncton, Canada','country_id' => '35'),\narray('id' => '717','name' => '(YQN) - Nakina Airport, Nakina, Canada','country_id' => '35'),\narray('id' => '718','name' => '(YQQ) - Comox Airport, Comox, Canada','country_id' => '35'),\narray('id' => '719','name' => '(YQR) - Regina International Airport, Regina, Canada','country_id' => '35'),\narray('id' => '720','name' => '(YQS) - St Thomas Municipal Airport, St Thomas, Canada','country_id' => '35'),\narray('id' => '721','name' => '(YQT) - Thunder Bay Airport, Thunder Bay, Canada','country_id' => '35'),\narray('id' => '722','name' => '(YQU) - Grande Prairie Airport, Grande Prairie, Canada','country_id' => '35'),\narray('id' => '723','name' => '(YQV) - Yorkton Municipal Airport, Yorkton, Canada','country_id' => '35'),\narray('id' => '724','name' => '(YQW) - North Battleford Airport, North Battleford, Canada','country_id' => '35'),\narray('id' => '725','name' => '(YQX) - Gander International Airport, Gander, Canada','country_id' => '35'),\narray('id' => '726','name' => '(YQY) - Sydney / J.A. Douglas McCurdy Airport, Sydney, Canada','country_id' => '35'),\narray('id' => '727','name' => '(YQZ) - Quesnel Airport, Quesnel, Canada','country_id' => '35'),\narray('id' => '728','name' => '(YRA) - Rae Lakes Airport, GamAtA, Canada','country_id' => '35'),\narray('id' => '729','name' => '(YRB) - Resolute Bay Airport, Resolute Bay, Canada','country_id' => '35'),\narray('id' => '730','name' => '(YRI) - RiviAre-du-Loup Airport, RiviAre-du-Loup, Canada','country_id' => '35'),\narray('id' => '731','name' => '(YRJ) - Roberval Airport, Roberval, Canada','country_id' => '35'),\narray('id' => '732','name' => '(YRL) - Red Lake Airport, Red Lake, Canada','country_id' => '35'),\narray('id' => '733','name' => '(YRM) - Rocky Mountain House Airport, Rocky Mountain House, Canada','country_id' => '35'),\narray('id' => '734','name' => '(YRO) - Ottawa / Rockcliffe Airport, Ottawa, Canada','country_id' => '35'),\narray('id' => '735','name' => '(YRQ) - Trois-RiviAres Airport, Trois-RiviAres, Canada','country_id' => '35'),\narray('id' => '736','name' => '(YRS) - Red Sucker Lake Airport, Red Sucker Lake, Canada','country_id' => '35'),\narray('id' => '737','name' => '(YRT) - Rankin Inlet Airport, Rankin Inlet, Canada','country_id' => '35'),\narray('id' => '738','name' => '(YRV) - Revelstoke Airport, Revelstoke, Canada','country_id' => '35'),\narray('id' => '739','name' => '(YSB) - Sudbury Airport, Sudbury, Canada','country_id' => '35'),\narray('id' => '740','name' => '(YSC) - Sherbrooke Airport, Sherbrooke, Canada','country_id' => '35'),\narray('id' => '741','name' => '(YSE) - Squamish Airport, Squamish, Canada','country_id' => '35'),\narray('id' => '742','name' => '(YSF) - Stony Rapids Airport, Stony Rapids, Canada','country_id' => '35'),\narray('id' => '743','name' => '(YSH) - Smiths Falls-Montague (Russ Beach) Airport, Smiths Falls, Canada','country_id' => '35'),\narray('id' => '744','name' => '(YSJ) - Saint John Airport, Saint John, Canada','country_id' => '35'),\narray('id' => '745','name' => '(YSK) - Sanikiluaq Airport, Sanikiluaq, Canada','country_id' => '35'),\narray('id' => '746','name' => '(YSL) - St Leonard Airport, St Leonard, Canada','country_id' => '35'),\narray('id' => '747','name' => '(YSM) - Fort Smith Airport, Fort Smith, Canada','country_id' => '35'),\narray('id' => '748','name' => '(YCM) - Niagara District Airport, St Catharines, Canada','country_id' => '35'),\narray('id' => '749','name' => '(YSP) - Marathon Airport, Marathon, Canada','country_id' => '35'),\narray('id' => '750','name' => '(YST) - St. Theresa Point Airport, St. Theresa Point, Canada','country_id' => '35'),\narray('id' => '751','name' => '(YSU) - Summerside Airport, Summerside, Canada','country_id' => '35'),\narray('id' => '752','name' => '(YSY) - Sachs Harbour (David Nasogaluak Jr. Saaryuaq) Airport, Sachs Harbour, Canada','country_id' => '35'),\narray('id' => '753','name' => '(YTA) - Pembroke Airport, Pembroke, Canada','country_id' => '35'),\narray('id' => '754','name' => '(YTE) - Cape Dorset Airport, Cape Dorset, Canada','country_id' => '35'),\narray('id' => '755','name' => '(YTF) - Alma Airport, Alma, Canada','country_id' => '35'),\narray('id' => '756','name' => '(YTH) - Thompson Airport, Thompson, Canada','country_id' => '35'),\narray('id' => '757','name' => '(YTL) - Big Trout Lake Airport, Big Trout Lake, Canada','country_id' => '35'),\narray('id' => '758','name' => '(YTQ) - Tasiujaq Airport, Tasiujaq, Canada','country_id' => '35'),\narray('id' => '759','name' => '(YTR) - CFB Trenton, Trenton, Canada','country_id' => '35'),\narray('id' => '760','name' => '(YTS) - Timmins/Victor M. Power, Timmins, Canada','country_id' => '35'),\narray('id' => '761','name' => '(YTZ) - Billy Bishop Toronto City Centre Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '762','name' => '(YUB) - Tuktoyaktuk Airport, Tuktoyaktuk, Canada','country_id' => '35'),\narray('id' => '763','name' => '(YUL) - Montreal / Pierre Elliott Trudeau International Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '764','name' => '(YUT) - Repulse Bay Airport, Repulse Bay, Canada','country_id' => '35'),\narray('id' => '765','name' => '(YUX) - Hall Beach Airport, Hall Beach, Canada','country_id' => '35'),\narray('id' => '766','name' => '(YUY) - Rouyn Noranda Airport, Rouyn-Noranda, Canada','country_id' => '35'),\narray('id' => '767','name' => '(YVB) - Bonaventure Airport, Bonaventure, Canada','country_id' => '35'),\narray('id' => '768','name' => '(YVC) - La Ronge Airport, La Ronge, Canada','country_id' => '35'),\narray('id' => '769','name' => '(YVG) - Vermilion Airport, Vermilion, Canada','country_id' => '35'),\narray('id' => '770','name' => '(YVE) - Vernon Airport, Vernon, Canada','country_id' => '35'),\narray('id' => '771','name' => '(YCK) - Tommy Kochon Airport, Colville Lake, Canada','country_id' => '35'),\narray('id' => '772','name' => '(YVM) - Qikiqtarjuaq Airport, Qikiqtarjuaq, Canada','country_id' => '35'),\narray('id' => '773','name' => '(YVO) - Val-d\\'Or Airport, Val-d\\'Or, Canada','country_id' => '35'),\narray('id' => '774','name' => '(YVP) - Kuujjuaq Airport, Kuujjuaq, Canada','country_id' => '35'),\narray('id' => '775','name' => '(YVQ) - Norman Wells Airport, Norman Wells, Canada','country_id' => '35'),\narray('id' => '776','name' => '(YVR) - Vancouver International Airport, Vancouver, Canada','country_id' => '35'),\narray('id' => '777','name' => '(YVT) - Buffalo Narrows Airport, Buffalo Narrows, Canada','country_id' => '35'),\narray('id' => '778','name' => '(YVV) - Wiarton Airport, Wiarton, Canada','country_id' => '35'),\narray('id' => '779','name' => '(YVZ) - Deer Lake Airport, Deer Lake, Canada','country_id' => '35'),\narray('id' => '780','name' => '(YWA) - Petawawa Airport, Petawawa, Canada','country_id' => '35'),\narray('id' => '781','name' => '(YWG) - Winnipeg / James Armstrong Richardson International Airport, Winnipeg, Canada','country_id' => '35'),\narray('id' => '782','name' => '(YWJ) - DAline Airport, DAline, Canada','country_id' => '35'),\narray('id' => '783','name' => '(YWK) - Wabush Airport, Wabush, Canada','country_id' => '35'),\narray('id' => '784','name' => '(YWL) - Williams Lake Airport, Williams Lake, Canada','country_id' => '35'),\narray('id' => '785','name' => '(YWP) - Webequie Airport, Webequie, Canada','country_id' => '35'),\narray('id' => '786','name' => '(YWY) - Wrigley Airport, Wrigley, Canada','country_id' => '35'),\narray('id' => '787','name' => '(YXC) - Cranbrook/Canadian Rockies International Airport, Cranbrook, Canada','country_id' => '35'),\narray('id' => '788','name' => '(YXE) - Saskatoon John G. Diefenbaker International Airport, Saskatoon, Canada','country_id' => '35'),\narray('id' => '789','name' => '(YXH) - Medicine Hat Airport, Medicine Hat, Canada','country_id' => '35'),\narray('id' => '790','name' => '(YXJ) - Fort St John Airport, Fort St.John, Canada','country_id' => '35'),\narray('id' => '791','name' => '(YXK) - Rimouski Airport, Rimouski, Canada','country_id' => '35'),\narray('id' => '792','name' => '(YXL) - Sioux Lookout Airport, Sioux Lookout, Canada','country_id' => '35'),\narray('id' => '793','name' => '(YXN) - Whale Cove Airport, Whale Cove, Canada','country_id' => '35'),\narray('id' => '794','name' => '(YXP) - Pangnirtung Airport, Pangnirtung, Canada','country_id' => '35'),\narray('id' => '795','name' => '(YXQ) - Beaver Creek Airport, Beaver Creek, Canada','country_id' => '35'),\narray('id' => '796','name' => '(YXR) - Earlton (Timiskaming Regional) Airport, Earlton, Canada','country_id' => '35'),\narray('id' => '797','name' => '(YXS) - Prince George Airport, Prince George, Canada','country_id' => '35'),\narray('id' => '798','name' => '(YXT) - Terrace Airport, Terrace, Canada','country_id' => '35'),\narray('id' => '799','name' => '(YXU) - London Airport, London, Canada','country_id' => '35'),\narray('id' => '800','name' => '(YXX) - Abbotsford Airport, Abbotsford, Canada','country_id' => '35'),\narray('id' => '801','name' => '(YXY) - Whitehorse / Erik Nielsen International Airport, Whitehorse, Canada','country_id' => '35'),\narray('id' => '802','name' => '(YXZ) - Wawa Airport, Wawa, Canada','country_id' => '35'),\narray('id' => '803','name' => '(YYB) - North Bay Airport, North Bay, Canada','country_id' => '35'),\narray('id' => '804','name' => '(YYC) - Calgary International Airport, Calgary, Canada','country_id' => '35'),\narray('id' => '805','name' => '(YYD) - Smithers Airport, Smithers, Canada','country_id' => '35'),\narray('id' => '806','name' => '(YYE) - Fort Nelson Airport, Fort Nelson, Canada','country_id' => '35'),\narray('id' => '807','name' => '(YYF) - Penticton Airport, Penticton, Canada','country_id' => '35'),\narray('id' => '808','name' => '(YYG) - Charlottetown Airport, Charlottetown, Canada','country_id' => '35'),\narray('id' => '809','name' => '(YYH) - Taloyoak Airport, Taloyoak, Canada','country_id' => '35'),\narray('id' => '810','name' => '(YYJ) - Victoria International Airport, Victoria, Canada','country_id' => '35'),\narray('id' => '811','name' => '(YYL) - Lynn Lake Airport, Lynn Lake, Canada','country_id' => '35'),\narray('id' => '812','name' => '(YYM) - Cowley Airport, Cowley, Canada','country_id' => '35'),\narray('id' => '813','name' => '(YYN) - Swift Current Airport, Swift Current, Canada','country_id' => '35'),\narray('id' => '814','name' => '(YYQ) - Churchill Airport, Churchill, Canada','country_id' => '35'),\narray('id' => '815','name' => '(YYR) - Goose Bay Airport, Goose Bay, Canada','country_id' => '35'),\narray('id' => '816','name' => '(YYT) - St. John\\'s International Airport, St. John\\'s, Canada','country_id' => '35'),\narray('id' => '817','name' => '(YYU) - Kapuskasing Airport, Kapuskasing, Canada','country_id' => '35'),\narray('id' => '818','name' => '(YYW) - Armstrong Airport, Armstrong, Canada','country_id' => '35'),\narray('id' => '819','name' => '(YYY) - Mont Joli Airport, Mont-Joli, Canada','country_id' => '35'),\narray('id' => '820','name' => '(YYZ) - Lester B. Pearson International Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '821','name' => '(YZD) - Downsview Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '822','name' => '(YZE) - Gore Bay Manitoulin Airport, Gore Bay, Canada','country_id' => '35'),\narray('id' => '823','name' => '(YZF) - Yellowknife Airport, Yellowknife, Canada','country_id' => '35'),\narray('id' => '824','name' => '(YZG) - Salluit Airport, Salluit, Canada','country_id' => '35'),\narray('id' => '825','name' => '(YZH) - Slave Lake Airport, Slave Lake, Canada','country_id' => '35'),\narray('id' => '826','name' => '(YZP) - Sandspit Airport, Sandspit, Canada','country_id' => '35'),\narray('id' => '827','name' => '(YZR) - Chris Hadfield Airport, Sarnia, Canada','country_id' => '35'),\narray('id' => '828','name' => '(YZS) - Coral Harbour Airport, Coral Harbour, Canada','country_id' => '35'),\narray('id' => '829','name' => '(YZT) - Port Hardy Airport, Port Hardy, Canada','country_id' => '35'),\narray('id' => '830','name' => '(YZU) - Whitecourt Airport, Whitecourt, Canada','country_id' => '35'),\narray('id' => '831','name' => '(YZV) - Sept-Ales Airport, Sept-Ales, Canada','country_id' => '35'),\narray('id' => '832','name' => '(YZW) - Teslin Airport, Teslin, Canada','country_id' => '35'),\narray('id' => '833','name' => '(YZX) - CFB Greenwood, Greenwood, Canada','country_id' => '35'),\narray('id' => '834','name' => '(ZAC) - York Landing Airport, York Landing, Canada','country_id' => '35'),\narray('id' => '835','name' => '(YSN) - Salmon Arm Airport, Salmon Arm, Canada','country_id' => '35'),\narray('id' => '836','name' => '(YDT) - Boundary Bay Airport, Vancouver, Canada','country_id' => '35'),\narray('id' => '837','name' => '(ILF) - Ilford Airport, Ilford, Canada','country_id' => '35'),\narray('id' => '838','name' => '(ZBF) - Bathurst Airport, Bathurst, Canada','country_id' => '35'),\narray('id' => '839','name' => '(ZBM) - Bromont (Roland Desourdy) Airport, Bromont, Canada','country_id' => '35'),\narray('id' => '840','name' => '(KES) - Kelsey Airport, Kelsey, Canada','country_id' => '35'),\narray('id' => '841','name' => '(ZEM) - Eastmain River Airport, Eastmain River, Canada','country_id' => '35'),\narray('id' => '842','name' => '(ZFA) - Faro Airport, Faro, Canada','country_id' => '35'),\narray('id' => '843','name' => '(ZFD) - Fond-Du-Lac Airport, Fond-Du-Lac, Canada','country_id' => '35'),\narray('id' => '844','name' => '(XPK) - Pukatawagan Airport, Pukatawagan, Canada','country_id' => '35'),\narray('id' => '845','name' => '(ZFM) - Fort Mcpherson Airport, Fort Mcpherson, Canada','country_id' => '35'),\narray('id' => '846','name' => '(ZFN) - Tulita Airport, Tulita, Canada','country_id' => '35'),\narray('id' => '847','name' => '(ZGF) - Grand Forks Airport, Grand Forks, Canada','country_id' => '35'),\narray('id' => '848','name' => '(ZGI) - Gods River Airport, Gods River, Canada','country_id' => '35'),\narray('id' => '849','name' => '(ZGR) - Little Grand Rapids Airport, Little Grand Rapids, Canada','country_id' => '35'),\narray('id' => '850','name' => '(ZHP) - High Prairie Airport, High Prairie, Canada','country_id' => '35'),\narray('id' => '851','name' => '(CZJ) - CorazAn de JesAos Airport, CorazAn de JesAos and NarganA Islands, Panama','country_id' => '169'),\narray('id' => '852','name' => '(ZJG) - Jenpeg Airport, Jenpeg, Canada','country_id' => '35'),\narray('id' => '853','name' => '(ZJN) - Swan River Airport, Swan River, Canada','country_id' => '35'),\narray('id' => '854','name' => '(CZK) - Cascade Locks State Airport, Cascade Locks, United States','country_id' => '228'),\narray('id' => '855','name' => '(ZKE) - Kashechewan Airport, Kashechewan, Canada','country_id' => '35'),\narray('id' => '856','name' => '(YTD) - Thicket Portage Airport, Thicket Portage, Canada','country_id' => '35'),\narray('id' => '857','name' => '(MSA) - Muskrat Dam Airport, Muskrat Dam, Canada','country_id' => '35'),\narray('id' => '858','name' => '(ZMH) - South Cariboo Region / 108 Mile Airport, 108 Mile, Canada','country_id' => '35'),\narray('id' => '859','name' => '(PIW) - Pikwitonei Airport, Pikwitonei, Canada','country_id' => '35'),\narray('id' => '860','name' => '(ZMT) - Masset Airport, Masset, Canada','country_id' => '35'),\narray('id' => '861','name' => '(CZN) - Chisana Airport, Chisana, United States','country_id' => '228'),\narray('id' => '862','name' => '(XPP) - Poplar River Airport, Poplar River, Canada','country_id' => '35'),\narray('id' => '863','name' => '(CZO) - Chistochina Airport, Chistochina, United States','country_id' => '228'),\narray('id' => '864','name' => '(ZPB) - Sachigo Lake Airport, Sachigo Lake, Canada','country_id' => '35'),\narray('id' => '865','name' => '(WPC) - Pincher Creek Airport, Pincher Creek, Canada','country_id' => '35'),\narray('id' => '866','name' => '(ZPO) - Pinehouse Lake Airport, Pinehouse Lake, Canada','country_id' => '35'),\narray('id' => '867','name' => '(ZRJ) - Round Lake (Weagamow Lake) Airport, Round Lake, Canada','country_id' => '35'),\narray('id' => '868','name' => '(ZSJ) - Sandy Lake Airport, Sandy Lake, Canada','country_id' => '35'),\narray('id' => '869','name' => '(XSI) - South Indian Lake Airport, South Indian Lake, Canada','country_id' => '35'),\narray('id' => '870','name' => '(ZST) - Stewart Airport, Stewart, Canada','country_id' => '35'),\narray('id' => '871','name' => '(YDV) - Bloodvein River Airport, Bloodvein River, Canada','country_id' => '35'),\narray('id' => '872','name' => '(ZTM) - Shamattawa Airport, Shamattawa, Canada','country_id' => '35'),\narray('id' => '873','name' => '(ZUC) - Ignace Municipal Airport, Ignace, Canada','country_id' => '35'),\narray('id' => '874','name' => '(ZUM) - Churchill Falls Airport, Churchill Falls, Canada','country_id' => '35'),\narray('id' => '875','name' => '(XLB) - Lac Brochet Airport, Lac Brochet, Canada','country_id' => '35'),\narray('id' => '876','name' => '(ZWL) - Wollaston Lake Airport, Wollaston Lake, Canada','country_id' => '35'),\narray('id' => '877','name' => '(DJN) - Delta Junction Airport, Delta Junction, United States','country_id' => '228'),\narray('id' => '878','name' => '(MQV) - Mostaganem Airport, , Algeria','country_id' => '59'),\narray('id' => '879','name' => '(QLD) - Blida Airport, , Algeria','country_id' => '59'),\narray('id' => '880','name' => '(BUJ) - Bou Saada Airport, , Algeria','country_id' => '59'),\narray('id' => '881','name' => '(BJA) - Soummam Airport, BAjaAa, Algeria','country_id' => '59'),\narray('id' => '882','name' => '(ALG) - Houari Boumediene Airport, Algiers, Algeria','country_id' => '59'),\narray('id' => '883','name' => '(DJG) - Djanet Inedbirene Airport, Djanet, Algeria','country_id' => '59'),\narray('id' => '884','name' => '(QFD) - Boufarik Airport, , Algeria','country_id' => '59'),\narray('id' => '885','name' => '(VVZ) - Illizi Takhamalt Airport, Illizi, Algeria','country_id' => '59'),\narray('id' => '886','name' => '(QSF) - Ain Arnat Airport, SAtif, Algeria','country_id' => '59'),\narray('id' => '887','name' => '(TMR) - Aguenar a\" Hadj Bey Akhamok Airport, Tamanrasset, Algeria','country_id' => '59'),\narray('id' => '888','name' => '(GJL) - Jijel Ferhat Abbas Airport, Jijel, Algeria','country_id' => '59'),\narray('id' => '889','name' => '(MZW) - Mecheria Airport, Mecheria, Algeria','country_id' => '59'),\narray('id' => '890','name' => '(QZN) - Relizane Airport, , Algeria','country_id' => '59'),\narray('id' => '891','name' => '(AAE) - Annaba Airport, Annabah, Algeria','country_id' => '59'),\narray('id' => '892','name' => '(CZL) - Mohamed Boudiaf International Airport, Constantine, Algeria','country_id' => '59'),\narray('id' => '893','name' => '(QMH) - Oum el Bouaghi airport, Oum El Bouaghi, Algeria','country_id' => '59'),\narray('id' => '894','name' => '(TEE) - Cheikh Larbi TAbessi Airport, TAbessi, Algeria','country_id' => '59'),\narray('id' => '895','name' => '(BLJ) - Batna Airport, Batna, Algeria','country_id' => '59'),\narray('id' => '896','name' => '(DAF) - Daup Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '897','name' => '(HRM) - Hassi R\\'Mel Airport, , Algeria','country_id' => '59'),\narray('id' => '898','name' => '(QDJ) - Tsletsi Airport, Djelfa, Algeria','country_id' => '59'),\narray('id' => '899','name' => '(DAO) - Dabo Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '900','name' => '(TID) - Bou Chekif Airport, Tiaret, Algeria','country_id' => '59'),\narray('id' => '901','name' => '(TIN) - Tindouf Airport, Tindouf, Algeria','country_id' => '59'),\narray('id' => '902','name' => '(CFK) - Ech Cheliff Airport, , Algeria','country_id' => '59'),\narray('id' => '903','name' => '(TAF) - Tafaraoui Airport, , Algeria','country_id' => '59'),\narray('id' => '904','name' => '(TLM) - Zenata a\" Messali El Hadj Airport, Tlemcen, Algeria','country_id' => '59'),\narray('id' => '905','name' => '(ORN) - Es Senia Airport, Oran, Algeria','country_id' => '59'),\narray('id' => '906','name' => '(CBH) - BAchar Boudghene Ben Ali Lotfi Airport, BAchar, Algeria','country_id' => '59'),\narray('id' => '907','name' => '(BFW) - Sidi Bel Abbes Airport, Sidi Bel AbbAs, Algeria','country_id' => '59'),\narray('id' => '908','name' => '(MUW) - Ghriss Airport, , Algeria','country_id' => '59'),\narray('id' => '909','name' => '(EBH) - El Bayadh Airport, El Bayadh, Algeria','country_id' => '59'),\narray('id' => '910','name' => '(INF) - In Guezzam Airport, In Guezzam, Algeria','country_id' => '59'),\narray('id' => '911','name' => '(BMW) - Bordj Badji Mokhtar Airport, Bordj Badji Mokhtar, Algeria','country_id' => '59'),\narray('id' => '912','name' => '(AZR) - Touat Cheikh Sidi Mohamed Belkebir Airport, , Algeria','country_id' => '59'),\narray('id' => '913','name' => '(BSK) - Biskra Airport, Biskra, Algeria','country_id' => '59'),\narray('id' => '914','name' => '(ELG) - El Golea Airport, , Algeria','country_id' => '59'),\narray('id' => '915','name' => '(GHA) - NoumArat - Moufdi Zakaria Airport, GhardaAa, Algeria','country_id' => '59'),\narray('id' => '916','name' => '(HME) - Oued Irara Airport, Hassi Messaoud, Algeria','country_id' => '59'),\narray('id' => '917','name' => '(INZ) - In Salah Airport, In Salah, Algeria','country_id' => '59'),\narray('id' => '918','name' => '(TGR) - Touggourt Sidi Madhi Airport, Touggourt, Algeria','country_id' => '59'),\narray('id' => '919','name' => '(LOO) - Laghouat Airport, Laghouat, Algeria','country_id' => '59'),\narray('id' => '920','name' => '(ELU) - Guemar Airport, Guemar, Algeria','country_id' => '59'),\narray('id' => '921','name' => '(TMX) - Timimoun Airport, Timimoun, Algeria','country_id' => '59'),\narray('id' => '922','name' => '(OGX) - Ain el Beida Airport, Ouargla, Algeria','country_id' => '59'),\narray('id' => '923','name' => '(IAM) - In AmAnas Airport, AmAnas, Algeria','country_id' => '59'),\narray('id' => '924','name' => '(COO) - Cadjehoun Airport, Cotonou, Benin','country_id' => '23'),\narray('id' => '925','name' => '(DJA) - Djougou Airport, Djougou, Benin','country_id' => '23'),\narray('id' => '926','name' => '(KDC) - Kandi Airport, Kandi, Benin','country_id' => '23'),\narray('id' => '927','name' => '(NAE) - Natitingou Airport, Natitingou, Benin','country_id' => '23'),\narray('id' => '928','name' => '(PKO) - Parakou Airport, Parakou, Benin','country_id' => '23'),\narray('id' => '929','name' => '(SVF) - SavA Airport, SavA, Benin','country_id' => '23'),\narray('id' => '930','name' => '(DBC) - Chang\\'an Airport, Baicheng, China','country_id' => '45'),\narray('id' => '931','name' => '(DBP) - Debepare Airport, Debepare, Papua New Guinea','country_id' => '172'),\narray('id' => '932','name' => '(DCK) - Dahl Creek Airport, Dahl Creek, United States','country_id' => '228'),\narray('id' => '933','name' => '(DDM) - Dodoima Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '934','name' => '(DER) - Derim Airport, Derim, Papua New Guinea','country_id' => '172'),\narray('id' => '935','name' => '(DEX) - Nop Goliath Airport, Yahukimo, Indonesia','country_id' => '97'),\narray('id' => '936','name' => '(XKY) - Kaya Airport, Kaya, Burkina Faso','country_id' => '19'),\narray('id' => '937','name' => '(OUG) - Ouahigouya Airport, Ouahigouya, Burkina Faso','country_id' => '19'),\narray('id' => '938','name' => '(XDJ) - Djibo Airport, Djibo, Burkina Faso','country_id' => '19'),\narray('id' => '939','name' => '(XLU) - Leo Airport, Leo, Burkina Faso','country_id' => '19'),\narray('id' => '940','name' => '(PUP) - Po Airport, Po, Burkina Faso','country_id' => '19'),\narray('id' => '941','name' => '(XBO) - Boulsa Airport, Boulsa, Burkina Faso','country_id' => '19'),\narray('id' => '942','name' => '(XBG) - Bogande Airport, Bogande, Burkina Faso','country_id' => '19'),\narray('id' => '943','name' => '(DIP) - Diapaga Airport, Diapaga, Burkina Faso','country_id' => '19'),\narray('id' => '944','name' => '(DOR) - Dori Airport, Dori, Burkina Faso','country_id' => '19'),\narray('id' => '945','name' => '(FNG) - Fada N\\'gourma Airport, Fada N\\'gourma, Burkina Faso','country_id' => '19'),\narray('id' => '946','name' => '(XGG) - Gorom-Gorom Airport, Gorom-Gorom, Burkina Faso','country_id' => '19'),\narray('id' => '947','name' => '(XKA) - Kantchari Airport, Kantchari, Burkina Faso','country_id' => '19'),\narray('id' => '948','name' => '(TMQ) - Tambao Airport, Tambao, Burkina Faso','country_id' => '19'),\narray('id' => '949','name' => '(XPA) - Pama Airport, Pama, Burkina Faso','country_id' => '19'),\narray('id' => '950','name' => '(ARL) - Arly Airport, Arly, Burkina Faso','country_id' => '19'),\narray('id' => '951','name' => '(XSE) - Sebba Airport, Sebba, Burkina Faso','country_id' => '19'),\narray('id' => '952','name' => '(TEG) - Tenkodogo Airport, Tenkodogo, Burkina Faso','country_id' => '19'),\narray('id' => '953','name' => '(XZA) - ZabrA Airport, ZabrA, Burkina Faso','country_id' => '19'),\narray('id' => '954','name' => '(OUA) - Ouagadougou Airport, Ouagadougou, Burkina Faso','country_id' => '19'),\narray('id' => '955','name' => '(BNR) - Banfora Airport, Banfora, Burkina Faso','country_id' => '19'),\narray('id' => '956','name' => '(DGU) - Dedougou Airport, Dedougou, Burkina Faso','country_id' => '19'),\narray('id' => '957','name' => '(XGA) - Gaoua Airport, Gaoua, Burkina Faso','country_id' => '19'),\narray('id' => '958','name' => '(XNU) - Nouna Airport, Nouna, Burkina Faso','country_id' => '19'),\narray('id' => '959','name' => '(BOY) - Bobo Dioulasso Airport, Bobo Dioulasso, Burkina Faso','country_id' => '19'),\narray('id' => '960','name' => '(TUQ) - Tougan Airport, Tougan, Burkina Faso','country_id' => '19'),\narray('id' => '961','name' => '(XDE) - Diebougou Airport, Diebougou, Burkina Faso','country_id' => '19'),\narray('id' => '962','name' => '(XAR) - Aribinda Airport, Aribinda, Burkina Faso','country_id' => '19'),\narray('id' => '963','name' => '(ACC) - Kotoka International Airport, Accra, Ghana','country_id' => '79'),\narray('id' => '964','name' => '(TML) - Tamale Airport, Tamale, Ghana','country_id' => '79'),\narray('id' => '965','name' => '(KMS) - Kumasi Airport, Kumasi, Ghana','country_id' => '79'),\narray('id' => '966','name' => '(NYI) - Sunyani Airport, Sunyani, Ghana','country_id' => '79'),\narray('id' => '967','name' => '(TKD) - Takoradi Airport, Sekondi-Takoradi, Ghana','country_id' => '79'),\narray('id' => '968','name' => '(ABJ) - Port Bouet Airport, Abidjan, Ivoire Coast','country_id' => '41'),\narray('id' => '969','name' => '(OGO) - Abengourou Airport, Abengourou, Ivoire Coast','country_id' => '41'),\narray('id' => '970','name' => '(BXI) - Boundiali Airport, Boundiali, Ivoire Coast','country_id' => '41'),\narray('id' => '971','name' => '(BYK) - BouakA Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '972','name' => '(BQO) - Bouna Airport, Bouna, Ivoire Coast','country_id' => '41'),\narray('id' => '973','name' => '(BDK) - Soko Airport, Bondoukou, Ivoire Coast','country_id' => '41'),\narray('id' => '974','name' => '(DIM) - Dimbokro Airport, Dimbokro, Ivoire Coast','country_id' => '41'),\narray('id' => '975','name' => '(DJO) - Daloa Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '976','name' => '(FEK) - Ferkessedougou Airport, Ferkessedougou, Ivoire Coast','country_id' => '41'),\narray('id' => '977','name' => '(GGN) - Gagnoa Airport, Gagnoa, Ivoire Coast','country_id' => '41'),\narray('id' => '978','name' => '(GGO) - Guiglo Airport, Guiglo, Ivoire Coast','country_id' => '41'),\narray('id' => '979','name' => '(BBV) - Nero-Mer Airport, Grand-BArAby, Ivoire Coast','country_id' => '41'),\narray('id' => '980','name' => '(HGO) - Korhogo Airport, Korhogo, Ivoire Coast','country_id' => '41'),\narray('id' => '981','name' => '(MJC) - Man Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '982','name' => '(KEO) - Odienne Airport, Odienne, Ivoire Coast','country_id' => '41'),\narray('id' => '983','name' => '(OFI) - Ouango Fitini Airport, Ouango Fitini, Ivoire Coast','country_id' => '41'),\narray('id' => '984','name' => '(SEO) - Seguela Airport, Seguela, Ivoire Coast','country_id' => '41'),\narray('id' => '985','name' => '(SPY) - San Pedro Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '986','name' => '(ZSS) - Sassandra Airport, Sassandra, Ivoire Coast','country_id' => '41'),\narray('id' => '987','name' => '(TXU) - Tabou Airport, Tabou, Ivoire Coast','country_id' => '41'),\narray('id' => '988','name' => '(TOZ) - Mahana Airport, Touba, Ivoire Coast','country_id' => '41'),\narray('id' => '989','name' => '(ASK) - Yamoussoukro Airport, Yamoussoukro, Ivoire Coast','country_id' => '41'),\narray('id' => '990','name' => '(DKA) - Katsina Airport, Katsina, Nigeria','country_id' => '160'),\narray('id' => '991','name' => '(ABV) - Nnamdi Azikiwe International Airport, Abuja, Nigeria','country_id' => '160'),\narray('id' => '992','name' => '(QUO) - Akwa Ibom International Airport, Uyo, Nigeria','country_id' => '160'),\narray('id' => '993','name' => '(AKR) - Akure Airport, Akure, Nigeria','country_id' => '160'),\narray('id' => '994','name' => '(ABB) - Asaba International Airport, Asaba, Nigeria','country_id' => '160'),\narray('id' => '995','name' => '(BNI) - Benin Airport, Benin, Nigeria','country_id' => '160'),\narray('id' => '996','name' => '(CBQ) - Margaret Ekpo International Airport, Calabar, Nigeria','country_id' => '160'),\narray('id' => '997','name' => '(ENU) - Akanu Ibiam International Airport, Enegu, Nigeria','country_id' => '160'),\narray('id' => '998','name' => '(QUS) - Gusau Airport, Gusau, Nigeria','country_id' => '160'),\narray('id' => '999','name' => '(IBA) - Ibadan Airport, Ibadan, Nigeria','country_id' => '160'),\narray('id' => '1000','name' => '(ILR) - Ilorin International Airport, Ilorin, Nigeria','country_id' => '160'),\narray('id' => '1001','name' => '(QOW) - Sam Mbakwe International Airport, Owerri, Nigeria','country_id' => '160'),\narray('id' => '1002','name' => '(JOS) - Yakubu Gowon Airport, Jos, Nigeria','country_id' => '160'),\narray('id' => '1003','name' => '(KAD) - Kaduna Airport, Kaduna, Nigeria','country_id' => '160'),\narray('id' => '1004','name' => '(KAN) - Mallam Aminu International Airport, Kano, Nigeria','country_id' => '160'),\narray('id' => '1005','name' => '(MIU) - Maiduguri International Airport, Maiduguri, Nigeria','country_id' => '160'),\narray('id' => '1006','name' => '(MDI) - Makurdi Airport, Makurdi, Nigeria','country_id' => '160'),\narray('id' => '1007','name' => '(LOS) - Murtala Muhammed International Airport, Lagos, Nigeria','country_id' => '160'),\narray('id' => '1008','name' => '(MXJ) - Minna Airport, Minna, Nigeria','country_id' => '160'),\narray('id' => '1009','name' => '(PHC) - Port Harcourt International Airport, Port Harcourt, Nigeria','country_id' => '160'),\narray('id' => '1010','name' => '(SKO) - Sadiq Abubakar III International Airport, Sokoto, Nigeria','country_id' => '160'),\narray('id' => '1011','name' => '(YOL) - Yola Airport, Yola, Nigeria','country_id' => '160'),\narray('id' => '1012','name' => '(ZAR) - Zaria Airport, Zaria, Nigeria','country_id' => '160'),\narray('id' => '1013','name' => '(DOO) - Dorobisoro Airport, Dorobisoro, Papua New Guinea','country_id' => '172'),\narray('id' => '1014','name' => '(DPT) - Deputatskiy Airport, Deputatskiy, Russia','country_id' => '187'),\narray('id' => '1015','name' => '(DQA) - Saertu Airport, Daqing Shi, China','country_id' => '45'),\narray('id' => '1016','name' => '(MFQ) - Maradi Airport, Maradi, Niger','country_id' => '158'),\narray('id' => '1017','name' => '(NIM) - Diori Hamani International Airport, Niamey, Niger','country_id' => '158'),\narray('id' => '1018','name' => '(THZ) - Tahoua Airport, Tahoua, Niger','country_id' => '158'),\narray('id' => '1019','name' => '(AJY) - Mano Dayak International Airport, Agadez, Niger','country_id' => '158'),\narray('id' => '1020','name' => '(RLT) - Arlit Airport, Arlit, Niger','country_id' => '158'),\narray('id' => '1021','name' => '(ZND) - Zinder Airport, Zinder, Niger','country_id' => '158'),\narray('id' => '1022','name' => '(DSG) - Dilasag Airport, Dilasag, Philippines','country_id' => '173'),\narray('id' => '1023','name' => '(TBJ) - Tabarka 7 Novembre Airport, Tabarka, Tunisia','country_id' => '218'),\narray('id' => '1024','name' => '(MIR) - Monastir Habib Bourguiba International Airport, Monastir, Tunisia','country_id' => '218'),\narray('id' => '1025','name' => '(TUN) - Tunis Carthage International Airport, Tunis, Tunisia','country_id' => '218'),\narray('id' => '1026','name' => '(QIZ) - Sidi Ahmed Air Base, Sidi Ahmed, Tunisia','country_id' => '218'),\narray('id' => '1027','name' => '(GAF) - Gafsa Ksar International Airport, Gafsa, Tunisia','country_id' => '218'),\narray('id' => '1028','name' => '(GAE) - GabAs Matmata International Airport, GabAs, Tunisia','country_id' => '218'),\narray('id' => '1029','name' => '(DJE) - Djerba Zarzis International Airport, Djerba, Tunisia','country_id' => '218'),\narray('id' => '1030','name' => '(EBM) - El Borma Airport, El Borma, Tunisia','country_id' => '218'),\narray('id' => '1031','name' => '(SFA) - Sfax Thyna International Airport, Sfax, Tunisia','country_id' => '218'),\narray('id' => '1032','name' => '(TOE) - Tozeur Nefta International Airport, Tozeur, Tunisia','country_id' => '218'),\narray('id' => '1033','name' => '(DVD) - Andavadoaka Airport, Andavadoaka, Madagascar','country_id' => '138'),\narray('id' => '1034','name' => '(DWR) - Dywer Airbase, Camp Dwyer, Afghanistan','country_id' => '2'),\narray('id' => '1035','name' => '(LRL) - Niamtougou International Airport, Niamtougou, Togo','country_id' => '212'),\narray('id' => '1036','name' => '(LFW) - LomA-Tokoin Airport, LomA, Togo','country_id' => '212'),\narray('id' => '1037','name' => '(EAL) - Elenak Airport, Mejato Island, Marshall Islands','country_id' => '139'),\narray('id' => '1038','name' => '(QON) - Arlon-Sterpenich ULM, Arlon, Belgium','country_id' => '18'),\narray('id' => '1039','name' => '(ANR) - Antwerp International Airport (Deurne), Antwerp, Belgium','country_id' => '18'),\narray('id' => '1040','name' => '(BRU) - Brussels Airport, Brussels, Belgium','country_id' => '18'),\narray('id' => '1041','name' => '(CRL) - Brussels South Charleroi Airport, Brussels, Belgium','country_id' => '18'),\narray('id' => '1042','name' => '(KJK) - Wevelgem Airport, Wevelgem, Belgium','country_id' => '18'),\narray('id' => '1043','name' => '(LGG) - LiAge Airport, LiAge, Belgium','country_id' => '18'),\narray('id' => '1044','name' => '(QNM) - SuarlAe Airport, Namur, Belgium','country_id' => '18'),\narray('id' => '1045','name' => '(EBO) - Ebon Airport, Ebon Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '1046','name' => '(OST) - Ostend-Bruges International Airport, Ostend, Belgium','country_id' => '18'),\narray('id' => '1047','name' => '(ZGQ) - Tournai/Maubray Airport, Tournai, Belgium','country_id' => '18'),\narray('id' => '1048','name' => '(QHA) - Kiewit Airfield Hasselt, Hasselt, Belgium','country_id' => '18'),\narray('id' => '1049','name' => '(OBL) - Oostmalle Air Base, Zoersel, Belgium','country_id' => '18'),\narray('id' => '1050','name' => '(MZD) - MAndez Airport, Santiago de MAndez, Ecuador','country_id' => '60'),\narray('id' => '1051','name' => '(AOC) - Altenburg-Nobitz Airport, Altenburg, Germany','country_id' => '54'),\narray('id' => '1052','name' => '(HDF) - Heringsdorf Airport, Heringsdorf, Germany','country_id' => '54'),\narray('id' => '1053','name' => '(IES) - Riesa-GAhlis Airport, Riesa, Germany','country_id' => '54'),\narray('id' => '1054','name' => '(REB) - Rechlin-LArz Airport, LArz, Germany','country_id' => '54'),\narray('id' => '1055','name' => '(QXH) - SchAnhagen Airport, Trebbin, Germany','country_id' => '54'),\narray('id' => '1056','name' => '(CSO) - Cochstedt Airport, Magdeburg, Germany','country_id' => '54'),\narray('id' => '1057','name' => '(BBH) - Barth Airport, , Germany','country_id' => '54'),\narray('id' => '1058','name' => '(ZMG) - Magdeburg Airport, Magdeburg, Germany','country_id' => '54'),\narray('id' => '1059','name' => '(FNB) - Neubrandenburg Airport, Neubrandenburg, Germany','country_id' => '54'),\narray('id' => '1060','name' => '(CBU) - Cottbus-Drewitz Airport, Cottbus, Germany','country_id' => '54'),\narray('id' => '1061','name' => '(GTI) - RAgen Airport, RAgen, Germany','country_id' => '54'),\narray('id' => '1062','name' => '(KOQ) - KAthen Airport, KAthen, Germany','country_id' => '54'),\narray('id' => '1063','name' => '(PEF) - PeenemAnde Airport, PeenemAnde, Germany','country_id' => '54'),\narray('id' => '1064','name' => '(SXF) - Berlin-SchAnefeld International Airport, Berlin, Germany','country_id' => '54'),\narray('id' => '1065','name' => '(DRS) - Dresden Airport, Dresden, Germany','country_id' => '54'),\narray('id' => '1066','name' => '(ERF) - Erfurt Airport, Erfurt, Germany','country_id' => '54'),\narray('id' => '1067','name' => '(FRA) - Frankfurt am Main International Airport, Frankfurt-am-Main, Germany','country_id' => '54'),\narray('id' => '1068','name' => '(FMO) - MAnster OsnabrAck Airport, MAnster, Germany','country_id' => '54'),\narray('id' => '1069','name' => '(HAM) - Hamburg Airport, Hamburg, Germany','country_id' => '54'),\narray('id' => '1070','name' => '(CGN) - Cologne Bonn Airport, Cologne, Germany','country_id' => '54'),\narray('id' => '1071','name' => '(DUS) - DAsseldorf International Airport, DAsseldorf, Germany','country_id' => '54'),\narray('id' => '1072','name' => '(MUC) - Munich International Airport, Munich, Germany','country_id' => '54'),\narray('id' => '1073','name' => '(NUE) - Nuremberg Airport, Nuremberg, Germany','country_id' => '54'),\narray('id' => '1074','name' => '(LEJ) - Leipzig Halle Airport, Leipzig, Germany','country_id' => '54'),\narray('id' => '1075','name' => '(SCN) - SaarbrAcken Airport, SaarbrAcken, Germany','country_id' => '54'),\narray('id' => '1076','name' => '(STR) - Stuttgart Airport, Stuttgart, Germany','country_id' => '54'),\narray('id' => '1077','name' => '(TXL) - Berlin-Tegel International Airport, Berlin, Germany','country_id' => '54'),\narray('id' => '1078','name' => '(HAJ) - Hannover Airport, Hannover, Germany','country_id' => '54'),\narray('id' => '1079','name' => '(BRE) - Bremen Airport, Bremen, Germany','country_id' => '54'),\narray('id' => '1080','name' => '(QEF) - Frankfurt-Egelsbach Airport, Egelsbach, Germany','country_id' => '54'),\narray('id' => '1081','name' => '(HHN) - Frankfurt-Hahn Airport, Hahn, Germany','country_id' => '54'),\narray('id' => '1082','name' => '(MHG) - Mannheim-City Airport, Mannheim, Germany','country_id' => '54'),\narray('id' => '1083','name' => '(QMZ) - Mainz-Finthen Airport, Mainz, Germany','country_id' => '54'),\narray('id' => '1084','name' => '(EIB) - Eisenach-Kindel Airport, Eisenach, Germany','country_id' => '54'),\narray('id' => '1085','name' => '(SGE) - Siegerland Airport, , Germany','country_id' => '54'),\narray('id' => '1086','name' => '(XFW) - Hamburg-Finkenwerder Airport, Hamburg, Germany','country_id' => '54'),\narray('id' => '1087','name' => '(KEL) - Kiel-Holtenau Airport, Kiel, Germany','country_id' => '54'),\narray('id' => '1088','name' => '(LBC) - LAbeck Blankensee Airport, LAbeck, Germany','country_id' => '54'),\narray('id' => '1089','name' => '(EUM) - NeumAnster Airport, NeumAnster, Germany','country_id' => '54'),\narray('id' => '1090','name' => '(FMM) - Memmingen Allgau Airport, Memmingen, Germany','country_id' => '54'),\narray('id' => '1091','name' => '(AAH) - Aachen-MerzbrAck Airport, Aachen, Germany','country_id' => '54'),\narray('id' => '1092','name' => '(BNJ) - Bonn-Hangelar Airport, Bonn, Germany','country_id' => '54'),\narray('id' => '1093','name' => '(ESS) - Essen Mulheim Airport, , Germany','country_id' => '54'),\narray('id' => '1094','name' => '(BFE) - Bielefeld Airport, Bielefeld, Germany','country_id' => '54'),\narray('id' => '1095','name' => '(ZOJ) - Marl-LoemAhle Airport, Marl, Germany','country_id' => '54'),\narray('id' => '1096','name' => '(MGL) - MAnchengladbach Airport, MAnchengladbach, Germany','country_id' => '54'),\narray('id' => '1097','name' => '(PAD) - Paderborn Lippstadt Airport, Paderborn, Germany','country_id' => '54'),\narray('id' => '1098','name' => '(NRN) - Weeze Airport, Weeze, Germany','country_id' => '54'),\narray('id' => '1099','name' => '(DTM) - Dortmund Airport, Dortmund, Germany','country_id' => '54'),\narray('id' => '1100','name' => '(AGB) - Augsburg Airport, Augsburg, Germany','country_id' => '54'),\narray('id' => '1101','name' => '(OBF) - Oberpfaffenhofen Airport, , Germany','country_id' => '54'),\narray('id' => '1102','name' => '(RBM) - Straubing Airport, Straubing, Germany','country_id' => '54'),\narray('id' => '1103','name' => '(FDH) - Friedrichshafen Airport, Friedrichshafen, Germany','country_id' => '54'),\narray('id' => '1104','name' => '(FRF) - Oschersleben Airport, Oschersleben, Germany','country_id' => '54'),\narray('id' => '1105','name' => '(SZW) - Schwerin Parchim Airport, , Germany','country_id' => '54'),\narray('id' => '1106','name' => '(BYU) - Bayreuth Airport, Bayreuth, Germany','country_id' => '54'),\narray('id' => '1107','name' => '(URD) - Burg Feuerstein Airport, Ebermannstadt, Germany','country_id' => '54'),\narray('id' => '1108','name' => '(QOB) - Ansbach-Petersdorf Airport, Ansbach, Germany','country_id' => '54'),\narray('id' => '1109','name' => '(GHF) - Giebelstadt Airport, Giebelstadt, Germany','country_id' => '54'),\narray('id' => '1110','name' => '(HOQ) - Hof-Plauen Airport, Hof, Germany','country_id' => '54'),\narray('id' => '1111','name' => '(BBJ) - Bitburg Airport, Bitburg, Germany','country_id' => '54'),\narray('id' => '1112','name' => '(ZQW) - ZweibrAcken Airport, ZweibrAcken, Germany','country_id' => '54'),\narray('id' => '1113','name' => '(FKB) - Karlsruhe Baden-Baden Airport, Baden-Baden, Germany','country_id' => '54'),\narray('id' => '1114','name' => '(ZQL) - Donaueschingen-Villingen Airport, Donaueschingen, Germany','country_id' => '54'),\narray('id' => '1115','name' => '(LHA) - Lahr Airport, , Germany','country_id' => '54'),\narray('id' => '1116','name' => '(BWE) - Braunschweig Wolfsburg Airport, , Germany','country_id' => '54'),\narray('id' => '1117','name' => '(KSF) - Kassel-Calden Airport, Kassel, Germany','country_id' => '54'),\narray('id' => '1118','name' => '(EME) - Emden Airport, Emden, Germany','country_id' => '54'),\narray('id' => '1119','name' => '(AGE) - Wangerooge Airport, Wangerooge, Germany','country_id' => '54'),\narray('id' => '1120','name' => '(WVN) - Wilhelmshaven-Mariensiel Airport, Wilhelmshaven, Germany','country_id' => '54'),\narray('id' => '1121','name' => '(JUI) - Juist Airport, Juist, Germany','country_id' => '54'),\narray('id' => '1122','name' => '(LGO) - Langeoog Airport, Langeoog, Germany','country_id' => '54'),\narray('id' => '1123','name' => '(ZOW) - Nordhorn-Lingen Airport, Klausheide, Germany','country_id' => '54'),\narray('id' => '1124','name' => '(BMK) - Borkum Airport, Borkum, Germany','country_id' => '54'),\narray('id' => '1125','name' => '(NOD) - Norden-Norddeich Airport, Norddeich, Germany','country_id' => '54'),\narray('id' => '1126','name' => '(VAC) - Varrelbusch Airport, Cloppenburg, Germany','country_id' => '54'),\narray('id' => '1127','name' => '(NRD) - Norderney Airport, Norderney, Germany','country_id' => '54'),\narray('id' => '1128','name' => '(BMR) - Baltrum Airport, Baltrum, Germany','country_id' => '54'),\narray('id' => '1129','name' => '(HEI) - Heide-BAsum Airport, BAsum, Germany','country_id' => '54'),\narray('id' => '1130','name' => '(FLF) - Flensburg-SchAferhaus Airport, Flensburg, Germany','country_id' => '54'),\narray('id' => '1131','name' => '(HGL) - Helgoland-DAne Airport, Helgoland, Germany','country_id' => '54'),\narray('id' => '1132','name' => '(QHU) - Husum-Schwesing Airport, Husum, Germany','country_id' => '54'),\narray('id' => '1133','name' => '(NDZ) - Nordholz-Spieka Airport, Cuxhaven, Germany','country_id' => '54'),\narray('id' => '1134','name' => '(PSH) - St. Peter-Ording Airport, Sankt Peter-Ording, Germany','country_id' => '54'),\narray('id' => '1135','name' => '(GWT) - Westerland Sylt Airport, Westerland, Germany','country_id' => '54'),\narray('id' => '1136','name' => '(OHR) - Wyk auf FAhr Airport, Wyk auf FAhr, Germany','country_id' => '54'),\narray('id' => '1137','name' => '(KDL) - KArdla Airport, KArdla, Estonia','country_id' => '61'),\narray('id' => '1138','name' => '(URE) - Kuressaare Airport, Kuressaare, Estonia','country_id' => '61'),\narray('id' => '1139','name' => '(EPU) - PArnu Airport, PArnu, Estonia','country_id' => '61'),\narray('id' => '1140','name' => '(TLL) - Lennart Meri Tallinn Airport, Tallinn, Estonia','country_id' => '61'),\narray('id' => '1141','name' => '(TAY) - Tartu Airport, Tartu, Estonia','country_id' => '61'),\narray('id' => '1142','name' => '(ENF) - Enontekio Airport, Enontekio, Finland','country_id' => '67'),\narray('id' => '1143','name' => '(QVE) - Forssa Airport, Forssa, Finland','country_id' => '67'),\narray('id' => '1144','name' => '(EFG) - Efogi Airport, Efogi, Papua New Guinea','country_id' => '172'),\narray('id' => '1145','name' => '(KEV) - Halli Airport, Halli / Kuorevesi, Finland','country_id' => '67'),\narray('id' => '1146','name' => '(HEM) - Helsinki Malmi Airport, Helsinki, Finland','country_id' => '67'),\narray('id' => '1147','name' => '(HEL) - Helsinki Vantaa Airport, Helsinki, Finland','country_id' => '67'),\narray('id' => '1148','name' => '(HYV) - HyvinkAA Airfield, HyvinkAA, Finland','country_id' => '67'),\narray('id' => '1149','name' => '(KTQ) - Kitee Airport, , Finland','country_id' => '67'),\narray('id' => '1150','name' => '(IVL) - Ivalo Airport, Ivalo, Finland','country_id' => '67'),\narray('id' => '1151','name' => '(JOE) - Joensuu Airport, Joensuu / Liperi, Finland','country_id' => '67'),\narray('id' => '1152','name' => '(JYV) - Jyvaskyla Airport, JyvAskylAn Maalaiskunta, Finland','country_id' => '67'),\narray('id' => '1153','name' => '(KAU) - Kauhava Airport, Kauhava, Finland','country_id' => '67'),\narray('id' => '1154','name' => '(KEM) - Kemi-Tornio Airport, Kemi / Tornio, Finland','country_id' => '67'),\narray('id' => '1155','name' => '(KAJ) - Kajaani Airport, Kajaani, Finland','country_id' => '67'),\narray('id' => '1156','name' => '(KHJ) - Kauhajoki Airport, , Finland','country_id' => '67'),\narray('id' => '1157','name' => '(KOK) - Kokkola-Pietarsaari Airport, Kokkola / Kruunupyy, Finland','country_id' => '67'),\narray('id' => '1158','name' => '(KAO) - Kuusamo Airport, Kuusamo, Finland','country_id' => '67'),\narray('id' => '1159','name' => '(KTT) - KittilA Airport, KittilA, Finland','country_id' => '67'),\narray('id' => '1160','name' => '(KUO) - Kuopio Airport, Kuopio / SiilinjArvi, Finland','country_id' => '67'),\narray('id' => '1161','name' => '(QLF) - Lahti Vesivehmaa Airport, , Finland','country_id' => '67'),\narray('id' => '1162','name' => '(LPP) - Lappeenranta Airport, Lappeenranta, Finland','country_id' => '67'),\narray('id' => '1163','name' => '(MHQ) - Mariehamn Airport, , Finland','country_id' => '67'),\narray('id' => '1164','name' => '(MIK) - Mikkeli Airport, Mikkeli, Finland','country_id' => '67'),\narray('id' => '1165','name' => '(OUL) - Oulu Airport, Oulu / Oulunsalo, Finland','country_id' => '67'),\narray('id' => '1166','name' => '(POR) - Pori Airport, Pori, Finland','country_id' => '67'),\narray('id' => '1167','name' => '(RVN) - Rovaniemi Airport, Rovaniemi, Finland','country_id' => '67'),\narray('id' => '1168','name' => '(SVL) - Savonlinna Airport, Savonlinna, Finland','country_id' => '67'),\narray('id' => '1169','name' => '(SJY) - SeinAjoki Airport, SeinAjoki / Ilmajoki, Finland','country_id' => '67'),\narray('id' => '1170','name' => '(SOT) - Sodankyla Airport, Sodankyla, Finland','country_id' => '67'),\narray('id' => '1171','name' => '(TMP) - Tampere-Pirkkala Airport, Tampere / Pirkkala, Finland','country_id' => '67'),\narray('id' => '1172','name' => '(TKU) - Turku Airport, Turku, Finland','country_id' => '67'),\narray('id' => '1173','name' => '(UTI) - Utti Air Base, Utti / Valkeala, Finland','country_id' => '67'),\narray('id' => '1174','name' => '(VAA) - Vaasa Airport, Vaasa, Finland','country_id' => '67'),\narray('id' => '1175','name' => '(VRK) - Varkaus Airport, Varkaus / Joroinen, Finland','country_id' => '67'),\narray('id' => '1176','name' => '(YLI) - Ylivieska Airport, , Finland','country_id' => '67'),\narray('id' => '1177','name' => '(AUE) - Abu Rudeis Airport, Abu Rudeis, Egypt','country_id' => '62'),\narray('id' => '1178','name' => '(BFS) - Belfast International Airport, Belfast, United Kingdom','country_id' => '74'),\narray('id' => '1179','name' => '(ENK) - St Angelo Airport, Enniskillen, United Kingdom','country_id' => '74'),\narray('id' => '1180','name' => '(BHD) - George Best Belfast City Airport, Belfast, United Kingdom','country_id' => '74'),\narray('id' => '1181','name' => '(LDY) - City of Derry Airport, Derry, United Kingdom','country_id' => '74'),\narray('id' => '1182','name' => '(BHX) - Birmingham International Airport, Birmingham, United Kingdom','country_id' => '74'),\narray('id' => '1183','name' => '(CVT) - Coventry Airport, Coventry, United Kingdom','country_id' => '74'),\narray('id' => '1184','name' => '(GLO) - Gloucestershire Airport, Staverton, United Kingdom','country_id' => '74'),\narray('id' => '1185','name' => '(ORM) - Sywell Aerodrome, Northampton, United Kingdom','country_id' => '74'),\narray('id' => '1186','name' => '(NQT) - Nottingham Airport, Nottingham, United Kingdom','country_id' => '74'),\narray('id' => '1187','name' => '(MAN) - Manchester Airport, Manchester, United Kingdom','country_id' => '74'),\narray('id' => '1188','name' => '(DSA) - Robin Hood Doncaster Sheffield Airport, Doncaster, United Kingdom','country_id' => '74'),\narray('id' => '1189','name' => '(UPV) - Upavon Aerodrome, Upavon, United Kingdom','country_id' => '74'),\narray('id' => '1190','name' => '(LYE) - RAF Lyneham, Lyneham, United Kingdom','country_id' => '74'),\narray('id' => '1191','name' => '(DGX) - MOD St. Athan, St. Athan, United Kingdom','country_id' => '74'),\narray('id' => '1192','name' => '(YEO) - RNAS Yeovilton, Yeovil, United Kingdom','country_id' => '74'),\narray('id' => '1193','name' => '(CAL) - Campbeltown Airport, Campbeltown, United Kingdom','country_id' => '74'),\narray('id' => '1194','name' => '(EOI) - Eday Airport, Eday, United Kingdom','country_id' => '74'),\narray('id' => '1195','name' => '(FIE) - Fair Isle Airport, Fair Isle, United Kingdom','country_id' => '74'),\narray('id' => '1196','name' => '(WHS) - Whalsay Airport, Whalsay, United Kingdom','country_id' => '74'),\narray('id' => '1197','name' => '(COL) - Coll Airport, Coll Island, United Kingdom','country_id' => '74'),\narray('id' => '1198','name' => '(NRL) - North Ronaldsay Airport, North Ronaldsay, United Kingdom','country_id' => '74'),\narray('id' => '1199','name' => '(OBN) - Oban Airport, North Connel, United Kingdom','country_id' => '74'),\narray('id' => '1200','name' => '(PPW) - Papa Westray Airport, Papa Westray, United Kingdom','country_id' => '74'),\narray('id' => '1201','name' => '(SOY) - Stronsay Airport, Stronsay, United Kingdom','country_id' => '74'),\narray('id' => '1202','name' => '(NDY) - Sanday Airport, Sanday, United Kingdom','country_id' => '74'),\narray('id' => '1203','name' => '(LWK) - Lerwick / Tingwall Airport, Lerwick, United Kingdom','country_id' => '74'),\narray('id' => '1204','name' => '(WRY) - Westray Airport, Westray, United Kingdom','country_id' => '74'),\narray('id' => '1205','name' => '(CSA) - Colonsay Airstrip, Colonsay, United Kingdom','country_id' => '74'),\narray('id' => '1206','name' => '(HAW) - Haverfordwest Airport, Haverfordwest, United Kingdom','country_id' => '74'),\narray('id' => '1207','name' => '(CWL) - Cardiff International Airport, Cardiff, United Kingdom','country_id' => '74'),\narray('id' => '1208','name' => '(SWS) - Swansea Airport, Swansea, United Kingdom','country_id' => '74'),\narray('id' => '1209','name' => '(BRS) - Bristol International Airport, Bristol, United Kingdom','country_id' => '74'),\narray('id' => '1210','name' => '(LPL) - Liverpool John Lennon Airport, Liverpool, United Kingdom','country_id' => '74'),\narray('id' => '1211','name' => '(LTN) - London Luton Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1212','name' => '(LEQ) - Land\\'s End Airport, Land\\'s End, United Kingdom','country_id' => '74'),\narray('id' => '1213','name' => '(PLH) - Plymouth City Airport, Plymouth, United Kingdom','country_id' => '74'),\narray('id' => '1214','name' => '(ISC) - St. Mary\\'s Airport, St. Mary\\'s, United Kingdom','country_id' => '74'),\narray('id' => '1215','name' => '(BOH) - Bournemouth Airport, Bournemouth, United Kingdom','country_id' => '74'),\narray('id' => '1216','name' => '(SOU) - Southampton Airport, Southampton, United Kingdom','country_id' => '74'),\narray('id' => '1217','name' => '(BBP) - Bembridge Airport, Bembridge, United Kingdom','country_id' => '74'),\narray('id' => '1218','name' => '(QLA) - Lasham Airport, Lasham, United Kingdom','country_id' => '74'),\narray('id' => '1219','name' => '(NQY) - Newquay Cornwall Airport, Newquay, United Kingdom','country_id' => '74'),\narray('id' => '1220','name' => '(QUG) - Chichester/Goodwood Airport, Chichester, United Kingdom','country_id' => '74'),\narray('id' => '1221','name' => '(ACI) - Alderney Airport, Saint Anne, Guernsey','country_id' => '78'),\narray('id' => '1222','name' => '(GCI) - Guernsey Airport, Saint Peter Port, Guernsey','country_id' => '78'),\narray('id' => '1223','name' => '(JER) - Jersey Airport, Saint Helier, Jersey','country_id' => '107'),\narray('id' => '1224','name' => '(ESH) - Shoreham Airport, Brighton, United Kingdom','country_id' => '74'),\narray('id' => '1225','name' => '(BQH) - London Biggin Hill Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1226','name' => '(LGW) - London Gatwick Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1227','name' => '(KRH) - Redhill Aerodrome, Redhill, United Kingdom','country_id' => '74'),\narray('id' => '1228','name' => '(LCY) - London City Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1229','name' => '(FAB) - Farnborough Airport, Farnborough, United Kingdom','country_id' => '74'),\narray('id' => '1230','name' => '(BBS) - Blackbushe Airport, Yateley, United Kingdom','country_id' => '74'),\narray('id' => '1231','name' => '(LHR) - London Heathrow Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1232','name' => '(SEN) - Southend Airport, Southend, United Kingdom','country_id' => '74'),\narray('id' => '1233','name' => '(LYX) - Lydd Airport, Lydd, Ashford, United Kingdom','country_id' => '74'),\narray('id' => '1234','name' => '(CAX) - Carlisle Airport, Carlisle, United Kingdom','country_id' => '74'),\narray('id' => '1235','name' => '(BLK) - Blackpool International Airport, Blackpool, United Kingdom','country_id' => '74'),\narray('id' => '1236','name' => '(HUY) - Humberside Airport, Grimsby, United Kingdom','country_id' => '74'),\narray('id' => '1237','name' => '(BWF) - Barrow Walney Island Airport, Barrow-in-Furness, United Kingdom','country_id' => '74'),\narray('id' => '1238','name' => '(LBA) - Leeds Bradford Airport, Leeds, United Kingdom','country_id' => '74'),\narray('id' => '1239','name' => '(CEG) - Hawarden Airport, Hawarden, United Kingdom','country_id' => '74'),\narray('id' => '1240','name' => '(IOM) - Isle of Man Airport, Castletown, Isle of Man','country_id' => '100'),\narray('id' => '1241','name' => '(NCL) - Newcastle Airport, Newcastle, United Kingdom','country_id' => '74'),\narray('id' => '1242','name' => '(MME) - Durham Tees Valley Airport, Durham, United Kingdom','country_id' => '74'),\narray('id' => '1243','name' => '(EMA) - East Midlands Airport, Nottingham, United Kingdom','country_id' => '74'),\narray('id' => '1244','name' => '(VLY) - Anglesey Airport, Angelsey, United Kingdom','country_id' => '74'),\narray('id' => '1245','name' => '(KOI) - Kirkwall Airport, Orkney Islands, United Kingdom','country_id' => '74'),\narray('id' => '1246','name' => '(LSI) - Sumburgh Airport, Lerwick, United Kingdom','country_id' => '74'),\narray('id' => '1247','name' => '(WIC) - Wick Airport, Wick, United Kingdom','country_id' => '74'),\narray('id' => '1248','name' => '(ABZ) - Aberdeen Dyce Airport, Aberdeen, United Kingdom','country_id' => '74'),\narray('id' => '1249','name' => '(INV) - Inverness Airport, Inverness, United Kingdom','country_id' => '74'),\narray('id' => '1250','name' => '(GLA) - Glasgow International Airport, Glasgow, United Kingdom','country_id' => '74'),\narray('id' => '1251','name' => '(EDI) - Edinburgh Airport, Edinburgh, United Kingdom','country_id' => '74'),\narray('id' => '1252','name' => '(ILY) - Islay Airport, Port Ellen, United Kingdom','country_id' => '74'),\narray('id' => '1253','name' => '(PIK) - Glasgow Prestwick Airport, Glasgow, United Kingdom','country_id' => '74'),\narray('id' => '1254','name' => '(BEB) - Benbecula Airport, Balivanich, United Kingdom','country_id' => '74'),\narray('id' => '1255','name' => '(SCS) - Scatsta Airport, Shetland Islands, United Kingdom','country_id' => '74'),\narray('id' => '1256','name' => '(DND) - Dundee Airport, Dundee, United Kingdom','country_id' => '74'),\narray('id' => '1257','name' => '(SYY) - Stornoway Airport, Stornoway, United Kingdom','country_id' => '74'),\narray('id' => '1258','name' => '(BRR) - Barra Airport, Eoligarry, United Kingdom','country_id' => '74'),\narray('id' => '1259','name' => '(PSL) - Perth/Scone Airport, Perth, United Kingdom','country_id' => '74'),\narray('id' => '1260','name' => '(TRE) - Tiree Airport, Balemartine, United Kingdom','country_id' => '74'),\narray('id' => '1261','name' => '(UNT) - Unst Airport, Shetland Islands, United Kingdom','country_id' => '74'),\narray('id' => '1262','name' => '(BOL) - Ballykelly Airport, Ballykelly, United Kingdom','country_id' => '74'),\narray('id' => '1263','name' => '(FSS) - RAF Kinloss, Kinloss, United Kingdom','country_id' => '74'),\narray('id' => '1264','name' => '(ADX) - RAF Leuchars, St. Andrews, United Kingdom','country_id' => '74'),\narray('id' => '1265','name' => '(LMO) - RAF Lossiemouth, Lossiemouth, United Kingdom','country_id' => '74'),\narray('id' => '1266','name' => '(CBG) - Cambridge Airport, Cambridge, United Kingdom','country_id' => '74'),\narray('id' => '1267','name' => '(NWI) - Norwich International Airport, Norwich, United Kingdom','country_id' => '74'),\narray('id' => '1268','name' => '(STN) - London Stansted Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1269','name' => '(QFO) - Duxford Airport, Duxford, United Kingdom','country_id' => '74'),\narray('id' => '1270','name' => '(HYC) - Wycombe Air Park, High Wycombe, United Kingdom','country_id' => '74'),\narray('id' => '1271','name' => '(EXT) - Exeter International Airport, Exeter, United Kingdom','country_id' => '74'),\narray('id' => '1272','name' => '(OXF) - Oxford (Kidlington) Airport, Kidlington, United Kingdom','country_id' => '74'),\narray('id' => '1273','name' => '(RCS) - Rochester Airport, Rochester, United Kingdom','country_id' => '74'),\narray('id' => '1274','name' => '(BEX) - RAF Benson, Benson, United Kingdom','country_id' => '74'),\narray('id' => '1275','name' => '(LKZ) - RAF Lakenheath, Lakenheath, United Kingdom','country_id' => '74'),\narray('id' => '1276','name' => '(MHZ) - RAF Mildenhall, Mildenhall, United Kingdom','country_id' => '74'),\narray('id' => '1277','name' => '(QUY) - RAF Wyton, St. Ives, United Kingdom','country_id' => '74'),\narray('id' => '1278','name' => '(FFD) - RAF Fairford, Fairford, United Kingdom','country_id' => '74'),\narray('id' => '1279','name' => '(BZZ) - RAF Brize Norton, Brize Norton, United Kingdom','country_id' => '74'),\narray('id' => '1280','name' => '(ODH) - RAF Odiham, Odiham, United Kingdom','country_id' => '74'),\narray('id' => '1281','name' => '(WXF) - Wethersfield Airport, Wethersfield, United Kingdom','country_id' => '74'),\narray('id' => '1282','name' => '(NHT) - RAF Northolt, London, United Kingdom','country_id' => '74'),\narray('id' => '1283','name' => '(QCY) - RAF Coningsby, Coningsby, United Kingdom','country_id' => '74'),\narray('id' => '1284','name' => '(BEQ) - RAF Honington, Thetford, United Kingdom','country_id' => '74'),\narray('id' => '1285','name' => '(OKH) - RAF Cottesmore, Cottesmore, United Kingdom','country_id' => '74'),\narray('id' => '1286','name' => '(SQZ) - RAF Scampton, Scampton, United Kingdom','country_id' => '74'),\narray('id' => '1287','name' => '(HRT) - RAF Linton-On-Ouse, Linton-On-Ouse, United Kingdom','country_id' => '74'),\narray('id' => '1288','name' => '(WTN) - RAF Waddington, Waddington, United Kingdom','country_id' => '74'),\narray('id' => '1289','name' => '(KNF) - RAF Marham, Marham, United Kingdom','country_id' => '74'),\narray('id' => '1290','name' => '(MPN) - Mount Pleasant Airport, Mount Pleasant, Falkland Islands','country_id' => '69'),\narray('id' => '1291','name' => '(AMS) - Amsterdam Airport Schiphol, Amsterdam, Netherlands','country_id' => '162'),\narray('id' => '1292','name' => '(MST) - Maastricht Aachen Airport, Maastricht, Netherlands','country_id' => '162'),\narray('id' => '1293','name' => '(QAR) - Deelen Air Base, Arnhem, Netherlands','country_id' => '162'),\narray('id' => '1294','name' => '(EIN) - Eindhoven Airport, Eindhoven, Netherlands','country_id' => '162'),\narray('id' => '1295','name' => '(GRQ) - Eelde Airport, Groningen, Netherlands','country_id' => '162'),\narray('id' => '1296','name' => '(GLZ) - Gilze Rijen Air Base, Breda, Netherlands','country_id' => '162'),\narray('id' => '1297','name' => '(DHR) - De Kooy Airport, Den Helder, Netherlands','country_id' => '162'),\narray('id' => '1298','name' => '(LEY) - Lelystad Airport, Lelystad, Netherlands','country_id' => '162'),\narray('id' => '1299','name' => '(LWR) - Leeuwarden Air Base, Leeuwarden, Netherlands','country_id' => '162'),\narray('id' => '1300','name' => '(RTM) - Rotterdam Airport, Rotterdam, Netherlands','country_id' => '162'),\narray('id' => '1301','name' => '(ENS) - Twenthe Airport, Enschede, Netherlands','country_id' => '162'),\narray('id' => '1302','name' => '(UDE) - Volkel Air Base, Uden, Netherlands','country_id' => '162'),\narray('id' => '1303','name' => '(WOE) - Woensdrecht Air Base, Bergen Op Zoom, Netherlands','country_id' => '162'),\narray('id' => '1304','name' => '(BYT) - Bantry Aerodrome, Bantry, Ireland','country_id' => '98'),\narray('id' => '1305','name' => '(BLY) - Belmullet Aerodrome, Belmullet, Ireland','country_id' => '98'),\narray('id' => '1306','name' => '(NNR) - Connemara Regional Airport, Inverin, Ireland','country_id' => '98'),\narray('id' => '1307','name' => '(CLB) - Castlebar Airport, Castlebar, Ireland','country_id' => '98'),\narray('id' => '1308','name' => '(WEX) - Castlebridge Airport, Wexford, Ireland','country_id' => '98'),\narray('id' => '1309','name' => '(ORK) - Cork Airport, Cork, Ireland','country_id' => '98'),\narray('id' => '1310','name' => '(GWY) - Galway Airport, Galway, Ireland','country_id' => '98'),\narray('id' => '1311','name' => '(CFN) - Donegal Airport, Donegal, Ireland','country_id' => '98'),\narray('id' => '1312','name' => '(DUB) - Dublin Airport, Dublin, Ireland','country_id' => '98'),\narray('id' => '1313','name' => '(IOR) - Inishmore Aerodrome, Inis MAr, Ireland','country_id' => '98'),\narray('id' => '1314','name' => '(INQ) - Inisheer Aerodrome, Inis OArr, Ireland','country_id' => '98'),\narray('id' => '1315','name' => '(KKY) - Kilkenny Airport, Kilkenny, Ireland','country_id' => '98'),\narray('id' => '1316','name' => '(NOC) - Ireland West Knock Airport, Charleston, Ireland','country_id' => '98'),\narray('id' => '1317','name' => '(KIR) - Kerry Airport, Killarney, Ireland','country_id' => '98'),\narray('id' => '1318','name' => '(LTR) - Letterkenny Airport, Letterkenny, Ireland','country_id' => '98'),\narray('id' => '1319','name' => '(IIA) - Inishmaan Aerodrome, Inis MeAin, Ireland','country_id' => '98'),\narray('id' => '1320','name' => '(SNN) - Shannon Airport, Limerick, Ireland','country_id' => '98'),\narray('id' => '1321','name' => '(SXL) - Sligo Airport, Sligo, Ireland','country_id' => '98'),\narray('id' => '1322','name' => '(WAT) - Waterford Airport, Waterford, Ireland','country_id' => '98'),\narray('id' => '1323','name' => '(EJN) - Ejin Banner-Taolai Airport, Ejin Banner, China','country_id' => '45'),\narray('id' => '1324','name' => '(EJT) - Enejit Airport, Enejit Island, Marshall Islands','country_id' => '139'),\narray('id' => '1325','name' => '(AAR) - Aarhus Airport, Aarhus, Denmark','country_id' => '56'),\narray('id' => '1326','name' => '(BLL) - Billund Airport, Billund, Denmark','country_id' => '56'),\narray('id' => '1327','name' => '(CPH) - Copenhagen Kastrup Airport, Copenhagen, Denmark','country_id' => '56'),\narray('id' => '1328','name' => '(EBJ) - Esbjerg Airport, Esbjerg, Denmark','country_id' => '56'),\narray('id' => '1329','name' => '(KRP) - Karup Airport, Karup, Denmark','country_id' => '56'),\narray('id' => '1330','name' => '(BYR) - LAsA Airport, LAsA, Denmark','country_id' => '56'),\narray('id' => '1331','name' => '(MRW) - Lolland Falster Maribo Airport, Lolland Falster / Maribo, Denmark','country_id' => '56'),\narray('id' => '1332','name' => '(ODE) - Odense Airport, Odense, Denmark','country_id' => '56'),\narray('id' => '1333','name' => '(RKE) - Copenhagen Roskilde Airport, Copenhagen, Denmark','country_id' => '56'),\narray('id' => '1334','name' => '(RNN) - Bornholm Airport, RAnne, Denmark','country_id' => '56'),\narray('id' => '1335','name' => '(SGD) - SAnderborg Airport, SAnderborg, Denmark','country_id' => '56'),\narray('id' => '1336','name' => '(CNL) - Sindal Airport, Sindal, Denmark','country_id' => '56'),\narray('id' => '1337','name' => '(SKS) - Skrydstrup Air Base, Vojens, Denmark','country_id' => '56'),\narray('id' => '1338','name' => '(SQW) - Skive Airport, Skive, Denmark','country_id' => '56'),\narray('id' => '1339','name' => '(TED) - Thisted Airport, Thisted, Denmark','country_id' => '56'),\narray('id' => '1340','name' => '(FAE) - Vagar Airport, Vagar, Faroe Islands','country_id' => '71'),\narray('id' => '1341','name' => '(STA) - Stauning Airport, Skjern / RingkAbing, Denmark','country_id' => '56'),\narray('id' => '1342','name' => '(AAL) - Aalborg Airport, Aalborg, Denmark','country_id' => '56'),\narray('id' => '1343','name' => '(LUX) - Luxembourg-Findel International Airport, Luxembourg, Luxembourg','country_id' => '130'),\narray('id' => '1344','name' => '(AES) - Alesund Airport, Alesund, Norway','country_id' => '163'),\narray('id' => '1345','name' => '(ANX) - AndAya Airport, Andenes, Norway','country_id' => '163'),\narray('id' => '1346','name' => '(ALF) - Alta Airport, Alta, Norway','country_id' => '163'),\narray('id' => '1347','name' => '(FDE) - FArde Airport, FArde, Norway','country_id' => '163'),\narray('id' => '1348','name' => '(BNN) - BrAnnAysund Airport, BrAnnAy, Norway','country_id' => '163'),\narray('id' => '1349','name' => '(BOO) - BodA Airport, BodA, Norway','country_id' => '163'),\narray('id' => '1350','name' => '(BGO) - Bergen Airport Flesland, Bergen, Norway','country_id' => '163'),\narray('id' => '1351','name' => '(BJF) - BAtsfjord Airport, BAtsfjord, Norway','country_id' => '163'),\narray('id' => '1352','name' => '(BVG) - BerlevAg Airport, BerlevAg, Norway','country_id' => '163'),\narray('id' => '1353','name' => '(KRS) - Kristiansand Airport, Kjevik, Norway','country_id' => '163'),\narray('id' => '1354','name' => '(DLD) - Geilo Airport Dagali, Dagali, Norway','country_id' => '163'),\narray('id' => '1355','name' => '(BDU) - Bardufoss Airport, MAlselv, Norway','country_id' => '163'),\narray('id' => '1356','name' => '(EVE) - Harstad/Narvik Airport, Evenes, Evenes, Norway','country_id' => '163'),\narray('id' => '1357','name' => '(VDB) - Leirin Airport, , Norway','country_id' => '163'),\narray('id' => '1358','name' => '(FRO) - FlorA Airport, FlorA, Norway','country_id' => '163'),\narray('id' => '1359','name' => '(OSL) - Oslo Gardermoen Airport, Oslo, Norway','country_id' => '163'),\narray('id' => '1360','name' => '(HMR) - Stafsberg Airport, Hamar, Norway','country_id' => '163'),\narray('id' => '1361','name' => '(HAU) - Haugesund Airport, KarmAy, Norway','country_id' => '163'),\narray('id' => '1362','name' => '(HFT) - Hammerfest Airport, Hammerfest, Norway','country_id' => '163'),\narray('id' => '1363','name' => '(HAA) - Hasvik Airport, Hasvik, Norway','country_id' => '163'),\narray('id' => '1364','name' => '(HVG) - Valan Airport, HonningsvAg, Norway','country_id' => '163'),\narray('id' => '1365','name' => '(QKX) - Kautokeino Air Base, , Norway','country_id' => '163'),\narray('id' => '1366','name' => '(KSU) - Kristiansund Airport (Kvernberget), Kvernberget, Norway','country_id' => '163'),\narray('id' => '1367','name' => '(GLL) - Gol Airport, Klanten, Norway','country_id' => '163'),\narray('id' => '1368','name' => '(KKN) - Kirkenes Airport (HAybuktmoen), Kirkenes, Norway','country_id' => '163'),\narray('id' => '1369','name' => '(FAN) - Lista Airport, Farsund, Norway','country_id' => '163'),\narray('id' => '1370','name' => '(LKN) - Leknes Airport, Leknes, Norway','country_id' => '163'),\narray('id' => '1371','name' => '(MEH) - Mehamn Airport, Mehamn, Norway','country_id' => '163'),\narray('id' => '1372','name' => '(MOL) - Molde Airport, ArA, Norway','country_id' => '163'),\narray('id' => '1373','name' => '(MJF) - MosjAen Airport (KjArstad), , Norway','country_id' => '163'),\narray('id' => '1374','name' => '(LKL) - Banak Airport, Lakselv, Norway','country_id' => '163'),\narray('id' => '1375','name' => '(NVK) - Narvik Framnes Airport, Narvik, Norway','country_id' => '163'),\narray('id' => '1376','name' => '(OSY) - Namsos HAknesAra Airport, Namsos, Norway','country_id' => '163'),\narray('id' => '1377','name' => '(NTB) - Notodden Airport, Notodden, Norway','country_id' => '163'),\narray('id' => '1378','name' => '(OLA) - Arland Airport, Arland, Norway','country_id' => '163'),\narray('id' => '1379','name' => '(HOV) - Arsta-Volda Airport, Hovden, Arsta, Norway','country_id' => '163'),\narray('id' => '1380','name' => '(MQN) - Mo i Rana Airport, RAssvoll, Mo i Rana, Norway','country_id' => '163'),\narray('id' => '1381','name' => '(RVK) - RArvik Airport, Ryum, RArvik, Norway','country_id' => '163'),\narray('id' => '1382','name' => '(RRS) - RAros Airport, RAros, Norway','country_id' => '163'),\narray('id' => '1383','name' => '(RET) - RAst Airport, , Norway','country_id' => '163'),\narray('id' => '1384','name' => '(RYG) - Moss-Rygge Airport, Oslo, Norway','country_id' => '163'),\narray('id' => '1385','name' => '(LYR) - Svalbard Airport, Longyear, Longyearbyen, Norway','country_id' => '163'),\narray('id' => '1386','name' => '(SDN) - Sandane Airport (Anda), Sandane, Norway','country_id' => '163'),\narray('id' => '1387','name' => '(SOG) - Sogndal Airport, Sogndal, Norway','country_id' => '163'),\narray('id' => '1388','name' => '(SVJ) - SvolvAr Helle Airport, SvolvAr, Norway','country_id' => '163'),\narray('id' => '1389','name' => '(SKN) - Stokmarknes Skagen Airport, Hadsel, Norway','country_id' => '163'),\narray('id' => '1390','name' => '(SKE) - Skien Airport, Geiteryggen, Norway','country_id' => '163'),\narray('id' => '1391','name' => '(SRP) - Stord Airport, Leirvik, Norway','country_id' => '163'),\narray('id' => '1392','name' => '(SOJ) - SArkjosen Airport, SArkjosen, Norway','country_id' => '163'),\narray('id' => '1393','name' => '(VAW) - VardA Airport, Svartnes, VardA, Norway','country_id' => '163'),\narray('id' => '1394','name' => '(SSJ) - SandnessjAen Airport (Stokka), Alstahaug, Norway','country_id' => '163'),\narray('id' => '1395','name' => '(TOS) - TromsA Airport, TromsA, Norway','country_id' => '163'),\narray('id' => '1396','name' => '(TRF) - Sandefjord Airport, Torp, Torp, Norway','country_id' => '163'),\narray('id' => '1397','name' => '(TRD) - Trondheim Airport VArnes, Trondheim, Norway','country_id' => '163'),\narray('id' => '1398','name' => '(VDS) - VadsA Airport, VadsA, Norway','country_id' => '163'),\narray('id' => '1399','name' => '(SVG) - Stavanger Airport Sola, Stavanger, Norway','country_id' => '163'),\narray('id' => '1400','name' => '(QYY) - Bia\\'ystok-Krywlany Airport, Bia\\'ystok, Poland','country_id' => '175'),\narray('id' => '1401','name' => '(BXP) - Bia\\'a Podlaska Airport, Bia\\'a Podlaska, Poland','country_id' => '175'),\narray('id' => '1402','name' => '(BZG) - Bydgoszcz Ignacy Jan Paderewski Airport, Bydgoszcz, Poland','country_id' => '175'),\narray('id' => '1403','name' => '(CZW) - CzAstochowa-Rudniki, CzAstochowa, Poland','country_id' => '175'),\narray('id' => '1404','name' => '(GDN) - Gda\"sk Lech Wa\\'Asa Airport, Gda\"sk, Poland','country_id' => '175'),\narray('id' => '1405','name' => '(QLC) - Gliwice Glider Airport, , Poland','country_id' => '175'),\narray('id' => '1406','name' => '(KRK) - John Paul II International Airport KrakAw-Balice Airport, KrakAw, Poland','country_id' => '175'),\narray('id' => '1407','name' => '(OSZ) - Koszalin Zegrze Airport, , Poland','country_id' => '175'),\narray('id' => '1408','name' => '(KTW) - Katowice International Airport, Katowice, Poland','country_id' => '175'),\narray('id' => '1409','name' => '(QEO) - Bielsko-Bialo Kaniow Airfield, Czechowice-Dziedzice, Poland','country_id' => '175'),\narray('id' => '1410','name' => '(LCJ) - Ado W\\'adys\\'aw Reymont Airport, Ado, Poland','country_id' => '175'),\narray('id' => '1411','name' => '(QLU) - Lublin Radwiec Airport, , Poland','country_id' => '175'),\narray('id' => '1412','name' => '(WMI) - Modlin Airport, Warsaw, Poland','country_id' => '175'),\narray('id' => '1413','name' => '(QWS) - Nowy Targ Airport, Nowy Targ, Poland','country_id' => '175'),\narray('id' => '1414','name' => '(QYD) - Oksywie Military Air Base, Gdynia, Poland','country_id' => '175'),\narray('id' => '1415','name' => '(QPM) - Opole-Polska Nowa Wie\\' Airport, Opole, Poland','country_id' => '175'),\narray('id' => '1416','name' => '(POZ) - Pozna\"-awica Airport, Pozna\", Poland','country_id' => '175'),\narray('id' => '1417','name' => '(RDO) - Radom Airport, Radom, Poland','country_id' => '175'),\narray('id' => '1418','name' => '(RZE) - RzeszAw-Jasionka Airport, RzeszAw, Poland','country_id' => '175'),\narray('id' => '1419','name' => '(SZZ) - Szczecin-GoleniAw \"Solidarno\\'A\" Airport, Goleniow, Poland','country_id' => '175'),\narray('id' => '1420','name' => '(WAW) - Warsaw Chopin Airport, Warsaw, Poland','country_id' => '175'),\narray('id' => '1421','name' => '(WRO) - Copernicus Wroc\\'aw Airport, Wroc\\'aw, Poland','country_id' => '175'),\narray('id' => '1422','name' => '(IEG) - Zielona GAra-Babimost Airport, Babimost, Poland','country_id' => '175'),\narray('id' => '1423','name' => '(ERT) - Erdenet Airport, Erdenet, Mongolia','country_id' => '143'),\narray('id' => '1424','name' => '(RNB) - Ronneby Airport, , Sweden','country_id' => '193'),\narray('id' => '1425','name' => '(XWP) - HAssleholm Bokeberg Airport, HAssleholm, Sweden','country_id' => '193'),\narray('id' => '1426','name' => '(GOT) - Gothenburg-Landvetter Airport, Gothenburg, Sweden','country_id' => '193'),\narray('id' => '1427','name' => '(JKG) - JAnkAping Airport, JAnkAping, Sweden','country_id' => '193'),\narray('id' => '1428','name' => '(GSE) - Gothenburg City Airport, Gothenburg, Sweden','country_id' => '193'),\narray('id' => '1429','name' => '(KVB) - SkAvde Airport, SkAvde, Sweden','country_id' => '193'),\narray('id' => '1430','name' => '(THN) - TrollhAttan-VAnersborg Airport, TrollhAttan, Sweden','country_id' => '193'),\narray('id' => '1431','name' => '(KSK) - Karlskoga Airport, , Sweden','country_id' => '193'),\narray('id' => '1432','name' => '(MXX) - Mora Airport, , Sweden','country_id' => '193'),\narray('id' => '1433','name' => '(NYO) - Stockholm Skavsta Airport, Stockholm / NykAping, Sweden','country_id' => '193'),\narray('id' => '1434','name' => '(KID) - Kristianstad Airport, Kristianstad, Sweden','country_id' => '193'),\narray('id' => '1435','name' => '(OSK) - Oskarshamn Airport, , Sweden','country_id' => '193'),\narray('id' => '1436','name' => '(KLR) - Kalmar Airport, , Sweden','country_id' => '193'),\narray('id' => '1437','name' => '(MMX) - MalmA Sturup Airport, MalmA, Sweden','country_id' => '193'),\narray('id' => '1438','name' => '(HAD) - Halmstad Airport, Halmstad, Sweden','country_id' => '193'),\narray('id' => '1439','name' => '(VXO) - VAxjA Kronoberg Airport, VAxjA, Sweden','country_id' => '193'),\narray('id' => '1440','name' => '(EVG) - Sveg Airport, , Sweden','country_id' => '193'),\narray('id' => '1441','name' => '(GEV) - GAllivare Airport, GAllivare, Sweden','country_id' => '193'),\narray('id' => '1442','name' => '(KRF) - Kramfors SollefteA Airport, Kramfors / SollefteA, Sweden','country_id' => '193'),\narray('id' => '1443','name' => '(LYC) - Lycksele Airport, , Sweden','country_id' => '193'),\narray('id' => '1444','name' => '(SDL) - Sundsvall-HArnAsand Airport, Sundsvall/ HArnAsand, Sweden','country_id' => '193'),\narray('id' => '1445','name' => '(OER) - A-rnskAldsvik Airport, A-rnskAldsvik, Sweden','country_id' => '193'),\narray('id' => '1446','name' => '(KRN) - Kiruna Airport, Kiruna, Sweden','country_id' => '193'),\narray('id' => '1447','name' => '(SFT) - SkellefteA Airport, SkellefteA, Sweden','country_id' => '193'),\narray('id' => '1448','name' => '(UME) - UmeA Airport, UmeA, Sweden','country_id' => '193'),\narray('id' => '1449','name' => '(VHM) - Vilhelmina Airport, , Sweden','country_id' => '193'),\narray('id' => '1450','name' => '(AJR) - Arvidsjaur Airport, Arvidsjaur, Sweden','country_id' => '193'),\narray('id' => '1451','name' => '(SOO) - SAderhamn Airport, SAderhamn, Sweden','country_id' => '193'),\narray('id' => '1452','name' => '(OSD) - Are A-stersund Airport, A-stersund, Sweden','country_id' => '193'),\narray('id' => '1453','name' => '(ORB) - A-rebro Airport, A-rebro, Sweden','country_id' => '193'),\narray('id' => '1454','name' => '(HFS) - Hagfors Airport, , Sweden','country_id' => '193'),\narray('id' => '1455','name' => '(KSD) - Karlstad Airport, Karlstad, Sweden','country_id' => '193'),\narray('id' => '1456','name' => '(VST) - Stockholm VAsterAs Airport, Stockholm / VAsterAs, Sweden','country_id' => '193'),\narray('id' => '1457','name' => '(LLA) - LuleA Airport, LuleA, Sweden','country_id' => '193'),\narray('id' => '1458','name' => '(ARN) - Stockholm-Arlanda Airport, Stockholm, Sweden','country_id' => '193'),\narray('id' => '1459','name' => '(BMA) - Stockholm-Bromma Airport, Stockholm, Sweden','country_id' => '193'),\narray('id' => '1460','name' => '(BLE) - Borlange Airport, , Sweden','country_id' => '193'),\narray('id' => '1461','name' => '(HLF) - Hultsfred Airport, , Sweden','country_id' => '193'),\narray('id' => '1462','name' => '(GVX) - GAvle Sandviken Airport, GAvle / Sandviken, Sweden','country_id' => '193'),\narray('id' => '1463','name' => '(LPI) - LinkAping City Airport, LinkAping, Sweden','country_id' => '193'),\narray('id' => '1464','name' => '(NRK) - NorrkAping Airport, NorrkAping, Sweden','country_id' => '193'),\narray('id' => '1465','name' => '(TYF) - Torsby Airport, , Sweden','country_id' => '193'),\narray('id' => '1466','name' => '(EKT) - Eskilstuna Airport, Eskilstuna, Sweden','country_id' => '193'),\narray('id' => '1467','name' => '(VBY) - Visby Airport, Visby, Sweden','country_id' => '193'),\narray('id' => '1468','name' => '(VVK) - VAstervik Airport, VAstervik, Sweden','country_id' => '193'),\narray('id' => '1469','name' => '(AGH) - A\"ngelholm-Helsingborg Airport, A\"ngelholm, Sweden','country_id' => '193'),\narray('id' => '1470','name' => '(SQO) - Storuman Airport, , Sweden','country_id' => '193'),\narray('id' => '1471','name' => '(IDB) - Idre Airport, Idre, Sweden','country_id' => '193'),\narray('id' => '1472','name' => '(PJA) - Pajala Airport, , Sweden','country_id' => '193'),\narray('id' => '1473','name' => '(HMV) - Hemavan Airport, , Sweden','country_id' => '193'),\narray('id' => '1474','name' => '(GLC) - Geladi Airport, Geladi, Ethiopia','country_id' => '66'),\narray('id' => '1475','name' => '(SHC) - Shire Inda Selassie Airport, Shire Indasilase, Ethiopia','country_id' => '66'),\narray('id' => '1476','name' => '(SPM) - Spangdahlem Air Base, Trier, Germany','country_id' => '54'),\narray('id' => '1477','name' => '(RMS) - Ramstein Air Base, Ramstein, Germany','country_id' => '54'),\narray('id' => '1478','name' => '(ZCN) - Celle Airport, , Germany','country_id' => '54'),\narray('id' => '1479','name' => '(ZPQ) - Rheine Bentlage Airport, , Germany','country_id' => '54'),\narray('id' => '1480','name' => '(FRZ) - Fritzlar Airport, Fritzlar, Germany','country_id' => '54'),\narray('id' => '1481','name' => '(ZNF) - Hanau Army Air Field, , Germany','country_id' => '54'),\narray('id' => '1482','name' => '(FCN) - Nordholz Naval Airbase, Cuxhaven, Germany','country_id' => '54'),\narray('id' => '1483','name' => '(GKE) - Geilenkirchen Airport, , Germany','country_id' => '54'),\narray('id' => '1484','name' => '(RLG) - Rostock-Laage Airport, Rostock, Germany','country_id' => '54'),\narray('id' => '1485','name' => '(QOE) - NArvenich Air Base, , Germany','country_id' => '54'),\narray('id' => '1486','name' => '(WBG) - Schleswig Airport, , Germany','country_id' => '54'),\narray('id' => '1487','name' => '(WIE) - Wiesbaden Army Airfield, Wiesbaden, Germany','country_id' => '54'),\narray('id' => '1488','name' => '(FEL) - FArstenfeldbruck Airport, FArstenfeldbruck, Germany','country_id' => '54'),\narray('id' => '1489','name' => '(IGS) - Ingolstadt Manching Airport, Manching, Germany','country_id' => '54'),\narray('id' => '1490','name' => '(GUT) - GAtersloh Air Base, GAtersloh, Germany','country_id' => '54'),\narray('id' => '1491','name' => '(DGP) - Daugavpils Intrenational Airport, Daugavpils, Latvia','country_id' => '131'),\narray('id' => '1492','name' => '(LPX) - LiepAja International Airport, LiepAja, Latvia','country_id' => '131'),\narray('id' => '1493','name' => '(RIX) - Riga International Airport, Riga, Latvia','country_id' => '131'),\narray('id' => '1494','name' => '(VNT) - Ventspils International Airport, Ventspils, Latvia','country_id' => '131'),\narray('id' => '1495','name' => '(KUN) - Kaunas International Airport, Kaunas, Lithuania','country_id' => '129'),\narray('id' => '1496','name' => '(KLJ) - KlaipAda Airport, KlaipAda, Lithuania','country_id' => '129'),\narray('id' => '1497','name' => '(PLQ) - Palanga International Airport, Palanga, Lithuania','country_id' => '129'),\narray('id' => '1498','name' => '(PNV) - PanevAys Air Base, PanevAys, Lithuania','country_id' => '129'),\narray('id' => '1499','name' => '(SQQ) - iauliai International Airport, iauliai, Lithuania','country_id' => '129'),\narray('id' => '1500','name' => '(HLJ) - Barysiai Airport, Barysiai, Lithuania','country_id' => '129'),\narray('id' => '1501','name' => '(VNO) - Vilnius International Airport, Vilnius, Lithuania','country_id' => '129'),\narray('id' => '1502','name' => '(RGR) - Ranger Municipal Airport, Ranger, United States','country_id' => '228'),\narray('id' => '1503','name' => '(ALJ) - Alexander Bay Airport, Alexander Bay, South Africa','country_id' => '243'),\narray('id' => '1504','name' => '(AGZ) - Aggeneys Airport, Aggeneys, South Africa','country_id' => '243'),\narray('id' => '1505','name' => '(ADY) - Alldays Airport, Alldays, South Africa','country_id' => '243'),\narray('id' => '1506','name' => '(BIY) - Bisho Airport, Bisho, South Africa','country_id' => '243'),\narray('id' => '1507','name' => '(BFN) - Bram Fischer International Airport, Bloemfontain, South Africa','country_id' => '243'),\narray('id' => '1508','name' => '(UTE) - Bultfontein Airport, Bultfontein, South Africa','country_id' => '243'),\narray('id' => '1509','name' => '(CDO) - Cradock Airport, Cradock, South Africa','country_id' => '243'),\narray('id' => '1510','name' => '(CPT) - Cape Town International Airport, Cape Town, South Africa','country_id' => '243'),\narray('id' => '1511','name' => '(DUK) - Mubatuba Airport, Mubatuba, South Africa','country_id' => '243'),\narray('id' => '1512','name' => '(PZL) - Zulu Inyala Airport, Phinda, South Africa','country_id' => '243'),\narray('id' => '1513','name' => '(ELS) - Ben Schoeman Airport, East London, South Africa','country_id' => '243'),\narray('id' => '1514','name' => '(EMG) - Empangeni Airport, Empangeni, South Africa','country_id' => '243'),\narray('id' => '1515','name' => '(ELL) - Ellisras Matimba Airport, Ellisras, South Africa','country_id' => '243'),\narray('id' => '1516','name' => '(FCB) - Ficksburg Sentraoes Airport, Ficksburg, South Africa','country_id' => '243'),\narray('id' => '1517','name' => '(GCJ) - Grand Central Airport, Midrand, South Africa','country_id' => '243'),\narray('id' => '1518','name' => '(GRJ) - George Airport, George, South Africa','country_id' => '243'),\narray('id' => '1519','name' => '(GIY) - Giyani Airport, Giyani, South Africa','country_id' => '243'),\narray('id' => '1520','name' => '(QRA) - Rand Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1521','name' => '(HLW) - Hluhluwe Airport, Hluhluwe, South Africa','country_id' => '243'),\narray('id' => '1522','name' => '(HRS) - Harrismith Airport, Harrismith, South Africa','country_id' => '243'),\narray('id' => '1523','name' => '(HDS) - Hoedspruit Air Force Base Airport, Hoedspruit, South Africa','country_id' => '243'),\narray('id' => '1524','name' => '(JNB) - OR Tambo International Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1525','name' => '(KXE) - P C Pelser Airport, Klerksdorp, South Africa','country_id' => '243'),\narray('id' => '1526','name' => '(KIM) - Kimberley Airport, Kimberley, South Africa','country_id' => '243'),\narray('id' => '1527','name' => '(MQP) - Kruger Mpumalanga International Airport, Mpumalanga, South Africa','country_id' => '243'),\narray('id' => '1528','name' => '(KOF) - Komatipoort Airport, Komatipoort, South Africa','country_id' => '243'),\narray('id' => '1529','name' => '(KMH) - Johan Pienaar Airport, Kuruman, South Africa','country_id' => '243'),\narray('id' => '1530','name' => '(KLZ) - Kleinsee Airport, Kleinsee, South Africa','country_id' => '243'),\narray('id' => '1531','name' => '(HLA) - Lanseria Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1532','name' => '(LMR) - Lime Acres Finsch Mine Airport, Lime Acres, South Africa','country_id' => '243'),\narray('id' => '1533','name' => '(LDZ) - Londolozi Airport, Londolozi, South Africa','country_id' => '243'),\narray('id' => '1534','name' => '(DUR) - King Shaka International Airport, Durban, South Africa','country_id' => '243'),\narray('id' => '1535','name' => '(LUJ) - Lusikisiki Airport, Lusikisiki, South Africa','country_id' => '243'),\narray('id' => '1536','name' => '(LCD) - Louis Trichardt Airport, Louis Trichardt, South Africa','country_id' => '243'),\narray('id' => '1537','name' => '(SDB) - Langebaanweg Airport, Langebaanweg, South Africa','country_id' => '243'),\narray('id' => '1538','name' => '(LAY) - Ladysmith Airport, Ladysmith, South Africa','country_id' => '243'),\narray('id' => '1539','name' => '(AAM) - Malamala Airport, Malamala, South Africa','country_id' => '243'),\narray('id' => '1540','name' => '(MGH) - Margate Airport, Margate, South Africa','country_id' => '243'),\narray('id' => '1541','name' => '(MEZ) - Musina(Messina) Airport, Musina, South Africa','country_id' => '243'),\narray('id' => '1542','name' => '(MBD) - Mmabatho International Airport, Mafeking, South Africa','country_id' => '243'),\narray('id' => '1543','name' => '(LLE) - Riverside Airport, Malelane, South Africa','country_id' => '243'),\narray('id' => '1544','name' => '(MZY) - Mossel Bay Airport, Mossel Bay, South Africa','country_id' => '243'),\narray('id' => '1545','name' => '(MZQ) - Mkuze Airport, Mkuze, South Africa','country_id' => '243'),\narray('id' => '1546','name' => '(NCS) - Newcastle Airport, Newcastle, South Africa','country_id' => '243'),\narray('id' => '1547','name' => '(NGL) - Ngala Airport, Ngala, South Africa','country_id' => '243'),\narray('id' => '1548','name' => '(NLP) - Nelspruit Airport, Nelspruit, South Africa','country_id' => '243'),\narray('id' => '1549','name' => '(OVG) - Overberg Airport, Overberg, South Africa','country_id' => '243'),\narray('id' => '1550','name' => '(OUH) - Oudtshoorn Airport, Oudtshoorn, South Africa','country_id' => '243'),\narray('id' => '1551','name' => '(AFD) - Port Alfred Airport, Port Alfred, South Africa','country_id' => '243'),\narray('id' => '1552','name' => '(PLZ) - Port Elizabeth Airport, Port Elizabeth, South Africa','country_id' => '243'),\narray('id' => '1553','name' => '(PBZ) - Plettenberg Bay Airport, Plettenberg Bay, South Africa','country_id' => '243'),\narray('id' => '1554','name' => '(PHW) - Hendrik Van Eck Airport, Phalaborwa, South Africa','country_id' => '243'),\narray('id' => '1555','name' => '(JOH) - Port St Johns Airport, Port St Johns, South Africa','country_id' => '243'),\narray('id' => '1556','name' => '(PRK) - Prieska Airport, Prieska, South Africa','country_id' => '243'),\narray('id' => '1557','name' => '(PZB) - Pietermaritzburg Airport, Pietermaritzburg, South Africa','country_id' => '243'),\narray('id' => '1558','name' => '(NTY) - Pilanesberg International Airport, Pilanesberg, South Africa','country_id' => '243'),\narray('id' => '1559','name' => '(PTG) - Polokwane International Airport, Polokwane, South Africa','country_id' => '243'),\narray('id' => '1560','name' => '(PCF) - Potchefstroom Airport, Potchefstroom, South Africa','country_id' => '243'),\narray('id' => '1561','name' => '(UTW) - Queenstown Airport, Queenstown, South Africa','country_id' => '243'),\narray('id' => '1562','name' => '(RCB) - Richards Bay Airport, Richards Bay, South Africa','country_id' => '243'),\narray('id' => '1563','name' => '(RVO) - Reivilo Airport, Reivilo, South Africa','country_id' => '243'),\narray('id' => '1564','name' => '(ROD) - Robertson Airport, Robertson, South Africa','country_id' => '243'),\narray('id' => '1565','name' => '(SBU) - Springbok Airport, Springbok, South Africa','country_id' => '243'),\narray('id' => '1566','name' => '(ZEC) - Secunda Airport, Secunda, South Africa','country_id' => '243'),\narray('id' => '1567','name' => '(GSS) - Sabi Sabi Airport, Belfast, South Africa','country_id' => '243'),\narray('id' => '1568','name' => '(SIS) - Sishen Airport, Sishen, South Africa','country_id' => '243'),\narray('id' => '1569','name' => '(SZK) - Skukuza Airport, Skukuza, South Africa','country_id' => '243'),\narray('id' => '1570','name' => '(THY) - Thohoyandou Airport, Thohoyandou, South Africa','country_id' => '243'),\narray('id' => '1571','name' => '(TCU) - Thaba Nchu Tar Airport, Homeward, South Africa','country_id' => '243'),\narray('id' => '1572','name' => '(LTA) - Tzaneen Airport, Tzaneen, South Africa','country_id' => '243'),\narray('id' => '1573','name' => '(ULD) - Prince Mangosuthu Buthelezi Airport, Ulundi, South Africa','country_id' => '243'),\narray('id' => '1574','name' => '(UTN) - Pierre Van Ryneveld Airport, Upington, South Africa','country_id' => '243'),\narray('id' => '1575','name' => '(UTT) - K. D. Matanzima Airport, Mthatha, South Africa','country_id' => '243'),\narray('id' => '1576','name' => '(VRU) - Vryburg Airport, Vyrburg, South Africa','country_id' => '243'),\narray('id' => '1577','name' => '(VIR) - Virginia Airport, Durban, South Africa','country_id' => '243'),\narray('id' => '1578','name' => '(VRE) - Vredendal Airport, Vredendal, South Africa','country_id' => '243'),\narray('id' => '1579','name' => '(VYD) - Vryheid Airport, Vryheid, South Africa','country_id' => '243'),\narray('id' => '1580','name' => '(PRY) - Wonderboom Airport, Pretoria, South Africa','country_id' => '243'),\narray('id' => '1581','name' => '(WKF) - Waterkloof Air Force Base, Pretoria, South Africa','country_id' => '243'),\narray('id' => '1582','name' => '(FRW) - Francistown Airport, Francistown, Botswana','country_id' => '32'),\narray('id' => '1583','name' => '(GNZ) - Ghanzi Airport, Ghanzi, Botswana','country_id' => '32'),\narray('id' => '1584','name' => '(JWA) - Jwaneng Airport, , Botswana','country_id' => '32'),\narray('id' => '1585','name' => '(BBK) - Kasane Airport, Kasane, Botswana','country_id' => '32'),\narray('id' => '1586','name' => '(KHW) - Khwai River Lodge Airport, Khwai River Lodge, Botswana','country_id' => '32'),\narray('id' => '1587','name' => '(LOQ) - Lobatse Airport, Lobatse, Botswana','country_id' => '32'),\narray('id' => '1588','name' => '(MUB) - Maun Airport, Maun, Botswana','country_id' => '32'),\narray('id' => '1589','name' => '(ORP) - Orapa Airport, , Botswana','country_id' => '32'),\narray('id' => '1590','name' => '(QPH) - Palapye Airport, Palapye, Botswana','country_id' => '32'),\narray('id' => '1591','name' => '(GBE) - Sir Seretse Khama International Airport, Gaborone, Botswana','country_id' => '32'),\narray('id' => '1592','name' => '(SXN) - Sua Pan Airport, Sowa, Botswana','country_id' => '32'),\narray('id' => '1593','name' => '(PKW) - Selebi Phikwe Airport, , Botswana','country_id' => '32'),\narray('id' => '1594','name' => '(SVT) - Savuti Airport, Savuti, Botswana','country_id' => '32'),\narray('id' => '1595','name' => '(SWX) - Shakawe Airport, Shakawe, Botswana','country_id' => '32'),\narray('id' => '1596','name' => '(TLD) - Limpopo Valley Airport, Tuli Lodge, Botswana','country_id' => '32'),\narray('id' => '1597','name' => '(TBY) - Tshabong Airport, Tshabong, Botswana','country_id' => '32'),\narray('id' => '1598','name' => '(BZV) - Maya-Maya Airport, Brazzaville, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1599','name' => '(DJM) - Djambala Airport, Djambala, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1600','name' => '(KNJ) - Kindamba Airport, Kindamba, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1601','name' => '(LCO) - Lague Airport, Lague, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1602','name' => '(MUY) - Mouyondzi Airport, Mouyondzi, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1603','name' => '(SIB) - Sibiti Airport, Sibiti, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1604','name' => '(NKY) - Yokangassi Airport, Nkayi, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1605','name' => '(ANJ) - Zanaga Airport, Zanaga, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1606','name' => '(MSX) - Mossendjo Airport, Mossendjo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1607','name' => '(BOE) - Boundji Airport, Boundji, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1608','name' => '(EWO) - Ewo Airport, Ewo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1609','name' => '(GMM) - Gamboma Airport, Gamboma, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1610','name' => '(ION) - Impfondo Airport, Impfondo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1611','name' => '(KEE) - Kelle Airport, Kelle, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1612','name' => '(MKJ) - Makoua Airport, Makoua, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1613','name' => '(FTX) - Owando Airport, Owando, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1614','name' => '(SOE) - Souanke Airport, Souanke, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1615','name' => '(BTB) - Betou Airport, Betou, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1616','name' => '(OUE) - Ouesso Airport, , Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1617','name' => '(KMK) - Makabana Airport, Makabana, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1618','name' => '(DIS) - Ngot Nzoungou Airport, Dolisie, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1619','name' => '(PNR) - Pointe Noire Airport, Pointe Noire, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1620','name' => '(MTS) - Matsapha Airport, Manzini, Swaziland','country_id' => '208'),\narray('id' => '1621','name' => '(FEA) - Fetlar Airport, Fetlar Island, United Kingdom','country_id' => '74'),\narray('id' => '1622','name' => '(CRF) - Carnot Airport, Carnot, Central African Republic','country_id' => '38'),\narray('id' => '1623','name' => '(BGF) - Bangui M\\'Poko International Airport, Bangui, Central African Republic','country_id' => '38'),\narray('id' => '1624','name' => '(BGU) - Bangassou Airport, Bangassou, Central African Republic','country_id' => '38'),\narray('id' => '1625','name' => '(IRO) - Birao Airport, Birao, Central African Republic','country_id' => '38'),\narray('id' => '1626','name' => '(BEM) - BossembAlA Airport, BossembAlA, Central African Republic','country_id' => '38'),\narray('id' => '1627','name' => '(BBY) - Bambari Airport, Bambari, Central African Republic','country_id' => '38'),\narray('id' => '1628','name' => '(NDL) - N\\'DAlA Airport, N\\'DAlA, Central African Republic','country_id' => '38'),\narray('id' => '1629','name' => '(BOP) - Bouar Airport, Bouar, Central African Republic','country_id' => '38'),\narray('id' => '1630','name' => '(BIV) - Bria Airport, Bria, Central African Republic','country_id' => '38'),\narray('id' => '1631','name' => '(BSN) - Bossangoa Airport, Bossangoa, Central African Republic','country_id' => '38'),\narray('id' => '1632','name' => '(BBT) - BerbArati Airport, BerbArati, Central African Republic','country_id' => '38'),\narray('id' => '1633','name' => '(ODA) - Ouadda Airport, Ouadda, Central African Republic','country_id' => '38'),\narray('id' => '1634','name' => '(AIG) - Yalinga Airport, Yalinga, Central African Republic','country_id' => '38'),\narray('id' => '1635','name' => '(IMO) - Zemio Airport, Zemio, Central African Republic','country_id' => '38'),\narray('id' => '1636','name' => '(MKI) - M\\'Boki Airport, Mboki, Central African Republic','country_id' => '38'),\narray('id' => '1637','name' => '(BTG) - Batangafo Airport, Batangafo, Central African Republic','country_id' => '38'),\narray('id' => '1638','name' => '(GDI) - Gordil Airport, Melle, Central African Republic','country_id' => '38'),\narray('id' => '1639','name' => '(BMF) - Bakouma Airport, Bakouma, Central African Republic','country_id' => '38'),\narray('id' => '1640','name' => '(ODJ) - Ouanda DjallA Airport, Ouanda DjallA, Central African Republic','country_id' => '38'),\narray('id' => '1641','name' => '(RFA) - RafaA Airport, RafaA, Central African Republic','country_id' => '38'),\narray('id' => '1642','name' => '(BCF) - Bouca Airport, Bouca, Central African Republic','country_id' => '38'),\narray('id' => '1643','name' => '(BOZ) - Bozoum Airport, Bozoum, Central African Republic','country_id' => '38'),\narray('id' => '1644','name' => '(NBN) - AnnobAn Airport, San Antonio de PalA, Equatorial Guinea','country_id' => '85'),\narray('id' => '1645','name' => '(BSG) - Bata Airport, , Equatorial Guinea','country_id' => '85'),\narray('id' => '1646','name' => '(GEM) - President Obiang Nguema International Airport, MengomeyAn, Equatorial Guinea','country_id' => '85'),\narray('id' => '1647','name' => '(SSG) - Malabo Airport, Malabo, Equatorial Guinea','country_id' => '85'),\narray('id' => '1648','name' => '(ASI) - RAF Ascension Island, Ascension Island, Saint Helena','country_id' => '195'),\narray('id' => '1649','name' => '(MRU) - Sir Seewoosagur Ramgoolam International Airport, Port Louis, Mauritius','country_id' => '150'),\narray('id' => '1650','name' => '(RRG) - Sir Charles Gaetan Duval Airport, Port Mathurin, Mauritius','country_id' => '150'),\narray('id' => '1651','name' => '(FIN) - Finschhafen Airport, Buki, Papua New Guinea','country_id' => '172'),\narray('id' => '1652','name' => '(NKW) - Diego Garcia Naval Support Facility, Diego Garcia, British Indian Ocean Territory','country_id' => '102'),\narray('id' => '1653','name' => '(NKS) - Nkongsamba Airport, Nkongsamba, Cameroon','country_id' => '44'),\narray('id' => '1654','name' => '(KBI) - Kribi Airport, Kribi, Cameroon','country_id' => '44'),\narray('id' => '1655','name' => '(TKC) - Tiko Airport, Tiko, Cameroon','country_id' => '44'),\narray('id' => '1656','name' => '(DLA) - Douala International Airport, Douala, Cameroon','country_id' => '44'),\narray('id' => '1657','name' => '(MMF) - Mamfe Airport, Mamfe, Cameroon','country_id' => '44'),\narray('id' => '1658','name' => '(BLC) - Bali Airport, Bali, Cameroon','country_id' => '44'),\narray('id' => '1659','name' => '(KLE) - KaAlA Airport, KaAlA, Cameroon','country_id' => '44'),\narray('id' => '1660','name' => '(OUR) - Batouri Airport, Batouri, Cameroon','country_id' => '44'),\narray('id' => '1661','name' => '(GXX) - Yagoua Airport, Yagoua, Cameroon','country_id' => '44'),\narray('id' => '1662','name' => '(MVR) - Salak Airport, Maroua, Cameroon','country_id' => '44'),\narray('id' => '1663','name' => '(FOM) - Foumban Nkounja Airport, Foumban, Cameroon','country_id' => '44'),\narray('id' => '1664','name' => '(NGE) - N\\'GaoundArA Airport, N\\'GaoundArA, Cameroon','country_id' => '44'),\narray('id' => '1665','name' => '(BTA) - Bertoua Airport, Bertoua, Cameroon','country_id' => '44'),\narray('id' => '1666','name' => '(GOU) - Garoua International Airport, Garoua, Cameroon','country_id' => '44'),\narray('id' => '1667','name' => '(DSC) - Dschang Airport, Dschang, Cameroon','country_id' => '44'),\narray('id' => '1668','name' => '(BFX) - Bafoussam Airport, Bafoussam, Cameroon','country_id' => '44'),\narray('id' => '1669','name' => '(BPC) - Bamenda Airport, Bamenda, Cameroon','country_id' => '44'),\narray('id' => '1670','name' => '(EBW) - Ebolowa Airport, Ebolowa, Cameroon','country_id' => '44'),\narray('id' => '1671','name' => '(YAO) - YaoundA Airport, YaoundA, Cameroon','country_id' => '44'),\narray('id' => '1672','name' => '(NSI) - YaoundA Nsimalen International Airport, YaoundA, Cameroon','country_id' => '44'),\narray('id' => '1673','name' => '(MMQ) - Mbala Airport, Mbala, Zambia','country_id' => '244'),\narray('id' => '1674','name' => '(CIP) - Chipata Airport, Chipata, Zambia','country_id' => '244'),\narray('id' => '1675','name' => '(JEK) - Jeki Airport, Lower Zambezi Natational Park, Zambia','country_id' => '244'),\narray('id' => '1676','name' => '(CGJ) - Kasompe Airport, Chingola, Zambia','country_id' => '244'),\narray('id' => '1677','name' => '(KLB) - Kalabo Airport, Kalabo, Zambia','country_id' => '244'),\narray('id' => '1678','name' => '(KMZ) - Kaoma Airport, Kaoma, Zambia','country_id' => '244'),\narray('id' => '1679','name' => '(KAA) - Kasama Airport, Kasama, Zambia','country_id' => '244'),\narray('id' => '1680','name' => '(ZKB) - Kasaba Bay Airport, Kasaba Bay, Zambia','country_id' => '244'),\narray('id' => '1681','name' => '(LVI) - Livingstone Airport, Livingstone, Zambia','country_id' => '244'),\narray('id' => '1682','name' => '(LXU) - Lukulu Airport, Lukulu, Zambia','country_id' => '244'),\narray('id' => '1683','name' => '(LUN) - Kenneth Kaunda International Airport Lusaka, Lusaka, Zambia','country_id' => '244'),\narray('id' => '1684','name' => '(MNS) - Mansa Airport, Mansa, Zambia','country_id' => '244'),\narray('id' => '1685','name' => '(MFU) - Mfuwe Airport, Mfuwe, Zambia','country_id' => '244'),\narray('id' => '1686','name' => '(MNR) - Mongu Airport, Mongu, Zambia','country_id' => '244'),\narray('id' => '1687','name' => '(ZGM) - Ngoma Airport, Ngoma, Zambia','country_id' => '244'),\narray('id' => '1688','name' => '(NLA) - Simon Mwansa Kapwepwe International Airport, Ndola, Zambia','country_id' => '244'),\narray('id' => '1689','name' => '(SXG) - Senanga Airport, Senanga, Zambia','country_id' => '244'),\narray('id' => '1690','name' => '(KIW) - Southdowns Airport, Kitwe, Zambia','country_id' => '244'),\narray('id' => '1691','name' => '(SJQ) - Sesheke Airport, Sesheke, Zambia','country_id' => '244'),\narray('id' => '1692','name' => '(SLI) - Solwesi Airport, Solwesi, Zambia','country_id' => '244'),\narray('id' => '1693','name' => '(FLT) - Flat Airport, Flat, United States','country_id' => '228'),\narray('id' => '1694','name' => '(BBZ) - Zambezi Airport, Zambezi, Zambia','country_id' => '244'),\narray('id' => '1695','name' => '(ULI) - Ulithi Airport, Falalop Island, Micronesia','country_id' => '70'),\narray('id' => '1696','name' => '(HAH) - Prince Said Ibrahim International Airport, Moroni, Comoros','country_id' => '115'),\narray('id' => '1697','name' => '(NWA) - MohAli Bandar Es Eslam Airport, , Comoros','country_id' => '115'),\narray('id' => '1698','name' => '(YVA) - Iconi Airport, Moroni, Comoros','country_id' => '115'),\narray('id' => '1699','name' => '(AJN) - Ouani Airport, Ouani, Comoros','country_id' => '115'),\narray('id' => '1700','name' => '(DZA) - Dzaoudzi Pamandzi International Airport, Dzaoudzi, Mayotte','country_id' => '242'),\narray('id' => '1701','name' => '(RUN) - Roland Garros Airport, St Denis, RAunion','country_id' => '184'),\narray('id' => '1702','name' => '(ZSE) - Pierrefonds Airport, St Pierre, RAunion','country_id' => '184'),\narray('id' => '1703','name' => '(WML) - Malaimbandy Airport, Malaimbandy, Madagascar','country_id' => '138'),\narray('id' => '1704','name' => '(ATJ) - Antsirabe Airport, Antsirabe, Madagascar','country_id' => '138'),\narray('id' => '1705','name' => '(WAQ) - Antsalova Airport, Antsalova, Madagascar','country_id' => '138'),\narray('id' => '1706','name' => '(VVB) - Mahanoro Airport, Mahanoro, Madagascar','country_id' => '138'),\narray('id' => '1707','name' => '(TNR) - Ivato Airport, Antananarivo, Madagascar','country_id' => '138'),\narray('id' => '1708','name' => '(JVA) - Ankavandra Airport, Ankavandra, Madagascar','country_id' => '138'),\narray('id' => '1709','name' => '(BMD) - Belo sur Tsiribihina Airport, Belo sur Tsiribihina, Madagascar','country_id' => '138'),\narray('id' => '1710','name' => '(ZVA) - Miandrivazo Airport, , Madagascar','country_id' => '138'),\narray('id' => '1711','name' => '(MXT) - Maintirano Airport, Maintirano, Madagascar','country_id' => '138'),\narray('id' => '1712','name' => '(ILK) - Atsinanana Airport, Ilaka, Madagascar','country_id' => '138'),\narray('id' => '1713','name' => '(TVA) - Morafenobe Airport, Morafenobe, Madagascar','country_id' => '138'),\narray('id' => '1714','name' => '(SMS) - Sainte Marie Airport, , Madagascar','country_id' => '138'),\narray('id' => '1715','name' => '(TMM) - Toamasina Airport, , Madagascar','country_id' => '138'),\narray('id' => '1716','name' => '(WTA) - Tambohorano Airport, Tambohorano, Madagascar','country_id' => '138'),\narray('id' => '1717','name' => '(MOQ) - Morondava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1718','name' => '(WTS) - Tsiroanomandidy Airport, Tsiroanomandidy, Madagascar','country_id' => '138'),\narray('id' => '1719','name' => '(VAT) - Vatomandry Airport, Vatomandry, Madagascar','country_id' => '138'),\narray('id' => '1720','name' => '(WAM) - Ambatondrazaka Airport, Ambatondrazaka, Madagascar','country_id' => '138'),\narray('id' => '1721','name' => '(DIE) - Arrachart Airport, , Madagascar','country_id' => '138'),\narray('id' => '1722','name' => '(WMR) - Mananara Nord Airport, Mananara Nord, Madagascar','country_id' => '138'),\narray('id' => '1723','name' => '(ZWA) - Andapa Airport, , Madagascar','country_id' => '138'),\narray('id' => '1724','name' => '(AMB) - Ambilobe Airport, , Madagascar','country_id' => '138'),\narray('id' => '1725','name' => '(WBD) - Avaratra Airport, Befandriana, Madagascar','country_id' => '138'),\narray('id' => '1726','name' => '(WPB) - Port BergA Airport, Port BergA, Madagascar','country_id' => '138'),\narray('id' => '1727','name' => '(ANM) - Antsirabato Airport, , Madagascar','country_id' => '138'),\narray('id' => '1728','name' => '(HVA) - Analalava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1729','name' => '(MJN) - Amborovy Airport, , Madagascar','country_id' => '138'),\narray('id' => '1730','name' => '(NOS) - Fascene Airport, Nosy Be, Madagascar','country_id' => '138'),\narray('id' => '1731','name' => '(DWB) - Soalala Airport, Soalala, Madagascar','country_id' => '138'),\narray('id' => '1732','name' => '(WMP) - Mampikony Airport, Mampikony, Madagascar','country_id' => '138'),\narray('id' => '1733','name' => '(BPY) - Besalampy Airport, , Madagascar','country_id' => '138'),\narray('id' => '1734','name' => '(WMN) - Maroantsetra Airport, , Madagascar','country_id' => '138'),\narray('id' => '1735','name' => '(SVB) - Sambava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1736','name' => '(TTS) - Tsaratanana Airport, Tsaratanana, Madagascar','country_id' => '138'),\narray('id' => '1737','name' => '(VOH) - Vohimarina Airport, , Madagascar','country_id' => '138'),\narray('id' => '1738','name' => '(WAI) - Ambalabe Airport, Antsohihy, Madagascar','country_id' => '138'),\narray('id' => '1739','name' => '(WMA) - Mandritsara Airport, Mandritsara, Madagascar','country_id' => '138'),\narray('id' => '1740','name' => '(IVA) - Ampampamena Airport, , Madagascar','country_id' => '138'),\narray('id' => '1741','name' => '(WBO) - Antsoa Airport, Beroroha, Madagascar','country_id' => '138'),\narray('id' => '1742','name' => '(WMD) - Mandabe Airport, Mandabe, Madagascar','country_id' => '138'),\narray('id' => '1743','name' => '(FTU) - TAlanaro Airport, TAlanaro, Madagascar','country_id' => '138'),\narray('id' => '1744','name' => '(WFI) - Fianarantsoa Airport, , Madagascar','country_id' => '138'),\narray('id' => '1745','name' => '(RVA) - Farafangana Airport, , Madagascar','country_id' => '138'),\narray('id' => '1746','name' => '(IHO) - Ihosy Airport, Ihosy, Madagascar','country_id' => '138'),\narray('id' => '1747','name' => '(MJA) - Manja Airport, Manja, Madagascar','country_id' => '138'),\narray('id' => '1748','name' => '(WVK) - Manakara Airport, , Madagascar','country_id' => '138'),\narray('id' => '1749','name' => '(OVA) - Bekily Airport, Bekily, Madagascar','country_id' => '138'),\narray('id' => '1750','name' => '(MNJ) - Mananjary Airport, , Madagascar','country_id' => '138'),\narray('id' => '1751','name' => '(TDV) - Samangoky Airport, Tanandava, Madagascar','country_id' => '138'),\narray('id' => '1752','name' => '(MXM) - Morombe Airport, , Madagascar','country_id' => '138'),\narray('id' => '1753','name' => '(TLE) - Toliara Airport, , Madagascar','country_id' => '138'),\narray('id' => '1754','name' => '(VND) - Vangaindrano Airport, Vangaindrano, Madagascar','country_id' => '138'),\narray('id' => '1755','name' => '(BKU) - Betioky Airport, Betioky, Madagascar','country_id' => '138'),\narray('id' => '1756','name' => '(AMP) - Ampanihy Airport, Ampanihy, Madagascar','country_id' => '138'),\narray('id' => '1757','name' => '(WAK) - Ankazoabo Airport, Ankazoabo, Madagascar','country_id' => '138'),\narray('id' => '1758','name' => '(AZZ) - Ambriz Airport, Ambriz, Angola','country_id' => '7'),\narray('id' => '1759','name' => '(SSY) - Mbanza Congo Airport, Mbanza Congo, Angola','country_id' => '7'),\narray('id' => '1760','name' => '(BUG) - Benguela Airport, Benguela, Angola','country_id' => '7'),\narray('id' => '1761','name' => '(GGC) - Lumbala Airport, Lumbala N\\'guimbo, Angola','country_id' => '7'),\narray('id' => '1762','name' => '(CAB) - Cabinda Airport, Cabinda, Angola','country_id' => '7'),\narray('id' => '1763','name' => '(CFF) - Cafunfo Airport, Cafunfo, Angola','country_id' => '7'),\narray('id' => '1764','name' => '(PGI) - Chitato Airport, Chitato, Angola','country_id' => '7'),\narray('id' => '1765','name' => '(CBT) - Catumbela Airport, Catumbela, Angola','country_id' => '7'),\narray('id' => '1766','name' => '(CTI) - Cuito Cuanavale Airport, Cuito Cuanavale, Angola','country_id' => '7'),\narray('id' => '1767','name' => '(CXM) - Camaxilo Airport, Camaxilo, Angola','country_id' => '7'),\narray('id' => '1768','name' => '(CAV) - Cazombo Airport, Cazombo, Angola','country_id' => '7'),\narray('id' => '1769','name' => '(DUE) - Dundo Airport, Chitato, Angola','country_id' => '7'),\narray('id' => '1770','name' => '(FNE) - Fane Airport, Fane Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '1771','name' => '(VPE) - Ngjiva Pereira Airport, Ngiva, Angola','country_id' => '7'),\narray('id' => '1772','name' => '(NOV) - Nova Lisboa Airport, Huambo, Angola','country_id' => '7'),\narray('id' => '1773','name' => '(SVP) - Kuito Airport, Kuito, Angola','country_id' => '7'),\narray('id' => '1774','name' => '(LBZ) - Lucapa Airport, Lucapa, Angola','country_id' => '7'),\narray('id' => '1775','name' => '(LAD) - Quatro de Fevereiro Airport, Luanda, Angola','country_id' => '7'),\narray('id' => '1776','name' => '(LZM) - Luzamba Airport, Luzamba, Angola','country_id' => '7'),\narray('id' => '1777','name' => '(MEG) - Malanje Airport, Malanje, Angola','country_id' => '7'),\narray('id' => '1778','name' => '(SPP) - Menongue Airport, Menongue, Angola','country_id' => '7'),\narray('id' => '1779','name' => '(MSZ) - Namibe Airport, Namibe, Angola','country_id' => '7'),\narray('id' => '1780','name' => '(GXG) - Negage Airport, Negage, Angola','country_id' => '7'),\narray('id' => '1781','name' => '(PBN) - Porto Amboim Airport, Port Amboim, Angola','country_id' => '7'),\narray('id' => '1782','name' => '(VHC) - Saurimo Airport, Saurimo, Angola','country_id' => '7'),\narray('id' => '1783','name' => '(SZA) - Soyo Airport, Soyo, Angola','country_id' => '7'),\narray('id' => '1784','name' => '(NDD) - Sumbe Airport, Sumbe, Angola','country_id' => '7'),\narray('id' => '1785','name' => '(UAL) - Luau Airport, Luau, Angola','country_id' => '7'),\narray('id' => '1786','name' => '(SDD) - Lubango Airport, Lubango, Angola','country_id' => '7'),\narray('id' => '1787','name' => '(LUO) - Luena Airport, Luena, Angola','country_id' => '7'),\narray('id' => '1788','name' => '(UGO) - Uige Airport, Uige, Angola','country_id' => '7'),\narray('id' => '1789','name' => '(CEO) - Waco Kungo Airport, Waco Kungo, Angola','country_id' => '7'),\narray('id' => '1790','name' => '(XGN) - Xangongo Airport, Xangongo, Angola','country_id' => '7'),\narray('id' => '1791','name' => '(ARZ) - N\\'zeto Airport, N\\'zeto, Angola','country_id' => '7'),\narray('id' => '1792','name' => '(NZA) - Nzagi Airport, Nzagi, Angola','country_id' => '7'),\narray('id' => '1793','name' => '(BGB) - Booue Airport, Booue, Gabon','country_id' => '73'),\narray('id' => '1794','name' => '(KDN) - Ndende Airport, Ndende, Gabon','country_id' => '73'),\narray('id' => '1795','name' => '(FOU) - Fougamou Airport, Fougamou, Gabon','country_id' => '73'),\narray('id' => '1796','name' => '(MBC) - M\\'Bigou Airport, M\\'Bigou, Gabon','country_id' => '73'),\narray('id' => '1797','name' => '(MGX) - Moabi Airport, Moabi, Gabon','country_id' => '73'),\narray('id' => '1798','name' => '(KDJ) - Ville Airport, N\\'DjolA, Gabon','country_id' => '73'),\narray('id' => '1799','name' => '(KOU) - Koulamoutou Mabimbi Airport, Koulamoutou, Gabon','country_id' => '73'),\narray('id' => '1800','name' => '(MJL) - Mouilla Ville Airport, Mouila, Gabon','country_id' => '73'),\narray('id' => '1801','name' => '(OYE) - Oyem Airport, Oyem, Gabon','country_id' => '73'),\narray('id' => '1802','name' => '(OKN) - Okondja Airport, Okondja, Gabon','country_id' => '73'),\narray('id' => '1803','name' => '(LBQ) - Lambarene Airport, Lambarene, Gabon','country_id' => '73'),\narray('id' => '1804','name' => '(MVX) - Minvoul Airport, Minvoul, Gabon','country_id' => '73'),\narray('id' => '1805','name' => '(BMM) - Bitam Airport, Bitam, Gabon','country_id' => '73'),\narray('id' => '1806','name' => '(MFF) - Moanda Airport, Moanda, Gabon','country_id' => '73'),\narray('id' => '1807','name' => '(MKB) - Mekambo Airport, Mekambo, Gabon','country_id' => '73'),\narray('id' => '1808','name' => '(POG) - Port Gentil Airport, Port Gentil, Gabon','country_id' => '73'),\narray('id' => '1809','name' => '(OMB) - Omboue Hopital Airport, Omboue, Gabon','country_id' => '73'),\narray('id' => '1810','name' => '(IGE) - Tchongorove Airport, Iguela, Gabon','country_id' => '73'),\narray('id' => '1811','name' => '(MKU) - Makokou Airport, Makokou, Gabon','country_id' => '73'),\narray('id' => '1812','name' => '(LBV) - Libreville Leon M\\'ba International Airport, Libreville, Gabon','country_id' => '73'),\narray('id' => '1813','name' => '(MZC) - Mitzic Airport, Mitzic, Gabon','country_id' => '73'),\narray('id' => '1814','name' => '(MVB) - M\\'Vengue El Hadj Omar Bongo Ondimba International Airport, Franceville, Gabon','country_id' => '73'),\narray('id' => '1815','name' => '(LTL) - Lastourville Airport, Lastourville, Gabon','country_id' => '73'),\narray('id' => '1816','name' => '(ZKM) - Sette Cama Airport, Sette Cama, Gabon','country_id' => '73'),\narray('id' => '1817','name' => '(TCH) - Tchibanga Airport, Tchibanga, Gabon','country_id' => '73'),\narray('id' => '1818','name' => '(MYB) - Mayumba Airport, Mayumba, Gabon','country_id' => '73'),\narray('id' => '1819','name' => '(FOY) - Foya Airport, Foya, Liberia','country_id' => '127'),\narray('id' => '1820','name' => '(PCP) - Principe Airport, , SAo TomA and Principe','country_id' => '204'),\narray('id' => '1821','name' => '(TMS) - SAo TomA International Airport, SAo TomA, SAo TomA and Principe','country_id' => '204'),\narray('id' => '1822','name' => '(ANO) - Angoche Airport, Angoche, Mozambique','country_id' => '155'),\narray('id' => '1823','name' => '(BEW) - Beira Airport, Beira, Mozambique','country_id' => '155'),\narray('id' => '1824','name' => '(FXO) - Cuamba Airport, Cuamba, Mozambique','country_id' => '155'),\narray('id' => '1825','name' => '(VPY) - Chimoio Airport, Chimoio, Mozambique','country_id' => '155'),\narray('id' => '1826','name' => '(IHC) - Inhaca Airport, Inhaca, Mozambique','country_id' => '155'),\narray('id' => '1827','name' => '(INH) - Inhambane Airport, Inhambabe, Mozambique','country_id' => '155'),\narray('id' => '1828','name' => '(VXC) - Lichinga Airport, Lichinga, Mozambique','country_id' => '155'),\narray('id' => '1829','name' => '(LFB) - Lumbo Airport, Lumbo, Mozambique','country_id' => '155'),\narray('id' => '1830','name' => '(MPM) - Maputo Airport, Maputo, Mozambique','country_id' => '155'),\narray('id' => '1831','name' => '(MUD) - Mueda Airport, Mueda, Mozambique','country_id' => '155'),\narray('id' => '1832','name' => '(MZB) - MocAmboa da Praia Airport, MocAmboa da Praia, Mozambique','country_id' => '155'),\narray('id' => '1833','name' => '(MNC) - Nacala Airport, Nacala, Mozambique','country_id' => '155'),\narray('id' => '1834','name' => '(APL) - Nampula Airport, Nampula, Mozambique','country_id' => '155'),\narray('id' => '1835','name' => '(POL) - Pemba Airport, Pemba / Porto Amelia, Mozambique','country_id' => '155'),\narray('id' => '1836','name' => '(PDD) - Ponta do Ouro Airport, Ponta do Ouro, Mozambique','country_id' => '155'),\narray('id' => '1837','name' => '(UEL) - Quelimane Airport, Quelimane, Mozambique','country_id' => '155'),\narray('id' => '1838','name' => '(TET) - Chingozi Airport, Tete, Mozambique','country_id' => '155'),\narray('id' => '1839','name' => '(VNX) - Vilankulo Airport, Vilanculo, Mozambique','country_id' => '155'),\narray('id' => '1840','name' => '(VJB) - Xai-Xai Airport, Xai-Xai, Mozambique','country_id' => '155'),\narray('id' => '1841','name' => '(BVE) - Brive Souillac Airport, , France','country_id' => '72'),\narray('id' => '1842','name' => '(DES) - Desroches Airport, Desroches Island, Seychelles','country_id' => '191'),\narray('id' => '1843','name' => '(SEZ) - Seychelles International Airport, Mahe Island, Seychelles','country_id' => '191'),\narray('id' => '1844','name' => '(FSL) - Fossil Downs Airport, Fossil Downs Station, Australia','country_id' => '12'),\narray('id' => '1845','name' => '(PRI) - Praslin Airport, Praslin Island, Seychelles','country_id' => '191'),\narray('id' => '1846','name' => '(BDI) - Bird Island Airport, Bird Island, Seychelles','country_id' => '191'),\narray('id' => '1847','name' => '(DEI) - Denis Island Airport, Denis Island, Seychelles','country_id' => '191'),\narray('id' => '1848','name' => '(FRK) - FrAgate Island Airport, FrAgate Island, Seychelles','country_id' => '191'),\narray('id' => '1849','name' => '(SRH) - Sarh Airport, Sarh, Chad','country_id' => '210'),\narray('id' => '1850','name' => '(OGR) - Bongor Airport, Bongor, Chad','country_id' => '210'),\narray('id' => '1851','name' => '(AEH) - Abeche Airport, , Chad','country_id' => '210'),\narray('id' => '1852','name' => '(MQQ) - Moundou Airport, , Chad','country_id' => '210'),\narray('id' => '1853','name' => '(LTC) - Lai Airport, Lai, Chad','country_id' => '210'),\narray('id' => '1854','name' => '(ATV) - Ati Airport, Ati, Chad','country_id' => '210'),\narray('id' => '1855','name' => '(NDJ) - N\\'Djamena International Airport, N\\'Djamena, Chad','country_id' => '210'),\narray('id' => '1856','name' => '(BKR) - Bokoro Airport, Bokoro, Chad','country_id' => '210'),\narray('id' => '1857','name' => '(OTC) - Bol Airport, Bol, Chad','country_id' => '210'),\narray('id' => '1858','name' => '(MVO) - Mongo Airport, Mongo, Chad','country_id' => '210'),\narray('id' => '1859','name' => '(AMC) - Am Timan Airport, Am Timan, Chad','country_id' => '210'),\narray('id' => '1860','name' => '(PLF) - Pala Airport, Pala, Chad','country_id' => '210'),\narray('id' => '1861','name' => '(OUT) - Bousso Airport, Bousso, Chad','country_id' => '210'),\narray('id' => '1862','name' => '(AMO) - Mao Airport, Mao, Chad','country_id' => '210'),\narray('id' => '1863','name' => '(FYT) - Faya Largeau Airport, , Chad','country_id' => '210'),\narray('id' => '1864','name' => '(FUB) - Fulleborn Airport, Fulleborn, Papua New Guinea','country_id' => '172'),\narray('id' => '1865','name' => '(BZH) - Bumi Airport, Bumi, Zimbabwe','country_id' => '245'),\narray('id' => '1866','name' => '(BUQ) - Joshua Mqabuko Nkomo International Airport, Bulawayo, Zimbabwe','country_id' => '245'),\narray('id' => '1867','name' => '(CHJ) - Chipinge Airport, Chipinge, Zimbabwe','country_id' => '245'),\narray('id' => '1868','name' => '(BFO) - Buffalo Range Airport, Chiredzi, Zimbabwe','country_id' => '245'),\narray('id' => '1869','name' => '(VFA) - Victoria Falls International Airport, Victoria Falls, Zimbabwe','country_id' => '245'),\narray('id' => '1870','name' => '(HRE) - Harare International Airport, Harare, Zimbabwe','country_id' => '245'),\narray('id' => '1871','name' => '(KAB) - Kariba International Airport, Kariba, Zimbabwe','country_id' => '245'),\narray('id' => '1872','name' => '(MJW) - Mahenye Airport, Gonarezhou National Park, Zimbabwe','country_id' => '245'),\narray('id' => '1873','name' => '(UTA) - Mutare Airport, Mutare, Zimbabwe','country_id' => '245'),\narray('id' => '1874','name' => '(MVZ) - Masvingo International Airport, Masvingo, Zimbabwe','country_id' => '245'),\narray('id' => '1875','name' => '(GWE) - Thornhill Air Base, Gweru, Zimbabwe','country_id' => '245'),\narray('id' => '1876','name' => '(HWN) - Hwange National Park Airport, Hwange, Zimbabwe','country_id' => '245'),\narray('id' => '1877','name' => '(WKI) - Hwange Airport, Hwange, Zimbabwe','country_id' => '245'),\narray('id' => '1878','name' => '(CEH) - Chelinda Malawi Airport, , Malawi','country_id' => '152'),\narray('id' => '1879','name' => '(BLZ) - Chileka International Airport, Blantyre, Malawi','country_id' => '152'),\narray('id' => '1880','name' => '(CMK) - Club Makokola Airport, Club Makokola, Malawi','country_id' => '152'),\narray('id' => '1881','name' => '(DWA) - Dwangwa Airport, Dwangwa, Malawi','country_id' => '152'),\narray('id' => '1882','name' => '(KGJ) - Karonga Airport, Karonga, Malawi','country_id' => '152'),\narray('id' => '1883','name' => '(KBQ) - Kasungu Airport, Kasungu, Malawi','country_id' => '152'),\narray('id' => '1884','name' => '(LLW) - Lilongwe International Airport, Lilongwe, Malawi','country_id' => '152'),\narray('id' => '1885','name' => '(LIX) - Likoma Island Airport, Likoma Island, Malawi','country_id' => '152'),\narray('id' => '1886','name' => '(MAI) - Mangochi Airport, Mangochi, Malawi','country_id' => '152'),\narray('id' => '1887','name' => '(MYZ) - Monkey Bay Airport, Monkey Bay, Malawi','country_id' => '152'),\narray('id' => '1888','name' => '(LMB) - Salima Airport, Salima, Malawi','country_id' => '152'),\narray('id' => '1889','name' => '(ZZU) - Mzuzu Airport, Mzuzu, Malawi','country_id' => '152'),\narray('id' => '1890','name' => '(LEF) - Lebakeng Airport, Lebakeng, Lesotho','country_id' => '128'),\narray('id' => '1891','name' => '(LRB) - Leribe Airport, Leribe, Lesotho','country_id' => '128'),\narray('id' => '1892','name' => '(LES) - Lesobeng Airport, Lesobeng, Lesotho','country_id' => '128'),\narray('id' => '1893','name' => '(FXM) - Flaxman Island Airstrip, Flaxman Island, United States','country_id' => '228'),\narray('id' => '1894','name' => '(MFC) - Mafeteng Airport, Mafeteng, Lesotho','country_id' => '128'),\narray('id' => '1895','name' => '(MKH) - Mokhotlong Airport, Mokhotlong, Lesotho','country_id' => '128'),\narray('id' => '1896','name' => '(MSU) - Moshoeshoe I International Airport, Maseru, Lesotho','country_id' => '128'),\narray('id' => '1897','name' => '(NKU) - Nkaus Airport, Nkaus, Lesotho','country_id' => '128'),\narray('id' => '1898','name' => '(PEL) - Pelaneng Airport, Pelaneng, Lesotho','country_id' => '128'),\narray('id' => '1899','name' => '(UTG) - Quthing Airport, Quthing, Lesotho','country_id' => '128'),\narray('id' => '1900','name' => '(UNE) - Qacha\\'s Nek Airport, Qacha\\'s Nek, Lesotho','country_id' => '128'),\narray('id' => '1901','name' => '(SHK) - Sehonghong Airport, Sehonghong, Lesotho','country_id' => '128'),\narray('id' => '1902','name' => '(SKQ) - Sekakes Airport, Sekakes, Lesotho','country_id' => '128'),\narray('id' => '1903','name' => '(SOK) - Semonkong Airport, Semonkong, Lesotho','country_id' => '128'),\narray('id' => '1904','name' => '(SHZ) - Seshutes Airport, Seshutes, Lesotho','country_id' => '128'),\narray('id' => '1905','name' => '(THB) - Thaba-Tseka Airport, Thaba-Tseka, Lesotho','country_id' => '128'),\narray('id' => '1906','name' => '(TKO) - Tlokoeng Airport, Tlokoeng, Lesotho','country_id' => '128'),\narray('id' => '1907','name' => '(AIW) - Ai-Ais Airport, Ai-Ais, Namibia','country_id' => '156'),\narray('id' => '1908','name' => '(ADI) - Arandis Airport, Arandis, Namibia','country_id' => '156'),\narray('id' => '1909','name' => '(GOG) - Gobabis Airport, Gobabis, Namibia','country_id' => '156'),\narray('id' => '1910','name' => '(GFY) - Grootfontein Airport, Grootfontein, Namibia','country_id' => '156'),\narray('id' => '1911','name' => '(HAL) - Halali Airport, Halali, Namibia','country_id' => '156'),\narray('id' => '1912','name' => '(KAS) - Karasburg Airport, Karasburg, Namibia','country_id' => '156'),\narray('id' => '1913','name' => '(MPA) - Katima Mulilo Airport, Mpacha, Namibia','country_id' => '156'),\narray('id' => '1914','name' => '(KMP) - Keetmanshoop Airport, Keetmanshoop, Namibia','country_id' => '156'),\narray('id' => '1915','name' => '(LHU) - Lianshulu Airport, Lianshulu Lodge, Namibia','country_id' => '156'),\narray('id' => '1916','name' => '(LUD) - Luderitz Airport, Luderitz, Namibia','country_id' => '156'),\narray('id' => '1917','name' => '(MJO) - Mount Etjo Airport, Mount Etjo Safari Lodge, Namibia','country_id' => '156'),\narray('id' => '1918','name' => '(MQG) - Midgard Airport, Midgard, Namibia','country_id' => '156'),\narray('id' => '1919','name' => '(OKU) - Mokuti Lodge Airport, Mokuti Lodge, Namibia','country_id' => '156'),\narray('id' => '1920','name' => '(NNI) - Namutoni Airport, Namutoni, Namibia','country_id' => '156'),\narray('id' => '1921','name' => '(OND) - Ondangwa Airport, Ondangwa, Namibia','country_id' => '156'),\narray('id' => '1922','name' => '(OMG) - Omega Airport, Omega, Namibia','country_id' => '156'),\narray('id' => '1923','name' => '(OMD) - Oranjemund Airport, Oranjemund, Namibia','country_id' => '156'),\narray('id' => '1924','name' => '(OKF) - Okaukuejo Airport, Okaukuejo, Namibia','country_id' => '156'),\narray('id' => '1925','name' => '(OPW) - Opuwa Airport, Opuwa, Namibia','country_id' => '156'),\narray('id' => '1926','name' => '(OHI) - Oshakati Airport, Oshakati, Namibia','country_id' => '156'),\narray('id' => '1927','name' => '(OTJ) - Otjiwarongo Airport, Otjiwarongo, Namibia','country_id' => '156'),\narray('id' => '1928','name' => '(NDU) - Rundu Airport, Rundu, Namibia','country_id' => '156'),\narray('id' => '1929','name' => '(RHN) - Skorpion Mine Airport, Rosh Pinah, Namibia','country_id' => '156'),\narray('id' => '1930','name' => '(SWP) - Swakopmund Airport, Swakopmund, Namibia','country_id' => '156'),\narray('id' => '1931','name' => '(SZM) - Sesriem Airstrip, , Namibia','country_id' => '156'),\narray('id' => '1932','name' => '(TCY) - Terrace Bay Airport, Terrace Bay, Namibia','country_id' => '156'),\narray('id' => '1933','name' => '(TSB) - Tsumeb Airport, Tsumeb, Namibia','country_id' => '156'),\narray('id' => '1934','name' => '(WVB) - Walvis Bay Airport, Walvis Bay, Namibia','country_id' => '156'),\narray('id' => '1935','name' => '(ERS) - Eros Airport, Windhoek, Namibia','country_id' => '156'),\narray('id' => '1936','name' => '(WDH) - Hosea Kutako International Airport, Windhoek, Namibia','country_id' => '156'),\narray('id' => '1937','name' => '(FIH) - Ndjili International Airport, Kinshasa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1938','name' => '(NLO) - Ndolo Airport, N\\'dolo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1939','name' => '(MNB) - Muanda Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1940','name' => '(BOA) - Boma Airport, Boma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1941','name' => '(LZI) - Luozi Airport, Luozi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1942','name' => '(MAT) - Tshimpi Airport, Matadi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1943','name' => '(NKL) - N\\'Kolo-Fuma Airport, N\\'Kolo-Fuma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1944','name' => '(INO) - Inongo Airport, Inongo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1945','name' => '(NIO) - Nioki Airport, Nioki, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1946','name' => '(FDU) - Bandundu Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1947','name' => '(KRZ) - Basango Mboliasa Airport, Kiri, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1948','name' => '(KKW) - Kikwit Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1949','name' => '(IDF) - Idiofa Airport, Idiofa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1950','name' => '(LUS) - Lusanga Airport, Lusanga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1951','name' => '(MSM) - Masi Manimba Airport, Masi Manimba, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1952','name' => '(MDK) - Mbandaka Airport, Mbandaka, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1953','name' => '(BSU) - Basankusu Airport, Basankusu, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1954','name' => '(LIE) - Libenge Airport, Libenge, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1955','name' => '(BDT) - Gbadolite Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1956','name' => '(GMA) - Gemena Airport, Gemena, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1957','name' => '(KLI) - Kotakoli Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1958','name' => '(BMB) - Bumbar Airport, Bumbar, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1959','name' => '(LIQ) - Lisala Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1960','name' => '(BNB) - Boende Airport, Boende, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1961','name' => '(IKL) - Ikela Airport, Ikela, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1962','name' => '(FKI) - Bangoka International Airport, Kisangani, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1963','name' => '(YAN) - Yangambi Airport, Yangambi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1964','name' => '(IRP) - Matari Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1965','name' => '(BUX) - Bunia Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1966','name' => '(BZU) - Buta Zega Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1967','name' => '(BKY) - Bukavu Kavumu Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1968','name' => '(RUE) - Rughenda Airfield, Butembo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1969','name' => '(GOM) - Goma International Airport, Goma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1970','name' => '(BNC) - Beni Airport, Beni, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1971','name' => '(KND) - Kindu Airport, Kindu, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1972','name' => '(KLY) - Kinkungwa Airport, Kalima, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1973','name' => '(PUN) - Punia Airport, Punia, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1974','name' => '(FBM) - Lubumbashi International Airport, Lubumbashi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1975','name' => '(PWO) - Pweto Airport, Pweto, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1976','name' => '(KEC) - Kasenga Airport, Kasenga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1977','name' => '(KWZ) - Kolwezi Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1978','name' => '(MNO) - Manono Airport, Manono, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1979','name' => '(BDV) - Moba Airport, Moba, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1980','name' => '(FMI) - Kalemie Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1981','name' => '(KBO) - Kabalo Airport, Kabalo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1982','name' => '(KOO) - Kongolo Airport, Kongolo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1983','name' => '(KMN) - Kamina Base Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1984','name' => '(KAP) - Kapanga Airport, Kapanga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1985','name' => '(KNM) - Kaniama Airport, Kaniama, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1986','name' => '(KGA) - Kananga Airport, Kananga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1987','name' => '(LZA) - Luiza Airport, Luiza, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1988','name' => '(TSH) - Tshikapa Airport, Tshikapa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1989','name' => '(LJA) - Lodja Airport, Lodja, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1990','name' => '(LBO) - Lusambo Airport, Lusambo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1991','name' => '(MEW) - Mweka Airport, Mweka, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1992','name' => '(BAN) - Basongo Airport, Basongo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1993','name' => '(PFR) - Ilebo Airport, Ilebo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1994','name' => '(MJM) - Mbuji Mayi Airport, Mbuji Mayi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1995','name' => '(GDJ) - Gandajika Airport, Gandajika, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1996','name' => '(KBN) - Tunta Airport, Kabinda, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1997','name' => '(AKE) - Akieni Airport, Akieni, Gabon','country_id' => '73'),\narray('id' => '1998','name' => '(GAX) - Gamba Airport, Gamba, Gabon','country_id' => '73'),\narray('id' => '1999','name' => '(GAB) - Gabbs Airport, Gabbs, United States','country_id' => '228'),\narray('id' => '2000','name' => '(BKO) - Senou Airport, Senou, Mali','country_id' => '141'),\narray('id' => '2001','name' => '(GUD) - Goundam Airport, Goundam, Mali','country_id' => '141'),\narray('id' => '2002','name' => '(GAQ) - Gao Airport, , Mali','country_id' => '141'),\narray('id' => '2003','name' => '(KNZ) - Kenieba Airport, Kenieba, Mali','country_id' => '141'),\narray('id' => '2004','name' => '(KTX) - Koutiala Airport, Koutiala, Mali','country_id' => '141'),\narray('id' => '2005','name' => '(KYS) - Kayes Dag Dag Airport, , Mali','country_id' => '141'),\narray('id' => '2006','name' => '(MZI) - Mopti Airport, , Mali','country_id' => '141'),\narray('id' => '2007','name' => '(NRM) - Nara Airport, Nara, Mali','country_id' => '141'),\narray('id' => '2008','name' => '(NIX) - Nioro du Sahel Airport, Nioro du Sahel, Mali','country_id' => '141'),\narray('id' => '2009','name' => '(KSS) - Sikasso Airport, Sikasso, Mali','country_id' => '141'),\narray('id' => '2010','name' => '(TOM) - Timbuktu Airport, Timbuktu, Mali','country_id' => '141'),\narray('id' => '2011','name' => '(EYL) - YAlimanA Airport, YAlimanA, Mali','country_id' => '141'),\narray('id' => '2012','name' => '(GAZ) - Guasopa Airport, Woodlark (Muyua) Island, Papua New Guinea','country_id' => '172'),\narray('id' => '2013','name' => '(HOY) - Hoy/Longhope Airfield, Orkney Isle, United Kingdom','country_id' => '74'),\narray('id' => '2014','name' => '(DOC) - Dornoch Airport, Dornoch, United Kingdom','country_id' => '74'),\narray('id' => '2015','name' => '(FLH) - Flotta Isle Airport, Flotta Isle, United Kingdom','country_id' => '74'),\narray('id' => '2016','name' => '(FOA) - Foula Airport, Foula, United Kingdom','country_id' => '74'),\narray('id' => '2017','name' => '(OUK) - Outer Skerries Airport, Grunay Island, United Kingdom','country_id' => '74'),\narray('id' => '2018','name' => '(PSV) - Papa Stour Airport, Papa Stour Island, United Kingdom','country_id' => '74'),\narray('id' => '2019','name' => '(ULL) - Glenforsa Airfield, Glenforsa, United Kingdom','country_id' => '74'),\narray('id' => '2020','name' => '(BJL) - Banjul International Airport, Banjul, Gambia','country_id' => '82'),\narray('id' => '2021','name' => '(FUE) - Fuerteventura Airport, Fuerteventura Island, Spain','country_id' => '65'),\narray('id' => '2022','name' => '(GMZ) - La Gomera Airport, Alajero, La Gomera Island, Spain','country_id' => '65'),\narray('id' => '2023','name' => '(VDE) - Hierro Airport, El Hierro Island, Spain','country_id' => '65'),\narray('id' => '2024','name' => '(SPC) - La Palma Airport, Sta Cruz de la Palma, La Palma Island, Spain','country_id' => '65'),\narray('id' => '2025','name' => '(LPA) - Gran Canaria Airport, Gran Canaria Island, Spain','country_id' => '65'),\narray('id' => '2026','name' => '(ACE) - Lanzarote Airport, Lanzarote Island, Spain','country_id' => '65'),\narray('id' => '2027','name' => '(TFS) - Tenerife South Airport, Tenerife Island, Spain','country_id' => '65'),\narray('id' => '2028','name' => '(GCV) - Gravatai Airport, Gravatai, Brazil','country_id' => '29'),\narray('id' => '2029','name' => '(TFN) - Tenerife Norte Airport, Tenerife Island, Spain','country_id' => '65'),\narray('id' => '2030','name' => '(MLN) - Melilla Airport, Melilla, Spain','country_id' => '65'),\narray('id' => '2031','name' => '(GEW) - Gewoia Airport, Gewoia, Papua New Guinea','country_id' => '172'),\narray('id' => '2032','name' => '(BTE) - Sherbro International Airport, Bonthe, Sierra Leone','country_id' => '198'),\narray('id' => '2033','name' => '(KBS) - Bo Airport, Bo, Sierra Leone','country_id' => '198'),\narray('id' => '2034','name' => '(GFD) - Pope Field, Greenfield, United States','country_id' => '228'),\narray('id' => '2035','name' => '(GBK) - Gbangbatok Airport, Gbangbatok, Sierra Leone','country_id' => '198'),\narray('id' => '2036','name' => '(HGS) - Hastings Airport, Freetown, Sierra Leone','country_id' => '198'),\narray('id' => '2037','name' => '(KBA) - Kabala Airport, Kabala, Sierra Leone','country_id' => '198'),\narray('id' => '2038','name' => '(KEN) - Kenema Airport, Kenema, Sierra Leone','country_id' => '198'),\narray('id' => '2039','name' => '(FNA) - Lungi International Airport, Freetown, Sierra Leone','country_id' => '198'),\narray('id' => '2040','name' => '(WYE) - Yengema Airport, Yengema, Sierra Leone','country_id' => '198'),\narray('id' => '2041','name' => '(BQE) - Bubaque Airport, Bubaque, Guinea-Bissau','country_id' => '90'),\narray('id' => '2042','name' => '(OXB) - Osvaldo Vieira International Airport, Bissau, Guinea-Bissau','country_id' => '90'),\narray('id' => '2043','name' => '(GHE) - GarachinA Airport, GarachinA, Panama','country_id' => '169'),\narray('id' => '2044','name' => '(UCN) - Buchanan Airport, Buchanan, Liberia','country_id' => '127'),\narray('id' => '2045','name' => '(CPA) - Cape Palmas Airport, Harper, Liberia','country_id' => '127'),\narray('id' => '2046','name' => '(SNI) - Greenville Sinoe Airport, Greenville, Liberia','country_id' => '127'),\narray('id' => '2047','name' => '(UCN) - Lamco Airport, Buchanan, Liberia','country_id' => '127'),\narray('id' => '2048','name' => '(MLW) - Spriggs Payne Airport, Monrovia, Liberia','country_id' => '127'),\narray('id' => '2049','name' => '(NIA) - Nimba Airport, Nimba, Liberia','country_id' => '127'),\narray('id' => '2050','name' => '(GLP) - Gulgubip Airport, Gulgubip, Papua New Guinea','country_id' => '172'),\narray('id' => '2051','name' => '(ROB) - Roberts International Airport, Monrovia, Liberia','country_id' => '127'),\narray('id' => '2052','name' => '(SAZ) - Sasstown Airport, Sasstown, Liberia','country_id' => '127'),\narray('id' => '2053','name' => '(THC) - Tchien Airport, Tchien, Liberia','country_id' => '127'),\narray('id' => '2054','name' => '(VOI) - Voinjama Airport, Voinjama, Liberia','country_id' => '127'),\narray('id' => '2055','name' => '(AGA) - Al Massira Airport, Agadir, Morocco','country_id' => '133'),\narray('id' => '2056','name' => '(TTA) - Tan Tan Airport, Tan Tan, Morocco','country_id' => '133'),\narray('id' => '2057','name' => '(OZG) - Zagora Airport, Zagora, Morocco','country_id' => '133'),\narray('id' => '2058','name' => '(UAR) - Bouarfa Airport, Bouarfa, Morocco','country_id' => '133'),\narray('id' => '2059','name' => '(FEZ) - SaAss Airport, Fes, Morocco','country_id' => '133'),\narray('id' => '2060','name' => '(ERH) - Moulay Ali Cherif Airport, Errachidia, Morocco','country_id' => '133'),\narray('id' => '2061','name' => '(MEK) - Bassatine Airport, Meknes, Morocco','country_id' => '133'),\narray('id' => '2062','name' => '(OUD) - Angads Airport, Oujda, Morocco','country_id' => '133'),\narray('id' => '2063','name' => '(SMW) - Smara Airport, Smara, Western Sahara','country_id' => '63'),\narray('id' => '2064','name' => '(GMD) - Ben Slimane Airport, Ben Slimane, Morocco','country_id' => '133'),\narray('id' => '2065','name' => '(RBA) - Rabat-SalA Airport, Rabat, Morocco','country_id' => '133'),\narray('id' => '2066','name' => '(SII) - Sidi Ifni Xx Airport, Sidi Ifni, Morocco','country_id' => '133'),\narray('id' => '2067','name' => '(VIL) - Dakhla Airport, Dakhla, Western Sahara','country_id' => '63'),\narray('id' => '2068','name' => '(ESU) - Mogador Airport, Essaouira, Morocco','country_id' => '133'),\narray('id' => '2069','name' => '(EUN) - Hassan I Airport, El AaiAon, Western Sahara','country_id' => '63'),\narray('id' => '2070','name' => '(CMN) - Mohammed V International Airport, Casablanca, Morocco','country_id' => '133'),\narray('id' => '2071','name' => '(SFI) - Safi Airport, Safi, Morocco','country_id' => '133'),\narray('id' => '2072','name' => '(NDR) - Nador International Airport, Nador, Morocco','country_id' => '133'),\narray('id' => '2073','name' => '(RAK) - Menara Airport, Marrakech, Morocco','country_id' => '133'),\narray('id' => '2074','name' => '(NNA) - Kenitra Airport, , Morocco','country_id' => '133'),\narray('id' => '2075','name' => '(OZZ) - Ouarzazate Airport, Ouarzazate, Morocco','country_id' => '133'),\narray('id' => '2076','name' => '(AHU) - Cherif Al Idrissi Airport, Al Hoceima, Morocco','country_id' => '133'),\narray('id' => '2077','name' => '(TTU) - Saniat R\\'mel Airport, TAtouan, Morocco','country_id' => '133'),\narray('id' => '2078','name' => '(TNG) - Ibn Batouta Airport, Tangier, Morocco','country_id' => '133'),\narray('id' => '2079','name' => '(GNU) - Goodnews Airport, Goodnews, United States','country_id' => '228'),\narray('id' => '2080','name' => '(GOC) - Gora Airstrip, Gora, Papua New Guinea','country_id' => '172'),\narray('id' => '2081','name' => '(KDA) - Kolda North Airport, Kolda, Senegal','country_id' => '200'),\narray('id' => '2082','name' => '(ZIG) - Ziguinchor Airport, Ziguinchor, Senegal','country_id' => '200'),\narray('id' => '2083','name' => '(CSK) - Cap Skirring Airport, Cap Skirring, Senegal','country_id' => '200'),\narray('id' => '2084','name' => '(KLC) - Kaolack Airport, Kaolack, Senegal','country_id' => '200'),\narray('id' => '2085','name' => '(DKR) - LAopold SAdar Senghor International Airport, Dakar, Senegal','country_id' => '200'),\narray('id' => '2086','name' => '(MAX) - Ouro Sogui Airport, Matam, Senegal','country_id' => '200'),\narray('id' => '2087','name' => '(POD) - Podor Airport, Podor, Senegal','country_id' => '200'),\narray('id' => '2088','name' => '(RDT) - Richard Toll Airport, Richard Toll, Senegal','country_id' => '200'),\narray('id' => '2089','name' => '(XLS) - Saint Louis Airport, Saint Louis, Senegal','country_id' => '200'),\narray('id' => '2090','name' => '(BXE) - Bakel Airport, Bakel, Senegal','country_id' => '200'),\narray('id' => '2091','name' => '(KGG) - KAdougou Airport, KAdougou, Senegal','country_id' => '200'),\narray('id' => '2092','name' => '(SMY) - Simenti Airport, Simenti, Senegal','country_id' => '200'),\narray('id' => '2093','name' => '(TUD) - Tambacounda Airport, Tambacounda, Senegal','country_id' => '200'),\narray('id' => '2094','name' => '(AEO) - Aioun el Atrouss Airport, Aioun El Atrouss, Mauritania','country_id' => '147'),\narray('id' => '2095','name' => '(OTL) - Boutilimit Airport, Boutilimit, Mauritania','country_id' => '147'),\narray('id' => '2096','name' => '(THI) - Tichitt Airport, Tichitt, Mauritania','country_id' => '147'),\narray('id' => '2097','name' => '(TIY) - Tidjikja Airport, Tidjikja, Mauritania','country_id' => '147'),\narray('id' => '2098','name' => '(BGH) - Abbaye Airport, Boghe, Mauritania','country_id' => '147'),\narray('id' => '2099','name' => '(KFA) - Kiffa Airport, Kiffa, Mauritania','country_id' => '147'),\narray('id' => '2100','name' => '(TMD) - Timbedra Airport, Timbedra, Mauritania','country_id' => '147'),\narray('id' => '2101','name' => '(EMN) - NAma Airport, NAma, Mauritania','country_id' => '147'),\narray('id' => '2102','name' => '(AJJ) - Akjoujt Airport, Akjoujt, Mauritania','country_id' => '147'),\narray('id' => '2103','name' => '(KED) - KaAdi Airport, KaAdi, Mauritania','country_id' => '147'),\narray('id' => '2104','name' => '(MOM) - Letfotar Airport, Moudjeria, Mauritania','country_id' => '147'),\narray('id' => '2105','name' => '(NKC) - Nouakchott International Airport, Nouakchott, Mauritania','country_id' => '147'),\narray('id' => '2106','name' => '(SEY) - SAlibaby Airport, SAlibaby, Mauritania','country_id' => '147'),\narray('id' => '2107','name' => '(THT) - Tamchakett Airport, Tamchakett, Mauritania','country_id' => '147'),\narray('id' => '2108','name' => '(ATR) - Atar International Airport, Atar, Mauritania','country_id' => '147'),\narray('id' => '2109','name' => '(FGD) - Fderik Airport, Fderik, Mauritania','country_id' => '147'),\narray('id' => '2110','name' => '(NDB) - Nouadhibou International Airport, Nouadhibou, Mauritania','country_id' => '147'),\narray('id' => '2111','name' => '(OUZ) - Tazadit Airport, ZouArate, Mauritania','country_id' => '147'),\narray('id' => '2112','name' => '(JSS) - Spetsai Airport, Spetsai, Greece','country_id' => '86'),\narray('id' => '2113','name' => '(GRC) - Grand Cess Airport, Grand Cess, Liberia','country_id' => '127'),\narray('id' => '2114','name' => '(GMT) - Granite Mountain Air Station, Granite Mountain, United States','country_id' => '228'),\narray('id' => '2115','name' => '(CIQ) - Chiquimula Airport, Chiquimula, Guatemala','country_id' => '88'),\narray('id' => '2116','name' => '(DON) - Dos Lagunas Airport, Dos Lagunas, Guatemala','country_id' => '88'),\narray('id' => '2117','name' => '(ENJ) - El Naranjo Airport, El Naranjo, Guatemala','country_id' => '88'),\narray('id' => '2118','name' => '(PCG) - Paso Caballos Airport, Paso Caballos, Guatemala','country_id' => '88'),\narray('id' => '2119','name' => '(TKM) - El PetAn Airport, Tikal, Guatemala','country_id' => '88'),\narray('id' => '2120','name' => '(UAX) - Uaxactun Airport, Uaxactun, Guatemala','country_id' => '88'),\narray('id' => '2121','name' => '(PKJ) - Playa Grande Airport, Playa Grande, Guatemala','country_id' => '88'),\narray('id' => '2122','name' => '(GTZ) - Kirawira B Aerodrome, Grumeti Game Reserve, Tanzania','country_id' => '224'),\narray('id' => '2123','name' => '(CKY) - Conakry International Airport, Conakry, Guinea','country_id' => '83'),\narray('id' => '2124','name' => '(GUE) - Guriaso (Keraso) Airport, Guriaso, Papua New Guinea','country_id' => '172'),\narray('id' => '2125','name' => '(FIG) - Fria Airport, Fria, Guinea','country_id' => '83'),\narray('id' => '2126','name' => '(FAA) - Faranah Airport, Faranah, Guinea','country_id' => '83'),\narray('id' => '2127','name' => '(KSI) - Kissidougou Airport, Kissidougou, Guinea','country_id' => '83'),\narray('id' => '2128','name' => '(LEK) - Tata Airport, LabA, Guinea','country_id' => '83'),\narray('id' => '2129','name' => '(MCA) - Macenta Airport, Macenta, Guinea','country_id' => '83'),\narray('id' => '2130','name' => '(NZE) - NzArAkorA Airport, NzArAkorA, Guinea','country_id' => '83'),\narray('id' => '2131','name' => '(BKJ) - BokA Baralande Airport, BokA, Guinea','country_id' => '83'),\narray('id' => '2132','name' => '(SBI) - Sambailo Airport, Koundara, Guinea','country_id' => '83'),\narray('id' => '2133','name' => '(GII) - Siguiri Airport, Siguiri, Guinea','country_id' => '83'),\narray('id' => '2134','name' => '(KNN) - Kankan Airport, Kankan, Guinea','country_id' => '83'),\narray('id' => '2135','name' => '(SID) - AmAlcar Cabral International Airport, Espargos, Cape Verde','country_id' => '49'),\narray('id' => '2136','name' => '(NTO) - Agostinho Neto Airport, Ponta do Sol, Cape Verde','country_id' => '49'),\narray('id' => '2137','name' => '(BVC) - Rabil Airport, Rabil, Cape Verde','country_id' => '49'),\narray('id' => '2138','name' => '(GVE) - Gordonsville Municipal Airport, Gordonsville, United States','country_id' => '228'),\narray('id' => '2139','name' => '(MMO) - Maio Airport, Vila do Maio, Cape Verde','country_id' => '49'),\narray('id' => '2140','name' => '(MTI) - Mosteiros Airport, Vila do Mosteiros, Cape Verde','country_id' => '49'),\narray('id' => '2141','name' => '(RAI) - Praia International Airport, Praia, Cape Verde','country_id' => '49'),\narray('id' => '2142','name' => '(SFL) - SAo Filipe Airport, SAo Filipe, Cape Verde','country_id' => '49'),\narray('id' => '2143','name' => '(SNE) - PreguiAa Airport, PreguiAa, Cape Verde','country_id' => '49'),\narray('id' => '2144','name' => '(VXE) - SAo Pedro Airport, SAo Pedro, Cape Verde','country_id' => '49'),\narray('id' => '2145','name' => '(BCG) - Bemichi Airport, Bemichi, Guyana','country_id' => '91'),\narray('id' => '2146','name' => '(BTO) - Botopasi Airport, Botopasi, Suriname','country_id' => '202'),\narray('id' => '2147','name' => '(DOE) - Djumu-Djomoe Airport, Djumu-Djomoe, Suriname','country_id' => '202'),\narray('id' => '2148','name' => '(LDO) - Ladouanie Airport, Aurora, Suriname','country_id' => '202'),\narray('id' => '2149','name' => '(WSO) - Washabo Airport, Washabo, Suriname','country_id' => '202'),\narray('id' => '2150','name' => '(ADD) - Addis Ababa Bole International Airport, Addis Ababa, Ethiopia','country_id' => '66'),\narray('id' => '2151','name' => '(AMH) - Arba Minch Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2152','name' => '(AXU) - Axum Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2153','name' => '(BCO) - Baco Airport, Baco, Ethiopia','country_id' => '66'),\narray('id' => '2154','name' => '(BJR) - Bahir Dar Airport, Bahir Dar, Ethiopia','country_id' => '66'),\narray('id' => '2155','name' => '(BEI) - Beica Airport, Beica, Ethiopia','country_id' => '66'),\narray('id' => '2156','name' => '(DSE) - Combolcha Airport, Dessie, Ethiopia','country_id' => '66'),\narray('id' => '2157','name' => '(DEM) - Dembidollo Airport, Dembidollo, Ethiopia','country_id' => '66'),\narray('id' => '2158','name' => '(DBM) - Debra Marcos Airport, Debra Marcos, Ethiopia','country_id' => '66'),\narray('id' => '2159','name' => '(DIR) - Aba Tenna Dejazmach Yilma International Airport, Dire Dawa, Ethiopia','country_id' => '66'),\narray('id' => '2160','name' => '(DBT) - Debre Tabor Airport, Debre Tabor, Ethiopia','country_id' => '66'),\narray('id' => '2161','name' => '(FNH) - Fincha Airport, Fincha, Ethiopia','country_id' => '66'),\narray('id' => '2162','name' => '(GOB) - Robe Airport, Goba, Ethiopia','country_id' => '66'),\narray('id' => '2163','name' => '(GNN) - Ghinnir Airport, Ghinnir, Ethiopia','country_id' => '66'),\narray('id' => '2164','name' => '(GMB) - Gambella Airport, Gambela, Ethiopia','country_id' => '66'),\narray('id' => '2165','name' => '(GDQ) - Gonder Airport, Gondar, Ethiopia','country_id' => '66'),\narray('id' => '2166','name' => '(GDE) - Gode Airport, Gode, Ethiopia','country_id' => '66'),\narray('id' => '2167','name' => '(GOR) - Gore Airport, Gore, Ethiopia','country_id' => '66'),\narray('id' => '2168','name' => '(QHR) - Harar Meda Airport, Debre Zeyit, Ethiopia','country_id' => '66'),\narray('id' => '2169','name' => '(HUE) - Humera Airport, Humera, Ethiopia','country_id' => '66'),\narray('id' => '2170','name' => '(JIJ) - Wilwal International Airport, Jijiga, Ethiopia','country_id' => '66'),\narray('id' => '2171','name' => '(JIM) - Jimma Airport, Jimma, Ethiopia','country_id' => '66'),\narray('id' => '2172','name' => '(ABK) - Kabri Dehar Airport, Kabri Dehar, Ethiopia','country_id' => '66'),\narray('id' => '2173','name' => '(LFO) - Kelafo East Airport, Kelafo, Ethiopia','country_id' => '66'),\narray('id' => '2174','name' => '(AWA) - Awassa Airport, Awassa, Ethiopia','country_id' => '66'),\narray('id' => '2175','name' => '(LLI) - Lalibella Airport, Lalibela, Ethiopia','country_id' => '66'),\narray('id' => '2176','name' => '(MKS) - Mekane Selam Airport, Mekane Selam, Ethiopia','country_id' => '66'),\narray('id' => '2177','name' => '(MQX) - Mekele Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2178','name' => '(ETE) - Metema Airport, Metema, Ethiopia','country_id' => '66'),\narray('id' => '2179','name' => '(NDM) - Mendi Airport, Mendi, Ethiopia','country_id' => '66'),\narray('id' => '2180','name' => '(MUJ) - Mui River Airport, Omo National Park, Ethiopia','country_id' => '66'),\narray('id' => '2181','name' => '(MTF) - Mizan Teferi Airport, Mizan Teferi, Ethiopia','country_id' => '66'),\narray('id' => '2182','name' => '(EGL) - Negele Airport, Negele Borana, Ethiopia','country_id' => '66'),\narray('id' => '2183','name' => '(NEJ) - Nejjo Airport, Nejjo, Ethiopia','country_id' => '66'),\narray('id' => '2184','name' => '(NEK) - Nekemte Airport, Nekemte, Ethiopia','country_id' => '66'),\narray('id' => '2185','name' => '(PWI) - Beles Airport, Pawe, Ethiopia','country_id' => '66'),\narray('id' => '2186','name' => '(SXU) - Soddu Airport, Soddu, Ethiopia','country_id' => '66'),\narray('id' => '2187','name' => '(SKR) - Shakiso Airport, Shakiso, Ethiopia','country_id' => '66'),\narray('id' => '2188','name' => '(SZE) - Semera Airport, Semera, Ethiopia','country_id' => '66'),\narray('id' => '2189','name' => '(ASO) - Asosa Airport, Asosa, Ethiopia','country_id' => '66'),\narray('id' => '2190','name' => '(TIE) - Tippi Airport, Tippi, Ethiopia','country_id' => '66'),\narray('id' => '2191','name' => '(WAC) - Waca Airport, Waca, Ethiopia','country_id' => '66'),\narray('id' => '2192','name' => '(WRA) - Warder Airport, Warder, Ethiopia','country_id' => '66'),\narray('id' => '2193','name' => '(HAY) - Haycock Airport, Haycock, United States','country_id' => '228'),\narray('id' => '2194','name' => '(HAZ) - Hatzfeldhaven Airport, Hatzfeldhaven, Papua New Guinea','country_id' => '172'),\narray('id' => '2195','name' => '(BJM) - Bujumbura International Airport, Bujumbura, Burundi','country_id' => '22'),\narray('id' => '2196','name' => '(GID) - Gitega Airport, Gitega, Burundi','country_id' => '22'),\narray('id' => '2197','name' => '(KRE) - Kirundo Airport, Kirundo, Burundi','country_id' => '22'),\narray('id' => '2198','name' => '(ALU) - Alula Airport, Alula, Somalia','country_id' => '201'),\narray('id' => '2199','name' => '(BIB) - Baidoa Airport, Baidoa, Somalia','country_id' => '201'),\narray('id' => '2200','name' => '(CXN) - Candala Airport, Candala, Somalia','country_id' => '201'),\narray('id' => '2201','name' => '(BSY) - Bardera Airport, , Somalia','country_id' => '201'),\narray('id' => '2202','name' => '(HCM) - Eil Airport, Eyl, Somalia','country_id' => '201'),\narray('id' => '2203','name' => '(BSA) - Bosaso Airport, Bosaso, Somalia','country_id' => '201'),\narray('id' => '2204','name' => '(GSR) - Gardo Airport, Gardo, Somalia','country_id' => '201'),\narray('id' => '2205','name' => '(HGA) - Egal International Airport, Hargeisa, Somalia','country_id' => '201'),\narray('id' => '2206','name' => '(BBO) - Berbera Airport, Berbera, Somalia','country_id' => '201'),\narray('id' => '2207','name' => '(LGX) - Lugh Ganane Airport, Luuq, Somalia','country_id' => '201'),\narray('id' => '2208','name' => '(KMU) - Kisimayu Airport, , Somalia','country_id' => '201'),\narray('id' => '2209','name' => '(MGQ) - Aden Adde International Airport, Mogadishu, Somalia','country_id' => '201'),\narray('id' => '2210','name' => '(CMO) - Obbia Airport, Obbia, Somalia','country_id' => '201'),\narray('id' => '2211','name' => '(GLK) - Galcaio Airport, Galcaio, Somalia','country_id' => '201'),\narray('id' => '2212','name' => '(CMS) - Scusciuban Airport, Scusciuban, Somalia','country_id' => '201'),\narray('id' => '2213','name' => '(ERA) - Erigavo Airport, Erigavo, Somalia','country_id' => '201'),\narray('id' => '2214','name' => '(BUO) - Burao Airport, Burao, Somalia','country_id' => '201'),\narray('id' => '2215','name' => '(JIB) - Djibouti-Ambouli Airport, Djibouti City, Djibouti','country_id' => '55'),\narray('id' => '2216','name' => '(AII) - Ali-Sabieh Airport, Ali-Sabieh, Djibouti','country_id' => '55'),\narray('id' => '2217','name' => '(MHI) - Moucha Airport, Moucha Island, Djibouti','country_id' => '55'),\narray('id' => '2218','name' => '(OBC) - Obock Airport, Obock, Djibouti','country_id' => '55'),\narray('id' => '2219','name' => '(TDJ) - Tadjoura Airport, Tadjoura, Djibouti','country_id' => '55'),\narray('id' => '2220','name' => '(SEW) - Siwa Oasis North Airport, Siwa, Egypt','country_id' => '62'),\narray('id' => '2221','name' => '(EMY) - El Minya Airport, Minya, Egypt','country_id' => '62'),\narray('id' => '2222','name' => '(SQK) - Sidi Barrani Airport, Sidi Barrani, Egypt','country_id' => '62'),\narray('id' => '2223','name' => '(DBB) - El Alamein International Airport, El Alamein, Egypt','country_id' => '62'),\narray('id' => '2224','name' => '(AAC) - El Arish International Airport, El Arish, Egypt','country_id' => '62'),\narray('id' => '2225','name' => '(ATZ) - Assiut International Airport, Assiut, Egypt','country_id' => '62'),\narray('id' => '2226','name' => '(ALY) - El Nouzha Airport, Alexandria, Egypt','country_id' => '62'),\narray('id' => '2227','name' => '(HBE) - Borg El Arab International Airport, Alexandria, Egypt','country_id' => '62'),\narray('id' => '2228','name' => '(ABS) - Abu Simbel Airport, Abu Simbel, Egypt','country_id' => '62'),\narray('id' => '2229','name' => '(CAI) - Cairo International Airport, Cairo, Egypt','country_id' => '62'),\narray('id' => '2230','name' => '(CWE) - Cairo West Airport, El Cairo, Egypt','country_id' => '62'),\narray('id' => '2231','name' => '(DAK) - Dakhla Airport, , Egypt','country_id' => '62'),\narray('id' => '2232','name' => '(HRG) - Hurghada International Airport, Hurghada, Egypt','country_id' => '62'),\narray('id' => '2233','name' => '(EGH) - El Gora Airport, El Gora, Egypt','country_id' => '62'),\narray('id' => '2234','name' => '(UVL) - El Kharga Airport, , Egypt','country_id' => '62'),\narray('id' => '2235','name' => '(LXR) - Luxor International Airport, Luxor, Egypt','country_id' => '62'),\narray('id' => '2236','name' => '(RMF) - Marsa Alam International Airport, Marsa Alam, Egypt','country_id' => '62'),\narray('id' => '2237','name' => '(HMB) - Sohag International Airport, Sohag, Egypt','country_id' => '62'),\narray('id' => '2238','name' => '(MUH) - Mersa Matruh Airport, Mersa Matruh, Egypt','country_id' => '62'),\narray('id' => '2239','name' => '(HEO) - Haelogo Airport, Haelogo, Papua New Guinea','country_id' => '172'),\narray('id' => '2240','name' => '(GSQ) - Shark El Oweinat International Airport, , Egypt','country_id' => '62'),\narray('id' => '2241','name' => '(PSD) - Port Said Airport, Port Said, Egypt','country_id' => '62'),\narray('id' => '2242','name' => '(SKV) - St Catherine International Airport, , Egypt','country_id' => '62'),\narray('id' => '2243','name' => '(SSH) - Sharm El Sheikh International Airport, Sharm el-Sheikh, Egypt','country_id' => '62'),\narray('id' => '2244','name' => '(ASW) - Aswan International Airport, Aswan, Egypt','country_id' => '62'),\narray('id' => '2245','name' => '(TCP) - Taba International Airport, Taba, Egypt','country_id' => '62'),\narray('id' => '2246','name' => '(ELT) - El Tor Airport, , Egypt','country_id' => '62'),\narray('id' => '2247','name' => '(HGI) - Paloich Airport, Heliport, Higleig, South Sudan','country_id' => '203'),\narray('id' => '2248','name' => '(ASM) - Asmara International Airport, Asmara, Eritrea','country_id' => '64'),\narray('id' => '2249','name' => '(MSW) - Massawa International Airport, Massawa, Eritrea','country_id' => '64'),\narray('id' => '2250','name' => '(ASA) - Assab International Airport, Asab, Eritrea','country_id' => '64'),\narray('id' => '2251','name' => '(TES) - Tessenei Airport, Tessenei, Eritrea','country_id' => '64'),\narray('id' => '2252','name' => '(HPV) - Princeville Airport, Hanalei, United States','country_id' => '228'),\narray('id' => '2253','name' => '(HIA) - Lianshui Airport, Huai\\'an, China','country_id' => '45'),\narray('id' => '2254','name' => '(HIL) - Shilavo Airport, Shilavo, Ethiopia','country_id' => '66'),\narray('id' => '2255','name' => '(ASV) - Amboseli Airport, Amboseli National Park, Kenya','country_id' => '111'),\narray('id' => '2256','name' => '(HKB) - Healy Lake Airport, Healy Lake, United States','country_id' => '228'),\narray('id' => '2257','name' => '(EDL) - Eldoret International Airport, Eldoret, Kenya','country_id' => '111'),\narray('id' => '2258','name' => '(EYS) - Eliye Springs Airport, Eliye Springs, Kenya','country_id' => '111'),\narray('id' => '2259','name' => '(KLK) - Kalokol Airport, Kalokol, Kenya','country_id' => '111'),\narray('id' => '2260','name' => '(GAS) - Garissa Airport, Garissa, Kenya','country_id' => '111'),\narray('id' => '2261','name' => '(HOA) - Hola Airport, Hola, Kenya','country_id' => '111'),\narray('id' => '2262','name' => '(NBO) - Jomo Kenyatta International Airport, Nairobi, Kenya','country_id' => '111'),\narray('id' => '2263','name' => '(GGM) - Kakamega Airport, Kakamega, Kenya','country_id' => '111'),\narray('id' => '2264','name' => '(KIS) - Kisumu Airport, Kisumu, Kenya','country_id' => '111'),\narray('id' => '2265','name' => '(ILU) - Kilaguni Airport, Kilaguni, Kenya','country_id' => '111'),\narray('id' => '2266','name' => '(KEY) - Kericho Airport, Kericho, Kenya','country_id' => '111'),\narray('id' => '2267','name' => '(KTL) - Kitale Airport, Kitale, Kenya','country_id' => '111'),\narray('id' => '2268','name' => '(LKG) - Lokichoggio Airport, Lokichoggio, Kenya','country_id' => '111'),\narray('id' => '2269','name' => '(LOK) - Lodwar Airport, Lodwar, Kenya','country_id' => '111'),\narray('id' => '2270','name' => '(LAU) - Manda Airstrip, Lamu, Kenya','country_id' => '111'),\narray('id' => '2271','name' => '(LOY) - Loyengalani Airport, Loyengalani, Kenya','country_id' => '111'),\narray('id' => '2272','name' => '(NDE) - Mandera Airport, Mandera, Kenya','country_id' => '111'),\narray('id' => '2273','name' => '(RBT) - Marsabit Airport, Marsabit, Kenya','country_id' => '111'),\narray('id' => '2274','name' => '(MYD) - Malindi Airport, Malindi, Kenya','country_id' => '111'),\narray('id' => '2275','name' => '(MBA) - Mombasa Moi International Airport, Mombasa, Kenya','country_id' => '111'),\narray('id' => '2276','name' => '(MRE) - Mara Serena Lodge Airstrip, Masai Mara, Kenya','country_id' => '111'),\narray('id' => '2277','name' => '(OYL) - Moyale Airport, Moyale (Lower), Kenya','country_id' => '111'),\narray('id' => '2278','name' => '(NYE) - Nyeri Airport, Nyeri, Kenya','country_id' => '111'),\narray('id' => '2279','name' => '(NUU) - Nakuru Airport, Nakuru, Kenya','country_id' => '111'),\narray('id' => '2280','name' => '(WIL) - Nairobi Wilson Airport, Nairobi, Kenya','country_id' => '111'),\narray('id' => '2281','name' => '(NYK) - Nanyuki Airport, Nanyuki, Kenya','country_id' => '111'),\narray('id' => '2282','name' => '(UAS) - Samburu South Airport, Samburu South, Kenya','country_id' => '111'),\narray('id' => '2283','name' => '(UKA) - Ukunda Airstrip, Ukunda, Kenya','country_id' => '111'),\narray('id' => '2284','name' => '(WJR) - Wajir Airport, Wajir, Kenya','country_id' => '111'),\narray('id' => '2285','name' => '(SRX) - Gardabya Airport, Sirt, Libya','country_id' => '132'),\narray('id' => '2286','name' => '(TOB) - Gamal Abdel Nasser Airport, Tobruk, Libya','country_id' => '132'),\narray('id' => '2287','name' => '(GHT) - Ghat Airport, Ghat, Libya','country_id' => '132'),\narray('id' => '2288','name' => '(AKF) - Kufra Airport, Kufra, Libya','country_id' => '132'),\narray('id' => '2289','name' => '(BEN) - Benina International Airport, Benghazi, Libya','country_id' => '132'),\narray('id' => '2290','name' => '(MJI) - Mitiga Airport, Tripoli, Libya','country_id' => '132'),\narray('id' => '2291','name' => '(LAQ) - La Abraq Airport, Al Bayda\\', Libya','country_id' => '132'),\narray('id' => '2292','name' => '(SEB) - Sabha Airport, Sabha, Libya','country_id' => '132'),\narray('id' => '2293','name' => '(TIP) - Tripoli International Airport, Tripoli, Libya','country_id' => '132'),\narray('id' => '2294','name' => '(LMQ) - Marsa Brega Airport, , Libya','country_id' => '132'),\narray('id' => '2295','name' => '(HUQ) - Hon Airport, , Libya','country_id' => '132'),\narray('id' => '2296','name' => '(LTD) - Ghadames East Airport, Ghadames, Libya','country_id' => '132'),\narray('id' => '2297','name' => '(WAX) - Zwara Airport, Zuwara, Libya','country_id' => '132'),\narray('id' => '2298','name' => '(EDQ) - Erandique Airport, Erandique, Honduras','country_id' => '93'),\narray('id' => '2299','name' => '(HNE) - Tahneta Pass Airport, Tahneta Pass Lodge, United States','country_id' => '228'),\narray('id' => '2300','name' => '(HOO) - Nhon Co Airfield, Quang Duc, Vietnam','country_id' => '236'),\narray('id' => '2301','name' => '(HRC) - Sary Su Airport, Zhayrem, Kazakhstan','country_id' => '121'),\narray('id' => '2302','name' => '(GYI) - Gisenyi Airport, Gisenyi, Rwanda','country_id' => '188'),\narray('id' => '2303','name' => '(BTQ) - Butare Airport, Butare, Rwanda','country_id' => '188'),\narray('id' => '2304','name' => '(KGL) - Kigali International Airport, Kigali, Rwanda','country_id' => '188'),\narray('id' => '2305','name' => '(RHG) - Ruhengeri Airport, Ruhengeri, Rwanda','country_id' => '188'),\narray('id' => '2306','name' => '(KME) - Kamembe Airport, Kamembe, Rwanda','country_id' => '188'),\narray('id' => '2307','name' => '(ATB) - Atbara Airport, Atbara, Sudan','country_id' => '192'),\narray('id' => '2308','name' => '(EDB) - El Debba Airport, El Debba, Sudan','country_id' => '192'),\narray('id' => '2309','name' => '(DOG) - Dongola Airport, Dongola, Sudan','country_id' => '192'),\narray('id' => '2310','name' => '(RSS) - Damazin Airport, Ad Damazin, Sudan','country_id' => '192'),\narray('id' => '2311','name' => '(ELF) - El Fasher Airport, El Fasher, Sudan','country_id' => '192'),\narray('id' => '2312','name' => '(GSU) - Azaza Airport, Gedaref, Sudan','country_id' => '192'),\narray('id' => '2313','name' => '(DNX) - Galegu Airport, Dinder, Sudan','country_id' => '192'),\narray('id' => '2314','name' => '(EGN) - Geneina Airport, Geneina, Sudan','country_id' => '192'),\narray('id' => '2315','name' => '(HEG) - Heglig Airport, Heglig Oilfield, Sudan','country_id' => '192'),\narray('id' => '2316','name' => '(KSL) - Kassala Airport, Kassala, Sudan','country_id' => '192'),\narray('id' => '2317','name' => '(GBU) - Khashm El Girba Airport, Khashm El Girba, Sudan','country_id' => '192'),\narray('id' => '2318','name' => '(KST) - Kosti Airport, Kosti, Sudan','country_id' => '192'),\narray('id' => '2319','name' => '(KDX) - Kadugli Airport, Kadugli, Sudan','country_id' => '192'),\narray('id' => '2320','name' => '(RBX) - Rumbek Airport, Rumbek, South Sudan','country_id' => '203'),\narray('id' => '2321','name' => '(MWE) - Merowe New Airport, Merowe, Sudan','country_id' => '192'),\narray('id' => '2322','name' => '(NUD) - En Nahud Airport, En Nahud, Sudan','country_id' => '192'),\narray('id' => '2323','name' => '(UYL) - Nyala Airport, Nyala, Sudan','country_id' => '192'),\narray('id' => '2324','name' => '(NHF) - New Halfa Airport, New Halfa, Sudan','country_id' => '192'),\narray('id' => '2325','name' => '(EBD) - El Obeid Airport, Al-Ubayyid, Sudan','country_id' => '192'),\narray('id' => '2326','name' => '(PZU) - Port Sudan New International Airport, Port Sudan, Sudan','country_id' => '192'),\narray('id' => '2327','name' => '(JUB) - Juba International Airport, Juba, South Sudan','country_id' => '203'),\narray('id' => '2328','name' => '(MAK) - Malakal Airport, Malakal, South Sudan','country_id' => '203'),\narray('id' => '2329','name' => '(KRT) - Khartoum International Airport, Khartoum, Sudan','country_id' => '192'),\narray('id' => '2330','name' => '(WHF) - Wadi Halfa Airport, Wadi Halfa, Sudan','country_id' => '192'),\narray('id' => '2331','name' => '(DNI) - Wad Medani Airport, Wad Medani, Sudan','country_id' => '192'),\narray('id' => '2332','name' => '(WUU) - Wau Airport, Wau, South Sudan','country_id' => '203'),\narray('id' => '2333','name' => '(ZLX) - Zalingei Airport, Zalingei, Sudan','country_id' => '192'),\narray('id' => '2334','name' => '(ARK) - Arusha Airport, Arusha, Tanzania','country_id' => '224'),\narray('id' => '2335','name' => '(BKZ) - Bukoba Airport, Bukoba, Tanzania','country_id' => '224'),\narray('id' => '2336','name' => '(DAR) - Julius Nyerere International Airport, Dar es Salaam, Tanzania','country_id' => '224'),\narray('id' => '2337','name' => '(DOD) - Dodoma Airport, Dodoma, Tanzania','country_id' => '224'),\narray('id' => '2338','name' => '(IRI) - Iringa Airport, Nduli, Tanzania','country_id' => '224'),\narray('id' => '2339','name' => '(TKQ) - Kigoma Airport, Kigoma, Tanzania','country_id' => '224'),\narray('id' => '2340','name' => '(KIY) - Kilwa Masoko Airport, Kilwa Masoko, Tanzania','country_id' => '224'),\narray('id' => '2341','name' => '(JRO) - Kilimanjaro International Airport, Arusha, Tanzania','country_id' => '224'),\narray('id' => '2342','name' => '(LDI) - Kikwetu Airport, Lindi, Tanzania','country_id' => '224'),\narray('id' => '2343','name' => '(LKY) - Lake Manyara Airport, Lake Manyara National Park, Tanzania','country_id' => '224'),\narray('id' => '2344','name' => '(HTM) - Khatgal Airport, Hatgal, Mongolia','country_id' => '143'),\narray('id' => '2345','name' => '(MFA) - Mafia Island Airport, Mafia Island, Tanzania','country_id' => '224'),\narray('id' => '2346','name' => '(MBI) - Mbeya Airport, Mbeya, Tanzania','country_id' => '224'),\narray('id' => '2347','name' => '(MWN) - Mwadui Airport, Mwadui, Tanzania','country_id' => '224'),\narray('id' => '2348','name' => '(XMI) - Masasi Airport, Masasi, Tanzania','country_id' => '224'),\narray('id' => '2349','name' => '(QSI) - Moshi Airport, Moshi, Tanzania','country_id' => '224'),\narray('id' => '2350','name' => '(MYW) - Mtwara Airport, Mtwara, Tanzania','country_id' => '224'),\narray('id' => '2351','name' => '(MUZ) - Musoma Airport, Musoma, Tanzania','country_id' => '224'),\narray('id' => '2352','name' => '(MWZ) - Mwanza Airport, Mwanza, Tanzania','country_id' => '224'),\narray('id' => '2353','name' => '(NCH) - Nachingwea Airport, Nachingwea, Tanzania','country_id' => '224'),\narray('id' => '2354','name' => '(JOM) - Njombe Airport, Njombe, Tanzania','country_id' => '224'),\narray('id' => '2355','name' => '(PMA) - Pemba Airport, Chake, Tanzania','country_id' => '224'),\narray('id' => '2356','name' => '(SEU) - Seronera Airport, Seronera, Tanzania','country_id' => '224'),\narray('id' => '2357','name' => '(SGX) - Songea Airport, Songea, Tanzania','country_id' => '224'),\narray('id' => '2358','name' => '(SUT) - Sumbawanga Airport, Sumbawanga, Tanzania','country_id' => '224'),\narray('id' => '2359','name' => '(SHY) - Shinyanga Airport, Shinyanga, Tanzania','country_id' => '224'),\narray('id' => '2360','name' => '(TBO) - Tabora Airport, Tabora, Tanzania','country_id' => '224'),\narray('id' => '2361','name' => '(TGT) - Tanga Airport, Tanga, Tanzania','country_id' => '224'),\narray('id' => '2362','name' => '(ZNZ) - Abeid Amani Karume International Airport, Zanzibar, Tanzania','country_id' => '224'),\narray('id' => '2363','name' => '(RUA) - Arua Airport, Arua, Uganda','country_id' => '226'),\narray('id' => '2364','name' => '(EBB) - Entebbe International Airport, Kampala, Uganda','country_id' => '226'),\narray('id' => '2365','name' => '(ULU) - Gulu Airport, Gulu, Uganda','country_id' => '226'),\narray('id' => '2366','name' => '(JIN) - Jinja Airport, Jinja, Uganda','country_id' => '226'),\narray('id' => '2367','name' => '(PAF) - Pakuba Airfield, Kabalega Falls, Uganda','country_id' => '226'),\narray('id' => '2368','name' => '(KSE) - Kasese Airport, Kasese, Uganda','country_id' => '226'),\narray('id' => '2369','name' => '(MBQ) - Mbarara Airport, Mbarara, Uganda','country_id' => '226'),\narray('id' => '2370','name' => '(KCU) - Masindi Airport, Masindi, Uganda','country_id' => '226'),\narray('id' => '2371','name' => '(SRT) - Soroti Airport, Soroti, Uganda','country_id' => '226'),\narray('id' => '2372','name' => '(TRY) - Tororo Airport, Tororo, Uganda','country_id' => '226'),\narray('id' => '2373','name' => '(HWA) - Hawabango Airport, Hawabango, Papua New Guinea','country_id' => '172'),\narray('id' => '2374','name' => '(IBI) - Iboki Airport, Iboki, Papua New Guinea','country_id' => '172'),\narray('id' => '2375','name' => '(IBL) - Indigo Bay Lodge Airport, Bazaruto Island, Mozambique','country_id' => '155'),\narray('id' => '2376','name' => '(ICO) - Sicogon Airstrip, Sicogon Island, Philippines','country_id' => '173'),\narray('id' => '2377','name' => '(PPJ) - Pulau Panjang Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '2378','name' => '(BWX) - Blimbingsari Airport, Banyuwangi, Indonesia','country_id' => '97'),\narray('id' => '2379','name' => '(AAS) - Apalapsili Airport, Apalapsili, Indonesia','country_id' => '97'),\narray('id' => '2380','name' => '(AGD) - Anggi Airport, Anggi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2381','name' => '(AKQ) - Gunung Batin Airport, Astraksetra-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2382','name' => '(AYW) - Ayawasi Airport, Ayawasi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2383','name' => '(BJG) - Boalang Airport, Boalang-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '2384','name' => '(BXM) - Batom Airport, Batom-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2385','name' => '(DRH) - Dabra Airport, Dabra-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2386','name' => '(ELR) - Elelim Airport, Elelim-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2387','name' => '(EWE) - Ewer Airport, Asmat, Indonesia','country_id' => '97'),\narray('id' => '2388','name' => '(FOO) - Kornasoren Airfield, Kornasoren-Numfoor Island, Indonesia','country_id' => '97'),\narray('id' => '2389','name' => '(GAV) - Gag Island Airport, Gag Island, Indonesia','country_id' => '97'),\narray('id' => '2390','name' => '(IUL) - Ilu Airport, Ilu-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2391','name' => '(KBF) - Karubaga Airport, Karubaga-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2392','name' => '(KBX) - Kambuaya Airport, Kambuaya-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2393','name' => '(KCD) - Kamur Airport, Kamur-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2394','name' => '(KCI) - Kon Airport, Kon, Timor-Leste','country_id' => '216'),\narray('id' => '2395','name' => '(KEA) - Keisah Airport, Keisah-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2396','name' => '(KMM) - Kiman Airport, Kiman-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2397','name' => '(KOD) - Kotabangun Airport, Kotabangun-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2398','name' => '(KRC) - Departi Parbo Airport, Sungai Penuh, Indonesia','country_id' => '97'),\narray('id' => '2399','name' => '(KWB) - Dewadaru Airport, Karimunjawa-Karimunjawa Island, Indonesia','country_id' => '97'),\narray('id' => '2400','name' => '(LLN) - Kelila Airport, Kelila-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2401','name' => '(LWE) - Lewoleba Airport, Lewoleba-Lembata Island, Indonesia','country_id' => '97'),\narray('id' => '2402','name' => '(LYK) - Lunyuk Airport, Lunyuk-Simbawa Island, Indonesia','country_id' => '97'),\narray('id' => '2403','name' => '(MJY) - Mangunjaya Airport, Mangungaya-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2404','name' => '(MPT) - Maliana airport, Maliana-Alor Island, Indonesia','country_id' => '97'),\narray('id' => '2405','name' => '(MSI) - Masalembo Airport, Masalembo Island, Indonesia','country_id' => '97'),\narray('id' => '2406','name' => '(MUF) - Muting Airport, Muting, Indonesia','country_id' => '97'),\narray('id' => '2407','name' => '(NAF) - Banaina Airport, Banaina-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2408','name' => '(OBD) - Obano Airport, Obano-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2409','name' => '(PPJ) - Pulau Panjang Airport, Pulau Panjang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2410','name' => '(PUM) - Pomala Airport, Kolaka, Indonesia','country_id' => '97'),\narray('id' => '2411','name' => '(PWL) - Purwokerto Airport, Purwokerto-Java Island, Indonesia','country_id' => '97'),\narray('id' => '2412','name' => '(RAQ) - Sugimanuru Airport, Raha-Muna Island, Indonesia','country_id' => '97'),\narray('id' => '2413','name' => '(RKI) - Rokot Airport, Rokot-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2414','name' => '(RTI) - Roti Airport, Roti-Rote Island, Indonesia','country_id' => '97'),\narray('id' => '2415','name' => '(RUF) - Yuruf Airport, Amgotro, Indonesia','country_id' => '97'),\narray('id' => '2416','name' => '(RZS) - Sawan Airport, Sawan-Bali Island, Indonesia','country_id' => '97'),\narray('id' => '2417','name' => '(SAE) - Sangir Airport, Sangir-Simbawa Island, Indonesia','country_id' => '97'),\narray('id' => '2418','name' => '(TBM) - Tumbang Samba Airport, Tumbang Samba-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2419','name' => '(TMY) - Tiom Airport, Tiom-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2420','name' => '(ZEG) - Senggo Airport, Senggo-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2421','name' => '(UGU) - Bilogai-Sugapa Airport, Sugapa-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2422','name' => '(IDN) - Indagen Airport, Indagen, Papua New Guinea','country_id' => '172'),\narray('id' => '2423','name' => '(CHE) - Reeroe Airport, Caherciveen, Ireland','country_id' => '98'),\narray('id' => '2424','name' => '(IMA) - Iamalele Airport, Iamalele, Fergusson Island, Papua New Guinea','country_id' => '172'),\narray('id' => '2425','name' => '(IMG) - Inhaminga Airport, Inhaminga, Mozambique','country_id' => '155'),\narray('id' => '2426','name' => '(VDY) - Vijayanagar Aerodrome (JSW), , India','country_id' => '101'),\narray('id' => '2427','name' => '(JGB) - Jagdalpur Airport, Jagdalpur, India','country_id' => '101'),\narray('id' => '2428','name' => '(NVY) - Neyveli Airport, Neyveli, India','country_id' => '101'),\narray('id' => '2429','name' => '(RJI) - Rajouri Airport, Rajouri, India','country_id' => '101'),\narray('id' => '2430','name' => '(TEI) - Tezu Airport, Tezu, India','country_id' => '101'),\narray('id' => '2431','name' => '(INE) - Chinde Airport, Chinde, Mozambique','country_id' => '155'),\narray('id' => '2432','name' => '(IOK) - Iokea Airport, Iokea, Papua New Guinea','country_id' => '172'),\narray('id' => '2433','name' => '(IOP) - Ioma Airport, Ioma, Papua New Guinea','country_id' => '172'),\narray('id' => '2434','name' => '(KHA) - Khaneh Airport, Khaneh, Iran','country_id' => '104'),\narray('id' => '2435','name' => '(GSM) - Gheshm Airport, Gheshm, Iran','country_id' => '104'),\narray('id' => '2436','name' => '(ITK) - Itokama Airport, Itokama, Papua New Guinea','country_id' => '172'),\narray('id' => '2437','name' => '(IVI) - Viveros Island Airport, Isla Viveros, Panama','country_id' => '169'),\narray('id' => '2438','name' => '(JGD) - Jiagedaqi Airport, Jiagedaqi, China','country_id' => '45'),\narray('id' => '2439','name' => '(JIC) - Jinchuan Airport, Jinchang, China','country_id' => '45'),\narray('id' => '2440','name' => '(JIQ) - Qianjiang Wulingshan Airport, Qianjiang, China','country_id' => '45'),\narray('id' => '2441','name' => '(JLA) - Quartz Creek Airport, Cooper Landing, United States','country_id' => '228'),\narray('id' => '2442','name' => '(JOP) - Josephstaal Airport, Josephstaal, Papua New Guinea','country_id' => '172'),\narray('id' => '2443','name' => '(JUH) - Jiuhuashan Airport, Chizhou, China','country_id' => '45'),\narray('id' => '2444','name' => '(AMK) - Animas Air Park, Durango, United States','country_id' => '228'),\narray('id' => '2445','name' => '(BDX) - Broadus Airport, Broadus, United States','country_id' => '228'),\narray('id' => '2446','name' => '(EUE) - Eureka Airport, Eureka, United States','country_id' => '228'),\narray('id' => '2447','name' => '(KPT) - Jackpot Airport/Hayden Field, Jackpot, United States','country_id' => '228'),\narray('id' => '2448','name' => '(RLA) - Rolla Downtown Airport, Rolla, United States','country_id' => '228'),\narray('id' => '2449','name' => '(FID) - Elizabeth Field, Fishers Island, United States','country_id' => '228'),\narray('id' => '2450','name' => '(HUD) - Humboldt Municipal Airport, Humboldt, United States','country_id' => '228'),\narray('id' => '2451','name' => '(TWD) - Jefferson County International Airport, Port Townsend, United States','country_id' => '228'),\narray('id' => '2452','name' => '(HCC) - Columbia County Airport, Hudson, United States','country_id' => '228'),\narray('id' => '2453','name' => '(AHD) - Ardmore Downtown Executive Airport, Ardmore, United States','country_id' => '228'),\narray('id' => '2454','name' => '(GCW) - Grand Canyon West Airport, Peach Springs, United States','country_id' => '228'),\narray('id' => '2455','name' => '(CKE) - Lampson Field, Lakeport, United States','country_id' => '228'),\narray('id' => '2456','name' => '(ROF) - Montague-Yreka Rohrer Field, Montague, United States','country_id' => '228'),\narray('id' => '2457','name' => '(CNE) - Fremont County Airport, CaAon City, United States','country_id' => '228'),\narray('id' => '2458','name' => '(COP) - Cooperstown-Westville Airport, Cooperstown, United States','country_id' => '228'),\narray('id' => '2459','name' => '(CIL) - Council Airport, Council, United States','country_id' => '228'),\narray('id' => '2460','name' => '(IRB) - Iraan Municipal Airport, Iraan, United States','country_id' => '228'),\narray('id' => '2461','name' => '(GNF) - Gansner Field, Quincy, United States','country_id' => '228'),\narray('id' => '2462','name' => '(CHZ) - Chiloquin State Airport, Chiloquin, United States','country_id' => '228'),\narray('id' => '2463','name' => '(LTW) - St. Mary\\'s County Regional Airport, Leonardtown, United States','country_id' => '228'),\narray('id' => '2464','name' => '(AHF) - Arapahoe Municipal Airport, Arapahoe, United States','country_id' => '228'),\narray('id' => '2465','name' => '(PCT) - Princeton Airport, Princeton/Rocky Hill, United States','country_id' => '228'),\narray('id' => '2466','name' => '(CTO) - Calverton Executive Airpark, Calverton, United States','country_id' => '228'),\narray('id' => '2467','name' => '(NRI) - Grand Lake Regional Airport, Afton, United States','country_id' => '228'),\narray('id' => '2468','name' => '(GTP) - Grants Pass Airport, Grants Pass, United States','country_id' => '228'),\narray('id' => '2469','name' => '(NLE) - Jerry Tyler Memorial Airport, Niles, United States','country_id' => '228'),\narray('id' => '2470','name' => '(GCD) - Grand Coulee Dam Airport, Electric City, United States','country_id' => '228'),\narray('id' => '2471','name' => '(VLE) - Valle Airport, Grand Canyon, United States','country_id' => '228'),\narray('id' => '2472','name' => '(FPY) - Perry-Foley Airport, Perry, United States','country_id' => '228'),\narray('id' => '2473','name' => '(NTJ) - Manti-Ephraim Airport, Manti, United States','country_id' => '228'),\narray('id' => '2474','name' => '(SBO) - Salina Gunnison Airport, Salina, United States','country_id' => '228'),\narray('id' => '2475','name' => '(JVI) - Central Jersey Regional Airport, Manville, United States','country_id' => '228'),\narray('id' => '2476','name' => '(UCE) - Eunice Airport, Eunice, United States','country_id' => '228'),\narray('id' => '2477','name' => '(GOL) - Gold Beach Municipal Airport, Gold Beach, United States','country_id' => '228'),\narray('id' => '2478','name' => '(KKT) - Kentland Municipal Airport, Kentland, United States','country_id' => '228'),\narray('id' => '2479','name' => '(FHB) - Fernandina Beach Municipal Airport, Fernandina Beach, United States','country_id' => '228'),\narray('id' => '2480','name' => '(PRW) - Prentice Airport, Prentice, United States','country_id' => '228'),\narray('id' => '2481','name' => '(EGP) - Maverick County Memorial International Airport, Eagle Pass, United States','country_id' => '228'),\narray('id' => '2482','name' => '(BLD) - Boulder City Municipal Airport, Boulder City, United States','country_id' => '228'),\narray('id' => '2483','name' => '(MFH) - Mesquite Airport, Mesquite, United States','country_id' => '228'),\narray('id' => '2484','name' => '(ECA) - Iosco County Airport, East Tawas, United States','country_id' => '228'),\narray('id' => '2485','name' => '(FMU) - Florence Municipal Airport, Florence, United States','country_id' => '228'),\narray('id' => '2486','name' => '(ROL) - Roosevelt Municipal Airport, Roosevelt, United States','country_id' => '228'),\narray('id' => '2487','name' => '(WPO) - North Fork Valley Airport, Paonia, United States','country_id' => '228'),\narray('id' => '2488','name' => '(ATE) - Antlers Municipal Airport, Antlers, United States','country_id' => '228'),\narray('id' => '2489','name' => '(QWG) - Wilgrove Air Park, Charlotte, United States','country_id' => '228'),\narray('id' => '2490','name' => '(ASQ) - Austin Airport, Austin, United States','country_id' => '228'),\narray('id' => '2491','name' => '(AAF) - Apalachicola Regional Airport, Apalachicola, United States','country_id' => '228'),\narray('id' => '2492','name' => '(ABE) - Lehigh Valley International Airport, Allentown, United States','country_id' => '228'),\narray('id' => '2493','name' => '(ABI) - Abilene Regional Airport, Abilene, United States','country_id' => '228'),\narray('id' => '2494','name' => '(ABQ) - Albuquerque International Sunport Airport, Albuquerque, United States','country_id' => '228'),\narray('id' => '2495','name' => '(ABR) - Aberdeen Regional Airport, Aberdeen, United States','country_id' => '228'),\narray('id' => '2496','name' => '(ABY) - Southwest Georgia Regional Airport, Albany, United States','country_id' => '228'),\narray('id' => '2497','name' => '(ACB) - Antrim County Airport, Bellaire, United States','country_id' => '228'),\narray('id' => '2498','name' => '(ACK) - Nantucket Memorial Airport, Nantucket, United States','country_id' => '228'),\narray('id' => '2499','name' => '(ACT) - Waco Regional Airport, Waco, United States','country_id' => '228'),\narray('id' => '2500','name' => '(ACV) - Arcata Airport, Arcata/Eureka, United States','country_id' => '228'),\narray('id' => '2501','name' => '(ACY) - Atlantic City International Airport, Atlantic City, United States','country_id' => '228'),\narray('id' => '2502','name' => '(ADG) - Lenawee County Airport, Adrian, United States','country_id' => '228'),\narray('id' => '2503','name' => '(ADT) - Ada Municipal Airport, Ada, United States','country_id' => '228'),\narray('id' => '2504','name' => '(ADM) - Ardmore Municipal Airport, Ardmore, United States','country_id' => '228'),\narray('id' => '2505','name' => '(ADS) - Addison Airport, Dallas, United States','country_id' => '228'),\narray('id' => '2506','name' => '(ADW) - Andrews Air Force Base, Camp Springs, United States','country_id' => '228'),\narray('id' => '2507','name' => '(AEL) - Albert Lea Municipal Airport, Albert Lea, United States','country_id' => '228'),\narray('id' => '2508','name' => '(AEX) - Alexandria International Airport, Alexandria, United States','country_id' => '228'),\narray('id' => '2509','name' => '(KAF) - Karato Airport, Karato, Papua New Guinea','country_id' => '172'),\narray('id' => '2510','name' => '(AFF) - USAF Academy Airfield, Colorado Springs, United States','country_id' => '228'),\narray('id' => '2511','name' => '(WSG) - Washington County Airport, Washington, United States','country_id' => '228'),\narray('id' => '2512','name' => '(AFN) - Jaffrey Airport Silver Ranch Airport, Jaffrey, United States','country_id' => '228'),\narray('id' => '2513','name' => '(AFO) - Afton Municipal Airport, Afton, United States','country_id' => '228'),\narray('id' => '2514','name' => '(AFW) - Fort Worth Alliance Airport, Fort Worth, United States','country_id' => '228'),\narray('id' => '2515','name' => '(AGC) - Allegheny County Airport, Pittsburgh, United States','country_id' => '228'),\narray('id' => '2516','name' => '(AGO) - Magnolia Municipal Airport, Magnolia, United States','country_id' => '228'),\narray('id' => '2517','name' => '(AGS) - Augusta Regional At Bush Field, Augusta, United States','country_id' => '228'),\narray('id' => '2518','name' => '(AHC) - Amedee Army Air Field, Herlong, United States','country_id' => '228'),\narray('id' => '2519','name' => '(AHH) - Amery Municipal Airport, Amery, United States','country_id' => '228'),\narray('id' => '2520','name' => '(AHN) - Athens Ben Epps Airport, Athens, United States','country_id' => '228'),\narray('id' => '2521','name' => '(AIA) - Alliance Municipal Airport, Alliance, United States','country_id' => '228'),\narray('id' => '2522','name' => '(AID) - Anderson Municipal Darlington Field, Anderson, United States','country_id' => '228'),\narray('id' => '2523','name' => '(AIK) - Aiken Municipal Airport, Aiken, United States','country_id' => '228'),\narray('id' => '2524','name' => '(AIO) - Atlantic Municipal Airport, Atlantic, United States','country_id' => '228'),\narray('id' => '2525','name' => '(AIV) - George Downer Airport, Aliceville, United States','country_id' => '228'),\narray('id' => '2526','name' => '(AIZ) - Lee C Fine Memorial Airport, Kaiser Lake Ozark, United States','country_id' => '228'),\narray('id' => '2527','name' => '(AKO) - Colorado Plains Regional Airport, Akron, United States','country_id' => '228'),\narray('id' => '2528','name' => '(AKC) - Akron Fulton International Airport, Akron, United States','country_id' => '228'),\narray('id' => '2529','name' => '(ALB) - Albany International Airport, Albany, United States','country_id' => '228'),\narray('id' => '2530','name' => '(ALI) - Alice International Airport, Alice, United States','country_id' => '228'),\narray('id' => '2531','name' => '(ALM) - Alamogordo White Sands Regional Airport, Alamogordo, United States','country_id' => '228'),\narray('id' => '2532','name' => '(ALN) - St Louis Regional Airport, Alton/St Louis, United States','country_id' => '228'),\narray('id' => '2533','name' => '(ALO) - Waterloo Regional Airport, Waterloo, United States','country_id' => '228'),\narray('id' => '2534','name' => '(ALS) - San Luis Valley Regional Bergman Field, Alamosa, United States','country_id' => '228'),\narray('id' => '2535','name' => '(ALW) - Walla Walla Regional Airport, Walla Walla, United States','country_id' => '228'),\narray('id' => '2536','name' => '(ALX) - Thomas C Russell Field, Alexander City, United States','country_id' => '228'),\narray('id' => '2537','name' => '(AMA) - Rick Husband Amarillo International Airport, Amarillo, United States','country_id' => '228'),\narray('id' => '2538','name' => '(AMN) - Gratiot Community Airport, Alma, United States','country_id' => '228'),\narray('id' => '2539','name' => '(AMW) - Ames Municipal Airport, Ames, United States','country_id' => '228'),\narray('id' => '2540','name' => '(ANB) - Anniston Metropolitan Airport, Anniston, United States','country_id' => '228'),\narray('id' => '2541','name' => '(AND) - Anderson Regional Airport, Anderson, United States','country_id' => '228'),\narray('id' => '2542','name' => '(SLT) - Harriet Alexander Field, Salida, United States','country_id' => '228'),\narray('id' => '2543','name' => '(ANP) - Lee Airport, Annapolis, United States','country_id' => '228'),\narray('id' => '2544','name' => '(ANQ) - Tri State Steuben County Airport, Angola, United States','country_id' => '228'),\narray('id' => '2545','name' => '(ANW) - Ainsworth Municipal Airport, Ainsworth, United States','country_id' => '228'),\narray('id' => '2546','name' => '(ANY) - Anthony Municipal Airport, Anthony, United States','country_id' => '228'),\narray('id' => '2547','name' => '(AOH) - Lima Allen County Airport, Lima, United States','country_id' => '228'),\narray('id' => '2548','name' => '(AOO) - Altoona Blair County Airport, Altoona, United States','country_id' => '228'),\narray('id' => '2549','name' => '(APA) - Centennial Airport, Denver, United States','country_id' => '228'),\narray('id' => '2550','name' => '(APC) - Napa County Airport, Napa, United States','country_id' => '228'),\narray('id' => '2551','name' => '(APF) - Naples Municipal Airport, Naples, United States','country_id' => '228'),\narray('id' => '2552','name' => '(APG) - Phillips Army Air Field, Aberdeen Proving Grounds(Aberdeen), United States','country_id' => '228'),\narray('id' => '2553','name' => '(APH) - A P Hill Aaf (Fort A P Hill) Airport, Fort A. P. Hill, United States','country_id' => '228'),\narray('id' => '2554','name' => '(APN) - Alpena County Regional Airport, Alpena, United States','country_id' => '228'),\narray('id' => '2555','name' => '(APT) - Marion County Brown Field, Jasper, United States','country_id' => '228'),\narray('id' => '2556','name' => '(APV) - Apple Valley Airport, Apple Valley, United States','country_id' => '228'),\narray('id' => '2557','name' => '(KAQ) - Kamulai Airport, Kamulai Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2558','name' => '(ARA) - Acadiana Regional Airport, New Iberia, United States','country_id' => '228'),\narray('id' => '2559','name' => '(ARB) - Ann Arbor Municipal Airport, Ann Arbor, United States','country_id' => '228'),\narray('id' => '2560','name' => '(ARG) - Walnut Ridge Regional Airport, Walnut Ridge, United States','country_id' => '228'),\narray('id' => '2561','name' => '(WHT) - Wharton Regional Airport, Wharton, United States','country_id' => '228'),\narray('id' => '2562','name' => '(AUZ) - Aurora Municipal Airport, Chicago/Aurora, United States','country_id' => '228'),\narray('id' => '2563','name' => '(ART) - Watertown International Airport, Watertown, United States','country_id' => '228'),\narray('id' => '2564','name' => '(ARV) - Lakeland-Noble F. Lee Memorial field, Minocqua-Woodruff, United States','country_id' => '228'),\narray('id' => '2565','name' => '(BFT) - Beaufort County Airport, Beaufort, United States','country_id' => '228'),\narray('id' => '2566','name' => '(ASE) - Aspen-Pitkin Co/Sardy Field, Aspen, United States','country_id' => '228'),\narray('id' => '2567','name' => '(SPZ) - Springdale Municipal Airport, Springdale, United States','country_id' => '228'),\narray('id' => '2568','name' => '(ASH) - Boire Field, Nashua, United States','country_id' => '228'),\narray('id' => '2569','name' => '(ASL) - Harrison County Airport, Marshall, United States','country_id' => '228'),\narray('id' => '2570','name' => '(ASN) - Talladega Municipal Airport, Talladega, United States','country_id' => '228'),\narray('id' => '2571','name' => '(AST) - Astoria Regional Airport, Astoria, United States','country_id' => '228'),\narray('id' => '2572','name' => '(ASX) - John F Kennedy Memorial Airport, Ashland, United States','country_id' => '228'),\narray('id' => '2573','name' => '(ASY) - Ashley Municipal Airport, Ashley, United States','country_id' => '228'),\narray('id' => '2574','name' => '(ATL) - Hartsfield Jackson Atlanta International Airport, Atlanta, United States','country_id' => '228'),\narray('id' => '2575','name' => '(ATS) - Artesia Municipal Airport, Artesia, United States','country_id' => '228'),\narray('id' => '2576','name' => '(ATW) - Appleton International Airport, Appleton, United States','country_id' => '228'),\narray('id' => '2577','name' => '(ATY) - Watertown Regional Airport, Watertown, United States','country_id' => '228'),\narray('id' => '2578','name' => '(AUG) - Augusta State Airport, Augusta, United States','country_id' => '228'),\narray('id' => '2579','name' => '(AUM) - Austin Municipal Airport, Austin, United States','country_id' => '228'),\narray('id' => '2580','name' => '(AUN) - Auburn Municipal Airport, Auburn, United States','country_id' => '228'),\narray('id' => '2581','name' => '(AUO) - Auburn Opelika Robert G. Pitts Airport, Auburn, United States','country_id' => '228'),\narray('id' => '2582','name' => '(AUS) - Austin Bergstrom International Airport, Austin, United States','country_id' => '228'),\narray('id' => '2583','name' => '(AUW) - Wausau Downtown Airport, Wausau, United States','country_id' => '228'),\narray('id' => '2584','name' => '(AVL) - Asheville Regional Airport, Asheville, United States','country_id' => '228'),\narray('id' => '2585','name' => '(AVO) - Avon Park Executive Airport, Avon Park, United States','country_id' => '228'),\narray('id' => '2586','name' => '(AVP) - Wilkes Barre Scranton International Airport, Wilkes-Barre/Scranton, United States','country_id' => '228'),\narray('id' => '2587','name' => '(AVW) - Marana Regional Airport, Tucson, United States','country_id' => '228'),\narray('id' => '2588','name' => '(AVX) - Catalina Airport, Avalon, United States','country_id' => '228'),\narray('id' => '2589','name' => '(AWM) - West Memphis Municipal Airport, West Memphis, United States','country_id' => '228'),\narray('id' => '2590','name' => '(AXG) - Algona Municipal Airport, Algona, United States','country_id' => '228'),\narray('id' => '2591','name' => '(AXN) - Chandler Field, Alexandria, United States','country_id' => '228'),\narray('id' => '2592','name' => '(AXS) - Altus Quartz Mountain Regional Airport, Altus, United States','country_id' => '228'),\narray('id' => '2593','name' => '(AXV) - Neil Armstrong Airport, Wapakoneta, United States','country_id' => '228'),\narray('id' => '2594','name' => '(AXX) - Angel Fire Airport, Angel Fire, United States','country_id' => '228'),\narray('id' => '2595','name' => '(AYS) - Waycross Ware County Airport, Waycross, United States','country_id' => '228'),\narray('id' => '2596','name' => '(TUH) - Arnold Air Force Base, Tullahoma, United States','country_id' => '228'),\narray('id' => '2597','name' => '(AZO) - Kalamazoo Battle Creek International Airport, Kalamazoo, United States','country_id' => '228'),\narray('id' => '2598','name' => '(BAB) - Beale Air Force Base, Marysville, United States','country_id' => '228'),\narray('id' => '2599','name' => '(BAD) - Barksdale Air Force Base, Bossier City, United States','country_id' => '228'),\narray('id' => '2600','name' => '(BAF) - Barnes Municipal Airport, Westfield/Springfield, United States','country_id' => '228'),\narray('id' => '2601','name' => '(CLU) - Columbus Municipal Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2602','name' => '(BAM) - Battle Mountain Airport, Battle Mountain, United States','country_id' => '228'),\narray('id' => '2603','name' => '(BBB) - Benson Municipal Airport, Benson, United States','country_id' => '228'),\narray('id' => '2604','name' => '(BBD) - Curtis Field, Brady, United States','country_id' => '228'),\narray('id' => '2605','name' => '(BTN) - Marlboro County Jetport H.E. Avent Field, Bennettsville, United States','country_id' => '228'),\narray('id' => '2606','name' => '(BBW) - Broken Bow Municipal Airport, Broken Bow, United States','country_id' => '228'),\narray('id' => '2607','name' => '(BCB) - Virginia Tech Montgomery Executive Airport, Blacksburg, United States','country_id' => '228'),\narray('id' => '2608','name' => '(BCE) - Bryce Canyon Airport, Bryce Canyon, United States','country_id' => '228'),\narray('id' => '2609','name' => '(BCT) - Boca Raton Airport, Boca Raton, United States','country_id' => '228'),\narray('id' => '2610','name' => '(BDE) - Baudette International Airport, Baudette, United States','country_id' => '228'),\narray('id' => '2611','name' => '(BDG) - Blanding Municipal Airport, Blanding, United States','country_id' => '228'),\narray('id' => '2612','name' => '(BDL) - Bradley International Airport, Hartford, United States','country_id' => '228'),\narray('id' => '2613','name' => '(BDR) - Igor I Sikorsky Memorial Airport, Bridgeport, United States','country_id' => '228'),\narray('id' => '2614','name' => '(WBU) - Boulder Municipal Airport, Boulder, United States','country_id' => '228'),\narray('id' => '2615','name' => '(BEC) - Beech Factory Airport, Wichita, United States','country_id' => '228'),\narray('id' => '2616','name' => '(BED) - Laurence G Hanscom Field, Bedford, United States','country_id' => '228'),\narray('id' => '2617','name' => '(BEH) - Southwest Michigan Regional Airport, Benton Harbor, United States','country_id' => '228'),\narray('id' => '2618','name' => '(BFD) - Bradford Regional Airport, Bradford, United States','country_id' => '228'),\narray('id' => '2619','name' => '(BFF) - Western Neb. Rgnl/William B. Heilig Airport, Scottsbluff, United States','country_id' => '228'),\narray('id' => '2620','name' => '(BFI) - Boeing Field King County International Airport, Seattle, United States','country_id' => '228'),\narray('id' => '2621','name' => '(BFL) - Meadows Field, Bakersfield, United States','country_id' => '228'),\narray('id' => '2622','name' => '(BFM) - Mobile Downtown Airport, Mobile, United States','country_id' => '228'),\narray('id' => '2623','name' => '(BFR) - Virgil I Grissom Municipal Airport, Bedford, United States','country_id' => '228'),\narray('id' => '2624','name' => '(BGD) - Hutchinson County Airport, Borger, United States','country_id' => '228'),\narray('id' => '2625','name' => '(BGE) - Decatur County Industrial Air Park, Bainbridge, United States','country_id' => '228'),\narray('id' => '2626','name' => '(BGM) - Greater Binghamton/Edwin A Link field, Binghamton, United States','country_id' => '228'),\narray('id' => '2627','name' => '(BGR) - Bangor International Airport, Bangor, United States','country_id' => '228'),\narray('id' => '2628','name' => '(BHB) - Hancock County-Bar Harbor Airport, Bar Harbor, United States','country_id' => '228'),\narray('id' => '2629','name' => '(BHM) - Birmingham-Shuttlesworth International Airport, Birmingham, United States','country_id' => '228'),\narray('id' => '2630','name' => '(BID) - Block Island State Airport, Block Island, United States','country_id' => '228'),\narray('id' => '2631','name' => '(BIE) - Beatrice Municipal Airport, Beatrice, United States','country_id' => '228'),\narray('id' => '2632','name' => '(BIF) - Biggs Army Air Field (Fort Bliss), Fort Bliss/El Paso, United States','country_id' => '228'),\narray('id' => '2633','name' => '(BIH) - Eastern Sierra Regional Airport, Bishop, United States','country_id' => '228'),\narray('id' => '2634','name' => '(BIL) - Billings Logan International Airport, Billings, United States','country_id' => '228'),\narray('id' => '2635','name' => '(BIS) - Bismarck Municipal Airport, Bismarck, United States','country_id' => '228'),\narray('id' => '2636','name' => '(BIX) - Keesler Air Force Base, Biloxi, United States','country_id' => '228'),\narray('id' => '2637','name' => '(BJC) - Rocky Mountain Metropolitan Airport, Denver, United States','country_id' => '228'),\narray('id' => '2638','name' => '(BJI) - Bemidji Regional Airport, Bemidji, United States','country_id' => '228'),\narray('id' => '2639','name' => '(BJJ) - Wayne County Airport, Wooster, United States','country_id' => '228'),\narray('id' => '2640','name' => '(BKD) - Stephens County Airport, Breckenridge, United States','country_id' => '228'),\narray('id' => '2641','name' => '(BKE) - Baker City Municipal Airport, Baker City, United States','country_id' => '228'),\narray('id' => '2642','name' => '(BFK) - Buckley Air Force Base, Aurora, United States','country_id' => '228'),\narray('id' => '2643','name' => '(BKL) - Burke Lakefront Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2644','name' => '(BKT) - Allen C Perkinson Blackstone Army Air Field, Blackstone, United States','country_id' => '228'),\narray('id' => '2645','name' => '(BKW) - Raleigh County Memorial Airport, Beckley, United States','country_id' => '228'),\narray('id' => '2646','name' => '(BKX) - Brookings Regional Airport, Brookings, United States','country_id' => '228'),\narray('id' => '2647','name' => '(BLF) - Mercer County Airport, Bluefield, United States','country_id' => '228'),\narray('id' => '2648','name' => '(BLH) - Blythe Airport, Blythe, United States','country_id' => '228'),\narray('id' => '2649','name' => '(BLI) - Bellingham International Airport, Bellingham, United States','country_id' => '228'),\narray('id' => '2650','name' => '(BLM) - Monmouth Executive Airport, Belmar/Farmingdale, United States','country_id' => '228'),\narray('id' => '2651','name' => '(BLU) - Blue Canyon Nyack Airport, Emigrant Gap, United States','country_id' => '228'),\narray('id' => '2652','name' => '(BLV) - Scott AFB/Midamerica Airport, Belleville, United States','country_id' => '228'),\narray('id' => '2653','name' => '(KBM) - Kabwum, , Papua New Guinea','country_id' => '172'),\narray('id' => '2654','name' => '(BMC) - Brigham City Airport, Brigham City, United States','country_id' => '228'),\narray('id' => '2655','name' => '(BMG) - Monroe County Airport, Bloomington, United States','country_id' => '228'),\narray('id' => '2656','name' => '(BMI) - Central Illinois Regional Airport at Bloomington-Normal, Bloomington/Normal, United States','country_id' => '228'),\narray('id' => '2657','name' => '(BML) - Berlin Regional Airport, Berlin, United States','country_id' => '228'),\narray('id' => '2658','name' => '(BMT) - Beaumont Municipal Airport, Beaumont, United States','country_id' => '228'),\narray('id' => '2659','name' => '(BNA) - Nashville International Airport, Nashville, United States','country_id' => '228'),\narray('id' => '2660','name' => '(BNG) - Banning Municipal Airport, Banning, United States','country_id' => '228'),\narray('id' => '2661','name' => '(BNL) - Barnwell Regional Airport, Barnwell, United States','country_id' => '228'),\narray('id' => '2662','name' => '(BNO) - Burns Municipal Airport, Burns, United States','country_id' => '228'),\narray('id' => '2663','name' => '(BNW) - Boone Municipal Airport, Boone, United States','country_id' => '228'),\narray('id' => '2664','name' => '(BOI) - Boise Air Terminal/Gowen field, Boise, United States','country_id' => '228'),\narray('id' => '2665','name' => '(BOS) - General Edward Lawrence Logan International Airport, Boston, United States','country_id' => '228'),\narray('id' => '2666','name' => '(BOW) - Bartow Municipal Airport, Bartow, United States','country_id' => '228'),\narray('id' => '2667','name' => '(HCA) - Big Spring Mc Mahon-Wrinkle Airport, Big Spring, United States','country_id' => '228'),\narray('id' => '2668','name' => '(BPI) - Miley Memorial Field, Big Piney, United States','country_id' => '228'),\narray('id' => '2669','name' => '(WMH) - Ozark Regional Airport, Mountain Home, United States','country_id' => '228'),\narray('id' => '2670','name' => '(BWM) - Bowman Municipal Airport, Bowman, United States','country_id' => '228'),\narray('id' => '2671','name' => '(BPT) - Southeast Texas Regional Airport, Beaumont/Port Arthur, United States','country_id' => '228'),\narray('id' => '2672','name' => '(BQK) - Brunswick Golden Isles Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '2673','name' => '(BRD) - Brainerd Lakes Regional Airport, Brainerd, United States','country_id' => '228'),\narray('id' => '2674','name' => '(BRL) - Southeast Iowa Regional Airport, Burlington, United States','country_id' => '228'),\narray('id' => '2675','name' => '(BRO) - Brownsville South Padre Island International Airport, Brownsville, United States','country_id' => '228'),\narray('id' => '2676','name' => '(BRY) - Samuels Field, Bardstown, United States','country_id' => '228'),\narray('id' => '2677','name' => '(BTF) - Skypark Airport, Bountiful, United States','country_id' => '228'),\narray('id' => '2678','name' => '(BTL) - W K Kellogg Airport, Battle Creek, United States','country_id' => '228'),\narray('id' => '2679','name' => '(BTM) - Bert Mooney Airport, Butte, United States','country_id' => '228'),\narray('id' => '2680','name' => '(TTO) - Britton Municipal Airport, Britton, United States','country_id' => '228'),\narray('id' => '2681','name' => '(BTP) - Butler County-K W Scholter Field, Butler, United States','country_id' => '228'),\narray('id' => '2682','name' => '(BTR) - Baton Rouge Metropolitan, Ryan Field, Baton Rouge, United States','country_id' => '228'),\narray('id' => '2683','name' => '(BTV) - Burlington International Airport, Burlington, United States','country_id' => '228'),\narray('id' => '2684','name' => '(BTY) - Beatty Airport, Beatty, United States','country_id' => '228'),\narray('id' => '2685','name' => '(BUB) - Cram Field, Burwell, United States','country_id' => '228'),\narray('id' => '2686','name' => '(BUF) - Buffalo Niagara International Airport, Buffalo, United States','country_id' => '228'),\narray('id' => '2687','name' => '(BUM) - Butler Memorial Airport, Butler, United States','country_id' => '228'),\narray('id' => '2688','name' => '(BUR) - Bob Hope Airport, Burbank, United States','country_id' => '228'),\narray('id' => '2689','name' => '(BFP) - Beaver County Airport, Beaver Falls, United States','country_id' => '228'),\narray('id' => '2690','name' => '(BVO) - Bartlesville Municipal Airport, Bartlesville, United States','country_id' => '228'),\narray('id' => '2691','name' => '(MVW) - Skagit Regional Airport, Burlington/Mount Vernon, United States','country_id' => '228'),\narray('id' => '2692','name' => '(BVX) - Batesville Regional Airport, Batesville, United States','country_id' => '228'),\narray('id' => '2693','name' => '(BVY) - Beverly Municipal Airport, Beverly, United States','country_id' => '228'),\narray('id' => '2694','name' => '(BWC) - Brawley Municipal Airport, Brawley, United States','country_id' => '228'),\narray('id' => '2695','name' => '(BWD) - Brownwood Regional Airport, Brownwood, United States','country_id' => '228'),\narray('id' => '2696','name' => '(BWG) - Bowling Green Warren County Regional Airport, Bowling Green, United States','country_id' => '228'),\narray('id' => '2697','name' => '(BWI) - Baltimore/Washington International Thurgood Marshall Airport, Baltimore, United States','country_id' => '228'),\narray('id' => '2698','name' => '(WAH) - Harry Stern Airport, Wahpeton, United States','country_id' => '228'),\narray('id' => '2699','name' => '(BXA) - George R Carr Memorial Air Field, Bogalusa, United States','country_id' => '228'),\narray('id' => '2700','name' => '(BXK) - Buckeye Municipal Airport, Buckeye, United States','country_id' => '228'),\narray('id' => '2701','name' => '(BYG) - Johnson County Airport, Buffalo, United States','country_id' => '228'),\narray('id' => '2702','name' => '(BYH) - Arkansas International Airport, Blytheville, United States','country_id' => '228'),\narray('id' => '2703','name' => '(BYI) - Burley Municipal Airport, Burley, United States','country_id' => '228'),\narray('id' => '2704','name' => '(BYS) - Bicycle Lake Army Air Field, Fort Irwin/Barstow, United States','country_id' => '228'),\narray('id' => '2705','name' => '(BBC) - Bay City Municipal Airport, Bay City, United States','country_id' => '228'),\narray('id' => '2706','name' => '(BZN) - Gallatin Field, Bozeman, United States','country_id' => '228'),\narray('id' => '2707','name' => '(XES) - Grand Geneva Resort Airport, Lake Geneva, United States','country_id' => '228'),\narray('id' => '2708','name' => '(PLY) - Plymouth Municipal Airport, Plymouth, United States','country_id' => '228'),\narray('id' => '2709','name' => '(CLG) - New Coalinga Municipal Airport, Coalinga, United States','country_id' => '228'),\narray('id' => '2710','name' => '(CAD) - Wexford County Airport, Cadillac, United States','country_id' => '228'),\narray('id' => '2711','name' => '(CAE) - Columbia Metropolitan Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2712','name' => '(CIG) - Craig Moffat Airport, Craig, United States','country_id' => '228'),\narray('id' => '2713','name' => '(CAK) - Akron Canton Regional Airport, Akron, United States','country_id' => '228'),\narray('id' => '2714','name' => '(CAO) - Clayton Municipal Airpark, Clayton, United States','country_id' => '228'),\narray('id' => '2715','name' => '(CAR) - Caribou Municipal Airport, Caribou, United States','country_id' => '228'),\narray('id' => '2716','name' => '(CBE) - Greater Cumberland Regional Airport, Cumberland, United States','country_id' => '228'),\narray('id' => '2717','name' => '(CBF) - Council Bluffs Municipal Airport, Council Bluffs, United States','country_id' => '228'),\narray('id' => '2718','name' => '(CBK) - Shalz Field, Colby, United States','country_id' => '228'),\narray('id' => '2719','name' => '(CBM) - Columbus Air Force Base, Columbus, United States','country_id' => '228'),\narray('id' => '2720','name' => '(CCB) - Cable Airport, Upland, United States','country_id' => '228'),\narray('id' => '2721','name' => '(CCR) - Buchanan Field, Concord, United States','country_id' => '228'),\narray('id' => '2722','name' => '(CCY) - Northeast Iowa Regional Airport, Charles City, United States','country_id' => '228'),\narray('id' => '2723','name' => '(LLX) - Caledonia County Airport, Lyndonville, United States','country_id' => '228'),\narray('id' => '2724','name' => '(CDC) - Cedar City Regional Airport, Cedar City, United States','country_id' => '228'),\narray('id' => '2725','name' => '(CDH) - Harrell Field, Camden, United States','country_id' => '228'),\narray('id' => '2726','name' => '(CDN) - Woodward Field, Camden, United States','country_id' => '228'),\narray('id' => '2727','name' => '(CDR) - Chadron Municipal Airport, Chadron, United States','country_id' => '228'),\narray('id' => '2728','name' => '(CDS) - Childress Municipal Airport, Childress, United States','country_id' => '228'),\narray('id' => '2729','name' => '(CDW) - Essex County Airport, Caldwell, United States','country_id' => '228'),\narray('id' => '2730','name' => '(CEA) - Cessna Aircraft Field, Wichita, United States','country_id' => '228'),\narray('id' => '2731','name' => '(CEC) - Jack Mc Namara Field Airport, Crescent City, United States','country_id' => '228'),\narray('id' => '2732','name' => '(CEF) - Westover ARB/Metropolitan Airport, Springfield/Chicopee, United States','country_id' => '228'),\narray('id' => '2733','name' => '(CEU) - Oconee County Regional Airport, Clemson, United States','country_id' => '228'),\narray('id' => '2734','name' => '(CEV) - Mettel Field, Connersville, United States','country_id' => '228'),\narray('id' => '2735','name' => '(CEW) - Bob Sikes Airport, Crestview, United States','country_id' => '228'),\narray('id' => '2736','name' => '(CEY) - Kyle Oakley Field, Murray, United States','country_id' => '228'),\narray('id' => '2737','name' => '(CEZ) - Cortez Municipal Airport, Cortez, United States','country_id' => '228'),\narray('id' => '2738','name' => '(CFD) - Coulter Field, Bryan, United States','country_id' => '228'),\narray('id' => '2739','name' => '(TZC) - Tuscola Area Airport, Caro, United States','country_id' => '228'),\narray('id' => '2740','name' => '(CFT) - Greenlee County Airport, Clifton/Morenci, United States','country_id' => '228'),\narray('id' => '2741','name' => '(CFV) - Coffeyville Municipal Airport, Coffeyville, United States','country_id' => '228'),\narray('id' => '2742','name' => '(CGE) - Cambridge Dorchester Airport, Cambridge, United States','country_id' => '228'),\narray('id' => '2743','name' => '(CGF) - Cuyahoga County Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2744','name' => '(CGI) - Cape Girardeau Regional Airport, Cape Girardeau, United States','country_id' => '228'),\narray('id' => '2745','name' => '(CGS) - College Park Airport, College Park, United States','country_id' => '228'),\narray('id' => '2746','name' => '(CGZ) - Casa Grande Municipal Airport, Casa Grande, United States','country_id' => '228'),\narray('id' => '2747','name' => '(CHA) - Lovell Field, Chattanooga, United States','country_id' => '228'),\narray('id' => '2748','name' => '(CHK) - Chickasha Municipal Airport, Chickasha, United States','country_id' => '228'),\narray('id' => '2749','name' => '(CHO) - Charlottesville Albemarle Airport, Charlottesville, United States','country_id' => '228'),\narray('id' => '2750','name' => '(CHS) - Charleston Air Force Base-International Airport, Charleston, United States','country_id' => '228'),\narray('id' => '2751','name' => '(CIC) - Chico Municipal Airport, Chico, United States','country_id' => '228'),\narray('id' => '2752','name' => '(CID) - The Eastern Iowa Airport, Cedar Rapids, United States','country_id' => '228'),\narray('id' => '2753','name' => '(CIN) - Arthur N Neu Airport, Carroll, United States','country_id' => '228'),\narray('id' => '2754','name' => '(CIR) - Cairo Regional Airport, Cairo, United States','country_id' => '228'),\narray('id' => '2755','name' => '(CIU) - Chippewa County International Airport, Sault Ste Marie, United States','country_id' => '228'),\narray('id' => '2756','name' => '(CKA) - Kegelman AF Aux Field, Cherokee, United States','country_id' => '228'),\narray('id' => '2757','name' => '(CKB) - North Central West Virginia Airport, Clarksburg, United States','country_id' => '228'),\narray('id' => '2758','name' => '(GRM) - Grand Marais Cook County Airport, Grand Marais, United States','country_id' => '228'),\narray('id' => '2759','name' => '(CKM) - Fletcher Field, Clarksdale, United States','country_id' => '228'),\narray('id' => '2760','name' => '(CKN) - Crookston Municipal Kirkwood Field, Crookston, United States','country_id' => '228'),\narray('id' => '2761','name' => '(CKV) - Clarksvillea\"Montgomery County Regional Airport, Clarksville, United States','country_id' => '228'),\narray('id' => '2762','name' => '(KCL) - Chignik Lagoon Airport, Chignik Flats, United States','country_id' => '228'),\narray('id' => '2763','name' => '(CLE) - Cleveland Hopkins International Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2764','name' => '(CLI) - Clintonville Municipal Airport, Clintonville, United States','country_id' => '228'),\narray('id' => '2765','name' => '(CLK) - Clinton Regional Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2766','name' => '(CLL) - Easterwood Field, College Station, United States','country_id' => '228'),\narray('id' => '2767','name' => '(CLM) - William R Fairchild International Airport, Port Angeles, United States','country_id' => '228'),\narray('id' => '2768','name' => '(CLR) - Cliff Hatfield Memorial Airport, Calipatria, United States','country_id' => '228'),\narray('id' => '2769','name' => '(CLS) - Chehalis Centralia Airport, Chehalis, United States','country_id' => '228'),\narray('id' => '2770','name' => '(CLT) - Charlotte Douglas International Airport, Charlotte, United States','country_id' => '228'),\narray('id' => '2771','name' => '(CLW) - Clearwater Air Park, Clearwater, United States','country_id' => '228'),\narray('id' => '2772','name' => '(CMH) - Port Columbus International Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2773','name' => '(CMI) - University of Illinois Willard Airport, Champaign/Urbana, United States','country_id' => '228'),\narray('id' => '2774','name' => '(CMX) - Houghton County Memorial Airport, Hancock, United States','country_id' => '228'),\narray('id' => '2775','name' => '(CMY) - Sparta Fort Mc Coy Airport, Sparta, United States','country_id' => '228'),\narray('id' => '2776','name' => '(CNH) - Claremont Municipal Airport, Claremont, United States','country_id' => '228'),\narray('id' => '2777','name' => '(CNK) - Blosser Municipal Airport, Concordia, United States','country_id' => '228'),\narray('id' => '2778','name' => '(CNM) - Cavern City Air Terminal, Carlsbad, United States','country_id' => '228'),\narray('id' => '2779','name' => '(CNO) - Chino Airport, Chino, United States','country_id' => '228'),\narray('id' => '2780','name' => '(CNU) - Chanute Martin Johnson Airport, Chanute, United States','country_id' => '228'),\narray('id' => '2781','name' => '(CNW) - TSTC Waco Airport, Waco, United States','country_id' => '228'),\narray('id' => '2782','name' => '(CNY) - Canyonlands Field, Moab, United States','country_id' => '228'),\narray('id' => '2783','name' => '(COD) - Yellowstone Regional Airport, Cody, United States','country_id' => '228'),\narray('id' => '2784','name' => '(COE) - Coeur D\\'Alene - Pappy Boyington Field, Coeur d\\'Alene, United States','country_id' => '228'),\narray('id' => '2785','name' => '(COF) - Patrick Air Force Base, Cocoa Beach, United States','country_id' => '228'),\narray('id' => '2786','name' => '(COI) - Merritt Island Airport, Merritt Island, United States','country_id' => '228'),\narray('id' => '2787','name' => '(COM) - Coleman Municipal Airport, Coleman, United States','country_id' => '228'),\narray('id' => '2788','name' => '(CON) - Concord Municipal Airport, Concord, United States','country_id' => '228'),\narray('id' => '2789','name' => '(COS) - City of Colorado Springs Municipal Airport, Colorado Springs, United States','country_id' => '228'),\narray('id' => '2790','name' => '(COT) - Cotulla-La Salle County Airport, Cotulla, United States','country_id' => '228'),\narray('id' => '2791','name' => '(COU) - Columbia Regional Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2792','name' => '(CPM) - Compton Woodley Airport, Compton, United States','country_id' => '228'),\narray('id' => '2793','name' => '(CPR) - Casper-Natrona County International Airport, Casper, United States','country_id' => '228'),\narray('id' => '2794','name' => '(CPS) - St Louis Downtown Airport, Cahokia/St Louis, United States','country_id' => '228'),\narray('id' => '2795','name' => '(HCW) - Cheraw Municipal Airport/Lynch Bellinger Field, Cheraw, United States','country_id' => '228'),\narray('id' => '2796','name' => '(KCR) - Colorado Creek Airport, Colorado Creek, United States','country_id' => '228'),\narray('id' => '2797','name' => '(CRE) - Grand Strand Airport, North Myrtle Beach, United States','country_id' => '228'),\narray('id' => '2798','name' => '(CRG) - Jacksonville Executive at Craig Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '2799','name' => '(CRO) - Corcoran Airport, Corcoran, United States','country_id' => '228'),\narray('id' => '2800','name' => '(CRP) - Corpus Christi International Airport, Corpus Christi, United States','country_id' => '228'),\narray('id' => '2801','name' => '(CLD) - Mc Clellan-Palomar Airport, Carlsbad, United States','country_id' => '228'),\narray('id' => '2802','name' => '(CRS) - C David Campbell Field Corsicana Municipal Airport, Corsicana, United States','country_id' => '228'),\narray('id' => '2803','name' => '(CRT) - Z M Jack Stell Field, Crossett, United States','country_id' => '228'),\narray('id' => '2804','name' => '(CRW) - Yeager Airport, Charleston, United States','country_id' => '228'),\narray('id' => '2805','name' => '(CRX) - Roscoe Turner Airport, Corinth, United States','country_id' => '228'),\narray('id' => '2806','name' => '(CSG) - Columbus Metropolitan Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2807','name' => '(CSM) - Clinton Sherman Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2808','name' => '(CSQ) - Creston Municipal Airport, Creston, United States','country_id' => '228'),\narray('id' => '2809','name' => '(CSV) - Crossville Memorial Whitson Field, Crossville, United States','country_id' => '228'),\narray('id' => '2810','name' => '(CTB) - Cut Bank International Airport, Cut Bank, United States','country_id' => '228'),\narray('id' => '2811','name' => '(CTY) - Cross City Airport, Cross City, United States','country_id' => '228'),\narray('id' => '2812','name' => '(CTZ) - Sampson County Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2813','name' => '(CUB) - Jim Hamilton L.B. Owens Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2814','name' => '(CUH) - Cushing Municipal Airport, Cushing, United States','country_id' => '228'),\narray('id' => '2815','name' => '(CVG) - Cincinnati Northern Kentucky International Airport, Cincinnati, United States','country_id' => '228'),\narray('id' => '2816','name' => '(CKK) - Sharp County Regional Airport, Ash Flat, United States','country_id' => '228'),\narray('id' => '2817','name' => '(CVN) - Clovis Municipal Airport, Clovis, United States','country_id' => '228'),\narray('id' => '2818','name' => '(CVO) - Corvallis Municipal Airport, Corvallis, United States','country_id' => '228'),\narray('id' => '2819','name' => '(CVS) - Cannon Air Force Base, Clovis, United States','country_id' => '228'),\narray('id' => '2820','name' => '(CWA) - Central Wisconsin Airport, Mosinee, United States','country_id' => '228'),\narray('id' => '2821','name' => '(KIP) - Kickapoo Downtown Airport, Wichita Falls, United States','country_id' => '228'),\narray('id' => '2822','name' => '(CWF) - Chennault International Airport, Lake Charles, United States','country_id' => '228'),\narray('id' => '2823','name' => '(CWI) - Clinton Municipal Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2824','name' => '(CXL) - Calexico International Airport, Calexico, United States','country_id' => '228'),\narray('id' => '2825','name' => '(CXO) - Lone Star Executive Airport, Houston, United States','country_id' => '228'),\narray('id' => '2826','name' => '(CSN) - Carson Airport, Carson City, United States','country_id' => '228'),\narray('id' => '2827','name' => '(HAR) - Capital City Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '2828','name' => '(CYS) - Cheyenne Regional Jerry Olson Field, Cheyenne, United States','country_id' => '228'),\narray('id' => '2829','name' => '(CZT) - Dimmit County Airport, Carrizo Springs, United States','country_id' => '228'),\narray('id' => '2830','name' => '(VEX) - Tioga Municipal Airport, Tioga, United States','country_id' => '228'),\narray('id' => '2831','name' => '(DAA) - Davison Army Air Field, Fort Belvoir, United States','country_id' => '228'),\narray('id' => '2832','name' => '(DAB) - Daytona Beach International Airport, Daytona Beach, United States','country_id' => '228'),\narray('id' => '2833','name' => '(DAG) - Barstow Daggett Airport, Daggett, United States','country_id' => '228'),\narray('id' => '2834','name' => '(DAL) - Dallas Love Field, Dallas, United States','country_id' => '228'),\narray('id' => '2835','name' => '(DAN) - Danville Regional Airport, Danville, United States','country_id' => '228'),\narray('id' => '2836','name' => '(DAY) - James M Cox Dayton International Airport, Dayton, United States','country_id' => '228'),\narray('id' => '2837','name' => '(DBN) - W H \\'Bud\\' Barron Airport, Dublin, United States','country_id' => '228'),\narray('id' => '2838','name' => '(DBQ) - Dubuque Regional Airport, Dubuque, United States','country_id' => '228'),\narray('id' => '2839','name' => '(DCA) - Ronald Reagan Washington National Airport, Washington, United States','country_id' => '228'),\narray('id' => '2840','name' => '(DCU) - Pryor Field Regional Airport, Decatur, United States','country_id' => '228'),\narray('id' => '2841','name' => '(DDC) - Dodge City Regional Airport, Dodge City, United States','country_id' => '228'),\narray('id' => '2842','name' => '(DEC) - Decatur Airport, Decatur, United States','country_id' => '228'),\narray('id' => '2843','name' => '(DEH) - Decorah Municipal Airport, Decorah, United States','country_id' => '228'),\narray('id' => '2844','name' => '(DEN) - Denver International Airport, Denver, United States','country_id' => '228'),\narray('id' => '2845','name' => '(DET) - Coleman A. Young Municipal Airport, Detroit, United States','country_id' => '228'),\narray('id' => '2846','name' => '(DFI) - Defiance Memorial Airport, Defiance, United States','country_id' => '228'),\narray('id' => '2847','name' => '(DFW) - Dallas Fort Worth International Airport, Dallas-Fort Worth, United States','country_id' => '228'),\narray('id' => '2848','name' => '(DGL) - Douglas Municipal Airport, Douglas, United States','country_id' => '228'),\narray('id' => '2849','name' => '(DGW) - Converse County Airport, Douglas, United States','country_id' => '228'),\narray('id' => '2850','name' => '(DHN) - Dothan Regional Airport, Dothan, United States','country_id' => '228'),\narray('id' => '2851','name' => '(DHT) - Dalhart Municipal Airport, Dalhart, United States','country_id' => '228'),\narray('id' => '2852','name' => '(DIK) - Dickinson Theodore Roosevelt Regional Airport, Dickinson, United States','country_id' => '228'),\narray('id' => '2853','name' => '(DKK) - Chautauqua County-Dunkirk Airport, Dunkirk, United States','country_id' => '228'),\narray('id' => '2854','name' => '(DLL) - Dillon County Airport, Dillon, United States','country_id' => '228'),\narray('id' => '2855','name' => '(DLF) - Laughlin Air Force Base, Del Rio, United States','country_id' => '228'),\narray('id' => '2856','name' => '(DLH) - Duluth International Airport, Duluth, United States','country_id' => '228'),\narray('id' => '2857','name' => '(DLN) - Dillon Airport, Dillon, United States','country_id' => '228'),\narray('id' => '2858','name' => '(DLS) - Columbia Gorge Regional the Dalles Municipal Airport, The Dalles, United States','country_id' => '228'),\narray('id' => '2859','name' => '(DMA) - Davis Monthan Air Force Base, Tucson, United States','country_id' => '228'),\narray('id' => '2860','name' => '(DMN) - Deming Municipal Airport, Deming, United States','country_id' => '228'),\narray('id' => '2861','name' => '(DMO) - Sedalia Memorial Airport, Sedalia, United States','country_id' => '228'),\narray('id' => '2862','name' => '(DNL) - Daniel Field, Augusta, United States','country_id' => '228'),\narray('id' => '2863','name' => '(DNN) - Dalton Municipal Airport, Dalton, United States','country_id' => '228'),\narray('id' => '2864','name' => '(DNS) - Denison Municipal Airport, Denison, United States','country_id' => '228'),\narray('id' => '2865','name' => '(DNV) - Vermilion Regional Airport, Danville, United States','country_id' => '228'),\narray('id' => '2866','name' => '(DOV) - Dover Air Force Base, Dover, United States','country_id' => '228'),\narray('id' => '2867','name' => '(KDP) - Kandep Airport, Kandep, Papua New Guinea','country_id' => '172'),\narray('id' => '2868','name' => '(DPA) - Dupage Airport, Chicago/West Chicago, United States','country_id' => '228'),\narray('id' => '2869','name' => '(DPG) - Michael AAF (Dugway Proving Ground) Airport, Dugway Proving Ground, United States','country_id' => '228'),\narray('id' => '2870','name' => '(KDQ) - Kamberatoro Airport, Kamberatoro Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2871','name' => '(DRA) - Desert Rock Airport, Mercury, United States','country_id' => '228'),\narray('id' => '2872','name' => '(DRI) - Beauregard Regional Airport, De Ridder, United States','country_id' => '228'),\narray('id' => '2873','name' => '(DRE) - Drummond Island Airport, Drummond Island, United States','country_id' => '228'),\narray('id' => '2874','name' => '(DRO) - Durango La Plata County Airport, Durango, United States','country_id' => '228'),\narray('id' => '2875','name' => '(DRT) - Del Rio International Airport, Del Rio, United States','country_id' => '228'),\narray('id' => '2876','name' => '(KDS) - Kamaran Downs Airport, Kamaran Downs, Australia','country_id' => '12'),\narray('id' => '2877','name' => '(DSM) - Des Moines International Airport, Des Moines, United States','country_id' => '228'),\narray('id' => '2878','name' => '(DSV) - Dansville Municipal Airport, Dansville, United States','country_id' => '228'),\narray('id' => '2879','name' => '(DTA) - Delta Municipal Airport, Delta, United States','country_id' => '228'),\narray('id' => '2880','name' => '(DTL) - Detroit Lakes Airport - Wething Field, Detroit Lakes, United States','country_id' => '228'),\narray('id' => '2881','name' => '(DTN) - Shreveport Downtown Airport, Shreveport, United States','country_id' => '228'),\narray('id' => '2882','name' => '(DSI) - Destin Executive Airport, Destin, United States','country_id' => '228'),\narray('id' => '2883','name' => '(DTW) - Detroit Metropolitan Wayne County Airport, Detroit, United States','country_id' => '228'),\narray('id' => '2884','name' => '(DUA) - Eaker Field, Durant, United States','country_id' => '228'),\narray('id' => '2885','name' => '(DUC) - Halliburton Field, Duncan, United States','country_id' => '228'),\narray('id' => '2886','name' => '(DUG) - Bisbee Douglas International Airport, Douglas Bisbee, United States','country_id' => '228'),\narray('id' => '2887','name' => '(DUJ) - DuBois Regional Airport, Dubois, United States','country_id' => '228'),\narray('id' => '2888','name' => '(DVL) - Devils Lake Regional Airport, Devils Lake, United States','country_id' => '228'),\narray('id' => '2889','name' => '(DVN) - Davenport Municipal Airport, Davenport, United States','country_id' => '228'),\narray('id' => '2890','name' => '(NOT) - Marin County Airport - Gnoss Field, Novato, United States','country_id' => '228'),\narray('id' => '2891','name' => '(NSL) - Slayton Municipal Airport, Slayton, United States','country_id' => '228'),\narray('id' => '2892','name' => '(DVT) - Phoenix Deer Valley Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '2893','name' => '(DWH) - David Wayne Hooks Memorial Airport, Houston, United States','country_id' => '228'),\narray('id' => '2894','name' => '(DXR) - Danbury Municipal Airport, Danbury, United States','country_id' => '228'),\narray('id' => '2895','name' => '(DYL) - Doylestown Airport, Doylestown, United States','country_id' => '228'),\narray('id' => '2896','name' => '(DYS) - Dyess Air Force Base, Abilene, United States','country_id' => '228'),\narray('id' => '2897','name' => '(JJM) - Mulika Lodge Airport, Meru-Kinna, Kenya','country_id' => '111'),\narray('id' => '2898','name' => '(VPG) - Vipingo Estate Airport, Vipingo Estate, Kenya','country_id' => '111'),\narray('id' => '2899','name' => '(KRV) - Kerio Valley Airport, Kimwarer, Kenya','country_id' => '111'),\narray('id' => '2900','name' => '(KIU) - Kiunga Airport, Kiunga, Kenya','country_id' => '111'),\narray('id' => '2901','name' => '(LBK) - Liboi Airport, Liboi, Kenya','country_id' => '111'),\narray('id' => '2902','name' => '(LBN) - Lake Baringo Airport, Lake Baringo, Kenya','country_id' => '111'),\narray('id' => '2903','name' => '(LKU) - Lake Rudolf Airport, Lake Rudolf, Kenya','country_id' => '111'),\narray('id' => '2904','name' => '(MRE) - Mara Lodges Airport, Mara Lodges, Kenya','country_id' => '111'),\narray('id' => '2905','name' => '(MUM) - Mumias Airport, Mumias, Kenya','country_id' => '111'),\narray('id' => '2906','name' => '(MIF) - Roy Hurd Memorial Airport, Monahans, United States','country_id' => '228'),\narray('id' => '2907','name' => '(CCG) - Crane County Airport, Crane, United States','country_id' => '228'),\narray('id' => '2908','name' => '(ESO) - Ohkay Owingeh Airport, Espanola, United States','country_id' => '228'),\narray('id' => '2909','name' => '(WTR) - Whiteriver Airport, Whiteriver, United States','country_id' => '228'),\narray('id' => '2910','name' => '(ALE) - Alpine Casparis Municipal Airport, Alpine, United States','country_id' => '228'),\narray('id' => '2911','name' => '(BGT) - Bagdad Airport, Bagdad, United States','country_id' => '228'),\narray('id' => '2912','name' => '(EAN) - Phifer Airfield, Wheatland, United States','country_id' => '228'),\narray('id' => '2913','name' => '(EAR) - Kearney Regional Airport, Kearney, United States','country_id' => '228'),\narray('id' => '2914','name' => '(EAT) - Pangborn Memorial Airport, Wenatchee, United States','country_id' => '228'),\narray('id' => '2915','name' => '(EAU) - Chippewa Valley Regional Airport, Eau Claire, United States','country_id' => '228'),\narray('id' => '2916','name' => '(KEB) - Nanwalek Airport, Nanwalek, United States','country_id' => '228'),\narray('id' => '2917','name' => '(EBS) - Webster City Municipal Airport, Webster City, United States','country_id' => '228'),\narray('id' => '2918','name' => '(ECG) - Elizabeth City Regional Airport & Coast Guard Air Station, Elizabeth City, United States','country_id' => '228'),\narray('id' => '2919','name' => '(ECP) - Northwest Florida Beaches International Airport, Panama City Beach, United States','country_id' => '228'),\narray('id' => '2920','name' => '(ECS) - Mondell Field, Newcastle, United States','country_id' => '228'),\narray('id' => '2921','name' => '(EDE) - Northeastern Regional Airport, Edenton, United States','country_id' => '228'),\narray('id' => '2922','name' => '(ETS) - Enterprise Municipal Airport, Enterprise, United States','country_id' => '228'),\narray('id' => '2923','name' => '(EDW) - Edwards Air Force Base, Edwards, United States','country_id' => '228'),\narray('id' => '2924','name' => '(EED) - Needles Airport, Needles, United States','country_id' => '228'),\narray('id' => '2925','name' => '(EEN) - Dillant Hopkins Airport, Keene, United States','country_id' => '228'),\narray('id' => '2926','name' => '(EFD) - Ellington Airport, Houston, United States','country_id' => '228'),\narray('id' => '2927','name' => '(EFK) - Newport State Airport, Newport, United States','country_id' => '228'),\narray('id' => '2928','name' => '(EFW) - Jefferson Municipal Airport, Jefferson, United States','country_id' => '228'),\narray('id' => '2929','name' => '(KEG) - Keglsugl Airport, Denglagu Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2930','name' => '(EGE) - Eagle County Regional Airport, Eagle, United States','country_id' => '228'),\narray('id' => '2931','name' => '(EGI) - Duke Field, Crestview, United States','country_id' => '228'),\narray('id' => '2932','name' => '(EGV) - Eagle River Union Airport, Eagle River, United States','country_id' => '228'),\narray('id' => '2933','name' => '(KEK) - Ekwok Airport, Ekwok, United States','country_id' => '228'),\narray('id' => '2934','name' => '(EKA) - Murray Field, Eureka, United States','country_id' => '228'),\narray('id' => '2935','name' => '(EKI) - Elkhart Municipal Airport, Elkhart, United States','country_id' => '228'),\narray('id' => '2936','name' => '(EKN) - Elkins-Randolph Co-Jennings Randolph Field, Elkins, United States','country_id' => '228'),\narray('id' => '2937','name' => '(EKO) - Elko Regional Airport, Elko, United States','country_id' => '228'),\narray('id' => '2938','name' => '(EKX) - Addington Field, Elizabethtown, United States','country_id' => '228'),\narray('id' => '2939','name' => '(ELA) - Eagle Lake Airport, Eagle Lake, United States','country_id' => '228'),\narray('id' => '2940','name' => '(ELD) - South Arkansas Regional At Goodwin Field, El Dorado, United States','country_id' => '228'),\narray('id' => '2941','name' => '(ELK) - Elk City Regional Business Airport, Elk City, United States','country_id' => '228'),\narray('id' => '2942','name' => '(ELM) - Elmira Corning Regional Airport, Elmira/Corning, United States','country_id' => '228'),\narray('id' => '2943','name' => '(ELN) - Bowers Field, Ellensburg, United States','country_id' => '228'),\narray('id' => '2944','name' => '(LYU) - Ely Municipal Airport, Ely, United States','country_id' => '228'),\narray('id' => '2945','name' => '(ELP) - El Paso International Airport, El Paso, United States','country_id' => '228'),\narray('id' => '2946','name' => '(ELY) - Ely Airport Yelland Field, Ely, United States','country_id' => '228'),\narray('id' => '2947','name' => '(ELZ) - Wellsville Municipal Arpt,Tarantine Field, Wellsville, United States','country_id' => '228'),\narray('id' => '2948','name' => '(EMM) - Kemmerer Municipal Airport, Kemmerer, United States','country_id' => '228'),\narray('id' => '2949','name' => '(EMP) - Emporia Municipal Airport, Emporia, United States','country_id' => '228'),\narray('id' => '2950','name' => '(EMT) - El Monte Airport, El Monte, United States','country_id' => '228'),\narray('id' => '2951','name' => '(END) - Vance Air Force Base, Enid, United States','country_id' => '228'),\narray('id' => '2952','name' => '(ENL) - Centralia Municipal Airport, Centralia, United States','country_id' => '228'),\narray('id' => '2953','name' => '(ENV) - Wendover Airport, Wendover, United States','country_id' => '228'),\narray('id' => '2954','name' => '(ENW) - Kenosha Regional Airport, Kenosha, United States','country_id' => '228'),\narray('id' => '2955','name' => '(EOK) - Keokuk Municipal Airport, Keokuk, United States','country_id' => '228'),\narray('id' => '2956','name' => '(EPH) - Ephrata Municipal Airport, Ephrata, United States','country_id' => '228'),\narray('id' => '2957','name' => '(EDK) - Captain Jack Thomas El Dorado Airport, El Dorado, United States','country_id' => '228'),\narray('id' => '2958','name' => '(ERI) - Erie International Tom Ridge Field, Erie, United States','country_id' => '228'),\narray('id' => '2959','name' => '(ERR) - Errol Airport, Errol, United States','country_id' => '228'),\narray('id' => '2960','name' => '(ERV) - Kerrville Municipal Louis Schreiner Field, Kerrville, United States','country_id' => '228'),\narray('id' => '2961','name' => '(ESC) - Delta County Airport, Escanaba, United States','country_id' => '228'),\narray('id' => '2962','name' => '(ESF) - Esler Regional Airport, Alexandria, United States','country_id' => '228'),\narray('id' => '2963','name' => '(ESN) - Easton Newnam Field, Easton, United States','country_id' => '228'),\narray('id' => '2964','name' => '(EST) - Estherville Municipal Airport, Estherville, United States','country_id' => '228'),\narray('id' => '2965','name' => '(ESW) - Easton State Airport, Easton, United States','country_id' => '228'),\narray('id' => '2966','name' => '(ETB) - West Bend Municipal Airport, West Bend, United States','country_id' => '228'),\narray('id' => '2967','name' => '(ETN) - Eastland Municipal Airport, Eastland, United States','country_id' => '228'),\narray('id' => '2968','name' => '(EUF) - Weedon Field, Eufaula, United States','country_id' => '228'),\narray('id' => '2969','name' => '(EUG) - Mahlon Sweet Field, Eugene, United States','country_id' => '228'),\narray('id' => '2970','name' => '(EVM) - Eveleth Virginia Municipal Airport, Eveleth, United States','country_id' => '228'),\narray('id' => '2971','name' => '(EVV) - Evansville Regional Airport, Evansville, United States','country_id' => '228'),\narray('id' => '2972','name' => '(EVW) - Evanston-Uinta County Airport-Burns Field, Evanston, United States','country_id' => '228'),\narray('id' => '2973','name' => '(EWB) - New Bedford Regional Airport, New Bedford, United States','country_id' => '228'),\narray('id' => '2974','name' => '(EWK) - Newton City-County Airport, Newton, United States','country_id' => '228'),\narray('id' => '2975','name' => '(EWN) - Coastal Carolina Regional Airport, New Bern, United States','country_id' => '228'),\narray('id' => '2976','name' => '(EWR) - Newark Liberty International Airport, Newark, United States','country_id' => '228'),\narray('id' => '2977','name' => '(KEX) - Kanabea Airport, Kanabea, Papua New Guinea','country_id' => '172'),\narray('id' => '2978','name' => '(EYW) - Key West International Airport, Key West, United States','country_id' => '228'),\narray('id' => '2979','name' => '(WIB) - Wilbarger County Airport, Vernon, United States','country_id' => '228'),\narray('id' => '2980','name' => '(RBK) - French Valley Airport, Murrieta/Temecula, United States','country_id' => '228'),\narray('id' => '2981','name' => '(FAF) - Felker Army Air Field, Fort Eustis, United States','country_id' => '228'),\narray('id' => '2982','name' => '(FAM) - Farmington Regional Airport, Farmington, United States','country_id' => '228'),\narray('id' => '2983','name' => '(FAR) - Hector International Airport, Fargo, United States','country_id' => '228'),\narray('id' => '2984','name' => '(FAT) - Fresno Yosemite International Airport, Fresno, United States','country_id' => '228'),\narray('id' => '2985','name' => '(FAY) - Fayetteville Regional Grannis Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '2986','name' => '(FBG) - Simmons Army Air Field, Fort Bragg, United States','country_id' => '228'),\narray('id' => '2987','name' => '(FBL) - Faribault Municipal Airport, Faribault, United States','country_id' => '228'),\narray('id' => '2988','name' => '(FBR) - Fort Bridger Airport, Fort Bridger, United States','country_id' => '228'),\narray('id' => '2989','name' => '(FBY) - Fairbury Municipal Airport, Fairbury, United States','country_id' => '228'),\narray('id' => '2990','name' => '(FCH) - Fresno Chandler Executive Airport, Fresno, United States','country_id' => '228'),\narray('id' => '2991','name' => '(FCM) - Flying Cloud Airport, Minneapolis, United States','country_id' => '228'),\narray('id' => '2992','name' => '(FCS) - Butts AAF (Fort Carson) Air Field, Fort Carson, United States','country_id' => '228'),\narray('id' => '2993','name' => '(FCY) - Forrest City Municipal Airport, Forrest City, United States','country_id' => '228'),\narray('id' => '2994','name' => '(FDK) - Frederick Municipal Airport, Frederick, United States','country_id' => '228'),\narray('id' => '2995','name' => '(FDR) - Frederick Regional Airport, Frederick, United States','country_id' => '228'),\narray('id' => '2996','name' => '(FDY) - Findlay Airport, Findlay, United States','country_id' => '228'),\narray('id' => '2997','name' => '(FEP) - Albertus Airport, Freeport, United States','country_id' => '228'),\narray('id' => '2998','name' => '(FET) - Fremont Municipal Airport, Fremont, United States','country_id' => '228'),\narray('id' => '2999','name' => '(FFA) - First Flight Airport, Kill Devil Hills, United States','country_id' => '228'),\narray('id' => '3000','name' => '(FFL) - Fairfield Municipal Airport, Fairfield, United States','country_id' => '228'),\narray('id' => '3001','name' => '(FFM) - Fergus Falls Municipal Airport - Einar Mickelson Field, Fergus Falls, United States','country_id' => '228'),\narray('id' => '3002','name' => '(FFO) - Wright-Patterson Air Force Base, Dayton, United States','country_id' => '228'),\narray('id' => '3003','name' => '(FFT) - Capital City Airport, Frankfort, United States','country_id' => '228'),\narray('id' => '3004','name' => '(MSC) - Falcon Field, Mesa, United States','country_id' => '228'),\narray('id' => '3005','name' => '(FRD) - Friday Harbor Airport, Friday Harbor, United States','country_id' => '228'),\narray('id' => '3006','name' => '(FHU) - Sierra Vista Municipal Libby Army Air Field, Fort Huachuca Sierra Vista, United States','country_id' => '228'),\narray('id' => '3007','name' => '(FKL) - Venango Regional Airport, Franklin, United States','country_id' => '228'),\narray('id' => '3008','name' => '(FKN) - Franklin Municipal-John Beverly Rose Airport, Franklin, United States','country_id' => '228'),\narray('id' => '3009','name' => '(FLD) - Fond du Lac County Airport, Fond du Lac, United States','country_id' => '228'),\narray('id' => '3010','name' => '(FLG) - Flagstaff Pulliam Airport, Flagstaff, United States','country_id' => '228'),\narray('id' => '3011','name' => '(FLL) - Fort Lauderdale Hollywood International Airport, Fort Lauderdale, United States','country_id' => '228'),\narray('id' => '3012','name' => '(FLO) - Florence Regional Airport, Florence, United States','country_id' => '228'),\narray('id' => '3013','name' => '(FLP) - Marion County Regional Airport, Flippin, United States','country_id' => '228'),\narray('id' => '3014','name' => '(FLV) - Sherman Army Air Field, Fort Leavenworth, United States','country_id' => '228'),\narray('id' => '3015','name' => '(FLX) - Fallon Municipal Airport, Fallon, United States','country_id' => '228'),\narray('id' => '3016','name' => '(FME) - Tipton Airport, Fort Meade(Odenton), United States','country_id' => '228'),\narray('id' => '3017','name' => '(FMH) - Cape Cod Coast Guard Air Station, Falmouth, United States','country_id' => '228'),\narray('id' => '3018','name' => '(FMN) - Four Corners Regional Airport, Farmington, United States','country_id' => '228'),\narray('id' => '3019','name' => '(FMY) - Page Field, Fort Myers, United States','country_id' => '228'),\narray('id' => '3020','name' => '(FNL) - Fort Collins Loveland Municipal Airport, Fort Collins/Loveland, United States','country_id' => '228'),\narray('id' => '3021','name' => '(FNT) - Bishop International Airport, Flint, United States','country_id' => '228'),\narray('id' => '3022','name' => '(FOD) - Fort Dodge Regional Airport, Fort Dodge, United States','country_id' => '228'),\narray('id' => '3023','name' => '(FOE) - Topeka Regional Airport - Forbes Field, Topeka, United States','country_id' => '228'),\narray('id' => '3024','name' => '(FOK) - Francis S Gabreski Airport, Westhampton Beach, United States','country_id' => '228'),\narray('id' => '3025','name' => '(FIL) - Fillmore Municipal Airport, Fillmore, United States','country_id' => '228'),\narray('id' => '3026','name' => '(FPR) - St Lucie County International Airport, Fort Pierce, United States','country_id' => '228'),\narray('id' => '3027','name' => '(FRG) - Republic Airport, Farmingdale, United States','country_id' => '228'),\narray('id' => '3028','name' => '(FRH) - French Lick Municipal Airport, French Lick, United States','country_id' => '228'),\narray('id' => '3029','name' => '(FRI) - Marshall Army Air Field, Fort Riley(Junction City), United States','country_id' => '228'),\narray('id' => '3030','name' => '(FRM) - Fairmont Municipal Airport, Fairmont, United States','country_id' => '228'),\narray('id' => '3031','name' => '(FRR) - Front Royal Warren County Airport, Front Royal, United States','country_id' => '228'),\narray('id' => '3032','name' => '(FSD) - Joe Foss Field Airport, Sioux Falls, United States','country_id' => '228'),\narray('id' => '3033','name' => '(FSI) - Henry Post Army Air Field (Fort Sill), Fort Sill, United States','country_id' => '228'),\narray('id' => '3034','name' => '(FSK) - Fort Scott Municipal Airport, Fort Scott, United States','country_id' => '228'),\narray('id' => '3035','name' => '(FSM) - Fort Smith Regional Airport, Fort Smith, United States','country_id' => '228'),\narray('id' => '3036','name' => '(FST) - Fort Stockton Pecos County Airport, Fort Stockton, United States','country_id' => '228'),\narray('id' => '3037','name' => '(FSU) - Fort Sumner Municipal Airport, Fort Sumner, United States','country_id' => '228'),\narray('id' => '3038','name' => '(FMS) - Fort Madison Municipal Airport, Fort Madison, United States','country_id' => '228'),\narray('id' => '3039','name' => '(FTK) - Godman Army Air Field, Fort Knox, United States','country_id' => '228'),\narray('id' => '3040','name' => '(FTW) - Fort Worth Meacham International Airport, Fort Worth, United States','country_id' => '228'),\narray('id' => '3041','name' => '(FTY) - Fulton County Airport Brown Field, Atlanta, United States','country_id' => '228'),\narray('id' => '3042','name' => '(FUL) - Fullerton Municipal Airport, Fullerton, United States','country_id' => '228'),\narray('id' => '3043','name' => '(WFK) - Northern Aroostook Regional Airport, Frenchville, United States','country_id' => '228'),\narray('id' => '3044','name' => '(FWA) - Fort Wayne International Airport, Fort Wayne, United States','country_id' => '228'),\narray('id' => '3045','name' => '(FXE) - Fort Lauderdale Executive Airport, Fort Lauderdale, United States','country_id' => '228'),\narray('id' => '3046','name' => '(FXY) - Forest City Municipal Airport, Forest City, United States','country_id' => '228'),\narray('id' => '3047','name' => '(FYM) - Fayetteville Municipal Airport, Fayetteville, United States','country_id' => '228'),\narray('id' => '3048','name' => '(FYV) - Drake Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '3049','name' => '(GAG) - Gage Airport, Gage, United States','country_id' => '228'),\narray('id' => '3050','name' => '(GAI) - Montgomery County Airpark, Gaithersburg, United States','country_id' => '228'),\narray('id' => '3051','name' => '(GBD) - Great Bend Municipal Airport, Great Bend, United States','country_id' => '228'),\narray('id' => '3052','name' => '(GBG) - Galesburg Municipal Airport, Galesburg, United States','country_id' => '228'),\narray('id' => '3053','name' => '(GBR) - Walter J. Koladza Airport, Great Barrington, United States','country_id' => '228'),\narray('id' => '3054','name' => '(GCC) - Gillette Campbell County Airport, Gillette, United States','country_id' => '228'),\narray('id' => '3055','name' => '(JDA) - Grant Co Regional/Ogilvie Field, John Day, United States','country_id' => '228'),\narray('id' => '3056','name' => '(GCK) - Garden City Regional Airport, Garden City, United States','country_id' => '228'),\narray('id' => '3057','name' => '(GCN) - Grand Canyon National Park Airport, Grand Canyon, United States','country_id' => '228'),\narray('id' => '3058','name' => '(GCY) - Greeneville-Greene County Municipal Airport, Greeneville, United States','country_id' => '228'),\narray('id' => '3059','name' => '(GDM) - Gardner Municipal Airport, Gardner, United States','country_id' => '228'),\narray('id' => '3060','name' => '(GDV) - Dawson Community Airport, Glendive, United States','country_id' => '228'),\narray('id' => '3061','name' => '(GDW) - Gladwin Zettel Memorial Airport, Gladwin, United States','country_id' => '228'),\narray('id' => '3062','name' => '(GED) - Sussex County Airport, Georgetown, United States','country_id' => '228'),\narray('id' => '3063','name' => '(GEG) - Spokane International Airport, Spokane, United States','country_id' => '228'),\narray('id' => '3064','name' => '(GEY) - South Big Horn County Airport, Greybull, United States','country_id' => '228'),\narray('id' => '3065','name' => '(GFK) - Grand Forks International Airport, Grand Forks, United States','country_id' => '228'),\narray('id' => '3066','name' => '(GFL) - Floyd Bennett Memorial Airport, Glens Falls, United States','country_id' => '228'),\narray('id' => '3067','name' => '(GGE) - Georgetown County Airport, Georgetown, United States','country_id' => '228'),\narray('id' => '3068','name' => '(GGG) - East Texas Regional Airport, Longview, United States','country_id' => '228'),\narray('id' => '3069','name' => '(GGW) - Wokal Field Glasgow International Airport, Glasgow, United States','country_id' => '228'),\narray('id' => '3070','name' => '(GHM) - Centerville Municipal Airport, Centerville, United States','country_id' => '228'),\narray('id' => '3071','name' => '(GIF) - Winter Haven Municipal Airport - Gilbert Field, Winter Haven, United States','country_id' => '228'),\narray('id' => '3072','name' => '(GJT) - Grand Junction Regional Airport, Grand Junction, United States','country_id' => '228'),\narray('id' => '3073','name' => '(MEJ) - Port Meadville Airport, Meadville, United States','country_id' => '228'),\narray('id' => '3074','name' => '(GKT) - Gatlinburg-Pigeon Forge Airport, Sevierville, United States','country_id' => '228'),\narray('id' => '3075','name' => '(GLD) - Renner Field-Goodland Municipal Airport, Goodland, United States','country_id' => '228'),\narray('id' => '3076','name' => '(GLE) - Gainesville Municipal Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3077','name' => '(GLH) - Mid Delta Regional Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3078','name' => '(GLR) - Gaylord Regional Airport, Gaylord, United States','country_id' => '228'),\narray('id' => '3079','name' => '(GLS) - Scholes International At Galveston Airport, Galveston, United States','country_id' => '228'),\narray('id' => '3080','name' => '(GLW) - Glasgow Municipal Airport, Glasgow, United States','country_id' => '228'),\narray('id' => '3081','name' => '(GMU) - Greenville Downtown Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3082','name' => '(GNG) - Gooding Municipal Airport, Gooding, United States','country_id' => '228'),\narray('id' => '3083','name' => '(GNT) - Grants-Milan Municipal Airport, Grants, United States','country_id' => '228'),\narray('id' => '3084','name' => '(GNV) - Gainesville Regional Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3085','name' => '(GOK) - Guthrie-Edmond Regional Airport, Guthrie, United States','country_id' => '228'),\narray('id' => '3086','name' => '(GON) - Groton New London Airport, Groton (New London), United States','country_id' => '228'),\narray('id' => '3087','name' => '(FCA) - Glacier Park International Airport, Kalispell, United States','country_id' => '228'),\narray('id' => '3088','name' => '(GPT) - Gulfport Biloxi International Airport, Gulfport, United States','country_id' => '228'),\narray('id' => '3089','name' => '(GPZ) - Grand Rapids Itasca Co-Gordon Newstrom field, Grand Rapids, United States','country_id' => '228'),\narray('id' => '3090','name' => '(GQQ) - Galion Municipal Airport, Galion, United States','country_id' => '228'),\narray('id' => '3091','name' => '(GRB) - Austin Straubel International Airport, Green Bay, United States','country_id' => '228'),\narray('id' => '3092','name' => '(GRD) - Greenwood County Airport, Greenwood, United States','country_id' => '228'),\narray('id' => '3093','name' => '(GRE) - Greenville Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3094','name' => '(GRF) - Gray Army Air Field, Fort Lewis/Tacoma, United States','country_id' => '228'),\narray('id' => '3095','name' => '(GRI) - Central Nebraska Regional Airport, Grand Island, United States','country_id' => '228'),\narray('id' => '3096','name' => '(GRK) - Robert Gray Army Air Field Airport, Fort Hood/Killeen, United States','country_id' => '228'),\narray('id' => '3097','name' => '(GRN) - Gordon Municipal Airport, Gordon, United States','country_id' => '228'),\narray('id' => '3098','name' => '(GRR) - Gerald R. Ford International Airport, Grand Rapids, United States','country_id' => '228'),\narray('id' => '3099','name' => '(GSB) - Seymour Johnson Air Force Base, Goldsboro, United States','country_id' => '228'),\narray('id' => '3100','name' => '(GSH) - Goshen Municipal Airport, Goshen, United States','country_id' => '228'),\narray('id' => '3101','name' => '(GSO) - Piedmont Triad International Airport, Greensboro, United States','country_id' => '228'),\narray('id' => '3102','name' => '(GSP) - Greenville Spartanburg International Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3103','name' => '(GTF) - Great Falls International Airport, Great Falls, United States','country_id' => '228'),\narray('id' => '3104','name' => '(GTG) - Grantsburg Municipal Airport, Grantsburg, United States','country_id' => '228'),\narray('id' => '3105','name' => '(GTR) - Golden Triangle Regional Airport, Columbus/W Point/Starkville, United States','country_id' => '228'),\narray('id' => '3106','name' => '(GUC) - Gunnison Crested Butte Regional Airport, Gunnison, United States','country_id' => '228'),\narray('id' => '3107','name' => '(GUP) - Gallup Municipal Airport, Gallup, United States','country_id' => '228'),\narray('id' => '3108','name' => '(GUS) - Grissom Air Reserve Base, Peru, United States','country_id' => '228'),\narray('id' => '3109','name' => '(GUY) - Guymon Municipal Airport, Guymon, United States','country_id' => '228'),\narray('id' => '3110','name' => '(GVL) - Lee Gilmer Memorial Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3111','name' => '(GVT) - Majors Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3112','name' => '(KGW) - Kagi Airport, Kagi, Papua New Guinea','country_id' => '172'),\narray('id' => '3113','name' => '(GWO) - Greenwooda\"Leflore Airport, Greenwood, United States','country_id' => '228'),\narray('id' => '3114','name' => '(GWS) - Glenwood Springs Municipal Airport, Glenwood Springs, United States','country_id' => '228'),\narray('id' => '3115','name' => '(KGX) - Grayling Airport, Grayling, United States','country_id' => '228'),\narray('id' => '3116','name' => '(GXY) - Greeleya\"Weld County Airport, Greeley, United States','country_id' => '228'),\narray('id' => '3117','name' => '(GDC) - Donaldson Center Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3118','name' => '(PNX) - North Texas Regional Airport/Perrin Field, Sherman/Denison, United States','country_id' => '228'),\narray('id' => '3119','name' => '(GYR) - Phoenix Goodyear Airport, Goodyear, United States','country_id' => '228'),\narray('id' => '3120','name' => '(GYY) - Gary Chicago International Airport, Gary, United States','country_id' => '228'),\narray('id' => '3121','name' => '(KGZ) - Glacier Creek Airport, Glacier Creek, United States','country_id' => '228'),\narray('id' => '3122','name' => '(HAB) - Marion County Rankin Fite Airport, Hamilton, United States','country_id' => '228'),\narray('id' => '3123','name' => '(HAF) - Half Moon Bay Airport, Half Moon Bay, United States','country_id' => '228'),\narray('id' => '3124','name' => '(HAI) - Three Rivers Municipal Dr Haines Airport, Three Rivers, United States','country_id' => '228'),\narray('id' => '3125','name' => '(HAO) - Butler Co Regional Airport - Hogan Field, Hamilton, United States','country_id' => '228'),\narray('id' => '3126','name' => '(HBG) - Hattiesburg Bobby L Chain Municipal Airport, Hattiesburg, United States','country_id' => '228'),\narray('id' => '3127','name' => '(HBR) - Hobart Regional Airport, Hobart, United States','country_id' => '228'),\narray('id' => '3128','name' => '(HDE) - Brewster Field, Holdrege, United States','country_id' => '228'),\narray('id' => '3129','name' => '(HDN) - Yampa Valley Airport, Hayden, United States','country_id' => '228'),\narray('id' => '3130','name' => '(HEE) - Thompson-Robbins Airport, Helena/West Helena, United States','country_id' => '228'),\narray('id' => '3131','name' => '(MNZ) - Manassas Regional Airport/Harry P. Davis Field, Manassas, United States','country_id' => '228'),\narray('id' => '3132','name' => '(HEZ) - Hardy-Anders Field / Natchez-Adams County Airport, Natchez, United States','country_id' => '228'),\narray('id' => '3133','name' => '(HFD) - Hartford Brainard Airport, Hartford, United States','country_id' => '228'),\narray('id' => '3134','name' => '(HFF) - Mackall Army Air Field, Camp Mackall, United States','country_id' => '228'),\narray('id' => '3135','name' => '(HGR) - Hagerstown Regional Richard A Henson Field, Hagerstown, United States','country_id' => '228'),\narray('id' => '3136','name' => '(HHR) - Jack Northrop Field Hawthorne Municipal Airport, Hawthorne, United States','country_id' => '228'),\narray('id' => '3137','name' => '(HUJ) - Stan Stamper Municipal Airport, Hugo, United States','country_id' => '228'),\narray('id' => '3138','name' => '(HIB) - Range Regional Airport, Hibbing, United States','country_id' => '228'),\narray('id' => '3139','name' => '(HIE) - Mount Washington Regional Airport, Whitefield, United States','country_id' => '228'),\narray('id' => '3140','name' => '(HIF) - Hill Air Force Base, Ogden, United States','country_id' => '228'),\narray('id' => '3141','name' => '(HII) - Lake Havasu City Airport, Lake Havasu City, United States','country_id' => '228'),\narray('id' => '3142','name' => '(HIO) - Portland Hillsboro Airport, Portland, United States','country_id' => '228'),\narray('id' => '3143','name' => '(HKA) - Blytheville Municipal Airport, Blytheville, United States','country_id' => '228'),\narray('id' => '3144','name' => '(HKS) - Hawkins Field, Jackson, United States','country_id' => '228'),\narray('id' => '3145','name' => '(HKY) - Hickory Regional Airport, Hickory, United States','country_id' => '228'),\narray('id' => '3146','name' => '(HLB) - Hillenbrand Industries Airport, Batesville, United States','country_id' => '228'),\narray('id' => '3147','name' => '(HLC) - Hill City Municipal Airport, Hill City, United States','country_id' => '228'),\narray('id' => '3148','name' => '(HLG) - Wheeling Ohio County Airport, Wheeling, United States','country_id' => '228'),\narray('id' => '3149','name' => '(HLM) - Park Township Airport, Holland, United States','country_id' => '228'),\narray('id' => '3150','name' => '(HLN) - Helena Regional Airport, Helena, United States','country_id' => '228'),\narray('id' => '3151','name' => '(HLR) - Hood Army Air Field, Fort Hood(Killeen), United States','country_id' => '228'),\narray('id' => '3152','name' => '(HMN) - Holloman Air Force Base, Alamogordo, United States','country_id' => '228'),\narray('id' => '3153','name' => '(HMT) - Hemet Ryan Airport, Hemet, United States','country_id' => '228'),\narray('id' => '3154','name' => '(HNB) - Huntingburg Airport, Huntingburg, United States','country_id' => '228'),\narray('id' => '3155','name' => '(HSH) - Henderson Executive Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3156','name' => '(HOB) - Lea County Regional Airport, Hobbs, United States','country_id' => '228'),\narray('id' => '3157','name' => '(HON) - Huron Regional Airport, Huron, United States','country_id' => '228'),\narray('id' => '3158','name' => '(HOP) - Campbell AAF (Fort Campbell) Air Field, Fort Campbell/Hopkinsville, United States','country_id' => '228'),\narray('id' => '3159','name' => '(HOT) - Memorial Field, Hot Springs, United States','country_id' => '228'),\narray('id' => '3160','name' => '(HOU) - William P Hobby Airport, Houston, United States','country_id' => '228'),\narray('id' => '3161','name' => '(HPN) - Westchester County Airport, White Plains, United States','country_id' => '228'),\narray('id' => '3162','name' => '(HPT) - Hampton Municipal Airport, Hampton, United States','country_id' => '228'),\narray('id' => '3163','name' => '(HPY) - Baytown Airport, Baytown, United States','country_id' => '228'),\narray('id' => '3164','name' => '(HQM) - Bowerman Airport, Hoquiam, United States','country_id' => '228'),\narray('id' => '3165','name' => '(HES) - Hermiston Municipal Airport, Hermiston, United States','country_id' => '228'),\narray('id' => '3166','name' => '(HRL) - Valley International Airport, Harlingen, United States','country_id' => '228'),\narray('id' => '3167','name' => '(HRO) - Boone County Airport, Harrison, United States','country_id' => '228'),\narray('id' => '3168','name' => '(HSB) - Harrisburg-Raleigh Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '3169','name' => '(HNC) - Billy Mitchell Airport, Hatteras, United States','country_id' => '228'),\narray('id' => '3170','name' => '(HSI) - Hastings Municipal Airport, Hastings, United States','country_id' => '228'),\narray('id' => '3171','name' => '(HSP) - Ingalls Field, Hot Springs, United States','country_id' => '228'),\narray('id' => '3172','name' => '(HST) - Homestead ARB Airport, Homestead, United States','country_id' => '228'),\narray('id' => '3173','name' => '(HSV) - Huntsville International Carl T Jones Field, Huntsville, United States','country_id' => '228'),\narray('id' => '3174','name' => '(HTO) - East Hampton Airport, East Hampton, United States','country_id' => '228'),\narray('id' => '3175','name' => '(HTS) - Tri-State/Milton J. Ferguson Field, Huntington, United States','country_id' => '228'),\narray('id' => '3176','name' => '(HUA) - Redstone Army Air Field, Redstone Arsnl Huntsville, United States','country_id' => '228'),\narray('id' => '3177','name' => '(HUF) - Terre Haute International Hulman Field, Terre Haute, United States','country_id' => '228'),\narray('id' => '3178','name' => '(HUL) - Houlton International Airport, Houlton, United States','country_id' => '228'),\narray('id' => '3179','name' => '(HUM) - Houma Terrebonne Airport, Houma, United States','country_id' => '228'),\narray('id' => '3180','name' => '(HUT) - Hutchinson Municipal Airport, Hutchinson, United States','country_id' => '228'),\narray('id' => '3181','name' => '(HVE) - Hanksville Airport, Hanksville, United States','country_id' => '228'),\narray('id' => '3182','name' => '(HVN) - Tweed New Haven Airport, New Haven, United States','country_id' => '228'),\narray('id' => '3183','name' => '(HVR) - Havre City County Airport, Havre, United States','country_id' => '228'),\narray('id' => '3184','name' => '(HVS) - Hartsville Regional Airport, Hartsville, United States','country_id' => '228'),\narray('id' => '3185','name' => '(HWD) - Hayward Executive Airport, Hayward, United States','country_id' => '228'),\narray('id' => '3186','name' => '(HWO) - North Perry Airport, Hollywood, United States','country_id' => '228'),\narray('id' => '3187','name' => '(WSH) - Brookhaven Airport, Shirley, United States','country_id' => '228'),\narray('id' => '3188','name' => '(HHH) - Hilton Head Airport, Hilton Head Island, United States','country_id' => '228'),\narray('id' => '3189','name' => '(HYA) - Barnstable Municipal Boardman Polando Field, Hyannis, United States','country_id' => '228'),\narray('id' => '3190','name' => '(HYR) - Sawyer County Airport, Hayward, United States','country_id' => '228'),\narray('id' => '3191','name' => '(HYS) - Hays Regional Airport, Hays, United States','country_id' => '228'),\narray('id' => '3192','name' => '(HZL) - Hazleton Municipal Airport, Hazleton, United States','country_id' => '228'),\narray('id' => '3193','name' => '(JFN) - Northeast Ohio Regional Airport, Ashtabula, United States','country_id' => '228'),\narray('id' => '3194','name' => '(IAB) - Mc Connell Air Force Base, Wichita, United States','country_id' => '228'),\narray('id' => '3195','name' => '(IAD) - Washington Dulles International Airport, Washington, United States','country_id' => '228'),\narray('id' => '3196','name' => '(IAG) - Niagara Falls International Airport, Niagara Falls, United States','country_id' => '228'),\narray('id' => '3197','name' => '(IAH) - George Bush Intercontinental Houston Airport, Houston, United States','country_id' => '228'),\narray('id' => '3198','name' => '(ICL) - Schenck Field, Clarinda, United States','country_id' => '228'),\narray('id' => '3199','name' => '(ICT) - Wichita Mid Continent Airport, Wichita, United States','country_id' => '228'),\narray('id' => '3200','name' => '(IDA) - Idaho Falls Regional Airport, Idaho Falls, United States','country_id' => '228'),\narray('id' => '3201','name' => '(IDI) - Indiana County/Jimmy Stewart Fld/ Airport, Indiana, United States','country_id' => '228'),\narray('id' => '3202','name' => '(IDP) - Independence Municipal Airport, Independence, United States','country_id' => '228'),\narray('id' => '3203','name' => '(XPR) - Pine Ridge Airport, Pine Ridge, United States','country_id' => '228'),\narray('id' => '3204','name' => '(IFA) - Iowa Falls Municipal Airport, Iowa Falls, United States','country_id' => '228'),\narray('id' => '3205','name' => '(IFP) - Laughlin Bullhead International Airport, Bullhead City, United States','country_id' => '228'),\narray('id' => '3206','name' => '(IGM) - Kingman Airport, Kingman, United States','country_id' => '228'),\narray('id' => '3207','name' => '(IKK) - Greater Kankakee Airport, Kankakee, United States','country_id' => '228'),\narray('id' => '3208','name' => '(KIL) - Kilwa Airport, Kilwa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '3209','name' => '(ILE) - Skylark Field, Killeen, United States','country_id' => '228'),\narray('id' => '3210','name' => '(ILG) - New Castle Airport, Wilmington, United States','country_id' => '228'),\narray('id' => '3211','name' => '(ILM) - Wilmington International Airport, Wilmington, United States','country_id' => '228'),\narray('id' => '3212','name' => '(ILN) - Wilmington Airpark, Wilmington, United States','country_id' => '228'),\narray('id' => '3213','name' => '(IML) - Imperial Municipal Airport, Imperial, United States','country_id' => '228'),\narray('id' => '3214','name' => '(IMM) - Immokalee Regional Airport, Immokalee, United States','country_id' => '228'),\narray('id' => '3215','name' => '(MDN) - Madison Municipal Airport, Madison, United States','country_id' => '228'),\narray('id' => '3216','name' => '(IMT) - Ford Airport, Iron Mountain / Kingsford, United States','country_id' => '228'),\narray('id' => '3217','name' => '(IND) - Indianapolis International Airport, Indianapolis, United States','country_id' => '228'),\narray('id' => '3218','name' => '(INK) - Winkler County Airport, Wink, United States','country_id' => '228'),\narray('id' => '3219','name' => '(INL) - Falls International Airport, International Falls, United States','country_id' => '228'),\narray('id' => '3220','name' => '(INS) - Creech Air Force Base, Indian Springs, United States','country_id' => '228'),\narray('id' => '3221','name' => '(INT) - Smith Reynolds Airport, Winston Salem, United States','country_id' => '228'),\narray('id' => '3222','name' => '(INW) - Winslow Lindbergh Regional Airport, Winslow, United States','country_id' => '228'),\narray('id' => '3223','name' => '(IOW) - Iowa City Municipal Airport, Iowa City, United States','country_id' => '228'),\narray('id' => '3224','name' => '(IPL) - Imperial County Airport, Imperial, United States','country_id' => '228'),\narray('id' => '3225','name' => '(IPT) - Williamsport Regional Airport, Williamsport, United States','country_id' => '228'),\narray('id' => '3226','name' => '(KIQ) - Kira Airport, Kira, Papua New Guinea','country_id' => '172'),\narray('id' => '3227','name' => '(IRK) - Kirksville Regional Airport, Kirksville, United States','country_id' => '228'),\narray('id' => '3228','name' => '(IRS) - Kirsch Municipal Airport, Sturgis, United States','country_id' => '228'),\narray('id' => '3229','name' => '(ISM) - Kissimmee Gateway Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3230','name' => '(ISN) - Sloulin Field International Airport, Williston, United States','country_id' => '228'),\narray('id' => '3231','name' => '(ISO) - Kinston Regional Jetport At Stallings Field, Kinston, United States','country_id' => '228'),\narray('id' => '3232','name' => '(ISP) - Long Island Mac Arthur Airport, Islip, United States','country_id' => '228'),\narray('id' => '3233','name' => '(ISQ) - Schoolcraft County Airport, Manistique, United States','country_id' => '228'),\narray('id' => '3234','name' => '(ISW) - Alexander Field South Wood County Airport, Wisconsin Rapids, United States','country_id' => '228'),\narray('id' => '3235','name' => '(ITH) - Ithaca Tompkins Regional Airport, Ithaca, United States','country_id' => '228'),\narray('id' => '3236','name' => '(AZA) - Phoenix-Mesa-Gateway Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '3237','name' => '(IWD) - Gogebic Iron County Airport, Ironwood, United States','country_id' => '228'),\narray('id' => '3238','name' => '(ISS) - Wiscasset Airport, Wiscasset, United States','country_id' => '228'),\narray('id' => '3239','name' => '(IWS) - West Houston Airport, Houston, United States','country_id' => '228'),\narray('id' => '3240','name' => '(JCI) - New Century Aircenter Airport, Olathe, United States','country_id' => '228'),\narray('id' => '3241','name' => '(IYK) - Inyokern Airport, Inyokern, United States','country_id' => '228'),\narray('id' => '3242','name' => '(SQA) - Santa Ynez Airport, Santa Ynez, United States','country_id' => '228'),\narray('id' => '3243','name' => '(FRY) - Eastern Slopes Regional Airport, Fryeburg, United States','country_id' => '228'),\narray('id' => '3244','name' => '(JAC) - Jackson Hole Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3245','name' => '(JAN) - Jackson-Medgar Wiley Evers International Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3246','name' => '(JAS) - Jasper County Airport-Bell Field, Jasper, United States','country_id' => '228'),\narray('id' => '3247','name' => '(JAX) - Jacksonville International Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3248','name' => '(JBR) - Jonesboro Municipal Airport, Jonesboro, United States','country_id' => '228'),\narray('id' => '3249','name' => '(JCT) - Kimble County Airport, Junction, United States','country_id' => '228'),\narray('id' => '3250','name' => '(JDN) - Jordan Airport, Jordan, United States','country_id' => '228'),\narray('id' => '3251','name' => '(JEF) - Jefferson City Memorial Airport, Jefferson City, United States','country_id' => '228'),\narray('id' => '3252','name' => '(JFK) - John F Kennedy International Airport, New York, United States','country_id' => '228'),\narray('id' => '3253','name' => '(JHW) - Chautauqua County-Jamestown Airport, Jamestown, United States','country_id' => '228'),\narray('id' => '3254','name' => '(GUF) - Jack Edwards Airport, Gulf Shores, United States','country_id' => '228'),\narray('id' => '3255','name' => '(JLN) - Joplin Regional Airport, Joplin, United States','country_id' => '228'),\narray('id' => '3256','name' => '(JMS) - Jamestown Regional Airport, Jamestown, United States','country_id' => '228'),\narray('id' => '3257','name' => '(JOT) - Joliet Regional Airport, Joliet, United States','country_id' => '228'),\narray('id' => '3258','name' => '(USA) - Concord Regional Airport, Concord, United States','country_id' => '228'),\narray('id' => '3259','name' => '(JKV) - Cherokee County Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3260','name' => '(JST) - John Murtha Johnstown Cambria County Airport, Johnstown, United States','country_id' => '228'),\narray('id' => '3261','name' => '(JVL) - Southern Wisconsin Regional Airport, Janesville, United States','country_id' => '228'),\narray('id' => '3262','name' => '(JXN) - Jackson County Reynolds Field, Jackson, United States','country_id' => '228'),\narray('id' => '3263','name' => '(KIC) - Mesa Del Rey Airport, King City, United States','country_id' => '228'),\narray('id' => '3264','name' => '(KLS) - Southwest Washington Regional Airport, Kelso, United States','country_id' => '228'),\narray('id' => '3265','name' => '(KKU) - Ekuk Airport, Ekuk, United States','country_id' => '228'),\narray('id' => '3266','name' => '(DTH) - Furnace Creek Airport, Death Valley National Park, United States','country_id' => '228'),\narray('id' => '3267','name' => '(BXS) - Borrego Valley Airport, Borrego Springs, United States','country_id' => '228'),\narray('id' => '3268','name' => '(RBF) - Big Bear City Airport, Big Bear, United States','country_id' => '228'),\narray('id' => '3269','name' => '(TRH) - Trona Airport, Trona, United States','country_id' => '228'),\narray('id' => '3270','name' => '(LAA) - Lamar Municipal Airport, Lamar, United States','country_id' => '228'),\narray('id' => '3271','name' => '(LAF) - Purdue University Airport, Lafayette, United States','country_id' => '228'),\narray('id' => '3272','name' => '(LAL) - Lakeland Linder Regional Airport, Lakeland, United States','country_id' => '228'),\narray('id' => '3273','name' => '(LAM) - Los Alamos Airport, Los Alamos, United States','country_id' => '228'),\narray('id' => '3274','name' => '(LAN) - Capital City Airport, Lansing, United States','country_id' => '228'),\narray('id' => '3275','name' => '(LAR) - Laramie Regional Airport, Laramie, United States','country_id' => '228'),\narray('id' => '3276','name' => '(LAS) - McCarran International Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3277','name' => '(LAW) - Lawton Fort Sill Regional Airport, Lawton, United States','country_id' => '228'),\narray('id' => '3278','name' => '(LAX) - Los Angeles International Airport, Los Angeles, United States','country_id' => '228'),\narray('id' => '3279','name' => '(LBB) - Lubbock Preston Smith International Airport, Lubbock, United States','country_id' => '228'),\narray('id' => '3280','name' => '(LBE) - Arnold Palmer Regional Airport, Latrobe, United States','country_id' => '228'),\narray('id' => '3281','name' => '(LBF) - North Platte Regional Airport Lee Bird Field, North Platte, United States','country_id' => '228'),\narray('id' => '3282','name' => '(LBL) - Liberal Mid-America Regional Airport, Liberal, United States','country_id' => '228'),\narray('id' => '3283','name' => '(LBT) - Lumberton Regional Airport, Lumberton, United States','country_id' => '228'),\narray('id' => '3284','name' => '(LJN) - Texas Gulf Coast Regional Airport, Angleton/Lake Jackson, United States','country_id' => '228'),\narray('id' => '3285','name' => '(LCH) - Lake Charles Regional Airport, Lake Charles, United States','country_id' => '228'),\narray('id' => '3286','name' => '(LCI) - Laconia Municipal Airport, Laconia, United States','country_id' => '228'),\narray('id' => '3287','name' => '(LCK) - Rickenbacker International Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3288','name' => '(LCQ) - Lake City Gateway Airport, Lake City, United States','country_id' => '228'),\narray('id' => '3289','name' => '(LDJ) - Linden Airport, Linden, United States','country_id' => '228'),\narray('id' => '3290','name' => '(LDM) - Mason County Airport, Ludington, United States','country_id' => '228'),\narray('id' => '3291','name' => '(LEB) - Lebanon Municipal Airport, Lebanon, United States','country_id' => '228'),\narray('id' => '3292','name' => '(LEE) - Leesburg International Airport, Leesburg, United States','country_id' => '228'),\narray('id' => '3293','name' => '(LEM) - Lemmon Municipal Airport, Lemmon, United States','country_id' => '228'),\narray('id' => '3294','name' => '(LEW) - Auburn Lewiston Municipal Airport, Auburn/Lewiston, United States','country_id' => '228'),\narray('id' => '3295','name' => '(LEX) - Blue Grass Airport, Lexington, United States','country_id' => '228'),\narray('id' => '3296','name' => '(LFI) - Langley Air Force Base, Hampton, United States','country_id' => '228'),\narray('id' => '3297','name' => '(LFK) - Angelina County Airport, Lufkin, United States','country_id' => '228'),\narray('id' => '3298','name' => '(LFT) - Lafayette Regional Airport, Lafayette, United States','country_id' => '228'),\narray('id' => '3299','name' => '(LGA) - La Guardia Airport, New York, United States','country_id' => '228'),\narray('id' => '3300','name' => '(LGB) - Long Beach /Daugherty Field/ Airport, Long Beach, United States','country_id' => '228'),\narray('id' => '3301','name' => '(LGC) - Lagrange Callaway Airport, Lagrange, United States','country_id' => '228'),\narray('id' => '3302','name' => '(LGD) - La Grande/Union County Airport, La Grande, United States','country_id' => '228'),\narray('id' => '3303','name' => '(LGF) - Laguna Army Airfield, Yuma Proving Ground(Yuma), United States','country_id' => '228'),\narray('id' => '3304','name' => '(LGU) - Logan-Cache Airport, Logan, United States','country_id' => '228'),\narray('id' => '3305','name' => '(LHV) - William T. Piper Memorial Airport, Lock Haven, United States','country_id' => '228'),\narray('id' => '3306','name' => '(LIY) - Wright Aaf (Fort Stewart)/Midcoast Regional Airport, Fort Stewart(Hinesville), United States','country_id' => '228'),\narray('id' => '3307','name' => '(LFN) - Triangle North Executive Airport, Louisburg, United States','country_id' => '228'),\narray('id' => '3308','name' => '(LIC) - Limon Municipal Airport, Limon, United States','country_id' => '228'),\narray('id' => '3309','name' => '(LIT) - Bill & Hillary Clinton National Airport/Adams Field, Little Rock, United States','country_id' => '228'),\narray('id' => '3310','name' => '(LKP) - Lake Placid Airport, Lake Placid, United States','country_id' => '228'),\narray('id' => '3311','name' => '(LOW) - Louisa County Airport/Freeman Field, Louisa, United States','country_id' => '228'),\narray('id' => '3312','name' => '(LKV) - Lake County Airport, Lakeview, United States','country_id' => '228'),\narray('id' => '3313','name' => '(CHL) - Challis Airport, Challis, United States','country_id' => '228'),\narray('id' => '3314','name' => '(LMS) - Louisville Winston County Airport, Louisville, United States','country_id' => '228'),\narray('id' => '3315','name' => '(LMT) - Klamath Falls Airport, Klamath Falls, United States','country_id' => '228'),\narray('id' => '3316','name' => '(LNA) - Palm Beach County Park Airport, West Palm Beach, United States','country_id' => '228'),\narray('id' => '3317','name' => '(LND) - Hunt Field, Lander, United States','country_id' => '228'),\narray('id' => '3318','name' => '(LNK) - Lincoln Airport, Lincoln, United States','country_id' => '228'),\narray('id' => '3319','name' => '(LNN) - Willoughby Lost Nation Municipal Airport, Willoughby, United States','country_id' => '228'),\narray('id' => '3320','name' => '(LNP) - Lonesome Pine Airport, Wise, United States','country_id' => '228'),\narray('id' => '3321','name' => '(LNR) - Tri-County Regional Airport, Lone Rock, United States','country_id' => '228'),\narray('id' => '3322','name' => '(LNS) - Lancaster Airport, Lancaster, United States','country_id' => '228'),\narray('id' => '3323','name' => '(LOL) - Derby Field, Lovelock, United States','country_id' => '228'),\narray('id' => '3324','name' => '(BBX) - Wings Field, Philadelphia, United States','country_id' => '228'),\narray('id' => '3325','name' => '(LOT) - Lewis University Airport, Chicago/Romeoville, United States','country_id' => '228'),\narray('id' => '3326','name' => '(LOU) - Bowman Field, Louisville, United States','country_id' => '228'),\narray('id' => '3327','name' => '(LOZ) - London-Corbin Airport/Magee Field, London, United States','country_id' => '228'),\narray('id' => '3328','name' => '(LPC) - Lompoc Airport, Lompoc, United States','country_id' => '228'),\narray('id' => '3329','name' => '(LQK) - Pickens County Airport, Pickens, United States','country_id' => '228'),\narray('id' => '3330','name' => '(LRD) - Laredo International Airport, Laredo, United States','country_id' => '228'),\narray('id' => '3331','name' => '(LRF) - Little Rock Air Force Base, Jacksonville, United States','country_id' => '228'),\narray('id' => '3332','name' => '(LRJ) - Le Mars Municipal Airport, Le Mars, United States','country_id' => '228'),\narray('id' => '3333','name' => '(LRU) - Las Cruces International Airport, Las Cruces, United States','country_id' => '228'),\narray('id' => '3334','name' => '(LSB) - Lordsburg Municipal Airport, Lordsburg, United States','country_id' => '228'),\narray('id' => '3335','name' => '(LSE) - La Crosse Municipal Airport, La Crosse, United States','country_id' => '228'),\narray('id' => '3336','name' => '(LSF) - Lawson Army Air Field (Fort Benning), Fort Benning(Columbus), United States','country_id' => '228'),\narray('id' => '3337','name' => '(LSK) - Lusk Municipal Airport, Lusk, United States','country_id' => '228'),\narray('id' => '3338','name' => '(LSN) - Los Banos Municipal Airport, Los Banos, United States','country_id' => '228'),\narray('id' => '3339','name' => '(LSV) - Nellis Air Force Base, Las Vegas, United States','country_id' => '228'),\narray('id' => '3340','name' => '(LTS) - Altus Air Force Base, Altus, United States','country_id' => '228'),\narray('id' => '3341','name' => '(LUF) - Luke Air Force Base, Glendale, United States','country_id' => '228'),\narray('id' => '3342','name' => '(LUK) - Cincinnati Municipal Airport Lunken Field, Cincinnati, United States','country_id' => '228'),\narray('id' => '3343','name' => '(LUL) - Hesler Noble Field, Laurel, United States','country_id' => '228'),\narray('id' => '3344','name' => '(LVK) - Livermore Municipal Airport, Livermore, United States','country_id' => '228'),\narray('id' => '3345','name' => '(LVL) - Lawrenceville Brunswick Municipal Airport, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3346','name' => '(LVM) - Mission Field, Livingston, United States','country_id' => '228'),\narray('id' => '3347','name' => '(LVS) - Las Vegas Municipal Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3348','name' => '(LWB) - Greenbrier Valley Airport, Lewisburg, United States','country_id' => '228'),\narray('id' => '3349','name' => '(LWC) - Lawrence Municipal Airport, Lawrence, United States','country_id' => '228'),\narray('id' => '3350','name' => '(LWL) - Wells Municipal Airport/Harriet Field, Wells, United States','country_id' => '228'),\narray('id' => '3351','name' => '(LWM) - Lawrence Municipal Airport, Lawrence, United States','country_id' => '228'),\narray('id' => '3352','name' => '(LWS) - Lewiston Nez Perce County Airport, Lewiston, United States','country_id' => '228'),\narray('id' => '3353','name' => '(LWT) - Lewistown Municipal Airport, Lewistown, United States','country_id' => '228'),\narray('id' => '3354','name' => '(LWV) - Lawrenceville Vincennes International Airport, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3355','name' => '(LXN) - Jim Kelly Field, Lexington, United States','country_id' => '228'),\narray('id' => '3356','name' => '(LXV) - Lake County Airport, Leadville, United States','country_id' => '228'),\narray('id' => '3357','name' => '(LYH) - Lynchburg Regional Preston Glenn Field, Lynchburg, United States','country_id' => '228'),\narray('id' => '3358','name' => '(LYO) - Lyons-Rice County Municipal Airport, Lyons, United States','country_id' => '228'),\narray('id' => '3359','name' => '(LZU) - Gwinnett County Briscoe Field, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3360','name' => '(PCU) - Poplarville Pearl River County Airport, Poplarville, United States','country_id' => '228'),\narray('id' => '3361','name' => '(MLK) - Malta Airport, Malta, United States','country_id' => '228'),\narray('id' => '3362','name' => '(MAC) - Macon Downtown Airport, Macon, United States','country_id' => '228'),\narray('id' => '3363','name' => '(MAE) - Madera Municipal Airport, Madera, United States','country_id' => '228'),\narray('id' => '3364','name' => '(MAF) - Midland International Airport, Midland, United States','country_id' => '228'),\narray('id' => '3365','name' => '(MAN) - KMAN, Nampa, United States','country_id' => '228'),\narray('id' => '3366','name' => '(MAW) - Malden Regional Airport, Malden, United States','country_id' => '228'),\narray('id' => '3367','name' => '(KMB) - Koinambe Airport, Konambe, Papua New Guinea','country_id' => '172'),\narray('id' => '3368','name' => '(MBG) - Mobridge Municipal Airport, Mobridge, United States','country_id' => '228'),\narray('id' => '3369','name' => '(MBL) - Manistee Co Blacker Airport, Manistee, United States','country_id' => '228'),\narray('id' => '3370','name' => '(DXE) - Bruce Campbell Field, Madison, United States','country_id' => '228'),\narray('id' => '3371','name' => '(MBS) - MBS International Airport, Saginaw, United States','country_id' => '228'),\narray('id' => '3372','name' => '(MBY) - Omar N Bradley Airport, Moberly, United States','country_id' => '228'),\narray('id' => '3373','name' => '(MCB) - Mc Comb/Pike County Airport/John E Lewis Field, Mc Comb, United States','country_id' => '228'),\narray('id' => '3374','name' => '(MCC) - Mc Clellan Airfield, Sacramento, United States','country_id' => '228'),\narray('id' => '3375','name' => '(MCD) - Mackinac Island Airport, Mackinac Island, United States','country_id' => '228'),\narray('id' => '3376','name' => '(MCE) - Merced Regional Macready Field, Merced, United States','country_id' => '228'),\narray('id' => '3377','name' => '(MCF) - Mac Dill Air Force Base, Tampa, United States','country_id' => '228'),\narray('id' => '3378','name' => '(MCI) - Kansas City International Airport, Kansas City, United States','country_id' => '228'),\narray('id' => '3379','name' => '(MCK) - Mc Cook Ben Nelson Regional Airport, Mc Cook, United States','country_id' => '228'),\narray('id' => '3380','name' => '(MCN) - Middle Georgia Regional Airport, Macon, United States','country_id' => '228'),\narray('id' => '3381','name' => '(MCO) - Orlando International Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3382','name' => '(MCW) - Mason City Municipal Airport, Mason City, United States','country_id' => '228'),\narray('id' => '3383','name' => '(MDD) - Midland Airpark, Midland, United States','country_id' => '228'),\narray('id' => '3384','name' => '(MDH) - Southern Illinois Airport, Carbondale/Murphysboro, United States','country_id' => '228'),\narray('id' => '3385','name' => '(XMD) - Madison Municipal Airport, Madison, United States','country_id' => '228'),\narray('id' => '3386','name' => '(MDT) - Harrisburg International Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '3387','name' => '(MDW) - Chicago Midway International Airport, Chicago, United States','country_id' => '228'),\narray('id' => '3388','name' => '(MDF) - Taylor County Airport, Medford, United States','country_id' => '228'),\narray('id' => '3389','name' => '(MEI) - Key Field, Meridian, United States','country_id' => '228'),\narray('id' => '3390','name' => '(MEM) - Memphis International Airport, Memphis, United States','country_id' => '228'),\narray('id' => '3391','name' => '(MER) - Castle Airport, Merced, United States','country_id' => '228'),\narray('id' => '3392','name' => '(MEV) - Minden-Tahoe Airport, Minden, United States','country_id' => '228'),\narray('id' => '3393','name' => '(KMF) - Kamina Airport, Hoieti, Papua New Guinea','country_id' => '172'),\narray('id' => '3394','name' => '(MFD) - Mansfield Lahm Regional Airport, Mansfield, United States','country_id' => '228'),\narray('id' => '3395','name' => '(MFE) - Mc Allen Miller International Airport, Mc Allen, United States','country_id' => '228'),\narray('id' => '3396','name' => '(MFI) - Marshfield Municipal Airport, Marshfield, United States','country_id' => '228'),\narray('id' => '3397','name' => '(MFR) - Rogue Valley International Medford Airport, Medford, United States','country_id' => '228'),\narray('id' => '3398','name' => '(MFV) - Accomack County Airport, Melfa, United States','country_id' => '228'),\narray('id' => '3399','name' => '(MGC) - Michigan City Municipal Airport, Michigan City, United States','country_id' => '228'),\narray('id' => '3400','name' => '(MGE) - Dobbins Air Reserve Base, Marietta, United States','country_id' => '228'),\narray('id' => '3401','name' => '(MGJ) - Orange County Airport, Montgomery, United States','country_id' => '228'),\narray('id' => '3402','name' => '(MGM) - Montgomery Regional (Dannelly Field) Airport, Montgomery, United States','country_id' => '228'),\narray('id' => '3403','name' => '(MGR) - Moultrie Municipal Airport, Moultrie, United States','country_id' => '228'),\narray('id' => '3404','name' => '(MGW) - Morgantown Municipal Walter L. Bill Hart Field, Morgantown, United States','country_id' => '228'),\narray('id' => '3405','name' => '(MGY) - Dayton-Wright Brothers Airport, Dayton, United States','country_id' => '228'),\narray('id' => '3406','name' => '(MHE) - Mitchell Municipal Airport, Mitchell, United States','country_id' => '228'),\narray('id' => '3407','name' => '(MHK) - Manhattan Regional Airport, Manhattan, United States','country_id' => '228'),\narray('id' => '3408','name' => '(MHL) - Marshall Memorial Municipal Airport, Marshall, United States','country_id' => '228'),\narray('id' => '3409','name' => '(MHR) - Sacramento Mather Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3410','name' => '(MHT) - Manchester Airport, Manchester, United States','country_id' => '228'),\narray('id' => '3411','name' => '(MHV) - Mojave Airport, Mojave, United States','country_id' => '228'),\narray('id' => '3412','name' => '(MIA) - Miami International Airport, Miami, United States','country_id' => '228'),\narray('id' => '3413','name' => '(MIE) - Delaware County Johnson Field, Muncie, United States','country_id' => '228'),\narray('id' => '3414','name' => '(MJX) - Ocean County Airport, Toms River, United States','country_id' => '228'),\narray('id' => '3415','name' => '(MKC) - Charles B. Wheeler Downtown Airport, Kansas City, United States','country_id' => '228'),\narray('id' => '3416','name' => '(MKE) - General Mitchell International Airport, Milwaukee, United States','country_id' => '228'),\narray('id' => '3417','name' => '(MKG) - Muskegon County Airport, Muskegon, United States','country_id' => '228'),\narray('id' => '3418','name' => '(MKL) - Mc Kellar Sipes Regional Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3419','name' => '(MRK) - Marco Island Airport, Marco Island, United States','country_id' => '228'),\narray('id' => '3420','name' => '(MLB) - Melbourne International Airport, Melbourne, United States','country_id' => '228'),\narray('id' => '3421','name' => '(MLI) - Quad City International Airport, Moline, United States','country_id' => '228'),\narray('id' => '3422','name' => '(MLS) - Frank Wiley Field, Miles City, United States','country_id' => '228'),\narray('id' => '3423','name' => '(MLU) - Monroe Regional Airport, Monroe, United States','country_id' => '228'),\narray('id' => '3424','name' => '(KMM) - Kimaam Airport, Kimaam, Indonesia','country_id' => '97'),\narray('id' => '3425','name' => '(MMH) - Mammoth Yosemite Airport, Mammoth Lakes, United States','country_id' => '228'),\narray('id' => '3426','name' => '(MMI) - McMinn County Airport, Athens, United States','country_id' => '228'),\narray('id' => '3427','name' => '(MML) - Southwest Minnesota Regional Airport - Marshall/Ryan Field, Marshall, United States','country_id' => '228'),\narray('id' => '3428','name' => '(MMS) - Selfs Airport, Marks, United States','country_id' => '228'),\narray('id' => '3429','name' => '(MMT) - Mc Entire Joint National Guard Base, Eastover, United States','country_id' => '228'),\narray('id' => '3430','name' => '(MMU) - Morristown Municipal Airport, Morristown, United States','country_id' => '228'),\narray('id' => '3431','name' => '(MNN) - Marion Municipal Airport, Marion, United States','country_id' => '228'),\narray('id' => '3432','name' => '(MOB) - Mobile Regional Airport, Mobile, United States','country_id' => '228'),\narray('id' => '3433','name' => '(MOD) - Modesto City Co-Harry Sham Field, Modesto, United States','country_id' => '228'),\narray('id' => '3434','name' => '(MOT) - Minot International Airport, Minot, United States','country_id' => '228'),\narray('id' => '3435','name' => '(RMY) - Mariposa Yosemite Airport, Mariposa, United States','country_id' => '228'),\narray('id' => '3436','name' => '(MPV) - Edward F Knapp State Airport, Barre/Montpelier, United States','country_id' => '228'),\narray('id' => '3437','name' => '(MPZ) - Mount Pleasant Municipal Airport, Mount Pleasant, United States','country_id' => '228'),\narray('id' => '3438','name' => '(MQB) - Macomb Municipal Airport, Macomb, United States','country_id' => '228'),\narray('id' => '3439','name' => '(MEO) - Dare County Regional Airport, Manteo, United States','country_id' => '228'),\narray('id' => '3440','name' => '(CTH) - Chester County G O Carlson Airport, Coatesville, United States','country_id' => '228'),\narray('id' => '3441','name' => '(MQY) - Smyrna Airport, Smyrna, United States','country_id' => '228'),\narray('id' => '3442','name' => '(MRB) - Eastern WV Regional Airport/Shepherd Field, Martinsburg, United States','country_id' => '228'),\narray('id' => '3443','name' => '(MRC) - Maury County Airport, Columbia/Mount Pleasant, United States','country_id' => '228'),\narray('id' => '3444','name' => '(MRY) - Monterey Peninsula Airport, Monterey, United States','country_id' => '228'),\narray('id' => '3445','name' => '(MSL) - Northwest Alabama Regional Airport, Muscle Shoals, United States','country_id' => '228'),\narray('id' => '3446','name' => '(MSN) - Dane County Regional Truax Field, Madison, United States','country_id' => '228'),\narray('id' => '3447','name' => '(MSO) - Missoula International Airport, Missoula, United States','country_id' => '228'),\narray('id' => '3448','name' => '(MSP) - Minneapolis-St Paul International/Wold-Chamberlain Airport, Minneapolis, United States','country_id' => '228'),\narray('id' => '3449','name' => '(MSS) - Massena International Richards Field, Massena, United States','country_id' => '228'),\narray('id' => '3450','name' => '(MSY) - Louis Armstrong New Orleans International Airport, New Orleans, United States','country_id' => '228'),\narray('id' => '3451','name' => '(MTJ) - Montrose Regional Airport, Montrose, United States','country_id' => '228'),\narray('id' => '3452','name' => '(MUO) - Mountain Home Air Force Base, Mountain Home, United States','country_id' => '228'),\narray('id' => '3453','name' => '(MVC) - Monroe County Airport, Monroeville, United States','country_id' => '228'),\narray('id' => '3454','name' => '(MVL) - Morrisville Stowe State Airport, Morrisville, United States','country_id' => '228'),\narray('id' => '3455','name' => '(MVY) - Martha\\'s Vineyard Airport, Martha\\'s Vineyard, United States','country_id' => '228'),\narray('id' => '3456','name' => '(MWA) - Williamson County Regional Airport, Marion, United States','country_id' => '228'),\narray('id' => '3457','name' => '(MWH) - Grant County International Airport, Moses Lake, United States','country_id' => '228'),\narray('id' => '3458','name' => '(MWL) - Mineral Wells Airport, Mineral Wells, United States','country_id' => '228'),\narray('id' => '3459','name' => '(MYF) - Montgomery Field, San Diego, United States','country_id' => '228'),\narray('id' => '3460','name' => '(MYL) - McCall Municipal Airport, McCall, United States','country_id' => '228'),\narray('id' => '3461','name' => '(MYR) - Myrtle Beach International Airport, Myrtle Beach, United States','country_id' => '228'),\narray('id' => '3462','name' => '(MYV) - Yuba County Airport, Marysville, United States','country_id' => '228'),\narray('id' => '3463','name' => '(MZJ) - Pinal Airpark, Marana, United States','country_id' => '228'),\narray('id' => '3464','name' => '(MZZ) - Marion Municipal Airport, Marion, United States','country_id' => '228'),\narray('id' => '3465','name' => '(CTX) - Cortland County Chase Field, Cortland, United States','country_id' => '228'),\narray('id' => '3466','name' => '(SXY) - Sidney Municipal Airport, Sidney, United States','country_id' => '228'),\narray('id' => '3467','name' => '(ESP) - Stroudsburg Pocono Airport, East Stroudsburg, United States','country_id' => '228'),\narray('id' => '3468','name' => '(NBG) - New Orleans NAS JRB/Alvin Callender Field, New Orleans, United States','country_id' => '228'),\narray('id' => '3469','name' => '(NHX) - Naval Outlying Field Barin, Foley, United States','country_id' => '228'),\narray('id' => '3470','name' => '(DGN) - Dahlgren Naval Surface Warfare Center Airport, Dahlgren, United States','country_id' => '228'),\narray('id' => '3471','name' => '(NEL) - Lakehurst Maxfield Field Airport, Lakehurst, United States','country_id' => '228'),\narray('id' => '3472','name' => '(NEN) - Whitehouse Naval Outlying Field, Jacksonville, United States','country_id' => '228'),\narray('id' => '3473','name' => '(NEW) - Lakefront Airport, New Orleans, United States','country_id' => '228'),\narray('id' => '3474','name' => '(NFL) - Fallon Naval Air Station, Fallon, United States','country_id' => '228'),\narray('id' => '3475','name' => '(FWH) - NAS Fort Worth JRB/Carswell Field, Fort Worth, United States','country_id' => '228'),\narray('id' => '3476','name' => '(NHZ) - Brunswick Executive Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '3477','name' => '(NKX) - Miramar Marine Corps Air Station - Mitscher Field, San Diego, United States','country_id' => '228'),\narray('id' => '3478','name' => '(NLC) - Lemoore Naval Air Station (Reeves Field) Airport, Lemoore, United States','country_id' => '228'),\narray('id' => '3479','name' => '(NPA) - Pensacola Naval Air Station/Forrest Sherman Field, Pensacola, United States','country_id' => '228'),\narray('id' => '3480','name' => '(NQA) - Millington Regional Jetport Airport, Millington, United States','country_id' => '228'),\narray('id' => '3481','name' => '(NQI) - Kingsville Naval Air Station, Kingsville, United States','country_id' => '228'),\narray('id' => '3482','name' => '(NQX) - Naval Air Station Key West/Boca Chica Field, Key West, United States','country_id' => '228'),\narray('id' => '3483','name' => '(NRB) - Naval Station Mayport (Admiral David L. Mcdonald Field), Mayport, United States','country_id' => '228'),\narray('id' => '3484','name' => '(NRS) - Naval Outlying Field Imperial Beach (Ream Field), Imperial Beach, United States','country_id' => '228'),\narray('id' => '3485','name' => '(NSE) - Whiting Field Naval Air Station - North, Milton, United States','country_id' => '228'),\narray('id' => '3486','name' => '(NTD) - Point Mugu Naval Air Station (Naval Base Ventura Co), Point Mugu, United States','country_id' => '228'),\narray('id' => '3487','name' => '(YUM) - Yuma MCAS/Yuma International Airport, Yuma, United States','country_id' => '228'),\narray('id' => '3488','name' => '(NZY) - North Island Naval Air Station-Halsey Field, San Diego, United States','country_id' => '228'),\narray('id' => '3489','name' => '(NVN) - Nervino Airport, Beckwourth, United States','country_id' => '228'),\narray('id' => '3490','name' => '(COA) - Columbia Airport, Columbia, United States','country_id' => '228'),\narray('id' => '3491','name' => '(ODC) - Oakdale Airport, Oakdale, United States','country_id' => '228'),\narray('id' => '3492','name' => '(EYR) - Yerington Municipal Airport, Yerington, United States','country_id' => '228'),\narray('id' => '3493','name' => '(OAJ) - Albert J Ellis Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3494','name' => '(OAK) - Metropolitan Oakland International Airport, Oakland, United States','country_id' => '228'),\narray('id' => '3495','name' => '(OAR) - Marina Municipal Airport, Marina, United States','country_id' => '228'),\narray('id' => '3496','name' => '(OBE) - Okeechobee County Airport, Okeechobee, United States','country_id' => '228'),\narray('id' => '3497','name' => '(OCF) - Ocala International Airport - Jim Taylor Field, Ocala, United States','country_id' => '228'),\narray('id' => '3498','name' => '(OCH) - A L Mangham Jr. Regional Airport, Nacogdoches, United States','country_id' => '228'),\narray('id' => '3499','name' => '(OCW) - Warren Field, Washington, United States','country_id' => '228'),\narray('id' => '3500','name' => '(OEA) - O\\'Neal Airport, Vincennes, United States','country_id' => '228'),\narray('id' => '3501','name' => '(OEO) - L O Simenstad Municipal Airport, Osceola, United States','country_id' => '228'),\narray('id' => '3502','name' => '(OFF) - Offutt Air Force Base, Omaha, United States','country_id' => '228'),\narray('id' => '3503','name' => '(OFK) - Karl Stefan Memorial Airport, Norfolk, United States','country_id' => '228'),\narray('id' => '3504','name' => '(OGA) - Searle Field, Ogallala, United States','country_id' => '228'),\narray('id' => '3505','name' => '(OGB) - Orangeburg Municipal Airport, Orangeburg, United States','country_id' => '228'),\narray('id' => '3506','name' => '(OGD) - Ogden Hinckley Airport, Ogden, United States','country_id' => '228'),\narray('id' => '3507','name' => '(OGS) - Ogdensburg International Airport, Ogdensburg, United States','country_id' => '228'),\narray('id' => '3508','name' => '(OIC) - Lt Warren Eaton Airport, Norwich, United States','country_id' => '228'),\narray('id' => '3509','name' => '(OJC) - Johnson County Executive Airport, Olathe, United States','country_id' => '228'),\narray('id' => '3510','name' => '(OCN) - Oceanside Municipal Airport, Oceanside, United States','country_id' => '228'),\narray('id' => '3511','name' => '(OKC) - Will Rogers World Airport, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3512','name' => '(ODW) - AJ Eisenberg Airport, Oak Harbor, United States','country_id' => '228'),\narray('id' => '3513','name' => '(OKK) - Kokomo Municipal Airport, Kokomo, United States','country_id' => '228'),\narray('id' => '3514','name' => '(OKM) - Okmulgee Regional Airport, Okmulgee, United States','country_id' => '228'),\narray('id' => '3515','name' => '(OKS) - Garden County Airport, Oshkosh, United States','country_id' => '228'),\narray('id' => '3516','name' => '(WGO) - Winchester Regional Airport, Winchester, United States','country_id' => '228'),\narray('id' => '3517','name' => '(OLD) - Dewitt Field,Old Town Municipal Airport, Old Town, United States','country_id' => '228'),\narray('id' => '3518','name' => '(OLF) - L M Clayton Airport, Wolf Point, United States','country_id' => '228'),\narray('id' => '3519','name' => '(OLM) - Olympia Regional Airport, Olympia, United States','country_id' => '228'),\narray('id' => '3520','name' => '(OLV) - Olive Branch Airport, Olive Branch, United States','country_id' => '228'),\narray('id' => '3521','name' => '(KOM) - Komo-Manda Airport, Komo, Papua New Guinea','country_id' => '172'),\narray('id' => '3522','name' => '(OMA) - Eppley Airfield, Omaha, United States','country_id' => '228'),\narray('id' => '3523','name' => '(OMK) - Omak Airport, Omak, United States','country_id' => '228'),\narray('id' => '3524','name' => '(ONO) - Ontario Municipal Airport, Ontario, United States','country_id' => '228'),\narray('id' => '3525','name' => '(ONT) - Ontario International Airport, Ontario, United States','country_id' => '228'),\narray('id' => '3526','name' => '(NCO) - Quonset State Airport, North Kingstown, United States','country_id' => '228'),\narray('id' => '3527','name' => '(KOR) - Kakoro(Koroko) Airstrip, Kakoro, Papua New Guinea','country_id' => '172'),\narray('id' => '3528','name' => '(ORD) - Chicago O\\'Hare International Airport, Chicago, United States','country_id' => '228'),\narray('id' => '3529','name' => '(ORF) - Norfolk International Airport, Norfolk, United States','country_id' => '228'),\narray('id' => '3530','name' => '(ORH) - Worcester Regional Airport, Worcester, United States','country_id' => '228'),\narray('id' => '3531','name' => '(ESD) - Orcas Island Airport, Eastsound, United States','country_id' => '228'),\narray('id' => '3532','name' => '(OSH) - Wittman Regional Airport, Oshkosh, United States','country_id' => '228'),\narray('id' => '3533','name' => '(OSU) - Ohio State University Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3534','name' => '(OTH) - Southwest Oregon Regional Airport, North Bend, United States','country_id' => '228'),\narray('id' => '3535','name' => '(OTM) - Ottumwa Regional Airport, Ottumwa, United States','country_id' => '228'),\narray('id' => '3536','name' => '(OVE) - Oroville Municipal Airport, Oroville, United States','country_id' => '228'),\narray('id' => '3537','name' => '(OWA) - Owatonna Degner Regional Airport, Owatonna, United States','country_id' => '228'),\narray('id' => '3538','name' => '(OWB) - Owensboro Daviess County Airport, Owensboro, United States','country_id' => '228'),\narray('id' => '3539','name' => '(OWD) - Norwood Memorial Airport, Norwood, United States','country_id' => '228'),\narray('id' => '3540','name' => '(OWK) - Central Maine Airport of Norridgewock, Norridgewock, United States','country_id' => '228'),\narray('id' => '3541','name' => '(OCE) - Ocean City Municipal Airport, Ocean City, United States','country_id' => '228'),\narray('id' => '3542','name' => '(OXC) - Waterbury Oxford Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3543','name' => '(OXD) - Miami University Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3544','name' => '(OXR) - Oxnard Airport, Oxnard, United States','country_id' => '228'),\narray('id' => '3545','name' => '(STQ) - St Marys Municipal Airport, St Marys, United States','country_id' => '228'),\narray('id' => '3546','name' => '(OZA) - Ozona Municipal Airport, Ozona, United States','country_id' => '228'),\narray('id' => '3547','name' => '(OZR) - Cairns AAF (Fort Rucker) Air Field, Fort Rucker/Ozark, United States','country_id' => '228'),\narray('id' => '3548','name' => '(YJS) - Samjiyn Airport, Samjiyn, North Korea','country_id' => '117'),\narray('id' => '3549','name' => '(RGO) - Orang Airport, Chongjin, North Korea','country_id' => '117'),\narray('id' => '3550','name' => '(BSQ) - Bisbee Municipal Airport, Bisbee, United States','country_id' => '228'),\narray('id' => '3551','name' => '(PXL) - Polacca Airport, Polacca, United States','country_id' => '228'),\narray('id' => '3552','name' => '(GLB) - San Carlos Apache Airport, Globe, United States','country_id' => '228'),\narray('id' => '3553','name' => '(HBK) - Holbrook Municipal Airport, Holbrook, United States','country_id' => '228'),\narray('id' => '3554','name' => '(CWX) - Cochise County Airport, Willcox, United States','country_id' => '228'),\narray('id' => '3555','name' => '(PAE) - Snohomish County (Paine Field) Airport, Everett, United States','country_id' => '228'),\narray('id' => '3556','name' => '(PAH) - Barkley Regional Airport, Paducah, United States','country_id' => '228'),\narray('id' => '3557','name' => '(PAM) - Tyndall Air Force Base, Panama City, United States','country_id' => '228'),\narray('id' => '3558','name' => '(PJB) - Payson Airport, Payson, United States','country_id' => '228'),\narray('id' => '3559','name' => '(PAO) - Palo Alto Airport of Santa Clara County, Palo Alto, United States','country_id' => '228'),\narray('id' => '3560','name' => '(PBF) - Grider Field, Pine Bluff, United States','country_id' => '228'),\narray('id' => '3561','name' => '(PBG) - Plattsburgh International Airport, Plattsburgh, United States','country_id' => '228'),\narray('id' => '3562','name' => '(PBI) - Palm Beach International Airport, West Palm Beach, United States','country_id' => '228'),\narray('id' => '3563','name' => '(PVL) - Pike County-Hatcher Field, Pikeville, United States','country_id' => '228'),\narray('id' => '3564','name' => '(PCD) - Prairie Du Chien Municipal Airport, Prairie Du Chien, United States','country_id' => '228'),\narray('id' => '3565','name' => '(PDK) - DeKalb Peachtree Airport, Atlanta, United States','country_id' => '228'),\narray('id' => '3566','name' => '(PDT) - Eastern Oregon Regional At Pendleton Airport, Pendleton, United States','country_id' => '228'),\narray('id' => '3567','name' => '(PDX) - Portland International Airport, Portland, United States','country_id' => '228'),\narray('id' => '3568','name' => '(KPE) - Yapsiei Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '3569','name' => '(PEQ) - Pecos Municipal Airport, Pecos, United States','country_id' => '228'),\narray('id' => '3570','name' => '(PFN) - Panama City-Bay Co International Airport, Panama City, United States','country_id' => '228'),\narray('id' => '3571','name' => '(PGA) - Page Municipal Airport, Page, United States','country_id' => '228'),\narray('id' => '3572','name' => '(PGD) - Charlotte County Airport, Punta Gorda, United States','country_id' => '228'),\narray('id' => '3573','name' => '(PGR) - Kirk Field, Paragould, United States','country_id' => '228'),\narray('id' => '3574','name' => '(PGV) - Pitt Greenville Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3575','name' => '(PHD) - Harry Clever Field, New Philadelphia, United States','country_id' => '228'),\narray('id' => '3576','name' => '(PHF) - Newport News Williamsburg International Airport, Newport News, United States','country_id' => '228'),\narray('id' => '3577','name' => '(ADR) - Robert F Swinnie Airport, Andrews, United States','country_id' => '228'),\narray('id' => '3578','name' => '(PHK) - Palm Beach County Glades Airport, Pahokee, United States','country_id' => '228'),\narray('id' => '3579','name' => '(PHL) - Philadelphia International Airport, Philadelphia, United States','country_id' => '228'),\narray('id' => '3580','name' => '(PHN) - St Clair County International Airport, Port Huron, United States','country_id' => '228'),\narray('id' => '3581','name' => '(PHP) - Philip Airport, Philip, United States','country_id' => '228'),\narray('id' => '3582','name' => '(PHT) - Henry County Airport, Paris, United States','country_id' => '228'),\narray('id' => '3583','name' => '(PHX) - Phoenix Sky Harbor International Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '3584','name' => '(PIA) - General Wayne A. Downing Peoria International Airport, Peoria, United States','country_id' => '228'),\narray('id' => '3585','name' => '(PIB) - Hattiesburg Laurel Regional Airport, Hattiesburg/Laurel, United States','country_id' => '228'),\narray('id' => '3586','name' => '(PIE) - St Petersburg Clearwater International Airport, St Petersburg-Clearwater, United States','country_id' => '228'),\narray('id' => '3587','name' => '(PIH) - Pocatello Regional Airport, Pocatello, United States','country_id' => '228'),\narray('id' => '3588','name' => '(PIM) - Harris County Airport, Pine Mountain, United States','country_id' => '228'),\narray('id' => '3589','name' => '(PIR) - Pierre Regional Airport, Pierre, United States','country_id' => '228'),\narray('id' => '3590','name' => '(PIT) - Pittsburgh International Airport, Pittsburgh, United States','country_id' => '228'),\narray('id' => '3591','name' => '(PKB) - Mid Ohio Valley Regional Airport, Parkersburg, United States','country_id' => '228'),\narray('id' => '3592','name' => '(PKF) - Park Falls Municipal Airport, Park Falls, United States','country_id' => '228'),\narray('id' => '3593','name' => '(KPL) - Kapal Airport, Kapal, Papua New Guinea','country_id' => '172'),\narray('id' => '3594','name' => '(PLK) - M. Graham Clark Downtown Airport, Branson / Hollister, United States','country_id' => '228'),\narray('id' => '3595','name' => '(PLN) - Pellston Regional Airport of Emmet County Airport, Pellston, United States','country_id' => '228'),\narray('id' => '3596','name' => '(PLR) - St Clair County Airport, Pell City, United States','country_id' => '228'),\narray('id' => '3597','name' => '(PMB) - Pembina Municipal Airport, Pembina, United States','country_id' => '228'),\narray('id' => '3598','name' => '(PMD) - Palmdale Regional/USAF Plant 42 Airport, Palmdale, United States','country_id' => '228'),\narray('id' => '3599','name' => '(PMH) - Greater Portsmouth Regional Airport, Portsmouth, United States','country_id' => '228'),\narray('id' => '3600','name' => '(PPM) - Pompano Beach Airpark, Pompano Beach, United States','country_id' => '228'),\narray('id' => '3601','name' => '(PWY) - Ralph Wenz Field, Pinedale, United States','country_id' => '228'),\narray('id' => '3602','name' => '(PNC) - Ponca City Regional Airport, Ponca City, United States','country_id' => '228'),\narray('id' => '3603','name' => '(PNE) - Northeast Philadelphia Airport, Philadelphia, United States','country_id' => '228'),\narray('id' => '3604','name' => '(PNN) - Princeton Municipal Airport, Princeton, United States','country_id' => '228'),\narray('id' => '3605','name' => '(PNS) - Pensacola Regional Airport, Pensacola, United States','country_id' => '228'),\narray('id' => '3606','name' => '(POB) - Pope Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '3607','name' => '(POC) - Brackett Field, La Verne, United States','country_id' => '228'),\narray('id' => '3608','name' => '(POE) - Polk Army Air Field, Fort Polk, United States','country_id' => '228'),\narray('id' => '3609','name' => '(POF) - Poplar Bluff Municipal Airport, Poplar Bluff, United States','country_id' => '228'),\narray('id' => '3610','name' => '(POU) - Dutchess County Airport, Poughkeepsie, United States','country_id' => '228'),\narray('id' => '3611','name' => '(POY) - Powell Municipal Airport, Powell, United States','country_id' => '228'),\narray('id' => '3612','name' => '(PPA) - Perry Lefors Field, Pampa, United States','country_id' => '228'),\narray('id' => '3613','name' => '(PPF) - Tri-City Airport, Parsons, United States','country_id' => '228'),\narray('id' => '3614','name' => '(LPO) - La Porte Municipal Airport, La Porte, United States','country_id' => '228'),\narray('id' => '3615','name' => '(PQI) - Northern Maine Regional Airport at Presque Isle, Presque Isle, United States','country_id' => '228'),\narray('id' => '3616','name' => '(PGL) - Trent Lott International Airport, Pascagoula, United States','country_id' => '228'),\narray('id' => '3617','name' => '(PRB) - Paso Robles Municipal Airport, Paso Robles, United States','country_id' => '228'),\narray('id' => '3618','name' => '(PRC) - Ernest A. Love Field, Prescott, United States','country_id' => '228'),\narray('id' => '3619','name' => '(PRO) - Perry Municipal Airport, Perry, United States','country_id' => '228'),\narray('id' => '3620','name' => '(PRX) - Cox Field, Paris, United States','country_id' => '228'),\narray('id' => '3621','name' => '(PSC) - Tri Cities Airport, Pasco, United States','country_id' => '228'),\narray('id' => '3622','name' => '(PSK) - New River Valley Airport, Dublin, United States','country_id' => '228'),\narray('id' => '3623','name' => '(PSM) - Portsmouth International at Pease Airport, Portsmouth, United States','country_id' => '228'),\narray('id' => '3624','name' => '(PSN) - Palestine Municipal Airport, Palestine, United States','country_id' => '228'),\narray('id' => '3625','name' => '(PGO) - Stevens Field, Pagosa Springs, United States','country_id' => '228'),\narray('id' => '3626','name' => '(PSP) - Palm Springs International Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3627','name' => '(PSX) - Palacios Municipal Airport, Palacios, United States','country_id' => '228'),\narray('id' => '3628','name' => '(PTB) - Dinwiddie County Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '3629','name' => '(PTK) - Oakland County International Airport, Pontiac, United States','country_id' => '228'),\narray('id' => '3630','name' => '(PTN) - Harry P Williams Memorial Airport, Patterson, United States','country_id' => '228'),\narray('id' => '3631','name' => '(PTT) - Pratt Regional Airport, Pratt, United States','country_id' => '228'),\narray('id' => '3632','name' => '(PTV) - Porterville Municipal Airport, Porterville, United States','country_id' => '228'),\narray('id' => '3633','name' => '(PUB) - Pueblo Memorial Airport, Pueblo, United States','country_id' => '228'),\narray('id' => '3634','name' => '(PUC) - Carbon County Regional/Buck Davis Field, Price, United States','country_id' => '228'),\narray('id' => '3635','name' => '(PUW) - Pullman Moscow Regional Airport, Pullman/Moscow,Id, United States','country_id' => '228'),\narray('id' => '3636','name' => '(PVC) - Provincetown Municipal Airport, Provincetown, United States','country_id' => '228'),\narray('id' => '3637','name' => '(PVD) - Theodore Francis Green State Airport, Providence, United States','country_id' => '228'),\narray('id' => '3638','name' => '(PVF) - Placerville Airport, Placerville, United States','country_id' => '228'),\narray('id' => '3639','name' => '(PVU) - Provo Municipal Airport, Provo, United States','country_id' => '228'),\narray('id' => '3640','name' => '(PVW) - Hale County Airport, Plainview, United States','country_id' => '228'),\narray('id' => '3641','name' => '(PWA) - Wiley Post Airport, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3642','name' => '(PWD) - Sher-Wood Airport, Plentywood, United States','country_id' => '228'),\narray('id' => '3643','name' => '(PWK) - Chicago Executive Airport, Chicago/Prospect Heights/Wheeling, United States','country_id' => '228'),\narray('id' => '3644','name' => '(PWM) - Portland International Jetport Airport, Portland, United States','country_id' => '228'),\narray('id' => '3645','name' => '(PWT) - Bremerton National Airport, Bremerton, United States','country_id' => '228'),\narray('id' => '3646','name' => '(KQL) - Kol Airport, Kol, Papua New Guinea','country_id' => '172'),\narray('id' => '3647','name' => '(RAC) - John H Batten Airport, Racine, United States','country_id' => '228'),\narray('id' => '3648','name' => '(RAL) - Riverside Municipal Airport, Riverside, United States','country_id' => '228'),\narray('id' => '3649','name' => '(RAP) - Rapid City Regional Airport, Rapid City, United States','country_id' => '228'),\narray('id' => '3650','name' => '(RBD) - Dallas Executive Airport, Dallas, United States','country_id' => '228'),\narray('id' => '3651','name' => '(RBG) - Roseburg Regional Airport, Roseburg, United States','country_id' => '228'),\narray('id' => '3652','name' => '(RBL) - Red Bluff Municipal Airport, Red Bluff, United States','country_id' => '228'),\narray('id' => '3653','name' => '(RBW) - Lowcountry Regional Airport, Walterboro, United States','country_id' => '228'),\narray('id' => '3654','name' => '(RCA) - Ellsworth Air Force Base, Rapid City, United States','country_id' => '228'),\narray('id' => '3655','name' => '(RCK) - H H Coffield Regional Airport, Rockdale, United States','country_id' => '228'),\narray('id' => '3656','name' => '(RCR) - Fulton County Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3657','name' => '(RCT) - Nartron Field, Reed City, United States','country_id' => '228'),\narray('id' => '3658','name' => '(RDD) - Redding Municipal Airport, Redding, United States','country_id' => '228'),\narray('id' => '3659','name' => '(RDG) - Reading Regional Carl A Spaatz Field, Reading, United States','country_id' => '228'),\narray('id' => '3660','name' => '(RDM) - Roberts Field, Redmond, United States','country_id' => '228'),\narray('id' => '3661','name' => '(RDR) - Grand Forks Air Force Base, Grand Forks, United States','country_id' => '228'),\narray('id' => '3662','name' => '(RDU) - Raleigh Durham International Airport, Raleigh/Durham, United States','country_id' => '228'),\narray('id' => '3663','name' => '(REO) - Rome State Airport, Rome, United States','country_id' => '228'),\narray('id' => '3664','name' => '(RFD) - Chicago Rockford International Airport, Chicago/Rockford, United States','country_id' => '228'),\narray('id' => '3665','name' => '(RHI) - Rhinelander Oneida County Airport, Rhinelander, United States','country_id' => '228'),\narray('id' => '3666','name' => '(RHV) - Reid-Hillview Airport of Santa Clara County, San Jose, United States','country_id' => '228'),\narray('id' => '3667','name' => '(RIC) - Richmond International Airport, Richmond, United States','country_id' => '228'),\narray('id' => '3668','name' => '(RIW) - Riverton Regional Airport, Riverton, United States','country_id' => '228'),\narray('id' => '3669','name' => '(KRJ) - Karawari Airstrip, Amboin, Papua New Guinea','country_id' => '172'),\narray('id' => '3670','name' => '(RKD) - Knox County Regional Airport, Rockland, United States','country_id' => '228'),\narray('id' => '3671','name' => '(RKP) - Aransas County Airport, Rockport, United States','country_id' => '228'),\narray('id' => '3672','name' => '(RKS) - Rock Springs Sweetwater County Airport, Rock Springs, United States','country_id' => '228'),\narray('id' => '3673','name' => '(RKW) - Rockwood Municipal Airport, Rockwood, United States','country_id' => '228'),\narray('id' => '3674','name' => '(RME) - Griffiss International Airport, Rome, United States','country_id' => '228'),\narray('id' => '3675','name' => '(RMG) - Richard B Russell Airport, Rome, United States','country_id' => '228'),\narray('id' => '3676','name' => '(RNC) - Warren County Memorial Airport, Mc Minnville, United States','country_id' => '228'),\narray('id' => '3677','name' => '(RND) - Randolph Air Force Base, Universal City, United States','country_id' => '228'),\narray('id' => '3678','name' => '(RNO) - Reno Tahoe International Airport, Reno, United States','country_id' => '228'),\narray('id' => '3679','name' => '(RNT) - Renton Municipal Airport, Renton, United States','country_id' => '228'),\narray('id' => '3680','name' => '(ROA) - Roanokea\"Blacksburg Regional Airport, Roanoke, United States','country_id' => '228'),\narray('id' => '3681','name' => '(ROC) - Greater Rochester International Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3682','name' => '(ROG) - Rogers Municipal Airport-Carter Field, Rogers, United States','country_id' => '228'),\narray('id' => '3683','name' => '(ROW) - Roswell International Air Center Airport, Roswell, United States','country_id' => '228'),\narray('id' => '3684','name' => '(ROX) - Roseau Municipal Rudy Billberg Field, Roseau, United States','country_id' => '228'),\narray('id' => '3685','name' => '(RIE) - hln, Rice Lake, United States','country_id' => '228'),\narray('id' => '3686','name' => '(RPX) - Roundup Airport, Roundup, United States','country_id' => '228'),\narray('id' => '3687','name' => '(WBR) - Roben Hood Airport, Big Rapids, United States','country_id' => '228'),\narray('id' => '3688','name' => '(RQO) - El Reno Regional Airport, El Reno, United States','country_id' => '228'),\narray('id' => '3689','name' => '(RRL) - Merrill Municipal Airport, Merrill, United States','country_id' => '228'),\narray('id' => '3690','name' => '(RRT) - Warroad International Memorial Airport, Warroad, United States','country_id' => '228'),\narray('id' => '3691','name' => '(RSL) - Russell Municipal Airport, Russell, United States','country_id' => '228'),\narray('id' => '3692','name' => '(RSN) - Ruston Regional Airport, Ruston, United States','country_id' => '228'),\narray('id' => '3693','name' => '(RST) - Rochester International Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3694','name' => '(RSW) - Southwest Florida International Airport, Fort Myers, United States','country_id' => '228'),\narray('id' => '3695','name' => '(RTN) - Raton Municipal-Crews Field, Raton, United States','country_id' => '228'),\narray('id' => '3696','name' => '(KRU) - Kerau Airport, Gunim, Papua New Guinea','country_id' => '172'),\narray('id' => '3697','name' => '(SRW) - Rowan County Airport, Salisbury, United States','country_id' => '228'),\narray('id' => '3698','name' => '(RUT) - Rutland - Southern Vermont Regional Airport, Rutland, United States','country_id' => '228'),\narray('id' => '3699','name' => '(RED) - Mifflin County Airport, Reedsville, United States','country_id' => '228'),\narray('id' => '3700','name' => '(RVS) - Richard Lloyd Jones Jr Airport, Tulsa, United States','country_id' => '228'),\narray('id' => '3701','name' => '(RWF) - Redwood Falls Municipal Airport, Redwood Falls, United States','country_id' => '228'),\narray('id' => '3702','name' => '(RWI) - Rocky Mount Wilson Regional Airport, Rocky Mount, United States','country_id' => '228'),\narray('id' => '3703','name' => '(RWL) - Rawlins Municipal Airport/Harvey Field, Rawlins, United States','country_id' => '228'),\narray('id' => '3704','name' => '(RXE) - Rexburg Madison County Airport, Rexburg, United States','country_id' => '228'),\narray('id' => '3705','name' => '(RNZ) - Jasper County Airport, Rensselaer, United States','country_id' => '228'),\narray('id' => '3706','name' => '(AHM) - Ashland Municipal Sumner Parker Field, Ashland, United States','country_id' => '228'),\narray('id' => '3707','name' => '(BDY) - Bandon State Airport, Bandon, United States','country_id' => '228'),\narray('id' => '3708','name' => '(SUO) - Sunriver Airport, Sunriver, United States','country_id' => '228'),\narray('id' => '3709','name' => '(MDJ) - Madras Municipal Airport, Madras, United States','country_id' => '228'),\narray('id' => '3710','name' => '(PRZ) - Prineville Airport, Prineville, United States','country_id' => '228'),\narray('id' => '3711','name' => '(IDH) - Idaho County Airport, Grangeville, United States','country_id' => '228'),\narray('id' => '3712','name' => '(VSK) - Vista Field, Kennewick, United States','country_id' => '228'),\narray('id' => '3713','name' => '(SAC) - Sacramento Executive Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3714','name' => '(SAD) - Safford Regional Airport, Safford, United States','country_id' => '228'),\narray('id' => '3715','name' => '(SAF) - Santa Fe Municipal Airport, Santa Fe, United States','country_id' => '228'),\narray('id' => '3716','name' => '(SAN) - San Diego International Airport, San Diego, United States','country_id' => '228'),\narray('id' => '3717','name' => '(SAR) - Sparta Community Hunter Field, Sparta, United States','country_id' => '228'),\narray('id' => '3718','name' => '(SAT) - San Antonio International Airport, San Antonio, United States','country_id' => '228'),\narray('id' => '3719','name' => '(SAV) - Savannah Hilton Head International Airport, Savannah, United States','country_id' => '228'),\narray('id' => '3720','name' => '(MQT) - Sawyer International Airport, Marquette, United States','country_id' => '228'),\narray('id' => '3721','name' => '(SBA) - Santa Barbara Municipal Airport, Santa Barbara, United States','country_id' => '228'),\narray('id' => '3722','name' => '(SBD) - San Bernardino International Airport, San Bernardino, United States','country_id' => '228'),\narray('id' => '3723','name' => '(SBM) - Sheboygan County Memorial Airport, Sheboygan, United States','country_id' => '228'),\narray('id' => '3724','name' => '(SBN) - South Bend Regional Airport, South Bend, United States','country_id' => '228'),\narray('id' => '3725','name' => '(SBP) - San Luis County Regional Airport, San Luis Obispo, United States','country_id' => '228'),\narray('id' => '3726','name' => '(SBS) - Steamboat Springs Bob Adams Field, Steamboat Springs, United States','country_id' => '228'),\narray('id' => '3727','name' => '(SBX) - Shelby Airport, Shelby, United States','country_id' => '228'),\narray('id' => '3728','name' => '(SBY) - Salisbury Ocean City Wicomico Regional Airport, Salisbury, United States','country_id' => '228'),\narray('id' => '3729','name' => '(SCB) - Scribner State Airport, Scribner, United States','country_id' => '228'),\narray('id' => '3730','name' => '(SCH) - Schenectady County Airport, Schenectady, United States','country_id' => '228'),\narray('id' => '3731','name' => '(SCK) - Stockton Metropolitan Airport, Stockton, United States','country_id' => '228'),\narray('id' => '3732','name' => '(SDF) - Louisville International Standiford Field, Louisville, United States','country_id' => '228'),\narray('id' => '3733','name' => '(SCF) - Scottsdale Airport, Scottsdale, United States','country_id' => '228'),\narray('id' => '3734','name' => '(SDM) - Brown Field Municipal Airport, San Diego, United States','country_id' => '228'),\narray('id' => '3735','name' => '(SDY) - Sidney Richland Municipal Airport, Sidney, United States','country_id' => '228'),\narray('id' => '3736','name' => '(SEA) - Seattle Tacoma International Airport, Seattle, United States','country_id' => '228'),\narray('id' => '3737','name' => '(SEE) - Gillespie Field, San Diego/El Cajon, United States','country_id' => '228'),\narray('id' => '3738','name' => '(SEF) - Sebring Regional Airport, Sebring, United States','country_id' => '228'),\narray('id' => '3739','name' => '(SEG) - Penn Valley Airport, Selinsgrove, United States','country_id' => '228'),\narray('id' => '3740','name' => '(SEM) - Craig Field, Selma, United States','country_id' => '228'),\narray('id' => '3741','name' => '(SEP) - Stephenville Clark Regional Airport, Stephenville, United States','country_id' => '228'),\narray('id' => '3742','name' => '(SER) - Freeman Municipal Airport, Seymour, United States','country_id' => '228'),\narray('id' => '3743','name' => '(SDX) - Sedona Airport, Sedona, United States','country_id' => '228'),\narray('id' => '3744','name' => '(SFB) - Orlando Sanford International Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3745','name' => '(SFF) - Felts Field, Spokane, United States','country_id' => '228'),\narray('id' => '3746','name' => '(SFM) - Sanford Seacoast Regional Airport, Sanford, United States','country_id' => '228'),\narray('id' => '3747','name' => '(SFO) - San Francisco International Airport, San Francisco, United States','country_id' => '228'),\narray('id' => '3748','name' => '(SFZ) - North Central State Airport, Pawtucket, United States','country_id' => '228'),\narray('id' => '3749','name' => '(SGF) - Springfield Branson National Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3750','name' => '(SGH) - Springfield-Beckley Municipal Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3751','name' => '(UST) - Northeast Florida Regional Airport, St Augustine, United States','country_id' => '228'),\narray('id' => '3752','name' => '(SGR) - Sugar Land Regional Airport, Houston, United States','country_id' => '228'),\narray('id' => '3753','name' => '(SGT) - Stuttgart Municipal Airport, Stuttgart, United States','country_id' => '228'),\narray('id' => '3754','name' => '(SGU) - St George Municipal Airport, St George, United States','country_id' => '228'),\narray('id' => '3755','name' => '(SHD) - Shenandoah Valley Regional Airport, Staunton/Waynesboro/Harrisonburg, United States','country_id' => '228'),\narray('id' => '3756','name' => '(SHN) - Sanderson Field, Shelton, United States','country_id' => '228'),\narray('id' => '3757','name' => '(SHR) - Sheridan County Airport, Sheridan, United States','country_id' => '228'),\narray('id' => '3758','name' => '(SHV) - Shreveport Regional Airport, Shreveport, United States','country_id' => '228'),\narray('id' => '3759','name' => '(SIK) - Sikeston Memorial Municipal Airport, Sikeston, United States','country_id' => '228'),\narray('id' => '3760','name' => '(SIV) - Sullivan County Airport, Monticello, United States','country_id' => '228'),\narray('id' => '3761','name' => '(SJC) - Norman Y. Mineta San Jose International Airport, San Jose, United States','country_id' => '228'),\narray('id' => '3762','name' => '(SJN) - St Johns Industrial Air Park, St Johns, United States','country_id' => '228'),\narray('id' => '3763','name' => '(SJT) - San Angelo Regional Mathis Field, San Angelo, United States','country_id' => '228'),\narray('id' => '3764','name' => '(SKA) - Fairchild Air Force Base, Spokane, United States','country_id' => '228'),\narray('id' => '3765','name' => '(SKF) - Lackland Air Force Base, San Antonio, United States','country_id' => '228'),\narray('id' => '3766','name' => '(TSM) - Taos Regional Airport, Taos, United States','country_id' => '228'),\narray('id' => '3767','name' => '(SLB) - Storm Lake Municipal Airport, Storm Lake, United States','country_id' => '228'),\narray('id' => '3768','name' => '(SLC) - Salt Lake City International Airport, Salt Lake City, United States','country_id' => '228'),\narray('id' => '3769','name' => '(SLE) - Salem Municipal Airport/McNary Field, Salem, United States','country_id' => '228'),\narray('id' => '3770','name' => '(SLG) - Smith Field, Siloam Springs, United States','country_id' => '228'),\narray('id' => '3771','name' => '(SLK) - Adirondack Regional Airport, Saranac Lake, United States','country_id' => '228'),\narray('id' => '3772','name' => '(SLN) - Salina Municipal Airport, Salina, United States','country_id' => '228'),\narray('id' => '3773','name' => '(SLO) - Salem Leckrone Airport, Salem, United States','country_id' => '228'),\narray('id' => '3774','name' => '(SLR) - Sulphur Springs Municipal Airport, Sulphur Springs, United States','country_id' => '228'),\narray('id' => '3775','name' => '(SMD) - Smith Field, Fort Wayne, United States','country_id' => '228'),\narray('id' => '3776','name' => '(SME) - Lake Cumberland Regional Airport, Somerset, United States','country_id' => '228'),\narray('id' => '3777','name' => '(SMF) - Sacramento International Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3778','name' => '(SMN) - Lemhi County Airport, Salmon, United States','country_id' => '228'),\narray('id' => '3779','name' => '(SMO) - Santa Monica Municipal Airport, Santa Monica, United States','country_id' => '228'),\narray('id' => '3780','name' => '(SUM) - Sumter Airport, Sumter, United States','country_id' => '228'),\narray('id' => '3781','name' => '(SMX) - Santa Maria Pub/Capt G Allan Hancock Field, Santa Maria, United States','country_id' => '228'),\narray('id' => '3782','name' => '(SNA) - John Wayne Airport-Orange County Airport, Santa Ana, United States','country_id' => '228'),\narray('id' => '3783','name' => '(SNK) - Winston Field, Snyder, United States','country_id' => '228'),\narray('id' => '3784','name' => '(SNL) - Shawnee Regional Airport, Shawnee, United States','country_id' => '228'),\narray('id' => '3785','name' => '(SNS) - Salinas Municipal Airport, Salinas, United States','country_id' => '228'),\narray('id' => '3786','name' => '(SNY) - Sidney Municipal-Lloyd W Carr Field, Sidney, United States','country_id' => '228'),\narray('id' => '3787','name' => '(SOP) - Moore County Airport, Pinehurst/Southern Pines, United States','country_id' => '228'),\narray('id' => '3788','name' => '(SOW) - Show Low Regional Airport, Show Low, United States','country_id' => '228'),\narray('id' => '3789','name' => '(KSP) - Kosipe Airport, Kosipe Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '3790','name' => '(SPA) - Spartanburg Downtown Memorial Airport, Spartanburg, United States','country_id' => '228'),\narray('id' => '3791','name' => '(SPF) - Black Hills Airport-Clyde Ice Field, Spearfish, United States','country_id' => '228'),\narray('id' => '3792','name' => '(SPI) - Abraham Lincoln Capital Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3793','name' => '(SPS) - Sheppard Air Force Base-Wichita Falls Municipal Airport, Wichita Falls, United States','country_id' => '228'),\narray('id' => '3794','name' => '(SPW) - Spencer Municipal Airport, Spencer, United States','country_id' => '228'),\narray('id' => '3795','name' => '(SQI) - Whiteside County Airport-Joseph H Bittorf Field, Sterling/Rockfalls, United States','country_id' => '228'),\narray('id' => '3796','name' => '(SQL) - San Carlos Airport, San Carlos, United States','country_id' => '228'),\narray('id' => '3797','name' => '(SRQ) - Sarasota Bradenton International Airport, Sarasota/Bradenton, United States','country_id' => '228'),\narray('id' => '3798','name' => '(RUI) - Sierra Blanca Regional Airport, Ruidoso, United States','country_id' => '228'),\narray('id' => '3799','name' => '(SSC) - Shaw Air Force Base, Sumter, United States','country_id' => '228'),\narray('id' => '3800','name' => '(SSF) - Stinson Municipal Airport, San Antonio, United States','country_id' => '228'),\narray('id' => '3801','name' => '(SSI) - Malcolm McKinnon Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '3802','name' => '(STC) - St Cloud Regional Airport, St Cloud, United States','country_id' => '228'),\narray('id' => '3803','name' => '(STE) - Stevens Point Municipal Airport, Stevens Point, United States','country_id' => '228'),\narray('id' => '3804','name' => '(STJ) - Rosecrans Memorial Airport, St Joseph, United States','country_id' => '228'),\narray('id' => '3805','name' => '(STK) - Sterling Municipal Airport, Sterling, United States','country_id' => '228'),\narray('id' => '3806','name' => '(STL) - Lambert St Louis International Airport, St Louis, United States','country_id' => '228'),\narray('id' => '3807','name' => '(STP) - St Paul Downtown Holman Field, St Paul, United States','country_id' => '228'),\narray('id' => '3808','name' => '(STS) - Charles M. Schulz Sonoma County Airport, Santa Rosa, United States','country_id' => '228'),\narray('id' => '3809','name' => '(SUA) - Witham Field, Stuart, United States','country_id' => '228'),\narray('id' => '3810','name' => '(SUD) - Stroud Municipal Airport, Stroud, United States','country_id' => '228'),\narray('id' => '3811','name' => '(SUE) - Door County Cherryland Airport, Sturgeon Bay, United States','country_id' => '228'),\narray('id' => '3812','name' => '(SUN) - Friedman Memorial Airport, Hailey, United States','country_id' => '228'),\narray('id' => '3813','name' => '(SUS) - Spirit of St Louis Airport, St Louis, United States','country_id' => '228'),\narray('id' => '3814','name' => '(SUU) - Travis Air Force Base, Fairfield, United States','country_id' => '228'),\narray('id' => '3815','name' => '(SUW) - Richard I Bong Airport, Superior, United States','country_id' => '228'),\narray('id' => '3816','name' => '(SUX) - Sioux Gateway Col. Bud Day Field, Sioux City, United States','country_id' => '228'),\narray('id' => '3817','name' => '(SVC) - Grant County Airport, Silver City, United States','country_id' => '228'),\narray('id' => '3818','name' => '(SVE) - Susanville Municipal Airport, Susanville, United States','country_id' => '228'),\narray('id' => '3819','name' => '(SVH) - Statesville Regional Airport, Statesville, United States','country_id' => '228'),\narray('id' => '3820','name' => '(SVN) - Hunter Army Air Field, Savannah, United States','country_id' => '228'),\narray('id' => '3821','name' => '(SWF) - Stewart International Airport, Newburgh, United States','country_id' => '228'),\narray('id' => '3822','name' => '(SWO) - Stillwater Regional Airport, Stillwater, United States','country_id' => '228'),\narray('id' => '3823','name' => '(SWW) - Avenger Field, Sweetwater, United States','country_id' => '228'),\narray('id' => '3824','name' => '(SYI) - Bomar Field Shelbyville Municipal Airport, Shelbyville, United States','country_id' => '228'),\narray('id' => '3825','name' => '(SYR) - Syracuse Hancock International Airport, Syracuse, United States','country_id' => '228'),\narray('id' => '3826','name' => '(SYV) - Sylvester Airport, Sylvester, United States','country_id' => '228'),\narray('id' => '3827','name' => '(SZL) - Whiteman Air Force Base, Knob Noster, United States','country_id' => '228'),\narray('id' => '3828','name' => '(TBC) - Tuba City Airport, Tuba City, United States','country_id' => '228'),\narray('id' => '3829','name' => '(TAD) - Perry Stokes Airport, Trinidad, United States','country_id' => '228'),\narray('id' => '3830','name' => '(TBN) - Waynesville-St. Robert Regional Forney field, Fort Leonard Wood, United States','country_id' => '228'),\narray('id' => '3831','name' => '(TBR) - Statesboro Bulloch County Airport, Statesboro, United States','country_id' => '228'),\narray('id' => '3832','name' => '(KTC) - Katiola Airport, Katiola, Ivoire Coast','country_id' => '41'),\narray('id' => '3833','name' => '(TCC) - Tucumcari Municipal Airport, Tucumcari, United States','country_id' => '228'),\narray('id' => '3834','name' => '(TCL) - Tuscaloosa Regional Airport, Tuscaloosa, United States','country_id' => '228'),\narray('id' => '3835','name' => '(TCM) - McChord Air Force Base, Tacoma, United States','country_id' => '228'),\narray('id' => '3836','name' => '(TCS) - Truth Or Consequences Municipal Airport, Truth Or Consequences, United States','country_id' => '228'),\narray('id' => '3837','name' => '(TDO) - Ed Carlson Memorial Field South Lewis County Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3838','name' => '(TDW) - Tradewind Airport, Amarillo, United States','country_id' => '228'),\narray('id' => '3839','name' => '(TDZ) - Toledo Executive Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3840','name' => '(TEB) - Teterboro Airport, Teterboro, United States','country_id' => '228'),\narray('id' => '3841','name' => '(TEX) - Telluride Regional Airport, Telluride, United States','country_id' => '228'),\narray('id' => '3842','name' => '(THA) - Tullahoma Regional Arpt/Wm Northern Field, Tullahoma, United States','country_id' => '228'),\narray('id' => '3843','name' => '(THM) - Thompson Falls Airport, Thompson Falls, United States','country_id' => '228'),\narray('id' => '3844','name' => '(THP) - Hot Springs Co Thermopolis Municipal Airport, Thermopolis, United States','country_id' => '228'),\narray('id' => '3845','name' => '(THV) - York Airport, York, United States','country_id' => '228'),\narray('id' => '3846','name' => '(TIK) - Tinker Air Force Base, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3847','name' => '(TIW) - Tacoma Narrows Airport, Tacoma, United States','country_id' => '228'),\narray('id' => '3848','name' => '(TIX) - Space Coast Regional Airport, Titusville, United States','country_id' => '228'),\narray('id' => '3849','name' => '(KNT) - Kennett Memorial Airport, Kennett, United States','country_id' => '228'),\narray('id' => '3850','name' => '(TLH) - Tallahassee Regional Airport, Tallahassee, United States','country_id' => '228'),\narray('id' => '3851','name' => '(TLR) - Mefford Field, Tulare, United States','country_id' => '228'),\narray('id' => '3852','name' => '(TMA) - Henry Tift Myers Airport, Tifton, United States','country_id' => '228'),\narray('id' => '3853','name' => '(TMB) - Kendall-Tamiami Executive Airport, Miami, United States','country_id' => '228'),\narray('id' => '3854','name' => '(OTK) - Tillamook Airport, Tillamook, United States','country_id' => '228'),\narray('id' => '3855','name' => '(TNP) - Twentynine Palms Airport, Twentynine Palms, United States','country_id' => '228'),\narray('id' => '3856','name' => '(TNT) - Dade Collier Training and Transition Airport, Miami, United States','country_id' => '228'),\narray('id' => '3857','name' => '(TNU) - Newton Municipal Airport, Newton, United States','country_id' => '228'),\narray('id' => '3858','name' => '(XSD) - Tonopah Test Range Airport, Tonopah, United States','country_id' => '228'),\narray('id' => '3859','name' => '(TOA) - Zamperini Field, Torrance, United States','country_id' => '228'),\narray('id' => '3860','name' => '(TOC) - Toccoa Airport - R.G. Letourneau Field, Toccoa, United States','country_id' => '228'),\narray('id' => '3861','name' => '(TOI) - Troy Municipal Airport, Troy, United States','country_id' => '228'),\narray('id' => '3862','name' => '(TOL) - Toledo Express Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3863','name' => '(TOP) - Philip Billard Municipal Airport, Topeka, United States','country_id' => '228'),\narray('id' => '3864','name' => '(TOR) - Torrington Municipal Airport, Torrington, United States','country_id' => '228'),\narray('id' => '3865','name' => '(TPA) - Tampa International Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3866','name' => '(TPF) - Peter O Knight Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3867','name' => '(TPH) - Tonopah Airport, Tonopah, United States','country_id' => '228'),\narray('id' => '3868','name' => '(TPL) - Draughon Miller Central Texas Regional Airport, Temple, United States','country_id' => '228'),\narray('id' => '3869','name' => '(TRI) - Tri Cities Regional Tn Va Airport, Bristol/Johnson/Kingsport, United States','country_id' => '228'),\narray('id' => '3870','name' => '(TKF) - Truckee Tahoe Airport, Truckee, United States','country_id' => '228'),\narray('id' => '3871','name' => '(TRL) - Terrell Municipal Airport, Terrell, United States','country_id' => '228'),\narray('id' => '3872','name' => '(TRM) - Jacqueline Cochran Regional Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3873','name' => '(TSP) - Tehachapi Municipal Airport, Tehachapi, United States','country_id' => '228'),\narray('id' => '3874','name' => '(TTD) - Portland Troutdale Airport, Portland, United States','country_id' => '228'),\narray('id' => '3875','name' => '(TTN) - Trenton Mercer Airport, Trenton, United States','country_id' => '228'),\narray('id' => '3876','name' => '(TUL) - Tulsa International Airport, Tulsa, United States','country_id' => '228'),\narray('id' => '3877','name' => '(TUP) - Tupelo Regional Airport, Tupelo, United States','country_id' => '228'),\narray('id' => '3878','name' => '(TUS) - Tucson International Airport, Tucson, United States','country_id' => '228'),\narray('id' => '3879','name' => '(TVC) - Cherry Capital Airport, Traverse City, United States','country_id' => '228'),\narray('id' => '3880','name' => '(TVF) - Thief River Falls Regional Airport, Thief River Falls, United States','country_id' => '228'),\narray('id' => '3881','name' => '(TVI) - Thomasville Regional Airport, Thomasville, United States','country_id' => '228'),\narray('id' => '3882','name' => '(TVL) - Lake Tahoe Airport, South Lake Tahoe, United States','country_id' => '228'),\narray('id' => '3883','name' => '(TWF) - Joslin Field Magic Valley Regional Airport, Twin Falls, United States','country_id' => '228'),\narray('id' => '3884','name' => '(TXK) - Texarkana Regional Webb Field, Texarkana, United States','country_id' => '228'),\narray('id' => '3885','name' => '(TYZ) - Taylor Airport, Taylor, United States','country_id' => '228'),\narray('id' => '3886','name' => '(TYR) - Tyler Pounds Regional Airport, Tyler, United States','country_id' => '228'),\narray('id' => '3887','name' => '(TYS) - McGhee Tyson Airport, Knoxville, United States','country_id' => '228'),\narray('id' => '3888','name' => '(BFG) - Bullfrog Basin Airport, Glen Canyon Natl Rec Area, United States','country_id' => '228'),\narray('id' => '3889','name' => '(NPH) - Nephi Municipal Airport, Nephi, United States','country_id' => '228'),\narray('id' => '3890','name' => '(RVR) - Green River Municipal Airport, Green River, United States','country_id' => '228'),\narray('id' => '3891','name' => '(PNU) - Panguitch Municipal Airport, Panguitch, United States','country_id' => '228'),\narray('id' => '3892','name' => '(ICS) - Cascade Airport, Cascade, United States','country_id' => '228'),\narray('id' => '3893','name' => '(UBS) - Columbus Lowndes County Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3894','name' => '(UCY) - Everett-Stewart Regional Airport, Union City, United States','country_id' => '228'),\narray('id' => '3895','name' => '(UDD) - Bermuda Dunes Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3896','name' => '(UES) - Waukesha County Airport, Waukesha, United States','country_id' => '228'),\narray('id' => '3897','name' => '(UGN) - Waukegan National Airport, Chicago/Waukegan, United States','country_id' => '228'),\narray('id' => '3898','name' => '(UIL) - Quillayute Airport, Quillayute, United States','country_id' => '228'),\narray('id' => '3899','name' => '(UIN) - Quincy Regional Baldwin Field, Quincy, United States','country_id' => '228'),\narray('id' => '3900','name' => '(IKB) - Wilkes County Airport, North Wilkesboro, United States','country_id' => '228'),\narray('id' => '3901','name' => '(UKI) - Ukiah Municipal Airport, Ukiah, United States','country_id' => '228'),\narray('id' => '3902','name' => '(UKT) - Quakertown Airport, Quakertown, United States','country_id' => '228'),\narray('id' => '3903','name' => '(ULM) - New Ulm Municipal Airport, New Ulm, United States','country_id' => '228'),\narray('id' => '3904','name' => '(ATO) - Ohio University Snyder Field, Athens/Albany, United States','country_id' => '228'),\narray('id' => '3905','name' => '(UNU) - Dodge County Airport, Juneau, United States','country_id' => '228'),\narray('id' => '3906','name' => '(SCE) - University Park Airport, State College, United States','country_id' => '228'),\narray('id' => '3907','name' => '(UOS) - Franklin County Airport, Sewanee, United States','country_id' => '228'),\narray('id' => '3908','name' => '(UOX) - University Oxford Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3909','name' => '(KUP) - Kupiano Airport, Kupiano, Papua New Guinea','country_id' => '172'),\narray('id' => '3910','name' => '(UTM) - Tunica Municipal Airport, Tunica, United States','country_id' => '228'),\narray('id' => '3911','name' => '(HTV) - Huntsville Regional Airport, Huntsville, United States','country_id' => '228'),\narray('id' => '3912','name' => '(NPT) - Newport State Airport, Newport, United States','country_id' => '228'),\narray('id' => '3913','name' => '(UVA) - Garner Field, Uvalde, United States','country_id' => '228'),\narray('id' => '3914','name' => '(KUX) - Kuyol Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '3915','name' => '(RKH) - Rock Hill - York County Airport, Rock Hill, United States','country_id' => '228'),\narray('id' => '3916','name' => '(VAD) - Moody Air Force Base, Valdosta, United States','country_id' => '228'),\narray('id' => '3917','name' => '(LLY) - South Jersey Regional Airport, Mount Holly, United States','country_id' => '228'),\narray('id' => '3918','name' => '(VBG) - Vandenberg Air Force Base, Lompoc, United States','country_id' => '228'),\narray('id' => '3919','name' => '(VCT) - Victoria Regional Airport, Victoria, United States','country_id' => '228'),\narray('id' => '3920','name' => '(VCV) - Southern California Logistics Airport, Victorville, United States','country_id' => '228'),\narray('id' => '3921','name' => '(VDI) - Vidalia Regional Airport, Vidalia, United States','country_id' => '228'),\narray('id' => '3922','name' => '(KVE) - Kitava Airport, Kitava Island, Papua New Guinea','country_id' => '172'),\narray('id' => '3923','name' => '(VEL) - Vernal Regional Airport, Vernal, United States','country_id' => '228'),\narray('id' => '3924','name' => '(VGT) - North Las Vegas Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3925','name' => '(VHN) - Culberson County Airport, Van Horn, United States','country_id' => '228'),\narray('id' => '3926','name' => '(VIH) - Rolla National Airport, Rolla/Vichy, United States','country_id' => '228'),\narray('id' => '3927','name' => '(VIS) - Visalia Municipal Airport, Visalia, United States','country_id' => '228'),\narray('id' => '3928','name' => '(VJI) - Virginia Highlands Airport, Abingdon, United States','country_id' => '228'),\narray('id' => '3929','name' => '(VKS) - Vicksburg Municipal Airport, Vicksburg, United States','country_id' => '228'),\narray('id' => '3930','name' => '(VLA) - Vandalia Municipal Airport, Vandalia, United States','country_id' => '228'),\narray('id' => '3931','name' => '(VLD) - Valdosta Regional Airport, Valdosta, United States','country_id' => '228'),\narray('id' => '3932','name' => '(VNC) - Venice Municipal Airport, Venice, United States','country_id' => '228'),\narray('id' => '3933','name' => '(VNY) - Van Nuys Airport, Van Nuys, United States','country_id' => '228'),\narray('id' => '3934','name' => '(VOK) - Volk Field, Camp Douglas, United States','country_id' => '228'),\narray('id' => '3935','name' => '(VPS) - Eglin Air Force Base, Valparaiso, United States','country_id' => '228'),\narray('id' => '3936','name' => '(VPZ) - Porter County Municipal Airport, Valparaiso, United States','country_id' => '228'),\narray('id' => '3937','name' => '(VQQ) - Cecil Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3938','name' => '(VRB) - Vero Beach Municipal Airport, Vero Beach, United States','country_id' => '228'),\narray('id' => '3939','name' => '(VSF) - Hartness State (Springfield) Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3940','name' => '(VTN) - Miller Field, Valentine, United States','country_id' => '228'),\narray('id' => '3941','name' => '(VYS) - Illinois Valley Regional Airport-Walter A Duncan Field, Peru, United States','country_id' => '228'),\narray('id' => '3942','name' => '(GTY) - Gettysburg Regional Airport, Gettysburg, United States','country_id' => '228'),\narray('id' => '3943','name' => '(SQV) - Sequim Valley Airport, Sequim, United States','country_id' => '228'),\narray('id' => '3944','name' => '(PGC) - Grant County Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '3945','name' => '(WAL) - Wallops Flight Facility Airport, Wallops Island, United States','country_id' => '228'),\narray('id' => '3946','name' => '(WAY) - Greene County Airport, Waynesburg, United States','country_id' => '228'),\narray('id' => '3947','name' => '(WBW) - Wilkes Barre Wyoming Valley Airport, Wilkes-Barre, United States','country_id' => '228'),\narray('id' => '3948','name' => '(WDG) - Enid Woodring Regional Airport, Enid, United States','country_id' => '228'),\narray('id' => '3949','name' => '(WDR) - Barrow County Airport, Winder, United States','country_id' => '228'),\narray('id' => '3950','name' => '(WHP) - Whiteman Airport, Los Angeles, United States','country_id' => '228'),\narray('id' => '3951','name' => '(WJF) - General WM J Fox Airfield, Lancaster, United States','country_id' => '228'),\narray('id' => '3952','name' => '(WLD) - Strother Field, Winfield/Arkansas City, United States','country_id' => '228'),\narray('id' => '3953','name' => '(WLW) - Willows Glenn County Airport, Willows, United States','country_id' => '228'),\narray('id' => '3954','name' => '(WMC) - Winnemucca Municipal Airport, Winnemucca, United States','country_id' => '228'),\narray('id' => '3955','name' => '(WRB) - Robins Air Force Base, Warner Robins, United States','country_id' => '228'),\narray('id' => '3956','name' => '(WRI) - Mc Guire Air Force Base, Wrightstown, United States','country_id' => '228'),\narray('id' => '3957','name' => '(WRL) - Worland Municipal Airport, Worland, United States','country_id' => '228'),\narray('id' => '3958','name' => '(WSD) - Condron Army Air Field, White Sands, United States','country_id' => '228'),\narray('id' => '3959','name' => '(WST) - Westerly State Airport, Westerly, United States','country_id' => '228'),\narray('id' => '3960','name' => '(WVI) - Watsonville Municipal Airport, Watsonville, United States','country_id' => '228'),\narray('id' => '3961','name' => '(WVL) - Waterville Robert Lafleur Airport, Waterville, United States','country_id' => '228'),\narray('id' => '3962','name' => '(WWD) - Cape May County Airport, Wildwood, United States','country_id' => '228'),\narray('id' => '3963','name' => '(WWR) - West Woodward Airport, Woodward, United States','country_id' => '228'),\narray('id' => '3964','name' => '(KWY) - Kiwayu Airport, Kiwayu, Kenya','country_id' => '111'),\narray('id' => '3965','name' => '(WYS) - Yellowstone Airport, West Yellowstone, United States','country_id' => '228'),\narray('id' => '3966','name' => '(KYO) - Tampa North Aero Park Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3967','name' => '(XNA) - Northwest Arkansas Regional Airport, Fayetteville/Springdale, United States','country_id' => '228'),\narray('id' => '3968','name' => '(YIP) - Willow Run Airport, Detroit, United States','country_id' => '228'),\narray('id' => '3969','name' => '(YKM) - Yakima Air Terminal McAllister Field, Yakima, United States','country_id' => '228'),\narray('id' => '3970','name' => '(YKN) - Chan Gurney Municipal Airport, Yankton, United States','country_id' => '228'),\narray('id' => '3971','name' => '(YNG) - Youngstown Warren Regional Airport, Youngstown/Warren, United States','country_id' => '228'),\narray('id' => '3972','name' => '(DZN) - Dzhezkazgan Airport, Dzhezkazgan, Kazakhstan','country_id' => '121'),\narray('id' => '3973','name' => '(TDK) - Taldykorgan Airport, Taldy Kurgan, Kazakhstan','country_id' => '121'),\narray('id' => '3974','name' => '(ATX) - Atbasar Airport, Atbasar, Kazakhstan','country_id' => '121'),\narray('id' => '3975','name' => '(KZF) - Kaintiba Airport, Kaintiba, Papua New Guinea','country_id' => '172'),\narray('id' => '3976','name' => '(ZPH) - Zephyrhills Municipal Airport, Zephyrhills, United States','country_id' => '228'),\narray('id' => '3977','name' => '(KZR) - Zafer Airport, KAtahya, Turkey','country_id' => '220'),\narray('id' => '3978','name' => '(ZZV) - Zanesville Municipal Airport, Zanesville, United States','country_id' => '228'),\narray('id' => '3979','name' => '(LAC) - Layang-Layang Airport, Spratley Islands, Malaysia','country_id' => '154'),\narray('id' => '3980','name' => '(TIA) - Tirana International Airport Mother Teresa, Tirana, Albania','country_id' => '5'),\narray('id' => '3981','name' => '(BOJ) - Burgas Airport, Burgas, Bulgaria','country_id' => '20'),\narray('id' => '3982','name' => '(GOZ) - Gorna Oryahovitsa Airport, Gorna Oryahovitsa, Bulgaria','country_id' => '20'),\narray('id' => '3983','name' => '(LBM) - Luabo Airport, Luabo, Mozambique','country_id' => '155'),\narray('id' => '3984','name' => '(PDV) - Plovdiv International Airport, Plovdiv, Bulgaria','country_id' => '20'),\narray('id' => '3985','name' => '(PVN) - Dolna Mitropoliya Air Base, Dolna Mitropoliya, Bulgaria','country_id' => '20'),\narray('id' => '3986','name' => '(SOF) - Sofia Airport, Sofia, Bulgaria','country_id' => '20'),\narray('id' => '3987','name' => '(SLS) - Silistra Polkovnik Lambrinovo Airfield, Silistra, Bulgaria','country_id' => '20'),\narray('id' => '3988','name' => '(SZR) - Stara Zagora Airport, Stara Zagora, Bulgaria','country_id' => '20'),\narray('id' => '3989','name' => '(TGV) - Bukhovtsi Airfield, Targovishte, Bulgaria','country_id' => '20'),\narray('id' => '3990','name' => '(VID) - Vidin Smurdan Airfield, Vidin, Bulgaria','country_id' => '20'),\narray('id' => '3991','name' => '(VAR) - Varna Airport, Varna, Bulgaria','country_id' => '20'),\narray('id' => '3992','name' => '(ECN) - Ercan International Airport, Nicosia, Cyprus','country_id' => '52'),\narray('id' => '3993','name' => '(LCA) - Larnaca International Airport, Larnarca, Cyprus','country_id' => '52'),\narray('id' => '3994','name' => '(LCP) - Loncopue Airport, Loncopue, Argentina','country_id' => '9'),\narray('id' => '3995','name' => '(PFO) - Paphos International Airport, Paphos, Cyprus','country_id' => '52'),\narray('id' => '3996','name' => '(AKT) - RAF Akrotiri, Akrotiri, United Kingdom','country_id' => '74'),\narray('id' => '3997','name' => '(DBV) - Dubrovnik Airport, Dubrovnik, Croatia','country_id' => '94'),\narray('id' => '3998','name' => '(LSZ) - Loinj Island Airport, Loinj, Croatia','country_id' => '94'),\narray('id' => '3999','name' => '(OSI) - Osijek Airport, Osijek, Croatia','country_id' => '94'),\narray('id' => '4000','name' => '(PUY) - Pula Airport, Pula, Croatia','country_id' => '94'),\narray('id' => '4001','name' => '(RJK) - Rijeka Airport, Rijeka, Croatia','country_id' => '94'),\narray('id' => '4002','name' => '(BWK) - Bol Airport, BraA Island, Croatia','country_id' => '94'),\narray('id' => '4003','name' => '(SPU) - Split Airport, Split, Croatia','country_id' => '94'),\narray('id' => '4004','name' => '(LDW) - Lansdowne Airport, Lansdowne Station, Australia','country_id' => '12'),\narray('id' => '4005','name' => '(ZAG) - Zagreb Airport, Zagreb, Croatia','country_id' => '94'),\narray('id' => '4006','name' => '(ZAD) - Zemunik Airport, Zadar, Croatia','country_id' => '94'),\narray('id' => '4007','name' => '(ABC) - Albacete-Los Llanos Airport, Albacete, Spain','country_id' => '65'),\narray('id' => '4008','name' => '(ALC) - Alicante International Airport, Alicante, Spain','country_id' => '65'),\narray('id' => '4009','name' => '(LEI) - AlmerAa International Airport, AlmerAa, Spain','country_id' => '65'),\narray('id' => '4010','name' => '(OVD) - Asturias Airport, RanAn, Spain','country_id' => '65'),\narray('id' => '4011','name' => '(ODB) - CArdoba Airport, CArdoba, Spain','country_id' => '65'),\narray('id' => '4012','name' => '(BIO) - Bilbao Airport, Bilbao, Spain','country_id' => '65'),\narray('id' => '4013','name' => '(RGS) - Burgos Airport, Burgos, Spain','country_id' => '65'),\narray('id' => '4014','name' => '(BCN) - Barcelona International Airport, Barcelona, Spain','country_id' => '65'),\narray('id' => '4015','name' => '(BJZ) - Badajoz Airport, Badajoz, Spain','country_id' => '65'),\narray('id' => '4016','name' => '(LCG) - A CoruAa Airport, Culleredo, Spain','country_id' => '65'),\narray('id' => '4017','name' => '(ECV) - Cuatro Vientos Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4018','name' => '(ILD) - Lleida-Alguaire Airport, Lleida, Spain','country_id' => '65'),\narray('id' => '4019','name' => '(CDT) - CastellAn-Costa Azahar Airport, CastellAn de la Plana, Spain','country_id' => '65'),\narray('id' => '4020','name' => '(GRO) - Girona Airport, Girona, Spain','country_id' => '65'),\narray('id' => '4021','name' => '(GRX) - Federico Garcia Lorca Airport, Granada, Spain','country_id' => '65'),\narray('id' => '4022','name' => '(HSK) - Huesca/Pirineos Airport, Monflorite/AlcalA del Obispo, Spain','country_id' => '65'),\narray('id' => '4023','name' => '(IBZ) - Ibiza Airport, Ibiza, Spain','country_id' => '65'),\narray('id' => '4024','name' => '(XRY) - Jerez Airport, Jerez de la Forntera, Spain','country_id' => '65'),\narray('id' => '4025','name' => '(MJV) - San Javier Airport, San Javier, Spain','country_id' => '65'),\narray('id' => '4026','name' => '(QSA) - Sabadell Airport, Sabadell, Spain','country_id' => '65'),\narray('id' => '4027','name' => '(LEN) - Leon Airport, LeAn, Spain','country_id' => '65'),\narray('id' => '4028','name' => '(RJL) - LogroAo-Agoncillo Airport, LogroAo, Spain','country_id' => '65'),\narray('id' => '4029','name' => '(MAD) - Adolfo SuArez Madrida\"Barajas Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4030','name' => '(HEV) - MafA - GibraleAn Airport, GibraleAn, Spain','country_id' => '65'),\narray('id' => '4031','name' => '(AGP) - MAlaga Airport, MAlaga, Spain','country_id' => '65'),\narray('id' => '4032','name' => '(MAH) - Menorca Airport, Menorca Island, Spain','country_id' => '65'),\narray('id' => '4033','name' => '(OZP) - Moron Air Base, MorAn, Spain','country_id' => '65'),\narray('id' => '4034','name' => '(LEO) - Lekoni Airport, Lekoni, Gabon','country_id' => '73'),\narray('id' => '4035','name' => '(PMI) - Palma De Mallorca Airport, Palma De Mallorca, Spain','country_id' => '65'),\narray('id' => '4036','name' => '(PNA) - Pamplona Airport, Pamplona, Spain','country_id' => '65'),\narray('id' => '4037','name' => '(REU) - Reus Air Base, Reus, Spain','country_id' => '65'),\narray('id' => '4038','name' => '(ROZ) - Rota Naval Station Airport, Rota, Spain','country_id' => '65'),\narray('id' => '4039','name' => '(SLM) - Salamanca Airport, Salamanca, Spain','country_id' => '65'),\narray('id' => '4040','name' => '(EAS) - San Sebastian Airport, Hondarribia, Spain','country_id' => '65'),\narray('id' => '4041','name' => '(SCQ) - Santiago de Compostela Airport, Santiago de Compostela, Spain','country_id' => '65'),\narray('id' => '4042','name' => '(LEU) - Pirineus - la Seu d\\'Urgel Airport, La Seu d\\'Urgell Pyrenees and Andorra, Spain','country_id' => '65'),\narray('id' => '4043','name' => '(TEV) - Teruel Airport, Teruel, Spain','country_id' => '65'),\narray('id' => '4044','name' => '(TOJ) - TorrejAn Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4045','name' => '(VLC) - Valencia Airport, Valencia, Spain','country_id' => '65'),\narray('id' => '4046','name' => '(VLL) - Valladolid Airport, Valladolid, Spain','country_id' => '65'),\narray('id' => '4047','name' => '(VIT) - Vitoria/Foronda Airport, Alava, Spain','country_id' => '65'),\narray('id' => '4048','name' => '(VGO) - Vigo Airport, Vigo, Spain','country_id' => '65'),\narray('id' => '4049','name' => '(SDR) - Santander Airport, Santander, Spain','country_id' => '65'),\narray('id' => '4050','name' => '(ZAZ) - Zaragoza Air Base, Zaragoza, Spain','country_id' => '65'),\narray('id' => '4051','name' => '(SVQ) - Sevilla Airport, Sevilla, Spain','country_id' => '65'),\narray('id' => '4052','name' => '(DPE) - St Aubin Airport, Dieppe, France','country_id' => '72'),\narray('id' => '4053','name' => '(CQF) - Calais-Dunkerque Airport, Calais/Dunkerque, France','country_id' => '72'),\narray('id' => '4054','name' => '(XCP) - CompiAgne Margny Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4055','name' => '(XLN) - Laon - Chambry Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4056','name' => '(XSJ) - PAronne-Saint-Quentin Airport, PAronne/Saint-Quentin, France','country_id' => '72'),\narray('id' => '4057','name' => '(XDK) - Dunkerque les Moeres Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4058','name' => '(BYF) - Albert-Bray Airport, Albert/Bray, France','country_id' => '72'),\narray('id' => '4059','name' => '(LTQ) - Le Touquet-CAte d\\'Opale Airport, Le Touquet-Paris-Plage, France','country_id' => '72'),\narray('id' => '4060','name' => '(XVS) - Valenciennes-Denain Airport, Valenciennes/Denain, France','country_id' => '72'),\narray('id' => '4061','name' => '(QAM) - Amiens-Glisy Airport, Amiens/Glisy, France','country_id' => '72'),\narray('id' => '4062','name' => '(AGF) - Agen-La Garenne Airport, Agen/La Garenne, France','country_id' => '72'),\narray('id' => '4063','name' => '(BOD) - Bordeaux-MArignac Airport, Bordeaux/MArignac, France','country_id' => '72'),\narray('id' => '4064','name' => '(EGC) - Bergerac-RoumaniAre Airport, Bergerac/RoumaniAre, France','country_id' => '72'),\narray('id' => '4065','name' => '(CNG) - Cognac-ChAteaubernard (BA 709) Air Base, Cognac/ChAteaubernard, France','country_id' => '72'),\narray('id' => '4066','name' => '(LRH) - La Rochelle-Ale de RA Airport, La Rochelle/Ale de RA, France','country_id' => '72'),\narray('id' => '4067','name' => '(PIS) - Poitiers-Biard Airport, Poitiers/Biard, France','country_id' => '72'),\narray('id' => '4068','name' => '(MCU) - MontluAon-GuAret Airport, MontluAon/GuAret, France','country_id' => '72'),\narray('id' => '4069','name' => '(LIG) - Limoges Airport, Limoges/Bellegarde, France','country_id' => '72'),\narray('id' => '4070','name' => '(XMJ) - Mont-de-Marsan (BA 118) Air Base, Mont-de-Marsan, France','country_id' => '72'),\narray('id' => '4071','name' => '(NIT) - Niort-SouchA Airport, Niort/SouchA, France','country_id' => '72'),\narray('id' => '4072','name' => '(TLS) - Toulouse-Blagnac Airport, Toulouse/Blagnac, France','country_id' => '72'),\narray('id' => '4073','name' => '(PUF) - Pau PyrAnAes Airport, Pau/PyrAnAes (Uzein), France','country_id' => '72'),\narray('id' => '4074','name' => '(LDE) - Tarbes-Lourdes-PyrAnAes Airport, Tarbes/Lourdes/PyrAnAes, France','country_id' => '72'),\narray('id' => '4075','name' => '(ANG) - AngoulAame-Brie-Champniers Airport, AngoulAame/Brie/Champniers, France','country_id' => '72'),\narray('id' => '4076','name' => '(PGX) - PArigueux-Bassillac Airport, PArigueux/Bassillac, France','country_id' => '72'),\narray('id' => '4077','name' => '(XDA) - Dax Seyresse Airport, Perigueux, France','country_id' => '72'),\narray('id' => '4078','name' => '(BIQ) - Biarritz-Anglet-Bayonne Airport, Biarritz/Anglet/Bayonne, France','country_id' => '72'),\narray('id' => '4079','name' => '(XCX) - ChAtellerault Airport, Biarritz, France','country_id' => '72'),\narray('id' => '4080','name' => '(ZAO) - Cahors-Lalbenque Airport, Cahors/Lalbenque, France','country_id' => '72'),\narray('id' => '4081','name' => '(XGT) - GuAret St Laurent Airport, Cahors, France','country_id' => '72'),\narray('id' => '4082','name' => '(XAC) - Arcachon-La Teste-de-Buch Airport, Arcachon/La Teste-de-Buch, France','country_id' => '72'),\narray('id' => '4083','name' => '(LBI) - Albi-Le SAquestre Airport, Albi/Le SAquestre, France','country_id' => '72'),\narray('id' => '4084','name' => '(DCM) - Castres-Mazamet Airport, Castres/Mazamet, France','country_id' => '72'),\narray('id' => '4085','name' => '(RDZ) - Rodez-Marcillac Airport, Rodez/Marcillac, France','country_id' => '72'),\narray('id' => '4086','name' => '(RYN) - Royan-MAdis Airport, Royan/MAdis, France','country_id' => '72'),\narray('id' => '4087','name' => '(XMW) - Montauban Airport, Montauban, France','country_id' => '72'),\narray('id' => '4088','name' => '(XLR) - Libourne-Artigues-de-Lussac Airport, Libourne/Artigues-de-Lussac, France','country_id' => '72'),\narray('id' => '4089','name' => '(RCO) - Rochefort-Saint-Agnant (BA 721) Airport, Rochefort/Saint-Agnant, France','country_id' => '72'),\narray('id' => '4090','name' => '(XSL) - Sarlat Domme Airport, Rochefort, France','country_id' => '72'),\narray('id' => '4091','name' => '(XTB) - Tarbes LaloubAre Airport, Rochefort, France','country_id' => '72'),\narray('id' => '4092','name' => '(IDY) - Ale d\\'Yeu Airport, Ale d\\'Yeu, France','country_id' => '72'),\narray('id' => '4093','name' => '(XVZ) - Vierzon MAreau Airport, Guiscriff, France','country_id' => '72'),\narray('id' => '4094','name' => '(CMR) - Colmar-Houssen Airport, Colmar/Houssen, France','country_id' => '72'),\narray('id' => '4095','name' => '(XBV) - Beaune-Challanges Airport, Beaune/Challanges, France','country_id' => '72'),\narray('id' => '4096','name' => '(DLE) - Dole-Tavaux Airport, Dole/Tavaux, France','country_id' => '72'),\narray('id' => '4097','name' => '(XVN) - Verdun-Le Rozelier Airport, Verdun/Le Rozelier, France','country_id' => '72'),\narray('id' => '4098','name' => '(XVI) - Vienne Reventin Airport, Verdun, France','country_id' => '72'),\narray('id' => '4099','name' => '(MVV) - MegAve Airport, Verdun, France','country_id' => '72'),\narray('id' => '4100','name' => '(OBS) - Aubenas-ArdAche MAridional Airport, Aubenas/ArdAche MAridional, France','country_id' => '72'),\narray('id' => '4101','name' => '(LPY) - Le Puy-Loudes Airport, Le Puy/Loudes, France','country_id' => '72'),\narray('id' => '4102','name' => '(AHZ) - L\\'alpe D\\'huez Airport, Bourg, France','country_id' => '72'),\narray('id' => '4103','name' => '(XCW) - Chaumont-Semoutiers Airport, Chaumont/Semoutiers, France','country_id' => '72'),\narray('id' => '4104','name' => '(ETZ) - Metz-Nancy-Lorraine Airport, Metz / Nancy, France','country_id' => '72'),\narray('id' => '4105','name' => '(ANE) - Angers-Loire Airport, Angers/MarcA, France','country_id' => '72'),\narray('id' => '4106','name' => '(XAV) - Albertville Airport, Angers, France','country_id' => '72'),\narray('id' => '4107','name' => '(BIA) - Bastia-Poretta Airport, Bastia/Poretta, France','country_id' => '72'),\narray('id' => '4108','name' => '(CLY) - Calvi-Sainte-Catherine Airport, Calvi/Sainte-Catherine, France','country_id' => '72'),\narray('id' => '4109','name' => '(FSC) - Figari Sud-Corse Airport, Figari Sud-Corse, France','country_id' => '72'),\narray('id' => '4110','name' => '(AJA) - Ajaccio-NapolAon Bonaparte Airport, Ajaccio/NapolAon Bonaparte, France','country_id' => '72'),\narray('id' => '4111','name' => '(PRP) - Propriano Airport, Propriano, France','country_id' => '72'),\narray('id' => '4112','name' => '(SOZ) - Solenzara (BA 126) Air Base, Solenzara, France','country_id' => '72'),\narray('id' => '4113','name' => '(MFX) - MAribel Airport, Ajaccio, France','country_id' => '72'),\narray('id' => '4114','name' => '(AUF) - Auxerre-Branches Airport, Auxerre/Branches, France','country_id' => '72'),\narray('id' => '4115','name' => '(CMF) - ChambAry-Savoie Airport, ChambAry/Aix-les-Bains, France','country_id' => '72'),\narray('id' => '4116','name' => '(CFE) - Clermont-Ferrand Auvergne Airport, Clermont-Ferrand/Auvergne, France','country_id' => '72'),\narray('id' => '4117','name' => '(BOU) - Bourges Airport, Bourges, France','country_id' => '72'),\narray('id' => '4118','name' => '(QNJ) - Annemasse Airport, Annemasse, France','country_id' => '72'),\narray('id' => '4119','name' => '(CVF) - Courchevel Airport, Courcheval, France','country_id' => '72'),\narray('id' => '4120','name' => '(LYS) - Lyon Saint-ExupAry Airport, Lyon, France','country_id' => '72'),\narray('id' => '4121','name' => '(QNX) - MAcon-Charnay Airport, MAcon/Charnay, France','country_id' => '72'),\narray('id' => '4122','name' => '(SYT) - Saint-Yan Airport, Saint-Yan, France','country_id' => '72'),\narray('id' => '4123','name' => '(RNE) - Roanne-Renaison Airport, Roanne/Renaison, France','country_id' => '72'),\narray('id' => '4124','name' => '(NCY) - Annecy-Haute-Savoie-Mont Blanc Airport, Annecy/Meythet, France','country_id' => '72'),\narray('id' => '4125','name' => '(XMK) - MontAlimar - AncAne Airport, Annecy, France','country_id' => '72'),\narray('id' => '4126','name' => '(GNB) - Grenoble-IsAre Airport, Grenoble/Saint-Geoirs, France','country_id' => '72'),\narray('id' => '4127','name' => '(MCU) - MontluAon-DomArat Airport, MontluAon/DomArat, France','country_id' => '72'),\narray('id' => '4128','name' => '(VAF) - Valence-Chabeuil Airport, Valence/Chabeuil, France','country_id' => '72'),\narray('id' => '4129','name' => '(VHY) - Vichy-Charmeil Airport, Vichy/Charmeil, France','country_id' => '72'),\narray('id' => '4130','name' => '(AUR) - Aurillac Airport, Aurillac, France','country_id' => '72'),\narray('id' => '4131','name' => '(CHR) - ChAteauroux-DAols \"Marcel Dassault\" Airport, ChAteauroux/DAols, France','country_id' => '72'),\narray('id' => '4132','name' => '(LYN) - Lyon-Bron Airport, Lyon/Bron, France','country_id' => '72'),\narray('id' => '4133','name' => '(CEQ) - Cannes-Mandelieu Airport, Cannes/Mandelieu, France','country_id' => '72'),\narray('id' => '4134','name' => '(EBU) - Saint-Atienne-BouthAon Airport, Saint-Atienne/BouthAon, France','country_id' => '72'),\narray('id' => '4135','name' => '(QIE) - Istres Le TubA/Istres Air Base (BA 125) Airport, Istres/Le TubA, France','country_id' => '72'),\narray('id' => '4136','name' => '(CCF) - Carcassonne Airport, Carcassonne/Salvaza, France','country_id' => '72'),\narray('id' => '4137','name' => '(MRS) - Marseille Provence Airport, Marseille, France','country_id' => '72'),\narray('id' => '4138','name' => '(NCE) - Nice-CAte d\\'Azur Airport, Nice, France','country_id' => '72'),\narray('id' => '4139','name' => '(XOG) - Orange-Caritat (BA 115) Air Base, Orange/Caritat, France','country_id' => '72'),\narray('id' => '4140','name' => '(PGF) - Perpignan-Rivesaltes (LlabanAre) Airport, Perpignan/Rivesaltes, France','country_id' => '72'),\narray('id' => '4141','name' => '(CTT) - Le Castellet Airport, Le Castellet, France','country_id' => '72'),\narray('id' => '4142','name' => '(BAE) - Barcelonnette - Saint-Pons Airport, Le Castellet, France','country_id' => '72'),\narray('id' => '4143','name' => '(XAS) - AlAs-Deaux Airport, AlAs/Deaux, France','country_id' => '72'),\narray('id' => '4144','name' => '(MPL) - Montpellier-MAditerranAe Airport, Montpellier/MAditerranAe, France','country_id' => '72'),\narray('id' => '4145','name' => '(BZR) - BAziers-Vias Airport, BAziers/Vias, France','country_id' => '72'),\narray('id' => '4146','name' => '(AVN) - Avignon-Caumont Airport, Avignon/Caumont, France','country_id' => '72'),\narray('id' => '4147','name' => '(GAT) - Gap - Tallard Airport, Avignon, France','country_id' => '72'),\narray('id' => '4148','name' => '(MEN) - Mende-Brenoux Airport, Mende/BrAnoux, France','country_id' => '72'),\narray('id' => '4149','name' => '(SCP) - Mont-Dauphin - St-CrApin Airport, Mende, France','country_id' => '72'),\narray('id' => '4150','name' => '(BVA) - Paris Beauvais TillA Airport, Beauvais/TillA, France','country_id' => '72'),\narray('id' => '4151','name' => '(XSU) - Saumur-Saint-Florent Airport, Saumur/Saint-Florent, France','country_id' => '72'),\narray('id' => '4152','name' => '(EVX) - Avreux-Fauville (BA 105) Air Base, Avreux/Fauville, France','country_id' => '72'),\narray('id' => '4153','name' => '(XAN) - AlenAon Valframbert Airport, Evreux, France','country_id' => '72'),\narray('id' => '4154','name' => '(LEH) - Le Havre Octeville Airport, Le Havre/Octeville, France','country_id' => '72'),\narray('id' => '4155','name' => '(XAB) - Abbeville, Abbeville, France','country_id' => '72'),\narray('id' => '4156','name' => '(ORE) - OrlAans-Bricy (BA 123) Air Base, OrlAans/Bricy, France','country_id' => '72'),\narray('id' => '4157','name' => '(XCR) - ChAlons-Vatry Air Base, ChAlons/Vatry, France','country_id' => '72'),\narray('id' => '4158','name' => '(LSO) - Les Sables-d\\'Olonne Talmont Airport, Les Sables-d\\'Olonne, France','country_id' => '72'),\narray('id' => '4159','name' => '(URO) - Rouen Airport, Rouen/VallAe de Seine, France','country_id' => '72'),\narray('id' => '4160','name' => '(XBQ) - Blois-Le Breuil Airport, Blois/Le Breuil, France','country_id' => '72'),\narray('id' => '4161','name' => '(QTJ) - Chartres a\" MAtropole Airport, Chartres / Champhol, France','country_id' => '72'),\narray('id' => '4162','name' => '(TUF) - Tours-Val-de-Loire Airport, Tours/Val de Loire (Loire Valley), France','country_id' => '72'),\narray('id' => '4163','name' => '(CET) - Cholet Le Pontreau Airport, Cholet/Le Pontreau, France','country_id' => '72'),\narray('id' => '4164','name' => '(LVA) - Laval-Entrammes Airport, Laval/Entrammes, France','country_id' => '72'),\narray('id' => '4165','name' => '(LBG) - Paris-Le Bourget Airport, Paris, France','country_id' => '72'),\narray('id' => '4166','name' => '(CSF) - Creil Air Base, Creil, France','country_id' => '72'),\narray('id' => '4167','name' => '(XBX) - Bernay a\" St Martin Airport, Creil, France','country_id' => '72'),\narray('id' => '4168','name' => '(CDG) - Charles de Gaulle International Airport, Paris, France','country_id' => '72'),\narray('id' => '4169','name' => '(TNF) - Toussus-le-Noble Airport, Toussus-le-Noble, France','country_id' => '72'),\narray('id' => '4170','name' => '(ORY) - Paris-Orly Airport, Paris, France','country_id' => '72'),\narray('id' => '4171','name' => '(POX) - Pontoise - Cormeilles-en-Vexin Airport, Cormeilles-en-Vexin, France','country_id' => '72'),\narray('id' => '4172','name' => '(VIY) - Villacoublay-VAlizy (BA 107) Air Base, Villacoublay/VAlizy, France','country_id' => '72'),\narray('id' => '4173','name' => '(LFQ) - Linfen Qiaoli Airport, Linfen, China','country_id' => '45'),\narray('id' => '4174','name' => '(QYR) - Troyes-Barberey Airport, Troyes/Barberey, France','country_id' => '72'),\narray('id' => '4175','name' => '(NVS) - Nevers-Fourchambault Airport, Nevers/Fourchambault, France','country_id' => '72'),\narray('id' => '4176','name' => '(XCB) - Cambrai-Apinoy (BA 103) Air Base, Cambrai/Apinoy, France','country_id' => '72'),\narray('id' => '4177','name' => '(XME) - Maubeuge-Alesmes Airport, Maubeuge/Alesmes, France','country_id' => '72'),\narray('id' => '4178','name' => '(GBQ) - BesanAon-La VAze Airport, BesanAon/La VAze, France','country_id' => '72'),\narray('id' => '4179','name' => '(LIL) - Lille-Lesquin Airport, Lille/Lesquin, France','country_id' => '72'),\narray('id' => '4180','name' => '(HZB) - Merville-Calonne Airport, Merville/Calonne, France','country_id' => '72'),\narray('id' => '4181','name' => '(XCZ) - Charleville-MAziAres Airport, Charleville-MAziAres, France','country_id' => '72'),\narray('id' => '4182','name' => '(XVO) - Vesoul-Frotey Airport, Vesoul/Frotey, France','country_id' => '72'),\narray('id' => '4183','name' => '(BES) - Brest Bretagne Airport, Brest/Guipavas, France','country_id' => '72'),\narray('id' => '4184','name' => '(CER) - Cherbourg-Maupertus Airport, Cherbourg/Maupertus, France','country_id' => '72'),\narray('id' => '4185','name' => '(DNR) - Dinard-Pleurtuit-Saint-Malo Airport, Dinard/Pleurtuit/Saint-Malo, France','country_id' => '72'),\narray('id' => '4186','name' => '(LBY) - La Baule-Escoublac Airport, La Baule-Escoublac, France','country_id' => '72'),\narray('id' => '4187','name' => '(GFR) - Granville Airport, Granville, France','country_id' => '72'),\narray('id' => '4188','name' => '(DOL) - Deauville-Saint-Gatien Airport, Deauville, France','country_id' => '72'),\narray('id' => '4189','name' => '(LRT) - Lorient South Brittany (Bretagne Sud) Airport, Lorient/Lann/BihouA, France','country_id' => '72'),\narray('id' => '4190','name' => '(EDM) - La Roche-sur-Yon Airport, La Roche-sur-Yon/Les Ajoncs, France','country_id' => '72'),\narray('id' => '4191','name' => '(LDV) - Landivisiau Air Base, Landivisiau, France','country_id' => '72'),\narray('id' => '4192','name' => '(CFR) - Caen-Carpiquet Airport, Caen/Carpiquet, France','country_id' => '72'),\narray('id' => '4193','name' => '(LME) - Le Mans-Arnage Airport, Le Mans/Arnage, France','country_id' => '72'),\narray('id' => '4194','name' => '(RNS) - Rennes-Saint-Jacques Airport, Rennes/Saint-Jacques, France','country_id' => '72'),\narray('id' => '4195','name' => '(LAI) - Lannion-CAte de Granit Airport, Lannion, France','country_id' => '72'),\narray('id' => '4196','name' => '(UIP) - Quimper-Cornouaille Airport, Quimper/Pluguffan, France','country_id' => '72'),\narray('id' => '4197','name' => '(NTE) - Nantes Atlantique Airport, Nantes, France','country_id' => '72'),\narray('id' => '4198','name' => '(SBK) - Saint-Brieuc-Armor Airport, Saint-Brieuc/Armor, France','country_id' => '72'),\narray('id' => '4199','name' => '(MXN) - Morlaix-Ploujean Airport, Morlaix/Ploujean, France','country_id' => '72'),\narray('id' => '4200','name' => '(VNE) - Vannes-Meucon Airport, Vannes/Meucon, France','country_id' => '72'),\narray('id' => '4201','name' => '(SNR) - Saint-Nazaire-Montoir Airport, Saint-Nazaire/Montoir, France','country_id' => '72'),\narray('id' => '4202','name' => '(BSL) - EuroAirport Basel-Mulhouse-Freiburg Airport, BAle/Mulhouse, France','country_id' => '72'),\narray('id' => '4203','name' => '(DIJ) - Dijon-Bourgogne Airport, Dijon/Longvic, France','country_id' => '72'),\narray('id' => '4204','name' => '(MZM) - Metz-Frescaty (BA 128) Air Base, Metz/Frescaty, France','country_id' => '72'),\narray('id' => '4205','name' => '(EPL) - Apinal-Mirecourt Airport, Apinal/Mirecourt, France','country_id' => '72'),\narray('id' => '4206','name' => '(XMF) - MontbAliard-Courcelles Airport, MontbAliard/Courcelles, France','country_id' => '72'),\narray('id' => '4207','name' => '(ENC) - Nancy-Essey Airport, Nancy/Essey, France','country_id' => '72'),\narray('id' => '4208','name' => '(RHE) - Reims-Champagne (BA 112) Airport, Reims/Champagne, France','country_id' => '72'),\narray('id' => '4209','name' => '(SXB) - Strasbourg Airport, Strasbourg, France','country_id' => '72'),\narray('id' => '4210','name' => '(VTL) - Vittel Champ De Course Airport, Luxeuil, France','country_id' => '72'),\narray('id' => '4211','name' => '(TLN) - Toulon-HyAres Airport, Toulon/HyAres/Le Palyvestre, France','country_id' => '72'),\narray('id' => '4212','name' => '(FNI) - NAmes-Arles-Camargue Airport, NAmes/Garons, France','country_id' => '72'),\narray('id' => '4213','name' => '(LTT) - La MAle Airport, La MAle, France','country_id' => '72'),\narray('id' => '4214','name' => '(MQC) - Miquelon Airport, Miquelon, Saint Pierre and Miquelon','country_id' => '176'),\narray('id' => '4215','name' => '(FSP) - St Pierre Airport, Saint-Pierre, Saint Pierre and Miquelon','country_id' => '176'),\narray('id' => '4216','name' => '(PYR) - Andravida Airport, Andravida, Greece','country_id' => '86'),\narray('id' => '4217','name' => '(AXD) - Dimokritos Airport, Alexandroupolis, Greece','country_id' => '86'),\narray('id' => '4218','name' => '(HEW) - Athen Helenikon Airport, Athens, Greece','country_id' => '86'),\narray('id' => '4219','name' => '(ATH) - Eleftherios Venizelos International Airport, Athens, Greece','country_id' => '86'),\narray('id' => '4220','name' => '(VOL) - Nea Anchialos Airport, Nea Anchialos, Greece','country_id' => '86'),\narray('id' => '4221','name' => '(LGE) - Mulan Airport, Lake Gregory, Australia','country_id' => '12'),\narray('id' => '4222','name' => '(JKH) - Chios Island National Airport, Chios Island, Greece','country_id' => '86'),\narray('id' => '4223','name' => '(PKH) - Porto Cheli Airport, Porto Cheli, Greece','country_id' => '86'),\narray('id' => '4224','name' => '(JIK) - Ikaria Airport, Ikaria Island, Greece','country_id' => '86'),\narray('id' => '4225','name' => '(IOA) - Ioannina Airport, Ioannina, Greece','country_id' => '86'),\narray('id' => '4226','name' => '(HER) - Heraklion International Nikos Kazantzakis Airport, Heraklion, Greece','country_id' => '86'),\narray('id' => '4227','name' => '(KSO) - Kastoria National Airport, Kastoria, Greece','country_id' => '86'),\narray('id' => '4228','name' => '(KIT) - Kithira Airport, Kithira Island, Greece','country_id' => '86'),\narray('id' => '4229','name' => '(EFL) - Kefallinia Airport, Kefallinia Island, Greece','country_id' => '86'),\narray('id' => '4230','name' => '(KZS) - Kastelorizo Airport, Kastelorizo Island, Greece','country_id' => '86'),\narray('id' => '4231','name' => '(KLX) - Kalamata Airport, Kalamata, Greece','country_id' => '86'),\narray('id' => '4232','name' => '(KGS) - Kos Airport, Kos Island, Greece','country_id' => '86'),\narray('id' => '4233','name' => '(AOK) - Karpathos Airport, Karpathos Island, Greece','country_id' => '86'),\narray('id' => '4234','name' => '(CFU) - Ioannis Kapodistrias International Airport, Kerkyra Island, Greece','country_id' => '86'),\narray('id' => '4235','name' => '(KSJ) - Kasos Airport, Kasos Island, Greece','country_id' => '86'),\narray('id' => '4236','name' => '(KVA) - Alexander the Great International Airport, Kavala, Greece','country_id' => '86'),\narray('id' => '4237','name' => '(JKL) - Kalymnos Airport, Kalymnos Island, Greece','country_id' => '86'),\narray('id' => '4238','name' => '(KZI) - Filippos Airport, Kozani, Greece','country_id' => '86'),\narray('id' => '4239','name' => '(LRS) - Leros Airport, Leros Island, Greece','country_id' => '86'),\narray('id' => '4240','name' => '(LXS) - Limnos Airport, Limnos Island, Greece','country_id' => '86'),\narray('id' => '4241','name' => '(LRA) - Larisa Airport, Larisa, Greece','country_id' => '86'),\narray('id' => '4242','name' => '(JMK) - Mikonos Airport, Mykonos Island, Greece','country_id' => '86'),\narray('id' => '4243','name' => '(MLO) - Milos Airport, Milos Island, Greece','country_id' => '86'),\narray('id' => '4244','name' => '(MJT) - Mytilene International Airport, Mytilene, Greece','country_id' => '86'),\narray('id' => '4245','name' => '(LGN) - Linga Linga Airport, Linga Linga, Papua New Guinea','country_id' => '172'),\narray('id' => '4246','name' => '(JNX) - Naxos Airport, Naxos Island, Greece','country_id' => '86'),\narray('id' => '4247','name' => '(PAS) - Paros Airport, Paros Island, Greece','country_id' => '86'),\narray('id' => '4248','name' => '(JTY) - Astypalaia Airport, Astypalaia Island, Greece','country_id' => '86'),\narray('id' => '4249','name' => '(PVK) - Aktion National Airport, Preveza/Lefkada, Greece','country_id' => '86'),\narray('id' => '4250','name' => '(RHO) - Diagoras Airport, Rodes Island, Greece','country_id' => '86'),\narray('id' => '4251','name' => '(GPA) - Araxos Airport, Patras, Greece','country_id' => '86'),\narray('id' => '4252','name' => '(CHQ) - Chania International Airport, Souda, Greece','country_id' => '86'),\narray('id' => '4253','name' => '(JSI) - Skiathos Island National Airport, Skiathos, Greece','country_id' => '86'),\narray('id' => '4254','name' => '(SMI) - Samos Airport, Samos Island, Greece','country_id' => '86'),\narray('id' => '4255','name' => '(JSY) - Syros Airport, Syros Island, Greece','country_id' => '86'),\narray('id' => '4256','name' => '(SPJ) - Sparti Airport, Sparti, Greece','country_id' => '86'),\narray('id' => '4257','name' => '(JTR) - Santorini Airport, Santorini Island, Greece','country_id' => '86'),\narray('id' => '4258','name' => '(JSH) - Sitia Airport, Crete Island, Greece','country_id' => '86'),\narray('id' => '4259','name' => '(SKU) - Skiros Airport, Skiros Island, Greece','country_id' => '86'),\narray('id' => '4260','name' => '(SKG) - Thessaloniki Macedonia International Airport, Thessaloniki, Greece','country_id' => '86'),\narray('id' => '4261','name' => '(ZTH) - Dionysios Solomos Airport, Zakynthos Island, Greece','country_id' => '86'),\narray('id' => '4262','name' => '(BUD) - Budapest Ferenc Liszt International Airport, Budapest, Hungary','country_id' => '96'),\narray('id' => '4263','name' => '(DEB) - Debrecen International Airport, Debrecen, Hungary','country_id' => '96'),\narray('id' => '4264','name' => '(MCQ) - Miskolc Airport, Miskolc, Hungary','country_id' => '96'),\narray('id' => '4265','name' => '(PEV) - PAcs-PogAny Airport, PAcs-PogAny, Hungary','country_id' => '96'),\narray('id' => '4266','name' => '(QGY) - Gy\\'r-PAr International Airport, Gy\\'r, Hungary','country_id' => '96'),\narray('id' => '4267','name' => '(SOB) - SArmellAk International Airport, SArmellAk, Hungary','country_id' => '96'),\narray('id' => '4268','name' => '(TZR) - TaszAr Air Base, TaszAr, Hungary','country_id' => '96'),\narray('id' => '4269','name' => '(QZD) - Szeged Glider Airport, Szeged, Hungary','country_id' => '96'),\narray('id' => '4270','name' => '(QAQ) - L\\'Aquilaa\"Preturo Airport, L\\'Aquila, Italy','country_id' => '106'),\narray('id' => '4271','name' => '(CRV) - Crotone Airport, Crotone, Italy','country_id' => '106'),\narray('id' => '4272','name' => '(BRI) - Bari Karol Wojty\\'a Airport, Bari, Italy','country_id' => '106'),\narray('id' => '4273','name' => '(FOG) - Foggia \"Gino Lisa\" Airport, Foggia, Italy','country_id' => '106'),\narray('id' => '4274','name' => '(TAR) - Taranto-Grottaglie \"Marcello Arlotta\" Airport, Grottaglie, Italy','country_id' => '106'),\narray('id' => '4275','name' => '(LCC) - Lecce Galatina Air Base, , Italy','country_id' => '106'),\narray('id' => '4276','name' => '(PSR) - Pescara International Airport, Pescara, Italy','country_id' => '106'),\narray('id' => '4277','name' => '(BDS) - Brindisi a\" Salento Airport, Brindisi, Italy','country_id' => '106'),\narray('id' => '4278','name' => '(SUF) - Lamezia Terme Airport, Lamezia Terme (CZ), Italy','country_id' => '106'),\narray('id' => '4279','name' => '(CIY) - Comiso Airport, Comiso, Italy','country_id' => '106'),\narray('id' => '4280','name' => '(CTA) - Catania-Fontanarossa Airport, Catania, Italy','country_id' => '106'),\narray('id' => '4281','name' => '(LMP) - Lampedusa Airport, Lampedusa, Italy','country_id' => '106'),\narray('id' => '4282','name' => '(PNL) - Pantelleria Airport, Pantelleria, Italy','country_id' => '106'),\narray('id' => '4283','name' => '(PMO) - Falconea\"Borsellino Airport, Palermo, Italy','country_id' => '106'),\narray('id' => '4284','name' => '(REG) - Reggio Calabria Airport, Reggio Calabria, Italy','country_id' => '106'),\narray('id' => '4285','name' => '(TPS) - Vincenzo Florio Airport Trapani-Birgi, Trapani, Italy','country_id' => '106'),\narray('id' => '4286','name' => '(NSY) - Sigonella Airport, , Italy','country_id' => '106'),\narray('id' => '4287','name' => '(BLX) - Belluno Airport, Belluno, Italy','country_id' => '106'),\narray('id' => '4288','name' => '(RAN) - Ravenna Airport, Ravenna, Italy','country_id' => '106'),\narray('id' => '4289','name' => '(ZIA) - Trento-Mattarello Airport, Trento, Italy','country_id' => '106'),\narray('id' => '4290','name' => '(AHO) - Alghero-Fertilia Airport, Alghero, Italy','country_id' => '106'),\narray('id' => '4291','name' => '(DCI) - Decimomannu Air Base, Decimomannu, Italy','country_id' => '106'),\narray('id' => '4292','name' => '(CAG) - Cagliari Elmas Airport, Cagliari, Italy','country_id' => '106'),\narray('id' => '4293','name' => '(OLB) - Olbia Costa Smeralda Airport, Olbia, Italy','country_id' => '106'),\narray('id' => '4294','name' => '(FNU) - Oristano-Fenosu Airport, Oristano, Italy','country_id' => '106'),\narray('id' => '4295','name' => '(TTB) - TortolA Airport, Arbatax, Italy','country_id' => '106'),\narray('id' => '4296','name' => '(QVA) - Varese-Venegono Airport, Varese, Italy','country_id' => '106'),\narray('id' => '4297','name' => '(QMM) - Massa Cinquale Airport, Marina Di Massa (MS), Italy','country_id' => '106'),\narray('id' => '4298','name' => '(MXP) - Malpensa International Airport, Milan, Italy','country_id' => '106'),\narray('id' => '4299','name' => '(BGY) - Il Caravaggio International Airport, Bergamo, Italy','country_id' => '106'),\narray('id' => '4300','name' => '(TRN) - Turin Airport, Torino, Italy','country_id' => '106'),\narray('id' => '4301','name' => '(ALL) - Villanova D\\'Albenga International Airport, Albenga, Italy','country_id' => '106'),\narray('id' => '4302','name' => '(GOA) - Genoa Cristoforo Colombo Airport, Genova, Italy','country_id' => '106'),\narray('id' => '4303','name' => '(LIN) - Linate Airport, Milan, Italy','country_id' => '106'),\narray('id' => '4304','name' => '(PMF) - Parma Airport, Parma, Italy','country_id' => '106'),\narray('id' => '4305','name' => '(QPZ) - Piacenza San Damiano Air Base, Piacenza, Italy','country_id' => '106'),\narray('id' => '4306','name' => '(AOT) - Aosta Airport, Aosta, Italy','country_id' => '106'),\narray('id' => '4307','name' => '(CUF) - Cuneo International Airport, Cuneo, Italy','country_id' => '106'),\narray('id' => '4308','name' => '(AVB) - Aviano Air Base, Aviano, Italy','country_id' => '106'),\narray('id' => '4309','name' => '(BZO) - Bolzano Airport, Bolzano, Italy','country_id' => '106'),\narray('id' => '4310','name' => '(UDN) - Udine-Campoformido Air Base, Udine, Italy','country_id' => '106'),\narray('id' => '4311','name' => '(BLQ) - Bologna Guglielmo Marconi Airport, Bologna, Italy','country_id' => '106'),\narray('id' => '4312','name' => '(TSF) - Treviso-Sant\\'Angelo Airport, Treviso, Italy','country_id' => '106'),\narray('id' => '4313','name' => '(FRL) - ForlA Airport, ForlA (FC), Italy','country_id' => '106'),\narray('id' => '4314','name' => '(VBS) - Brescia Airport, Montichiari, Italy','country_id' => '106'),\narray('id' => '4315','name' => '(TRS) - Triestea\"Friuli Venezia Giulia Airport, Trieste, Italy','country_id' => '106'),\narray('id' => '4316','name' => '(RMI) - Federico Fellini International Airport, Rimini, Italy','country_id' => '106'),\narray('id' => '4317','name' => '(QPA) - Padova Airport, Padova, Italy','country_id' => '106'),\narray('id' => '4318','name' => '(VRN) - Verona Villafranca Airport, Verona, Italy','country_id' => '106'),\narray('id' => '4319','name' => '(AOI) - Ancona Falconara Airport, Ancona, Italy','country_id' => '106'),\narray('id' => '4320','name' => '(VCE) - Venice Marco Polo Airport, Venice, Italy','country_id' => '106'),\narray('id' => '4321','name' => '(QZO) - Arezzo Airport, Arezzo, Italy','country_id' => '106'),\narray('id' => '4322','name' => '(LCV) - Lucca-Tassignano Airport, Lucca, Italy','country_id' => '106'),\narray('id' => '4323','name' => '(QRT) - Rieti Airport, Rieti, Italy','country_id' => '106'),\narray('id' => '4324','name' => '(SAY) - Siena-Ampugnano Airport, Siena, Italy','country_id' => '106'),\narray('id' => '4325','name' => '(QLP) - Sarzana-Luni Air Base, Sarzana (SP), Italy','country_id' => '106'),\narray('id' => '4326','name' => '(CIA) - Ciampinoa\"G. B. Pastine International Airport, Roma, Italy','country_id' => '106'),\narray('id' => '4327','name' => '(QLY) - Pratica Di Mare Air Base, Pomezia, Italy','country_id' => '106'),\narray('id' => '4328','name' => '(FCO) - Leonardo da Vincia\"Fiumicino Airport, Rome, Italy','country_id' => '106'),\narray('id' => '4329','name' => '(QFR) - Frosinone Military Airport, Frosinone, Italy','country_id' => '106'),\narray('id' => '4330','name' => '(QSR) - Salerno Costa d\\'Amalfi Airport, Salerno, Italy','country_id' => '106'),\narray('id' => '4331','name' => '(EBA) - Marina Di Campo Airport, Marina Di Campo, Italy','country_id' => '106'),\narray('id' => '4332','name' => '(QLT) - Latina Airport, Latina, Italy','country_id' => '106'),\narray('id' => '4333','name' => '(NAP) - Naples International Airport, NApoli, Italy','country_id' => '106'),\narray('id' => '4334','name' => '(PSA) - Pisa International Airport, Pisa, Italy','country_id' => '106'),\narray('id' => '4335','name' => '(FLR) - Peretola Airport, Firenze, Italy','country_id' => '106'),\narray('id' => '4336','name' => '(GRS) - Grosseto Air Base, Grosetto, Italy','country_id' => '106'),\narray('id' => '4337','name' => '(PEG) - Perugia San Francesco d\\'Assisi a\" Umbria International Airport, Perugia, Italy','country_id' => '106'),\narray('id' => '4338','name' => '(LJU) - Ljubljana Joe PuAnik Airport, Ljubljana, Slovenia','country_id' => '196'),\narray('id' => '4339','name' => '(MBX) - Maribor Airport, , Slovenia','country_id' => '196'),\narray('id' => '4340','name' => '(POW) - Portoroz Airport, Portoroz, Slovenia','country_id' => '196'),\narray('id' => '4341','name' => '(LKC) - Lekana Airport, Lekana, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '4342','name' => '(UHE) - Kunovice Airport, UherskA HraditA\\', Czechia','country_id' => '53'),\narray('id' => '4343','name' => '(KLV) - Karlovy Vary International Airport, Karlovy Vary, Czechia','country_id' => '53'),\narray('id' => '4344','name' => '(MKA) - MariAnskA LAznA\\' Airport, MariAnskA LAznA\\', Czechia','country_id' => '53'),\narray('id' => '4345','name' => '(OSR) - Ostrava Leos JanAAek Airport, Ostrava, Czechia','country_id' => '53'),\narray('id' => '4346','name' => '(OLO) - Olomouc-NeedAn Airport, Olomouc, Czechia','country_id' => '53'),\narray('id' => '4347','name' => '(PED) - Pardubice Airport, Pardubice, Czechia','country_id' => '53'),\narray('id' => '4348','name' => '(PRV) - Perov Air Base, Perov, Czechia','country_id' => '53'),\narray('id' => '4349','name' => '(PRG) - VAclav Havel Airport Prague, Prague, Czechia','country_id' => '53'),\narray('id' => '4350','name' => '(BRQ) - Brno-Tuany Airport, Brno, Czechia','country_id' => '53'),\narray('id' => '4351','name' => '(VOD) - Vodochody Airport, Vodochoky, Czechia','country_id' => '53'),\narray('id' => '4352','name' => '(ZBE) - Zabreh Ostrava Airport, Zabreh, Czechia','country_id' => '53'),\narray('id' => '4353','name' => '(TLV) - Ben Gurion International Airport, Tel Aviv, Israel','country_id' => '99'),\narray('id' => '4354','name' => '(BEV) - Beersheba (Teyman) Airport, Beersheba, Israel','country_id' => '99'),\narray('id' => '4355','name' => '(ETH) - Eilat Airport, Eilat, Israel','country_id' => '99'),\narray('id' => '4356','name' => '(EIY) - Ein Yahav Airfield, Sapir, Israel','country_id' => '99'),\narray('id' => '4357','name' => '(LLH) - Reginaldo Hammer Airport, La Lima, Honduras','country_id' => '93'),\narray('id' => '4358','name' => '(HFA) - Haifa International Airport, Haifa, Israel','country_id' => '99'),\narray('id' => '4359','name' => '(RPN) - Ben Ya\\'akov Airport, Rosh Pina, Israel','country_id' => '99'),\narray('id' => '4360','name' => '(KSW) - Kiryat Shmona Airport, Kiryat Shmona, Israel','country_id' => '99'),\narray('id' => '4361','name' => '(LLL) - Lissadell Airport, Lissadell Station, Australia','country_id' => '12'),\narray('id' => '4362','name' => '(MTZ) - Bar Yehuda Airfield, Masada, Israel','country_id' => '99'),\narray('id' => '4363','name' => '(VTM) - Nevatim Air Base, Beersheba, Israel','country_id' => '99'),\narray('id' => '4364','name' => '(VDA) - Ovda International Airport, Eilat, Israel','country_id' => '99'),\narray('id' => '4365','name' => '(MIP) - Ramon Air Base, Beersheba, Israel','country_id' => '99'),\narray('id' => '4366','name' => '(SDV) - Sde Dov Airport, Tel Aviv, Israel','country_id' => '99'),\narray('id' => '4367','name' => '(YOT) - Yotvata Airfield, Yotvata, Israel','country_id' => '99'),\narray('id' => '4368','name' => '(YOT) - Yotvata Airfield, Yotvata, Israel','country_id' => '99'),\narray('id' => '4369','name' => '(LMC) - La Macarena Airport, La Macarena, Colombia','country_id' => '46'),\narray('id' => '4370','name' => '(MLA) - Malta International Airport, Luqa, Malta','country_id' => '149'),\narray('id' => '4371','name' => '(LMZ) - Palma Airport, Palma, Mozambique','country_id' => '155'),\narray('id' => '4372','name' => '(LNC) - Lengbati Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4373','name' => '(LNF) - Munbil Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4374','name' => '(LNM) - Langimar Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4375','name' => '(HOH) - Hohenems-Dornbirn Airport, Hohenems / Dornbirn, Austria','country_id' => '11'),\narray('id' => '4376','name' => '(LOM) - Francisco Primo de Verdad y Ramos Airport, Lagos de Moreno, Mexico','country_id' => '153'),\narray('id' => '4377','name' => '(GRZ) - Graz Airport, Graz, Austria','country_id' => '11'),\narray('id' => '4378','name' => '(INN) - Innsbruck Airport, Innsbruck, Austria','country_id' => '11'),\narray('id' => '4379','name' => '(KLU) - Klagenfurt Airport, Klagenfurt am WArthersee, Austria','country_id' => '11'),\narray('id' => '4380','name' => '(LNZ) - Linz Airport, Linz, Austria','country_id' => '11'),\narray('id' => '4381','name' => '(SZG) - Salzburg Airport, Salzburg, Austria','country_id' => '11'),\narray('id' => '4382','name' => '(VIE) - Vienna International Airport, Vienna, Austria','country_id' => '11'),\narray('id' => '4383','name' => '(AVR) - Alverca Airport, Vila Franca de Xira, Portugal','country_id' => '180'),\narray('id' => '4384','name' => '(SMA) - Santa Maria Airport, Vila do Porto, Portugal','country_id' => '180'),\narray('id' => '4385','name' => '(BGC) - BraganAa Airport, BraganAa, Portugal','country_id' => '180'),\narray('id' => '4386','name' => '(BYJ) - Beja International Airport, Beja, Portugal','country_id' => '180'),\narray('id' => '4387','name' => '(BGZ) - Braga Municipal Aerodrome, Braga, Portugal','country_id' => '180'),\narray('id' => '4388','name' => '(CHV) - Chaves Airport, Chaves, Portugal','country_id' => '180'),\narray('id' => '4389','name' => '(CBP) - Coimbra Airport, , Portugal','country_id' => '180'),\narray('id' => '4390','name' => '(CVU) - Corvo Airport, Corvo, Portugal','country_id' => '180'),\narray('id' => '4391','name' => '(FLW) - Flores Airport, Santa Cruz das Flores, Portugal','country_id' => '180'),\narray('id' => '4392','name' => '(FAO) - Faro Airport, Faro, Portugal','country_id' => '180'),\narray('id' => '4393','name' => '(GRW) - Graciosa Airport, Santa Cruz da Graciosa, Portugal','country_id' => '180'),\narray('id' => '4394','name' => '(HOR) - Horta Airport, Horta, Portugal','country_id' => '180'),\narray('id' => '4395','name' => '(TER) - Lajes Field, Lajes, Portugal','country_id' => '180'),\narray('id' => '4396','name' => '(FNC) - Madeira Airport, Funchal, Portugal','country_id' => '180'),\narray('id' => '4397','name' => '(PDL) - JoAo Paulo II Airport, Ponta Delgada, Portugal','country_id' => '180'),\narray('id' => '4398','name' => '(PIX) - Pico Airport, Pico Island, Portugal','country_id' => '180'),\narray('id' => '4399','name' => '(PRM) - PortimAo Airport, PortimAo, Portugal','country_id' => '180'),\narray('id' => '4400','name' => '(OPO) - Francisco de SA Carneiro Airport, Porto, Portugal','country_id' => '180'),\narray('id' => '4401','name' => '(PXO) - Porto Santo Airport, Vila Baleira, Portugal','country_id' => '180'),\narray('id' => '4402','name' => '(LIS) - Lisbon Portela Airport, Lisbon, Portugal','country_id' => '180'),\narray('id' => '4403','name' => '(SIE) - Sines Airport, , Portugal','country_id' => '180'),\narray('id' => '4404','name' => '(SJZ) - SAo Jorge Airport, Velas, Portugal','country_id' => '180'),\narray('id' => '4405','name' => '(VRL) - Vila Real Airport, , Portugal','country_id' => '180'),\narray('id' => '4406','name' => '(VSE) - Viseu Airport, , Portugal','country_id' => '180'),\narray('id' => '4407','name' => '(BNX) - Banja Luka International Airport, Banja Luka, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4408','name' => '(OMO) - Mostar International Airport, Mostar, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4409','name' => '(SJJ) - Sarajevo International Airport, Sarajevo, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4410','name' => '(TZL) - Tuzla International Airport, Tuzla, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4411','name' => '(ARW) - Arad International Airport, Arad, Romania','country_id' => '185'),\narray('id' => '4412','name' => '(BCM) - BacAu Airport, BacAu, Romania','country_id' => '185'),\narray('id' => '4413','name' => '(BAY) - Tautii Magheraus Airport, Baia Mare, Romania','country_id' => '185'),\narray('id' => '4414','name' => '(BBU) - BAneasa International Airport, Bucharest, Romania','country_id' => '185'),\narray('id' => '4415','name' => '(CND) - Mihail KogAlniceanu International Airport, Constana, Romania','country_id' => '185'),\narray('id' => '4416','name' => '(CLJ) - Cluj-Napoca International Airport, Cluj-Napoca, Romania','country_id' => '185'),\narray('id' => '4417','name' => '(CSB) - Caransebe Airport, Caransebe, Romania','country_id' => '185'),\narray('id' => '4418','name' => '(CRA) - Craiova Airport, Craiova, Romania','country_id' => '185'),\narray('id' => '4419','name' => '(IAS) - Iai Airport, Iai, Romania','country_id' => '185'),\narray('id' => '4420','name' => '(OMR) - Oradea International Airport, Oradea, Romania','country_id' => '185'),\narray('id' => '4421','name' => '(OTP) - Henri CoandA International Airport, Bucharest, Romania','country_id' => '185'),\narray('id' => '4422','name' => '(SBZ) - Sibiu International Airport, Sibiu, Romania','country_id' => '185'),\narray('id' => '4423','name' => '(SUJ) - Satu Mare Airport, Satu Mare, Romania','country_id' => '185'),\narray('id' => '4424','name' => '(SCV) - Suceava Stefan cel Mare Airport, Suceava, Romania','country_id' => '185'),\narray('id' => '4425','name' => '(TCE) - Tulcea Airport, Tulcea, Romania','country_id' => '185'),\narray('id' => '4426','name' => '(TGM) - Transilvania TArgu Mure International Airport, TArgu Mure, Romania','country_id' => '185'),\narray('id' => '4427','name' => '(TSR) - Timioara Traian Vuia Airport, Timioara, Romania','country_id' => '185'),\narray('id' => '4428','name' => '(GVA) - Geneva Cointrin International Airport, Geneva, Switzerland','country_id' => '40'),\narray('id' => '4429','name' => '(QLS) - Lausanne-BlAcherette Airport, Lausanne, Switzerland','country_id' => '40'),\narray('id' => '4430','name' => '(QNC) - Neuchatel Airport, , Switzerland','country_id' => '40'),\narray('id' => '4431','name' => '(SIR) - Sion Airport, Sion, Switzerland','country_id' => '40'),\narray('id' => '4432','name' => '(EML) - Emmen Air Base, , Switzerland','country_id' => '40'),\narray('id' => '4433','name' => '(LUG) - Lugano Airport, Lugano, Switzerland','country_id' => '40'),\narray('id' => '4434','name' => '(BRN) - Bern Belp Airport, Bern, Switzerland','country_id' => '40'),\narray('id' => '4435','name' => '(BXO) - Buochs Airport, Buochs, Switzerland','country_id' => '40'),\narray('id' => '4436','name' => '(ZHI) - Grenchen Airport, , Switzerland','country_id' => '40'),\narray('id' => '4437','name' => '(ZRH) - ZArich Airport, Zurich, Switzerland','country_id' => '40'),\narray('id' => '4438','name' => '(ZJI) - Locarno Airport, Locarno, Switzerland','country_id' => '40'),\narray('id' => '4439','name' => '(ACH) - St Gallen Altenrhein Airport, Altenrhein, Switzerland','country_id' => '40'),\narray('id' => '4440','name' => '(SMV) - Samedan Airport, , Switzerland','country_id' => '40'),\narray('id' => '4441','name' => '(GKD) - Imroz Airport, GAkAeada, Turkey','country_id' => '220'),\narray('id' => '4442','name' => '(ESB) - EsenboAa International Airport, Ankara, Turkey','country_id' => '220'),\narray('id' => '4443','name' => '(ANK) - Etimesgut Air Base, Ankara, Turkey','country_id' => '220'),\narray('id' => '4444','name' => '(ADA) - Adana Airport, Adana, Turkey','country_id' => '220'),\narray('id' => '4445','name' => '(UAB) - Ancirlik Air Base, Adana, Turkey','country_id' => '220'),\narray('id' => '4446','name' => '(AFY) - Afyon Airport, Afyonkarahisar, Turkey','country_id' => '220'),\narray('id' => '4447','name' => '(AYT) - Antalya International Airport, Antalya, Turkey','country_id' => '220'),\narray('id' => '4448','name' => '(GZT) - Gaziantep International Airport, Gaziantep, Turkey','country_id' => '220'),\narray('id' => '4449','name' => '(KFS) - Kastamonu Airport, Kastamonu, Turkey','country_id' => '220'),\narray('id' => '4450','name' => '(KYA) - Konya Airport, Konya, Turkey','country_id' => '220'),\narray('id' => '4451','name' => '(MLX) - Malatya Tulga Airport, Malatya, Turkey','country_id' => '220'),\narray('id' => '4452','name' => '(MZH) - Amasya Merzifon Airport, Amasya, Turkey','country_id' => '220'),\narray('id' => '4453','name' => '(SSX) - Samsun Samair Airport, Samsun, Turkey','country_id' => '220'),\narray('id' => '4454','name' => '(VAS) - Sivas Nuri DemiraA Airport, Sivas, Turkey','country_id' => '220'),\narray('id' => '4455','name' => '(ONQ) - Zonguldak Airport, Zonguldak, Turkey','country_id' => '220'),\narray('id' => '4456','name' => '(MLX) - Malatya ErhaA Airport, Malatya, Turkey','country_id' => '220'),\narray('id' => '4457','name' => '(ASR) - Kayseri Erkilet Airport, Kayseri, Turkey','country_id' => '220'),\narray('id' => '4458','name' => '(TJK) - Tokat Airport, Tokat, Turkey','country_id' => '220'),\narray('id' => '4459','name' => '(DNZ) - Aardak Airport, Denizli, Turkey','country_id' => '220'),\narray('id' => '4460','name' => '(NAV) - Nevehir Kapadokya Airport, Nevehir, Turkey','country_id' => '220'),\narray('id' => '4461','name' => '(IST) - AtatArk International Airport, Istanbul, Turkey','country_id' => '220'),\narray('id' => '4462','name' => '(CII) - AAldAr Airport, AydAn, Turkey','country_id' => '220'),\narray('id' => '4463','name' => '(BTZ) - Bursa Airport, Bursa, Turkey','country_id' => '220'),\narray('id' => '4464','name' => '(BZI) - BalAkesir Merkez Airport, , Turkey','country_id' => '220'),\narray('id' => '4465','name' => '(BDM) - BandArma Airport, , Turkey','country_id' => '220'),\narray('id' => '4466','name' => '(CKZ) - Aanakkale Airport, Aanakkale, Turkey','country_id' => '220'),\narray('id' => '4467','name' => '(ESK) - Eskiehir Air Base, , Turkey','country_id' => '220'),\narray('id' => '4468','name' => '(ADB) - Adnan Menderes International Airport, Azmir, Turkey','country_id' => '220'),\narray('id' => '4469','name' => '(IGL) - AiAli Airport, , Turkey','country_id' => '220'),\narray('id' => '4470','name' => '(USQ) - Uak Airport, Uak, Turkey','country_id' => '220'),\narray('id' => '4471','name' => '(KCO) - Cengiz Topel Airport, , Turkey','country_id' => '220'),\narray('id' => '4472','name' => '(YEI) - Bursa Yeniehir Airport, Bursa, Turkey','country_id' => '220'),\narray('id' => '4473','name' => '(DLM) - Dalaman International Airport, Dalaman, Turkey','country_id' => '220'),\narray('id' => '4474','name' => '(TEQ) - TekirdaA Aorlu Airport, Aorlu, Turkey','country_id' => '220'),\narray('id' => '4475','name' => '(BXN) - ImsAk Airport, , Turkey','country_id' => '220'),\narray('id' => '4476','name' => '(AOE) - Anadolu Airport, Eskiehir, Turkey','country_id' => '220'),\narray('id' => '4477','name' => '(EZS) - ElazAA Airport, ElazAA, Turkey','country_id' => '220'),\narray('id' => '4478','name' => '(DIY) - Diyarbakir Airport, Diyarbakir, Turkey','country_id' => '220'),\narray('id' => '4479','name' => '(ERC) - Erzincan Airport, Erzincan, Turkey','country_id' => '220'),\narray('id' => '4480','name' => '(ERZ) - Erzurum International Airport, Erzurum, Turkey','country_id' => '220'),\narray('id' => '4481','name' => '(KSY) - Kars Airport, Kars, Turkey','country_id' => '220'),\narray('id' => '4482','name' => '(TZX) - Trabzon International Airport, Trabzon, Turkey','country_id' => '220'),\narray('id' => '4483','name' => '(SFQ) - anlAurfa Airport, anlAurfa, Turkey','country_id' => '220'),\narray('id' => '4484','name' => '(VAN) - Van Ferit Melen Airport, Van, Turkey','country_id' => '220'),\narray('id' => '4485','name' => '(BAL) - Batman Airport, Batman, Turkey','country_id' => '220'),\narray('id' => '4486','name' => '(MSR) - Mu Airport, Mu, Turkey','country_id' => '220'),\narray('id' => '4487','name' => '(SXZ) - Siirt Airport, Siirt, Turkey','country_id' => '220'),\narray('id' => '4488','name' => '(NOP) - Sinop Airport, Sinop, Turkey','country_id' => '220'),\narray('id' => '4489','name' => '(KCM) - Kahramanmara Airport, Kahramanmara, Turkey','country_id' => '220'),\narray('id' => '4490','name' => '(AJI) - AArA Airport, , Turkey','country_id' => '220'),\narray('id' => '4491','name' => '(ADF) - AdAyaman Airport, AdAyaman, Turkey','country_id' => '220'),\narray('id' => '4492','name' => '(MQM) - Mardin Airport, Mardin, Turkey','country_id' => '220'),\narray('id' => '4493','name' => '(GNY) - anlAurfa GAP Airport, anlAurfa, Turkey','country_id' => '220'),\narray('id' => '4494','name' => '(NKT) - Arnak erafettin ElAi Airport, Arnak, Turkey','country_id' => '220'),\narray('id' => '4495','name' => '(YKO) - Hakkari YAksekova Airport, Hakkari, Turkey','country_id' => '220'),\narray('id' => '4496','name' => '(HTY) - Hatay Airport, Hatay, Turkey','country_id' => '220'),\narray('id' => '4497','name' => '(LTF) - Leitre Airport, Leitre, Papua New Guinea','country_id' => '172'),\narray('id' => '4498','name' => '(ISE) - SAleyman Demirel International Airport, Isparta, Turkey','country_id' => '220'),\narray('id' => '4499','name' => '(EDO) - BalAkesir KArfez Airport, Edremit, Turkey','country_id' => '220'),\narray('id' => '4500','name' => '(BJV) - Milas Bodrum International Airport, Bodrum, Turkey','country_id' => '220'),\narray('id' => '4501','name' => '(SZF) - Samsun Aaramba Airport, Samsun, Turkey','country_id' => '220'),\narray('id' => '4502','name' => '(SAW) - Sabiha GAkAen International Airport, Istanbul, Turkey','country_id' => '220'),\narray('id' => '4503','name' => '(GZP) - Gazipaa Airport, Gazipaa, Turkey','country_id' => '220'),\narray('id' => '4504','name' => '(LTN) - Luton, , United Kingdom','country_id' => '74'),\narray('id' => '4505','name' => '(BZY) - Balti International Airport, Strymba, Moldova','country_id' => '135'),\narray('id' => '4506','name' => '(KIV) - ChiinAu International Airport, ChiinAu, Moldova','country_id' => '135'),\narray('id' => '4507','name' => '(LUZ) - Lublin Airport, Lublin, Poland','country_id' => '175'),\narray('id' => '4508','name' => '(LWA) - Lebak Rural Airport, Lebak, Philippines','country_id' => '173'),\narray('id' => '4509','name' => '(OHD) - Ohrid St. Paul the Apostle Airport, Ohrid, Macedonia','country_id' => '140'),\narray('id' => '4510','name' => '(SKP) - Skopje Alexander the Great Airport, Skopje, Macedonia','country_id' => '140'),\narray('id' => '4511','name' => '(GIB) - Gibraltar Airport, Gibraltar, Gibraltar','country_id' => '80'),\narray('id' => '4512','name' => '(BCQ) - Brak Airport, Brak, Libya','country_id' => '132'),\narray('id' => '4513','name' => '(DNF) - Martubah Airport, Derna, Libya','country_id' => '132'),\narray('id' => '4514','name' => '(MRA) - Misratah Airport, Misratah, Libya','country_id' => '132'),\narray('id' => '4515','name' => '(QUB) - Ubari Airport, Ubari, Libya','country_id' => '132'),\narray('id' => '4516','name' => '(UZC) - Ponikve Airport, Uice, Serbia','country_id' => '186'),\narray('id' => '4517','name' => '(BEG) - Belgrade Nikola Tesla Airport, Belgrade, Serbia','country_id' => '186'),\narray('id' => '4518','name' => '(IVG) - Berane Airport, Berane, Montenegro','country_id' => '136'),\narray('id' => '4519','name' => '(BJY) - Batajnica Air Base, Batajnica, Serbia','country_id' => '186'),\narray('id' => '4520','name' => '(INI) - Nis Airport, Nis, Serbia','country_id' => '186'),\narray('id' => '4521','name' => '(QND) - Cenej Airport, Novi Sad, Serbia','country_id' => '186'),\narray('id' => '4522','name' => '(QBG) - PanAevo Airfield, PanAevo, Serbia','country_id' => '186'),\narray('id' => '4523','name' => '(TGD) - Podgorica Airport, Podgorica, Montenegro','country_id' => '136'),\narray('id' => '4524','name' => '(JBT) - Batlava-Donja Penduha Airfield, Batlava, Kosovo','country_id' => '240'),\narray('id' => '4525','name' => '(TIV) - Tivat Airport, Tivat, Montenegro','country_id' => '136'),\narray('id' => '4526','name' => '(QWV) - Divci Airport, Valjevo, Serbia','country_id' => '186'),\narray('id' => '4527','name' => '(ZRE) - Zrenjanin Airport, Zrenjanin, Serbia','country_id' => '186'),\narray('id' => '4528','name' => '(BTS) - M. R. tefAnik Airport, Bratislava, Slovakia','country_id' => '197'),\narray('id' => '4529','name' => '(KSC) - Koice Airport, Koice, Slovakia','country_id' => '197'),\narray('id' => '4530','name' => '(LUE) - LuAenec Airport, LuAenec, Slovakia','country_id' => '197'),\narray('id' => '4531','name' => '(PZY) - Pieany Airport, Pieany, Slovakia','country_id' => '197'),\narray('id' => '4532','name' => '(POV) - Preov Air Base, Preov, Slovakia','country_id' => '197'),\narray('id' => '4533','name' => '(SLD) - SliaA Airport, SliaA, Slovakia','country_id' => '197'),\narray('id' => '4534','name' => '(TAT) - Poprad-Tatry Airport, Poprad, Slovakia','country_id' => '197'),\narray('id' => '4535','name' => '(ILZ) - ilina Airport, ilina, Slovakia','country_id' => '197'),\narray('id' => '4536','name' => '(DRU) - Drummond Airport, Drummond, United States','country_id' => '228'),\narray('id' => '4537','name' => '(GLN) - Goulimime Airport, Goulimime, Morocco','country_id' => '133'),\narray('id' => '4538','name' => '(UWA) - Ware Airport, Ware, United States','country_id' => '228'),\narray('id' => '4539','name' => '(MAP) - Mamai Airport, Mamai, Papua New Guinea','country_id' => '172'),\narray('id' => '4540','name' => '(GDT) - JAGS McCartney International Airport, Cockburn Town, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4541','name' => '(MDS) - Middle Caicos Airport, Middle Caicos, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4542','name' => '(NCA) - North Caicos Airport, , Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4543','name' => '(PIC) - Pine Cay Airport, Pine Cay, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4544','name' => '(PLS) - Providenciales Airport, Providenciales Island, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4545','name' => '(XSC) - South Caicos Airport, , Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4546','name' => '(SLX) - Salt Cay Airport, Salt Cay, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4547','name' => '(BRX) - Maria Montez International Airport, Barahona, Dominican Republic','country_id' => '58'),\narray('id' => '4548','name' => '(CBJ) - Cabo Rojo Airport, Cabo Rojo, Dominican Republic','country_id' => '58'),\narray('id' => '4549','name' => '(AZS) - SamanA El Catey International Airport, Samana, Dominican Republic','country_id' => '58'),\narray('id' => '4550','name' => '(COZ) - Constanza - ExpediciAn 14 de Junio National Airport, Costanza, Dominican Republic','country_id' => '58'),\narray('id' => '4551','name' => '(JBQ) - La Isabela International Airport, La Isabela, Dominican Republic','country_id' => '58'),\narray('id' => '4552','name' => '(LRM) - Casa De Campo International Airport, La Romana, Dominican Republic','country_id' => '58'),\narray('id' => '4553','name' => '(PUJ) - Punta Cana International Airport, Punta Cana, Dominican Republic','country_id' => '58'),\narray('id' => '4554','name' => '(EPS) - Samana El Portillo Airport, Samana, Dominican Republic','country_id' => '58'),\narray('id' => '4555','name' => '(POP) - Gregorio Luperon International Airport, Puerto Plata, Dominican Republic','country_id' => '58'),\narray('id' => '4556','name' => '(MDR) - Medfra Airport, Medfra, United States','country_id' => '228'),\narray('id' => '4557','name' => '(SNX) - Sabana de Mar Airport, Sabana de Mar, Dominican Republic','country_id' => '58'),\narray('id' => '4558','name' => '(SDQ) - Las AmAricas International Airport, Santo Domingo, Dominican Republic','country_id' => '58'),\narray('id' => '4559','name' => '(STI) - Cibao International Airport, Santiago, Dominican Republic','country_id' => '58'),\narray('id' => '4560','name' => '(MDV) - MAdouneu Airport, MAdouneu, Gabon, Equatorial Guinea','country_id' => '85'),\narray('id' => '4561','name' => '(LIZ) - Loring International Airport, Limestone, United States','country_id' => '228'),\narray('id' => '4562','name' => '(MEF) - Melfi Airport, Melfi, Chad','country_id' => '210'),\narray('id' => '4563','name' => '(OHB) - Ambohibary Airport, Moramanga, Madagascar','country_id' => '138'),\narray('id' => '4564','name' => '(DOA) - Doany Airport, Doany, Madagascar','country_id' => '138'),\narray('id' => '4565','name' => '(CBV) - Coban Airport, Coban, Guatemala','country_id' => '88'),\narray('id' => '4566','name' => '(CMM) - Carmelita Airport, Carmelita, Guatemala','country_id' => '88'),\narray('id' => '4567','name' => '(CTF) - Coatepeque Airport, Coatepeque, Guatemala','country_id' => '88'),\narray('id' => '4568','name' => '(GUA) - La Aurora Airport, Guatemala City, Guatemala','country_id' => '88'),\narray('id' => '4569','name' => '(HUG) - Huehuetenango Airport, Huehuetenango, Guatemala','country_id' => '88'),\narray('id' => '4570','name' => '(MCR) - Melchor de Mencos Airport, Melchor de Mencos, Guatemala','country_id' => '88'),\narray('id' => '4571','name' => '(MGP) - Manga Airport, Manga Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '4572','name' => '(PBR) - Puerto Barrios Airport, Puerto Barrios, Guatemala','country_id' => '88'),\narray('id' => '4573','name' => '(PON) - PoptAon Airport, PoptAon, Guatemala','country_id' => '88'),\narray('id' => '4574','name' => '(AQB) - Santa Cruz del Quiche Airport, Santa Cruz del Quiche, Guatemala','country_id' => '88'),\narray('id' => '4575','name' => '(AAZ) - Quezaltenango Airport, Quezaltenango, Guatemala','country_id' => '88'),\narray('id' => '4576','name' => '(RUV) - Rubelsanto Airport, Rubelsanto, Guatemala','country_id' => '88'),\narray('id' => '4577','name' => '(LCF) - Las Vegas Airport, Rio Dulce, Guatemala','country_id' => '88'),\narray('id' => '4578','name' => '(RER) - Retalhuleu Airport, Retalhuleu, Guatemala','country_id' => '88'),\narray('id' => '4579','name' => '(GSJ) - San JosA Airport, Puerto San JosA, Guatemala','country_id' => '88'),\narray('id' => '4580','name' => '(FRS) - Mundo Maya International Airport, San Benito, Guatemala','country_id' => '88'),\narray('id' => '4581','name' => '(AIM) - Ailuk Airport, Ailuk Island, Marshall Islands','country_id' => '139'),\narray('id' => '4582','name' => '(AUL) - Aur Island Airport, Aur Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4583','name' => '(BII) - Enyu Airfield, Bikini Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4584','name' => '(EBN) - Ebadon Airport, Ebadon Island, Marshall Islands','country_id' => '139'),\narray('id' => '4585','name' => '(JAT) - Jabot Airport, Ailinglapalap Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4586','name' => '(JEJ) - Jeh Airport, Ailinglapalap Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4587','name' => '(KBT) - Kaben Airport, Kaben, Marshall Islands','country_id' => '139'),\narray('id' => '4588','name' => '(LIK) - Likiep Airport, Likiep Island, Marshall Islands','country_id' => '139'),\narray('id' => '4589','name' => '(LML) - Lae Island Airport, Lae Island, Marshall Islands','country_id' => '139'),\narray('id' => '4590','name' => '(MAV) - Maloelap Island Airport, Maloelap Island, Marshall Islands','country_id' => '139'),\narray('id' => '4591','name' => '(MJB) - Mejit Atoll Airport, Mejit Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4592','name' => '(MJE) - Majkin Airport, Majkin, Marshall Islands','country_id' => '139'),\narray('id' => '4593','name' => '(NDK) - Namorik Atoll Airport, Namorik Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4594','name' => '(RNP) - Rongelap Island Airport, Rongelap Island, Marshall Islands','country_id' => '139'),\narray('id' => '4595','name' => '(TIC) - Tinak Airport, Arno Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4596','name' => '(UIT) - Jaluit Airport, Jabor Jaluit Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4597','name' => '(WJA) - Woja Airport, Woja, Marshall Islands','country_id' => '139'),\narray('id' => '4598','name' => '(WTE) - Wotje Atoll Airport, Wotje Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4599','name' => '(WTO) - Wotho Island Airport, Wotho Island, Marshall Islands','country_id' => '139'),\narray('id' => '4600','name' => '(AHS) - Ahuas Airport, Ahuas, Honduras','country_id' => '93'),\narray('id' => '4601','name' => '(BHG) - Brus Laguna Airport, Brus Laguna, Honduras','country_id' => '93'),\narray('id' => '4602','name' => '(CAA) - Catacamas Airport, Catacamas, Honduras','country_id' => '93'),\narray('id' => '4603','name' => '(LUI) - Carta Airport, La UniAn, Honduras','country_id' => '93'),\narray('id' => '4604','name' => '(CYL) - Coyoles Airport, Coyoles, Honduras','country_id' => '93'),\narray('id' => '4605','name' => '(CDD) - Cauquira Airport, Cauquira, Honduras','country_id' => '93'),\narray('id' => '4606','name' => '(OAN) - El ArrayAn Airport, Olanchito, Honduras','country_id' => '93'),\narray('id' => '4607','name' => '(GAC) - Celaque Airport, Gracias, Honduras','country_id' => '93'),\narray('id' => '4608','name' => '(IRN) - Iriona Airport, Iriona, Honduras','country_id' => '93'),\narray('id' => '4609','name' => '(GUO) - Jicalapa Airport, Jicalapa, Honduras','country_id' => '93'),\narray('id' => '4610','name' => '(JUT) - Jutigalpa airport, Jutigalpa, Honduras','country_id' => '93'),\narray('id' => '4611','name' => '(LCE) - Goloson International Airport, La Ceiba, Honduras','country_id' => '93'),\narray('id' => '4612','name' => '(LEZ) - La Esperanza Airport, La Esperanza, Honduras','country_id' => '93'),\narray('id' => '4613','name' => '(SAP) - RamAn Villeda Morales International Airport, La Mesa, Honduras','country_id' => '93'),\narray('id' => '4614','name' => '(MHN) - Hooker County Airport, Mullen, United States','country_id' => '228'),\narray('id' => '4615','name' => '(GJA) - La Laguna Airport, Guanaja, Honduras','country_id' => '93'),\narray('id' => '4616','name' => '(PCH) - Palacios Airport, Palacios, Honduras','country_id' => '93'),\narray('id' => '4617','name' => '(PEU) - Puerto Lempira Airport, Puerto Lempira, Honduras','country_id' => '93'),\narray('id' => '4618','name' => '(RTB) - Juan Manuel Galvez International Airport, Roatan Island, Honduras','country_id' => '93'),\narray('id' => '4619','name' => '(RUY) - CopAn Ruinas Airport, CopAn Ruinas, Honduras','country_id' => '93'),\narray('id' => '4620','name' => '(XPL) - Coronel Enrique Soto Cano Air Base, Comayagua, Honduras','country_id' => '93'),\narray('id' => '4621','name' => '(TEA) - Tela Airport, Tela, Honduras','country_id' => '93'),\narray('id' => '4622','name' => '(TGU) - ToncontAn International Airport, Tegucigalpa, Honduras','country_id' => '93'),\narray('id' => '4623','name' => '(TJI) - Trujillo Airport, Trujillo, Honduras','country_id' => '93'),\narray('id' => '4624','name' => '(SCD) - Sulaco Airport, Sulaco, Honduras','country_id' => '93'),\narray('id' => '4625','name' => '(UII) - Utila Airport, Utila Island, Honduras','country_id' => '93'),\narray('id' => '4626','name' => '(MHY) - Morehead Airport, Morehead, Papua New Guinea','country_id' => '172'),\narray('id' => '4627','name' => '(ORO) - Yoro Airport, Yoro, Honduras','country_id' => '93'),\narray('id' => '4628','name' => '(MIZ) - Mainoru Airstrip, Mainoru, Australia','country_id' => '12'),\narray('id' => '4629','name' => '(MJJ) - Moki Airport, Moki, Papua New Guinea','country_id' => '172'),\narray('id' => '4630','name' => '(MJS) - Maganja da Costa Airport, Maganja, Mozambique','country_id' => '155'),\narray('id' => '4631','name' => '(OCJ) - Boscobel Aerodrome, Ocho Rios, Jamaica','country_id' => '108'),\narray('id' => '4632','name' => '(KIN) - Norman Manley International Airport, Kingston, Jamaica','country_id' => '108'),\narray('id' => '4633','name' => '(MBJ) - Sangster International Airport, Montego Bay, Jamaica','country_id' => '108'),\narray('id' => '4634','name' => '(POT) - Ken Jones Airport, Ken Jones, Jamaica','country_id' => '108'),\narray('id' => '4635','name' => '(MKN) - Malekolon Airport, Babase Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4636','name' => '(NEG) - Negril Airport, Negril, Jamaica','country_id' => '108'),\narray('id' => '4637','name' => '(KTP) - Tinson Pen Airport, Tinson Pen, Jamaica','country_id' => '108'),\narray('id' => '4638','name' => '(MIJ) - Mili Island Airport, Mili Island, Marshall Islands','country_id' => '139'),\narray('id' => '4639','name' => '(MLQ) - Malalaua Airport, Malalaua, Papua New Guinea','country_id' => '172'),\narray('id' => '4640','name' => '(HEB) - Hinthada Airport, Hinthada, Burma','country_id' => '142'),\narray('id' => '4641','name' => '(TZM) - Cupul Airport, Tizimin, Mexico','country_id' => '153'),\narray('id' => '4642','name' => '(ACA) - General Juan N Alvarez International Airport, Acapulco, Mexico','country_id' => '153'),\narray('id' => '4643','name' => '(NTR) - Del Norte International Airport, , Mexico','country_id' => '153'),\narray('id' => '4644','name' => '(AGU) - JesAos TerAn Paredo International Airport, Aguascalientes, Mexico','country_id' => '153'),\narray('id' => '4645','name' => '(HUX) - BahAas de Huatulco International Airport, Huatulco, Mexico','country_id' => '153'),\narray('id' => '4646','name' => '(CNA) - Cananea Airport, , Mexico','country_id' => '153'),\narray('id' => '4647','name' => '(CVJ) - General Mariano Matamoros Airport, , Mexico','country_id' => '153'),\narray('id' => '4648','name' => '(ACN) - Ciudad AcuAa New International Airport, Ciudad AcuAa, Mexico','country_id' => '153'),\narray('id' => '4649','name' => '(CME) - Ciudad del Carmen International Airport, Ciudad del Carmen, Mexico','country_id' => '153'),\narray('id' => '4650','name' => '(NCG) - Nuevo Casas Grandes Airport, , Mexico','country_id' => '153'),\narray('id' => '4651','name' => '(CUL) - Bachigualato Federal International Airport, CuliacAn, Mexico','country_id' => '153'),\narray('id' => '4652','name' => '(CTM) - Chetumal International Airport, Chetumal, Mexico','country_id' => '153'),\narray('id' => '4653','name' => '(CEN) - Ciudad ObregAn International Airport, Ciudad ObregAn, Mexico','country_id' => '153'),\narray('id' => '4654','name' => '(CJT) - Comitan Airport, , Mexico','country_id' => '153'),\narray('id' => '4655','name' => '(CPE) - Ingeniero Alberto AcuAa Ongay International Airport, Campeche, Mexico','country_id' => '153'),\narray('id' => '4656','name' => '(CJS) - Abraham GonzAlez International Airport, Ciudad JuArez, Mexico','country_id' => '153'),\narray('id' => '4657','name' => '(CZA) - Chichen Itza International Airport, Chichen Itza, Mexico','country_id' => '153'),\narray('id' => '4658','name' => '(CUU) - General Roberto Fierro Villalobos International Airport, Chihuahua, Mexico','country_id' => '153'),\narray('id' => '4659','name' => '(CVM) - General Pedro Jose Mendez International Airport, Ciudad Victoria, Mexico','country_id' => '153'),\narray('id' => '4660','name' => '(CYW) - Captain Rogelio Castillo National Airport, Celaya, Mexico','country_id' => '153'),\narray('id' => '4661','name' => '(CZM) - Cozumel International Airport, Cozumel, Mexico','country_id' => '153'),\narray('id' => '4662','name' => '(CUA) - Ciudad ConstituciAn Airport, Ciudad ConstituciAn, Mexico','country_id' => '153'),\narray('id' => '4663','name' => '(MMC) - Ciudad Mante National Airport, Ciudad Mante, Mexico','country_id' => '153'),\narray('id' => '4664','name' => '(DGO) - General Guadalupe Victoria International Airport, Durango, Mexico','country_id' => '153'),\narray('id' => '4665','name' => '(TPQ) - Amado Nervo National Airport, Tepic, Mexico','country_id' => '153'),\narray('id' => '4666','name' => '(ESE) - Ensenada Airport, , Mexico','country_id' => '153'),\narray('id' => '4667','name' => '(GDL) - Don Miguel Hidalgo Y Costilla International Airport, Guadalajara, Mexico','country_id' => '153'),\narray('id' => '4668','name' => '(GYM) - General JosA MarAa YAAez International Airport, Guaymas, Mexico','country_id' => '153'),\narray('id' => '4669','name' => '(GUB) - Guerrero Negro Airport, Guerrero Negro, Mexico','country_id' => '153'),\narray('id' => '4670','name' => '(TCN) - Tehuacan Airport, , Mexico','country_id' => '153'),\narray('id' => '4671','name' => '(HMO) - General Ignacio P. Garcia International Airport, Hermosillo, Mexico','country_id' => '153'),\narray('id' => '4672','name' => '(CLQ) - Licenciado Miguel de la Madrid Airport, Colima, Mexico','country_id' => '153'),\narray('id' => '4673','name' => '(ISJ) - Isla Mujeres Airport, , Mexico','country_id' => '153'),\narray('id' => '4674','name' => '(SLW) - Plan De Guadalupe International Airport, Saltillo, Mexico','country_id' => '153'),\narray('id' => '4675','name' => '(IZT) - Ixtepec Airport, , Mexico','country_id' => '153'),\narray('id' => '4676','name' => '(JAL) - El Lencero Airport, Xalapa, Mexico','country_id' => '153'),\narray('id' => '4677','name' => '(AZP) - Atizapan De Zaragoza Airport, , Mexico','country_id' => '153'),\narray('id' => '4678','name' => '(LZC) - LAzaro CArdenas Airport, LAzaro CArdenas, Mexico','country_id' => '153'),\narray('id' => '4679','name' => '(LMM) - Valle del Fuerte International Airport, Los Mochis, Mexico','country_id' => '153'),\narray('id' => '4680','name' => '(BJX) - Del BajAo International Airport, Silao, Mexico','country_id' => '153'),\narray('id' => '4681','name' => '(LAP) - Manuel MArquez de LeAn International Airport, La Paz, Mexico','country_id' => '153'),\narray('id' => '4682','name' => '(LTO) - Loreto International Airport, Loreto, Mexico','country_id' => '153'),\narray('id' => '4683','name' => '(MAM) - General Servando Canales International Airport, Matamoros, Mexico','country_id' => '153'),\narray('id' => '4684','name' => '(MID) - Licenciado Manuel Crescencio Rejon Int Airport, MArida, Mexico','country_id' => '153'),\narray('id' => '4685','name' => '(MUG) - Mulege Airport, Mulege, Mexico','country_id' => '153'),\narray('id' => '4686','name' => '(MXL) - General Rodolfo SAnchez Taboada International Airport, Mexicali, Mexico','country_id' => '153'),\narray('id' => '4687','name' => '(MLM) - General Francisco J. Mujica International Airport, Morelia, Mexico','country_id' => '153'),\narray('id' => '4688','name' => '(MTT) - MinatitlAn/Coatzacoalcos National Airport, MinatitlAn, Mexico','country_id' => '153'),\narray('id' => '4689','name' => '(LOV) - Monclova International Airport, , Mexico','country_id' => '153'),\narray('id' => '4690','name' => '(MEX) - Licenciado Benito Juarez International Airport, Mexico City, Mexico','country_id' => '153'),\narray('id' => '4691','name' => '(MTY) - General Mariano Escobedo International Airport, Monterrey, Mexico','country_id' => '153'),\narray('id' => '4692','name' => '(MZT) - General Rafael Buelna International Airport, MazatlAn, Mexico','country_id' => '153'),\narray('id' => '4693','name' => '(NOG) - Nogales International Airport, , Mexico','country_id' => '153'),\narray('id' => '4694','name' => '(NLD) - QuetzalcAatl International Airport, Nuevo Laredo, Mexico','country_id' => '153'),\narray('id' => '4695','name' => '(OAX) - XoxocotlAn International Airport, Oaxaca, Mexico','country_id' => '153'),\narray('id' => '4696','name' => '(PAZ) - El TajAn National Airport, Poza Rica, Mexico','country_id' => '153'),\narray('id' => '4697','name' => '(PBC) - Hermanos SerdAn International Airport, Puebla, Mexico','country_id' => '153'),\narray('id' => '4698','name' => '(PDS) - Piedras Negras International Airport, , Mexico','country_id' => '153'),\narray('id' => '4699','name' => '(PCO) - Punta Colorada Airport, La Ribera, Mexico','country_id' => '153'),\narray('id' => '4700','name' => '(UPN) - Licenciado y General Ignacio Lopez Rayon Airport, , Mexico','country_id' => '153'),\narray('id' => '4701','name' => '(PQM) - Palenque International Airport, , Mexico','country_id' => '153'),\narray('id' => '4702','name' => '(PVR) - Licenciado Gustavo DAaz Ordaz International Airport, Puerto Vallarta, Mexico','country_id' => '153'),\narray('id' => '4703','name' => '(PXM) - Puerto Escondido International Airport, Puerto Escondido, Mexico','country_id' => '153'),\narray('id' => '4704','name' => '(QRO) - QuerAtaro Intercontinental Airport, QuerAtaro, Mexico','country_id' => '153'),\narray('id' => '4705','name' => '(REX) - General Lucio Blanco International Airport, Reynosa, Mexico','country_id' => '153'),\narray('id' => '4706','name' => '(SJD) - Los Cabos International Airport, San JosA del Cabo, Mexico','country_id' => '153'),\narray('id' => '4707','name' => '(SFH) - San Felipe International Airport, Mexicali, Mexico','country_id' => '153'),\narray('id' => '4708','name' => '(NLU) - Santa Lucia Air Force Base, Reyes Acozac, Mexico','country_id' => '153'),\narray('id' => '4709','name' => '(SLP) - Ponciano Arriaga International Airport, San Luis PotosA, Mexico','country_id' => '153'),\narray('id' => '4710','name' => '(TRC) - Francisco Sarabia International Airport, TorreAn, Mexico','country_id' => '153'),\narray('id' => '4711','name' => '(TGZ) - Angel Albino Corzo International Airport, Tuxtla GutiArrez, Mexico','country_id' => '153'),\narray('id' => '4712','name' => '(TIJ) - General Abelardo L. RodrAguez International Airport, Tijuana, Mexico','country_id' => '153'),\narray('id' => '4713','name' => '(TAM) - General Francisco Javier Mina International Airport, Tampico, Mexico','country_id' => '153'),\narray('id' => '4714','name' => '(TSL) - Tamuin Airport, , Mexico','country_id' => '153'),\narray('id' => '4715','name' => '(TLC) - Licenciado Adolfo Lopez Mateos International Airport, Toluca, Mexico','country_id' => '153'),\narray('id' => '4716','name' => '(TAP) - Tapachula International Airport, Tapachula, Mexico','country_id' => '153'),\narray('id' => '4717','name' => '(CUN) - CancAon International Airport, CancAon, Mexico','country_id' => '153'),\narray('id' => '4718','name' => '(MMV) - Mal Airport, Mal Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4719','name' => '(VSA) - Carlos Rovirosa PArez International Airport, Villahermosa, Mexico','country_id' => '153'),\narray('id' => '4720','name' => '(VER) - General Heriberto Jara International Airport, Veracruz, Mexico','country_id' => '153'),\narray('id' => '4721','name' => '(ZCL) - General Leobardo C. Ruiz International Airport, Zacatecas, Mexico','country_id' => '153'),\narray('id' => '4722','name' => '(ZIH) - Ixtapa Zihuatanejo International Airport, Ixtapa, Mexico','country_id' => '153'),\narray('id' => '4723','name' => '(ZMM) - Zamora Airport, , Mexico','country_id' => '153'),\narray('id' => '4724','name' => '(ZLO) - Playa De Oro International Airport, Manzanillo, Mexico','country_id' => '153'),\narray('id' => '4725','name' => '(MXW) - Mandalgobi Airport, Mandalgobi, Mongolia','country_id' => '143'),\narray('id' => '4726','name' => '(ULG) - A-lgii Airport, A-lgii, Mongolia','country_id' => '143'),\narray('id' => '4727','name' => '(BEF) - Bluefields Airport, Bluefileds, Nicaragua','country_id' => '161'),\narray('id' => '4728','name' => '(BZA) - San Pedro Airport, Bonanza, Nicaragua','country_id' => '161'),\narray('id' => '4729','name' => '(ECI) - Costa Esmeralda Airport, Tola, Nicaragua','country_id' => '161'),\narray('id' => '4730','name' => '(RNI) - Corn Island, Corn Island, Nicaragua','country_id' => '161'),\narray('id' => '4731','name' => '(MGA) - Augusto C. Sandino (Managua) International Airport, Managua, Nicaragua','country_id' => '161'),\narray('id' => '4732','name' => '(NVG) - Nueva Guinea Airport, Nueva Guinea, Nicaragua','country_id' => '161'),\narray('id' => '4733','name' => '(PUZ) - Puerto Cabezas Airport, Puerto Cabezas, Nicaragua','country_id' => '161'),\narray('id' => '4734','name' => '(RFS) - Rosita Airport, La Rosita, Nicaragua','country_id' => '161'),\narray('id' => '4735','name' => '(NCR) - San Carlos, San Carlos, Nicaragua','country_id' => '161'),\narray('id' => '4736','name' => '(SIU) - Siuna, Siuna, Nicaragua','country_id' => '161'),\narray('id' => '4737','name' => '(WSP) - Waspam Airport, Waspam, Nicaragua','country_id' => '161'),\narray('id' => '4738','name' => '(PDM) - Capt Justiniano Montenegro Airport, Pedasi, Panama','country_id' => '169'),\narray('id' => '4739','name' => '(BOC) - Bocas Del Toro International Airport, Isla ColAn, Panama','country_id' => '169'),\narray('id' => '4740','name' => '(CTD) - Alonso Valderrama Airport, ChitrA, Panama','country_id' => '169'),\narray('id' => '4741','name' => '(CHX) - Cap Manuel NiAo International Airport, Changuinola, Panama','country_id' => '169'),\narray('id' => '4742','name' => '(DAV) - Enrique Malek International Airport, David, Panama','country_id' => '169'),\narray('id' => '4743','name' => '(ONX) - Enrique Adolfo Jimenez Airport, ColAn, Panama','country_id' => '169'),\narray('id' => '4744','name' => '(MPG) - Makini Airport, Makini, Papua New Guinea','country_id' => '172'),\narray('id' => '4745','name' => '(BLB) - Panama Pacific International Airport, PanamA City, Panama','country_id' => '169'),\narray('id' => '4746','name' => '(MPI) - Mamitupo Airport, Mamitupo, Panama','country_id' => '169'),\narray('id' => '4747','name' => '(JQE) - JaquA Airport, JaquA, Panama','country_id' => '169'),\narray('id' => '4748','name' => '(PLP) - Captain Ramon Xatruch Airport, La Palma, Panama','country_id' => '169'),\narray('id' => '4749','name' => '(PAC) - Marcos A. Gelabert International Airport, Albrook, Panama','country_id' => '169'),\narray('id' => '4750','name' => '(PUE) - Puerto Obaldia Airport, Puerto Obaldia, Panama','country_id' => '169'),\narray('id' => '4751','name' => '(RIH) - Scarlett Martinez International Airport, RAo Hato, Panama','country_id' => '169'),\narray('id' => '4752','name' => '(SYP) - Ruben Cantu Airport, Santiago, Panama','country_id' => '169'),\narray('id' => '4753','name' => '(PTY) - Tocumen International Airport, Tocumen, Panama','country_id' => '169'),\narray('id' => '4754','name' => '(MPU) - Mapua(Mabua) Airport, Tatau Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4755','name' => '(PVE) - El Porvenir Airport, El Porvenir, Panama','country_id' => '169'),\narray('id' => '4756','name' => '(NBL) - San Blas Airport, Wannukandi, Panama','country_id' => '169'),\narray('id' => '4757','name' => '(MPX) - Miyanmin Airport, Miyanmin, Papua New Guinea','country_id' => '172'),\narray('id' => '4758','name' => '(MQO) - Malam Airport, Malam, Papua New Guinea','country_id' => '172'),\narray('id' => '4759','name' => '(FON) - Arenal Airport, La Fortuna/San Carlos, Costa Rica','country_id' => '47'),\narray('id' => '4760','name' => '(TTQ) - Aerotortuguero Airport, Roxana, Costa Rica','country_id' => '47'),\narray('id' => '4761','name' => '(BAI) - Buenos Aires Airport, Punta Arenas, Costa Rica','country_id' => '47'),\narray('id' => '4762','name' => '(BCL) - Barra del Colorado Airport, Pococi, Costa Rica','country_id' => '47'),\narray('id' => '4763','name' => '(OTR) - Coto 47 Airport, Corredores, Costa Rica','country_id' => '47'),\narray('id' => '4764','name' => '(JAP) - Chacarita Airport, Puntarenas, Costa Rica','country_id' => '47'),\narray('id' => '4765','name' => '(PLD) - Playa Samara/Carrillo Airport, Carrillo, Costa Rica','country_id' => '47'),\narray('id' => '4766','name' => '(DRK) - Drake Bay Airport, Puntarenas, Costa Rica','country_id' => '47'),\narray('id' => '4767','name' => '(FMG) - Flamingo Airport, Brasilito, Costa Rica','country_id' => '47'),\narray('id' => '4768','name' => '(GLF) - Golfito Airport, Golfito, Costa Rica','country_id' => '47'),\narray('id' => '4769','name' => '(GPL) - Guapiles Airport, Pococi, Costa Rica','country_id' => '47'),\narray('id' => '4770','name' => '(PBP) - Islita Airport, Nandayure, Costa Rica','country_id' => '47'),\narray('id' => '4771','name' => '(LIR) - Daniel Oduber Quiros International Airport, Liberia, Costa Rica','country_id' => '47'),\narray('id' => '4772','name' => '(LSL) - Los Chiles Airport, Los Chiles, Costa Rica','country_id' => '47'),\narray('id' => '4773','name' => '(LIO) - Limon International Airport, Puerto Limon, Costa Rica','country_id' => '47'),\narray('id' => '4774','name' => '(CSC) - Mojica Airport, CaAas, Costa Rica','country_id' => '47'),\narray('id' => '4775','name' => '(NCT) - Guanacaste Airport, Nicoya/Guanacate, Costa Rica','country_id' => '47'),\narray('id' => '4776','name' => '(NOB) - Nosara Airport, Nicoya, Costa Rica','country_id' => '47'),\narray('id' => '4777','name' => '(SJO) - Juan Santamaria International Airport, San Jose, Costa Rica','country_id' => '47'),\narray('id' => '4778','name' => '(PJM) - Puerto Jimenez Airport, Puerto Jimenez, Costa Rica','country_id' => '47'),\narray('id' => '4779','name' => '(PMZ) - Palmar Sur Airport, Palmar Sur, Costa Rica','country_id' => '47'),\narray('id' => '4780','name' => '(SYQ) - Tobias Bolanos International Airport, San Jose, Costa Rica','country_id' => '47'),\narray('id' => '4781','name' => '(XQP) - Quepos Managua Airport, Quepos, Costa Rica','country_id' => '47'),\narray('id' => '4782','name' => '(RFR) - Rio Frio / Progreso Airport, Rio Frio / Progreso, Costa Rica','country_id' => '47'),\narray('id' => '4783','name' => '(PLD) - Playa Samara Airport, Playa Samara, Costa Rica','country_id' => '47'),\narray('id' => '4784','name' => '(TOO) - San Vito De Java Airport, Coto Brus, Costa Rica','country_id' => '47'),\narray('id' => '4785','name' => '(TNO) - Tamarindo Airport, Tamarindo, Costa Rica','country_id' => '47'),\narray('id' => '4786','name' => '(TMU) - Tambor Airport, Nicoya, Costa Rica','country_id' => '47'),\narray('id' => '4787','name' => '(UPL) - Upala Airport, Upala, Costa Rica','country_id' => '47'),\narray('id' => '4788','name' => '(SAL) - El Salvador International Airport, Santa Clara, El Salvador','country_id' => '205'),\narray('id' => '4789','name' => '(CYA) - Les Cayes Airport, Les Cayes, Haiti','country_id' => '95'),\narray('id' => '4790','name' => '(CAP) - Cap Haitien International Airport, Cap Haitien, Haiti','country_id' => '95'),\narray('id' => '4791','name' => '(MTX) - Metro Field, Fairbanks, United States','country_id' => '228'),\narray('id' => '4792','name' => '(JAK) - Jacmel Airport, Jacmel, Haiti','country_id' => '95'),\narray('id' => '4793','name' => '(JEE) - JArAmie Airport, Jeremie, Haiti','country_id' => '95'),\narray('id' => '4794','name' => '(PAP) - Toussaint Louverture International Airport, Port-au-Prince, Haiti','country_id' => '95'),\narray('id' => '4795','name' => '(PAX) - Port-de-Paix Airport, Port-de-Paix, Haiti','country_id' => '95'),\narray('id' => '4796','name' => '(MTU) - Montepuez Airport, Montepuez, Mozambique','country_id' => '155'),\narray('id' => '4797','name' => '(BCA) - Gustavo Rizo Airport, Baracoa, Cuba','country_id' => '48'),\narray('id' => '4798','name' => '(BWW) - Las Brujas Airport, Cayo Santa Maria, Cuba','country_id' => '48'),\narray('id' => '4799','name' => '(BYM) - Carlos Manuel de Cespedes Airport, Bayamo, Cuba','country_id' => '48'),\narray('id' => '4800','name' => '(AVI) - Maximo Gomez Airport, Ciego de Avila, Cuba','country_id' => '48'),\narray('id' => '4801','name' => '(CCC) - Jardines Del Rey Airport, Cayo Coco, Cuba','country_id' => '48'),\narray('id' => '4802','name' => '(CFG) - Jaime Gonzalez Airport, Cienfuegos, Cuba','country_id' => '48'),\narray('id' => '4803','name' => '(CYO) - Vilo AcuAa International Airport, Cayo Largo del Sur, Cuba','country_id' => '48'),\narray('id' => '4804','name' => '(CMW) - Ignacio Agramonte International Airport, Camaguey, Cuba','country_id' => '48'),\narray('id' => '4805','name' => '(QCO) - ColAn Airport, ColAn, Cuba','country_id' => '48'),\narray('id' => '4806','name' => '(SCU) - Antonio Maceo International Airport, Santiago, Cuba','country_id' => '48'),\narray('id' => '4807','name' => '(NBW) - Leeward Point Field, Guantanamo Bay Naval Station, Cuba','country_id' => '48'),\narray('id' => '4808','name' => '(GAO) - Mariana Grajales Airport, GuantAnamo, Cuba','country_id' => '48'),\narray('id' => '4809','name' => '(HAV) - JosA MartA International Airport, Havana, Cuba','country_id' => '48'),\narray('id' => '4810','name' => '(HOG) - Frank Pais International Airport, Holguin, Cuba','country_id' => '48'),\narray('id' => '4811','name' => '(VRO) - Kawama Airport, Matanzas, Cuba','country_id' => '48'),\narray('id' => '4812','name' => '(LCL) - La Coloma Airport, Pinar del Rio, Cuba','country_id' => '48'),\narray('id' => '4813','name' => '(UMA) - Punta de Maisi Airport, Maisi, Cuba','country_id' => '48'),\narray('id' => '4814','name' => '(MJG) - Mayajigua Airport, Mayajigua, Cuba','country_id' => '48'),\narray('id' => '4815','name' => '(MOA) - Orestes Acosta Airport, Moa, Cuba','country_id' => '48'),\narray('id' => '4816','name' => '(MZO) - Sierra Maestra Airport, Manzanillo, Cuba','country_id' => '48'),\narray('id' => '4817','name' => '(QSN) - San Nicolas De Bari Airport, San NicolAs, Cuba','country_id' => '48'),\narray('id' => '4818','name' => '(ICR) - Nicaro Airport, Nicaro, Cuba','country_id' => '48'),\narray('id' => '4819','name' => '(GER) - Rafael Cabrera Airport, Nueva Gerona, Cuba','country_id' => '48'),\narray('id' => '4820','name' => '(UPB) - Playa Baracoa Airport, Havana, Cuba','country_id' => '48'),\narray('id' => '4821','name' => '(QPD) - Pinar Del Rio Airport, Pinar del Rio, Cuba','country_id' => '48'),\narray('id' => '4822','name' => '(SNU) - Abel Santamaria Airport, Santa Clara, Cuba','country_id' => '48'),\narray('id' => '4823','name' => '(SNJ) - San Julian Air Base, Pinar Del Rio, Cuba','country_id' => '48'),\narray('id' => '4824','name' => '(SZJ) - Siguanea Airport, Isla de la Juventud, Cuba','country_id' => '48'),\narray('id' => '4825','name' => '(USS) - Sancti Spiritus Airport, Sancti Spiritus, Cuba','country_id' => '48'),\narray('id' => '4826','name' => '(TND) - Alberto Delgado Airport, Trinidad, Cuba','country_id' => '48'),\narray('id' => '4827','name' => '(VRA) - Juan Gualberto Gomez International Airport, Varadero, Cuba','country_id' => '48'),\narray('id' => '4828','name' => '(VTU) - Hermanos Ameijeiras Airport, Las Tunas, Cuba','country_id' => '48'),\narray('id' => '4829','name' => '(CYB) - Gerrard Smith International Airport, Cayman Brac, Cayman Islands','country_id' => '120'),\narray('id' => '4830','name' => '(LYB) - Edward Bodden Airfield, Little Cayman, Cayman Islands','country_id' => '120'),\narray('id' => '4831','name' => '(GCM) - Owen Roberts International Airport, Georgetown, Cayman Islands','country_id' => '120'),\narray('id' => '4832','name' => '(MWR) - Motswari Airport, Motswari Private Game Reserve, South Africa','country_id' => '243'),\narray('id' => '4833','name' => '(AJS) - Abreojos Airport, Abreojos, Mexico','country_id' => '153'),\narray('id' => '4834','name' => '(AZG) - Pablo L. Sidar Airport, ApatzingAn, Mexico','country_id' => '153'),\narray('id' => '4835','name' => '(NVJ) - Navojoa Airport, Navojoa, Mexico','country_id' => '153'),\narray('id' => '4836','name' => '(PCM) - Playa del Carmen Airport, Solidaridad, Mexico','country_id' => '153'),\narray('id' => '4837','name' => '(PCV) - Punta Chivato Airport, Punta Chivato, Mexico','country_id' => '153'),\narray('id' => '4838','name' => '(SCX) - Salina Cruz Naval Air Station, Salina Cruz, Mexico','country_id' => '153'),\narray('id' => '4839','name' => '(SGM) - San Ignacio Airport, San Ignacio, Mexico','country_id' => '153'),\narray('id' => '4840','name' => '(TUY) - Tulum Naval Air Station, Tulum, Mexico','country_id' => '153'),\narray('id' => '4841','name' => '(UAC) - San Luis RAo Colorado Airport, San Luis RAo Colorado, Mexico','country_id' => '153'),\narray('id' => '4842','name' => '(XAL) - Alamos Airport, Alamos, Mexico','country_id' => '153'),\narray('id' => '4843','name' => '(MXK) - Mindik Airport, Mindik, Papua New Guinea','country_id' => '172'),\narray('id' => '4844','name' => '(MXR) - Moussoro Airport, Moussoro, Chad','country_id' => '210'),\narray('id' => '4845','name' => '(GTK) - Sungei Tekai Airport, Sungei Tekai, Malaysia','country_id' => '154'),\narray('id' => '4846','name' => '(LBP) - Long Banga Airport, Long Banga, Malaysia','country_id' => '154'),\narray('id' => '4847','name' => '(LLM) - Long Lama Airport, Long Lama, Malaysia','country_id' => '154'),\narray('id' => '4848','name' => '(MZS) - Mostyn Airport, Mostyn, Malaysia','country_id' => '154'),\narray('id' => '4849','name' => '(SPT) - Sipitang Airport, Sipitang, Malaysia','country_id' => '154'),\narray('id' => '4850','name' => '(MAY) - Clarence A. Bain Airport, Mangrove Cay, Bahamas','country_id' => '30'),\narray('id' => '4851','name' => '(ASD) - Andros Town Airport, , Bahamas','country_id' => '30'),\narray('id' => '4852','name' => '(COX) - Congo Town Airport, Andros, Bahamas','country_id' => '30'),\narray('id' => '4853','name' => '(MHH) - Marsh Harbour International Airport, Marsh Harbour, Bahamas','country_id' => '30'),\narray('id' => '4854','name' => '(SAQ) - San Andros Airport, Andros Island, Bahamas','country_id' => '30'),\narray('id' => '4855','name' => '(AXP) - Spring Point Airport, Spring Point, Bahamas','country_id' => '30'),\narray('id' => '4856','name' => '(TCB) - Treasure Cay Airport, Treasure Cay, Bahamas','country_id' => '30'),\narray('id' => '4857','name' => '(WKR) - Abaco I Walker C Airport, , Bahamas','country_id' => '30'),\narray('id' => '4858','name' => '(CCZ) - Chub Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4859','name' => '(GHC) - Great Harbour Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4860','name' => '(BIM) - South Bimini Airport, South Bimini, Bahamas','country_id' => '30'),\narray('id' => '4861','name' => '(ATC) - Arthur\\'s Town Airport, Arthur\\'s Town, Bahamas','country_id' => '30'),\narray('id' => '4862','name' => '(CAT) - New Bight Airport, Cat Island, Bahamas','country_id' => '30'),\narray('id' => '4863','name' => '(CXY) - Cat Cay Airport, Cat Cay, Bahamas','country_id' => '30'),\narray('id' => '4864','name' => '(CRI) - Colonel Hill Airport, Colonel Hill, Bahamas','country_id' => '30'),\narray('id' => '4865','name' => '(PWN) - Pitts Town Airport, Pitts Town, Bahamas','country_id' => '30'),\narray('id' => '4866','name' => '(GGT) - Exuma International Airport, George Town, Bahamas','country_id' => '30'),\narray('id' => '4867','name' => '(ELH) - North Eleuthera Airport, North Eleuthera, Bahamas','country_id' => '30'),\narray('id' => '4868','name' => '(GHB) - Governor\\'s Harbour Airport, Governor\\'s Harbour, Bahamas','country_id' => '30'),\narray('id' => '4869','name' => '(NMC) - Normans Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4870','name' => '(RSD) - Rock Sound Airport, Rock Sound, Bahamas','country_id' => '30'),\narray('id' => '4871','name' => '(TYM) - Staniel Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4872','name' => '(FPO) - Grand Bahama International Airport, Freeport, Bahamas','country_id' => '30'),\narray('id' => '4873','name' => '(GBI) - Auxiliary Airfield, Grand Bahama, Bahamas','country_id' => '30'),\narray('id' => '4874','name' => '(WTD) - West End Airport, West End, Bahamas','country_id' => '30'),\narray('id' => '4875','name' => '(IGA) - Inagua Airport, Matthew Town, Bahamas','country_id' => '30'),\narray('id' => '4876','name' => '(MYK) - May Creek Airport, May Creek, United States','country_id' => '228'),\narray('id' => '4877','name' => '(LGI) - Deadman\\'s Cay Airport, Deadman\\'s Cay, Bahamas','country_id' => '30'),\narray('id' => '4878','name' => '(SML) - Stella Maris Airport, Stella Maris, Bahamas','country_id' => '30'),\narray('id' => '4879','name' => '(MYG) - Mayaguana Airport, Mayaguana, Bahamas','country_id' => '30'),\narray('id' => '4880','name' => '(NAS) - Lynden Pindling International Airport, Nassau, Bahamas','country_id' => '30'),\narray('id' => '4881','name' => '(PID) - Nassau Paradise Island Airport, Nassau, Bahamas','country_id' => '30'),\narray('id' => '4882','name' => '(DCT) - Duncan Town Airport, , Bahamas','country_id' => '30'),\narray('id' => '4883','name' => '(RCY) - Rum Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4884','name' => '(MYS) - Moyale Airport, Moyale, Ethiopia','country_id' => '66'),\narray('id' => '4885','name' => '(ZSA) - San Salvador Airport, San Salvador, Bahamas','country_id' => '30'),\narray('id' => '4886','name' => '(MYX) - Menyamya Airport, Menyamya, Papua New Guinea','country_id' => '172'),\narray('id' => '4887','name' => '(NTC) - Paradise Island Airport, Santa Carolina, Mozambique','country_id' => '155'),\narray('id' => '4888','name' => '(IBO) - Ibo Airport, Ibo, Mozambique','country_id' => '155'),\narray('id' => '4889','name' => '(TGS) - ChokwA Airport, ChokwA, Mozambique','country_id' => '155'),\narray('id' => '4890','name' => '(BZE) - Philip S. W. Goldson International Airport, Belize City, Belize','country_id' => '34'),\narray('id' => '4891','name' => '(MZE) - Manatee Airport, , Belize','country_id' => '34'),\narray('id' => '4892','name' => '(IMI) - Ine Airport, Arno Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4893','name' => '(BQI) - Bagani Airport, Bagani, Namibia','country_id' => '156'),\narray('id' => '4894','name' => '(NBS) - Changbaishan Airport, Baishan, China','country_id' => '45'),\narray('id' => '4895','name' => '(AIT) - Aitutaki Airport, Aitutaki, Cook Islands','country_id' => '42'),\narray('id' => '4896','name' => '(AIU) - Enua Airport, Atiu Island, Cook Islands','country_id' => '42'),\narray('id' => '4897','name' => '(MGS) - Mangaia Island Airport, Mangaia Island, Cook Islands','country_id' => '42'),\narray('id' => '4898','name' => '(MHX) - Manihiki Island Airport, Manihiki Island, Cook Islands','country_id' => '42'),\narray('id' => '4899','name' => '(MUK) - Mauke Airport, Mauke Island, Cook Islands','country_id' => '42'),\narray('id' => '4900','name' => '(MOI) - Mitiaro Island Airport, Mitiaro Island, Cook Islands','country_id' => '42'),\narray('id' => '4901','name' => '(PZK) - Pukapuka Island Airport, Pukapuka Atoll, Cook Islands','country_id' => '42'),\narray('id' => '4902','name' => '(PYE) - Tongareva Airport, Penrhyn Island, Cook Islands','country_id' => '42'),\narray('id' => '4903','name' => '(RAR) - Rarotonga International Airport, Avarua, Cook Islands','country_id' => '42'),\narray('id' => '4904','name' => '(NDI) - Namudi Airport, Namudi, Papua New Guinea','country_id' => '172'),\narray('id' => '4905','name' => '(NDN) - Nadunumu Airport, Nadunumu, Papua New Guinea','country_id' => '172'),\narray('id' => '4906','name' => '(EPG) - Browns Airport, Weeping Water, United States','country_id' => '228'),\narray('id' => '4907','name' => '(ICI) - Cicia Airport, Cicia, Fiji','country_id' => '68'),\narray('id' => '4908','name' => '(BFJ) - Ba Airport, , Fiji','country_id' => '68'),\narray('id' => '4909','name' => '(NAN) - Nadi International Airport, Nadi, Fiji','country_id' => '68'),\narray('id' => '4910','name' => '(PTF) - Malolo Lailai Island Airport, Malolo Lailai Island, Fiji','country_id' => '68'),\narray('id' => '4911','name' => '(RBI) - Rabi Island Airport, Rabi Island, Fiji','country_id' => '68'),\narray('id' => '4912','name' => '(KDV) - Vunisea Airport, Vunisea, Fiji','country_id' => '68'),\narray('id' => '4913','name' => '(MNF) - Mana Island Airport, Mana Island, Fiji','country_id' => '68'),\narray('id' => '4914','name' => '(MFJ) - Moala Airport, Moala, Fiji','country_id' => '68'),\narray('id' => '4915','name' => '(SUV) - Nausori International Airport, Nausori, Fiji','country_id' => '68'),\narray('id' => '4916','name' => '(LEV) - Levuka Airfield, Bureta, Fiji','country_id' => '68'),\narray('id' => '4917','name' => '(NGI) - Ngau Airport, Ngau, Fiji','country_id' => '68'),\narray('id' => '4918','name' => '(LUC) - Laucala Island Airport, Laucala Island, Fiji','country_id' => '68'),\narray('id' => '4919','name' => '(LKB) - Lakeba Island Airport, Lakeba Island, Fiji','country_id' => '68'),\narray('id' => '4920','name' => '(LBS) - Labasa Airport, , Fiji','country_id' => '68'),\narray('id' => '4921','name' => '(TVU) - Matei Airport, Matei, Fiji','country_id' => '68'),\narray('id' => '4922','name' => '(KXF) - Koro Island Airport, Koro Island, Fiji','country_id' => '68'),\narray('id' => '4923','name' => '(RTA) - Rotuma Airport, Rotuma, Fiji','country_id' => '68'),\narray('id' => '4924','name' => '(SVU) - Savusavu Airport, Savusavu, Fiji','country_id' => '68'),\narray('id' => '4925','name' => '(VAU) - Vatukoula Airport, Vatukoula, Fiji','country_id' => '68'),\narray('id' => '4926','name' => '(KAY) - Wakaya Island Airport, Wakaya Island, Fiji','country_id' => '68'),\narray('id' => '4927','name' => '(ONU) - Ono-i-Lau Airport, Ono-i-Lau, Fiji','country_id' => '68'),\narray('id' => '4928','name' => '(YAS) - Yasawa Island Airport, Yasawa Island, Fiji','country_id' => '68'),\narray('id' => '4929','name' => '(EUA) - Kaufana Airport, Eua Island, Tonga','country_id' => '219'),\narray('id' => '4930','name' => '(TBU) - Fua\\'amotu International Airport, Nuku\\'alofa, Tonga','country_id' => '219'),\narray('id' => '4931','name' => '(HPA) - Lifuka Island Airport, Lifuka, Tonga','country_id' => '219'),\narray('id' => '4932','name' => '(NFO) - Mata\\'aho Airport, Angaha, Niuafo\\'ou Island, Tonga','country_id' => '219'),\narray('id' => '4933','name' => '(NTT) - Kuini Lavenia Airport, Niuatoputapu, Tonga','country_id' => '219'),\narray('id' => '4934','name' => '(VAV) - Vava\\'u International Airport, Vava\\'u Island, Tonga','country_id' => '219'),\narray('id' => '4935','name' => '(VBV) - Vanua Balavu Airport, Vanua Balavu, Fiji','country_id' => '68'),\narray('id' => '4936','name' => '(VTF) - Vatulele Airport, Vatulele, Fiji','country_id' => '68'),\narray('id' => '4937','name' => '(GMO) - Gombe Lawanti International Airport, Gombe, Nigeria','country_id' => '160'),\narray('id' => '4938','name' => '(PHG) - Port Harcourt City Airport, Port Harcourt, Nigeria','country_id' => '160'),\narray('id' => '4939','name' => '(BCU) - Bauchi Airport, Bauchi, Nigeria','country_id' => '160'),\narray('id' => '4940','name' => '(QRW) - Warri Airport, Warri, Nigeria','country_id' => '160'),\narray('id' => '4941','name' => '(ABF) - Abaiang Airport, Abaiang, Kiribati','country_id' => '114'),\narray('id' => '4942','name' => '(BEZ) - Beru Airport, Beru, Kiribati','country_id' => '114'),\narray('id' => '4943','name' => '(FUN) - Funafuti International Airport, Funafuti, Tuvalu','country_id' => '222'),\narray('id' => '4944','name' => '(KUC) - Kuria Airport, Kuria, Kiribati','country_id' => '114'),\narray('id' => '4945','name' => '(MNK) - Maiana Airport, Maiana, Kiribati','country_id' => '114'),\narray('id' => '4946','name' => '(MZK) - Marakei Airport, Marakei, Kiribati','country_id' => '114'),\narray('id' => '4947','name' => '(MTK) - Makin Island Airport, Makin Island, Kiribati','country_id' => '114'),\narray('id' => '4948','name' => '(NIG) - Nikunau Airport, Nikunau, Kiribati','country_id' => '114'),\narray('id' => '4949','name' => '(OOT) - Onotoa Airport, Onotoa, Kiribati','country_id' => '114'),\narray('id' => '4950','name' => '(TRW) - Bonriki International Airport, Tarawa, Kiribati','country_id' => '114'),\narray('id' => '4951','name' => '(AEA) - Abemama Atoll Airport, Abemama Atoll, Kiribati','country_id' => '114'),\narray('id' => '4952','name' => '(TBF) - Tabiteuea North Airport, , Kiribati','country_id' => '114'),\narray('id' => '4953','name' => '(TMN) - Tamana Island Airport, Tamana Island, Kiribati','country_id' => '114'),\narray('id' => '4954','name' => '(NON) - Nonouti Airport, Nonouti, Kiribati','country_id' => '114'),\narray('id' => '4955','name' => '(AIS) - Arorae Island Airport, Arorae Island, Kiribati','country_id' => '114'),\narray('id' => '4956','name' => '(TSU) - Tabiteuea South Airport, Tabiteuea South, Kiribati','country_id' => '114'),\narray('id' => '4957','name' => '(BBG) - Butaritari Atoll Airport, Butaritari Atoll, Kiribati','country_id' => '114'),\narray('id' => '4958','name' => '(AAK) - Buariki Airport, Buariki, Kiribati','country_id' => '114'),\narray('id' => '4959','name' => '(IUE) - Niue International Airport, Alofi, Niue','country_id' => '166'),\narray('id' => '4960','name' => '(NKD) - Sinak Airport, Sinak, Indonesia','country_id' => '97'),\narray('id' => '4961','name' => '(NLH) - Ninglang Luguhu Airport, Ninglang, China','country_id' => '45'),\narray('id' => '4962','name' => '(FUT) - Pointe Vele Airport, Futuna Island, Wallis and Futuna','country_id' => '238'),\narray('id' => '4963','name' => '(WLS) - Hihifo Airport, Wallis Island, Wallis and Futuna','country_id' => '238'),\narray('id' => '4964','name' => '(HBB) - Industrial Airpark, Hobbs, United States','country_id' => '228'),\narray('id' => '4965','name' => '(NND) - Nangade Airport, Nangade, Mozambique','country_id' => '155'),\narray('id' => '4966','name' => '(NOM) - Nomad River Airport, Nomad River, Papua New Guinea','country_id' => '172'),\narray('id' => '4967','name' => '(NOO) - Naoro Airport, Naoro Vilage, Papua New Guinea','country_id' => '172'),\narray('id' => '4968','name' => '(MWP) - Mountain Airport, Mountain, Nepal','country_id' => '164'),\narray('id' => '4969','name' => '(NPG) - Nipa Airport, Nipa, Papua New Guinea','country_id' => '172'),\narray('id' => '4970','name' => '(NRY) - Newry Airport, Newry, Australia','country_id' => '12'),\narray('id' => '4971','name' => '(OFU) - Ofu Village Airport, Ofu Village, American Samoa','country_id' => '10'),\narray('id' => '4972','name' => '(AAU) - Asau Airport, Asau, Samoa','country_id' => '239'),\narray('id' => '4973','name' => '(APW) - Faleolo International Airport, Apia, Samoa','country_id' => '239'),\narray('id' => '4974','name' => '(FGI) - Fagali\\'i Airport, Apia, Samoa','country_id' => '239'),\narray('id' => '4975','name' => '(FTI) - Fitiuta Airport, Fitiuta Village, American Samoa','country_id' => '10'),\narray('id' => '4976','name' => '(MXS) - Maota Airport, Maota, Samoa','country_id' => '239'),\narray('id' => '4977','name' => '(PPG) - Pago Pago International Airport, Pago Pago, American Samoa','country_id' => '10'),\narray('id' => '4978','name' => '(PPT) - Faa\\'a International Airport, Papeete, French Polynesia','country_id' => '171'),\narray('id' => '4979','name' => '(RMT) - Rimatara Airport, Rimatara Island, French Polynesia','country_id' => '171'),\narray('id' => '4980','name' => '(RUR) - Rurutu Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4981','name' => '(TUB) - Tubuai Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4982','name' => '(RVV) - Raivavae Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4983','name' => '(AAA) - Anaa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4984','name' => '(FGU) - Fangatau Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4985','name' => '(TIH) - Tikehau Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4986','name' => '(APK) - Apataki Airport, Apataki, French Polynesia','country_id' => '171'),\narray('id' => '4987','name' => '(REA) - Reao Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4988','name' => '(FAV) - Fakarava Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4989','name' => '(HHZ) - Hikueru Atoll Airport, Hikueru Atoll, French Polynesia','country_id' => '171'),\narray('id' => '4990','name' => '(XMH) - Manihi Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4991','name' => '(GMR) - Totegegie Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4992','name' => '(KKR) - Kaukura Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4993','name' => '(MKP) - Makemo Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4994','name' => '(NAU) - Napuka Island Airport, Napuka Island, French Polynesia','country_id' => '171'),\narray('id' => '4995','name' => '(TKV) - Tatakoto Airport, Tatakoto, French Polynesia','country_id' => '171'),\narray('id' => '4996','name' => '(PKP) - Puka Puka Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4997','name' => '(PUK) - Pukarua Airport, Pukarua, French Polynesia','country_id' => '171'),\narray('id' => '4998','name' => '(TKP) - Takapoto Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4999','name' => '(AXR) - Arutua Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5000','name' => '(MVT) - Mataiva Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5001','name' => '(NUK) - Nukutavake Airport, Nukutavake, French Polynesia','country_id' => '171'),\narray('id' => '5002','name' => '(ZTA) - Tureia Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5003','name' => '(AHE) - Ahe Airport, Ahe Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5004','name' => '(KHZ) - Kauehi Airport, Kauehi, French Polynesia','country_id' => '171'),\narray('id' => '5005','name' => '(FAC) - Faaite Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5006','name' => '(FHZ) - Fakahina Airport, Fakahina, French Polynesia','country_id' => '171'),\narray('id' => '5007','name' => '(RKA) - Aratika Nord Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5008','name' => '(TJN) - Takume Airport, Takume, French Polynesia','country_id' => '171'),\narray('id' => '5009','name' => '(NIU) - Naiu Airport, Naiu Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5010','name' => '(RRR) - Raroia Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5011','name' => '(TKX) - Takaroa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5012','name' => '(KXU) - Katiu Airport, Katiu, French Polynesia','country_id' => '171'),\narray('id' => '5013','name' => '(NKP) - Nukutepipi Airport, Nukutepipi, French Polynesia','country_id' => '171'),\narray('id' => '5014','name' => '(NHV) - Nuku Hiva Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5015','name' => '(AUQ) - Hiva Oa-Atuona Airport, Hiva Oa Island, French Polynesia','country_id' => '171'),\narray('id' => '5016','name' => '(UAP) - Ua Pou Airport, Ua Pou, French Polynesia','country_id' => '171'),\narray('id' => '5017','name' => '(UAH) - Ua Huka Airport, Ua Huka, French Polynesia','country_id' => '171'),\narray('id' => '5018','name' => '(BOB) - Bora Bora Airport, Motu Mute, French Polynesia','country_id' => '171'),\narray('id' => '5019','name' => '(TTI) - Tetiaroa Airport, Tetiaroa, French Polynesia','country_id' => '171'),\narray('id' => '5020','name' => '(RGI) - Rangiroa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5021','name' => '(HUH) - Huahine-Fare Airport, Fare, French Polynesia','country_id' => '171'),\narray('id' => '5022','name' => '(MOZ) - Moorea Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5023','name' => '(HOI) - Hao Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5024','name' => '(MAU) - Maupiti Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5025','name' => '(RFP) - Raiatea Airport, Uturoa, French Polynesia','country_id' => '171'),\narray('id' => '5026','name' => '(TPX) - Tupai Airport, Tupai Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5027','name' => '(UOA) - Mururoa Atoll Airport, Mururoa Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5028','name' => '(VHZ) - Vahitahi Airport, Vahitahi, French Polynesia','country_id' => '171'),\narray('id' => '5029','name' => '(NUG) - Nuguria Airstrip, Nuguria Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5030','name' => '(UCC) - Yucca Airstrip, Mercury, United States','country_id' => '228'),\narray('id' => '5031','name' => '(MTV) - Mota Lava Airport, Ablow, Vanuatu','country_id' => '237'),\narray('id' => '5032','name' => '(SLH) - Sola Airport, Sola, Vanuatu','country_id' => '237'),\narray('id' => '5033','name' => '(TOH) - Torres Airstrip, Loh/Linua, Vanuatu','country_id' => '237'),\narray('id' => '5034','name' => '(EAE) - Siwo Airport, Emae Island, Vanuatu','country_id' => '237'),\narray('id' => '5035','name' => '(CCV) - Craig Cove Airport, Craig Cove, Vanuatu','country_id' => '237'),\narray('id' => '5036','name' => '(LOD) - Longana Airport, Longana, Vanuatu','country_id' => '237'),\narray('id' => '5037','name' => '(SSR) - Sara Airport, Pentecost Island, Vanuatu','country_id' => '237'),\narray('id' => '5038','name' => '(PBJ) - Tavie Airport, Paama Island, Vanuatu','country_id' => '237'),\narray('id' => '5039','name' => '(LPM) - Lamap Airport, Lamap, Vanuatu','country_id' => '237'),\narray('id' => '5040','name' => '(LNB) - Lamen Bay Airport, Lamen Bay, Vanuatu','country_id' => '237'),\narray('id' => '5041','name' => '(MWF) - Maewo-Naone Airport, Maewo Island, Vanuatu','country_id' => '237'),\narray('id' => '5042','name' => '(LNE) - Lonorore Airport, Lonorore, Vanuatu','country_id' => '237'),\narray('id' => '5043','name' => '(NUS) - Norsup Airport, Norsup, Vanuatu','country_id' => '237'),\narray('id' => '5044','name' => '(ZGU) - Gaua Island Airport, Gaua Island, Vanuatu','country_id' => '237'),\narray('id' => '5045','name' => '(RCL) - Redcliffe Airport, Redcliffe, Vanuatu','country_id' => '237'),\narray('id' => '5046','name' => '(SON) - Santo Pekoa International Airport, Luganville, Vanuatu','country_id' => '237'),\narray('id' => '5047','name' => '(TGH) - Tongoa Airport, Tongoa Island, Vanuatu','country_id' => '237'),\narray('id' => '5048','name' => '(ULB) - UlAi Airport, Ambryn Island, Vanuatu','country_id' => '237'),\narray('id' => '5049','name' => '(VLS) - Valesdir Airport, Epi Island, Vanuatu','country_id' => '237'),\narray('id' => '5050','name' => '(WLH) - Walaha Airport, Walaha, Vanuatu','country_id' => '237'),\narray('id' => '5051','name' => '(SWJ) - Southwest Bay Airport, Malekula Island, Vanuatu','country_id' => '237'),\narray('id' => '5052','name' => '(OLJ) - North West Santo Airport, Olpoi, Vanuatu','country_id' => '237'),\narray('id' => '5053','name' => '(AUY) - Aneityum Airport, Anatom Island, Vanuatu','country_id' => '237'),\narray('id' => '5054','name' => '(AWD) - Aniwa Airport, Aniwa, Vanuatu','country_id' => '237'),\narray('id' => '5055','name' => '(DLY) - Dillon\\'s Bay Airport, Dillon\\'s Bay, Vanuatu','country_id' => '237'),\narray('id' => '5056','name' => '(FTA) - Futuna Airport, Futuna Island, Vanuatu','country_id' => '237'),\narray('id' => '5057','name' => '(IPA) - Ipota Airport, Ipota, Vanuatu','country_id' => '237'),\narray('id' => '5058','name' => '(UIQ) - Quion Hill Airport, Quion Hill, Vanuatu','country_id' => '237'),\narray('id' => '5059','name' => '(VLI) - Bauerfield International Airport, Port Vila, Vanuatu','country_id' => '237'),\narray('id' => '5060','name' => '(TAH) - Tanna Airport, , Vanuatu','country_id' => '237'),\narray('id' => '5061','name' => '(NWT) - Nowata Airport, Nowata, Papua New Guinea','country_id' => '172'),\narray('id' => '5062','name' => '(TGJ) - Tiga Airport, Tiga, New Caledonia','country_id' => '157'),\narray('id' => '5063','name' => '(BMY) - Ale Art - Waala Airport, Waala, New Caledonia','country_id' => '157'),\narray('id' => '5064','name' => '(KNQ) - KonA Airport, KonA, New Caledonia','country_id' => '157'),\narray('id' => '5065','name' => '(ILP) - Ale des Pins Airport, Ale des Pins, New Caledonia','country_id' => '157'),\narray('id' => '5066','name' => '(HLU) - Nesson Airport, Houailou, New Caledonia','country_id' => '157'),\narray('id' => '5067','name' => '(KOC) - Koumac Airport, Koumac, New Caledonia','country_id' => '157'),\narray('id' => '5068','name' => '(LIF) - Lifou Airport, Lifou, New Caledonia','country_id' => '157'),\narray('id' => '5069','name' => '(GEA) - NoumAa Magenta Airport, NoumAa, New Caledonia','country_id' => '157'),\narray('id' => '5070','name' => '(IOU) - Edmond CanA Airport, Ale Ouen, New Caledonia','country_id' => '157'),\narray('id' => '5071','name' => '(PUV) - Poum Airport, Poum, New Caledonia','country_id' => '157'),\narray('id' => '5072','name' => '(PDC) - Mueo Airport, Mueo, New Caledonia','country_id' => '157'),\narray('id' => '5073','name' => '(MEE) - MarA Airport, MarA, New Caledonia','country_id' => '157'),\narray('id' => '5074','name' => '(TOU) - Touho Airport, Touho, New Caledonia','country_id' => '157'),\narray('id' => '5075','name' => '(UVE) - OuvAa Airport, OuvAa, New Caledonia','country_id' => '157'),\narray('id' => '5076','name' => '(NOU) - La Tontouta International Airport, NoumAa, New Caledonia','country_id' => '157'),\narray('id' => '5077','name' => '(AKL) - Auckland International Airport, Auckland, New Zealand','country_id' => '167'),\narray('id' => '5078','name' => '(TUO) - Taupo Airport, Taupo, New Zealand','country_id' => '167'),\narray('id' => '5079','name' => '(AMZ) - Ardmore Airport, Manurewa, New Zealand','country_id' => '167'),\narray('id' => '5080','name' => '(ASG) - Ashburton Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5081','name' => '(CHC) - Christchurch International Airport, Christchurch, New Zealand','country_id' => '167'),\narray('id' => '5082','name' => '(CHT) - Chatham Islands-Tuuta Airport, Waitangi, New Zealand','country_id' => '167'),\narray('id' => '5083','name' => '(CMV) - Coromandel Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5084','name' => '(DGR) - Dargaville Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5085','name' => '(DUD) - Dunedin Airport, Dunedin, New Zealand','country_id' => '167'),\narray('id' => '5086','name' => '(WHO) - Franz Josef Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5087','name' => '(GBZ) - Great Barrier Aerodrome, Claris, New Zealand','country_id' => '167'),\narray('id' => '5088','name' => '(GMN) - Greymouth Airport, , New Zealand','country_id' => '167'),\narray('id' => '5089','name' => '(GIS) - Gisborne Airport, Gisborne, New Zealand','country_id' => '167'),\narray('id' => '5090','name' => '(GTN) - Glentanner Airport, Glentanner Station, New Zealand','country_id' => '167'),\narray('id' => '5091','name' => '(HKK) - Hokitika Airfield, , New Zealand','country_id' => '167'),\narray('id' => '5092','name' => '(HLZ) - Hamilton International Airport, Hamilton, New Zealand','country_id' => '167'),\narray('id' => '5093','name' => '(WIK) - Waiheke Reeve Airport, , New Zealand','country_id' => '167'),\narray('id' => '5094','name' => '(KBZ) - Kaikoura Airport, , New Zealand','country_id' => '167'),\narray('id' => '5095','name' => '(KKE) - Kerikeri Airport, Kerikeri, New Zealand','country_id' => '167'),\narray('id' => '5096','name' => '(KKO) - Kaikohe Airport, , New Zealand','country_id' => '167'),\narray('id' => '5097','name' => '(KAT) - Kaitaia Airport, Kaitaia, New Zealand','country_id' => '167'),\narray('id' => '5098','name' => '(ALR) - Alexandra Airport, Alexandra, New Zealand','country_id' => '167'),\narray('id' => '5099','name' => '(MTA) - Matamata Glider Airport, , New Zealand','country_id' => '167'),\narray('id' => '5100','name' => '(MON) - Mount Cook Airport, , New Zealand','country_id' => '167'),\narray('id' => '5101','name' => '(MFN) - Milford Sound Airport, , New Zealand','country_id' => '167'),\narray('id' => '5102','name' => '(MZP) - Motueka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5103','name' => '(TEU) - Manapouri Airport, , New Zealand','country_id' => '167'),\narray('id' => '5104','name' => '(MRO) - Hood Airport, Masterton, New Zealand','country_id' => '167'),\narray('id' => '5105','name' => '(NPL) - New Plymouth Airport, New Plymouth, New Zealand','country_id' => '167'),\narray('id' => '5106','name' => '(NPE) - Napier Airport, , New Zealand','country_id' => '167'),\narray('id' => '5107','name' => '(NSN) - Nelson Airport, Nelson, New Zealand','country_id' => '167'),\narray('id' => '5108','name' => '(IVC) - Invercargill Airport, Invercargill, New Zealand','country_id' => '167'),\narray('id' => '5109','name' => '(OHA) - RNZAF Base Ohakea, , New Zealand','country_id' => '167'),\narray('id' => '5110','name' => '(OAM) - Oamaru Airport, , New Zealand','country_id' => '167'),\narray('id' => '5111','name' => '(PMR) - Palmerston North Airport, , New Zealand','country_id' => '167'),\narray('id' => '5112','name' => '(PCN) - Picton Aerodrome, Koromiko, New Zealand','country_id' => '167'),\narray('id' => '5113','name' => '(PPQ) - Paraparaumu Airport, , New Zealand','country_id' => '167'),\narray('id' => '5114','name' => '(ZQN) - Queenstown International Airport, Queenstown, New Zealand','country_id' => '167'),\narray('id' => '5115','name' => '(RAG) - Raglan Airfield, , New Zealand','country_id' => '167'),\narray('id' => '5116','name' => '(SZS) - Ryans Creek Aerodrome, Oban, New Zealand','country_id' => '167'),\narray('id' => '5117','name' => '(ROT) - Rotorua Regional Airport, Rotorua, New Zealand','country_id' => '167'),\narray('id' => '5118','name' => '(TRG) - Tauranga Airport, Tauranga, New Zealand','country_id' => '167'),\narray('id' => '5119','name' => '(TMZ) - Thames Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5120','name' => '(KTF) - Takaka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5121','name' => '(TKZ) - Tokoroa Airfield, Tokoroa, New Zealand','country_id' => '167'),\narray('id' => '5122','name' => '(THH) - Taharoa Aerodrome, Taharoa, New Zealand','country_id' => '167'),\narray('id' => '5123','name' => '(TIU) - Timaru Airport, , New Zealand','country_id' => '167'),\narray('id' => '5124','name' => '(TWZ) - Pukaki Airport, Twitzel, New Zealand','country_id' => '167'),\narray('id' => '5125','name' => '(BHE) - Woodbourne Airport, Blenheim, New Zealand','country_id' => '167'),\narray('id' => '5126','name' => '(WKA) - Wanaka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5127','name' => '(WHK) - Whakatane Airport, , New Zealand','country_id' => '167'),\narray('id' => '5128','name' => '(WLG) - Wellington International Airport, Wellington, New Zealand','country_id' => '167'),\narray('id' => '5129','name' => '(WIR) - Wairoa Airport, Wairoa, New Zealand','country_id' => '167'),\narray('id' => '5130','name' => '(WRE) - Whangarei Airport, , New Zealand','country_id' => '167'),\narray('id' => '5131','name' => '(WSZ) - Westport Airport, , New Zealand','country_id' => '167'),\narray('id' => '5132','name' => '(WTZ) - Whitianga Airport, , New Zealand','country_id' => '167'),\narray('id' => '5133','name' => '(WAG) - Wanganui Airport, Wanganui, New Zealand','country_id' => '167'),\narray('id' => '5134','name' => '(NLN) - Kneeland Airport, Eureka, United States','country_id' => '228'),\narray('id' => '5135','name' => '(BZF) - Benton Field, Redding, United States','country_id' => '228'),\narray('id' => '5136','name' => '(OAA) - Shank Air Base, , Afghanistan','country_id' => '2'),\narray('id' => '5137','name' => '(BIN) - Bamiyan Airport, Bamiyan, Afghanistan','country_id' => '2'),\narray('id' => '5138','name' => '(BST) - Bost Airport, Bost, Afghanistan','country_id' => '2'),\narray('id' => '5139','name' => '(CCN) - Chakcharan Airport, Chakcharan, Afghanistan','country_id' => '2'),\narray('id' => '5140','name' => '(SBF) - Sardeh Band Airport, Sardeh Band, Afghanistan','country_id' => '2'),\narray('id' => '5141','name' => '(DAZ) - Darwaz Airport, Darwaz, Afghanistan','country_id' => '2'),\narray('id' => '5142','name' => '(FAH) - Farah Airport, Farah, Afghanistan','country_id' => '2'),\narray('id' => '5143','name' => '(FBD) - Fayzabad Airport, Fayzabad, Afghanistan','country_id' => '2'),\narray('id' => '5144','name' => '(GZI) - Ghazni Airport, Ghazni, Afghanistan','country_id' => '2'),\narray('id' => '5145','name' => '(KWH) - Khwahan Airport, Khwahan, Afghanistan','country_id' => '2'),\narray('id' => '5146','name' => '(HEA) - Herat Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5147','name' => '(OAI) - Bagram Air Base, Bagram, Afghanistan','country_id' => '2'),\narray('id' => '5148','name' => '(JAA) - Jalalabad Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5149','name' => '(GRG) - Gardez Airport, Gardez, Afghanistan','country_id' => '2'),\narray('id' => '5150','name' => '(KBL) - Kabul International Airport, Kabul, Afghanistan','country_id' => '2'),\narray('id' => '5151','name' => '(KDH) - Kandahar Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5152','name' => '(KHT) - Khost Airport, Khost, Afghanistan','country_id' => '2'),\narray('id' => '5153','name' => '(MMZ) - Maimana Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5154','name' => '(MZR) - Mazar I Sharif Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5155','name' => '(URN) - Urgun Airport, Urgun, Afghanistan','country_id' => '2'),\narray('id' => '5156','name' => '(LQN) - Qala-I-Naw Airport, Qala-I-Naw, Afghanistan','country_id' => '2'),\narray('id' => '5157','name' => '(OAS) - Sharana Airstrip, Sharana, Afghanistan','country_id' => '2'),\narray('id' => '5158','name' => '(OAH) - Shindand Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5159','name' => '(SGA) - Sheghnan Airport, Sheghnan, Afghanistan','country_id' => '2'),\narray('id' => '5160','name' => '(TII) - Tarin Kowt Airport, Tarin Kowt, Afghanistan','country_id' => '2'),\narray('id' => '5161','name' => '(TQN) - Talolqan Airport, Taloqan, Afghanistan','country_id' => '2'),\narray('id' => '5162','name' => '(UND) - Konduz Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5163','name' => '(OAZ) - Camp Bastion Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5164','name' => '(ZAJ) - Zaranj Airport, Zaranj, Afghanistan','country_id' => '2'),\narray('id' => '5165','name' => '(BAH) - Bahrain International Airport, Manama, Bahrain','country_id' => '21'),\narray('id' => '5166','name' => '(OCS) - Corisco International Airport, Corisco Island, Equatorial Guinea','country_id' => '85'),\narray('id' => '5167','name' => '(AHB) - Abha Regional Airport, Abha, Saudi Arabia','country_id' => '189'),\narray('id' => '5168','name' => '(HOF) - Al Ahsa Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5169','name' => '(ABT) - Al Baha Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5170','name' => '(BHH) - Bisha Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5171','name' => '(DMM) - King Fahd International Airport, Ad Dammam, Saudi Arabia','country_id' => '189'),\narray('id' => '5172','name' => '(DHA) - King Abdulaziz Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5173','name' => '(DWD) - Dawadmi Domestic Airport, Dawadmi, Saudi Arabia','country_id' => '189'),\narray('id' => '5174','name' => '(GIZ) - Jizan Regional Airport, Jizan, Saudi Arabia','country_id' => '189'),\narray('id' => '5175','name' => '(ELQ) - Gassim Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5176','name' => '(URY) - Gurayat Domestic Airport, Gurayat, Saudi Arabia','country_id' => '189'),\narray('id' => '5177','name' => '(HAS) - Ha\\'il Airport, Ha\"il, Saudi Arabia','country_id' => '189'),\narray('id' => '5178','name' => '(QJB) - Jubail Airport, Jubail, Saudi Arabia','country_id' => '189'),\narray('id' => '5179','name' => '(JED) - King Abdulaziz International Airport, Jeddah, Saudi Arabia','country_id' => '189'),\narray('id' => '5180','name' => '(KMC) - King Khaled Military City Airport, King Khaled Military City, Saudi Arabia','country_id' => '189'),\narray('id' => '5181','name' => '(KMX) - King Khaled Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5182','name' => '(MED) - Prince Mohammad Bin Abdulaziz Airport, Medina, Saudi Arabia','country_id' => '189'),\narray('id' => '5183','name' => '(EAM) - Nejran Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5184','name' => '(AQI) - Al Qaisumah/Hafr Al Batin Airport, Qaisumah, Saudi Arabia','country_id' => '189'),\narray('id' => '5185','name' => '(AKH) - Prince Sultan Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5186','name' => '(RAH) - Rafha Domestic Airport, Rafha, Saudi Arabia','country_id' => '189'),\narray('id' => '5187','name' => '(RUH) - King Khaled International Airport, Riyadh, Saudi Arabia','country_id' => '189'),\narray('id' => '5188','name' => '(RAE) - Arar Domestic Airport, Arar, Saudi Arabia','country_id' => '189'),\narray('id' => '5189','name' => '(XXN) - Riyadh Air Base, Riyadh, Saudi Arabia','country_id' => '189'),\narray('id' => '5190','name' => '(SHW) - Sharurah Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5191','name' => '(AJF) - Al-Jawf Domestic Airport, Al-Jawf, Saudi Arabia','country_id' => '189'),\narray('id' => '5192','name' => '(SLF) - Sulayel Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5193','name' => '(TUU) - Tabuk Airport, Tabuk, Saudi Arabia','country_id' => '189'),\narray('id' => '5194','name' => '(TIF) - Taaif Regional Airport, Taaif, Saudi Arabia','country_id' => '189'),\narray('id' => '5195','name' => '(TUI) - Turaif Domestic Airport, Turaif, Saudi Arabia','country_id' => '189'),\narray('id' => '5196','name' => '(WAE) - Wadi Al Dawasir Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5197','name' => '(EJH) - Al Wajh Domestic Airport, Al Wajh, Saudi Arabia','country_id' => '189'),\narray('id' => '5198','name' => '(YNB) - Prince Abdulmohsin Bin Abdulaziz Airport, Yanbu, Saudi Arabia','country_id' => '189'),\narray('id' => '5199','name' => '(ZUL) - Zilfi Airport, Zilfi, Saudi Arabia','country_id' => '189'),\narray('id' => '5200','name' => '(OGE) - Ogeranang Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5201','name' => '(OGM) - Ogubsucum Airport, Ustupo, Panama','country_id' => '169'),\narray('id' => '5202','name' => '(ABD) - Abadan Airport, Abadan, Iran','country_id' => '104'),\narray('id' => '5203','name' => '(DEF) - Dezful Airport, , Iran','country_id' => '104'),\narray('id' => '5204','name' => '(AKW) - Aghajari Airport, Aghajari,, Iran','country_id' => '104'),\narray('id' => '5205','name' => '(GCH) - Gachsaran Airport, Gachsaran, Iran','country_id' => '104'),\narray('id' => '5206','name' => '(OMI) - Omidiyeh Airport, Omidiyeh, Iran','country_id' => '104'),\narray('id' => '5207','name' => '(MRX) - Mahshahr Airport, , Iran','country_id' => '104'),\narray('id' => '5208','name' => '(AWZ) - Ahwaz Airport, Ahwaz, Iran','country_id' => '104'),\narray('id' => '5209','name' => '(AEU) - Abumusa Island Airport, , Iran','country_id' => '104'),\narray('id' => '5210','name' => '(BUZ) - Bushehr Airport, Bushehr, Iran','country_id' => '104'),\narray('id' => '5211','name' => '(KNR) - Jam Airport, Kangan, Iran','country_id' => '104'),\narray('id' => '5212','name' => '(KIH) - Kish International Airport, Kish Island, Iran','country_id' => '104'),\narray('id' => '5213','name' => '(BDH) - Bandar Lengeh Airport, Bandar Lengeh, Iran','country_id' => '104'),\narray('id' => '5214','name' => '(PGU) - Persian Gulf International Airport, Asalouyeh, Iran','country_id' => '104'),\narray('id' => '5215','name' => '(KHK) - Khark Island Airport, , Iran','country_id' => '104'),\narray('id' => '5216','name' => '(SXI) - Sirri Island Airport, , Iran','country_id' => '104'),\narray('id' => '5217','name' => '(LVP) - Lavan Island Airport, , Iran','country_id' => '104'),\narray('id' => '5218','name' => '(KSH) - Shahid Ashrafi Esfahani Airport, Kermanshah, Iran','country_id' => '104'),\narray('id' => '5219','name' => '(IIL) - Ilam Airport, Ilam, Iran','country_id' => '104'),\narray('id' => '5220','name' => '(KHD) - Khoram Abad Airport, , Iran','country_id' => '104'),\narray('id' => '5221','name' => '(SDG) - Sanandaj Airport, , Iran','country_id' => '104'),\narray('id' => '5222','name' => '(IFH) - Hesa Airport, Hesa, Iran','country_id' => '104'),\narray('id' => '5223','name' => '(IFN) - Esfahan Shahid Beheshti International Airport, Isfahan, Iran','country_id' => '104'),\narray('id' => '5224','name' => '(CQD) - Shahrekord Airport, Shahrekord, Iran','country_id' => '104'),\narray('id' => '5225','name' => '(RAS) - Sardar-e-Jangal Airport, Rasht, Iran','country_id' => '104'),\narray('id' => '5226','name' => '(HDM) - Hamadan Airport, Hamadan, Iran','country_id' => '104'),\narray('id' => '5227','name' => '(AJK) - Arak Airport, Araak, Iran','country_id' => '104'),\narray('id' => '5228','name' => '(IKA) - Imam Khomeini International Airport, Tehran, Iran','country_id' => '104'),\narray('id' => '5229','name' => '(THR) - Mehrabad International Airport, Tehran, Iran','country_id' => '104'),\narray('id' => '5230','name' => '(PYK) - Payam International Airport, Karaj, Iran','country_id' => '104'),\narray('id' => '5231','name' => '(BND) - Bandar Abbas International Airport, Bandar Abbas, Iran','country_id' => '104'),\narray('id' => '5232','name' => '(JYR) - Jiroft Airport, Jiroft, Iran','country_id' => '104'),\narray('id' => '5233','name' => '(KER) - Kerman Airport, Kerman, Iran','country_id' => '104'),\narray('id' => '5234','name' => '(BXR) - Bam Airport, , Iran','country_id' => '104'),\narray('id' => '5235','name' => '(HDR) - Havadarya Airport, Havadarya, Iran','country_id' => '104'),\narray('id' => '5236','name' => '(RJN) - Rafsanjan Airport, , Iran','country_id' => '104'),\narray('id' => '5237','name' => '(SYJ) - Sirjan Airport, , Iran','country_id' => '104'),\narray('id' => '5238','name' => '(XBJ) - Birjand Airport, Birjand, Iran','country_id' => '104'),\narray('id' => '5239','name' => '(CKT) - Sarakhs Airport, Sarakhs, Iran','country_id' => '104'),\narray('id' => '5240','name' => '(RUD) - Shahroud Airport, , Iran','country_id' => '104'),\narray('id' => '5241','name' => '(MHD) - Mashhad International Airport, Mashhad, Iran','country_id' => '104'),\narray('id' => '5242','name' => '(BJB) - Bojnord Airport, Bojnord, Iran','country_id' => '104'),\narray('id' => '5243','name' => '(AFZ) - Sabzevar National Airport, Sabzevar, Iran','country_id' => '104'),\narray('id' => '5244','name' => '(TCX) - Tabas Airport, Tabas, Iran','country_id' => '104'),\narray('id' => '5245','name' => '(KLM) - Kalaleh Airport, Kalaleh, Iran','country_id' => '104'),\narray('id' => '5246','name' => '(GBT) - Gorgan Airport, Gorgan, Iran','country_id' => '104'),\narray('id' => '5247','name' => '(BSM) - Bishe Kola Air Base, Amol, Iran','country_id' => '104'),\narray('id' => '5248','name' => '(NSH) - Noshahr Airport, , Iran','country_id' => '104'),\narray('id' => '5249','name' => '(RZR) - Ramsar Airport, , Iran','country_id' => '104'),\narray('id' => '5250','name' => '(SRY) - Dasht-e Naz Airport, Sari, Iran','country_id' => '104'),\narray('id' => '5251','name' => '(FAZ) - Fasa Airport, Fasa, Iran','country_id' => '104'),\narray('id' => '5252','name' => '(JAR) - Jahrom Airport, Jahrom, Iran','country_id' => '104'),\narray('id' => '5253','name' => '(LRR) - Lar Airport, Lar, Iran','country_id' => '104'),\narray('id' => '5254','name' => '(LFM) - Lamerd Airport, Lamerd, Iran','country_id' => '104'),\narray('id' => '5255','name' => '(SYZ) - Shiraz Shahid Dastghaib International Airport, Shiraz, Iran','country_id' => '104'),\narray('id' => '5256','name' => '(YES) - Yasouj Airport, Yasouj, Iran','country_id' => '104'),\narray('id' => '5257','name' => '(KHY) - Khoy Airport, Khoy, Iran','country_id' => '104'),\narray('id' => '5258','name' => '(ADU) - Ardabil Airport, Ardabil, Iran','country_id' => '104'),\narray('id' => '5259','name' => '(ACP) - Sahand Airport, Maragheh, Iran','country_id' => '104'),\narray('id' => '5260','name' => '(PFQ) - Parsabade Moghan Airport, Parsabad, Iran','country_id' => '104'),\narray('id' => '5261','name' => '(OMH) - Urmia Airport, Urmia, Iran','country_id' => '104'),\narray('id' => '5262','name' => '(TBZ) - Tabriz International Airport, Tabriz, Iran','country_id' => '104'),\narray('id' => '5263','name' => '(JWN) - Zanjan Airport, Zanjan, Iran','country_id' => '104'),\narray('id' => '5264','name' => '(AZD) - Shahid Sadooghi Airport, Yazd, Iran','country_id' => '104'),\narray('id' => '5265','name' => '(ACZ) - Zabol Airport, , Iran','country_id' => '104'),\narray('id' => '5266','name' => '(ZBR) - Konarak Airport, Chabahar, Iran','country_id' => '104'),\narray('id' => '5267','name' => '(ZAH) - Zahedan International Airport, Zahedan, Iran','country_id' => '104'),\narray('id' => '5268','name' => '(IHR) - Iran Shahr Airport, Iranshahr, Iran','country_id' => '104'),\narray('id' => '5269','name' => '(AMM) - Queen Alia International Airport, Amman, Jordan','country_id' => '109'),\narray('id' => '5270','name' => '(ADJ) - Amman-Marka International Airport, Amman, Jordan','country_id' => '109'),\narray('id' => '5271','name' => '(AQJ) - Aqaba King Hussein International Airport, Aqaba, Jordan','country_id' => '109'),\narray('id' => '5272','name' => '(OMF) - King Hussein Air College, Mafraq, Jordan','country_id' => '109'),\narray('id' => '5273','name' => '(XIJ) - Ahmed Al Jaber Air Base, Ahmed Al Jaber AB, Kuwait','country_id' => '119'),\narray('id' => '5274','name' => '(KWI) - Kuwait International Airport, Kuwait City, Kuwait','country_id' => '119'),\narray('id' => '5275','name' => '(OKV) - Okao Airport, Okao, Papua New Guinea','country_id' => '172'),\narray('id' => '5276','name' => '(BEY) - Beirut Rafic Hariri International Airport, Beirut, Lebanon','country_id' => '123'),\narray('id' => '5277','name' => '(KYE) - Rene Mouawad Air Base, Tripoli, Lebanon','country_id' => '123'),\narray('id' => '5278','name' => '(OLQ) - Olsobip Airport, Olsobip, Papua New Guinea','country_id' => '172'),\narray('id' => '5279','name' => '(BYB) - Dibba Airport, Dibba Al-Baya, Oman','country_id' => '168'),\narray('id' => '5280','name' => '(AOM) - Adam Airport, Adam, Oman','country_id' => '168'),\narray('id' => '5281','name' => '(JNJ) - Duqm Jaaluni Airport, Duqm, Oman','country_id' => '168'),\narray('id' => '5282','name' => '(MNH) - Rustaq Airport, Al Masna\\'ah, Oman','country_id' => '168'),\narray('id' => '5283','name' => '(AUH) - Abu Dhabi International Airport, Abu Dhabi, United Arab Emirates','country_id' => '1'),\narray('id' => '5284','name' => '(AZI) - Bateen Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5285','name' => '(AAN) - Al Ain International Airport, Al Ain, United Arab Emirates','country_id' => '1'),\narray('id' => '5286','name' => '(DHF) - Al Dhafra Air Base, , United Arab Emirates','country_id' => '1'),\narray('id' => '5287','name' => '(XSB) - Sir Bani Yas Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5288','name' => '(DXB) - Dubai International Airport, Dubai, United Arab Emirates','country_id' => '1'),\narray('id' => '5289','name' => '(NHD) - Al Minhad Air Base, Dubai, United Arab Emirates','country_id' => '1'),\narray('id' => '5290','name' => '(DWC) - Al Maktoum International Airport, Jebel Ali, United Arab Emirates','country_id' => '1'),\narray('id' => '5291','name' => '(FJR) - Fujairah International Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5292','name' => '(OMN) - Osmanabad Airport, Osmanabad, India','country_id' => '101'),\narray('id' => '5293','name' => '(RKT) - Ras Al Khaimah International Airport, Ras Al Khaimah, United Arab Emirates','country_id' => '1'),\narray('id' => '5294','name' => '(SHJ) - Sharjah International Airport, Sharjah, United Arab Emirates','country_id' => '1'),\narray('id' => '5295','name' => '(OMY) - Preah Vinhear Airport, Tbeng Meanchey, Cambodia','country_id' => '113'),\narray('id' => '5296','name' => '(ONB) - Ononge Airport, Onange Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '5297','name' => '(RMB) - Buraimi Airport, Buraimi, Oman','country_id' => '168'),\narray('id' => '5298','name' => '(FAU) - Fahud Airport, Fahud, Oman','country_id' => '168'),\narray('id' => '5299','name' => '(RNM) - Qarn Alam Airport, Ghaba, Oman','country_id' => '168'),\narray('id' => '5300','name' => '(JNJ) - Ja\\'Aluni Airport, Duqm, Oman','country_id' => '168'),\narray('id' => '5301','name' => '(KHS) - Khasab Air Base, Khasab, Oman','country_id' => '168'),\narray('id' => '5302','name' => '(LKW) - Lekhwair Airport, , Oman','country_id' => '168'),\narray('id' => '5303','name' => '(MSH) - Masirah Air Base, Masirah, Oman','country_id' => '168'),\narray('id' => '5304','name' => '(MCT) - Muscat International Airport, Muscat, Oman','country_id' => '168'),\narray('id' => '5305','name' => '(OMM) - Marmul Airport, Marmul, Oman','country_id' => '168'),\narray('id' => '5306','name' => '(SLL) - Salalah Airport, Salalah, Oman','country_id' => '168'),\narray('id' => '5307','name' => '(SUH) - Sur Airport, Sur, Oman','country_id' => '168'),\narray('id' => '5308','name' => '(TTH) - Thumrait Air Base, Thumrait, Oman','country_id' => '168'),\narray('id' => '5309','name' => '(DDU) - Dadu West Airport, Dadu, Pakistan','country_id' => '174'),\narray('id' => '5310','name' => '(AAW) - Abbottabad Airport, Abbottabad, Pakistan','country_id' => '174'),\narray('id' => '5311','name' => '(BHW) - Bhagatanwala Airport, Bhagatanwala, Pakistan','country_id' => '174'),\narray('id' => '5312','name' => '(BNP) - Bannu Airport, Bannu, Pakistan','country_id' => '174'),\narray('id' => '5313','name' => '(WGB) - Bahawalnagar Airport, Bahawalnagar, Pakistan','country_id' => '174'),\narray('id' => '5314','name' => '(BHV) - Bahawalpur Airport, Bahawalpur, Pakistan','country_id' => '174'),\narray('id' => '5315','name' => '(CJL) - Chitral Airport, Chitral, Pakistan','country_id' => '174'),\narray('id' => '5316','name' => '(CHB) - Chilas Airport, Chilas, Pakistan','country_id' => '174'),\narray('id' => '5317','name' => '(DBA) - Dalbandin Airport, Dalbandin, Pakistan','country_id' => '174'),\narray('id' => '5318','name' => '(DDU) - Dadu Airport, Dadu, Pakistan','country_id' => '174'),\narray('id' => '5319','name' => '(DEA) - Dera Ghazi Khan Airport, Dera Ghazi Khan, Pakistan','country_id' => '174'),\narray('id' => '5320','name' => '(DSK) - Dera Ismael Khan Airport, Dera Ismael Khan, Pakistan','country_id' => '174'),\narray('id' => '5321','name' => '(LYP) - Faisalabad International Airport, Faisalabad, Pakistan','country_id' => '174'),\narray('id' => '5322','name' => '(GWD) - Gwadar International Airport, Gwadar, Pakistan','country_id' => '174'),\narray('id' => '5323','name' => '(GIL) - Gilgit Airport, Gilgit, Pakistan','country_id' => '174'),\narray('id' => '5324','name' => '(JAG) - Shahbaz Air Base, Jacobabad, Pakistan','country_id' => '174'),\narray('id' => '5325','name' => '(JIW) - Jiwani Airport, Jiwani, Pakistan','country_id' => '174'),\narray('id' => '5326','name' => '(KHI) - Jinnah International Airport, Karachi, Pakistan','country_id' => '174'),\narray('id' => '5327','name' => '(HDD) - Hyderabad Airport, Hyderabad, Pakistan','country_id' => '174'),\narray('id' => '5328','name' => '(KDD) - Khuzdar Airport, Khuzdar, Pakistan','country_id' => '174'),\narray('id' => '5329','name' => '(KBH) - Kalat Airport, Kalat, Pakistan','country_id' => '174'),\narray('id' => '5330','name' => '(OHT) - Kohat Airport, Kohat, Pakistan','country_id' => '174'),\narray('id' => '5331','name' => '(LHE) - Alama Iqbal International Airport, Lahore, Pakistan','country_id' => '174'),\narray('id' => '5332','name' => '(LRG) - Loralai Airport, Loralai, Pakistan','country_id' => '174'),\narray('id' => '5333','name' => '(XJM) - Mangla Airport, Mangla, Pakistan','country_id' => '174'),\narray('id' => '5334','name' => '(MFG) - Muzaffarabad Airport, Muzaffarabad, Pakistan','country_id' => '174'),\narray('id' => '5335','name' => '(MWD) - Mianwali Air Base, Mianwali, Pakistan','country_id' => '174'),\narray('id' => '5336','name' => '(MJD) - Moenjodaro Airport, Moenjodaro, Pakistan','country_id' => '174'),\narray('id' => '5337','name' => '(MPD) - Mirpur Khas Air Base, Mirpur Khas, Pakistan','country_id' => '174'),\narray('id' => '5338','name' => '(MPD) - Sindhri Tharparkar Airport, Sindhri, Pakistan','country_id' => '174'),\narray('id' => '5339','name' => '(ATG) - Minhas Air Base, Kamra, Pakistan','country_id' => '174'),\narray('id' => '5340','name' => '(MUX) - Multan International Airport, Multan, Pakistan','country_id' => '174'),\narray('id' => '5341','name' => '(WNS) - Nawabshah Airport, Nawabash, Pakistan','country_id' => '174'),\narray('id' => '5342','name' => '(NHS) - Nushki Airport, Nushki, Pakistan','country_id' => '174'),\narray('id' => '5343','name' => '(ORW) - Ormara Airport, Ormara Raik, Pakistan','country_id' => '174'),\narray('id' => '5344','name' => '(PAJ) - Parachinar Airport, Parachinar, Pakistan','country_id' => '174'),\narray('id' => '5345','name' => '(PJG) - Panjgur Airport, Panjgur, Pakistan','country_id' => '174'),\narray('id' => '5346','name' => '(PSI) - Pasni Airport, Pasni, Pakistan','country_id' => '174'),\narray('id' => '5347','name' => '(PEW) - Peshawar International Airport, Peshawar, Pakistan','country_id' => '174'),\narray('id' => '5348','name' => '(UET) - Quetta International Airport, Quetta, Pakistan','country_id' => '174'),\narray('id' => '5349','name' => '(RYK) - Shaikh Zaid Airport, Rahim Yar Khan, Pakistan','country_id' => '174'),\narray('id' => '5350','name' => '(ISB) - Benazir Bhutto International Airport, Islamabad, Pakistan','country_id' => '174'),\narray('id' => '5351','name' => '(RAZ) - Rawalakot Airport, Rawalakot, Pakistan','country_id' => '174'),\narray('id' => '5352','name' => '(SBQ) - Sibi Airport, Sibi, Pakistan','country_id' => '174'),\narray('id' => '5353','name' => '(KDU) - Skardu Airport, Skardu, Pakistan','country_id' => '174'),\narray('id' => '5354','name' => '(SKZ) - Sukkur Airport, Mirpur Khas, Pakistan','country_id' => '174'),\narray('id' => '5355','name' => '(SYW) - Sehwan Sharif Airport, Sehwan Sharif, Pakistan','country_id' => '174'),\narray('id' => '5356','name' => '(SGI) - Mushaf Air Base, Sargodha, Pakistan','country_id' => '174'),\narray('id' => '5357','name' => '(SDT) - Saidu Sharif Airport, Saidu Sharif, Pakistan','country_id' => '174'),\narray('id' => '5358','name' => '(SKT) - Sialkot Airport, Sialkot, Pakistan','country_id' => '174'),\narray('id' => '5359','name' => '(SUL) - Sui Airport, Sui, Pakistan','country_id' => '174'),\narray('id' => '5360','name' => '(SWN) - Sahiwal Airport, Sahiwal, Pakistan','country_id' => '174'),\narray('id' => '5361','name' => '(TLB) - Tarbela Dam Airport, Tarbela, Pakistan','country_id' => '174'),\narray('id' => '5362','name' => '(BDN) - Talhar Airport, Badin, Pakistan','country_id' => '174'),\narray('id' => '5363','name' => '(TFT) - Taftan Airport, Taftan, Pakistan','country_id' => '174'),\narray('id' => '5364','name' => '(TUK) - Turbat International Airport, Turbat, Pakistan','country_id' => '174'),\narray('id' => '5365','name' => '(WAF) - Wana Airport, Waana, Pakistan','country_id' => '174'),\narray('id' => '5366','name' => '(PZH) - Zhob Airport, Fort Sandeman, Pakistan','country_id' => '174'),\narray('id' => '5367','name' => '(IQA) - Al Asad Air Base, HA\"t, Iraq','country_id' => '103'),\narray('id' => '5368','name' => '(TQD) - Al Taqaddum Air Base, Al Habbaniyah, Iraq','country_id' => '103'),\narray('id' => '5369','name' => '(BMN) - Bamarni Airport, Bamarni, Iraq','country_id' => '103'),\narray('id' => '5370','name' => '(XQC) - Joint Base Balad, Balad, Iraq','country_id' => '103'),\narray('id' => '5371','name' => '(BGW) - Baghdad International Airport, Baghdad, Iraq','country_id' => '103'),\narray('id' => '5372','name' => '(OSB) - Mosul International Airport, Mosul, Iraq','country_id' => '103'),\narray('id' => '5373','name' => '(EBL) - Erbil International Airport, Arbil, Iraq','country_id' => '103'),\narray('id' => '5374','name' => '(KIK) - Kirkuk Air Base, Kirkuk, Iraq','country_id' => '103'),\narray('id' => '5375','name' => '(BSR) - Basrah International Airport, Basrah, Iraq','country_id' => '103'),\narray('id' => '5376','name' => '(NJF) - Al Najaf International Airport, Najaf, Iraq','country_id' => '103'),\narray('id' => '5377','name' => '(RQW) - Qayyarah West Airport, Qayyarah, Iraq','country_id' => '103'),\narray('id' => '5378','name' => '(ISU) - Sulaymaniyah International Airport, Sulaymaniyah, Iraq','country_id' => '103'),\narray('id' => '5379','name' => '(ALP) - Aleppo International Airport, Aleppo, Syria','country_id' => '207'),\narray('id' => '5380','name' => '(DAM) - Damascus International Airport, Damascus, Syria','country_id' => '207'),\narray('id' => '5381','name' => '(DEZ) - Deir ez-Zor Airport, Deir ez-Zor, Syria','country_id' => '207'),\narray('id' => '5382','name' => '(OSE) - Omora Airport, Omora, Papua New Guinea','country_id' => '172'),\narray('id' => '5383','name' => '(OSG) - Ossima Airport, Ossima, Papua New Guinea','country_id' => '172'),\narray('id' => '5384','name' => '(KAC) - Kamishly Airport, Kamishly, Syria','country_id' => '207'),\narray('id' => '5385','name' => '(LTK) - Bassel Al-Assad International Airport, Latakia, Syria','country_id' => '207'),\narray('id' => '5386','name' => '(PMS) - Palmyra Airport, Tadmur, Syria','country_id' => '207'),\narray('id' => '5387','name' => '(XJD) - Al Udeid Air Base, Ar Rayyan, Qatar','country_id' => '183'),\narray('id' => '5388','name' => '(OTT) - Andre Maggi Airport, CotriguaAu, Brazil','country_id' => '29'),\narray('id' => '5389','name' => '(OUM) - Oum Hadjer Airport, Oum Hadjer, Chad','country_id' => '210'),\narray('id' => '5390','name' => '(OXO) - Orientos Airport, Orientos, Australia','country_id' => '12'),\narray('id' => '5391','name' => '(ADE) - Aden International Airport, Aden, Yemen','country_id' => '241'),\narray('id' => '5392','name' => '(EAB) - Abbse Airport, Abbse, Yemen','country_id' => '241'),\narray('id' => '5393','name' => '(AXK) - Ataq Airport, , Yemen','country_id' => '241'),\narray('id' => '5394','name' => '(BYD) - Al-Bayda Airport, Al-Bayda, Yemen','country_id' => '241'),\narray('id' => '5395','name' => '(BHN) - Beihan Airport, , Yemen','country_id' => '241'),\narray('id' => '5396','name' => '(BUK) - Al-Bough Airport, Al-Bough, Yemen','country_id' => '241'),\narray('id' => '5397','name' => '(AAY) - Al Ghaidah International Airport, , Yemen','country_id' => '241'),\narray('id' => '5398','name' => '(HOD) - Hodeidah International Airport, Hodeida, Yemen','country_id' => '241'),\narray('id' => '5399','name' => '(KAM) - Kamaran Airport, Kamaran, Yemen','country_id' => '241'),\narray('id' => '5400','name' => '(MYN) - Mareb Airport, Mareb, Yemen','country_id' => '241'),\narray('id' => '5401','name' => '(UKR) - Mukeiras Airport, Mukayras, Yemen','country_id' => '241'),\narray('id' => '5402','name' => '(IHN) - Qishn Airport, Qishn, Yemen','country_id' => '241'),\narray('id' => '5403','name' => '(RIY) - Mukalla International Airport, Riyan, Yemen','country_id' => '241'),\narray('id' => '5404','name' => '(SYE) - Sadah Airport, Sadah, Yemen','country_id' => '241'),\narray('id' => '5405','name' => '(SAH) - Sana\\'a International Airport, Sana\\'a, Yemen','country_id' => '241'),\narray('id' => '5406','name' => '(SCT) - Socotra International Airport, Socotra Islands, Yemen','country_id' => '241'),\narray('id' => '5407','name' => '(GXF) - Sayun International Airport, Sayun, Yemen','country_id' => '241'),\narray('id' => '5408','name' => '(TAI) - Ta\\'izz International Airport, Ta\\'izz, Yemen','country_id' => '241'),\narray('id' => '5409','name' => '(ACU) - Achutupo Airport, Achutupo, Panama','country_id' => '169'),\narray('id' => '5410','name' => '(AIL) - Alligandi Airport, Alligandi, Panama','country_id' => '169'),\narray('id' => '5411','name' => '(CTE) - Carti Airport, Carti, Panama','country_id' => '169'),\narray('id' => '5412','name' => '(MPP) - Mulatupo Airport, Mulatupo, Panama','country_id' => '169'),\narray('id' => '5413','name' => '(PYC) - PlayAn Chico Airport, PlayAn Chico, Panama','country_id' => '169'),\narray('id' => '5414','name' => '(RIZ) - RAo AzAocar Airport, RAo AzAocar, Panama','country_id' => '169'),\narray('id' => '5415','name' => '(NMG) - San Miguel Airport, Isla del Rey, Panama','country_id' => '169'),\narray('id' => '5416','name' => '(PYV) - Yaviza Airport, Yaviza, Panama','country_id' => '169'),\narray('id' => '5417','name' => '(BFQ) - Bahia PiAa Airport, Bahia PiAa, Panama','country_id' => '169'),\narray('id' => '5418','name' => '(ELE) - EL Real Airport, El Real de Santa MarAa, Panama','country_id' => '169'),\narray('id' => '5419','name' => '(OTD) - Contadora Airport, Contadora Island, Panama','country_id' => '169'),\narray('id' => '5420','name' => '(SAX) - Sambu Airport, Boca de SAbalo, Panama','country_id' => '169'),\narray('id' => '5421','name' => '(AKB) - Atka Airport, Atka, United States','country_id' => '228'),\narray('id' => '5422','name' => '(PML) - Port Moller Airport, Cold Bay, United States','country_id' => '228'),\narray('id' => '5423','name' => '(PAQ) - Palmer Municipal Airport, Palmer, United States','country_id' => '228'),\narray('id' => '5424','name' => '(BTI) - Barter Island LRRS Airport, Barter Island Lrrs, United States','country_id' => '228'),\narray('id' => '5425','name' => '(BET) - Bethel Airport, Bethel, United States','country_id' => '228'),\narray('id' => '5426','name' => '(BVU) - Beluga Airport, Beluga, United States','country_id' => '228'),\narray('id' => '5427','name' => '(BIG) - Allen Army Airfield, Delta Junction Ft Greely, United States','country_id' => '228'),\narray('id' => '5428','name' => '(BKC) - Buckland Airport, Buckland, United States','country_id' => '228'),\narray('id' => '5429','name' => '(BMX) - Big Mountain Airport, Big Mountain, United States','country_id' => '228'),\narray('id' => '5430','name' => '(BRW) - Wiley Post Will Rogers Memorial Airport, Barrow, United States','country_id' => '228'),\narray('id' => '5431','name' => '(BTT) - Bettles Airport, Bettles, United States','country_id' => '228'),\narray('id' => '5432','name' => '(CDB) - Cold Bay Airport, Cold Bay, United States','country_id' => '228'),\narray('id' => '5433','name' => '(CEM) - Central Airport, Central, United States','country_id' => '228'),\narray('id' => '5434','name' => '(CIK) - Chalkyitsik Airport, Chalkyitsik, United States','country_id' => '228'),\narray('id' => '5435','name' => '(CYF) - Chefornak Airport, Chefornak, United States','country_id' => '228'),\narray('id' => '5436','name' => '(SCM) - Scammon Bay Airport, Scammon Bay, United States','country_id' => '228'),\narray('id' => '5437','name' => '(IRC) - Circle City /New/ Airport, Circle, United States','country_id' => '228'),\narray('id' => '5438','name' => '(CDV) - Merle K (Mudhole) Smith Airport, Cordova, United States','country_id' => '228'),\narray('id' => '5439','name' => '(CXF) - Coldfoot Airport, Coldfoot, United States','country_id' => '228'),\narray('id' => '5440','name' => '(CYT) - Yakataga Airport, Yakataga, United States','country_id' => '228'),\narray('id' => '5441','name' => '(CZF) - Cape Romanzof LRRS Airport, Cape Romanzof, United States','country_id' => '228'),\narray('id' => '5442','name' => '(DRG) - Deering Airport, Deering, United States','country_id' => '228'),\narray('id' => '5443','name' => '(RDB) - Red Dog Airport, Red Dog, United States','country_id' => '228'),\narray('id' => '5444','name' => '(ADK) - Adak Airport, Adak Island, United States','country_id' => '228'),\narray('id' => '5445','name' => '(DLG) - Dillingham Airport, Dillingham, United States','country_id' => '228'),\narray('id' => '5446','name' => '(MLL) - Marshall Don Hunter Sr Airport, Marshall, United States','country_id' => '228'),\narray('id' => '5447','name' => '(ADQ) - Kodiak Airport, Kodiak, United States','country_id' => '228'),\narray('id' => '5448','name' => '(DUT) - Unalaska Airport, Unalaska, United States','country_id' => '228'),\narray('id' => '5449','name' => '(KKH) - Kongiganak Airport, Kongiganak, United States','country_id' => '228'),\narray('id' => '5450','name' => '(EDF) - Elmendorf Air Force Base, Anchorage, United States','country_id' => '228'),\narray('id' => '5451','name' => '(EEK) - Eek Airport, Eek, United States','country_id' => '228'),\narray('id' => '5452','name' => '(EAA) - Eagle Airport, Eagle, United States','country_id' => '228'),\narray('id' => '5453','name' => '(EHM) - Cape Newenham LRRS Airport, Cape Newenham, United States','country_id' => '228'),\narray('id' => '5454','name' => '(EIL) - Eielson Air Force Base, Fairbanks, United States','country_id' => '228'),\narray('id' => '5455','name' => '(EMK) - Emmonak Airport, Emmonak, United States','country_id' => '228'),\narray('id' => '5456','name' => '(ENA) - Kenai Municipal Airport, Kenai, United States','country_id' => '228'),\narray('id' => '5457','name' => '(WWT) - Newtok Airport, Newtok, United States','country_id' => '228'),\narray('id' => '5458','name' => '(FAI) - Fairbanks International Airport, Fairbanks, United States','country_id' => '228'),\narray('id' => '5459','name' => '(FBK) - Ladd AAF Airfield, Fairbanks/Ft Wainwright, United States','country_id' => '228'),\narray('id' => '5460','name' => '(ABL) - Ambler Airport, Ambler, United States','country_id' => '228'),\narray('id' => '5461','name' => '(FMC) - Five Mile Airport, Five Mile, United States','country_id' => '228'),\narray('id' => '5462','name' => '(FWL) - Farewell Airport, Farewell, United States','country_id' => '228'),\narray('id' => '5463','name' => '(GAL) - Edward G. Pitka Sr Airport, Galena, United States','country_id' => '228'),\narray('id' => '5464','name' => '(GBH) - Galbraith Lake Airport, Galbraith Lake, United States','country_id' => '228'),\narray('id' => '5465','name' => '(SHG) - Shungnak Airport, Shungnak, United States','country_id' => '228'),\narray('id' => '5466','name' => '(GKN) - Gulkana Airport, Gulkana, United States','country_id' => '228'),\narray('id' => '5467','name' => '(GLV) - Golovin Airport, Golovin, United States','country_id' => '228'),\narray('id' => '5468','name' => '(GAM) - Gambell Airport, Gambell, United States','country_id' => '228'),\narray('id' => '5469','name' => '(BGQ) - Big Lake Airport, Big Lake, United States','country_id' => '228'),\narray('id' => '5470','name' => '(GST) - Gustavus Airport, Gustavus, United States','country_id' => '228'),\narray('id' => '5471','name' => '(NME) - Nightmute Airport, Nightmute, United States','country_id' => '228'),\narray('id' => '5472','name' => '(SGY) - Skagway Airport, Skagway, United States','country_id' => '228'),\narray('id' => '5473','name' => '(HCR) - Holy Cross Airport, Holy Cross, United States','country_id' => '228'),\narray('id' => '5474','name' => '(HSL) - Huslia Airport, Huslia, United States','country_id' => '228'),\narray('id' => '5475','name' => '(HNS) - Haines Airport, Haines, United States','country_id' => '228'),\narray('id' => '5476','name' => '(HOM) - Homer Airport, Homer, United States','country_id' => '228'),\narray('id' => '5477','name' => '(HPB) - Hooper Bay Airport, Hooper Bay, United States','country_id' => '228'),\narray('id' => '5478','name' => '(HUS) - Hughes Airport, Hughes, United States','country_id' => '228'),\narray('id' => '5479','name' => '(SHX) - Shageluk Airport, Shageluk, United States','country_id' => '228'),\narray('id' => '5480','name' => '(IGG) - Igiugig Airport, Igiugig, United States','country_id' => '228'),\narray('id' => '5481','name' => '(EGX) - Egegik Airport, Egegik, United States','country_id' => '228'),\narray('id' => '5482','name' => '(IAN) - Bob Baker Memorial Airport, Kiana, United States','country_id' => '228'),\narray('id' => '5483','name' => '(ILI) - Iliamna Airport, Iliamna, United States','country_id' => '228'),\narray('id' => '5484','name' => '(UTO) - Indian Mountain LRRS Airport, Utopia Creek, United States','country_id' => '228'),\narray('id' => '5485','name' => '(MCL) - McKinley National Park Airport, McKinley Park, United States','country_id' => '228'),\narray('id' => '5486','name' => '(WAA) - Wales Airport, Wales, United States','country_id' => '228'),\narray('id' => '5487','name' => '(JNU) - Juneau International Airport, Juneau, United States','country_id' => '228'),\narray('id' => '5488','name' => '(KGK) - Koliganek Airport, Koliganek, United States','country_id' => '228'),\narray('id' => '5489','name' => '(KDK) - Kodiak Municipal Airport, Kodiak, United States','country_id' => '228'),\narray('id' => '5490','name' => '(KFP) - False Pass Airport, False Pass, United States','country_id' => '228'),\narray('id' => '5491','name' => '(AKK) - Akhiok Airport, Akhiok, United States','country_id' => '228'),\narray('id' => '5492','name' => '(KPN) - Kipnuk Airport, Kipnuk, United States','country_id' => '228'),\narray('id' => '5493','name' => '(KKA) - Koyuk Alfred Adams Airport, Koyuk, United States','country_id' => '228'),\narray('id' => '5494','name' => '(LKK) - Kulik Lake Airport, Kulik Lake, United States','country_id' => '228'),\narray('id' => '5495','name' => '(AKN) - King Salmon Airport, King Salmon, United States','country_id' => '228'),\narray('id' => '5496','name' => '(IKO) - Nikolski Air Station, Nikolski, United States','country_id' => '228'),\narray('id' => '5497','name' => '(AKP) - Anaktuvuk Pass Airport, Anaktuvuk Pass, United States','country_id' => '228'),\narray('id' => '5498','name' => '(KTN) - Ketchikan International Airport, Ketchikan, United States','country_id' => '228'),\narray('id' => '5499','name' => '(UUK) - Ugnu-Kuparuk Airport, Kuparuk, United States','country_id' => '228'),\narray('id' => '5500','name' => '(KAL) - Kaltag Airport, Kaltag, United States','country_id' => '228'),\narray('id' => '5501','name' => '(KLW) - Klawock Airport, Klawock, United States','country_id' => '228'),\narray('id' => '5502','name' => '(KYK) - Karluk Airport, Karluk, United States','country_id' => '228'),\narray('id' => '5503','name' => '(KLN) - Larsen Bay Airport, Larsen Bay, United States','country_id' => '228'),\narray('id' => '5504','name' => '(KLG) - Kalskag Airport, Kalskag, United States','country_id' => '228'),\narray('id' => '5505','name' => '(DQH) - Alpine Airstrip, Deadhorse, United States','country_id' => '228'),\narray('id' => '5506','name' => '(WCR) - Chandalar Lake Airport, Chandalar Lake, United States','country_id' => '228'),\narray('id' => '5507','name' => '(LUR) - Cape Lisburne LRRS Airport, Cape Lisburne, United States','country_id' => '228'),\narray('id' => '5508','name' => '(KMO) - Manokotak Airport, Manokotak, United States','country_id' => '228'),\narray('id' => '5509','name' => '(MCG) - McGrath Airport, McGrath, United States','country_id' => '228'),\narray('id' => '5510','name' => '(MDO) - Middleton Island Airport, Middleton Island, United States','country_id' => '228'),\narray('id' => '5511','name' => '(SMK) - St Michael Airport, St Michael, United States','country_id' => '228'),\narray('id' => '5512','name' => '(MLY) - Manley Hot Springs Airport, Manley Hot Springs, United States','country_id' => '228'),\narray('id' => '5513','name' => '(MOU) - Mountain Village Airport, Mountain Village, United States','country_id' => '228'),\narray('id' => '5514','name' => '(MRI) - Merrill Field, Anchorage, United States','country_id' => '228'),\narray('id' => '5515','name' => '(MXY) - Mc Carthy Airport, Mccarthy, United States','country_id' => '228'),\narray('id' => '5516','name' => '(MYU) - Mekoryuk Airport, Mekoryuk, United States','country_id' => '228'),\narray('id' => '5517','name' => '(WNA) - Napakiak Airport, Napakiak, United States','country_id' => '228'),\narray('id' => '5518','name' => '(ANC) - Ted Stevens Anchorage International Airport, Anchorage, United States','country_id' => '228'),\narray('id' => '5519','name' => '(ANI) - Aniak Airport, Aniak, United States','country_id' => '228'),\narray('id' => '5520','name' => '(ENN) - Nenana Municipal Airport, Nenana, United States','country_id' => '228'),\narray('id' => '5521','name' => '(NNL) - Nondalton Airport, Nondalton, United States','country_id' => '228'),\narray('id' => '5522','name' => '(ANN) - Annette Island Airport, Annette, United States','country_id' => '228'),\narray('id' => '5523','name' => '(ANV) - Anvik Airport, Anvik, United States','country_id' => '228'),\narray('id' => '5524','name' => '(KNW) - New Stuyahok Airport, New Stuyahok, United States','country_id' => '228'),\narray('id' => '5525','name' => '(OBU) - Kobuk Airport, Kobuk, United States','country_id' => '228'),\narray('id' => '5526','name' => '(PCA) - Portage Creek Airport, Portage Creek, United States','country_id' => '228'),\narray('id' => '5527','name' => '(HNH) - Hoonah Airport, Hoonah, United States','country_id' => '228'),\narray('id' => '5528','name' => '(OME) - Nome Airport, Nome, United States','country_id' => '228'),\narray('id' => '5529','name' => '(OOK) - Toksook Bay Airport, Toksook Bay, United States','country_id' => '228'),\narray('id' => '5530','name' => '(ORT) - Northway Airport, Northway, United States','country_id' => '228'),\narray('id' => '5531','name' => '(OTZ) - Ralph Wien Memorial Airport, Kotzebue, United States','country_id' => '228'),\narray('id' => '5532','name' => '(NLG) - Nelson Lagoon Airport, Nelson Lagoon, United States','country_id' => '228'),\narray('id' => '5533','name' => '(STG) - St George Airport, St George, United States','country_id' => '228'),\narray('id' => '5534','name' => '(KPC) - Port Clarence Coast Guard Station, Port Clarence, United States','country_id' => '228'),\narray('id' => '5535','name' => '(KPV) - Perryville Airport, Perryville, United States','country_id' => '228'),\narray('id' => '5536','name' => '(PSG) - Petersburg James A Johnson Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '5537','name' => '(PTH) - Port Heiden Airport, Port Heiden, United States','country_id' => '228'),\narray('id' => '5538','name' => '(PKA) - Napaskiak Airport, Napaskiak, United States','country_id' => '228'),\narray('id' => '5539','name' => '(PTU) - Platinum Airport, Platinum, United States','country_id' => '228'),\narray('id' => '5540','name' => '(PIP) - Pilot Point Airport, Pilot Point, United States','country_id' => '228'),\narray('id' => '5541','name' => '(PHO) - Point Hope Airport, Point Hope, United States','country_id' => '228'),\narray('id' => '5542','name' => '(PPC) - Prospect Creek Airport, Prospect Creek, United States','country_id' => '228'),\narray('id' => '5543','name' => '(KWN) - Quinhagak Airport, Quinhagak, United States','country_id' => '228'),\narray('id' => '5544','name' => '(NUI) - Nuiqsut Airport, Nuiqsut, United States','country_id' => '228'),\narray('id' => '5545','name' => '(ARC) - Arctic Village Airport, Arctic Village, United States','country_id' => '228'),\narray('id' => '5546','name' => '(RSH) - Russian Mission Airport, Russian Mission, United States','country_id' => '228'),\narray('id' => '5547','name' => '(RBY) - Ruby Airport, Ruby, United States','country_id' => '228'),\narray('id' => '5548','name' => '(SVA) - Savoonga Airport, Savoonga, United States','country_id' => '228'),\narray('id' => '5549','name' => '(SCC) - Deadhorse Airport, Deadhorse, United States','country_id' => '228'),\narray('id' => '5550','name' => '(SDP) - Sand Point Airport, Sand Point, United States','country_id' => '228'),\narray('id' => '5551','name' => '(SHH) - Shishmaref Airport, Shishmaref, United States','country_id' => '228'),\narray('id' => '5552','name' => '(SIT) - Sitka Rocky Gutierrez Airport, Sitka, United States','country_id' => '228'),\narray('id' => '5553','name' => '(WLK) - Selawik Airport, Selawik, United States','country_id' => '228'),\narray('id' => '5554','name' => '(SLQ) - Sleetmute Airport, Sleetmute, United States','country_id' => '228'),\narray('id' => '5555','name' => '(KSM) - St Mary\\'s Airport, St Mary\\'s, United States','country_id' => '228'),\narray('id' => '5556','name' => '(SNP) - St Paul Island Airport, St Paul Island, United States','country_id' => '228'),\narray('id' => '5557','name' => '(SOV) - Seldovia Airport, Seldovia, United States','country_id' => '228'),\narray('id' => '5558','name' => '(SMU) - Sheep Mountain Airport, Sheep Mountain, United States','country_id' => '228'),\narray('id' => '5559','name' => '(UMM) - Summit Airport, Summit, United States','country_id' => '228'),\narray('id' => '5560','name' => '(SVW) - Sparrevohn LRRS Airport, Sparrevohn, United States','country_id' => '228'),\narray('id' => '5561','name' => '(SKW) - Skwentna Airport, Skwentna, United States','country_id' => '228'),\narray('id' => '5562','name' => '(SXQ) - Soldotna Airport, Soldotna, United States','country_id' => '228'),\narray('id' => '5563','name' => '(SYA) - Eareckson Air Station, Shemya, United States','country_id' => '228'),\narray('id' => '5564','name' => '(TAL) - Ralph M Calhoun Memorial Airport, Tanana, United States','country_id' => '228'),\narray('id' => '5565','name' => '(TNC) - Tin City Long Range Radar Station Airport, Tin City, United States','country_id' => '228'),\narray('id' => '5566','name' => '(TLA) - Teller Airport, Teller, United States','country_id' => '228'),\narray('id' => '5567','name' => '(TOG) - Togiak Airport, Togiak Village, United States','country_id' => '228'),\narray('id' => '5568','name' => '(TKA) - Talkeetna Airport, Talkeetna, United States','country_id' => '228'),\narray('id' => '5569','name' => '(TLJ) - Tatalina LRRS Airport, Takotna, United States','country_id' => '228'),\narray('id' => '5570','name' => '(ATK) - Atqasuk Edward Burnell Sr Memorial Airport, Atqasuk, United States','country_id' => '228'),\narray('id' => '5571','name' => '(AUK) - Alakanuk Airport, Alakanuk, United States','country_id' => '228'),\narray('id' => '5572','name' => '(UMT) - Umiat Airport, Umiat, United States','country_id' => '228'),\narray('id' => '5573','name' => '(UNK) - Unalakleet Airport, Unalakleet, United States','country_id' => '228'),\narray('id' => '5574','name' => '(WOW) - Willow Airport, Willow, United States','country_id' => '228'),\narray('id' => '5575','name' => '(VAK) - Chevak Airport, Chevak, United States','country_id' => '228'),\narray('id' => '5576','name' => '(KVC) - King Cove Airport, King Cove, United States','country_id' => '228'),\narray('id' => '5577','name' => '(VDZ) - Valdez Pioneer Field, Valdez, United States','country_id' => '228'),\narray('id' => '5578','name' => '(VEE) - Venetie Airport, Venetie, United States','country_id' => '228'),\narray('id' => '5579','name' => '(KVL) - Kivalina Airport, Kivalina, United States','country_id' => '228'),\narray('id' => '5580','name' => '(WBQ) - Beaver Airport, Beaver, United States','country_id' => '228'),\narray('id' => '5581','name' => '(SWD) - Seward Airport, Seward, United States','country_id' => '228'),\narray('id' => '5582','name' => '(WRG) - Wrangell Airport, Wrangell, United States','country_id' => '228'),\narray('id' => '5583','name' => '(AIN) - Wainwright Airport, Wainwright, United States','country_id' => '228'),\narray('id' => '5584','name' => '(WMO) - White Mountain Airport, White Mountain, United States','country_id' => '228'),\narray('id' => '5585','name' => '(WTK) - Noatak Airport, Noatak, United States','country_id' => '228'),\narray('id' => '5586','name' => '(WWA) - Wasilla Airport, Wasilla, United States','country_id' => '228'),\narray('id' => '5587','name' => '(YAK) - Yakutat Airport, Yakutat, United States','country_id' => '228'),\narray('id' => '5588','name' => '(CIS) - Canton Island Airport, Abariringa, Kiribati','country_id' => '114'),\narray('id' => '5589','name' => '(PCO) - Punta Colorada Airport, La Ribera, Mexico','country_id' => '153'),\narray('id' => '5590','name' => '(PCQ) - Boun Neau Airport, Phongsaly, Laos','country_id' => '122'),\narray('id' => '5591','name' => '(PDI) - Pindiu Airport, Pindiu, Papua New Guinea','country_id' => '172'),\narray('id' => '5592','name' => '(PDR) - Presidente JosA Sarney Airport, Presidente Dutra, Brazil','country_id' => '29'),\narray('id' => '5593','name' => '(MFT) - Machu Pichu Airport, Machu Pichu, Peru','country_id' => '170'),\narray('id' => '5594','name' => '(PER) - Perleberg, Perleberg, Germany','country_id' => '54'),\narray('id' => '5595','name' => '(AKI) - Akiak Airport, Akiak, United States','country_id' => '228'),\narray('id' => '5596','name' => '(AET) - Allakaket Airport, Allakaket, United States','country_id' => '228'),\narray('id' => '5597','name' => '(PFC) - Pacific City State Airport, Pacific City, United States','country_id' => '228'),\narray('id' => '5598','name' => '(NCN) - Chenega Bay Airport, Chenega, United States','country_id' => '228'),\narray('id' => '5599','name' => '(CLP) - Clarks Point Airport, Clarks Point, United States','country_id' => '228'),\narray('id' => '5600','name' => '(ELI) - Elim Airport, Elim, United States','country_id' => '228'),\narray('id' => '5601','name' => '(KUK) - Kasigluk Airport, Kasigluk, United States','country_id' => '228'),\narray('id' => '5602','name' => '(KNK) - Kokhanok Airport, Kokhanok, United States','country_id' => '228'),\narray('id' => '5603','name' => '(KOT) - Kotlik Airport, Kotlik, United States','country_id' => '228'),\narray('id' => '5604','name' => '(KTS) - Brevig Mission Airport, Brevig Mission, United States','country_id' => '228'),\narray('id' => '5605','name' => '(KYU) - Koyukuk Airport, Koyukuk, United States','country_id' => '228'),\narray('id' => '5606','name' => '(KWT) - Kwethluk Airport, Kwethluk, United States','country_id' => '228'),\narray('id' => '5607','name' => '(ORV) - Robert (Bob) Curtis Memorial Airport, Noorvik, United States','country_id' => '228'),\narray('id' => '5608','name' => '(SKK) - Shaktoolik Airport, Shaktoolik, United States','country_id' => '228'),\narray('id' => '5609','name' => '(TKJ) - Tok Junction Airport, Tok, United States','country_id' => '228'),\narray('id' => '5610','name' => '(WSN) - South Naknek Nr 2 Airport, South Naknek, United States','country_id' => '228'),\narray('id' => '5611','name' => '(FYU) - Fort Yukon Airport, Fort Yukon, United States','country_id' => '228'),\narray('id' => '5612','name' => '(CPN) - Cape Rodney Airport, Cape Rodney, Papua New Guinea','country_id' => '172'),\narray('id' => '5613','name' => '(EMI) - Emirau Airport, Emirau Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5614','name' => '(ERE) - Erave Airport, Erave, Papua New Guinea','country_id' => '172'),\narray('id' => '5615','name' => '(ESA) - Esa\\'ala Airport, Esa\\'ala, Papua New Guinea','country_id' => '172'),\narray('id' => '5616','name' => '(GAR) - Garaina Airport, Garaina, Papua New Guinea','country_id' => '172'),\narray('id' => '5617','name' => '(GOE) - Gonaili Airport, Gonaili, Papua New Guinea','country_id' => '172'),\narray('id' => '5618','name' => '(BPD) - Bapi Airstrip, Bapi, Papua New Guinea','country_id' => '172'),\narray('id' => '5619','name' => '(BPK) - Biangabip Airport, Biangabip, Papua New Guinea','country_id' => '172'),\narray('id' => '5620','name' => '(NWT) - Nowata Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5621','name' => '(SGK) - Sengapi Airstrip, Sengapi, Papua New Guinea','country_id' => '172'),\narray('id' => '5622','name' => '(KII) - Kibuli Airstrip, Kibuli, Papua New Guinea','country_id' => '172'),\narray('id' => '5623','name' => '(AKG) - Anguganak Airport, Anguganak, Papua New Guinea','country_id' => '172'),\narray('id' => '5624','name' => '(TAJ) - Tadji Airport, Aitape, Papua New Guinea','country_id' => '172'),\narray('id' => '5625','name' => '(AWB) - Awaba Airport, Awaba, Papua New Guinea','country_id' => '172'),\narray('id' => '5626','name' => '(BAA) - Bialla Airport, Bialla, Matalilu, Ewase, Papua New Guinea','country_id' => '172'),\narray('id' => '5627','name' => '(CVB) - Chungribu Airport, Chungribu, Papua New Guinea','country_id' => '172'),\narray('id' => '5628','name' => '(GMI) - Gasmata Island Airport, Gasmata Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5629','name' => '(GVI) - Green River Airport, Green River, Papua New Guinea','country_id' => '172'),\narray('id' => '5630','name' => '(HYF) - Hayfields Airport, Bainyik, Papua New Guinea','country_id' => '172'),\narray('id' => '5631','name' => '(IHU) - Ihu Airport, Ihu, Papua New Guinea','country_id' => '172'),\narray('id' => '5632','name' => '(IIS) - Nissan Island Airport, Nissan Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5633','name' => '(JAQ) - Jacquinot Bay Airport, Jacquinot Bay, Papua New Guinea','country_id' => '172'),\narray('id' => '5634','name' => '(KDR) - Kandrian Airport, Kandrian, Papua New Guinea','country_id' => '172'),\narray('id' => '5635','name' => '(KKD) - Kokoda Airport, Kokoda, Papua New Guinea','country_id' => '172'),\narray('id' => '5636','name' => '(KUY) - Kamusi Airport, Kamusi, Papua New Guinea','country_id' => '172'),\narray('id' => '5637','name' => '(KWO) - Kawito Airport, Kawito, Papua New Guinea','country_id' => '172'),\narray('id' => '5638','name' => '(LMI) - Lumi Airport, Lumi, Papua New Guinea','country_id' => '172'),\narray('id' => '5639','name' => '(LMY) - Lake Murray Airport, Lake Murray, Papua New Guinea','country_id' => '172'),\narray('id' => '5640','name' => '(OBX) - Obo Airport, Obo, Papua New Guinea','country_id' => '172'),\narray('id' => '5641','name' => '(OPU) - Balimo Airport, Balimo, Papua New Guinea','country_id' => '172'),\narray('id' => '5642','name' => '(SKC) - Suki Airport, Suki, Papua New Guinea','country_id' => '172'),\narray('id' => '5643','name' => '(TFI) - Tufi Airport, Tufi, Papua New Guinea','country_id' => '172'),\narray('id' => '5644','name' => '(TFM) - Telefomin Airport, Telefomin, Papua New Guinea','country_id' => '172'),\narray('id' => '5645','name' => '(TLO) - Tol Airport, Tol, Papua New Guinea','country_id' => '172'),\narray('id' => '5646','name' => '(UKU) - Nuku Airport, Nuku, Papua New Guinea','country_id' => '172'),\narray('id' => '5647','name' => '(ULE) - Sule Airport, Sule, Papua New Guinea','country_id' => '172'),\narray('id' => '5648','name' => '(VMU) - Baimuru Airport, Baimuru, Papua New Guinea','country_id' => '172'),\narray('id' => '5649','name' => '(WPM) - Wipim Airport, Wipim, Papua New Guinea','country_id' => '172'),\narray('id' => '5650','name' => '(PGE) - Yegepa Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5651','name' => '(PGM) - Port Graham Airport, Port Graham, United States','country_id' => '228'),\narray('id' => '5652','name' => '(ROP) - Rota International Airport, Rota Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5653','name' => '(SPN) - Saipan International Airport, Saipan Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5654','name' => '(UAM) - Andersen Air Force Base, Andersen,Mariana Island, Guam','country_id' => '89'),\narray('id' => '5655','name' => '(GUM) - Antonio B. Won Pat International Airport, HagAtAa, Guam International Airport, Guam','country_id' => '89'),\narray('id' => '5656','name' => '(TIQ) - Tinian International Airport, Tinian Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5657','name' => '(CGY) - Laguindingan Airport, Cagayan de Oro City, Philippines','country_id' => '173'),\narray('id' => '5658','name' => '(ENI) - El Nido Airport, El Nido, Philippines','country_id' => '173'),\narray('id' => '5659','name' => '(BKH) - Barking Sands Airport, Kekaha, United States','country_id' => '228'),\narray('id' => '5660','name' => '(HDH) - Dillingham Airfield, Mokuleia, United States','country_id' => '228'),\narray('id' => '5661','name' => '(HHI) - Wheeler Army Airfield, Wahiawa, United States','country_id' => '228'),\narray('id' => '5662','name' => '(HNM) - Hana Airport, Hana, United States','country_id' => '228'),\narray('id' => '5663','name' => '(JHM) - Kapalua Airport, Lahaina, United States','country_id' => '228'),\narray('id' => '5664','name' => '(JRF) - Kalaeloa Airport, Kapolei, United States','country_id' => '228'),\narray('id' => '5665','name' => '(KOA) - Kona International At Keahole Airport, Kailua/Kona, United States','country_id' => '228'),\narray('id' => '5666','name' => '(LIH) - Lihue Airport, Lihue, United States','country_id' => '228'),\narray('id' => '5667','name' => '(LUP) - Kalaupapa Airport, Kalaupapa, United States','country_id' => '228'),\narray('id' => '5668','name' => '(MKK) - Molokai Airport, Kaunakakai, United States','country_id' => '228'),\narray('id' => '5669','name' => '(MUE) - Waimea Kohala Airport, Kamuela, United States','country_id' => '228'),\narray('id' => '5670','name' => '(NGF) - Kaneohe Bay MCAS (Marion E. Carl Field) Airport, Kaneohe, United States','country_id' => '228'),\narray('id' => '5671','name' => '(HNL) - Honolulu International Airport, Honolulu, United States','country_id' => '228'),\narray('id' => '5672','name' => '(LNY) - Lanai Airport, Lanai City, United States','country_id' => '228'),\narray('id' => '5673','name' => '(OGG) - Kahului Airport, Kahului, United States','country_id' => '228'),\narray('id' => '5674','name' => '(PAK) - Port Allen Airport, Hanapepe, United States','country_id' => '228'),\narray('id' => '5675','name' => '(BSF) - Bradshaw Army Airfield, Camp Pohakuloa, United States','country_id' => '228'),\narray('id' => '5676','name' => '(ITO) - Hilo International Airport, Hilo, United States','country_id' => '228'),\narray('id' => '5677','name' => '(UPP) - Upolu Airport, Hawi, United States','country_id' => '228'),\narray('id' => '5678','name' => '(BHC) - Bhurban Heliport, Bhurban, Pakistan','country_id' => '174'),\narray('id' => '5679','name' => '(CWP) - Campbellpore Airport, Campbellpore, Pakistan','country_id' => '174'),\narray('id' => '5680','name' => '(GRT) - Gujrat Airport, Gujrat, Pakistan','country_id' => '174'),\narray('id' => '5681','name' => '(HRA) - Mansehra Airport, Mansehra, Pakistan','country_id' => '174'),\narray('id' => '5682','name' => '(KCF) - Kadanwari Airport, Kadanwari, Pakistan','country_id' => '174'),\narray('id' => '5683','name' => '(REQ) - Reko Diq Airport, Chagai, Pakistan','country_id' => '174'),\narray('id' => '5684','name' => '(RZS) - Sawan Airport, Sawan, Pakistan','country_id' => '174'),\narray('id' => '5685','name' => '(ENT) - Eniwetok Airport, Eniwetok Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '5686','name' => '(MAJ) - Marshall Islands International Airport, Majuro Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '5687','name' => '(KAI) - Kaieteur International Airport, Kaieteur Falls, Guyana','country_id' => '91'),\narray('id' => '5688','name' => '(KWA) - Bucholz Army Air Field, Kwajalein, Marshall Islands','country_id' => '139'),\narray('id' => '5689','name' => '(CXI) - Cassidy International Airport, Banana, Kiribati','country_id' => '114'),\narray('id' => '5690','name' => '(PLE) - Paiela Airport, Paiela, Papua New Guinea','country_id' => '172'),\narray('id' => '5691','name' => '(TNV) - Tabuaeran Island Airport, Tabuaeran Island, Kiribati','country_id' => '114'),\narray('id' => '5692','name' => '(TNQ) - Washington Island Airstrip, Teraina, Kiribati','country_id' => '114'),\narray('id' => '5693','name' => '(MDY) - Henderson Field, Sand Island, United States Minor Outlying Islands','country_id' => '227'),\narray('id' => '5694','name' => '(PMM) - Phanom Sarakham Airport, Phanom Sarakham, Thailand','country_id' => '213'),\narray('id' => '5695','name' => '(PMP) - Pimaga Airport, Pimaga, Papua New Guinea','country_id' => '172'),\narray('id' => '5696','name' => '(PIZ) - Point Lay LRRS Airport, Point Lay, United States','country_id' => '228'),\narray('id' => '5697','name' => '(PPX) - Param Airport, Nepesi, Papua New Guinea','country_id' => '172'),\narray('id' => '5698','name' => '(HUC) - Humacao Airport, Humacao, Puerto Rico','country_id' => '178'),\narray('id' => '5699','name' => '(XSO) - Siocon Airport, , Philippines','country_id' => '173'),\narray('id' => '5700','name' => '(TKK) - Chuuk International Airport, Weno Island, Micronesia','country_id' => '70'),\narray('id' => '5701','name' => '(PNI) - Pohnpei International Airport, Pohnpei Island, Micronesia','country_id' => '70'),\narray('id' => '5702','name' => '(ROR) - Babelthuap Airport, Babelthuap Island, Palau','country_id' => '181'),\narray('id' => '5703','name' => '(KSA) - Kosrae International Airport, Okat, Micronesia','country_id' => '70'),\narray('id' => '5704','name' => '(YAP) - Yap International Airport, Yap Island, Micronesia','country_id' => '70'),\narray('id' => '5705','name' => '(PUA) - Puas Airport, Puas Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '5706','name' => '(AWK) - Wake Island Airfield, Wake Island, United States Minor Outlying Islands','country_id' => '227'),\narray('id' => '5707','name' => '(BFA) - BahAa Negra Airport, BahAa Negra, Paraguay','country_id' => '182'),\narray('id' => '5708','name' => '(OLK) - Fuerte Olimpo Airport, Fuerte Olimpo, Paraguay','country_id' => '182'),\narray('id' => '5709','name' => '(PBT) - Puerto Leda Airport, Puerto Leda, Paraguay','country_id' => '182'),\narray('id' => '5710','name' => '(PCJ) - Puerto La Victoria Airport, Puerto La Victoria, Paraguay','country_id' => '182'),\narray('id' => '5711','name' => '(KIO) - Kili Airport, Kili Island, Marshall Islands','country_id' => '139'),\narray('id' => '5712','name' => '(DOH) - Hamad International Airport, Doha, Qatar','country_id' => '183'),\narray('id' => '5713','name' => '(RAA) - Rakanda Airport, Rakanda, Papua New Guinea','country_id' => '172'),\narray('id' => '5714','name' => '(RAW) - Arawa Airport, Arawa, Papua New Guinea','country_id' => '172'),\narray('id' => '5715','name' => '(RAX) - Oram Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5716','name' => '(RBP) - Raba Raba Airport, Rabaraba, Papua New Guinea','country_id' => '172'),\narray('id' => '5717','name' => '(KNH) - Kinmen Airport, Shang-I, Taiwan','country_id' => '223'),\narray('id' => '5718','name' => '(LZN) - Matsu Nangan Airport, Nangang Island, Taiwan','country_id' => '223'),\narray('id' => '5719','name' => '(TTT) - Taitung Airport, Taitung City, Taiwan','country_id' => '223'),\narray('id' => '5720','name' => '(GNI) - Lyudao Airport, Lyudao, Taiwan','country_id' => '223'),\narray('id' => '5721','name' => '(KHH) - Kaohsiung International Airport, Kaohsiung City, Taiwan','country_id' => '223'),\narray('id' => '5722','name' => '(CYI) - Chiayi Airport, Chiayi City, Taiwan','country_id' => '223'),\narray('id' => '5723','name' => '(HCN) - Hengchun Airport, Hengchung, Taiwan','country_id' => '223'),\narray('id' => '5724','name' => '(TXG) - Taichung Airport, Taichung City, Taiwan','country_id' => '223'),\narray('id' => '5725','name' => '(KYD) - Lanyu Airport, Orchid Island, Taiwan','country_id' => '223'),\narray('id' => '5726','name' => '(RMQ) - Taichung Ching Chuang Kang Airport, Taichung City, Taiwan','country_id' => '223'),\narray('id' => '5727','name' => '(MFK) - Matsu Beigan Airport, Beigan Island, Taiwan','country_id' => '223'),\narray('id' => '5728','name' => '(TNN) - Tainan Airport, Tainan City, Taiwan','country_id' => '223'),\narray('id' => '5729','name' => '(HSZ) - Hsinchu Air Base, Hsinchu City, Taiwan','country_id' => '223'),\narray('id' => '5730','name' => '(MZG) - Makung Airport, Makung City, Taiwan','country_id' => '223'),\narray('id' => '5731','name' => '(PIF) - Pingtung North Airport, Pingtung, Taiwan','country_id' => '223'),\narray('id' => '5732','name' => '(TSA) - Taipei Songshan Airport, Taipei City, Taiwan','country_id' => '223'),\narray('id' => '5733','name' => '(TPE) - Taiwan Taoyuan International Airport, Taipei, Taiwan','country_id' => '223'),\narray('id' => '5734','name' => '(WOT) - Wang-an Airport, Wang-an, Taiwan','country_id' => '223'),\narray('id' => '5735','name' => '(HUN) - Hualien Airport, Hualien City, Taiwan','country_id' => '223'),\narray('id' => '5736','name' => '(RDV) - Red Devil Airport, Red Devil, United States','country_id' => '228'),\narray('id' => '5737','name' => '(RHT) - Alxa Right Banner-Badanjilin Airport, Badanjilin, China','country_id' => '45'),\narray('id' => '5738','name' => '(NRT) - Narita International Airport, Tokyo, Japan','country_id' => '110'),\narray('id' => '5739','name' => '(MMJ) - Matsumoto Airport, Matsumoto, Japan','country_id' => '110'),\narray('id' => '5740','name' => '(IBR) - Hyakuri Airport, Omitama, Japan','country_id' => '110'),\narray('id' => '5741','name' => '(MUS) - Minami Torishima Airport, , Japan','country_id' => '110'),\narray('id' => '5742','name' => '(IWO) - Iwo Jima Airport, , Japan','country_id' => '110'),\narray('id' => '5743','name' => '(KIX) - Kansai International Airport, Osaka, Japan','country_id' => '110'),\narray('id' => '5744','name' => '(SHM) - Nanki Shirahama Airport, Shirahama, Japan','country_id' => '110'),\narray('id' => '5745','name' => '(UKB) - Kobe Airport, Kobe, Japan','country_id' => '110'),\narray('id' => '5746','name' => '(HIW) - Hiroshimanishi Airport, , Japan','country_id' => '110'),\narray('id' => '5747','name' => '(TJH) - Tajima Airport, Tajima, Japan','country_id' => '110'),\narray('id' => '5748','name' => '(OBO) - Tokachi-Obihiro Airport, Obihiro, Japan','country_id' => '110'),\narray('id' => '5749','name' => '(CTS) - New Chitose Airport, Chitose / Tomakomai, Japan','country_id' => '110'),\narray('id' => '5750','name' => '(HKD) - Hakodate Airport, Hakodate, Japan','country_id' => '110'),\narray('id' => '5751','name' => '(KUH) - Kushiro Airport, Kushiro, Japan','country_id' => '110'),\narray('id' => '5752','name' => '(MMB) - Memanbetsu Airport, zora, Japan','country_id' => '110'),\narray('id' => '5753','name' => '(SHB) - Nakashibetsu Airport, Nakashibetsu, Japan','country_id' => '110'),\narray('id' => '5754','name' => '(OKD) - Okadama Airport, Sapporo, Japan','country_id' => '110'),\narray('id' => '5755','name' => '(RBJ) - Rebun Airport, Rebun, Japan','country_id' => '110'),\narray('id' => '5756','name' => '(WKJ) - Wakkanai Airport, Wakkanai, Japan','country_id' => '110'),\narray('id' => '5757','name' => '(AXJ) - Amakusa Airport, , Japan','country_id' => '110'),\narray('id' => '5758','name' => '(IKI) - Iki Airport, Iki, Japan','country_id' => '110'),\narray('id' => '5759','name' => '(UBJ) - Yamaguchi Ube Airport, Ube, Japan','country_id' => '110'),\narray('id' => '5760','name' => '(TSJ) - Tsushima Airport, Tsushima, Japan','country_id' => '110'),\narray('id' => '5761','name' => '(MBE) - Monbetsu Airport, Monbetsu, Japan','country_id' => '110'),\narray('id' => '5762','name' => '(AKJ) - Asahikawa Airport, Asahikawa / Hokkaid, Japan','country_id' => '110'),\narray('id' => '5763','name' => '(OIR) - Okushiri Airport, Okushiri Island, Japan','country_id' => '110'),\narray('id' => '5764','name' => '(RIS) - Rishiri Airport, Rishiri, Japan','country_id' => '110'),\narray('id' => '5765','name' => '(KUM) - Yakushima Airport, Yakushima, Japan','country_id' => '110'),\narray('id' => '5766','name' => '(FUJ) - Fukue Airport, Goto, Japan','country_id' => '110'),\narray('id' => '5767','name' => '(FUK) - Fukuoka Airport, Fukuoka, Japan','country_id' => '110'),\narray('id' => '5768','name' => '(TNE) - New Tanegashima Airport, Tanegashima, Japan','country_id' => '110'),\narray('id' => '5769','name' => '(KOJ) - Kagoshima Airport, Kagoshima, Japan','country_id' => '110'),\narray('id' => '5770','name' => '(KMI) - Miyazaki Airport, Miyazaki, Japan','country_id' => '110'),\narray('id' => '5771','name' => '(OIT) - Oita Airport, Oita, Japan','country_id' => '110'),\narray('id' => '5772','name' => '(KKJ) - Kitaky\"sh\" Airport, Kitaky\"sh\", Japan','country_id' => '110'),\narray('id' => '5773','name' => '(HSG) - Saga Airport, Saga, Japan','country_id' => '110'),\narray('id' => '5774','name' => '(KMJ) - Kumamoto Airport, Kumamoto, Japan','country_id' => '110'),\narray('id' => '5775','name' => '(NGS) - Nagasaki Airport, Nagasaki, Japan','country_id' => '110'),\narray('id' => '5776','name' => '(NGO) - Chubu Centrair International Airport, Tokoname, Japan','country_id' => '110'),\narray('id' => '5777','name' => '(ASJ) - Amami Airport, Amami, Japan','country_id' => '110'),\narray('id' => '5778','name' => '(OKE) - Okierabu Airport, Okinoerabujima, Japan','country_id' => '110'),\narray('id' => '5779','name' => '(KKX) - Kikai Airport, Kikai, Japan','country_id' => '110'),\narray('id' => '5780','name' => '(TKN) - Tokunoshima Airport, Tokunoshima, Japan','country_id' => '110'),\narray('id' => '5781','name' => '(NKM) - Nagoya Airport, Nagoya, Japan','country_id' => '110'),\narray('id' => '5782','name' => '(FKJ) - Fukui Airport, , Japan','country_id' => '110'),\narray('id' => '5783','name' => '(QGU) - Gifu Airport, Gifu, Japan','country_id' => '110'),\narray('id' => '5784','name' => '(KMQ) - Komatsu Airport, Kanazawa, Japan','country_id' => '110'),\narray('id' => '5785','name' => '(OKI) - Oki Airport, Okinoshima, Japan','country_id' => '110'),\narray('id' => '5786','name' => '(FSZ) - Mt. Fuji Shizuoka Airport, Makinohara / Shimada, Japan','country_id' => '110'),\narray('id' => '5787','name' => '(TOY) - Toyama Airport, Toyama, Japan','country_id' => '110'),\narray('id' => '5788','name' => '(NTQ) - Noto Airport, Wajima, Japan','country_id' => '110'),\narray('id' => '5789','name' => '(HIJ) - Hiroshima Airport, Hiroshima, Japan','country_id' => '110'),\narray('id' => '5790','name' => '(OKJ) - Okayama Airport, Okayama City, Japan','country_id' => '110'),\narray('id' => '5791','name' => '(IZO) - Izumo Airport, Izumo, Japan','country_id' => '110'),\narray('id' => '5792','name' => '(YGJ) - Miho Yonago Airport, Yonago, Japan','country_id' => '110'),\narray('id' => '5793','name' => '(KCZ) - Kchi Ryma Airport, Nankoku, Japan','country_id' => '110'),\narray('id' => '5794','name' => '(MYJ) - Matsuyama Airport, Matsuyama, Japan','country_id' => '110'),\narray('id' => '5795','name' => '(ITM) - Osaka International Airport, Osaka, Japan','country_id' => '110'),\narray('id' => '5796','name' => '(TTJ) - Tottori Airport, Tottori, Japan','country_id' => '110'),\narray('id' => '5797','name' => '(TKS) - Tokushima Airport, Tokushima, Japan','country_id' => '110'),\narray('id' => '5798','name' => '(TAK) - Takamatsu Airport, Takamatsu, Japan','country_id' => '110'),\narray('id' => '5799','name' => '(IWJ) - Iwami Airport, Masuda, Japan','country_id' => '110'),\narray('id' => '5800','name' => '(AOJ) - Aomori Airport, Aomori, Japan','country_id' => '110'),\narray('id' => '5801','name' => '(GAJ) - Yamagata Airport, Yamagata, Japan','country_id' => '110'),\narray('id' => '5802','name' => '(SDS) - Sado Airport, Sado, Japan','country_id' => '110'),\narray('id' => '5803','name' => '(FKS) - Fukushima Airport, Sukagawa, Japan','country_id' => '110'),\narray('id' => '5804','name' => '(HHE) - Hachinohe Airport, , Japan','country_id' => '110'),\narray('id' => '5805','name' => '(HNA) - Hanamaki Airport, , Japan','country_id' => '110'),\narray('id' => '5806','name' => '(AXT) - Akita Airport, Akita, Japan','country_id' => '110'),\narray('id' => '5807','name' => '(MSJ) - Misawa Air Base, Misawa, Japan','country_id' => '110'),\narray('id' => '5808','name' => '(KIJ) - Niigata Airport, Niigata, Japan','country_id' => '110'),\narray('id' => '5809','name' => '(ONJ) - Odate Noshiro Airport, Odate, Japan','country_id' => '110'),\narray('id' => '5810','name' => '(SDJ) - Sendai Airport, Sendai, Japan','country_id' => '110'),\narray('id' => '5811','name' => '(SYO) - Shonai Airport, Shonai, Japan','country_id' => '110'),\narray('id' => '5812','name' => '(NJA) - Atsugi Naval Air Facility, , Japan','country_id' => '110'),\narray('id' => '5813','name' => '(HAC) - Hachijojima Airport, Hachijojima, Japan','country_id' => '110'),\narray('id' => '5814','name' => '(OIM) - Oshima Airport, Izu Oshima, Japan','country_id' => '110'),\narray('id' => '5815','name' => '(MYE) - Miyakejima Airport, Miyakejima, Japan','country_id' => '110'),\narray('id' => '5816','name' => '(HND) - Tokyo International Airport, Tokyo, Japan','country_id' => '110'),\narray('id' => '5817','name' => '(QUT) - Utsunomiya Airport, , Japan','country_id' => '110'),\narray('id' => '5818','name' => '(OKO) - Yokota Air Base, Fussa, Japan','country_id' => '110'),\narray('id' => '5819','name' => '(MWX) - Muan International Airport, Muan, South Korea','country_id' => '118'),\narray('id' => '5820','name' => '(KWJ) - Gwangju Airport, Gwangju, South Korea','country_id' => '118'),\narray('id' => '5821','name' => '(KUV) - Kunsan Air Base, Kunsan, South Korea','country_id' => '118'),\narray('id' => '5822','name' => '(CHN) - Jeon Ju Airport, Jeon Ju, South Korea','country_id' => '118'),\narray('id' => '5823','name' => '(RSU) - Yeosu Airport, Yeosu, South Korea','country_id' => '118'),\narray('id' => '5824','name' => '(QUN) - A-306 Airport, Chun Chon City, South Korea','country_id' => '118'),\narray('id' => '5825','name' => '(SHO) - Sokcho Airport, , South Korea','country_id' => '118'),\narray('id' => '5826','name' => '(KAG) - Gangneung Airport, Gangneung, South Korea','country_id' => '118'),\narray('id' => '5827','name' => '(WJU) - Wonju Airport, Wonju, South Korea','country_id' => '118'),\narray('id' => '5828','name' => '(YNY) - Yangyang International Airport, Sokcho / Gangneung, South Korea','country_id' => '118'),\narray('id' => '5829','name' => '(CJU) - Jeju International Airport, Jeju City, South Korea','country_id' => '118'),\narray('id' => '5830','name' => '(JDG) - Jeongseok Airport, Jeju Island, South Korea','country_id' => '118'),\narray('id' => '5831','name' => '(CHF) - Jinhae Airport, Jinhae, South Korea','country_id' => '118'),\narray('id' => '5832','name' => '(PUS) - Gimhae International Airport, Busan, South Korea','country_id' => '118'),\narray('id' => '5833','name' => '(HIN) - Sacheon Air Base, Sacheon, South Korea','country_id' => '118'),\narray('id' => '5834','name' => '(USN) - Ulsan Airport, Ulsan, South Korea','country_id' => '118'),\narray('id' => '5835','name' => '(ICN) - Incheon International Airport, Seoul, South Korea','country_id' => '118'),\narray('id' => '5836','name' => '(SSN) - Seoul Air Base, , South Korea','country_id' => '118'),\narray('id' => '5837','name' => '(OSN) - Osan Air Base, , South Korea','country_id' => '118'),\narray('id' => '5838','name' => '(GMP) - Gimpo International Airport, Seoul, South Korea','country_id' => '118'),\narray('id' => '5839','name' => '(SWU) - Suwon Airport, , South Korea','country_id' => '118'),\narray('id' => '5840','name' => '(KPO) - Pohang Airport, Pohang, South Korea','country_id' => '118'),\narray('id' => '5841','name' => '(TAE) - Daegu Airport, Daegu, South Korea','country_id' => '118'),\narray('id' => '5842','name' => '(CJJ) - Cheongju International Airport, Cheongju, South Korea','country_id' => '118'),\narray('id' => '5843','name' => '(YEC) - Yecheon Airport, Yecheon, South Korea','country_id' => '118'),\narray('id' => '5844','name' => '(RKU) - Kairuku Airport, Yule Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5845','name' => '(RKY) - Rokeby Airport, Rokeby, Australia','country_id' => '12'),\narray('id' => '5846','name' => '(RLP) - Rosella Plains Airport, Rosella Plains, Australia','country_id' => '12'),\narray('id' => '5847','name' => '(RMD) - Basanth Nagar Airport, Ramagundam, India','country_id' => '101'),\narray('id' => '5848','name' => '(RMU) - RegiAn de Murcia International Airport, Corvera, Spain','country_id' => '65'),\narray('id' => '5849','name' => '(OKA) - Naha Airport, Naha, Japan','country_id' => '110'),\narray('id' => '5850','name' => '(DNA) - Kadena Air Base, , Japan','country_id' => '110'),\narray('id' => '5851','name' => '(ISG) - Ishigaki Airport, Ishigaki, Japan','country_id' => '110'),\narray('id' => '5852','name' => '(UEO) - Kumejima Airport, , Japan','country_id' => '110'),\narray('id' => '5853','name' => '(KJP) - Kerama Airport, Kerama, Japan','country_id' => '110'),\narray('id' => '5854','name' => '(MMD) - Minami-Daito Airport, Minamidait, Japan','country_id' => '110'),\narray('id' => '5855','name' => '(MMY) - Miyako Airport, Miyako City, Japan','country_id' => '110'),\narray('id' => '5856','name' => '(AGJ) - Aguni Airport, Aguni, Japan','country_id' => '110'),\narray('id' => '5857','name' => '(IEJ) - Ie Jima Airport, Ie, Japan','country_id' => '110'),\narray('id' => '5858','name' => '(HTR) - Hateruma Airport, Hateruma, Japan','country_id' => '110'),\narray('id' => '5859','name' => '(KTD) - Kitadaito Airport, Kitadaitjima, Japan','country_id' => '110'),\narray('id' => '5860','name' => '(SHI) - Shimojishima Airport, Shimojishima, Japan','country_id' => '110'),\narray('id' => '5861','name' => '(TRA) - Tarama Airport, Tarama, Japan','country_id' => '110'),\narray('id' => '5862','name' => '(RNJ) - Yoron Airport, Yoronjima, Japan','country_id' => '110'),\narray('id' => '5863','name' => '(OGN) - Yonaguni Airport, , Japan','country_id' => '110'),\narray('id' => '5864','name' => '(SFS) - Subic Bay International Airport, Olongapo City, Philippines','country_id' => '173'),\narray('id' => '5865','name' => '(CRK) - Clark International Airport, Angeles City, Philippines','country_id' => '173'),\narray('id' => '5866','name' => '(LAO) - Laoag International Airport, Laoag City, Philippines','country_id' => '173'),\narray('id' => '5867','name' => '(MNL) - Ninoy Aquino International Airport, Manila, Philippines','country_id' => '173'),\narray('id' => '5868','name' => '(CYU) - Cuyo Airport, Cuyo, Philippines','country_id' => '173'),\narray('id' => '5869','name' => '(LGP) - Legazpi City International Airport, Legazpi City, Philippines','country_id' => '173'),\narray('id' => '5870','name' => '(SGL) - Danilo Atienza Air Base, Cavite City, Philippines','country_id' => '173'),\narray('id' => '5871','name' => '(LBX) - Lubang Airport, , Philippines','country_id' => '173'),\narray('id' => '5872','name' => '(AAV) - Allah Valley Airport, Surallah, Philippines','country_id' => '173'),\narray('id' => '5873','name' => '(CBO) - Awang Airport, Cotabato City, Philippines','country_id' => '173'),\narray('id' => '5874','name' => '(DVO) - Francisco Bangoy International Airport, Davao City, Philippines','country_id' => '173'),\narray('id' => '5875','name' => '(BXU) - Bancasi Airport, Butuan City, Philippines','country_id' => '173'),\narray('id' => '5876','name' => '(BPH) - Bislig Airport, , Philippines','country_id' => '173'),\narray('id' => '5877','name' => '(DPL) - Dipolog Airport, Dipolog City, Philippines','country_id' => '173'),\narray('id' => '5878','name' => '(CGM) - Camiguin Airport, , Philippines','country_id' => '173'),\narray('id' => '5879','name' => '(IGN) - Iligan Airport, , Philippines','country_id' => '173'),\narray('id' => '5880','name' => '(JOL) - Jolo Airport, , Philippines','country_id' => '173'),\narray('id' => '5881','name' => '(CGY) - Cagayan De Oro Airport, Cagayan De Oro City, Philippines','country_id' => '173'),\narray('id' => '5882','name' => '(MLP) - Malabang Airport, Malabang, Philippines','country_id' => '173'),\narray('id' => '5883','name' => '(SGS) - Sanga Sanga Airport, , Philippines','country_id' => '173'),\narray('id' => '5884','name' => '(OZC) - Labo Airport, Ozamiz City, Philippines','country_id' => '173'),\narray('id' => '5885','name' => '(PAG) - Pagadian Airport, Pagadian City, Philippines','country_id' => '173'),\narray('id' => '5886','name' => '(MXI) - Mati National Airport, , Philippines','country_id' => '173'),\narray('id' => '5887','name' => '(GES) - General Santos International Airport, General Santos, Philippines','country_id' => '173'),\narray('id' => '5888','name' => '(SUG) - Surigao Airport, Surigao City, Philippines','country_id' => '173'),\narray('id' => '5889','name' => '(CDY) - Cagayan de Sulu Airport, Mapun, Philippines','country_id' => '173'),\narray('id' => '5890','name' => '(IPE) - Ipil Airport, Ipil, Philippines','country_id' => '173'),\narray('id' => '5891','name' => '(TDG) - Tandag Airport, , Philippines','country_id' => '173'),\narray('id' => '5892','name' => '(ZAM) - Zamboanga International Airport, Zamboanga City, Philippines','country_id' => '173'),\narray('id' => '5893','name' => '(IAO) - Siargao Airport, Del Carmen, Philippines','country_id' => '173'),\narray('id' => '5894','name' => '(RZP) - Cesar Lim Rodriguez Airport, Taytay Airport, Sandoval Airport, Philippines','country_id' => '173'),\narray('id' => '5895','name' => '(BAG) - Loakan Airport, Baguio City, Philippines','country_id' => '173'),\narray('id' => '5896','name' => '(DTE) - Daet Airport, Daet, Philippines','country_id' => '173'),\narray('id' => '5897','name' => '(SJI) - San Jose Airport, San Jose, Philippines','country_id' => '173'),\narray('id' => '5898','name' => '(MBO) - Mamburao Airport, , Philippines','country_id' => '173'),\narray('id' => '5899','name' => '(WNP) - Naga Airport, Naga, Philippines','country_id' => '173'),\narray('id' => '5900','name' => '(BSO) - Basco Airport, Basco, Philippines','country_id' => '173'),\narray('id' => '5901','name' => '(BQA) - Dr.Juan C. Angara Airport, Baler, Philippines','country_id' => '173'),\narray('id' => '5902','name' => '(SFE) - San Fernando Airport, , Philippines','country_id' => '173'),\narray('id' => '5903','name' => '(TUG) - Tuguegarao Airport, Tuguegarao City, Philippines','country_id' => '173'),\narray('id' => '5904','name' => '(VRC) - Virac Airport, Virac, Philippines','country_id' => '173'),\narray('id' => '5905','name' => '(MRQ) - Marinduque Airport, Gasan, Philippines','country_id' => '173'),\narray('id' => '5906','name' => '(CYZ) - Cauayan Airport, Cauayan City, Philippines','country_id' => '173'),\narray('id' => '5907','name' => '(RPV) - Roper Valley Airport, Roper Valley, Australia','country_id' => '12'),\narray('id' => '5908','name' => '(TAC) - Daniel Z. Romualdez Airport, Tacloban City, Philippines','country_id' => '173'),\narray('id' => '5909','name' => '(BCD) - Bacolod-Silay City International Airport, Bacolod City, Philippines','country_id' => '173'),\narray('id' => '5910','name' => '(CYP) - Calbayog Airport, Calbayog City, Philippines','country_id' => '173'),\narray('id' => '5911','name' => '(DGT) - Sibulan Airport, Dumaguete City, Philippines','country_id' => '173'),\narray('id' => '5912','name' => '(MPH) - Godofredo P. Ramos Airport, Malay, Philippines','country_id' => '173'),\narray('id' => '5913','name' => '(CRM) - Catarman National Airport, Catarman, Philippines','country_id' => '173'),\narray('id' => '5914','name' => '(ILO) - Iloilo International Airport, Iloilo City, Philippines','country_id' => '173'),\narray('id' => '5915','name' => '(MBT) - Moises R. Espinosa Airport, Masbate, Philippines','country_id' => '173'),\narray('id' => '5916','name' => '(KLO) - Kalibo International Airport, Kalibo, Philippines','country_id' => '173'),\narray('id' => '5917','name' => '(CEB) - Mactan Cebu International Airport, Lapu-Lapu City, Philippines','country_id' => '173'),\narray('id' => '5918','name' => '(OMC) - Ormoc Airport, Ormoc City, Philippines','country_id' => '173'),\narray('id' => '5919','name' => '(PPS) - Puerto Princesa Airport, Puerto Princesa City, Philippines','country_id' => '173'),\narray('id' => '5920','name' => '(RXS) - Roxas Airport, Roxas City, Philippines','country_id' => '173'),\narray('id' => '5921','name' => '(EUQ) - Evelio Javier Airport, San Jose, Philippines','country_id' => '173'),\narray('id' => '5922','name' => '(TAG) - Tagbilaran Airport, Tagbilaran City, Philippines','country_id' => '173'),\narray('id' => '5923','name' => '(TBH) - Tugdan Airport, Tablas Island, Philippines','country_id' => '173'),\narray('id' => '5924','name' => '(USU) - Francisco B. Reyes Airport, Coron, Philippines','country_id' => '173'),\narray('id' => '5925','name' => '(RRM) - Marromeu Airport, Marromeu, Mozambique','country_id' => '155'),\narray('id' => '5926','name' => '(NGK) - Nogliki Airport, Nogliki-Sakhalin Island, Russia','country_id' => '187'),\narray('id' => '5927','name' => '(GRV) - Grozny North Airport, Grozny, Russia','country_id' => '187'),\narray('id' => '5928','name' => '(KDY) - Typliy Klyuch Airport, Khandyga, Russia','country_id' => '187'),\narray('id' => '5929','name' => '(LNX) - Smolensk South Airport, Smolensk, Russia','country_id' => '187'),\narray('id' => '5930','name' => '(VUS) - Velikiy Ustyug Airport, Velikiy Ustyug, Russia','country_id' => '187'),\narray('id' => '5931','name' => '(RUU) - Ruti Airport, Kawbenaberi, Papua New Guinea','country_id' => '172'),\narray('id' => '5932','name' => '(RVC) - River Cess Airport/Heliport, River Cess, Liberia','country_id' => '127'),\narray('id' => '5933','name' => '(LPS) - Lopez Island Airport, Lopez, United States','country_id' => '228'),\narray('id' => '5934','name' => '(MJR) - Miramar Airport, Miramar, Argentina','country_id' => '9'),\narray('id' => '5935','name' => '(COC) - Comodoro Pierrestegui Airport, Concordia, Argentina','country_id' => '9'),\narray('id' => '5936','name' => '(GHU) - Gualeguaychu Airport, Gualeguaychu, Argentina','country_id' => '9'),\narray('id' => '5937','name' => '(JNI) - Junin Airport, Junin, Argentina','country_id' => '9'),\narray('id' => '5938','name' => '(PRA) - General Urquiza Airport, Parana, Argentina','country_id' => '9'),\narray('id' => '5939','name' => '(ROS) - Islas Malvinas Airport, Rosario, Argentina','country_id' => '9'),\narray('id' => '5940','name' => '(SFN) - Sauce Viejo Airport, Santa Fe, Argentina','country_id' => '9'),\narray('id' => '5941','name' => '(AEP) - Jorge Newbery Airpark, Buenos Aires, Argentina','country_id' => '9'),\narray('id' => '5942','name' => '(LCM) - La Cumbre Airport, La Cumbre, Argentina','country_id' => '9'),\narray('id' => '5943','name' => '(COR) - Ingeniero Ambrosio Taravella Airport, Cordoba, Argentina','country_id' => '9'),\narray('id' => '5944','name' => '(FDO) - San Fernando Airport, San Fernando, Argentina','country_id' => '9'),\narray('id' => '5945','name' => '(LPG) - La Plata Airport, La Plata, Argentina','country_id' => '9'),\narray('id' => '5946','name' => '(EPA) - El Palomar Airport, El Palomar, Argentina','country_id' => '9'),\narray('id' => '5947','name' => '(EZE) - Ministro Pistarini International Airport, Buenos Aires, Argentina','country_id' => '9'),\narray('id' => '5948','name' => '(RAF) - Rafaela Airport, Rafaela, Argentina','country_id' => '9'),\narray('id' => '5949','name' => '(HOS) - Chos Malal Airport, Chos Malal, Argentina','country_id' => '9'),\narray('id' => '5950','name' => '(CVH) - Caviahue Airport, Lafontaine, Argentina','country_id' => '9'),\narray('id' => '5951','name' => '(GNR) - Dr. Arturo H. Illia Airport, General Roca, Argentina','country_id' => '9'),\narray('id' => '5952','name' => '(RDS) - Rincon De Los Sauces Airport, Rincon de los Sauces, Argentina','country_id' => '9'),\narray('id' => '5953','name' => '(APZ) - Zapala Airport, Zapala, Argentina','country_id' => '9'),\narray('id' => '5954','name' => '(SAM) - Salamo Airport, Salamo, Papua New Guinea','country_id' => '172'),\narray('id' => '5955','name' => '(MDZ) - El Plumerillo Airport, Mendoza, Argentina','country_id' => '9'),\narray('id' => '5956','name' => '(LGS) - Comodoro D.R. SalomAn Airport, Malargue, Argentina','country_id' => '9'),\narray('id' => '5957','name' => '(AFA) - Suboficial Ay Santiago Germano Airport, San Rafael, Argentina','country_id' => '9'),\narray('id' => '5958','name' => '(CTC) - Catamarca Airport, Catamarca, Argentina','country_id' => '9'),\narray('id' => '5959','name' => '(SDE) - Vicecomodoro Angel D. La Paz AragonAs Airport, Santiago del Estero, Argentina','country_id' => '9'),\narray('id' => '5960','name' => '(IRJ) - Capitan V A Almonacid Airport, La Rioja, Argentina','country_id' => '9'),\narray('id' => '5961','name' => '(RHD) - Termas de RAo Hondo international Airport, Termas de RAo Hondo, Argentina','country_id' => '9'),\narray('id' => '5962','name' => '(TUC) - Teniente Benjamin Matienzo Airport, San Miguel de TucumAn, Argentina','country_id' => '9'),\narray('id' => '5963','name' => '(UAQ) - Domingo Faustino Sarmiento Airport, San Juan, Argentina','country_id' => '9'),\narray('id' => '5964','name' => '(CRR) - Ceres Airport, Ceres, Argentina','country_id' => '9'),\narray('id' => '5965','name' => '(RCU) - Area De Material Airport, Rio Cuarto, Argentina','country_id' => '9'),\narray('id' => '5966','name' => '(VDR) - Villa Dolores Airport, Villa Dolores, Argentina','country_id' => '9'),\narray('id' => '5967','name' => '(VME) - Villa Reynolds Airport, Villa Mercedes, Argentina','country_id' => '9'),\narray('id' => '5968','name' => '(RLO) - Valle Del Conlara International Airport, Merlo, Argentina','country_id' => '9'),\narray('id' => '5969','name' => '(LUQ) - Brigadier Mayor D Cesar Raul Ojeda Airport, San Luis, Argentina','country_id' => '9'),\narray('id' => '5970','name' => '(CNQ) - Corrientes Airport, Corrientes, Argentina','country_id' => '9'),\narray('id' => '5971','name' => '(RES) - Resistencia International Airport, Resistencia, Argentina','country_id' => '9'),\narray('id' => '5972','name' => '(FMA) - Formosa Airport, Formosa, Argentina','country_id' => '9'),\narray('id' => '5973','name' => '(IGR) - Cataratas Del IguazAo International Airport, Puerto Iguazu, Argentina','country_id' => '9'),\narray('id' => '5974','name' => '(AOL) - Paso De Los Libres Airport, Paso de los Libres, Argentina','country_id' => '9'),\narray('id' => '5975','name' => '(MCS) - Monte Caseros Airport, Monte Caseros, Argentina','country_id' => '9'),\narray('id' => '5976','name' => '(PSS) - Libertador Gral D Jose De San Martin Airport, Posadas, Argentina','country_id' => '9'),\narray('id' => '5977','name' => '(SAS) - Salton Sea Airport, Salton City, United States','country_id' => '228'),\narray('id' => '5978','name' => '(SLA) - Martin Miguel De Guemes International Airport, Salta, Argentina','country_id' => '9'),\narray('id' => '5979','name' => '(JUJ) - Gobernador Horacio Guzman International Airport, San Salvador de Jujuy, Argentina','country_id' => '9'),\narray('id' => '5980','name' => '(ORA) - OrAn Airport, OrAn, Argentina','country_id' => '9'),\narray('id' => '5981','name' => '(TTG) - General Enrique Mosconi Airport, Tartagal, Argentina','country_id' => '9'),\narray('id' => '5982','name' => '(CLX) - Clorinda Airport, Clorinda, Argentina','country_id' => '9'),\narray('id' => '5983','name' => '(ELO) - El Dorado Airport, El Dorado, Argentina','country_id' => '9'),\narray('id' => '5984','name' => '(OYA) - Goya Airport, Goya, Argentina','country_id' => '9'),\narray('id' => '5985','name' => '(LLS) - Alferez Armando Rodriguez Airport, Las Lomitas, Argentina','country_id' => '9'),\narray('id' => '5986','name' => '(MDX) - Mercedes Airport, Mercedes, Argentina','country_id' => '9'),\narray('id' => '5987','name' => '(RCQ) - Reconquista Airport, Reconquista, Argentina','country_id' => '9'),\narray('id' => '5988','name' => '(UZU) - Curuzu Cuatia Airport, Curuzu Cuatia, Argentina','country_id' => '9'),\narray('id' => '5989','name' => '(EHL) - El Bolson Airport, El Bolson, Argentina','country_id' => '9'),\narray('id' => '5990','name' => '(CRD) - General E. Mosconi Airport, Comodoro Rivadavia, Argentina','country_id' => '9'),\narray('id' => '5991','name' => '(EMX) - El Maiten Airport, El Maiten, Argentina','country_id' => '9'),\narray('id' => '5992','name' => '(EQS) - Brigadier Antonio Parodi Airport, Esquel, Argentina','country_id' => '9'),\narray('id' => '5993','name' => '(LHS) - Las Heras Airport, Las Heras, Argentina','country_id' => '9'),\narray('id' => '5994','name' => '(IGB) - Cabo F.A.A. H. R. BordAn Airport, Ingeniero Jacobacci, Argentina','country_id' => '9'),\narray('id' => '5995','name' => '(OES) - Antoine De St Exupery Airport, San Antonio Oeste, Argentina','country_id' => '9'),\narray('id' => '5996','name' => '(MQD) - Maquinchao Airport, Maquinchao, Argentina','country_id' => '9'),\narray('id' => '5997','name' => '(ARR) - D. Casimiro Szlapelis Airport, Alto Rio Senguerr, Argentina','country_id' => '9'),\narray('id' => '5998','name' => '(SGV) - Sierra Grande Airport, Sierra Grande, Argentina','country_id' => '9'),\narray('id' => '5999','name' => '(REL) - Almirante Marco Andres Zar Airport, Rawson, Argentina','country_id' => '9'),\narray('id' => '6000','name' => '(VDM) - Gobernador Castello Airport, Viedma / Carmen de Patagones, Argentina','country_id' => '9'),\narray('id' => '6001','name' => '(PMY) - El Tehuelche Airport, Puerto Madryn, Argentina','country_id' => '9'),\narray('id' => '6002','name' => '(ING) - Lago Argentino Airport, El Calafate, Argentina','country_id' => '9'),\narray('id' => '6003','name' => '(FTE) - El Calafate Airport, El Calafate, Argentina','country_id' => '9'),\narray('id' => '6004','name' => '(PUD) - Puerto Deseado Airport, Puerto Deseado, Argentina','country_id' => '9'),\narray('id' => '6005','name' => '(RGA) - Hermes Quijada International Airport, Rio Grande, Argentina','country_id' => '9'),\narray('id' => '6006','name' => '(RGL) - Piloto Civil N. FernAndez Airport, Rio Gallegos, Argentina','country_id' => '9'),\narray('id' => '6007','name' => '(USH) - Malvinas Argentinas Airport, Ushuahia, Argentina','country_id' => '9'),\narray('id' => '6008','name' => '(ULA) - Capitan D Daniel Vazquez Airport, San Julian, Argentina','country_id' => '9'),\narray('id' => '6009','name' => '(ROY) - Rio Mayo Airport, Rio Mayo, Argentina','country_id' => '9'),\narray('id' => '6010','name' => '(PMQ) - Perito Moreno Airport, Perito Moreno, Argentina','country_id' => '9'),\narray('id' => '6011','name' => '(GGS) - Gobernador Gregores Airport, Gobernador Gregores, Argentina','country_id' => '9'),\narray('id' => '6012','name' => '(JSM) - Jose De San Martin Airport, Chubut, Argentina','country_id' => '9'),\narray('id' => '6013','name' => '(RYO) - 28 de Noviembre Airport, Rio Turbio, Argentina','country_id' => '9'),\narray('id' => '6014','name' => '(RZA) - Santa Cruz Airport, Santa Cruz, Argentina','country_id' => '9'),\narray('id' => '6015','name' => '(BHI) - Comandante Espora Airport, Bahia Blanca, Argentina','country_id' => '9'),\narray('id' => '6016','name' => '(CSZ) - Brigadier D.H.E. Ruiz Airport, Coronel Suarez, Argentina','country_id' => '9'),\narray('id' => '6017','name' => '(OVR) - Olavarria Airport, Olavarria, Argentina','country_id' => '9'),\narray('id' => '6018','name' => '(GPO) - General Pico Airport, General Pico, Argentina','country_id' => '9'),\narray('id' => '6019','name' => '(OYO) - Tres Arroyos Airport, Tres Arroyos, Argentina','country_id' => '9'),\narray('id' => '6020','name' => '(SST) - Santa Teresita Airport, Santa Teresita, Argentina','country_id' => '9'),\narray('id' => '6021','name' => '(MDQ) - Astor Piazzola International Airport, Mar del Plata, Argentina','country_id' => '9'),\narray('id' => '6022','name' => '(NQN) - Presidente Peron Airport, Neuquen, Argentina','country_id' => '9'),\narray('id' => '6023','name' => '(NEC) - Necochea Airport, Necochea, Argentina','country_id' => '9'),\narray('id' => '6024','name' => '(PEH) - Comodoro Pedro Zanni Airport, PehuajA, Argentina','country_id' => '9'),\narray('id' => '6025','name' => '(RSA) - Santa Rosa Airport, Santa Rosa, Argentina','country_id' => '9'),\narray('id' => '6026','name' => '(BRC) - San Carlos De Bariloche Airport, San Carlos de Bariloche, Argentina','country_id' => '9'),\narray('id' => '6027','name' => '(TDL) - HAroes De Malvinas Airport, Tandil, Argentina','country_id' => '9'),\narray('id' => '6028','name' => '(VLG) - Villa Gesell Airport, Villa Gesell, Argentina','country_id' => '9'),\narray('id' => '6029','name' => '(CUT) - Cutral-Co Airport, Cutral-Co, Argentina','country_id' => '9'),\narray('id' => '6030','name' => '(CPC) - Aviador C. Campos Airport, Chapelco/San Martin de los Andes, Argentina','country_id' => '9'),\narray('id' => '6031','name' => '(VIU) - Viru Harbour Airstrip, Viru, Solomon Islands','country_id' => '190'),\narray('id' => '6032','name' => '(CDJ) - ConceiAAo do Araguaia Airport, ConceiAAo Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6033','name' => '(AQA) - Araraquara Airport, Araraquara, Brazil','country_id' => '29'),\narray('id' => '6034','name' => '(AJU) - Santa Maria Airport, Aracaju, Brazil','country_id' => '29'),\narray('id' => '6035','name' => '(AFL) - Piloto Osvaldo Marques Dias Airport, Alta Floresta, Brazil','country_id' => '29'),\narray('id' => '6036','name' => '(ARU) - AraAatuba Airport, AraAatuba, Brazil','country_id' => '29'),\narray('id' => '6037','name' => '(AAX) - Romeu Zema Airport, AraxA, Brazil','country_id' => '29'),\narray('id' => '6038','name' => '(BEL) - Val de Cans/JAolio Cezar Ribeiro International Airport, BelAm, Brazil','country_id' => '29'),\narray('id' => '6039','name' => '(BGX) - Comandante Gustavo Kraemer Airport, BagA, Brazil','country_id' => '29'),\narray('id' => '6040','name' => '(PLU) - Pampulha - Carlos Drummond de Andrade Airport, Belo Horizonte, Brazil','country_id' => '29'),\narray('id' => '6041','name' => '(BFH) - Bacacheri Airport, Curitiba, Brazil','country_id' => '29'),\narray('id' => '6042','name' => '(BJP) - Aeroporto Estadual Arthur Siqueira Airport, BraganAa Paulista, Brazil','country_id' => '29'),\narray('id' => '6043','name' => '(QAK) - Major Brigadeiro Doorgal Borges Airport, Barbacena, Brazil','country_id' => '29'),\narray('id' => '6044','name' => '(BSB) - Presidente Juscelino Kubistschek International Airport, BrasAlia, Brazil','country_id' => '29'),\narray('id' => '6045','name' => '(BAT) - Chafei Amsei Airport, Barretos, Brazil','country_id' => '29'),\narray('id' => '6046','name' => '(BAU) - Bauru Airport, Bauru, Brazil','country_id' => '29'),\narray('id' => '6047','name' => '(BVB) - Atlas Brasil Cantanhede Airport, Boa Vista, Brazil','country_id' => '29'),\narray('id' => '6048','name' => '(BPG) - Barra do GarAas Airport, Barra Do GarAas, Brazil','country_id' => '29'),\narray('id' => '6049','name' => '(BZC) - Umberto Modiano Airport, Cabo Frio, Brazil','country_id' => '29'),\narray('id' => '6050','name' => '(CAC) - Cascavel Airport, Cascavel, Brazil','country_id' => '29'),\narray('id' => '6051','name' => '(CFB) - Cabo Frio Airport, Cabo Frio, Brazil','country_id' => '29'),\narray('id' => '6052','name' => '(CFC) - CaAador Airport, CaAador, Brazil','country_id' => '29'),\narray('id' => '6053','name' => '(CNF) - Tancredo Neves International Airport, Belo Horizonte, Brazil','country_id' => '29'),\narray('id' => '6054','name' => '(CGR) - Campo Grande Airport, Campo Grande, Brazil','country_id' => '29'),\narray('id' => '6055','name' => '(XAP) - Serafin Enoss Bertaso Airport, ChapecA, Brazil','country_id' => '29'),\narray('id' => '6056','name' => '(CLN) - Brig. Lysias Augusto Rodrigues Airport, Carolina, Brazil','country_id' => '29'),\narray('id' => '6057','name' => '(CKS) - CarajAs Airport, Parauapebas, Brazil','country_id' => '29'),\narray('id' => '6058','name' => '(CCM) - DiomAcio Freitas Airport, CriciAoma, Brazil','country_id' => '29'),\narray('id' => '6059','name' => '(CLV) - Nelson Ribeiro GuimarAes Airport, Caldas Novas, Brazil','country_id' => '29'),\narray('id' => '6060','name' => '(CAW) - Bartolomeu Lisandro Airport, Campos Dos Goytacazes, Brazil','country_id' => '29'),\narray('id' => '6061','name' => '(CMG) - CorumbA International Airport, CorumbA, Brazil','country_id' => '29'),\narray('id' => '6062','name' => '(CWB) - Afonso Pena Airport, Curitiba, Brazil','country_id' => '29'),\narray('id' => '6063','name' => '(CRQ) - Caravelas Airport, Caravelas, Brazil','country_id' => '29'),\narray('id' => '6064','name' => '(CXJ) - Hugo Cantergiani Regional Airport, Caxias Do Sul, Brazil','country_id' => '29'),\narray('id' => '6065','name' => '(CGB) - Marechal Rondon Airport, CuiabA, Brazil','country_id' => '29'),\narray('id' => '6066','name' => '(CZS) - Cruzeiro do Sul Airport, Cruzeiro Do Sul, Brazil','country_id' => '29'),\narray('id' => '6067','name' => '(BYO) - Bonito Airport, Bonito, Brazil','country_id' => '29'),\narray('id' => '6068','name' => '(PPB) - Presidente Prudente Airport, Presidente Prudente, Brazil','country_id' => '29'),\narray('id' => '6069','name' => '(MAO) - Eduardo Gomes International Airport, Manaus, Brazil','country_id' => '29'),\narray('id' => '6070','name' => '(JCR) - Jacareacanga Airport, Jacareacanga, Brazil','country_id' => '29'),\narray('id' => '6071','name' => '(ESI) - Espinosa Airport, Espinosa, Brazil','country_id' => '29'),\narray('id' => '6072','name' => '(IGU) - Cataratas International Airport, Foz Do IguaAu, Brazil','country_id' => '29'),\narray('id' => '6073','name' => '(FLN) - HercAlio Luz International Airport, FlorianApolis, Brazil','country_id' => '29'),\narray('id' => '6074','name' => '(FEN) - Fernando de Noronha Airport, Fernando De Noronha, Brazil','country_id' => '29'),\narray('id' => '6075','name' => '(FOR) - Pinto Martins International Airport, Fortaleza, Brazil','country_id' => '29'),\narray('id' => '6076','name' => '(GIG) - Rio GaleAo a\" Tom Jobim International Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6077','name' => '(GJM) - GuajarA-Mirim Airport, GuajarA-Mirim, Brazil','country_id' => '29'),\narray('id' => '6078','name' => '(GYN) - Santa Genoveva Airport, GoiAnia, Brazil','country_id' => '29'),\narray('id' => '6079','name' => '(GRU) - Guarulhos - Governador AndrA Franco Montoro International Airport, SAo Paulo, Brazil','country_id' => '29'),\narray('id' => '6080','name' => '(GPB) - Tancredo Thomas de Faria Airport, Guarapuava, Brazil','country_id' => '29'),\narray('id' => '6081','name' => '(GVR) - Coronel Altino Machado de Oliveira Airport, Governador Valadares, Brazil','country_id' => '29'),\narray('id' => '6082','name' => '(GUJ) - GuaratinguetA Airport, GuaratinguetA, Brazil','country_id' => '29'),\narray('id' => '6083','name' => '(ATM) - Altamira Airport, Altamira, Brazil','country_id' => '29'),\narray('id' => '6084','name' => '(ITA) - Itacoatiara Airport, Itacoatiara, Brazil','country_id' => '29'),\narray('id' => '6085','name' => '(ITB) - Itaituba Airport, Itaituba, Brazil','country_id' => '29'),\narray('id' => '6086','name' => '(IOS) - Bahia - Jorge Amado Airport, IlhAus, Brazil','country_id' => '29'),\narray('id' => '6087','name' => '(IPN) - Usiminas Airport, Ipatinga, Brazil','country_id' => '29'),\narray('id' => '6088','name' => '(ITR) - Francisco Vilela do Amaral Airport, Itumbiara, Brazil','country_id' => '29'),\narray('id' => '6089','name' => '(IMP) - Prefeito Renato Moreira Airport, Imperatriz, Brazil','country_id' => '29'),\narray('id' => '6090','name' => '(JJG) - Humberto Ghizzo Bortoluzzi Regional Airport, Jaguaruna, Brazil','country_id' => '29'),\narray('id' => '6091','name' => '(JDF) - Francisco de Assis Airport, Juiz De Fora, Brazil','country_id' => '29'),\narray('id' => '6092','name' => '(JPA) - Presidente Castro Pinto International Airport, JoAo Pessoa, Brazil','country_id' => '29'),\narray('id' => '6093','name' => '(JDO) - Orlando Bezerra de Menezes Airport, Juazeiro Do Norte, Brazil','country_id' => '29'),\narray('id' => '6094','name' => '(JOI) - Lauro Carneiro de Loyola Airport, Joinville, Brazil','country_id' => '29'),\narray('id' => '6095','name' => '(CPV) - Presidente JoAo Suassuna Airport, Campina Grande, Brazil','country_id' => '29'),\narray('id' => '6096','name' => '(VCP) - Viracopos International Airport, Campinas, Brazil','country_id' => '29'),\narray('id' => '6097','name' => '(LEC) - Coronel HorAcio de Mattos Airport, LenAAis, Brazil','country_id' => '29'),\narray('id' => '6098','name' => '(LAJ) - Lages Airport, Lages, Brazil','country_id' => '29'),\narray('id' => '6099','name' => '(LIP) - Lins Airport, Lins, Brazil','country_id' => '29'),\narray('id' => '6100','name' => '(LDB) - Governador JosA Richa Airport, Londrina, Brazil','country_id' => '29'),\narray('id' => '6101','name' => '(LAZ) - Bom Jesus da Lapa Airport, Bom Jesus Da Lapa, Brazil','country_id' => '29'),\narray('id' => '6102','name' => '(MAB) - JoAo Correa da Rocha Airport, MarabA, Brazil','country_id' => '29'),\narray('id' => '6103','name' => '(MQH) - MinaAu Airport, MinaAu, Brazil','country_id' => '29'),\narray('id' => '6104','name' => '(MEU) - Monte Dourado Airport, Almeirim, Brazil','country_id' => '29'),\narray('id' => '6105','name' => '(MEA) - MacaA Airport, MacaA, Brazil','country_id' => '29'),\narray('id' => '6106','name' => '(MGF) - Regional de MaringA - SAlvio Nane Junior Airport, MaringA, Brazil','country_id' => '29'),\narray('id' => '6107','name' => '(MOC) - MArio Ribeiro Airport, Montes Claros, Brazil','country_id' => '29'),\narray('id' => '6108','name' => '(MII) - Frank Miloye Milenkowichia\"MarAlia State Airport, MarAlia, Brazil','country_id' => '29'),\narray('id' => '6109','name' => '(PLL) - Ponta Pelada Airport, Manaus, Brazil','country_id' => '29'),\narray('id' => '6110','name' => '(MCZ) - Zumbi dos Palmares Airport, MaceiA, Brazil','country_id' => '29'),\narray('id' => '6111','name' => '(MCP) - Alberto Alcolumbre Airport, MacapA, Brazil','country_id' => '29'),\narray('id' => '6112','name' => '(MVF) - Dix-Sept Rosado Airport, MossorA, Brazil','country_id' => '29'),\narray('id' => '6113','name' => '(MNX) - ManicorA Airport, ManicorA, Brazil','country_id' => '29'),\narray('id' => '6114','name' => '(NVT) - Ministro Victor Konder International Airport, Navegantes, Brazil','country_id' => '29'),\narray('id' => '6115','name' => '(GEL) - Santo A\\'ngelo Airport, Santo A\\'ngelo, Brazil','country_id' => '29'),\narray('id' => '6116','name' => '(OYK) - Oiapoque Airport, Oiapoque, Brazil','country_id' => '29'),\narray('id' => '6117','name' => '(POA) - Salgado Filho Airport, Porto Alegre, Brazil','country_id' => '29'),\narray('id' => '6118','name' => '(PHB) - Prefeito Doutor JoAo Silva Filho Airport, ParnaAba, Brazil','country_id' => '29'),\narray('id' => '6119','name' => '(POO) - PoAos de Caldas - Embaixador Walther Moreira Salles Airport, PoAos De Caldas, Brazil','country_id' => '29'),\narray('id' => '6120','name' => '(PFB) - Lauro Kurtz Airport, Passo Fundo, Brazil','country_id' => '29'),\narray('id' => '6121','name' => '(PMW) - Brigadeiro Lysias Rodrigues Airport, Palmas, Brazil','country_id' => '29'),\narray('id' => '6122','name' => '(PET) - JoAo SimAes Lopes Neto International Airport, Pelotas, Brazil','country_id' => '29'),\narray('id' => '6123','name' => '(PNZ) - Senador Nilo Coelho Airport, Petrolina, Brazil','country_id' => '29'),\narray('id' => '6124','name' => '(PNB) - Porto Nacional Airport, Porto Nacional, Brazil','country_id' => '29'),\narray('id' => '6125','name' => '(PMG) - Ponta PorA Airport, Ponta PorA, Brazil','country_id' => '29'),\narray('id' => '6126','name' => '(BPS) - Porto Seguro Airport, Porto Seguro, Brazil','country_id' => '29'),\narray('id' => '6127','name' => '(PVH) - Governador Jorge Teixeira de Oliveira Airport, Porto Velho, Brazil','country_id' => '29'),\narray('id' => '6128','name' => '(VDC) - VitAria da Conquista Airport, VitAria Da Conquista, Brazil','country_id' => '29'),\narray('id' => '6129','name' => '(RBR) - PlAcido de Castro Airport, Rio Branco, Brazil','country_id' => '29'),\narray('id' => '6130','name' => '(REC) - Guararapes - Gilberto Freyre International Airport, Recife, Brazil','country_id' => '29'),\narray('id' => '6131','name' => '(SDU) - Santos Dumont Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6132','name' => '(RAO) - Leite Lopes Airport, RibeirAo Preto, Brazil','country_id' => '29'),\narray('id' => '6133','name' => '(BRB) - Barreirinhas Airport, , Brazil','country_id' => '29'),\narray('id' => '6134','name' => '(SNZ) - Santa Cruz Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6135','name' => '(NAT) - Governador AluAzio Alves International Airport, Natal, Brazil','country_id' => '29'),\narray('id' => '6136','name' => '(SJK) - Professor Urbano Ernesto Stumpf Airport, SAo JosA Dos Campos, Brazil','country_id' => '29'),\narray('id' => '6137','name' => '(SLZ) - Marechal Cunha Machado International Airport, SAo LuAs, Brazil','country_id' => '29'),\narray('id' => '6138','name' => '(RIA) - Santa Maria Airport, Santa Maria, Brazil','country_id' => '29'),\narray('id' => '6139','name' => '(STM) - Maestro Wilson Fonseca Airport, SantarAm, Brazil','country_id' => '29'),\narray('id' => '6140','name' => '(CGH) - Congonhas Airport, SAo Paulo, Brazil','country_id' => '29'),\narray('id' => '6141','name' => '(SJP) - Prof. Eribelto Manoel Reino State Airport, SAo JosA Do Rio Preto, Brazil','country_id' => '29'),\narray('id' => '6142','name' => '(SSZ) - Base AArea de Santos Airport, GuarujA, Brazil','country_id' => '29'),\narray('id' => '6143','name' => '(SSA) - Deputado Luiz Eduardo MagalhAes International Airport, Salvador, Brazil','country_id' => '29'),\narray('id' => '6144','name' => '(QHP) - Base de AviaAAo de TaubatA Airport, TaubatA, Brazil','country_id' => '29'),\narray('id' => '6145','name' => '(TMT) - Trombetas Airport, OriximinA, Brazil','country_id' => '29'),\narray('id' => '6146','name' => '(UNA) - Hotel TransamArica Airport, Una, Brazil','country_id' => '29'),\narray('id' => '6147','name' => '(TOW) - Toledo Airport, Toledo, Brazil','country_id' => '29'),\narray('id' => '6148','name' => '(THE) - Senador PetrAnio Portela Airport, Teresina, Brazil','country_id' => '29'),\narray('id' => '6149','name' => '(TFF) - TefA Airport, TefA, Brazil','country_id' => '29'),\narray('id' => '6150','name' => '(TRQ) - TarauacA Airport, TarauacA, Brazil','country_id' => '29'),\narray('id' => '6151','name' => '(TEC) - TelAamaco Borba Airport, TelAamaco Borba, Brazil','country_id' => '29'),\narray('id' => '6152','name' => '(TSQ) - Torres Airport, Torres, Brazil','country_id' => '29'),\narray('id' => '6153','name' => '(OBI) - TiriAs Airport, A\"bidos, Brazil','country_id' => '29'),\narray('id' => '6154','name' => '(TBT) - Tabatinga Airport, Tabatinga, Brazil','country_id' => '29'),\narray('id' => '6155','name' => '(TUR) - TucuruA Airport, TucuruA, Brazil','country_id' => '29'),\narray('id' => '6156','name' => '(SJL) - SAo Gabriel da Cachoeira Airport, SAo Gabriel Da Cachoeira, Brazil','country_id' => '29'),\narray('id' => '6157','name' => '(PAV) - Paulo Afonso Airport, Paulo Afonso, Brazil','country_id' => '29'),\narray('id' => '6158','name' => '(URG) - Rubem Berta Airport, Uruguaiana, Brazil','country_id' => '29'),\narray('id' => '6159','name' => '(UDI) - Ten. Cel. Aviador CAsar Bombonato Airport, UberlAndia, Brazil','country_id' => '29'),\narray('id' => '6160','name' => '(UBA) - MArio de Almeida Franco Airport, Uberaba, Brazil','country_id' => '29'),\narray('id' => '6161','name' => '(VAG) - Major Brigadeiro Trompowsky Airport, Varginha, Brazil','country_id' => '29'),\narray('id' => '6162','name' => '(BVH) - Brigadeiro CamarAo Airport, Vilhena, Brazil','country_id' => '29'),\narray('id' => '6163','name' => '(VIX) - Eurico de Aguiar Salles Airport, VitAria, Brazil','country_id' => '29'),\narray('id' => '6164','name' => '(QPS) - Campo Fontenelle Airport, Pirassununga, Brazil','country_id' => '29'),\narray('id' => '6165','name' => '(IZA) - Presidente Itamar Franco Airport, Juiz de Fora, Brazil','country_id' => '29'),\narray('id' => '6166','name' => '(ZUD) - Pupelde Airport, Ancud, Chile','country_id' => '43'),\narray('id' => '6167','name' => '(LOB) - San Rafael Airport, Los Andes, Chile','country_id' => '43'),\narray('id' => '6168','name' => '(WAP) - Alto Palena Airport, Alto Palena, Chile','country_id' => '43'),\narray('id' => '6169','name' => '(ARI) - Chacalluta Airport, Arica, Chile','country_id' => '43'),\narray('id' => '6170','name' => '(WPA) - Cabo 1A Juan RomAn Airport, Puerto Aysen, Chile','country_id' => '43'),\narray('id' => '6171','name' => '(CPO) - Desierto de Atacama Airport, Copiapo, Chile','country_id' => '43'),\narray('id' => '6172','name' => '(BBA) - Balmaceda Airport, Balmaceda, Chile','country_id' => '43'),\narray('id' => '6173','name' => '(TOQ) - Barriles Airport, Tocopilla, Chile','country_id' => '43'),\narray('id' => '6174','name' => '(CCH) - Chile Chico Airport, Chile Chico, Chile','country_id' => '43'),\narray('id' => '6175','name' => '(CJC) - El Loa Airport, Calama, Chile','country_id' => '43'),\narray('id' => '6176','name' => '(YAI) - Gral. Bernardo OAHiggins Airport, Chillan, Chile','country_id' => '43'),\narray('id' => '6177','name' => '(PUQ) - Pdte. carlos IbaAez del Campo Airport, Punta Arenas, Chile','country_id' => '43'),\narray('id' => '6178','name' => '(COW) - Tambillos Airport, Coquimbo, Chile','country_id' => '43'),\narray('id' => '6179','name' => '(GXQ) - Teniente Vidal Airport, Coyhaique, Chile','country_id' => '43'),\narray('id' => '6180','name' => '(IQQ) - Diego Aracena Airport, Iquique, Chile','country_id' => '43'),\narray('id' => '6181','name' => '(SCL) - Comodoro Arturo Merino BenAtez International Airport, Santiago, Chile','country_id' => '43'),\narray('id' => '6182','name' => '(ESR) - Ricardo GarcAa Posada Airport, El Salvador, Chile','country_id' => '43'),\narray('id' => '6183','name' => '(FRT) - El Avellano Airport, Frutillar, Chile','country_id' => '43'),\narray('id' => '6184','name' => '(ANF) - Cerro Moreno Airport, Antofagasta, Chile','country_id' => '43'),\narray('id' => '6185','name' => '(WPR) - Capitan Fuentes Martinez Airport Airport, Porvenir, Chile','country_id' => '43'),\narray('id' => '6186','name' => '(FFU) - FutaleufAo Airport, Futaleufu, Chile','country_id' => '43'),\narray('id' => '6187','name' => '(LSQ) - MarAa Dolores Airport, Los Angeles, Chile','country_id' => '43'),\narray('id' => '6188','name' => '(WPU) - Guardiamarina ZaAartu Airport, Puerto Williams, Chile','country_id' => '43'),\narray('id' => '6189','name' => '(LGR) - Cochrane Airport, Cochrane, Chile','country_id' => '43'),\narray('id' => '6190','name' => '(CCP) - Carriel Sur Airport, Concepcion, Chile','country_id' => '43'),\narray('id' => '6191','name' => '(IPC) - Mataveri Airport, Isla De Pascua, Chile','country_id' => '43'),\narray('id' => '6192','name' => '(ZOS) - CaAal Bajo Carlos - Hott Siebert Airport, Osorno, Chile','country_id' => '43'),\narray('id' => '6193','name' => '(VLR) - Vallenar Airport, Vallenar, Chile','country_id' => '43'),\narray('id' => '6194','name' => '(ZLR) - Municipal de Linares Airport, Linares, Chile','country_id' => '43'),\narray('id' => '6195','name' => '(PNT) - Tte. Julio Gallardo Airport, Puerto Natales, Chile','country_id' => '43'),\narray('id' => '6196','name' => '(OVL) - El Tuqui Airport, Ovalle, Chile','country_id' => '43'),\narray('id' => '6197','name' => '(ZPC) - PucAn Airport, Pucon, Chile','country_id' => '43'),\narray('id' => '6198','name' => '(MHC) - Mocopulli Airport, Dalcahue, Chile','country_id' => '43'),\narray('id' => '6199','name' => '(PUX) - El Mirador Airport, Puerto Varas, Chile','country_id' => '43'),\narray('id' => '6200','name' => '(ZCO) - La AraucanAa Airport, Temuco, Chile','country_id' => '43'),\narray('id' => '6201','name' => '(CNR) - ChaAaral Airport, ChaAaral, Chile','country_id' => '43'),\narray('id' => '6202','name' => '(VAP) - Rodelillo Airport, ViAa Del Mar, Chile','country_id' => '43'),\narray('id' => '6203','name' => '(QRC) - De La Independencia Airport, Rancagua, Chile','country_id' => '43'),\narray('id' => '6204','name' => '(TNM) - Teniente Rodolfo Marsh Martin Base, Isla Rey Jorge, Antarctica','country_id' => '8'),\narray('id' => '6205','name' => '(SMB) - Franco Bianco Airport, Cerro Sombrero, Chile','country_id' => '43'),\narray('id' => '6206','name' => '(LSC) - La Florida Airport, La Serena-Coquimbo, Chile','country_id' => '43'),\narray('id' => '6207','name' => '(SSD) - VActor LafAn Airport, San Felipe, Chile','country_id' => '43'),\narray('id' => '6208','name' => '(WCA) - Gamboa Airport, Castro, Chile','country_id' => '43'),\narray('id' => '6209','name' => '(PZS) - Maquehue Airport, Temuco, Chile','country_id' => '43'),\narray('id' => '6210','name' => '(PMC) - El Tepual Airport, Puerto Montt, Chile','country_id' => '43'),\narray('id' => '6211','name' => '(TLX) - Panguilemo Airport, Talca, Chile','country_id' => '43'),\narray('id' => '6212','name' => '(WCH) - ChaitAn Airport, Chaiten, Chile','country_id' => '43'),\narray('id' => '6213','name' => '(ZIC) - Victoria Airport, Victoria, Chile','country_id' => '43'),\narray('id' => '6214','name' => '(TTC) - Las Breas Airport, Taltal, Chile','country_id' => '43'),\narray('id' => '6215','name' => '(ZAL) - Pichoy Airport, Valdivia, Chile','country_id' => '43'),\narray('id' => '6216','name' => '(KNA) - ViAa del mar Airport, ViAa Del Mar, Chile','country_id' => '43'),\narray('id' => '6217','name' => '(CPQ) - Amarais Airport, Campinas, Brazil','country_id' => '29'),\narray('id' => '6218','name' => '(QCJ) - Botucatu - Tancredo de Almeida Neves Airport, Botucatu, Brazil','country_id' => '29'),\narray('id' => '6219','name' => '(OLC) - Senadora Eunice Micheles Airport, SAo Paulo De OlivenAa, Brazil','country_id' => '29'),\narray('id' => '6220','name' => '(SOD) - Sorocaba Airport, Sorocaba, Brazil','country_id' => '29'),\narray('id' => '6221','name' => '(QDC) - Dracena Airport, Dracena, Brazil','country_id' => '29'),\narray('id' => '6222','name' => '(SDI) - Saidor Airport, Saidor, Papua New Guinea','country_id' => '172'),\narray('id' => '6223','name' => '(JLS) - Jales Airport, Jales, Brazil','country_id' => '29'),\narray('id' => '6224','name' => '(QOA) - Mococa Airport, Mococa, Brazil','country_id' => '29'),\narray('id' => '6225','name' => '(QGC) - LenAAis Paulista Airport, LenAAis Paulista, Brazil','country_id' => '29'),\narray('id' => '6226','name' => '(QNV) - Aeroclube Airport, Nova IguaAu, Brazil','country_id' => '29'),\narray('id' => '6227','name' => '(OUS) - Ourinhos Airport, Ourinhos, Brazil','country_id' => '29'),\narray('id' => '6228','name' => '(OIA) - OurilAndia do Norte Airport, OurilAndia do Norte, Brazil','country_id' => '29'),\narray('id' => '6229','name' => '(QHB) - Piracicaba Airport, Piracicaba, Brazil','country_id' => '29'),\narray('id' => '6230','name' => '(QIQ) - Rio Claro Airport, Rio Claro, Brazil','country_id' => '29'),\narray('id' => '6231','name' => '(QVP) - AvarA-Arandu Airport, AvarA, Brazil','country_id' => '29'),\narray('id' => '6232','name' => '(REZ) - Resende Airport, Resende, Brazil','country_id' => '29'),\narray('id' => '6233','name' => '(QSC) - SAo Carlos Airport, SAo Carlos, Brazil','country_id' => '29'),\narray('id' => '6234','name' => '(UBT) - Ubatuba Airport, Ubatuba, Brazil','country_id' => '29'),\narray('id' => '6235','name' => '(ITP) - Itaperuna Airport, Itaperuna, Brazil','country_id' => '29'),\narray('id' => '6236','name' => '(QGS) - Alagoinhas Airport, Alagoinhas, Brazil','country_id' => '29'),\narray('id' => '6237','name' => '(VOT) - Votuporanga Airport, Votuporanga, Brazil','country_id' => '29'),\narray('id' => '6238','name' => '(QGB) - Limeira Airport, Limeira, Brazil','country_id' => '29'),\narray('id' => '6239','name' => '(IZA) - Zona da Mata Regional Airport, Juiz De Fora, Brazil','country_id' => '29'),\narray('id' => '6240','name' => '(ATF) - ChachoAn Airport, Ambato, Ecuador','country_id' => '60'),\narray('id' => '6241','name' => '(OCC) - Francisco De Orellana Airport, Coca, Ecuador','country_id' => '60'),\narray('id' => '6242','name' => '(CUE) - Mariscal Lamar Airport, Cuenca, Ecuador','country_id' => '60'),\narray('id' => '6243','name' => '(GPS) - Seymour Airport, Baltra, Ecuador','country_id' => '60'),\narray('id' => '6244','name' => '(GYE) - JosA JoaquAn de Olmedo International Airport, Guayaquil, Ecuador','country_id' => '60'),\narray('id' => '6245','name' => '(IBB) - General Villamil Airport, Isabela, Ecuador','country_id' => '60'),\narray('id' => '6246','name' => '(JIP) - Jipijapa Airport, Jipijapa, Ecuador','country_id' => '60'),\narray('id' => '6247','name' => '(LTX) - Cotopaxi International Airport, Latacunga, Ecuador','country_id' => '60'),\narray('id' => '6248','name' => '(MRR) - Jose Maria Velasco Ibarra Airport, MacarA, Ecuador','country_id' => '60'),\narray('id' => '6249','name' => '(XMS) - Coronel E Carvajal Airport, Macas, Ecuador','country_id' => '60'),\narray('id' => '6250','name' => '(MCH) - General Manuel Serrano Airport, Machala, Ecuador','country_id' => '60'),\narray('id' => '6251','name' => '(MEC) - Eloy Alfaro International Airport, Manta, Ecuador','country_id' => '60'),\narray('id' => '6252','name' => '(LGQ) - Nueva Loja Airport, Lago Agrio, Ecuador','country_id' => '60'),\narray('id' => '6253','name' => '(PYO) - Putumayo Airport, Puerto Putumayo, Ecuador','country_id' => '60'),\narray('id' => '6254','name' => '(PVO) - Reales Tamarindos Airport, Portoviejo, Ecuador','country_id' => '60'),\narray('id' => '6255','name' => '(UIO) - Mariscal Sucre International Airport, Quito, Ecuador','country_id' => '60'),\narray('id' => '6256','name' => '(ETR) - Santa Rosa International Airport, Santa Rosa, Ecuador','country_id' => '60'),\narray('id' => '6257','name' => '(SNC) - General Ulpiano Paez Airport, Salinas, Ecuador','country_id' => '60'),\narray('id' => '6258','name' => '(SUQ) - Sucua Airport, Sucua, Ecuador','country_id' => '60'),\narray('id' => '6259','name' => '(PTZ) - Rio Amazonas Airport, Shell Mera, Ecuador','country_id' => '60'),\narray('id' => '6260','name' => '(SCY) - San CristAbal Airport, San CristAbal, Ecuador','country_id' => '60'),\narray('id' => '6261','name' => '(BHA) - Los Perales Airport, BahAa de Caraquez, Ecuador','country_id' => '60'),\narray('id' => '6262','name' => '(TSC) - Taisha Airport, Taisha, Ecuador','country_id' => '60'),\narray('id' => '6263','name' => '(TPN) - Tiputini Airport, Tiputini, Ecuador','country_id' => '60'),\narray('id' => '6264','name' => '(LOH) - Camilo Ponce Enriquez Airport, La Toma (Catamayo), Ecuador','country_id' => '60'),\narray('id' => '6265','name' => '(ESM) - General Rivadeneira Airport, Tachina, Ecuador','country_id' => '60'),\narray('id' => '6266','name' => '(TPC) - Tarapoa Airport, Tarapoa, Ecuador','country_id' => '60'),\narray('id' => '6267','name' => '(TUA) - Teniente Coronel Luis a Mantilla Airport, TulcAn, Ecuador','country_id' => '60'),\narray('id' => '6268','name' => '(PSY) - Port Stanley Airport, Stanley, Falkland Islands','country_id' => '69'),\narray('id' => '6269','name' => '(SFU) - Safia Airport, Safia, Papua New Guinea','country_id' => '172'),\narray('id' => '6270','name' => '(ASU) - Silvio Pettirossi International Airport, AsunciAn, Paraguay','country_id' => '182'),\narray('id' => '6271','name' => '(AYO) - Juan De Ayolas Airport, Ayolas, Paraguay','country_id' => '182'),\narray('id' => '6272','name' => '(CIO) - Teniente Col Carmelo Peralta Airport, ConcepciAn, Paraguay','country_id' => '182'),\narray('id' => '6273','name' => '(ENO) - EncarnaciAn Airport, EncarnaciAn, Paraguay','country_id' => '182'),\narray('id' => '6274','name' => '(AGT) - Guarani International Airport, Ciudad del Este, Paraguay','country_id' => '182'),\narray('id' => '6275','name' => '(FLM) - Filadelfia Airport, Filadelfia, Paraguay','country_id' => '182'),\narray('id' => '6276','name' => '(ESG) - Dr. Luis Maria ArgaAa International Airport, Mariscal Estigarribia, Paraguay','country_id' => '182'),\narray('id' => '6277','name' => '(PIL) - Carlos Miguel Gimenez Airport, Pilar, Paraguay','country_id' => '182'),\narray('id' => '6278','name' => '(PJC) - Dr Augusto Roberto Fuster International Airport, Pedro Juan Caballero, Paraguay','country_id' => '182'),\narray('id' => '6279','name' => '(SIC) - San JosA Island Airport, Las Perlas, Panama','country_id' => '169'),\narray('id' => '6280','name' => '(LVR) - Municipal Bom Futuro Airport, Lucas do Rio Verde, Brazil','country_id' => '29'),\narray('id' => '6281','name' => '(FRC) - Franca Airport, Franca, Brazil','country_id' => '29'),\narray('id' => '6282','name' => '(SIZ) - Sissano Airport, Sissano, Papua New Guinea','country_id' => '172'),\narray('id' => '6283','name' => '(JUA) - InAcio LuAs do Nascimento Airport, Juara, Brazil','country_id' => '29'),\narray('id' => '6284','name' => '(CFO) - Confresa Airport, Confresa, Brazil','country_id' => '29'),\narray('id' => '6285','name' => '(RIG) - Rio Grande Airport, Rio Grande, Brazil','country_id' => '29'),\narray('id' => '6286','name' => '(JTC) - Bauru - Arealva Airport, Bauru, Brazil','country_id' => '29'),\narray('id' => '6287','name' => '(ARS) - AragarAas Airport, AragarAas, Brazil','country_id' => '29'),\narray('id' => '6288','name' => '(ARS) - Usina Santa Cruz Airport, Santa Cruz CabrAlia, Brazil','country_id' => '29'),\narray('id' => '6289','name' => '(ACM) - Arica Airport, Arica, Colombia','country_id' => '46'),\narray('id' => '6290','name' => '(ECO) - El Encanto Airport, El Encanto, Colombia','country_id' => '46'),\narray('id' => '6291','name' => '(ARO) - Arboletes Airport, Arboletes, Colombia','country_id' => '46'),\narray('id' => '6292','name' => '(JUO) - Jurado Airport, Jurado, Colombia','country_id' => '46'),\narray('id' => '6293','name' => '(SJR) - San Juan De Uraba Airport, San Juan De Uraba, Colombia','country_id' => '46'),\narray('id' => '6294','name' => '(NPU) - San Pedro Airport, San Pedro de UrabA, Colombia','country_id' => '46'),\narray('id' => '6295','name' => '(PCC) - Puerto Rico Airport, Puerto Rico, Colombia','country_id' => '46'),\narray('id' => '6296','name' => '(SQF) - Solano Airport, Solano, Colombia','country_id' => '46'),\narray('id' => '6297','name' => '(AYI) - Yari Airport, Yari, Colombia','country_id' => '46'),\narray('id' => '6298','name' => '(ACL) - Aguaclara Airport, Aguaclara, Colombia','country_id' => '46'),\narray('id' => '6299','name' => '(CUI) - Currillo Airport, Currillo, Colombia','country_id' => '46'),\narray('id' => '6300','name' => '(EUO) - Paratebueno Airport, Paratebueno, Colombia','country_id' => '46'),\narray('id' => '6301','name' => '(PRE) - Pore Airport, Pore, Colombia','country_id' => '46'),\narray('id' => '6302','name' => '(SQE) - San Luis De Palenque Airport, San Luis De Palenque, Colombia','country_id' => '46'),\narray('id' => '6303','name' => '(TAU) - Tauramena Airport, Tauramena, Colombia','country_id' => '46'),\narray('id' => '6304','name' => '(AYC) - Ayacucho Airport, Ayacucho, Colombia','country_id' => '46'),\narray('id' => '6305','name' => '(DZI) - Codazzi Airport, Hacienda Borrero, Colombia','country_id' => '46'),\narray('id' => '6306','name' => '(DZI) - Las Flores Airport, Codazzi, Colombia','country_id' => '46'),\narray('id' => '6307','name' => '(SJH) - San Juan Del CAsar Airport, San Juan Del CAsar, Colombia','country_id' => '46'),\narray('id' => '6308','name' => '(BHF) - Bahia Cupica Airport, BahAa Cupica, Colombia','country_id' => '46'),\narray('id' => '6309','name' => '(GGL) - Gilgal Airport, Villa Claret, Colombia','country_id' => '46'),\narray('id' => '6310','name' => '(UNC) - Unguia Airport, Arquia, Colombia','country_id' => '46'),\narray('id' => '6311','name' => '(AYA) - Ayapel Airport, Ayapel, Colombia','country_id' => '46'),\narray('id' => '6312','name' => '(NBB) - Barranco Minas Airport, Barranco Minas, Colombia','country_id' => '46'),\narray('id' => '6313','name' => '(MND) - Medina Airport, Medina, Colombia','country_id' => '46'),\narray('id' => '6314','name' => '(NAD) - Macanal Airport, Macanal, Colombia','country_id' => '46'),\narray('id' => '6315','name' => '(GCA) - Guacamayas Airport, Guacamayas, Colombia','country_id' => '46'),\narray('id' => '6316','name' => '(SRO) - Santana Ramos Airport, Santana Ramos, Colombia','country_id' => '46'),\narray('id' => '6317','name' => '(BAC) - Barranca De Upia Airport, Barranca De Upia, Colombia','country_id' => '46'),\narray('id' => '6318','name' => '(CQT) - Caquetania Airport, Caquetania, Colombia','country_id' => '46'),\narray('id' => '6319','name' => '(ELJ) - El Recreo Airport, Ruperto Polania, Colombia','country_id' => '46'),\narray('id' => '6320','name' => '(LMC) - El Refugio/La Macarena Airport, La Macarena, Colombia','country_id' => '46'),\narray('id' => '6321','name' => '(SOH) - Solita Airport, Solita, Colombia','country_id' => '46'),\narray('id' => '6322','name' => '(URI) - Uribe Airport, Uribe, Colombia','country_id' => '46'),\narray('id' => '6323','name' => '(ECR) - El Charco Airport, El Charco, Colombia','country_id' => '46'),\narray('id' => '6324','name' => '(ISD) - Santa BArbara Airport, IscuandA, Colombia','country_id' => '46'),\narray('id' => '6325','name' => '(AZT) - Zapatoca Airport, Zapatoca, Colombia','country_id' => '46'),\narray('id' => '6326','name' => '(HRR) - Herrera Airport, CampiAa, Colombia','country_id' => '46'),\narray('id' => '6327','name' => '(SQB) - Santa Ana Airport, Piedras, Colombia','country_id' => '46'),\narray('id' => '6328','name' => '(LPE) - La Primavera Airport, Costa Rica, Colombia','country_id' => '46'),\narray('id' => '6329','name' => '(ARF) - Acaricuara Airport, Acaricuara, Colombia','country_id' => '46'),\narray('id' => '6330','name' => '(MFB) - Monfort Airport, Monfort, Colombia','country_id' => '46'),\narray('id' => '6331','name' => '(MHF) - Morichal Airport, Morichal, Colombia','country_id' => '46'),\narray('id' => '6332','name' => '(CSR) - Casuarito Airport, Casuarito, Colombia','country_id' => '46'),\narray('id' => '6333','name' => '(LPE) - La Primavera Airport, La Primavera, Colombia','country_id' => '46'),\narray('id' => '6334','name' => '(ACR) - Araracuara Airport, Araracuara, Colombia','country_id' => '46'),\narray('id' => '6335','name' => '(ACD) - Alcides FernAndez Airport, AcandA, Colombia','country_id' => '46'),\narray('id' => '6336','name' => '(AFI) - Amalfi Airport, Amalfi, Colombia','country_id' => '46'),\narray('id' => '6337','name' => '(ADN) - Andes Airport, Andes, Colombia','country_id' => '46'),\narray('id' => '6338','name' => '(API) - Gomez Nino Apiay Air Base, Apiay, Colombia','country_id' => '46'),\narray('id' => '6339','name' => '(AXM) - El Eden Airport, Armenia, Colombia','country_id' => '46'),\narray('id' => '6340','name' => '(PUU) - Tres De Mayo Airport, Puerto AsAs, Colombia','country_id' => '46'),\narray('id' => '6341','name' => '(ELB) - Las Flores Airport, El Banco, Colombia','country_id' => '46'),\narray('id' => '6342','name' => '(BGA) - Palonegro Airport, Bucaramanga, Colombia','country_id' => '46'),\narray('id' => '6343','name' => '(BOG) - El Dorado International Airport, Bogota, Colombia','country_id' => '46'),\narray('id' => '6344','name' => '(BAQ) - Ernesto Cortissoz International Airport, Barranquilla, Colombia','country_id' => '46'),\narray('id' => '6345','name' => '(BSC) - JosA Celestino Mutis Airport, BahAa Solano, Colombia','country_id' => '46'),\narray('id' => '6346','name' => '(BUN) - Gerardo Tobar LApez Airport, Buenaventura, Colombia','country_id' => '46'),\narray('id' => '6347','name' => '(CPB) - CapurganA Airport, CapurganA, Colombia','country_id' => '46'),\narray('id' => '6348','name' => '(CUC) - Camilo Daza International Airport, CAocuta, Colombia','country_id' => '46'),\narray('id' => '6349','name' => '(COG) - Mandinga Airport, Condoto, Colombia','country_id' => '46'),\narray('id' => '6350','name' => '(CTG) - Rafael NuAez International Airport, Cartagena, Colombia','country_id' => '46'),\narray('id' => '6351','name' => '(CCO) - Carimagua Airport, Puerto LApez, Colombia','country_id' => '46'),\narray('id' => '6352','name' => '(CLO) - Alfonso Bonilla Aragon International Airport, Cali, Colombia','country_id' => '46'),\narray('id' => '6353','name' => '(CIM) - Cimitarra Airport, Cimitarra, Colombia','country_id' => '46'),\narray('id' => '6354','name' => '(RAV) - Cravo Norte Airport, Cravo Norte, Colombia','country_id' => '46'),\narray('id' => '6355','name' => '(TCO) - La Florida Airport, Tumaco, Colombia','country_id' => '46'),\narray('id' => '6356','name' => '(CUO) - CarurAo Airport, CarurAo, Colombia','country_id' => '46'),\narray('id' => '6357','name' => '(CAQ) - Juan H White Airport, Caucasia, Colombia','country_id' => '46'),\narray('id' => '6358','name' => '(CVE) - CoveAas Airport, CoveAas, Colombia','country_id' => '46'),\narray('id' => '6359','name' => '(CZU) - Las Brujas Airport, Corozal, Colombia','country_id' => '46'),\narray('id' => '6360','name' => '(EBG) - El Bagre Airport, El Bagre, Colombia','country_id' => '46'),\narray('id' => '6361','name' => '(EJA) - YariguAes Airport, Barrancabermeja, Colombia','country_id' => '46'),\narray('id' => '6362','name' => '(FLA) - Gustavo Artunduaga Paredes Airport, Florencia, Colombia','country_id' => '46'),\narray('id' => '6363','name' => '(FDA) - FundaciAn Airport, FundaciAn, Colombia','country_id' => '46'),\narray('id' => '6364','name' => '(LGT) - La Gaviota Airport, , Colombia','country_id' => '46'),\narray('id' => '6365','name' => '(GIR) - Santiago Vila Airport, Girardot, Colombia','country_id' => '46'),\narray('id' => '6366','name' => '(CRC) - Santa Ana Airport, Cartago, Colombia','country_id' => '46'),\narray('id' => '6367','name' => '(GPI) - Juan Casiano Airport, Guapi, Colombia','country_id' => '46'),\narray('id' => '6368','name' => '(CPL) - Chaparral Airport, Chaparral, Colombia','country_id' => '46'),\narray('id' => '6369','name' => '(HTZ) - Hato Corozal Airport, Hato Corozal, Colombia','country_id' => '46'),\narray('id' => '6370','name' => '(IBE) - Perales Airport, IbaguA, Colombia','country_id' => '46'),\narray('id' => '6371','name' => '(IGO) - ChigorodA Airport, ChigorodA, Colombia','country_id' => '46'),\narray('id' => '6372','name' => '(IPI) - San Luis Airport, Ipiales, Colombia','country_id' => '46'),\narray('id' => '6373','name' => '(APO) - Antonio Roldan Betancourt Airport, Carepa, Colombia','country_id' => '46'),\narray('id' => '6374','name' => '(LQM) - Caucaya Airport, Puerto LeguAzamo, Colombia','country_id' => '46'),\narray('id' => '6375','name' => '(MCJ) - Jorge Isaac Airport, La Mina-Maicao, Colombia','country_id' => '46'),\narray('id' => '6376','name' => '(LPD) - La Pedrera Airport, La Pedrera, Colombia','country_id' => '46'),\narray('id' => '6377','name' => '(LET) - Alfredo VAsquez Cobo International Airport, Leticia, Colombia','country_id' => '46'),\narray('id' => '6378','name' => '(EOH) - Enrique Olaya Herrera Airport, MedellAn, Colombia','country_id' => '46'),\narray('id' => '6379','name' => '(MFS) - Miraflores Airport, Miraflores, Colombia','country_id' => '46'),\narray('id' => '6380','name' => '(MGN) - Baracoa Airport, MaganguA, Colombia','country_id' => '46'),\narray('id' => '6381','name' => '(MTB) - Montelibano Airport, MontelAbano, Colombia','country_id' => '46'),\narray('id' => '6382','name' => '(MTR) - Los Garzones Airport, MonterAa, Colombia','country_id' => '46'),\narray('id' => '6383','name' => '(MVP) - Fabio Alberto Leon Bentley Airport, MitAo, Colombia','country_id' => '46'),\narray('id' => '6384','name' => '(MZL) - La Nubia Airport, Manizales, Colombia','country_id' => '46'),\narray('id' => '6385','name' => '(NCI) - Necocli Airport, Necocli, Colombia','country_id' => '46'),\narray('id' => '6386','name' => '(NQU) - Reyes Murillo Airport, NuquA, Colombia','country_id' => '46'),\narray('id' => '6387','name' => '(NVA) - Benito Salas Airport, Neiva, Colombia','country_id' => '46'),\narray('id' => '6388','name' => '(OCV) - Aguas Claras Airport, OcaAa, Colombia','country_id' => '46'),\narray('id' => '6389','name' => '(ORC) - Orocue Airport, Orocue, Colombia','country_id' => '46'),\narray('id' => '6390','name' => '(PCR) - German Olano Airport, Puerto CarreAo, Colombia','country_id' => '46'),\narray('id' => '6391','name' => '(PDA) - Obando Airport, Puerto InArida, Colombia','country_id' => '46'),\narray('id' => '6392','name' => '(PEI) - MatecaAa International Airport, Pereira, Colombia','country_id' => '46'),\narray('id' => '6393','name' => '(PTX) - Pitalito Airport, Pitalito, Colombia','country_id' => '46'),\narray('id' => '6394','name' => '(PLT) - Plato Airport, Plato, Colombia','country_id' => '46'),\narray('id' => '6395','name' => '(NAR) - Puerto Nare Airport, Armenia, Colombia','country_id' => '46'),\narray('id' => '6396','name' => '(PPN) - Guillermo LeAn Valencia Airport, PopayAn, Colombia','country_id' => '46'),\narray('id' => '6397','name' => '(PAL) - German Olano Air Base, La Dorada, Colombia','country_id' => '46'),\narray('id' => '6398','name' => '(PBE) - Puerto Berrio Airport, Puerto Berrio, Colombia','country_id' => '46'),\narray('id' => '6399','name' => '(PSO) - Antonio Narino Airport, Pasto, Colombia','country_id' => '46'),\narray('id' => '6400','name' => '(PVA) - El Embrujo Airport, Providencia, Colombia','country_id' => '46'),\narray('id' => '6401','name' => '(PZA) - Paz De Ariporo Airport, Paz De Ariporo, Colombia','country_id' => '46'),\narray('id' => '6402','name' => '(MQU) - Mariquita Airport, Mariquita, Colombia','country_id' => '46'),\narray('id' => '6403','name' => '(MDE) - Jose Maria CArdova International Airport, Rionegro, Colombia','country_id' => '46'),\narray('id' => '6404','name' => '(RCH) - Almirante Padilla Airport, Riohacha, Colombia','country_id' => '46'),\narray('id' => '6405','name' => '(RVE) - Los Colonizadores Airport, Saravena, Colombia','country_id' => '46'),\narray('id' => '6406','name' => '(SJE) - Jorge E. Gonzalez Torres Airport, San JosA Del Guaviare, Colombia','country_id' => '46'),\narray('id' => '6407','name' => '(SSL) - Santa Rosalia Airport, Santa Rosalia, Colombia','country_id' => '46'),\narray('id' => '6408','name' => '(SMR) - SimAn BolAvar International Airport, Santa Marta, Colombia','country_id' => '46'),\narray('id' => '6409','name' => '(SOX) - Alberto Lleras Camargo Airport, Sogamoso, Colombia','country_id' => '46'),\narray('id' => '6410','name' => '(ADZ) - Gustavo Rojas Pinilla International Airport, San AndrAs, Colombia','country_id' => '46'),\narray('id' => '6411','name' => '(SRS) - San Marcos Airport, San Marcos, Colombia','country_id' => '46'),\narray('id' => '6412','name' => '(SVI) - Eduardo Falla Solano Airport, San Vicente Del CaguAn, Colombia','country_id' => '46'),\narray('id' => '6413','name' => '(TIB) - TibAo Airport, TibAo, Colombia','country_id' => '46'),\narray('id' => '6414','name' => '(TDA) - Trinidad Airport, Trinidad, Colombia','country_id' => '46'),\narray('id' => '6415','name' => '(TLU) - Golfo de Morrosquillo Airport, TolAo, Colombia','country_id' => '46'),\narray('id' => '6416','name' => '(TME) - Gustavo Vargas Airport, Tame, Colombia','country_id' => '46'),\narray('id' => '6417','name' => '(TQS) - Tres Esquinas Air Base, Tres Esquinas, Colombia','country_id' => '46'),\narray('id' => '6418','name' => '(TRB) - Gonzalo MejAa Airport, Turbo, Colombia','country_id' => '46'),\narray('id' => '6419','name' => '(AUC) - Santiago Perez Airport, Arauca, Colombia','country_id' => '46'),\narray('id' => '6420','name' => '(UIB) - El CaraAo Airport, QuibdA, Colombia','country_id' => '46'),\narray('id' => '6421','name' => '(ULQ) - Heriberto GAl MartAnez Airport, TuluA, Colombia','country_id' => '46'),\narray('id' => '6422','name' => '(URR) - Urrao Airport, Urrao, Colombia','country_id' => '46'),\narray('id' => '6423','name' => '(VGZ) - Villa GarzAn Airport, Villa GarzAn, Colombia','country_id' => '46'),\narray('id' => '6424','name' => '(PYA) - VelAsquez Airport, Puerto BoyacA, Colombia','country_id' => '46'),\narray('id' => '6425','name' => '(VUP) - Alfonso LApez Pumarejo Airport, Valledupar, Colombia','country_id' => '46'),\narray('id' => '6426','name' => '(VVC) - Vanguardia Airport, Villavicencio, Colombia','country_id' => '46'),\narray('id' => '6427','name' => '(AYG) - Yaguara Airport, San Vicente Del CaguAn, Colombia','country_id' => '46'),\narray('id' => '6428','name' => '(EYP) - El Yopal Airport, El Yopal, Colombia','country_id' => '46'),\narray('id' => '6429','name' => '(MHW) - Monteagudo Airport, El BaAado, Bolivia','country_id' => '27'),\narray('id' => '6430','name' => '(APB) - Apolo Airport, Apolo, Bolivia','country_id' => '27'),\narray('id' => '6431','name' => '(ASC) - AscenciAn De Guarayos Airport, AscensiAn de Guarayos, Bolivia','country_id' => '27'),\narray('id' => '6432','name' => '(BJO) - Bermejo Airport, Bermejo, Bolivia','country_id' => '27'),\narray('id' => '6433','name' => '(CAM) - Camiri Airport, Camiri, Bolivia','country_id' => '27'),\narray('id' => '6434','name' => '(CBB) - Jorge Wilsterman International Airport, Cochabamba, Bolivia','country_id' => '27'),\narray('id' => '6435','name' => '(CIJ) - CapitAn AnAbal Arab Airport, Cobija, Bolivia','country_id' => '27'),\narray('id' => '6436','name' => '(CEP) - ConcepciAn Airport, ConcepciAn, Bolivia','country_id' => '27'),\narray('id' => '6437','name' => '(SRZ) - El Trompillo Airport, Santa Cruz, Bolivia','country_id' => '27'),\narray('id' => '6438','name' => '(GYA) - CapitAn de Av. Emilio BeltrAn Airport, GuayaramerAn, Bolivia','country_id' => '27'),\narray('id' => '6439','name' => '(BVK) - Huacaraje Airport, Itenes, Bolivia','country_id' => '27'),\narray('id' => '6440','name' => '(SLJ) - Solomon Aerodrome, , Australia','country_id' => '12'),\narray('id' => '6441','name' => '(SJS) - San JosA De Chiquitos Airport, San JosA de Chiquitos, Bolivia','country_id' => '27'),\narray('id' => '6442','name' => '(SJB) - San JoaquAn Airport, San JoaquAn, Bolivia','country_id' => '27'),\narray('id' => '6443','name' => '(SJV) - San Javier Airport, San Javier, Bolivia','country_id' => '27'),\narray('id' => '6444','name' => '(LPB) - El Alto International Airport, La Paz / El Alto, Bolivia','country_id' => '27'),\narray('id' => '6445','name' => '(MGD) - Magdalena Airport, Magdalena, Bolivia','country_id' => '27'),\narray('id' => '6446','name' => '(ORU) - Juan Mendoza Airport, Oruro, Bolivia','country_id' => '27'),\narray('id' => '6447','name' => '(POI) - Capitan Nicolas Rojas Airport, PotosA, Bolivia','country_id' => '27'),\narray('id' => '6448','name' => '(PUR) - Puerto Rico Airport, Puerto Rico/Manuripi, Bolivia','country_id' => '27'),\narray('id' => '6449','name' => '(PSZ) - CapitAn Av. Salvador Ogaya G. airport, Puerto SuArez, Bolivia','country_id' => '27'),\narray('id' => '6450','name' => '(SRD) - San RamAn Airport, San RamAn / MamorA, Bolivia','country_id' => '27'),\narray('id' => '6451','name' => '(RBO) - RoborA Airport, RoborA, Bolivia','country_id' => '27'),\narray('id' => '6452','name' => '(RIB) - CapitAn Av. Selin Zeitun Lopez Airport, Riberalta, Bolivia','country_id' => '27'),\narray('id' => '6453','name' => '(REY) - Reyes Airport, Reyes, Bolivia','country_id' => '27'),\narray('id' => '6454','name' => '(SBL) - Santa Ana Del Yacuma Airport, Santa Ana del Yacuma, Bolivia','country_id' => '27'),\narray('id' => '6455','name' => '(SRJ) - CapitAn Av. German Quiroga G. Airport, San Borja, Bolivia','country_id' => '27'),\narray('id' => '6456','name' => '(SNG) - CapitAn Av. Juan Cochamanidis S. Airport, San Ignacio de Velasco, Bolivia','country_id' => '27'),\narray('id' => '6457','name' => '(SNM) - San Ignacio de Moxos Airport, San Ignacio de Moxos, Bolivia','country_id' => '27'),\narray('id' => '6458','name' => '(SRB) - Santa Rosa De Yacuma Airport, Santa Rosa, Bolivia','country_id' => '27'),\narray('id' => '6459','name' => '(SRE) - Juana Azurduy De Padilla Airport, Sucre, Bolivia','country_id' => '27'),\narray('id' => '6460','name' => '(MQK) - San MatAas Airport, San MatAas, Bolivia','country_id' => '27'),\narray('id' => '6461','name' => '(TJA) - Capitan Oriel Lea Plaza Airport, Tarija, Bolivia','country_id' => '27'),\narray('id' => '6462','name' => '(TDD) - Teniente Av. Jorge Henrich Arauz Airport, Trinidad, Bolivia','country_id' => '27'),\narray('id' => '6463','name' => '(UYU) - Uyuni Airport, Quijarro, Bolivia','country_id' => '27'),\narray('id' => '6464','name' => '(VAH) - CapitAn Av. Vidal Villagomez Toledo Airport, Vallegrande, Bolivia','country_id' => '27'),\narray('id' => '6465','name' => '(VLM) - Teniente Coronel Rafael PabAn Airport, Villamontes, Bolivia','country_id' => '27'),\narray('id' => '6466','name' => '(VVI) - Viru Viru International Airport, Santa Cruz, Bolivia','country_id' => '27'),\narray('id' => '6467','name' => '(BYC) - Yacuiba Airport, YacuAba, Bolivia','country_id' => '27'),\narray('id' => '6468','name' => '(ABN) - Albina Airport, Albina, Suriname','country_id' => '202'),\narray('id' => '6469','name' => '(TOT) - Totness Airport, Totness, Suriname','country_id' => '202'),\narray('id' => '6470','name' => '(DRJ) - Drietabbetje Airport, Drietabbetje, Suriname','country_id' => '202'),\narray('id' => '6471','name' => '(SMH) - Sapmanga Airport, Sapmanga, Papua New Guinea','country_id' => '172'),\narray('id' => '6472','name' => '(PBM) - Johan Adolf Pengel International Airport, Zandery, Suriname','country_id' => '202'),\narray('id' => '6473','name' => '(MOJ) - Moengo Airstrip, Moengo, Suriname','country_id' => '202'),\narray('id' => '6474','name' => '(ICK) - Nieuw Nickerie Airport, Nieuw Nickerie, Suriname','country_id' => '202'),\narray('id' => '6475','name' => '(SMP) - Stockholm Airport, Stockholm, Papua New Guinea','country_id' => '172'),\narray('id' => '6476','name' => '(OEM) - Vincent Fayks Airport, Paloemeu, Suriname','country_id' => '202'),\narray('id' => '6477','name' => '(SMZ) - Stoelmanseiland Airport, Stoelmanseiland, Suriname','country_id' => '202'),\narray('id' => '6478','name' => '(AGI) - Wageningen Airstrip, Wageningen, Suriname','country_id' => '202'),\narray('id' => '6479','name' => '(ORG) - Zorg en Hoop Airport, Paramaribo, Suriname','country_id' => '202'),\narray('id' => '6480','name' => '(APY) - Alto ParnaAba Airport, Alto ParnaAba, Brazil','country_id' => '29'),\narray('id' => '6481','name' => '(APQ) - Arapiraca Airport, Arapiraca, Brazil','country_id' => '29'),\narray('id' => '6482','name' => '(AMJ) - Cirilo QueirAz Airport, Almenara, Brazil','country_id' => '29'),\narray('id' => '6483','name' => '(AIF) - Marcelo Pires Halzhausen Airport, Assis, Brazil','country_id' => '29'),\narray('id' => '6484','name' => '(BDC) - Barra do Corda Airport, Barra Do Corda, Brazil','country_id' => '29'),\narray('id' => '6485','name' => '(BVM) - Belmonte Airport, Belmonte, Brazil','country_id' => '29'),\narray('id' => '6486','name' => '(BRA) - Barreiras Airport, Barreiras, Brazil','country_id' => '29'),\narray('id' => '6487','name' => '(BSS) - Balsas Airport, Balsas, Brazil','country_id' => '29'),\narray('id' => '6488','name' => '(BMS) - SAcrates Mariani Bittencourt Airport, Brumado, Brazil','country_id' => '29'),\narray('id' => '6489','name' => '(BQQ) - Barra Airport, Barra, Brazil','country_id' => '29'),\narray('id' => '6490','name' => '(CTP) - Carutapera Airport, Carutapera, Brazil','country_id' => '29'),\narray('id' => '6491','name' => '(CPU) - Cururupu Airport, Cururupu, Brazil','country_id' => '29'),\narray('id' => '6492','name' => '(QCH) - Colatina Airport, Colatina, Brazil','country_id' => '29'),\narray('id' => '6493','name' => '(RDC) - RedenAAo Airport, RedenAAo, Brazil','country_id' => '29'),\narray('id' => '6494','name' => '(LEP) - Leopoldina Airport, Leopoldina, Brazil','country_id' => '29'),\narray('id' => '6495','name' => '(DTI) - Diamantina Airport, Diamantina, Brazil','country_id' => '29'),\narray('id' => '6496','name' => '(DIQ) - Brigadeiro Cabral Airport, DivinApolis, Brazil','country_id' => '29'),\narray('id' => '6497','name' => '(CNV) - SAcrates Rezende Airport, Canavieiras, Brazil','country_id' => '29'),\narray('id' => '6498','name' => '(SXX) - SAo FAlix do Xingu Airport, SAo FAlix Do Xingu, Brazil','country_id' => '29'),\narray('id' => '6499','name' => '(GUZ) - Guarapari Airport, Guarapari, Brazil','country_id' => '29'),\narray('id' => '6500','name' => '(GDP) - Guadalupe Airport, Guadalupe, Brazil','country_id' => '29'),\narray('id' => '6501','name' => '(GNM) - Guanambi Airport, Guanambi, Brazil','country_id' => '29'),\narray('id' => '6502','name' => '(GMS) - GuimarAes Airport, GuimarAes, Brazil','country_id' => '29'),\narray('id' => '6503','name' => '(QGP) - Garanhuns Airport, Garanhuns, Brazil','country_id' => '29'),\narray('id' => '6504','name' => '(IRE) - IrecAa Airport, IrecAa, Brazil','country_id' => '29'),\narray('id' => '6505','name' => '(QIG) - Iguatu Airport, Iguatu, Brazil','country_id' => '29'),\narray('id' => '6506','name' => '(QIT) - Itapetinga Airport, Itapetinga, Brazil','country_id' => '29'),\narray('id' => '6507','name' => '(IPU) - IpiaAo Airport, IpiaAo, Brazil','country_id' => '29'),\narray('id' => '6508','name' => '(JCM) - Jacobina Airport, Jacobina, Brazil','country_id' => '29'),\narray('id' => '6509','name' => '(FEC) - JoAo Durval Carneiro Airport, Feira De Santana, Brazil','country_id' => '29'),\narray('id' => '6510','name' => '(JEQ) - JequiA Airport, JequiA, Brazil','country_id' => '29'),\narray('id' => '6511','name' => '(JNA) - JanuAria Airport, JanuAria, Brazil','country_id' => '29'),\narray('id' => '6512','name' => '(JDR) - Prefeito OctAvio de Almeida Neves Airport, SAo JoAo Del Rei, Brazil','country_id' => '29'),\narray('id' => '6513','name' => '(CMP) - Santana do Araguaia Airport, Santana Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6514','name' => '(QDF) - Conselheiro Lafaiete Airport, Conselheiro Lafaiete, Brazil','country_id' => '29'),\narray('id' => '6515','name' => '(CDI) - Cachoeiro do Itapemirim Airport, Cachoeiro Do Itapemirim, Brazil','country_id' => '29'),\narray('id' => '6516','name' => '(QCP) - Currais Novos Airport, Currais Novos, Brazil','country_id' => '29'),\narray('id' => '6517','name' => '(SSO) - SAo LourenAo Airport, SAo LourenAo, Brazil','country_id' => '29'),\narray('id' => '6518','name' => '(MTE) - Monte Alegre Airport, Monte Alegre, Brazil','country_id' => '29'),\narray('id' => '6519','name' => '(MVS) - Mucuri Airport, Mucuri, Brazil','country_id' => '29'),\narray('id' => '6520','name' => '(SBJ) - SAo Mateus Airport, SAo Mateus, Brazil','country_id' => '29'),\narray('id' => '6521','name' => '(PTQ) - Porto de Moz Airport, Porto De Moz, Brazil','country_id' => '29'),\narray('id' => '6522','name' => '(NNU) - Nanuque Airport, Nanuque, Brazil','country_id' => '29'),\narray('id' => '6523','name' => '(QBX) - Sobral Airport, Sobral, Brazil','country_id' => '29'),\narray('id' => '6524','name' => '(PSW) - Municipal JosA Figueiredo Airport, Passos, Brazil','country_id' => '29'),\narray('id' => '6525','name' => '(FEJ) - FeijA Airport, FeijA, Brazil','country_id' => '29'),\narray('id' => '6526','name' => '(ORX) - OriximinA Airport, OriximinA, Brazil','country_id' => '29'),\narray('id' => '6527','name' => '(PCS) - Picos Airport, Picos, Brazil','country_id' => '29'),\narray('id' => '6528','name' => '(POJ) - Patos de Minas Airport, Patos De Minas, Brazil','country_id' => '29'),\narray('id' => '6529','name' => '(PIV) - Pirapora Airport, Pirapora, Brazil','country_id' => '29'),\narray('id' => '6530','name' => '(SNQ) - San QuintAn Military Airstrip, Military Camp Number 2-D, Mexico','country_id' => '153'),\narray('id' => '6531','name' => '(FLB) - Cangapara Airport, Floriano, Brazil','country_id' => '29'),\narray('id' => '6532','name' => '(PIV) - Fazenda Santo AndrA Airport, Pratinha, Brazil','country_id' => '29'),\narray('id' => '6533','name' => '(PDF) - Prado Airport, Prado, Brazil','country_id' => '29'),\narray('id' => '6534','name' => '(CAU) - Caruaru Airport, Caruaru, Brazil','country_id' => '29'),\narray('id' => '6535','name' => '(SFK) - Soure Airport, Soure, Brazil','country_id' => '29'),\narray('id' => '6536','name' => '(TXF) - 9 de Maio - Teixeira de Freitas Airport, Teixeira De Freitas, Brazil','country_id' => '29'),\narray('id' => '6537','name' => '(OBI) - A\"bidos Airport, A\"bidos, Brazil','country_id' => '29'),\narray('id' => '6538','name' => '(TFL) - Juscelino Kubitscheck Airport, TeAfilo Otoni, Brazil','country_id' => '29'),\narray('id' => '6539','name' => '(VAL) - ValenAa Airport, ValenAa, Brazil','country_id' => '29'),\narray('id' => '6540','name' => '(QID) - MAlio Viana Airport, TrAas CoraAAes, Brazil','country_id' => '29'),\narray('id' => '6541','name' => '(BVS) - Breves Airport, Breves, Brazil','country_id' => '29'),\narray('id' => '6542','name' => '(CMC) - Camocim Airport, Camocim, Brazil','country_id' => '29'),\narray('id' => '6543','name' => '(QXC) - Fazenda SAo Braz Airport, Barra De Santo Antonio, Brazil','country_id' => '29'),\narray('id' => '6544','name' => '(PHI) - Pinheiro Airport, Pinheiro, Brazil','country_id' => '29'),\narray('id' => '6545','name' => '(ITI) - AgropecuAria Castanhais Airport, Cumaru Do Norte, Brazil','country_id' => '29'),\narray('id' => '6546','name' => '(PPY) - Pouso Alegre Airport, Pouso Alegre, Brazil','country_id' => '29'),\narray('id' => '6547','name' => '(ITE) - ItuberA Airport, ItuberA, Brazil','country_id' => '29'),\narray('id' => '6548','name' => '(BXX) - Borama Airport, Borama, Somalia','country_id' => '201'),\narray('id' => '6549','name' => '(GTA) - Gatokae Airport, Gatokae, Solomon Islands','country_id' => '190'),\narray('id' => '6550','name' => '(SOA) - SAc TrAng Airport, SAc TrAng, Vietnam','country_id' => '236'),\narray('id' => '6551','name' => '(CAY) - Cayenne-Rochambeau Airport, Cayenne / Rochambeau, French Guiana','country_id' => '77'),\narray('id' => '6552','name' => '(GSI) - Grand-Santi Airport, Grand-Santi, French Guiana','country_id' => '77'),\narray('id' => '6553','name' => '(MPY) - Maripasoula Airport, Maripasoula, French Guiana','country_id' => '77'),\narray('id' => '6554','name' => '(OYP) - Saint-Georges-de-l\\'Oyapock Airport, Saint-Georges-de-l\\'Oyapock Airport, French Guiana','country_id' => '77'),\narray('id' => '6555','name' => '(LDX) - Saint-Laurent-du-Maroni Airport, Saint-Laurent-du-Maroni, French Guiana','country_id' => '77'),\narray('id' => '6556','name' => '(REI) - Regina Airport, Regina, French Guiana','country_id' => '77'),\narray('id' => '6557','name' => '(XAU) - SaAol Airport, SaAol, French Guiana','country_id' => '77'),\narray('id' => '6558','name' => '(SOR) - Al Thaurah Airport, Al Thaurah, Syria','country_id' => '207'),\narray('id' => '6559','name' => '(APE) - San Juan Aposento Airport, San Juan Aposento, Peru','country_id' => '170'),\narray('id' => '6560','name' => '(ALD) - Alerta Airport, Fortaleza, Peru','country_id' => '170'),\narray('id' => '6561','name' => '(AOP) - Alferez FAP Alfredo Vladimir Sara Bauer Airport, Andoas, Peru','country_id' => '170'),\narray('id' => '6562','name' => '(MBP) - Moyobamba Airport, Moyobamba, Peru','country_id' => '170'),\narray('id' => '6563','name' => '(BLP) - Huallaga Airport, Bellavista, Peru','country_id' => '170'),\narray('id' => '6564','name' => '(IBP) - Iberia Airport, Iberia, Peru','country_id' => '170'),\narray('id' => '6565','name' => '(PCL) - Cap FAP David Abenzur Rengifo International Airport, Pucallpa, Peru','country_id' => '170'),\narray('id' => '6566','name' => '(TDP) - Trompeteros Airport, Corrientes, Peru','country_id' => '170'),\narray('id' => '6567','name' => '(CHM) - Teniente FAP Jaime A De Montreuil Morales Airport, Chimbote, Peru','country_id' => '170'),\narray('id' => '6568','name' => '(TGI) - Tingo Maria Airport, Tingo Maria, Peru','country_id' => '170'),\narray('id' => '6569','name' => '(CIX) - Capitan FAP Jose A Quinones Gonzales International Airport, Chiclayo, Peru','country_id' => '170'),\narray('id' => '6570','name' => '(AYP) - Coronel FAP Alfredo Mendivil Duarte Airport, Ayacucho, Peru','country_id' => '170'),\narray('id' => '6571','name' => '(ANS) - Andahuaylas Airport, Andahuaylas, Peru','country_id' => '170'),\narray('id' => '6572','name' => '(ATA) - Comandante FAP German Arias Graziani Airport, Anta, Peru','country_id' => '170'),\narray('id' => '6573','name' => '(UMI) - Quince Air Base, Quince Mil, Peru','country_id' => '170'),\narray('id' => '6574','name' => '(LIM) - Jorge ChAvez International Airport, Lima, Peru','country_id' => '170'),\narray('id' => '6575','name' => '(SFK) - Satipo Airport, Satipo, Peru','country_id' => '170'),\narray('id' => '6576','name' => '(UCZ) - Uchiza Airport, Uchiza, Peru','country_id' => '170'),\narray('id' => '6577','name' => '(RIJ) - Juan Simons Vela Airport, Rioja, Peru','country_id' => '170'),\narray('id' => '6578','name' => '(JJI) - Juanjui Airport, JuanjuA, Peru','country_id' => '170'),\narray('id' => '6579','name' => '(JAU) - Francisco Carle Airport, Jauja, Peru','country_id' => '170'),\narray('id' => '6580','name' => '(JUL) - Inca Manco Capac International Airport, Juliaca, Peru','country_id' => '170'),\narray('id' => '6581','name' => '(SJA) - San Juan de Marcona Airport, San Juan de Marcona, Peru','country_id' => '170'),\narray('id' => '6582','name' => '(CJA) - Mayor General FAP Armando Revoredo Iglesias Airport, Cajamarca, Peru','country_id' => '170'),\narray('id' => '6583','name' => '(RIM) - San Nicolas Airport, Rodriguez de Mendoza, Peru','country_id' => '170'),\narray('id' => '6584','name' => '(ILQ) - Ilo Airport, Ilo, Peru','country_id' => '170'),\narray('id' => '6585','name' => '(TBP) - Capitan FAP Pedro Canga Rodriguez Airport, Tumbes, Peru','country_id' => '170'),\narray('id' => '6586','name' => '(SMG) - Santa Maria Airport, Santa MarAa, Peru','country_id' => '170'),\narray('id' => '6587','name' => '(YMS) - Moises Benzaquen Rengifo Airport, Yurimaguas, Peru','country_id' => '170'),\narray('id' => '6588','name' => '(HUU) - Alferez Fap David Figueroa Fernandini Airport, HuAnuco, Peru','country_id' => '170'),\narray('id' => '6589','name' => '(SQU) - Saposoa Airport, Plaza Saposoa, Peru','country_id' => '170'),\narray('id' => '6590','name' => '(SYC) - Shiringayoc/Hacienda Hda Mejia Airport, Leon Velarde, Peru','country_id' => '170'),\narray('id' => '6591','name' => '(CHH) - Chachapoyas Airport, Chachapoyas, Peru','country_id' => '170'),\narray('id' => '6592','name' => '(REQ) - Requena Airport, Requena, Peru','country_id' => '170'),\narray('id' => '6593','name' => '(IQT) - Coronel FAP Francisco Secada Vignetta International Airport, Iquitos, Peru','country_id' => '170'),\narray('id' => '6594','name' => '(AQP) - RodrAguez BallAn International Airport, Arequipa, Peru','country_id' => '170'),\narray('id' => '6595','name' => '(TRU) - Capitan FAP Carlos Martinez De Pinillos International Airport, Trujillo, Peru','country_id' => '170'),\narray('id' => '6596','name' => '(PIO) - CapitAn FAP RenAn ElAas Olivera International Airport, Pisco, Peru','country_id' => '170'),\narray('id' => '6597','name' => '(TPP) - Cadete FAP Guillermo Del Castillo Paredes Airport, Tarapoto, Peru','country_id' => '170'),\narray('id' => '6598','name' => '(SYC) - Shiringayoc Airport, Shiringayoc, Peru','country_id' => '170'),\narray('id' => '6599','name' => '(TCQ) - Coronel FAP Carlos Ciriani Santa Rosa International Airport, Tacna, Peru','country_id' => '170'),\narray('id' => '6600','name' => '(PEM) - Padre Aldamiz International Airport, Puerto Maldonado, Peru','country_id' => '170'),\narray('id' => '6601','name' => '(PIU) - CapitAn FAP Guillermo Concha Iberico International Airport, Piura, Peru','country_id' => '170'),\narray('id' => '6602','name' => '(TYL) - Capitan Montes Airport, Talara, Peru','country_id' => '170'),\narray('id' => '6603','name' => '(NZC) - Maria Reiche Neuman Airport, Nazca, Peru','country_id' => '170'),\narray('id' => '6604','name' => '(CUZ) - Alejandro Velasco Astete International Airport, Cusco, Peru','country_id' => '170'),\narray('id' => '6605','name' => '(SQD) - Sanqingshan Airport, Shangrao, China','country_id' => '45'),\narray('id' => '6606','name' => '(SQJ) - Shaxian Airport, Sanming, China','country_id' => '45'),\narray('id' => '6607','name' => '(SQT) - China Strait Airstrip, Samarai Island, Papua New Guinea','country_id' => '172'),\narray('id' => '6608','name' => '(AAJ) - Cayana Airstrip, Awaradam, Suriname','country_id' => '202'),\narray('id' => '6609','name' => '(KCB) - Tepoe Airstrip, Kasikasima, Suriname','country_id' => '202'),\narray('id' => '6610','name' => '(SRL) - Palo Verde Airport, Santa Rosalia, Mexico','country_id' => '153'),\narray('id' => '6611','name' => '(SRM) - Sandringham Airport, Sandringham Station, Australia','country_id' => '12'),\narray('id' => '6612','name' => '(SRV) - Stony River 2 Airport, Stony River, United States','country_id' => '228'),\narray('id' => '6613','name' => '(CZB) - Carlos Ruhl Airport, Cruz Alta, Brazil','country_id' => '29'),\narray('id' => '6614','name' => '(APU) - Apucarana Airport, Apucarana, Brazil','country_id' => '29'),\narray('id' => '6615','name' => '(BGV) - Aeroclube de Bento GonAalves Airport, Bento GonAalves, Brazil','country_id' => '29'),\narray('id' => '6616','name' => '(BNU) - Blumenau Airport, Blumenau, Brazil','country_id' => '29'),\narray('id' => '6617','name' => '(CCI) - ConcArdia Airport, ConcArdia, Brazil','country_id' => '29'),\narray('id' => '6618','name' => '(CSS) - CassilAndia Airport, CassilAndia, Brazil','country_id' => '29'),\narray('id' => '6619','name' => '(QCN) - Canela Airport, Canela, Brazil','country_id' => '29'),\narray('id' => '6620','name' => '(CKO) - CornAlio ProcApio Airport, CornAlio ProcApio, Brazil','country_id' => '29'),\narray('id' => '6621','name' => '(DOU) - Dourados Airport, Dourados, Brazil','country_id' => '29'),\narray('id' => '6622','name' => '(ERM) - Erechim Airport, Erechim, Brazil','country_id' => '29'),\narray('id' => '6623','name' => '(FBE) - Francisco BeltrAo Airport, Francisco BeltrAo, Brazil','country_id' => '29'),\narray('id' => '6624','name' => '(QGA) - GuaAra Airport, GuaAra, Brazil','country_id' => '29'),\narray('id' => '6625','name' => '(HRZ) - Walter BAndchen Airport, Horizontina, Brazil','country_id' => '29'),\narray('id' => '6626','name' => '(IJU) - IjuA Airport, IjuA, Brazil','country_id' => '29'),\narray('id' => '6627','name' => '(ITQ) - Itaqui Airport, Itaqui, Brazil','country_id' => '29'),\narray('id' => '6628','name' => '(JCB) - Santa Terezinha Airport, JoaAaba, Brazil','country_id' => '29'),\narray('id' => '6629','name' => '(CBW) - Campo MourAo Airport, Campo MourAo, Brazil','country_id' => '29'),\narray('id' => '6630','name' => '(QDB) - Cachoeira do Sul Airport, Cachoeira Do Sul, Brazil','country_id' => '29'),\narray('id' => '6631','name' => '(QCR) - Curitibanos Airport, Curitibanos, Brazil','country_id' => '29'),\narray('id' => '6632','name' => '(OAL) - Cacoal Airport, Cacoal, Brazil','country_id' => '29'),\narray('id' => '6633','name' => '(LOI) - Helmuth Baungarten Airport, Lontras, Brazil','country_id' => '29'),\narray('id' => '6634','name' => '(ALQ) - Alegrete Novo Airport, Alegrete, Brazil','country_id' => '29'),\narray('id' => '6635','name' => '(QMF) - Mafra Airport, Mafra, Brazil','country_id' => '29'),\narray('id' => '6636','name' => '(QGF) - Montenegro Airport, Montenegro, Brazil','country_id' => '29'),\narray('id' => '6637','name' => '(QHV) - Novo Hamburgo Airport, Novo Hamburgo, Brazil','country_id' => '29'),\narray('id' => '6638','name' => '(SQX) - SAo Miguel do Oeste Airport, SAo Miguel Do Oeste, Brazil','country_id' => '29'),\narray('id' => '6639','name' => '(APX) - Arapongas Airport, Arapongas, Brazil','country_id' => '29'),\narray('id' => '6640','name' => '(PTO) - Pato Branco Airport, Pato Branco, Brazil','country_id' => '29'),\narray('id' => '6641','name' => '(PNG) - ParanaguA Airport, ParanaguA, Brazil','country_id' => '29'),\narray('id' => '6642','name' => '(PVI) - ParanavaA Airport, ParanavaA, Brazil','country_id' => '29'),\narray('id' => '6643','name' => '(PBB) - ParanaAba Airport, ParanaAba, Brazil','country_id' => '29'),\narray('id' => '6644','name' => '(QAC) - Castro Airport, Castro, Brazil','country_id' => '29'),\narray('id' => '6645','name' => '(SQY) - SAo LourenAo do Sul Airport, SAo LourenAo Do Sul, Brazil','country_id' => '29'),\narray('id' => '6646','name' => '(SSS) - Siassi Airport, Siassi, Papua New Guinea','country_id' => '172'),\narray('id' => '6647','name' => '(QOJ) - SAo Borja Airport, SAo Borja, Brazil','country_id' => '29'),\narray('id' => '6648','name' => '(CSU) - Santa Cruz do Sul Airport, Santa Cruz Do Sul, Brazil','country_id' => '29'),\narray('id' => '6649','name' => '(TJL) - PlAnio Alarcom Airport, TrAas Lagoas, Brazil','country_id' => '29'),\narray('id' => '6650','name' => '(UMU) - Umuarama Airport, Umuarama, Brazil','country_id' => '29'),\narray('id' => '6651','name' => '(QVB) - UniAo da VitAria Airport, UniAo Da VitAria, Brazil','country_id' => '29'),\narray('id' => '6652','name' => '(SSV) - Siasi Airport, Siasi Island, Philippines','country_id' => '173'),\narray('id' => '6653','name' => '(VIA) - Videira Airport, Videira, Brazil','country_id' => '29'),\narray('id' => '6654','name' => '(CTQ) - Santa VitAria do Palmar Airport, Santa VitAria Do Palmar, Brazil','country_id' => '29'),\narray('id' => '6655','name' => '(AXE) - XanxerAa Airport, XanxerAa, Brazil','country_id' => '29'),\narray('id' => '6656','name' => '(AAG) - Arapoti Airport, Arapoti, Brazil','country_id' => '29'),\narray('id' => '6657','name' => '(SRA) - Santa Rosa Airport, Santa Rosa, Brazil','country_id' => '29'),\narray('id' => '6658','name' => '(PGZ) - Ponta Grossa Airport - Comandante Antonio Amilton Beraldo, Ponta Grossa, Brazil','country_id' => '29'),\narray('id' => '6659','name' => '(ATI) - Artigas International Airport, Artigas, Uruguay','country_id' => '229'),\narray('id' => '6660','name' => '(BUV) - Bella Union Airport, Bella Union, Uruguay','country_id' => '229'),\narray('id' => '6661','name' => '(CYR) - Laguna de Los Patos International Airport, Colonia del Sacramento, Uruguay','country_id' => '229'),\narray('id' => '6662','name' => '(DZO) - Santa Bernardina International Airport, Durazno, Uruguay','country_id' => '229'),\narray('id' => '6663','name' => '(PDP) - Capitan Corbeta CA Curbelo International Airport, Punta del Este, Uruguay','country_id' => '229'),\narray('id' => '6664','name' => '(MLZ) - Cerro Largo International Airport, Melo, Uruguay','country_id' => '229'),\narray('id' => '6665','name' => '(MVD) - Carrasco International /General C L Berisso Airport, Montevideo, Uruguay','country_id' => '229'),\narray('id' => '6666','name' => '(PDU) - Tydeo Larre Borges Airport, Paysandu, Uruguay','country_id' => '229'),\narray('id' => '6667','name' => '(RVY) - Presidente General Don Oscar D. Gestido International Airport, Rivera, Uruguay','country_id' => '229'),\narray('id' => '6668','name' => '(STY) - Nueva Hesperides International Airport, Salto, Uruguay','country_id' => '229'),\narray('id' => '6669','name' => '(TAW) - Tacuarembo Airport, Tacuarembo, Uruguay','country_id' => '229'),\narray('id' => '6670','name' => '(TYT) - Treinta y Tres Airport, Treinta y Tres, Uruguay','country_id' => '229'),\narray('id' => '6671','name' => '(VCH) - Vichadero Airport, Vichadero, Uruguay','country_id' => '229'),\narray('id' => '6672','name' => '(AGV) - Oswaldo Guevara Mujica Airport, Acarigua, Venezuela','country_id' => '233'),\narray('id' => '6673','name' => '(AAO) - Anaco Airport, Anaco, Venezuela','country_id' => '233'),\narray('id' => '6674','name' => '(LPJ) - Armando Schwarck Airport, Guayabal, Venezuela','country_id' => '233'),\narray('id' => '6675','name' => '(BLA) - General Jose Antonio Anzoategui International Airport, Barcelona, Venezuela','country_id' => '233'),\narray('id' => '6676','name' => '(BNS) - Barinas Airport, Barinas, Venezuela','country_id' => '233'),\narray('id' => '6677','name' => '(BRM) - Barquisimeto International Airport, Barquisimeto, Venezuela','country_id' => '233'),\narray('id' => '6678','name' => '(MYC) - Escuela Mariscal Sucre Airport, Maracay, Venezuela','country_id' => '233'),\narray('id' => '6679','name' => '(CBL) - Aeropuerto \"General Tomas de Heres\". Ciudad Bolivar, , Venezuela','country_id' => '233'),\narray('id' => '6680','name' => '(CXA) - Caicara del Orinoco Airport, , Venezuela','country_id' => '233'),\narray('id' => '6681','name' => '(CUV) - Casigua El Cubo Airport, Casigua El Cubo, Venezuela','country_id' => '233'),\narray('id' => '6682','name' => '(CLZ) - Calabozo Airport, Guarico, Venezuela','country_id' => '233'),\narray('id' => '6683','name' => '(CAJ) - Canaima Airport, Canaima, Venezuela','country_id' => '233'),\narray('id' => '6684','name' => '(VCR) - Carora Airport, Carora, Venezuela','country_id' => '233'),\narray('id' => '6685','name' => '(CUP) - General Francisco BermAodez Airport, CarAopano, Venezuela','country_id' => '233'),\narray('id' => '6686','name' => '(CZE) - JosA Leonardo Chirinos Airport, Coro, Venezuela','country_id' => '233'),\narray('id' => '6687','name' => '(CUM) - CumanA (Antonio JosA de Sucre) Airport, , Venezuela','country_id' => '233'),\narray('id' => '6688','name' => '(isl) - La Tortuga Punta Delgada Airport, Isla La Tortuga, Venezuela','country_id' => '233'),\narray('id' => '6689','name' => '(PPZ) - Puerto Paez Airport, Puerto Paez, Venezuela','country_id' => '233'),\narray('id' => '6690','name' => '(EOR) - El Dorado Airport, Bolivar, Venezuela','country_id' => '233'),\narray('id' => '6691','name' => '(EOZ) - Elorza Airport, , Venezuela','country_id' => '233'),\narray('id' => '6692','name' => '(GDO) - Guasdalito Airport, , Venezuela','country_id' => '233'),\narray('id' => '6693','name' => '(GUI) - Guiria Airport, , Venezuela','country_id' => '233'),\narray('id' => '6694','name' => '(GUQ) - Guanare Airport, Guanare, Venezuela','country_id' => '233'),\narray('id' => '6695','name' => '(HGE) - Higuerote Airport, Higuerote, Venezuela','country_id' => '233'),\narray('id' => '6696','name' => '(ICA) - IcabarAo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6697','name' => '(ICC) - AndrAs Miguel Salazar Marcano Airport, Isla de Coche, Venezuela','country_id' => '233'),\narray('id' => '6698','name' => '(LSP) - Josefa Camejo International Airport, ParaguanA, Venezuela','country_id' => '233'),\narray('id' => '6699','name' => '(KAV) - Kavanayen Airport, , Venezuela','country_id' => '233'),\narray('id' => '6700','name' => '(LFR) - La Fria Airport, , Venezuela','country_id' => '233'),\narray('id' => '6701','name' => '(MAR) - La Chinita International Airport, Maracaibo, Venezuela','country_id' => '233'),\narray('id' => '6702','name' => '(MRD) - Alberto Carnevalli Airport, MArida, Venezuela','country_id' => '233'),\narray('id' => '6703','name' => '(PMV) - Del Caribe Santiago MariAo International Airport, Isla Margarita, Venezuela','country_id' => '233'),\narray('id' => '6704','name' => '(CCS) - SimAn BolAvar International Airport, Caracas, Venezuela','country_id' => '233'),\narray('id' => '6705','name' => '(MUN) - MaturAn Airport, , Venezuela','country_id' => '233'),\narray('id' => '6706','name' => '(CBS) - Oro Negro Airport, Cabimas, Venezuela','country_id' => '233'),\narray('id' => '6707','name' => '(PYH) - Cacique Aramare Airport, Puerto Ayacucho, Venezuela','country_id' => '233'),\narray('id' => '6708','name' => '(PBL) - General Bartolome Salom International Airport, , Venezuela','country_id' => '233'),\narray('id' => '6709','name' => '(PDZ) - Pedernales Airport, , Venezuela','country_id' => '233'),\narray('id' => '6710','name' => '(PPH) - Perai Tepuy Airport, , Venezuela','country_id' => '233'),\narray('id' => '6711','name' => '(SCI) - Paramillo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6712','name' => '(PZO) - General Manuel Carlos Piar International Airport, Puerto Ordaz-Ciudad Guayana, Venezuela','country_id' => '233'),\narray('id' => '6713','name' => '(PTM) - Palmarito Airport, Palmarito, Venezuela','country_id' => '233'),\narray('id' => '6714','name' => '(LRV) - Los Roques Airport, Gran Roque Island, Venezuela','country_id' => '233'),\narray('id' => '6715','name' => '(SVS) - Stevens Village Airport, Stevens Village, United States','country_id' => '228'),\narray('id' => '6716','name' => '(SVZ) - San Antonio Del Tachira Airport, , Venezuela','country_id' => '233'),\narray('id' => '6717','name' => '(SBB) - Santa BArbara de Barinas Airport, Santa BArbara, Venezuela','country_id' => '233'),\narray('id' => '6718','name' => '(SNV) - Santa Elena de Uairen Airport, , Venezuela','country_id' => '233'),\narray('id' => '6719','name' => '(STD) - Mayor Buenaventura Vivas International Airport, Santo Domingo, Venezuela','country_id' => '233'),\narray('id' => '6720','name' => '(SNF) - Sub Teniente Nestor Arias Airport, San Felipe, Venezuela','country_id' => '233'),\narray('id' => '6721','name' => '(SFD) - San Fernando De Apure Airport, Inglaterra, Venezuela','country_id' => '233'),\narray('id' => '6722','name' => '(SOM) - San TomA Airport, El Tigre, Venezuela','country_id' => '233'),\narray('id' => '6723','name' => '(STB) - Santa BArbara del Zulia Airport, , Venezuela','country_id' => '233'),\narray('id' => '6724','name' => '(TUV) - Tucupita Airport, Tucupita, Venezuela','country_id' => '233'),\narray('id' => '6725','name' => '(TMO) - Tumeremo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6726','name' => '(URM) - Uriman Airport, , Venezuela','country_id' => '233'),\narray('id' => '6727','name' => '(VLN) - Arturo Michelena International Airport, Valencia, Venezuela','country_id' => '233'),\narray('id' => '6728','name' => '(VIG) - Juan Pablo PArez Alfonso Airport, El VigAa, Venezuela','country_id' => '233'),\narray('id' => '6729','name' => '(VLV) - Dr. Antonio NicolAs BriceAo Airport, Valera, Venezuela','country_id' => '233'),\narray('id' => '6730','name' => '(VDP) - Valle de La Pascua Airport, , Venezuela','country_id' => '233'),\narray('id' => '6731','name' => '(BAZ) - Barcelos Airport, Barcelos, Brazil','country_id' => '29'),\narray('id' => '6732','name' => '(LCB) - Pontes e Lacerda Airport, Pontes e Lacerda, Brazil','country_id' => '29'),\narray('id' => '6733','name' => '(RBB) - Borba Airport, Borba, Brazil','country_id' => '29'),\narray('id' => '6734','name' => '(CAF) - Carauari Airport, Carauari, Brazil','country_id' => '29'),\narray('id' => '6735','name' => '(CQS) - Costa Marques Airport, Costa Marques, Brazil','country_id' => '29'),\narray('id' => '6736','name' => '(DMT) - Diamantino Airport, Diamantino, Brazil','country_id' => '29'),\narray('id' => '6737','name' => '(DNO) - DianApolis Airport, DianApolis, Brazil','country_id' => '29'),\narray('id' => '6738','name' => '(SWE) - Siwea Airport, Siwea, Papua New Guinea','country_id' => '172'),\narray('id' => '6739','name' => '(ERN) - EirunepA Airport, EirunepA, Brazil','country_id' => '29'),\narray('id' => '6740','name' => '(CQA) - Canarana Airport, Canarana, Brazil','country_id' => '29'),\narray('id' => '6741','name' => '(SXO) - SAo FAlix do Araguaia Airport, SAo FAlix Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6742','name' => '(SWG) - Satwag Airport, Satwag, Papua New Guinea','country_id' => '172'),\narray('id' => '6743','name' => '(GRP) - Gurupi Airport, Gurupi, Brazil','country_id' => '29'),\narray('id' => '6744','name' => '(AUX) - AraguaAna Airport, AraguaAna, Brazil','country_id' => '29'),\narray('id' => '6745','name' => '(HUW) - HumaitA Airport, HumaitA, Brazil','country_id' => '29'),\narray('id' => '6746','name' => '(IPG) - Ipiranga Airport, Santo AntAnio Do IAA, Brazil','country_id' => '29'),\narray('id' => '6747','name' => '(IDO) - Santa Izabel do Morro Airport, CristalAndia, Brazil','country_id' => '29'),\narray('id' => '6748','name' => '(JPR) - Ji-ParanA Airport, Ji-ParanA, Brazil','country_id' => '29'),\narray('id' => '6749','name' => '(JIA) - JuAna Airport, JuAna, Brazil','country_id' => '29'),\narray('id' => '6750','name' => '(JRN) - Juruena Airport, Juruena, Brazil','country_id' => '29'),\narray('id' => '6751','name' => '(JTI) - JataA Airport, JataA, Brazil','country_id' => '29'),\narray('id' => '6752','name' => '(CCX) - CAceres Airport, CAceres, Brazil','country_id' => '29'),\narray('id' => '6753','name' => '(CIZ) - Coari Airport, Coari, Brazil','country_id' => '29'),\narray('id' => '6754','name' => '(TLZ) - CatalAo Airport, CatalAo, Brazil','country_id' => '29'),\narray('id' => '6755','name' => '(LBR) - LAbrea Airport, LAbrea, Brazil','country_id' => '29'),\narray('id' => '6756','name' => '(RVD) - General Leite de Castro Airport, Rio Verde, Brazil','country_id' => '29'),\narray('id' => '6757','name' => '(MBZ) - MauAs Airport, MauAs, Brazil','country_id' => '29'),\narray('id' => '6758','name' => '(NVP) - Novo AripuanA Airport, Novo AripuanA, Brazil','country_id' => '29'),\narray('id' => '6759','name' => '(AQM) - Nova Vida Airport, Ariquemes, Brazil','country_id' => '29'),\narray('id' => '6760','name' => '(BCR) - Novo Campo Airport, Boca do Acre, Brazil','country_id' => '29'),\narray('id' => '6761','name' => '(NQL) - NiquelAndia Airport, NiquelAndia, Brazil','country_id' => '29'),\narray('id' => '6762','name' => '(APS) - AnApolis Airport, AnApolis, Brazil','country_id' => '29'),\narray('id' => '6763','name' => '(FBA) - Fonte Boa Airport, Fonte Boa, Brazil','country_id' => '29'),\narray('id' => '6764','name' => '(PBV) - Porto dos GaAochos Airport, Porto Dos GaAochos, Brazil','country_id' => '29'),\narray('id' => '6765','name' => '(PIN) - Parintins Airport, Parintins, Brazil','country_id' => '29'),\narray('id' => '6766','name' => '(PBQ) - Pimenta Bueno Airport, Pimenta Bueno, Brazil','country_id' => '29'),\narray('id' => '6767','name' => '(PBX) - Fazenda Piraguassu Airport, Porto Alegre Do Norte, Brazil','country_id' => '29'),\narray('id' => '6768','name' => '(SWR) - Silur Airport, Silur Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '6769','name' => '(AAI) - Arraias Airport, Arraias, Brazil','country_id' => '29'),\narray('id' => '6770','name' => '(ROO) - Maestro Marinho Franco Airport, RondonApolis, Brazil','country_id' => '29'),\narray('id' => '6771','name' => '(AIR) - AripuanA Airport, AripuanA, Brazil','country_id' => '29'),\narray('id' => '6772','name' => '(OPS) - Presidente JoAo Batista Figueiredo Airport, Sinop, Brazil','country_id' => '29'),\narray('id' => '6773','name' => '(STZ) - Santa Terezinha Airport, Santa Terezinha, Brazil','country_id' => '29'),\narray('id' => '6774','name' => '(IRZ) - Tapuruquara Airport, Santa Isabel Do Rio Negro, Brazil','country_id' => '29'),\narray('id' => '6775','name' => '(TGQ) - TangarA da Serra Airport, TangarA Da Serra, Brazil','country_id' => '29'),\narray('id' => '6776','name' => '(AZL) - Fazenda TucunarA Airport, Sapezal, Brazil','country_id' => '29'),\narray('id' => '6777','name' => '(QHN) - Taguatinga Airport, Taguatinga, Brazil','country_id' => '29'),\narray('id' => '6778','name' => '(SQM) - SAo Miguel do Araguaia Airport, SAo Miguel Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6779','name' => '(MTG) - Vila Bela da SantAssima Trindade Airport, Vila Bela Da SantAssima Trindade, Brazil','country_id' => '29'),\narray('id' => '6780','name' => '(VLP) - Vila Rica Airport, Vila Rica, Brazil','country_id' => '29'),\narray('id' => '6781','name' => '(MBK) - Regional Orlando Villas Boas Airport, MatupA, Brazil','country_id' => '29'),\narray('id' => '6782','name' => '(NOK) - Xavantina Airport, Nova Xavantina, Brazil','country_id' => '29'),\narray('id' => '6783','name' => '(SXH) - Sehulea Airport, Sehulea, Papua New Guinea','country_id' => '172'),\narray('id' => '6784','name' => '(SXP) - Sheldon Point Airport, Nunam Iqua, United States','country_id' => '228'),\narray('id' => '6785','name' => '(SXV) - SXV Salem , Tamil Nadu, India, Salem, India','country_id' => '101'),\narray('id' => '6786','name' => '(AHL) - Aishalton Airport, Aishalton, Guyana','country_id' => '91'),\narray('id' => '6787','name' => '(NAI) - Annai Airport, Annai, Guyana','country_id' => '91'),\narray('id' => '6788','name' => '(SYB) - Seal Bay Seaplane Base, Seal Bay, United States','country_id' => '228'),\narray('id' => '6789','name' => '(BMJ) - Baramita Airport, Baramita, Guyana','country_id' => '91'),\narray('id' => '6790','name' => '(GFO) - Bartica A Airport, Bartica, Guyana','country_id' => '91'),\narray('id' => '6791','name' => '(GEO) - Cheddi Jagan International Airport, Georgetown, Guyana','country_id' => '91'),\narray('id' => '6792','name' => '(OGL) - Ogle Airport, Ogle, Guyana','country_id' => '91'),\narray('id' => '6793','name' => '(IMB) - Imbaimadai Airport, Imbaimadai, Guyana','country_id' => '91'),\narray('id' => '6794','name' => '(KAR) - Kamarang Airport, Kamarang, Guyana','country_id' => '91'),\narray('id' => '6795','name' => '(KRM) - Karanambo Airport, Karanambo, Guyana','country_id' => '91'),\narray('id' => '6796','name' => '(KRG) - Karasabai Airport, Karasabai, Guyana','country_id' => '91'),\narray('id' => '6797','name' => '(KTO) - Kato Airport, Kato, Guyana','country_id' => '91'),\narray('id' => '6798','name' => '(KKG) - Konawaruk Airport, Konawaruk, Guyana','country_id' => '91'),\narray('id' => '6799','name' => '(LUB) - Lumid Pau Airport, Lumid Pau, Guyana','country_id' => '91'),\narray('id' => '6800','name' => '(LTM) - Lethem Airport, Lethem, Guyana','country_id' => '91'),\narray('id' => '6801','name' => '(USI) - Mabaruma Airport, Mabaruma, Guyana','country_id' => '91'),\narray('id' => '6802','name' => '(MHA) - Mahdia Airport, Mahdia, Guyana','country_id' => '91'),\narray('id' => '6803','name' => '(MYM) - Monkey Mountain Airport, Monkey Mountain, Guyana','country_id' => '91'),\narray('id' => '6804','name' => '(MWJ) - Matthews Ridge Airport, Matthews Ridge, Guyana','country_id' => '91'),\narray('id' => '6805','name' => '(SYN) - Stanton Airfield, Stanton, United States','country_id' => '228'),\narray('id' => '6806','name' => '(QSX) - New Amsterdam Airport, New Amsterdam, Guyana','country_id' => '91'),\narray('id' => '6807','name' => '(ORJ) - Orinduik Airport, Orinduik, Guyana','country_id' => '91'),\narray('id' => '6808','name' => '(PMT) - Paramakatoi Airport, Paramakatoi, Guyana','country_id' => '91'),\narray('id' => '6809','name' => '(PRR) - Paruma Airport, Paruma, Guyana','country_id' => '91'),\narray('id' => '6810','name' => '(SDC) - Sand Creek Airport, Sand Creek, Guyana','country_id' => '91'),\narray('id' => '6811','name' => '(SKM) - Skeldon Airport, Skeldon, Guyana','country_id' => '91'),\narray('id' => '6812','name' => '(SZN) - Santa Cruz Island Airport, Santa Barbara, United States','country_id' => '228'),\narray('id' => '6813','name' => '(SZP) - Santa Paula Airport, Santa Paula, United States','country_id' => '228'),\narray('id' => '6814','name' => '(ANU) - V.C. Bird International Airport, St. George, Antigua and Barbuda','country_id' => '3'),\narray('id' => '6815','name' => '(BBQ) - Codrington Airport, Codrington, Antigua and Barbuda','country_id' => '3'),\narray('id' => '6816','name' => '(TBE) - Timbunke Airport, Timbunke, Papua New Guinea','country_id' => '172'),\narray('id' => '6817','name' => '(BGI) - Sir Grantley Adams International Airport, Bridgetown, Barbados','country_id' => '16'),\narray('id' => '6818','name' => '(TBQ) - Tarabo Airport, Tarabo, Papua New Guinea','country_id' => '172'),\narray('id' => '6819','name' => '(TBV) - Tabal Airstrip, Tabal Island, Marshall Islands','country_id' => '139'),\narray('id' => '6820','name' => '(TCK) - Tinboli Airport, Tinboli, Papua New Guinea','country_id' => '172'),\narray('id' => '6821','name' => '(TCT) - Takotna Airport, Takotna, United States','country_id' => '228'),\narray('id' => '6822','name' => '(TDB) - Tetebedi Airport, Tetebedi, Papua New Guinea','country_id' => '172'),\narray('id' => '6823','name' => '(DCF) - Canefield Airport, Canefield, Dominica','country_id' => '57'),\narray('id' => '6824','name' => '(DOM) - Melville Hall Airport, Marigot, Dominica','country_id' => '57'),\narray('id' => '6825','name' => '(TDS) - Sasereme Airport, Sasereme, Papua New Guinea','country_id' => '172'),\narray('id' => '6826','name' => '(TEO) - Terapo Airport, Terapo Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '6827','name' => '(TFB) - Tifalmin Airport, Tifalmin, Papua New Guinea','country_id' => '172'),\narray('id' => '6828','name' => '(DSD) - La DAsirade Airport, Grande Anse, Guadeloupe','country_id' => '84'),\narray('id' => '6829','name' => '(BBR) - Baillif Airport, Basse Terre, Guadeloupe','country_id' => '84'),\narray('id' => '6830','name' => '(SFC) - St-FranAois Airport, St-FranAois, Guadeloupe','country_id' => '84'),\narray('id' => '6831','name' => '(FDF) - Martinique AimA CAsaire International Airport, Fort-de-France, Martinique','country_id' => '146'),\narray('id' => '6832','name' => '(SFG) - L\\'EspArance Airport, Grand Case, Saint Martin','country_id' => '137'),\narray('id' => '6833','name' => '(SBH) - Gustaf III Airport, Gustavia, Saint BarthAlemy','country_id' => '24'),\narray('id' => '6834','name' => '(GBJ) - Les Bases Airport, Grand Bourg, Guadeloupe','country_id' => '84'),\narray('id' => '6835','name' => '(PTP) - Pointe-A-Pitre Le Raizet, Pointe-A-Pitre Le Raizet, Guadeloupe','country_id' => '84'),\narray('id' => '6836','name' => '(LSS) - Terre-de-Haut Airport, Les Saintes, Guadeloupe','country_id' => '84'),\narray('id' => '6837','name' => '(TFY) - Tarfaya Airport, Tarfaya, Morocco','country_id' => '133'),\narray('id' => '6838','name' => '(TGL) - Tagula Airport, Sudest Island, Papua New Guinea','country_id' => '172'),\narray('id' => '6839','name' => '(GND) - Point Salines International Airport, Saint George\\'s, Grenada','country_id' => '75'),\narray('id' => '6840','name' => '(CRU) - Lauriston Airport, Carriacou Island, Grenada','country_id' => '75'),\narray('id' => '6841','name' => '(STT) - Cyril E. King Airport, Charlotte Amalie, Harry S. Truman Airport, U.S. Virgin Islands','country_id' => '235'),\narray('id' => '6842','name' => '(STX) - Henry E Rohlsen Airport, Christiansted, U.S. Virgin Islands','country_id' => '235'),\narray('id' => '6843','name' => '(ARE) - Antonio Nery Juarbe Pol Airport, Arecibo, Puerto Rico','country_id' => '178'),\narray('id' => '6844','name' => '(BQN) - Rafael Hernandez Airport, Aguadilla, Puerto Rico','country_id' => '178'),\narray('id' => '6845','name' => '(TJC) - Ticantiki Airport, Ticantiqui, Panama','country_id' => '169'),\narray('id' => '6846','name' => '(CPX) - Benjamin Rivera Noriega Airport, Culebra Island, Puerto Rico','country_id' => '178'),\narray('id' => '6847','name' => '(FAJ) - Diego Jimenez Torres Airport, Fajardo, Puerto Rico','country_id' => '178'),\narray('id' => '6848','name' => '(SIG) - Fernando Luis Ribas Dominicci Airport, San Juan, Puerto Rico','country_id' => '178'),\narray('id' => '6849','name' => '(MAZ) - Eugenio Maria De Hostos Airport, Mayaguez, Puerto Rico','country_id' => '178'),\narray('id' => '6850','name' => '(PSE) - Mercedita Airport, Ponce, Puerto Rico','country_id' => '178'),\narray('id' => '6851','name' => '(NRR) - JosA Aponte de la Torre Airport, Ceiba, Puerto Rico','country_id' => '178'),\narray('id' => '6852','name' => '(SJU) - Luis Munoz Marin International Airport, San Juan, Puerto Rico','country_id' => '178'),\narray('id' => '6853','name' => '(VQS) - Antonio Rivera Rodriguez Airport, Vieques Island, Puerto Rico','country_id' => '178'),\narray('id' => '6854','name' => '(SKB) - Robert L. Bradshaw International Airport, Basseterre, Saint Kitts and Nevis','country_id' => '116'),\narray('id' => '6855','name' => '(NEV) - Vance W. Amory International Airport, Charlestown, Saint Kitts and Nevis','country_id' => '116'),\narray('id' => '6856','name' => '(TLP) - Tumolbil Airport, Tumolbil, Papua New Guinea','country_id' => '172'),\narray('id' => '6857','name' => '(SLU) - George F. L. Charles Airport, Castries, Saint Lucia','country_id' => '124'),\narray('id' => '6858','name' => '(UVF) - Hewanorra International Airport, Vieux Fort, Saint Lucia','country_id' => '124'),\narray('id' => '6859','name' => '(TLT) - Tuluksak Airport, Tuluksak, United States','country_id' => '228'),\narray('id' => '6860','name' => '(NBE) - Enfidha - Hammamet International Airport, Enfidha, Tunisia','country_id' => '218'),\narray('id' => '6861','name' => '(AUA) - Queen Beatrix International Airport, Oranjestad, Aruba','country_id' => '13'),\narray('id' => '6862','name' => '(BON) - Flamingo International Airport, Kralendijk, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6863','name' => '(CUR) - Hato International Airport, Willemstad, CuraAao','country_id' => '50'),\narray('id' => '6864','name' => '(EUX) - F. D. Roosevelt Airport, Sint Eustatius, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6865','name' => '(SXM) - Princess Juliana International Airport, Saint Martin, Sint Maarten','country_id' => '206'),\narray('id' => '6866','name' => '(SAB) - Juancho E. Yrausquin Airport, Saba, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6867','name' => '(TNW) - Jumandy Airport, Tena, Ecuador','country_id' => '60'),\narray('id' => '6868','name' => '(TOK) - Torokina Airport, Torokina, Papua New Guinea','country_id' => '172'),\narray('id' => '6869','name' => '(PTA) - Port Alsworth Airport, Port Alsworth, United States','country_id' => '228'),\narray('id' => '6870','name' => '(TPT) - Tapeta Airport, Tapeta, Liberia','country_id' => '127'),\narray('id' => '6871','name' => '(AXA) - Wallblake Airport, The Valley, Anguilla','country_id' => '4'),\narray('id' => '6872','name' => '(BGG) - BingAl Aeltiksuyu Airport, BingAl, Turkey','country_id' => '220'),\narray('id' => '6873','name' => '(OGU) - Ordu Giresun Airport, Ordu, Turkey','country_id' => '220'),\narray('id' => '6874','name' => '(IGD) - IAdAr Airport, IAdAr, Turkey','country_id' => '220'),\narray('id' => '6875','name' => '(MNI) - John A. Osborne Airport, Gerald\\'s Park, Montserrat','country_id' => '148'),\narray('id' => '6876','name' => '(TSG) - Tanacross Airport, Tanacross, United States','country_id' => '228'),\narray('id' => '6877','name' => '(TSI) - Tsile Tsile Airport, Tsile Tsile, Papua New Guinea','country_id' => '172'),\narray('id' => '6878','name' => '(TAB) - Tobago-Crown Point Airport, Scarborough, Trinidad and Tobago','country_id' => '221'),\narray('id' => '6879','name' => '(POS) - Piarco International Airport, Port of Spain, Trinidad and Tobago','country_id' => '221'),\narray('id' => '6880','name' => '(TUE) - Tupile Airport, Isla Tupile, Panama','country_id' => '169'),\narray('id' => '6881','name' => '(TUJ) - Tum Airport, Tum, Ethiopia','country_id' => '66'),\narray('id' => '6882','name' => '(NGD) - Captain Auguste George Airport, Anegada, British Virgin Islands','country_id' => '234'),\narray('id' => '6883','name' => '(EIS) - Terrance B. Lettsome International Airport, Road Town, British Virgin Islands','country_id' => '234'),\narray('id' => '6884','name' => '(VIJ) - Virgin Gorda Airport, Spanish Town, British Virgin Islands','country_id' => '234'),\narray('id' => '6885','name' => '(BQU) - J F Mitchell Airport, Bequia, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6886','name' => '(CIW) - Canouan Airport, Canouan, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6887','name' => '(MQS) - Mustique Airport, Mustique Island, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6888','name' => '(UNI) - Union Island International Airport, Union Island, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6889','name' => '(SVD) - E. T. Joshua Airport, Kingstown, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6890','name' => '(DSX) - Dongsha Island Airport, Pratas Island, Taiwan','country_id' => '223'),\narray('id' => '6891','name' => '(CMJ) - Chi Mei Airport, Chi Mei, Taiwan','country_id' => '223'),\narray('id' => '6892','name' => '(BDA) - L.F. Wade International International Airport, Hamilton, Bermuda','country_id' => '25'),\narray('id' => '6893','name' => '(TYE) - Tyonek Airport, Tyonek, United States','country_id' => '228'),\narray('id' => '6894','name' => '(GIT) - Mchauru Airport, Geita, Tanzania','country_id' => '224'),\narray('id' => '6895','name' => '(LUY) - Lushoto Airport, Lushoto, Tanzania','country_id' => '224'),\narray('id' => '6896','name' => '(DBS) - Dubois Municipal Airport, Dubois, United States','country_id' => '228'),\narray('id' => '6897','name' => '(OOX) - Melitopol Air Base, Melitopol, Ukraine','country_id' => '225'),\narray('id' => '6898','name' => '(MXR) - Myrhorod Air Base, Myrhorod, Ukraine','country_id' => '225'),\narray('id' => '6899','name' => '(KHU) - Kakhnovka Airfield, Kremenchuk, Ukraine','country_id' => '225'),\narray('id' => '6900','name' => '(ALA) - Almaty Airport, Almaty, Kazakhstan','country_id' => '121'),\narray('id' => '6901','name' => '(BXH) - Balkhash Airport, Balkhash, Kazakhstan','country_id' => '121'),\narray('id' => '6902','name' => '(BXJ) - Boralday Airport, Aima Ata, Kazakhstan','country_id' => '121'),\narray('id' => '6903','name' => '(TSE) - Astana International Airport, Astana, Kazakhstan','country_id' => '121'),\narray('id' => '6904','name' => '(KOV) - Kokshetau Airport, Kokshetau, Kazakhstan','country_id' => '121'),\narray('id' => '6905','name' => '(PPK) - Petropavlosk South Airport, Petropavlosk, Kazakhstan','country_id' => '121'),\narray('id' => '6906','name' => '(DMB) - Taraz Airport, Taraz, Kazakhstan','country_id' => '121'),\narray('id' => '6907','name' => '(UAE) - Mount Aue Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '6908','name' => '(FRU) - Manas International Airport, Bishkek, Kyrgyzstan','country_id' => '112'),\narray('id' => '6909','name' => '(OSS) - Osh Airport, Osh, Kyrgyzstan','country_id' => '112'),\narray('id' => '6910','name' => '(CIT) - Shymkent Airport, Shymkent, Kazakhstan','country_id' => '121'),\narray('id' => '6911','name' => '(DZN) - Zhezkazgan Airport, Zhezkazgan, Kazakhstan','country_id' => '121'),\narray('id' => '6912','name' => '(KGF) - Sary-Arka Airport, Karaganda, Kazakhstan','country_id' => '121'),\narray('id' => '6913','name' => '(KZO) - Kzyl-Orda Southwest Airport, Kzyl-Orda, Kazakhstan','country_id' => '121'),\narray('id' => '6914','name' => '(URA) - Uralsk Airport, Uralsk, Kazakhstan','country_id' => '121'),\narray('id' => '6915','name' => '(EKB) - Ekibastuz Airport, Ekibastuz, Kazakhstan','country_id' => '121'),\narray('id' => '6916','name' => '(SZI) - Zaysan Airport, Zaysan, Kazakhstan','country_id' => '121'),\narray('id' => '6917','name' => '(UKK) - Ust-Kamennogorsk Airport, Ust Kamenogorsk, Kazakhstan','country_id' => '121'),\narray('id' => '6918','name' => '(PWQ) - Pavlodar Airport, Pavlodar, Kazakhstan','country_id' => '121'),\narray('id' => '6919','name' => '(DLX) - Semipalatinsk Airport, Semey, Kazakhstan','country_id' => '121'),\narray('id' => '6920','name' => '(SCO) - Aktau Airport, Aktau, Kazakhstan','country_id' => '121'),\narray('id' => '6921','name' => '(GUW) - Atyrau Airport, Atyrau, Kazakhstan','country_id' => '121'),\narray('id' => '6922','name' => '(AKX) - Aktobe Airport, Aktyuinsk, Kazakhstan','country_id' => '121'),\narray('id' => '6923','name' => '(AYK) - Arkalyk North Airport, Arkalyk, Kazakhstan','country_id' => '121'),\narray('id' => '6924','name' => '(KSN) - Kostanay West Airport, Kostanay, Kazakhstan','country_id' => '121'),\narray('id' => '6925','name' => '(GYD) - Heydar Aliyev International Airport, Baku, Azerbaijan','country_id' => '14'),\narray('id' => '6926','name' => '(KVD) - Ganja Airport, Ganja, Azerbaijan','country_id' => '14'),\narray('id' => '6927','name' => '(LLK) - Lankaran International Airport, Lankaran, Azerbaijan','country_id' => '14'),\narray('id' => '6928','name' => '(NAJ) - Nakhchivan Airport, Nakhchivan, Azerbaijan','country_id' => '14'),\narray('id' => '6929','name' => '(GBB) - Gabala International Airport, Gabala, Azerbaijan','country_id' => '14'),\narray('id' => '6930','name' => '(ZTU) - Zaqatala International Airport, Zaqatala, Azerbaijan','country_id' => '14'),\narray('id' => '6931','name' => '(YLV) - Yevlakh Airport, Yevlakh, Azerbaijan','country_id' => '14'),\narray('id' => '6932','name' => '(UBI) - Buin Airport, Buin, Papua New Guinea','country_id' => '172'),\narray('id' => '6933','name' => '(LWN) - Gyumri Shirak Airport, Gyumri, Armenia','country_id' => '6'),\narray('id' => '6934','name' => '(EVN) - Zvartnots International Airport, Yerevan, Armenia','country_id' => '6'),\narray('id' => '6935','name' => '(BQJ) - Batagay Airport, Batagay, Russia','country_id' => '187'),\narray('id' => '6936','name' => '(SUK) - Sakkyryr Airport, Batagay-Alyta, Russia','country_id' => '187'),\narray('id' => '6937','name' => '(UKG) - Ust-Kuyga Airport, Ust-Kuyga, Russia','country_id' => '187'),\narray('id' => '6938','name' => '(ADH) - Aldan Airport, Aldan, Russia','country_id' => '187'),\narray('id' => '6939','name' => '(YKS) - Yakutsk Airport, Yakutsk, Russia','country_id' => '187'),\narray('id' => '6940','name' => '(NER) - Chulman Airport, Neryungri, Russia','country_id' => '187'),\narray('id' => '6941','name' => '(USR) - Ust-Nera Airport, Ust-Nera, Russia','country_id' => '187'),\narray('id' => '6942','name' => '(UMS) - Ust-Maya Airport, Ust-Maya, Russia','country_id' => '187'),\narray('id' => '6943','name' => '(VHV) - Verkhnevilyuisk Airport, Verkhnevilyuisk, Russia','country_id' => '187'),\narray('id' => '6944','name' => '(SUY) - Suntar Airport, Suntar, Russia','country_id' => '187'),\narray('id' => '6945','name' => '(VYI) - Vilyuisk Airport, Vilyuisk, Russia','country_id' => '187'),\narray('id' => '6946','name' => '(ULK) - Lensk Airport, Lensk, Russia','country_id' => '187'),\narray('id' => '6947','name' => '(PYJ) - Polyarny Airport, Yakutia, Russia','country_id' => '187'),\narray('id' => '6948','name' => '(MJZ) - Mirny Airport, Mirny, Russia','country_id' => '187'),\narray('id' => '6949','name' => '(SYS) - Saskylakh Airport, Saskylakh, Russia','country_id' => '187'),\narray('id' => '6950','name' => '(SEK) - Srednekolymsk Airport, Srednekolymsk, Russia','country_id' => '187'),\narray('id' => '6951','name' => '(CKH) - Chokurdakh Airport, Chokurdah, Russia','country_id' => '187'),\narray('id' => '6952','name' => '(CYX) - Cherskiy Airport, Cherskiy, Russia','country_id' => '187'),\narray('id' => '6953','name' => '(IKS) - Tiksi Airport, Tiksi, Russia','country_id' => '187'),\narray('id' => '6954','name' => '(ZKP) - Zyryanka Airport, Zyryanka, Russia','country_id' => '187'),\narray('id' => '6955','name' => '(OYG) - Moyo Airport, Moyo, Uganda','country_id' => '226'),\narray('id' => '6956','name' => '(UGB) - Ugashik Bay Airport, Pilot Point, United States','country_id' => '228'),\narray('id' => '6957','name' => '(KUT) - Kopitnari Airport, Kutaisi, Georgia','country_id' => '76'),\narray('id' => '6958','name' => '(BUS) - Batumi International Airport, Batumi, Georgia','country_id' => '76'),\narray('id' => '6959','name' => '(SUI) - Sukhumi Dranda Airport, Sukhumi, Georgia','country_id' => '76'),\narray('id' => '6960','name' => '(TBS) - Tbilisi International Airport, Tbilisi, Georgia','country_id' => '76'),\narray('id' => '6961','name' => '(BQS) - Ignatyevo Airport, Blagoveschensk, Russia','country_id' => '187'),\narray('id' => '6962','name' => '(GDG) - Magdagachi Airport, Magdagachi, Russia','country_id' => '187'),\narray('id' => '6963','name' => '(TYD) - Tynda Airport, Tynda, Russia','country_id' => '187'),\narray('id' => '6964','name' => '(KHV) - Khabarovsk-Novy Airport, Khabarovsk, Russia','country_id' => '187'),\narray('id' => '6965','name' => '(KXK) - Komsomolsk-on-Amur Airport, Komsomolsk-on-Amur, Russia','country_id' => '187'),\narray('id' => '6966','name' => '(GVN) - Maygatka Airport., Sovetskaya Gavan, Russia','country_id' => '187'),\narray('id' => '6967','name' => '(DYR) - Ugolny Airport, Anadyr, Russia','country_id' => '187'),\narray('id' => '6968','name' => '(PVS) - Provideniya Bay Airport, Chukotka, Russia','country_id' => '187'),\narray('id' => '6969','name' => '(GDX) - Sokol Airport, Magadan, Russia','country_id' => '187'),\narray('id' => '6970','name' => '(PWE) - Pevek Airport, Pevek, Russia','country_id' => '187'),\narray('id' => '6971','name' => '(BQG) - Bogorodskoye Airport, Bogorodskoye, Russia','country_id' => '187'),\narray('id' => '6972','name' => '(NLI) - Nikolayevsk-na-Amure Airport, Nikolayevsk-na-Amure Airport, Russia','country_id' => '187'),\narray('id' => '6973','name' => '(OHO) - Okhotsk Airport, Okhotsk, Russia','country_id' => '187'),\narray('id' => '6974','name' => '(PKC) - Yelizovo Airport, Petropavlovsk-Kamchatsky, Russia','country_id' => '187'),\narray('id' => '6975','name' => '(BVV) - Burevestnik Airport, Iturup Island, Russia','country_id' => '187'),\narray('id' => '6976','name' => '(OHH) - Okha Airport, Okha, Russia','country_id' => '187'),\narray('id' => '6977','name' => '(ITU) - Iturup Airport, Kurilsk, Russia','country_id' => '187'),\narray('id' => '6978','name' => '(EKS) - Shakhtyorsk Airport, Shakhtersk, Russia','country_id' => '187'),\narray('id' => '6979','name' => '(DEE) - Mendeleyevo Airport, Kunashir Island, Russia','country_id' => '187'),\narray('id' => '6980','name' => '(ZZO) - Zonalnoye Airport, Tymovskoye, Russia','country_id' => '187'),\narray('id' => '6981','name' => '(UUS) - Yuzhno-Sakhalinsk Airport, Yuzhno-Sakhalinsk, Russia','country_id' => '187'),\narray('id' => '6982','name' => '(KVR) - Kavalerovo Airport, Kavalerovo, Russia','country_id' => '187'),\narray('id' => '6983','name' => '(TLY) - Plastun Airport, Plastun, Russia','country_id' => '187'),\narray('id' => '6984','name' => '(VVO) - Vladivostok International Airport, Vladivostok, Russia','country_id' => '187'),\narray('id' => '6985','name' => '(HTA) - Chita-Kadala Airport, Chita, Russia','country_id' => '187'),\narray('id' => '6986','name' => '(BTK) - Bratsk Airport, Bratsk, Russia','country_id' => '187'),\narray('id' => '6987','name' => '(UIK) - Ust-Ilimsk Airport, Ust-Ilimsk, Russia','country_id' => '187'),\narray('id' => '6988','name' => '(IKT) - Irkutsk Airport, Irkutsk, Russia','country_id' => '187'),\narray('id' => '6989','name' => '(ODO) - Bodaybo Airport, Bodaybo, Russia','country_id' => '187'),\narray('id' => '6990','name' => '(ERG) - Yerbogachen Airport, Erbogachen, Russia','country_id' => '187'),\narray('id' => '6991','name' => '(KCK) - Kirensk Airport, Kirensk, Russia','country_id' => '187'),\narray('id' => '6992','name' => '(UKX) - Ust-Kut Airport, Ust-Kut, Russia','country_id' => '187'),\narray('id' => '6993','name' => '(UUD) - Ulan-Ude Airport (Mukhino), Ulan Ude, Russia','country_id' => '187'),\narray('id' => '6994','name' => '(UJE) - Ujae Atoll Airport, Ujae Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '6995','name' => '(UJN) - Uljin Airport, Uljin, South Korea','country_id' => '118'),\narray('id' => '6996','name' => '(KBP) - Boryspil International Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '6997','name' => '(DOK) - Donetsk International Airport, Donetsk, Ukraine','country_id' => '225'),\narray('id' => '6998','name' => '(KRQ) - Kramatorsk Airport, Kramatorsk, Ukraine','country_id' => '225'),\narray('id' => '6999','name' => '(MPW) - Mariupol International Airport, Mariupol, Ukraine','country_id' => '225'),\narray('id' => '7000','name' => '(SEV) - Sievierodonetsk Airport, Sievierodonetsk, Ukraine','country_id' => '225'),\narray('id' => '7001','name' => '(VSG) - Luhansk International Airport, Luhansk, Ukraine','country_id' => '225'),\narray('id' => '7002','name' => '(ERD) - Berdyansk Airport, Berdyansk, Ukraine','country_id' => '225'),\narray('id' => '7003','name' => '(DNK) - Dnipropetrovsk International Airport, Dnipropetrovsk, Ukraine','country_id' => '225'),\narray('id' => '7004','name' => '(OZH) - Zaporizhzhia International Airport, Zaporizhia, Ukraine','country_id' => '225'),\narray('id' => '7005','name' => '(KWG) - Kryvyi Rih International Airport, Kryvyi Rih, Ukraine','country_id' => '225'),\narray('id' => '7006','name' => '(UKS) - Belbek Airport, Sevastopol, Ukraine','country_id' => '225'),\narray('id' => '7007','name' => '(SIP) - Simferopol International Airport, Simferopol, Ukraine','country_id' => '225'),\narray('id' => '7008','name' => '(KHC) - Kerch Airport, Kerch, Ukraine','country_id' => '225'),\narray('id' => '7009','name' => '(UKH) - Mukhaizna Airport, Mukhaizna Oil Field, Oman','country_id' => '168'),\narray('id' => '7010','name' => '(HRK) - Kharkiv International Airport, Kharkiv, Ukraine','country_id' => '225'),\narray('id' => '7011','name' => '(PLV) - Suprunovka Airport, Poltava, Ukraine','country_id' => '225'),\narray('id' => '7012','name' => '(UMY) - Sumy Airport, Sumy, Ukraine','country_id' => '225'),\narray('id' => '7013','name' => '(CKC) - Cherkasy International Airport, Cherkasy, Ukraine','country_id' => '225'),\narray('id' => '7014','name' => '(KGO) - Kirovograd Airport, Kirovograd, Ukraine','country_id' => '225'),\narray('id' => '7015','name' => '(IEV) - Kiev Zhuliany International Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '7016','name' => '(GML) - Gostomel Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '7017','name' => '(ZTR) - Zhytomyr Airport, , Ukraine','country_id' => '225'),\narray('id' => '7018','name' => '(UCK) - Lutsk Airport, Lutsk, Ukraine','country_id' => '225'),\narray('id' => '7019','name' => '(HMJ) - Khmelnytskyi Airport, Khmelnytskyi, Ukraine','country_id' => '225'),\narray('id' => '7020','name' => '(IFO) - Ivano-Frankivsk International Airport, Ivano-Frankivsk, Ukraine','country_id' => '225'),\narray('id' => '7021','name' => '(LWO) - Lviv International Airport, Lviv, Ukraine','country_id' => '225'),\narray('id' => '7022','name' => '(CWC) - Chernivtsi International Airport, Chernivtsi, Ukraine','country_id' => '225'),\narray('id' => '7023','name' => '(RWN) - Rivne International Airport, Rivne, Ukraine','country_id' => '225'),\narray('id' => '7024','name' => '(TNL) - Ternopil International Airport, Ternopil, Ukraine','country_id' => '225'),\narray('id' => '7025','name' => '(UDJ) - Uzhhorod International Airport, Uzhhorod, Ukraine','country_id' => '225'),\narray('id' => '7026','name' => '(KHE) - Chernobayevka Airport, Kherson, Ukraine','country_id' => '225'),\narray('id' => '7027','name' => '(NLV) - Mykolaiv International Airport, Nikolayev, Ukraine','country_id' => '225'),\narray('id' => '7028','name' => '(ODS) - Odessa International Airport, Odessa, Ukraine','country_id' => '225'),\narray('id' => '7029','name' => '(VIN) - Vinnytsia/Gavyryshivka Airport, Vinnitsa, Ukraine','country_id' => '225'),\narray('id' => '7030','name' => '(ARH) - Talagi Airport, Archangelsk, Russia','country_id' => '187'),\narray('id' => '7031','name' => '(LDG) - Leshukonskoye Airport, Leshukonskoye, Russia','country_id' => '187'),\narray('id' => '7032','name' => '(NNM) - Naryan Mar Airport, Naryan Mar, Russia','country_id' => '187'),\narray('id' => '7033','name' => '(CSH) - Solovki Airport, Solovetsky Islands, Russia','country_id' => '187'),\narray('id' => '7034','name' => '(CEE) - Cherepovets Airport, Cherepovets, Russia','country_id' => '187'),\narray('id' => '7035','name' => '(AMV) - Amderma Airport, Amderma, Russia','country_id' => '187'),\narray('id' => '7036','name' => '(VRI) - Varandey Airport, Varandey, Russia','country_id' => '187'),\narray('id' => '7037','name' => '(ULH) - Majeed Bin Abdulaziz Airport, Al Ula, Saudi Arabia','country_id' => '189'),\narray('id' => '7038','name' => '(KSZ) - Kotlas Airport, Kotlas, Russia','country_id' => '187'),\narray('id' => '7039','name' => '(LED) - Pulkovo Airport, St. Petersburg, Russia','country_id' => '187'),\narray('id' => '7040','name' => '(KVK) - Kirovsk-Apatity Airport, Apatity, Russia','country_id' => '187'),\narray('id' => '7041','name' => '(MMK) - Murmansk Airport, Murmansk, Russia','country_id' => '187'),\narray('id' => '7042','name' => '(VLU) - Velikiye Luki Airport, Velikiye Luki, Russia','country_id' => '187'),\narray('id' => '7043','name' => '(PKV) - Pskov Airport, Pskov, Russia','country_id' => '187'),\narray('id' => '7044','name' => '(PES) - Petrozavodsk Airport, Petrozavodsk, Russia','country_id' => '187'),\narray('id' => '7045','name' => '(VGD) - Vologda Airport, Vologda, Russia','country_id' => '187'),\narray('id' => '7046','name' => '(BQT) - Brest Airport, Brest, Belarus','country_id' => '33'),\narray('id' => '7047','name' => '(GME) - Gomel Airport, Gomel, Belarus','country_id' => '33'),\narray('id' => '7048','name' => '(VTB) - Vitebsk Vostochny Airport, Vitebsk, Belarus','country_id' => '33'),\narray('id' => '7049','name' => '(KGD) - Khrabrovo Airport, Kaliningrad, Russia','country_id' => '187'),\narray('id' => '7050','name' => '(GNA) - Hrodna Airport, Hrodna, Belarus','country_id' => '33'),\narray('id' => '7051','name' => '(MHP) - Minsk 1 Airport, Minsk, Belarus','country_id' => '33'),\narray('id' => '7052','name' => '(MSQ) - Minsk National Airport, Minsk, Belarus','country_id' => '33'),\narray('id' => '7053','name' => '(MVQ) - Mogilev Airport, Mogilev, Belarus','country_id' => '33'),\narray('id' => '7054','name' => '(ABA) - Abakan Airport, Abakan, Russia','country_id' => '187'),\narray('id' => '7055','name' => '(BAX) - Barnaul Airport, Barnaul, Russia','country_id' => '187'),\narray('id' => '7056','name' => '(RGK) - Gorno-Altaysk Airport, Gorno-Altaysk, Russia','country_id' => '187'),\narray('id' => '7057','name' => '(KEJ) - Kemerovo Airport, Kemerovo, Russia','country_id' => '187'),\narray('id' => '7058','name' => '(EIE) - Yeniseysk Airport, Yeniseysk, Russia','country_id' => '187'),\narray('id' => '7059','name' => '(KJA) - Yemelyanovo Airport, Krasnoyarsk, Russia','country_id' => '187'),\narray('id' => '7060','name' => '(ACS) - Achinsk Airport, Achinsk, Russia','country_id' => '187'),\narray('id' => '7061','name' => '(KYZ) - Kyzyl Airport, Kyzyl, Russia','country_id' => '187'),\narray('id' => '7062','name' => '(OVB) - Tolmachevo Airport, Novosibirsk, Russia','country_id' => '187'),\narray('id' => '7063','name' => '(OMS) - Omsk Central Airport, Omsk, Russia','country_id' => '187'),\narray('id' => '7064','name' => '(SWT) - Strezhevoy Airport, Strezhevoy, Russia','country_id' => '187'),\narray('id' => '7065','name' => '(TOF) - Bogashevo Airport, Tomsk, Russia','country_id' => '187'),\narray('id' => '7066','name' => '(NOZ) - Spichenkovo Airport, Novokuznetsk, Russia','country_id' => '187'),\narray('id' => '7067','name' => '(DKS) - Dikson Airport, Dikson, Russia','country_id' => '187'),\narray('id' => '7068','name' => '(HTG) - Khatanga Airport, Khatanga, Russia','country_id' => '187'),\narray('id' => '7069','name' => '(IAA) - Igarka Airport, Igarka, Russia','country_id' => '187'),\narray('id' => '7070','name' => '(NSK) - Norilsk-Alykel Airport, Norilsk, Russia','country_id' => '187'),\narray('id' => '7071','name' => '(THX) - Turukhansk Airport, Turukhansk, Russia','country_id' => '187'),\narray('id' => '7072','name' => '(AAQ) - Anapa Vityazevo Airport, Anapa, Russia','country_id' => '187'),\narray('id' => '7073','name' => '(EIK) - Yeysk Airport, Yeysk, Russia','country_id' => '187'),\narray('id' => '7074','name' => '(GDZ) - Gelendzhik Airport, Gelendzhik, Russia','country_id' => '187'),\narray('id' => '7075','name' => '(KRR) - Krasnodar Pashkovsky International Airport, Krasnodar, Russia','country_id' => '187'),\narray('id' => '7076','name' => '(MCX) - Uytash Airport, Makhachkala, Russia','country_id' => '187'),\narray('id' => '7077','name' => '(MRV) - Mineralnyye Vody Airport, Mineralnyye Vody, Russia','country_id' => '187'),\narray('id' => '7078','name' => '(NAL) - Nalchik Airport, Nalchik, Russia','country_id' => '187'),\narray('id' => '7079','name' => '(OGZ) - Beslan Airport, Beslan, Russia','country_id' => '187'),\narray('id' => '7080','name' => '(IGT) - Magas Airport, Magas, Russia','country_id' => '187'),\narray('id' => '7081','name' => '(STW) - Stavropol Shpakovskoye Airport, Stavropol, Russia','country_id' => '187'),\narray('id' => '7082','name' => '(ROV) - Rostov-on-Don Airport, Rostov-on-Don, Russia','country_id' => '187'),\narray('id' => '7083','name' => '(TGK) - Taganrog Yuzhny Airport, Taganrog, Russia','country_id' => '187'),\narray('id' => '7084','name' => '(VLK) - Volgodonsk Airport, , Russia','country_id' => '187'),\narray('id' => '7085','name' => '(AER) - Sochi International Airport, Sochi, Russia','country_id' => '187'),\narray('id' => '7086','name' => '(ASF) - Astrakhan Airport, Astrakhan, Russia','country_id' => '187'),\narray('id' => '7087','name' => '(ESL) - Elista Airport, Elista, Russia','country_id' => '187'),\narray('id' => '7088','name' => '(VOG) - Volgograd International Airport, Volgograd, Russia','country_id' => '187'),\narray('id' => '7089','name' => '(RTL) - Spirit Lake Municipal Airport, Spirit Lake, United States','country_id' => '228'),\narray('id' => '7090','name' => '(CEK) - Chelyabinsk Balandino Airport, Chelyabinsk, Russia','country_id' => '187'),\narray('id' => '7091','name' => '(MQF) - Magnitogorsk International Airport, Magnitogorsk, Russia','country_id' => '187'),\narray('id' => '7092','name' => '(SLY) - Salekhard Airport, Salekhard, Russia','country_id' => '187'),\narray('id' => '7093','name' => '(YMK) - Mys Kamenny Airport, Mys Kamennyi, Russia','country_id' => '187'),\narray('id' => '7094','name' => '(KKQ) - Krasnoselkup Airport, Krasnoselkup, Russia','country_id' => '187'),\narray('id' => '7095','name' => '(TQL) - Tarko-Sale Airport, Tarko-Sale, Russia','country_id' => '187'),\narray('id' => '7096','name' => '(UEN) - Urengoy Airport, Urengoy, Russia','country_id' => '187'),\narray('id' => '7097','name' => '(EZV) - Berezovo Airport, , Russia','country_id' => '187'),\narray('id' => '7098','name' => '(HMA) - Khanty Mansiysk Airport, Khanty-Mansiysk, Russia','country_id' => '187'),\narray('id' => '7099','name' => '(IRM) - Igrim Airport, , Russia','country_id' => '187'),\narray('id' => '7100','name' => '(NYA) - Nyagan Airport, Nyagan, Russia','country_id' => '187'),\narray('id' => '7101','name' => '(OVS) - Sovetskiy Airport, Sovetskiy, Russia','country_id' => '187'),\narray('id' => '7102','name' => '(URJ) - Uray Airport, Uray, Russia','country_id' => '187'),\narray('id' => '7103','name' => '(EYK) - Beloyarskiy Airport, , Russia','country_id' => '187'),\narray('id' => '7104','name' => '(IJK) - Izhevsk Airport, Izhevsk, Russia','country_id' => '187'),\narray('id' => '7105','name' => '(KVX) - Pobedilovo Airport, Kirov, Russia','country_id' => '187'),\narray('id' => '7106','name' => '(NYM) - Nadym Airport, Nadym, Russia','country_id' => '187'),\narray('id' => '7107','name' => '(NUX) - Novy Urengoy Airport, Novy Urengoy, Russia','country_id' => '187'),\narray('id' => '7108','name' => '(NJC) - Nizhnevartovsk Airport, Nizhnevartovsk, Russia','country_id' => '187'),\narray('id' => '7109','name' => '(PEE) - Bolshoye Savino Airport, Perm, Russia','country_id' => '187'),\narray('id' => '7110','name' => '(KGP) - Kogalym International Airport, Kogalym, Russia','country_id' => '187'),\narray('id' => '7111','name' => '(NFG) - Nefteyugansk Airport, Nefteyugansk, Russia','country_id' => '187'),\narray('id' => '7112','name' => '(NOJ) - Noyabrsk Airport, Noyabrsk, Russia','country_id' => '187'),\narray('id' => '7113','name' => '(SGC) - Surgut Airport, Surgut, Russia','country_id' => '187'),\narray('id' => '7114','name' => '(SVX) - Koltsovo Airport, Yekaterinburg, Russia','country_id' => '187'),\narray('id' => '7115','name' => '(TOX) - Tobolsk Airport, Tobolsk, Russia','country_id' => '187'),\narray('id' => '7116','name' => '(TJM) - Roshchino International Airport, Tyumen, Russia','country_id' => '187'),\narray('id' => '7117','name' => '(KRO) - Kurgan Airport, Kurgan, Russia','country_id' => '187'),\narray('id' => '7118','name' => '(BKN) - Balkanabat Airport, Balkanabat, Turkmenistan','country_id' => '217'),\narray('id' => '7119','name' => '(GMV) - Monument Valley Airport, Goulding\\'s Lodge, United States','country_id' => '228'),\narray('id' => '7120','name' => '(ASB) - Ashgabat Airport, Ashgabat, Turkmenistan','country_id' => '217'),\narray('id' => '7121','name' => '(KRW) - Turkmenbashi Airport, Krasnovodsk, Turkmenistan','country_id' => '217'),\narray('id' => '7122','name' => '(MYP) - Mary Airport, Mary, Turkmenistan','country_id' => '217'),\narray('id' => '7123','name' => '(TAZ) - Daoguz Airport, Daoguz, Turkmenistan','country_id' => '217'),\narray('id' => '7124','name' => '(CRZ) - Turkmenabat Airport, TArkmenabat, Turkmenistan','country_id' => '217'),\narray('id' => '7125','name' => '(DYU) - Dushanbe Airport, Dushanbe, Tajikistan','country_id' => '214'),\narray('id' => '7126','name' => '(TJU) - Kulob Airport, Kulyab, Tajikistan','country_id' => '214'),\narray('id' => '7127','name' => '(LBD) - Khudzhand Airport, Khudzhand, Tajikistan','country_id' => '214'),\narray('id' => '7128','name' => '(KQT) - Qurghonteppa International Airport, Kurgan-Tyube, Tajikistan','country_id' => '214'),\narray('id' => '7129','name' => '(AZN) - Andizhan Airport, Andizhan, Uzbekistan','country_id' => '230'),\narray('id' => '7130','name' => '(FEG) - Fergana International Airport, Fergana, Uzbekistan','country_id' => '230'),\narray('id' => '7131','name' => '(NMA) - Namangan Airport, Namangan, Uzbekistan','country_id' => '230'),\narray('id' => '7132','name' => '(NCU) - Nukus Airport, Nukus, Uzbekistan','country_id' => '230'),\narray('id' => '7133','name' => '(UGC) - Urgench Airport, Urgench, Uzbekistan','country_id' => '230'),\narray('id' => '7134','name' => '(NVI) - Navoi Airport, Navoi, Uzbekistan','country_id' => '230'),\narray('id' => '7135','name' => '(BHK) - Bukhara Airport, Bukhara, Uzbekistan','country_id' => '230'),\narray('id' => '7136','name' => '(KSQ) - Karshi Khanabad Airport, Khanabad, Uzbekistan','country_id' => '230'),\narray('id' => '7137','name' => '(AFS) - Sugraly Airport, Zarafshan, Uzbekistan','country_id' => '230'),\narray('id' => '7138','name' => '(SKD) - Samarkand Airport, Samarkand, Uzbekistan','country_id' => '230'),\narray('id' => '7139','name' => '(TMJ) - Termez Airport, Termez, Uzbekistan','country_id' => '230'),\narray('id' => '7140','name' => '(TAS) - Tashkent International Airport, Tashkent, Uzbekistan','country_id' => '230'),\narray('id' => '7141','name' => '(UTU) - Ustupo Airport, Ustupo, Panama','country_id' => '169'),\narray('id' => '7142','name' => '(KMW) - Kostroma Sokerkino Airport, Kostroma, Russia','country_id' => '187'),\narray('id' => '7143','name' => '(KLF) - Grabtsevo Airport, Kaluga, Russia','country_id' => '187'),\narray('id' => '7144','name' => '(IWA) - Ivanovo South Airport, Ivanovo, Russia','country_id' => '187'),\narray('id' => '7145','name' => '(RYB) - Staroselye Airport, Rybinsk, Russia','country_id' => '187'),\narray('id' => '7146','name' => '(BZK) - Bryansk Airport, Bryansk, Russia','country_id' => '187'),\narray('id' => '7147','name' => '(ZIA) - Zhukovsky International Airport, Zhukovsky, Russia','country_id' => '187'),\narray('id' => '7148','name' => '(DME) - Domodedovo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7149','name' => '(IAR) - Tunoshna Airport, , Russia','country_id' => '187'),\narray('id' => '7150','name' => '(SVO) - Sheremetyevo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7151','name' => '(KLD) - Migalovo Air Base, Tver, Russia','country_id' => '187'),\narray('id' => '7152','name' => '(CKL) - Chkalovskiy Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7153','name' => '(EGO) - Belgorod International Airport, Belgorod, Russia','country_id' => '187'),\narray('id' => '7154','name' => '(URS) - Kursk East Airport, Kursk, Russia','country_id' => '187'),\narray('id' => '7155','name' => '(LPK) - Lipetsk Airport, Lipetsk, Russia','country_id' => '187'),\narray('id' => '7156','name' => '(VOZ) - Voronezh International Airport, Voronezh, Russia','country_id' => '187'),\narray('id' => '7157','name' => '(OEL) - Oryol Yuzhny Airport, Orel, Russia','country_id' => '187'),\narray('id' => '7158','name' => '(TBW) - Donskoye Airport, Tambov, Russia','country_id' => '187'),\narray('id' => '7159','name' => '(UUU) - Manumu Airport, Manumu, Papua New Guinea','country_id' => '172'),\narray('id' => '7160','name' => '(RZN) - Turlatovo Airport, Ryazan, Russia','country_id' => '187'),\narray('id' => '7161','name' => '(TYA) - Klokovo Airfield, Tula, Russia','country_id' => '187'),\narray('id' => '7162','name' => '(VKO) - Vnukovo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7163','name' => '(UCT) - Ukhta Airport, Ukhta, Russia','country_id' => '187'),\narray('id' => '7164','name' => '(INA) - Inta Airport, Inta, Russia','country_id' => '187'),\narray('id' => '7165','name' => '(PEX) - Pechora Airport, Pechora, Russia','country_id' => '187'),\narray('id' => '7166','name' => '(USK) - Usinsk Airport, Usinsk, Russia','country_id' => '187'),\narray('id' => '7167','name' => '(VKT) - Vorkuta Airport, Vorkuta, Russia','country_id' => '187'),\narray('id' => '7168','name' => '(UTS) - Ust-Tsylma Airport, Ust-Tsylma, Russia','country_id' => '187'),\narray('id' => '7169','name' => '(SCW) - Syktyvkar Airport, Syktyvkar, Russia','country_id' => '187'),\narray('id' => '7170','name' => '(GOJ) - Nizhny Novgorod Strigino International Airport, Nizhny Novgorod, Russia','country_id' => '187'),\narray('id' => '7171','name' => '(UUA) - Bugulma Airport, Bugulma, Russia','country_id' => '187'),\narray('id' => '7172','name' => '(KZN) - Kazan International Airport, Kazan, Russia','country_id' => '187'),\narray('id' => '7173','name' => '(NBC) - Begishevo Airport, Nizhnekamsk, Russia','country_id' => '187'),\narray('id' => '7174','name' => '(JOK) - Yoshkar-Ola Airport, Yoshkar-Ola, Russia','country_id' => '187'),\narray('id' => '7175','name' => '(CSY) - Cheboksary Airport, Cheboksary, Russia','country_id' => '187'),\narray('id' => '7176','name' => '(ZIX) - Zhigansk Airport, Zhigansk, Russia','country_id' => '187'),\narray('id' => '7177','name' => '(ULV) - Ulyanovsk Baratayevka Airport, Ulyanovsk, Russia','country_id' => '187'),\narray('id' => '7178','name' => '(ULY) - Ulyanovsk East Airport, Ulyanovsk, Russia','country_id' => '187'),\narray('id' => '7179','name' => '(REN) - Orenburg Central Airport, Orenburg, Russia','country_id' => '187'),\narray('id' => '7180','name' => '(OSW) - Orsk Airport, Orsk, Russia','country_id' => '187'),\narray('id' => '7181','name' => '(PEZ) - Penza Airport, Penza, Russia','country_id' => '187'),\narray('id' => '7182','name' => '(SKX) - Saransk Airport, Saransk, Russia','country_id' => '187'),\narray('id' => '7183','name' => '(BWO) - Balakovo Airport, Balakovo, Russia','country_id' => '187'),\narray('id' => '7184','name' => '(RTW) - Saratov Central Airport, Saratov, Russia','country_id' => '187'),\narray('id' => '7185','name' => '(BCX) - Beloretsk Airport, Beloretsk, Russia','country_id' => '187'),\narray('id' => '7186','name' => '(NEF) - Neftekamsk Airport, Neftekamsk, Russia','country_id' => '187'),\narray('id' => '7187','name' => '(OKT) - Oktyabrskiy Airport, Kzyl-Yar, Russia','country_id' => '187'),\narray('id' => '7188','name' => '(UFA) - Ufa International Airport, Ufa, Russia','country_id' => '187'),\narray('id' => '7189','name' => '(KUF) - Kurumoch International Airport, Samara, Russia','country_id' => '187'),\narray('id' => '7190','name' => '(FZB) - Fray Bentos Airport, Fray Bentos, Uruguay','country_id' => '229'),\narray('id' => '7191','name' => '(RCH) - Rocha Airport, Rocha, Uruguay','country_id' => '229'),\narray('id' => '7192','name' => '(UZM) - Hope Bay Aerodrome, Hope Bay, Canada','country_id' => '35'),\narray('id' => '7193','name' => '(UZR) - Urzhar Airport, Urzhar, Kazakhstan','country_id' => '121'),\narray('id' => '7194','name' => '(REW) - Chorhata Airport, Rewa, India','country_id' => '101'),\narray('id' => '7195','name' => '(DIU) - Diu Airport, Diu, India','country_id' => '101'),\narray('id' => '7196','name' => '(AMD) - Sardar Vallabhbhai Patel International Airport, Ahmedabad, India','country_id' => '101'),\narray('id' => '7197','name' => '(AKD) - Akola Airport, , India','country_id' => '101'),\narray('id' => '7198','name' => '(IXU) - Aurangabad Airport, Aurangabad, India','country_id' => '101'),\narray('id' => '7199','name' => '(BOM) - Chhatrapati Shivaji International Airport, Mumbai, India','country_id' => '101'),\narray('id' => '7200','name' => '(PAB) - Bilaspur Airport, , India','country_id' => '101'),\narray('id' => '7201','name' => '(BHJ) - Bhuj Airport, Bhuj, India','country_id' => '101'),\narray('id' => '7202','name' => '(IXG) - Belgaum Airport, Belgaum, India','country_id' => '101'),\narray('id' => '7203','name' => '(BDQ) - Vadodara Airport, Vadodara, India','country_id' => '101'),\narray('id' => '7204','name' => '(BHO) - Raja Bhoj International Airport, Bhopal, India','country_id' => '101'),\narray('id' => '7205','name' => '(BHU) - Bhavnagar Airport, Bhavnagar, India','country_id' => '101'),\narray('id' => '7206','name' => '(NMB) - Daman Airport, , India','country_id' => '101'),\narray('id' => '7207','name' => '(GUX) - Guna Airport, , India','country_id' => '101'),\narray('id' => '7208','name' => '(GOI) - Dabolim Airport, Vasco da Gama, India','country_id' => '101'),\narray('id' => '7209','name' => '(HBX) - Hubli Airport, Hubli, India','country_id' => '101'),\narray('id' => '7210','name' => '(IDR) - Devi Ahilyabai Holkar Airport, Indore, India','country_id' => '101'),\narray('id' => '7211','name' => '(JLR) - Jabalpur Airport, , India','country_id' => '101'),\narray('id' => '7212','name' => '(JGA) - Jamnagar Airport, Jamnagar, India','country_id' => '101'),\narray('id' => '7213','name' => '(IXY) - Kandla Airport, Kandla, India','country_id' => '101'),\narray('id' => '7214','name' => '(HJR) - Khajuraho Airport, Khajuraho, India','country_id' => '101'),\narray('id' => '7215','name' => '(KLH) - Kolhapur Airport, , India','country_id' => '101'),\narray('id' => '7216','name' => '(IXK) - Keshod Airport, , India','country_id' => '101'),\narray('id' => '7217','name' => '(NDC) - Nanded Airport, Nanded, India','country_id' => '101'),\narray('id' => '7218','name' => '(NAG) - Dr. Babasaheb Ambedkar International Airport, Naqpur, India','country_id' => '101'),\narray('id' => '7219','name' => '(ISK) - Ozar Airport, Nasik, India','country_id' => '101'),\narray('id' => '7220','name' => '(PNQ) - Pune Airport, Pune, India','country_id' => '101'),\narray('id' => '7221','name' => '(PBD) - Porbandar Airport, Porbandar, India','country_id' => '101'),\narray('id' => '7222','name' => '(RTC) - Ratnagiri Airport, , India','country_id' => '101'),\narray('id' => '7223','name' => '(RAJ) - Rajkot Airport, Rajkot, India','country_id' => '101'),\narray('id' => '7224','name' => '(RPR) - Raipur Airport, Raipur, India','country_id' => '101'),\narray('id' => '7225','name' => '(SSE) - Solapur Airport, Solapur, India','country_id' => '101'),\narray('id' => '7226','name' => '(STV) - Surat Airport, , India','country_id' => '101'),\narray('id' => '7227','name' => '(UDR) - Maharana Pratap Airport, Udaipur, India','country_id' => '101'),\narray('id' => '7228','name' => '(CMB) - Bandaranaike International Colombo Airport, Colombo, Sri Lanka','country_id' => '126'),\narray('id' => '7229','name' => '(ACJ) - Anuradhapura Air Force Base, Anuradhapura, Sri Lanka','country_id' => '126'),\narray('id' => '7230','name' => '(BTC) - Batticaloa Airport, Batticaloa, Sri Lanka','country_id' => '126'),\narray('id' => '7231','name' => '(RML) - Colombo Ratmalana Airport, Colombo, Sri Lanka','country_id' => '126'),\narray('id' => '7232','name' => '(ADP) - Ampara Airport, Ampara, Sri Lanka','country_id' => '126'),\narray('id' => '7233','name' => '(HIM) - Hingurakgoda Air Force Base, Polonnaruwa Town, Sri Lanka','country_id' => '126'),\narray('id' => '7234','name' => '(JAF) - Kankesanturai Airport, Jaffna, Sri Lanka','country_id' => '126'),\narray('id' => '7235','name' => '(KCT) - Koggala Airport, Galle, Sri Lanka','country_id' => '126'),\narray('id' => '7236','name' => '(KTY) - Katukurunda Air Force Base, Kalutara, Sri Lanka','country_id' => '126'),\narray('id' => '7237','name' => '(GIU) - Sigiriya Air Force Base, Sigiriya, Sri Lanka','country_id' => '126'),\narray('id' => '7238','name' => '(TRR) - China Bay Airport, Trincomalee, Sri Lanka','country_id' => '126'),\narray('id' => '7239','name' => '(WRZ) - Weerawila Airport, Weerawila, Sri Lanka','country_id' => '126'),\narray('id' => '7240','name' => '(HRI) - Mattala Rajapaksa International Airport, , Sri Lanka','country_id' => '126'),\narray('id' => '7241','name' => '(BBM) - Battambang Airport, Battambang, Cambodia','country_id' => '113'),\narray('id' => '7242','name' => '(KZC) - Kampong Chhnang Airport, Kampong Chhnang, Cambodia','country_id' => '113'),\narray('id' => '7243','name' => '(KKZ) - Kaoh Kong Airport, Kaoh Kong, Cambodia','country_id' => '113'),\narray('id' => '7244','name' => '(KTI) - Kratie Airport, Kratie, Cambodia','country_id' => '113'),\narray('id' => '7245','name' => '(PNH) - Phnom Penh International Airport, Phnom Penh, Cambodia','country_id' => '113'),\narray('id' => '7246','name' => '(RBE) - Ratanakiri Airport, Ratanakiri, Cambodia','country_id' => '113'),\narray('id' => '7247','name' => '(REP) - Siem Reap International Airport, Siem Reap, Cambodia','country_id' => '113'),\narray('id' => '7248','name' => '(TNX) - Stung Treng Airport, Stung Treng, Cambodia','country_id' => '113'),\narray('id' => '7249','name' => '(KOS) - Sihanoukville International Airport, Sihanukville, Cambodia','country_id' => '113'),\narray('id' => '7250','name' => '(KZD) - Krakor Airport, Krakor, Cambodia','country_id' => '113'),\narray('id' => '7251','name' => '(LGY) - Lagunillas Airport, Lagunillas, Venezuela','country_id' => '233'),\narray('id' => '7252','name' => '(KTV) - Kamarata Airport, Kamarata, Venezuela','country_id' => '233'),\narray('id' => '7253','name' => '(LAG) - La Guaira Airport, La Guaira, Venezuela','country_id' => '233'),\narray('id' => '7254','name' => '(SFX) - Macagua Airport, Ciudad Guayana, Venezuela','country_id' => '233'),\narray('id' => '7255','name' => '(SVV) - San Salvador de Paul Airport, San Salvador de Paul, Venezuela','country_id' => '233'),\narray('id' => '7256','name' => '(WOK) - Wonken Airport, Wonken, Venezuela','country_id' => '233'),\narray('id' => '7257','name' => '(IXV) - Along Airport, , India','country_id' => '101'),\narray('id' => '7258','name' => '(IXA) - Agartala Airport, Agartala, India','country_id' => '101'),\narray('id' => '7259','name' => '(IXB) - Bagdogra Airport, Siliguri, India','country_id' => '101'),\narray('id' => '7260','name' => '(RGH) - Balurghat Airport, Balurghat, India','country_id' => '101'),\narray('id' => '7261','name' => '(SHL) - Shillong Airport, Shillong, India','country_id' => '101'),\narray('id' => '7262','name' => '(BBI) - Biju Patnaik Airport, Bhubaneswar, India','country_id' => '101'),\narray('id' => '7263','name' => '(CCU) - Netaji Subhash Chandra Bose International Airport, Kolkata, India','country_id' => '101'),\narray('id' => '7264','name' => '(COH) - Cooch Behar Airport, , India','country_id' => '101'),\narray('id' => '7265','name' => '(DBD) - Dhanbad Airport, , India','country_id' => '101'),\narray('id' => '7266','name' => '(RDP) - Kazi Nazrul Islam Airport, Durgapur, India','country_id' => '101'),\narray('id' => '7267','name' => '(DEP) - Daporijo Airport, Daporijo, India','country_id' => '101'),\narray('id' => '7268','name' => '(GOP) - Gorakhpur Airport, Gorakhpur, India','country_id' => '101'),\narray('id' => '7269','name' => '(GAU) - Lokpriya Gopinath Bordoloi International Airport, Guwahati, India','country_id' => '101'),\narray('id' => '7270','name' => '(GAY) - Gaya Airport, , India','country_id' => '101'),\narray('id' => '7271','name' => '(IMF) - Imphal Airport, Imphal, India','country_id' => '101'),\narray('id' => '7272','name' => '(PYB) - Jeypore Airport, Jeypore, India','country_id' => '101'),\narray('id' => '7273','name' => '(IXW) - Jamshedpur Airport, , India','country_id' => '101'),\narray('id' => '7274','name' => '(JRH) - Jorhat Airport, Jorhat, India','country_id' => '101'),\narray('id' => '7275','name' => '(IXQ) - Kamalpur Airport, , India','country_id' => '101'),\narray('id' => '7276','name' => '(IXH) - Kailashahar Airport, , India','country_id' => '101'),\narray('id' => '7277','name' => '(IXS) - Silchar Airport, Silchar, India','country_id' => '101'),\narray('id' => '7278','name' => '(IXN) - Khowai Airport, Khowai, India','country_id' => '101'),\narray('id' => '7279','name' => '(AJL) - Lengpui Airport, Aizawl, India','country_id' => '101'),\narray('id' => '7280','name' => '(IXI) - North Lakhimpur Airport, Lilabari, India','country_id' => '101'),\narray('id' => '7281','name' => '(LDA) - Malda Airport, Malda, India','country_id' => '101'),\narray('id' => '7282','name' => '(DIB) - Dibrugarh Airport, Dibrugarh, India','country_id' => '101'),\narray('id' => '7283','name' => '(DMU) - Dimapur Airport, Dimapur, India','country_id' => '101'),\narray('id' => '7284','name' => '(MZU) - Muzaffarpur Airport, , India','country_id' => '101'),\narray('id' => '7285','name' => '(IXT) - Pasighat Airport, Pasighat, India','country_id' => '101'),\narray('id' => '7286','name' => '(PAT) - Lok Nayak Jayaprakash Airport, Patna, India','country_id' => '101'),\narray('id' => '7287','name' => '(IXR) - Birsa Munda Airport, Ranchi, India','country_id' => '101'),\narray('id' => '7288','name' => '(RRK) - Rourkela Airport, , India','country_id' => '101'),\narray('id' => '7289','name' => '(RUP) - Rupsi India Airport, , India','country_id' => '101'),\narray('id' => '7290','name' => '(TEZ) - Tezpur Airport, , India','country_id' => '101'),\narray('id' => '7291','name' => '(VTZ) - Vishakhapatnam Airport, Visakhapatnam, India','country_id' => '101'),\narray('id' => '7292','name' => '(ZER) - Zero Airport, , India','country_id' => '101'),\narray('id' => '7293','name' => '(BZL) - Barisal Airport, Barisal, Bangladesh','country_id' => '17'),\narray('id' => '7294','name' => '(CXB) - Cox\\'s Bazar Airport, Cox\\'s Bazar, Bangladesh','country_id' => '17'),\narray('id' => '7295','name' => '(CLA) - Comilla Airport, Comilla, Bangladesh','country_id' => '17'),\narray('id' => '7296','name' => '(CGP) - Shah Amanat International Airport, Chittagong, Bangladesh','country_id' => '17'),\narray('id' => '7297','name' => '(IRD) - Ishurdi Airport, Ishurdi, Bangladesh','country_id' => '17'),\narray('id' => '7298','name' => '(JSR) - Jessore Airport, Jashahor, Bangladesh','country_id' => '17'),\narray('id' => '7299','name' => '(LLJ) - Lalmonirhat Airport, Lalmonirhat, Bangladesh','country_id' => '17'),\narray('id' => '7300','name' => '(RJH) - Shah Mokhdum Airport, Rajshahi, Bangladesh','country_id' => '17'),\narray('id' => '7301','name' => '(SPD) - Saidpur Airport, Saidpur, Bangladesh','country_id' => '17'),\narray('id' => '7302','name' => '(TKR) - Thakurgaon Airport, Thakurgaon, Bangladesh','country_id' => '17'),\narray('id' => '7303','name' => '(ZHM) - Shamshernagar Airport, Shamshernagar, Bangladesh','country_id' => '17'),\narray('id' => '7304','name' => '(ZYL) - Osmany International Airport, Sylhet, Bangladesh','country_id' => '17'),\narray('id' => '7305','name' => '(DAC) - Dhaka / Hazrat Shahjalal International Airport, Dhaka, Bangladesh','country_id' => '17'),\narray('id' => '7306','name' => '(HKG) - Chek Lap Kok International Airport, Hong Kong, Hong Kong','country_id' => '92'),\narray('id' => '7307','name' => '(AGR) - Agra Airport, , India','country_id' => '101'),\narray('id' => '7308','name' => '(IXD) - Allahabad Airport, Allahabad, India','country_id' => '101'),\narray('id' => '7309','name' => '(ATQ) - Sri Guru Ram Dass Jee International Airport, Amritsar, India','country_id' => '101'),\narray('id' => '7310','name' => '(BKB) - Nal Airport, Bikaner, India','country_id' => '101'),\narray('id' => '7311','name' => '(VNS) - Lal Bahadur Shastri Airport, Varanasi, India','country_id' => '101'),\narray('id' => '7312','name' => '(KUU) - Kullu Manali Airport, , India','country_id' => '101'),\narray('id' => '7313','name' => '(BUP) - Bhatinda Air Force Station, , India','country_id' => '101'),\narray('id' => '7314','name' => '(BEK) - Bareilly Air Force Station, Bareilly, India','country_id' => '101'),\narray('id' => '7315','name' => '(IXC) - Chandigarh Airport, Chandigarh, India','country_id' => '101'),\narray('id' => '7316','name' => '(DED) - Dehradun Airport, Dehradun, India','country_id' => '101'),\narray('id' => '7317','name' => '(DEL) - Indira Gandhi International Airport, New Delhi, India','country_id' => '101'),\narray('id' => '7318','name' => '(DHM) - Kangra Airport, , India','country_id' => '101'),\narray('id' => '7319','name' => '(GWL) - Gwalior Airport, Gwalior, India','country_id' => '101'),\narray('id' => '7320','name' => '(HSS) - Hissar Airport, , India','country_id' => '101'),\narray('id' => '7321','name' => '(JDH) - Jodhpur Airport, Jodhpur, India','country_id' => '101'),\narray('id' => '7322','name' => '(JAI) - Jaipur International Airport, Jaipur, India','country_id' => '101'),\narray('id' => '7323','name' => '(JSA) - Jaisalmer Airport, , India','country_id' => '101'),\narray('id' => '7324','name' => '(IXJ) - Jammu Airport, Jammu, India','country_id' => '101'),\narray('id' => '7325','name' => '(KNU) - Kanpur Airport, , India','country_id' => '101'),\narray('id' => '7326','name' => '(KTU) - Kota Airport, Kota, India','country_id' => '101'),\narray('id' => '7327','name' => '(LUH) - Ludhiana Airport, , India','country_id' => '101'),\narray('id' => '7328','name' => '(IXL) - Leh Kushok Bakula Rimpochee Airport, Leh, India','country_id' => '101'),\narray('id' => '7329','name' => '(LKO) - Chaudhary Charan Singh International Airport, Lucknow, India','country_id' => '101'),\narray('id' => '7330','name' => '(IXP) - Pathankot Air Force Station, , India','country_id' => '101'),\narray('id' => '7331','name' => '(PGH) - Pantnagar Airport, Pantnagar, India','country_id' => '101'),\narray('id' => '7332','name' => '(SLV) - Shimla Airport, , India','country_id' => '101'),\narray('id' => '7333','name' => '(SXR) - Sheikh ul Alam Airport, Srinagar, India','country_id' => '101'),\narray('id' => '7334','name' => '(TNI) - Satna Airport, , India','country_id' => '101'),\narray('id' => '7335','name' => '(VIV) - Vivigani Airfield, Vivigani, Papua New Guinea','country_id' => '172'),\narray('id' => '7336','name' => '(VJQ) - Gurue Airport, Gurue, Mozambique','country_id' => '155'),\narray('id' => '7337','name' => '(AOU) - Attopeu Airport, Attopeu, Laos','country_id' => '122'),\narray('id' => '7338','name' => '(HOE) - Ban Huoeisay Airport, Huay Xai, Laos','country_id' => '122'),\narray('id' => '7339','name' => '(LPQ) - Luang Phabang International Airport, Luang Phabang, Laos','country_id' => '122'),\narray('id' => '7340','name' => '(LXG) - Luang Namtha Airport, Luang Namtha, Laos','country_id' => '122'),\narray('id' => '7341','name' => '(ODY) - Oudomsay Airport, Oudomsay, Laos','country_id' => '122'),\narray('id' => '7342','name' => '(PKZ) - Pakse International Airport, Pakse, Laos','country_id' => '122'),\narray('id' => '7343','name' => '(ZBY) - Sayaboury Airport, Sainyabuli, Laos','country_id' => '122'),\narray('id' => '7344','name' => '(ZVK) - Savannakhet Airport, , Laos','country_id' => '122'),\narray('id' => '7345','name' => '(NEU) - Sam Neua Airport, , Laos','country_id' => '122'),\narray('id' => '7346','name' => '(VNA) - Saravane Airport, Saravane, Laos','country_id' => '122'),\narray('id' => '7347','name' => '(THK) - Thakhek Airport, Thakhek, Laos','country_id' => '122'),\narray('id' => '7348','name' => '(VTE) - Wattay International Airport, Vientiane, Laos','country_id' => '122'),\narray('id' => '7349','name' => '(XKH) - Xieng Khouang Airport, Xieng Khouang, Laos','country_id' => '122'),\narray('id' => '7350','name' => '(XIE) - Xienglom Airport, Xienglom, Laos','country_id' => '122'),\narray('id' => '7351','name' => '(VMI) - Dr Juan Plate Airport, Puerto Vallemi, Paraguay','country_id' => '182'),\narray('id' => '7352','name' => '(MFM) - Macau International Airport, Taipa, Macau','country_id' => '144'),\narray('id' => '7353','name' => '(VDH) - Dong Hoi Airport, Dong Hoi, Vietnam','country_id' => '236'),\narray('id' => '7354','name' => '(KON) - Kontum Airport, Kontum, Vietnam','country_id' => '236'),\narray('id' => '7355','name' => '(BJH) - Bajhang Airport, Bajhang, Nepal','country_id' => '164'),\narray('id' => '7356','name' => '(BHP) - Bhojpur Airport, Bhojpur, Nepal','country_id' => '164'),\narray('id' => '7357','name' => '(BGL) - Baglung Airport, Baglung, Nepal','country_id' => '164'),\narray('id' => '7358','name' => '(BHR) - Bharatpur Airport, Bharatpur, Nepal','country_id' => '164'),\narray('id' => '7359','name' => '(BJU) - Bajura Airport, Bajura, Nepal','country_id' => '164'),\narray('id' => '7360','name' => '(BIT) - Baitadi Airport, Baitadi, Nepal','country_id' => '164'),\narray('id' => '7361','name' => '(BWA) - Gautam Buddha Airport, Bhairawa, Nepal','country_id' => '164'),\narray('id' => '7362','name' => '(BDP) - Bhadrapur Airport, Bhadrapur, Nepal','country_id' => '164'),\narray('id' => '7363','name' => '(DNP) - Tulsipur Airport, Dang, Nepal','country_id' => '164'),\narray('id' => '7364','name' => '(DHI) - Dhangarhi Airport, Dhangarhi, Nepal','country_id' => '164'),\narray('id' => '7365','name' => '(DAP) - Darchula Airport, Darchula, Nepal','country_id' => '164'),\narray('id' => '7366','name' => '(DOP) - Dolpa Airport, Dolpa, Nepal','country_id' => '164'),\narray('id' => '7367','name' => '(SIH) - Silgadi Doti Airport, Silgadi Doti, Nepal','country_id' => '164'),\narray('id' => '7368','name' => '(GKH) - Palungtar Airport, Gorkha, Nepal','country_id' => '164'),\narray('id' => '7369','name' => '(JIR) - Jiri Airport, Jiri, Nepal','country_id' => '164'),\narray('id' => '7370','name' => '(JUM) - Jumla Airport, Jumla, Nepal','country_id' => '164'),\narray('id' => '7371','name' => '(JKR) - Janakpur Airport, Janakpur, Nepal','country_id' => '164'),\narray('id' => '7372','name' => '(JMO) - Jomsom Airport, Jomsom, Nepal','country_id' => '164'),\narray('id' => '7373','name' => '(KTM) - Tribhuvan International Airport, Kathmandu, Nepal','country_id' => '164'),\narray('id' => '7374','name' => '(LDN) - Lamidanda Airport, Lamidanda, Nepal','country_id' => '164'),\narray('id' => '7375','name' => '(LUA) - Lukla Airport, Lukla, Nepal','country_id' => '164'),\narray('id' => '7376','name' => '(LTG) - Langtang Airport, Langtang, Nepal','country_id' => '164'),\narray('id' => '7377','name' => '(NGX) - Manang Airport, Ngawal, Nepal','country_id' => '164'),\narray('id' => '7378','name' => '(MEY) - Meghauli Airport, Meghauli, Nepal','country_id' => '164'),\narray('id' => '7379','name' => '(XMG) - Mahendranagar Airport, Mahendranagar, Nepal','country_id' => '164'),\narray('id' => '7380','name' => '(KEP) - Nepalgunj Airport, Nepalgunj, Nepal','country_id' => '164'),\narray('id' => '7381','name' => '(PKR) - Pokhara Airport, Pokhara, Nepal','country_id' => '164'),\narray('id' => '7382','name' => '(PPL) - Phaplu Airport, Phaplu, Nepal','country_id' => '164'),\narray('id' => '7383','name' => '(RJB) - Rajbiraj Airport, Rajbiraj, Nepal','country_id' => '164'),\narray('id' => '7384','name' => '(RHP) - Ramechhap Airport, Ramechhap, Nepal','country_id' => '164'),\narray('id' => '7385','name' => '(RUK) - Rukumkot Airport, Rukumkot, Nepal','country_id' => '164'),\narray('id' => '7386','name' => '(RPA) - Rolpa Airport, Rolpa, Nepal','country_id' => '164'),\narray('id' => '7387','name' => '(RUM) - Rumjatar Airport, Rumjatar, Nepal','country_id' => '164'),\narray('id' => '7388','name' => '(SYH) - Syangboche Airport, Namche Bazaar, Nepal','country_id' => '164'),\narray('id' => '7389','name' => '(SIF) - Simara Airport, Simara, Nepal','country_id' => '164'),\narray('id' => '7390','name' => '(SKH) - Surkhet Airport, Surkhet, Nepal','country_id' => '164'),\narray('id' => '7391','name' => '(FEB) - Sanfebagar Airport, Sanfebagar, Nepal','country_id' => '164'),\narray('id' => '7392','name' => '(IMK) - Simikot Airport, Simikot, Nepal','country_id' => '164'),\narray('id' => '7393','name' => '(TPJ) - Taplejung Airport, Taplejung, Nepal','country_id' => '164'),\narray('id' => '7394','name' => '(TPU) - Tikapur Airport, Tikapur, Nepal','country_id' => '164'),\narray('id' => '7395','name' => '(TMI) - Tumling Tar Airport, Tumling Tar, Nepal','country_id' => '164'),\narray('id' => '7396','name' => '(BIR) - Biratnagar Airport, Biratnagar, Nepal','country_id' => '164'),\narray('id' => '7397','name' => '(LTU) - Murod Kond Airport, Latur, India','country_id' => '101'),\narray('id' => '7398','name' => '(AGX) - Agatti Airport, , India','country_id' => '101'),\narray('id' => '7399','name' => '(BEP) - Bellary Airport, Bellary, India','country_id' => '101'),\narray('id' => '7400','name' => '(BLR) - Kempegowda International Airport, Bangalore, India','country_id' => '101'),\narray('id' => '7401','name' => '(VGA) - Vijayawada Airport, , India','country_id' => '101'),\narray('id' => '7402','name' => '(CJB) - Coimbatore International Airport, Coimbatore, India','country_id' => '101'),\narray('id' => '7403','name' => '(COK) - Cochin International Airport, Cochin, India','country_id' => '101'),\narray('id' => '7404','name' => '(CCJ) - Calicut International Airport, Calicut, India','country_id' => '101'),\narray('id' => '7405','name' => '(CDP) - Cuddapah Airport, , India','country_id' => '101'),\narray('id' => '7406','name' => '(CBD) - Car Nicobar Air Force Station, , India','country_id' => '101'),\narray('id' => '7407','name' => '(HYD) - Rajiv Gandhi International Airport, Hyderabad, India','country_id' => '101'),\narray('id' => '7408','name' => '(BPM) - Begumpet Airport, Hyderabad, India','country_id' => '101'),\narray('id' => '7409','name' => '(IXM) - Madurai Airport, Madurai, India','country_id' => '101'),\narray('id' => '7410','name' => '(IXE) - Mangalore International Airport, Mangalore, India','country_id' => '101'),\narray('id' => '7411','name' => '(MAA) - Chennai International Airport, Chennai, India','country_id' => '101'),\narray('id' => '7412','name' => '(MYQ) - Mysore Airport, Mysore, India','country_id' => '101'),\narray('id' => '7413','name' => '(IXZ) - Vir Savarkar International Airport, Port Blair, India','country_id' => '101'),\narray('id' => '7414','name' => '(PNY) - Pondicherry Airport, , India','country_id' => '101'),\narray('id' => '7415','name' => '(PUT) - Sri Sathya Sai Airport, Puttaparthi, India','country_id' => '101'),\narray('id' => '7416','name' => '(RMD) - Basanth Nagar Airport, Ramagundam, India','country_id' => '101'),\narray('id' => '7417','name' => '(RJA) - Rajahmundry Airport, Rajahmundry, India','country_id' => '101'),\narray('id' => '7418','name' => '(SXV) - Salem Airport, Salem, India','country_id' => '101'),\narray('id' => '7419','name' => '(TJV) - Tanjore Air Force Base, Thanjavur, India','country_id' => '101'),\narray('id' => '7420','name' => '(TIR) - Tirupati Airport, Tirupati, India','country_id' => '101'),\narray('id' => '7421','name' => '(TRZ) - Tiruchirapally Civil Airport Airport, Tiruchirappally, India','country_id' => '101'),\narray('id' => '7422','name' => '(TRV) - Trivandrum International Airport, Thiruvananthapuram, India','country_id' => '101'),\narray('id' => '7423','name' => '(WGC) - Warangal Airport, Warrangal, India','country_id' => '101'),\narray('id' => '7424','name' => '(YON) - Yongphulla Airport, Tashigang, Bhutan','country_id' => '31'),\narray('id' => '7425','name' => '(BUT) - Bathpalathang Airport, Jakar, Bhutan','country_id' => '31'),\narray('id' => '7426','name' => '(GLU) - Gelephu Airport, Gelephu, Bhutan','country_id' => '31'),\narray('id' => '7427','name' => '(PBH) - Paro Airport, Paro, Bhutan','country_id' => '31'),\narray('id' => '7428','name' => '(IFU) - Ifuru Airport, Ifuru Island, Maldives','country_id' => '151'),\narray('id' => '7429','name' => '(DRV) - Dharavandhoo Airport, Baa Atoll, Maldives','country_id' => '151'),\narray('id' => '7430','name' => '(FVM) - Fuvahmulah Airport, Fuvahmulah Island, Maldives','country_id' => '151'),\narray('id' => '7431','name' => '(GAN) - Gan International Airport, Gan, Maldives','country_id' => '151'),\narray('id' => '7432','name' => '(HAQ) - Hanimaadhoo Airport, Haa Dhaalu Atoll, Maldives','country_id' => '151'),\narray('id' => '7433','name' => '(KDO) - Kadhdhoo Airport, Kadhdhoo, Maldives','country_id' => '151'),\narray('id' => '7434','name' => '(MLE) - MalA International Airport, MalA, Maldives','country_id' => '151'),\narray('id' => '7435','name' => '(GKK) - Kooddoo Airport, Huvadhu Atoll, Maldives','country_id' => '151'),\narray('id' => '7436','name' => '(KDM) - Kaadedhdhoo Airport, Huvadhu Atoll, Maldives','country_id' => '151'),\narray('id' => '7437','name' => '(VAM) - Villa Airport, Maamigili, Maldives','country_id' => '151'),\narray('id' => '7438','name' => '(TMF) - Thimarafushi Airport, Thimarafushi, Maldives','country_id' => '151'),\narray('id' => '7439','name' => '(DMK) - Don Mueang International Airport, Bangkok, Thailand','country_id' => '213'),\narray('id' => '7440','name' => '(KKM) - Sa Pran Nak Airport, , Thailand','country_id' => '213'),\narray('id' => '7441','name' => '(KDT) - Kamphaeng Saen Airport, Nakhon Pathom, Thailand','country_id' => '213'),\narray('id' => '7442','name' => '(TDX) - Trat Airport, , Thailand','country_id' => '213'),\narray('id' => '7443','name' => '(BKK) - Suvarnabhumi Airport, Bangkok, Thailand','country_id' => '213'),\narray('id' => '7444','name' => '(UTP) - U-Tapao International Airport, Rayong, Thailand','country_id' => '213'),\narray('id' => '7445','name' => '(CNX) - Chiang Mai International Airport, Chiang Mai, Thailand','country_id' => '213'),\narray('id' => '7446','name' => '(HGN) - Mae Hong Son Airport, , Thailand','country_id' => '213'),\narray('id' => '7447','name' => '(PYY) - Mae Hong Son Airport, Mae Hong Son, Thailand','country_id' => '213'),\narray('id' => '7448','name' => '(LPT) - Lampang Airport, , Thailand','country_id' => '213'),\narray('id' => '7449','name' => '(NNT) - Nan Airport, , Thailand','country_id' => '213'),\narray('id' => '7450','name' => '(PRH) - Phrae Airport, , Thailand','country_id' => '213'),\narray('id' => '7451','name' => '(CEI) - Chiang Rai International Airport, Chiang Rai, Thailand','country_id' => '213'),\narray('id' => '7452','name' => '(BAO) - Udorn Air Base, Ban Mak Khaen, Thailand','country_id' => '213'),\narray('id' => '7453','name' => '(PHY) - Phetchabun Airport, , Thailand','country_id' => '213'),\narray('id' => '7454','name' => '(HHQ) - Hua Hin Airport, Hua Hin, Thailand','country_id' => '213'),\narray('id' => '7455','name' => '(TKH) - Takhli Airport, , Thailand','country_id' => '213'),\narray('id' => '7456','name' => '(MAQ) - Mae Sot Airport, , Thailand','country_id' => '213'),\narray('id' => '7457','name' => '(THS) - Sukhothai Airport, , Thailand','country_id' => '213'),\narray('id' => '7458','name' => '(PHS) - Phitsanulok Airport, , Thailand','country_id' => '213'),\narray('id' => '7459','name' => '(TKT) - Tak Airport, , Thailand','country_id' => '213'),\narray('id' => '7460','name' => '(UTR) - Uttaradit Airport, Uttaradit, Thailand','country_id' => '213'),\narray('id' => '7461','name' => '(URT) - Surat Thani Airport, Surat Thani, Thailand','country_id' => '213'),\narray('id' => '7462','name' => '(NAW) - Narathiwat Airport, , Thailand','country_id' => '213'),\narray('id' => '7463','name' => '(CJM) - Chumphon Airport, , Thailand','country_id' => '213'),\narray('id' => '7464','name' => '(NST) - Nakhon Si Thammarat Airport, Nakhon Si Thammarat, Thailand','country_id' => '213'),\narray('id' => '7465','name' => '(KBV) - Krabi Airport, Krabi, Thailand','country_id' => '213'),\narray('id' => '7466','name' => '(SGZ) - Songkhla Airport, , Thailand','country_id' => '213'),\narray('id' => '7467','name' => '(PAN) - Pattani Airport, , Thailand','country_id' => '213'),\narray('id' => '7468','name' => '(USM) - Samui Airport, Na Thon (Ko Samui Island), Thailand','country_id' => '213'),\narray('id' => '7469','name' => '(HKT) - Phuket International Airport, Phuket, Thailand','country_id' => '213'),\narray('id' => '7470','name' => '(UNN) - Ranong Airport, , Thailand','country_id' => '213'),\narray('id' => '7471','name' => '(HDY) - Hat Yai International Airport, Hat Yai, Thailand','country_id' => '213'),\narray('id' => '7472','name' => '(TST) - Trang Airport, , Thailand','country_id' => '213'),\narray('id' => '7473','name' => '(UTH) - Udon Thani Airport, Udon Thani, Thailand','country_id' => '213'),\narray('id' => '7474','name' => '(SNO) - Sakon Nakhon Airport, , Thailand','country_id' => '213'),\narray('id' => '7475','name' => '(PXR) - Surin Airport, Surin, Thailand','country_id' => '213'),\narray('id' => '7476','name' => '(KKC) - Khon Kaen Airport, Khon Kaen, Thailand','country_id' => '213'),\narray('id' => '7477','name' => '(LOE) - Loei Airport, , Thailand','country_id' => '213'),\narray('id' => '7478','name' => '(BFV) - Buri Ram Airport, , Thailand','country_id' => '213'),\narray('id' => '7479','name' => '(NAK) - Nakhon Ratchasima Airport, , Thailand','country_id' => '213'),\narray('id' => '7480','name' => '(UBP) - Ubon Ratchathani Airport, Ubon Ratchathani, Thailand','country_id' => '213'),\narray('id' => '7481','name' => '(ROI) - Roi Et Airport, , Thailand','country_id' => '213'),\narray('id' => '7482','name' => '(KOP) - Nakhon Phanom Airport, , Thailand','country_id' => '213'),\narray('id' => '7483','name' => '(VUU) - Mvuu Camp Airport, Liwonde National Park, Malawi','country_id' => '152'),\narray('id' => '7484','name' => '(BMV) - Buon Ma Thuot Airport, Buon Ma Thuot, Vietnam','country_id' => '236'),\narray('id' => '7485','name' => '(VCL) - Chu Lai International Airport, Dung Quat Bay, Vietnam','country_id' => '236'),\narray('id' => '7486','name' => '(HPH) - Cat Bi International Airport, Haiphong, Vietnam','country_id' => '236'),\narray('id' => '7487','name' => '(CAH) - CA Mau Airport, Ca Mau City, Vietnam','country_id' => '236'),\narray('id' => '7488','name' => '(CXR) - Cam Ranh Airport, Nha Trang, Vietnam','country_id' => '236'),\narray('id' => '7489','name' => '(VCS) - Co Ong Airport, Con Ong, Vietnam','country_id' => '236'),\narray('id' => '7490','name' => '(VCA) - Can Tho International Airport, Can Tho, Vietnam','country_id' => '236'),\narray('id' => '7491','name' => '(DIN) - Dien Bien Phu Airport, Dien Bien Phu, Vietnam','country_id' => '236'),\narray('id' => '7492','name' => '(DLI) - Lien Khuong Airport, Dalat, Vietnam','country_id' => '236'),\narray('id' => '7493','name' => '(DAD) - Da Nang International Airport, Da Nang, Vietnam','country_id' => '236'),\narray('id' => '7494','name' => '(VVN) - Las Malvinas/Echarate Airport, Las Malvinas, Peru','country_id' => '170'),\narray('id' => '7495','name' => '(HAN) - Noi Bai International Airport, Hanoi, Vietnam','country_id' => '236'),\narray('id' => '7496','name' => '(SQH) - Na-San Airport, Son-La, Vietnam','country_id' => '236'),\narray('id' => '7497','name' => '(NHA) - Nha Trang Air Base, Nha Trang, Vietnam','country_id' => '236'),\narray('id' => '7498','name' => '(HUI) - Phu Bai Airport, Hue, Vietnam','country_id' => '236'),\narray('id' => '7499','name' => '(UIH) - Phu Cat Airport, Quy Nohn, Vietnam','country_id' => '236'),\narray('id' => '7500','name' => '(PXU) - Pleiku Airport, Pleiku, Vietnam','country_id' => '236'),\narray('id' => '7501','name' => '(PQC) - Phu Quoc International Airport, Phu Quoc Island, Vietnam','country_id' => '236'),\narray('id' => '7502','name' => '(PHA) - Phan Rang Airport, Phan Rang, Vietnam','country_id' => '236'),\narray('id' => '7503','name' => '(PHH) - Phan Thiet Airport, Phan Thiet, Vietnam','country_id' => '236'),\narray('id' => '7504','name' => '(VKG) - Rach Gia Airport, Rach Gia, Vietnam','country_id' => '236'),\narray('id' => '7505','name' => '(TBB) - Dong Tac Airport, Tuy Hoa, Vietnam','country_id' => '236'),\narray('id' => '7506','name' => '(SGN) - Tan Son Nhat International Airport, Ho Chi Minh City, Vietnam','country_id' => '236'),\narray('id' => '7507','name' => '(VII) - Vinh Airport, Vinh, Vietnam','country_id' => '236'),\narray('id' => '7508','name' => '(VTG) - Vung Tau Airport, Vung Tau, Vietnam','country_id' => '236'),\narray('id' => '7509','name' => '(NYU) - Bagan Airport, Nyaung U, Burma','country_id' => '142'),\narray('id' => '7510','name' => '(BMO) - Banmaw Airport, Banmaw, Burma','country_id' => '142'),\narray('id' => '7511','name' => '(VBP) - Bokpyinn Airport, Bokpyinn, Burma','country_id' => '142'),\narray('id' => '7512','name' => '(TVY) - Dawei Airport, Dawei, Burma','country_id' => '142'),\narray('id' => '7513','name' => '(NYT) - Naypyidaw Airport, Pyinmana, Burma','country_id' => '142'),\narray('id' => '7514','name' => '(GAW) - Gangaw Airport, Gangaw, Burma','country_id' => '142'),\narray('id' => '7515','name' => '(GWA) - Gwa Airport, Gwa, Burma','country_id' => '142'),\narray('id' => '7516','name' => '(HEH) - Heho Airport, Heho, Burma','country_id' => '142'),\narray('id' => '7517','name' => '(HOX) - Hommalinn Airport, Hommalinn, Burma','country_id' => '142'),\narray('id' => '7518','name' => '(TIO) - Tilin Airport, Tilin, Burma','country_id' => '142'),\narray('id' => '7519','name' => '(KET) - Kengtung Airport, Kengtung, Burma','country_id' => '142'),\narray('id' => '7520','name' => '(KHM) - Kanti Airport, Kanti, Burma','country_id' => '142'),\narray('id' => '7521','name' => '(KMV) - Kalay Airport, Kalemyo, Burma','country_id' => '142'),\narray('id' => '7522','name' => '(KYP) - Kyaukpyu Airport, Kyaukpyu, Burma','country_id' => '142'),\narray('id' => '7523','name' => '(KAW) - Kawthoung Airport, Kawthoung, Burma','country_id' => '142'),\narray('id' => '7524','name' => '(KYT) - Kyauktu Airport, Kyauktu, Burma','country_id' => '142'),\narray('id' => '7525','name' => '(LIW) - Loikaw Airport, Loikaw, Burma','country_id' => '142'),\narray('id' => '7526','name' => '(LSH) - Lashio Airport, Lashio, Burma','country_id' => '142'),\narray('id' => '7527','name' => '(MDL) - Mandalay International Airport, Mandalay, Burma','country_id' => '142'),\narray('id' => '7528','name' => '(MGZ) - Myeik Airport, Mkeik, Burma','country_id' => '142'),\narray('id' => '7529','name' => '(MYT) - Myitkyina Airport, Myitkyina, Burma','country_id' => '142'),\narray('id' => '7530','name' => '(MNU) - Mawlamyine Airport, Mawlamyine, Burma','country_id' => '142'),\narray('id' => '7531','name' => '(MGU) - Manaung Airport, Manaung, Burma','country_id' => '142'),\narray('id' => '7532','name' => '(MOE) - Momeik Airport, , Burma','country_id' => '142'),\narray('id' => '7533','name' => '(MOG) - Mong Hsat Airport, Mong Hsat, Burma','country_id' => '142'),\narray('id' => '7534','name' => '(MGK) - Mong Tong Airport, Mong Tong, Burma','country_id' => '142'),\narray('id' => '7535','name' => '(MWQ) - Magway Airport, Magway, Burma','country_id' => '142'),\narray('id' => '7536','name' => '(NMS) - Namsang Airport, Namsang, Burma','country_id' => '142'),\narray('id' => '7537','name' => '(NMT) - Namtu Airport, Namtu, Burma','country_id' => '142'),\narray('id' => '7538','name' => '(PAA) - Hpa-N Airport, Hpa-N, Burma','country_id' => '142'),\narray('id' => '7539','name' => '(PAU) - Pauk Airport, Pauk, Burma','country_id' => '142'),\narray('id' => '7540','name' => '(BSX) - Pathein Airport, Pathein, Burma','country_id' => '142'),\narray('id' => '7541','name' => '(PPU) - Hpapun Airport, Pa Pun, Burma','country_id' => '142'),\narray('id' => '7542','name' => '(PBU) - Putao Airport, Putao, Burma','country_id' => '142'),\narray('id' => '7543','name' => '(PKK) - Pakhokku Airport, Pakhokku, Burma','country_id' => '142'),\narray('id' => '7544','name' => '(PRU) - Pyay Airport, Pye, Burma','country_id' => '142'),\narray('id' => '7545','name' => '(AKY) - Sittwe Airport, Sittwe, Burma','country_id' => '142'),\narray('id' => '7546','name' => '(SNW) - Thandwe Airport, Thandwe, Burma','country_id' => '142'),\narray('id' => '7547','name' => '(THL) - Tachileik Airport, Tachileik, Burma','country_id' => '142'),\narray('id' => '7548','name' => '(XYE) - Ye Airport, Ye, Burma','country_id' => '142'),\narray('id' => '7549','name' => '(RGN) - Yangon International Airport, Yangon, Burma','country_id' => '142'),\narray('id' => '7550','name' => '(RCE) - Roche Harbor Airport, Roche Harbor, United States','country_id' => '228'),\narray('id' => '7551','name' => '(TQQ) - Maranggo Airport, Waha-Tomea Island, Indonesia','country_id' => '97'),\narray('id' => '7552','name' => '(UPG) - Hasanuddin International Airport, Ujung Pandang-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7553','name' => '(MJU) - Tampa Padang Airport, Mamuju-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7554','name' => '(BIK) - Frans Kaisiepo Airport, Biak-Supiori Island, Indonesia','country_id' => '97'),\narray('id' => '7555','name' => '(ONI) - Moanamani Airport, Moanamani-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7556','name' => '(WET) - Wagethe Airport, Wagethe-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7557','name' => '(NBX) - Nabire Airport, Nabire-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7558','name' => '(ILA) - Illaga Airport, Illaga-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7559','name' => '(KOX) - Kokonau Airport, Kokonau-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7560','name' => '(ZRI) - Serui Airport, Serui-Japen Island, Indonesia','country_id' => '97'),\narray('id' => '7561','name' => '(TIM) - Moses Kilangin Airport, Timika-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7562','name' => '(EWI) - Enarotali Airport, Enarotali-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7563','name' => '(WAD) - Andriamena Airport, Andriamena, Madagascar','country_id' => '138'),\narray('id' => '7564','name' => '(AMI) - Selaparang Airport, Mataram-Lombok Island, Indonesia','country_id' => '97'),\narray('id' => '7565','name' => '(BMU) - Muhammad Salahuddin Airport, Bima-Sumbawa Island, Indonesia','country_id' => '97'),\narray('id' => '7566','name' => '(DPS) - Ngurah Rai (Bali) International Airport, Denpasar-Bali Island, Indonesia','country_id' => '97'),\narray('id' => '7567','name' => '(LOP) - Lombok International Airport, Mataram, Indonesia','country_id' => '97'),\narray('id' => '7568','name' => '(SWQ) - Sumbawa Besar Airport, Sumbawa Island, Indonesia','country_id' => '97'),\narray('id' => '7569','name' => '(TMC) - Tambolaka Airport, Waikabubak-Sumba Island, Indonesia','country_id' => '97'),\narray('id' => '7570','name' => '(WGP) - Waingapu Airport, Waingapu-Sumba Island, Indonesia','country_id' => '97'),\narray('id' => '7571','name' => '(ARJ) - Arso Airport, Arso-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7572','name' => '(BUI) - Bokondini Airport, Bokondini, Indonesia','country_id' => '97'),\narray('id' => '7573','name' => '(ZRM) - Sarmi Airport, Sarmi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7574','name' => '(DJJ) - Sentani Airport, Jayapura-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7575','name' => '(LHI) - Lereh Airport, Lereh-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7576','name' => '(LII) - Mulia Airport, Mulia-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7577','name' => '(OKL) - Oksibil Airport, Oksibil-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7578','name' => '(WAR) - Waris Airport, Swach, Indonesia','country_id' => '97'),\narray('id' => '7579','name' => '(SEH) - Senggeh Airport, Senggeh, Indonesia','country_id' => '97'),\narray('id' => '7580','name' => '(UBR) - Ubrub Airport, Ubrub-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7581','name' => '(WMX) - Wamena Airport, Wamena-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7582','name' => '(MDP) - Mindiptana Airport, Mindiptana-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7583','name' => '(BXD) - Bade Airport, Bade-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7584','name' => '(MKQ) - Mopah Airport, Merauke-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7585','name' => '(OKQ) - Okaba Airport, Okaba-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7586','name' => '(KEI) - Kepi Airport, Kepi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7587','name' => '(TMH) - Tanah Merah Airport, Tanah Merah-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7588','name' => '(TJS) - Tanjung Harapan Airport, Tanjung Selor-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7589','name' => '(DTD) - Datadawai Airport, Datadawai-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7590','name' => '(BEJ) - Barau(Kalimaru) Airport, Tanjung Redep-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7591','name' => '(BPN) - Sultan Aji Muhamad Sulaiman Airport, Kotamadya Balikpapan, Indonesia','country_id' => '97'),\narray('id' => '7592','name' => '(TRK) - Juwata Airport, Tarakan Island, Indonesia','country_id' => '97'),\narray('id' => '7593','name' => '(SRI) - Temindung Airport, Samarinda, Indonesia','country_id' => '97'),\narray('id' => '7594','name' => '(TSX) - Tanjung Santan Airport, Santan-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7595','name' => '(BYQ) - Bunyu Airport, Bunju Island, Indonesia','country_id' => '97'),\narray('id' => '7596','name' => '(GLX) - Gamarmalamo Airport, Galela-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7597','name' => '(GTO) - Jalaluddin Airport, Gorontalo-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7598','name' => '(NAH) - Naha Airport, Tahuna-Sangihe Island, Indonesia','country_id' => '97'),\narray('id' => '7599','name' => '(TLI) - Sultan Bantilan Airport, Toli Toli-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7600','name' => '(GEB) - Gebe Airport, Gebe Island, Indonesia','country_id' => '97'),\narray('id' => '7601','name' => '(KAZ) - Kao Airport, Kao-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7602','name' => '(PLW) - Mutiara Airport, Palu-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7603','name' => '(MDC) - Sam Ratulangi Airport, Manado-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7604','name' => '(MNA) - Melangguane Airport, Karakelong Island, Indonesia','country_id' => '97'),\narray('id' => '7605','name' => '(PSJ) - Kasiguncu Airport, Poso-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7606','name' => '(OTI) - Pitu Airport, Gotalalamo-Morotai Island, Indonesia','country_id' => '97'),\narray('id' => '7607','name' => '(TTE) - Sultan Khairun Babullah Airport, Sango-Ternate Island, Indonesia','country_id' => '97'),\narray('id' => '7608','name' => '(LUW) - Bubung Airport, Luwok-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7609','name' => '(UOL) - Buol Airport, Buol-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7610','name' => '(WAN) - Waverney Airport, Waverney, Australia','country_id' => '12'),\narray('id' => '7611','name' => '(BTW) - Batu Licin Airport, Batu Licin-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7612','name' => '(PKN) - Iskandar Airport, Pangkalanbun-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7613','name' => '(KBU) - Stagen Airport, Laut Island, Indonesia','country_id' => '97'),\narray('id' => '7614','name' => '(TJG) - Warukin Airport, Tanta-Tabalong-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7615','name' => '(BDJ) - Syamsudin Noor Airport, Banjarmasin-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7616','name' => '(PKY) - Tjilik Riwut Airport, Palangkaraya-Kalimantan Tengah, Indonesia','country_id' => '97'),\narray('id' => '7617','name' => '(SMQ) - Sampit(Hasan) Airport, Sampit-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7618','name' => '(AHI) - Amahai Airport, Amahai-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7619','name' => '(NDA) - Bandanaira Airport, Banda-Naira Island, Indonesia','country_id' => '97'),\narray('id' => '7620','name' => '(DOB) - Rar Gwamar Airport, Dobo-Warmar Island, Indonesia','country_id' => '97'),\narray('id' => '7621','name' => '(MAL) - Mangole Airport, Falabisahaya, Mangole Island, Indonesia','country_id' => '97'),\narray('id' => '7622','name' => '(NRE) - Namrole Airport, Namrole-Buru Island, Indonesia','country_id' => '97'),\narray('id' => '7623','name' => '(LAH) - Oesman Sadik Airport, Labuha, Labuha-Halmahera Island, Indonesia','country_id' => '97'),\narray('id' => '7624','name' => '(SXK) - Saumlaki/Olilit Airport, Saumlaki-Yamdena Island, Indonesia','country_id' => '97'),\narray('id' => '7625','name' => '(BJK) - Nangasuri Airport, Maikoor Island, Indonesia','country_id' => '97'),\narray('id' => '7626','name' => '(LUV) - Dumatumbun Airport, Langgur-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7627','name' => '(SQN) - Emalamo Sanana Airport, Sanana-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7628','name' => '(AMQ) - Pattimura Airport, Ambon, Ambon, Indonesia','country_id' => '97'),\narray('id' => '7629','name' => '(NAM) - Namlea Airport, Namlea-Buru Island, Indonesia','country_id' => '97'),\narray('id' => '7630','name' => '(TAX) - Taliabu Island Airport, Tikong-Taliabu Island, Indonesia','country_id' => '97'),\narray('id' => '7631','name' => '(WBA) - Wahai,Seram Island, Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7632','name' => '(MLG) - Abdul Rachman Saleh Airport, Malang-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7633','name' => '(CPF) - Ngloram Airport, Tjepu-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7634','name' => '(JOG) - Adi Sutjipto International Airport, Yogyakarta-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7635','name' => '(SOC) - Adi Sumarmo Wiryokusumo Airport, Sukarata(Solo)-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7636','name' => '(SUB) - Juanda International Airport, Surabaya, Indonesia','country_id' => '97'),\narray('id' => '7637','name' => '(SRG) - Achmad Yani Airport, Semarang-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7638','name' => '(SUP) - Trunojoyo Airport, Sumenep-Madura Island, Indonesia','country_id' => '97'),\narray('id' => '7639','name' => '(KWB) - Dewadaru - Kemujan Island, Karimunjawa, Indonesia','country_id' => '97'),\narray('id' => '7640','name' => '(NTI) - Stenkol Airport, Bintuni, Indonesia','country_id' => '97'),\narray('id' => '7641','name' => '(RSK) - Abresso Airport, Ransiki-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7642','name' => '(KEQ) - Kebar Airport, Kebar-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7643','name' => '(FKQ) - Fakfak Airport, Fakfak-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7644','name' => '(INX) - Inanwatan Airport, Inanwatan Airport-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7645','name' => '(KNG) - Kaimana Airport, Kaimana-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7646','name' => '(RDE) - Merdei Airport, Merdei-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7647','name' => '(BXB) - Babo Airport, Babo-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7648','name' => '(MKW) - Rendani Airport, Manokwari-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7649','name' => '(TXM) - Teminabuan Airport, Atinjoe-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7650','name' => '(WSR) - Wasior Airport, Wasior-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7651','name' => '(BJW) - Bajawa Soa Airport, Bajawa, Indonesia','country_id' => '97'),\narray('id' => '7652','name' => '(MOF) - Maumere(Wai Oti) Airport, Maumere-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7653','name' => '(ENE) - Ende (H Hasan Aroeboesman) Airport, Ende-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7654','name' => '(RTG) - Frans Sales Lega Airport, Satar Tacik-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7655','name' => '(ARD) - Mali Airport, Alor Island, Indonesia','country_id' => '97'),\narray('id' => '7656','name' => '(LBJ) - Komodo (Mutiara II) Airport, Labuan Bajo-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7657','name' => '(KOE) - El Tari Airport, Kupang-Timor Island, Indonesia','country_id' => '97'),\narray('id' => '7658','name' => '(BUW) - Betoambari Airport, Bau Bau-Butung Island, Indonesia','country_id' => '97'),\narray('id' => '7659','name' => '(MXB) - Andi Jemma Airport, Masamba-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7660','name' => '(SQR) - Soroako Airport, Soroako-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7661','name' => '(TTR) - Pongtiku Airport, Makale, Indonesia','country_id' => '97'),\narray('id' => '7662','name' => '(KDI) - Wolter Monginsidi Airport, Kendari-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7663','name' => '(SOQ) - Dominique Edward Osok Airport, Sorong-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7664','name' => '(WBB) - Stebbins Airport, Stebbins, United States','country_id' => '228'),\narray('id' => '7665','name' => '(WBC) - Wapolu Airport, Wapolu, Papua New Guinea','country_id' => '172'),\narray('id' => '7666','name' => '(BTU) - Bintulu Airport, Bintulu, Malaysia','country_id' => '154'),\narray('id' => '7667','name' => '(BLG) - Belaga Airport, Belaga, Malaysia','country_id' => '154'),\narray('id' => '7668','name' => '(LSM) - Long Semado Airport, Long Semado, Malaysia','country_id' => '154'),\narray('id' => '7669','name' => '(LGL) - Long Lellang Airport, Long Datih, Malaysia','country_id' => '154'),\narray('id' => '7670','name' => '(KCH) - Kuching International Airport, Kuching, Malaysia','country_id' => '154'),\narray('id' => '7671','name' => '(ODN) - Long Seridan Airport, Long Seridan, Malaysia','country_id' => '154'),\narray('id' => '7672','name' => '(LMN) - Limbang Airport, Limbang, Malaysia','country_id' => '154'),\narray('id' => '7673','name' => '(MKM) - Mukah Airport, Mukah, Malaysia','country_id' => '154'),\narray('id' => '7674','name' => '(LKH) - Long Akah Airport, Long Akah, Malaysia','country_id' => '154'),\narray('id' => '7675','name' => '(MUR) - Marudi Airport, Marudi, Malaysia','country_id' => '154'),\narray('id' => '7676','name' => '(BSE) - Sematan Airport, Sematan, Malaysia','country_id' => '154'),\narray('id' => '7677','name' => '(KPI) - Kapit Airport, Kapit, Malaysia','country_id' => '154'),\narray('id' => '7678','name' => '(BKM) - Bakalalan Airport, Bakalalan, Malaysia','country_id' => '154'),\narray('id' => '7679','name' => '(MYY) - Miri Airport, Miri, Malaysia','country_id' => '154'),\narray('id' => '7680','name' => '(SBW) - Sibu Airport, Sibu, Malaysia','country_id' => '154'),\narray('id' => '7681','name' => '(TGC) - Tanjung Manis Airport, Tanjung Manis, Malaysia','country_id' => '154'),\narray('id' => '7682','name' => '(LSU) - Long Sukang Airport, Long Sukang, Malaysia','country_id' => '154'),\narray('id' => '7683','name' => '(LWY) - Lawas Airport, Lawas, Malaysia','country_id' => '154'),\narray('id' => '7684','name' => '(BBN) - Bario Airport, Bario, Malaysia','country_id' => '154'),\narray('id' => '7685','name' => '(SMM) - Semporna Airport, Semporna, Malaysia','country_id' => '154'),\narray('id' => '7686','name' => '(LDU) - Lahad Datu Airport, Lahad Datu, Malaysia','country_id' => '154'),\narray('id' => '7687','name' => '(TEL) - Telupid Airport, Telupid, Malaysia','country_id' => '154'),\narray('id' => '7688','name' => '(KGU) - Keningau Airport, Keningau, Malaysia','country_id' => '154'),\narray('id' => '7689','name' => '(SXS) - Sahabat [Sahabat 16] Airport, Sahabat, Malaysia','country_id' => '154'),\narray('id' => '7690','name' => '(BKI) - Kota Kinabalu International Airport, Kota Kinabalu, Malaysia','country_id' => '154'),\narray('id' => '7691','name' => '(LBU) - Labuan Airport, Labuan, Malaysia','country_id' => '154'),\narray('id' => '7692','name' => '(TMG) - Tomanggong Airport, Tomanggong, Malaysia','country_id' => '154'),\narray('id' => '7693','name' => '(GSA) - Long Pasia Airport, Long Miau, Malaysia','country_id' => '154'),\narray('id' => '7694','name' => '(SPE) - Sepulot Airport, Sepulot, Malaysia','country_id' => '154'),\narray('id' => '7695','name' => '(PAY) - Pamol Airport, Pamol, Malaysia','country_id' => '154'),\narray('id' => '7696','name' => '(RNU) - Ranau Airport, Ranau, Malaysia','country_id' => '154'),\narray('id' => '7697','name' => '(SDK) - Sandakan Airport, Sandakan, Malaysia','country_id' => '154'),\narray('id' => '7698','name' => '(KUD) - Kudat Airport, Kudat, Malaysia','country_id' => '154'),\narray('id' => '7699','name' => '(TWU) - Tawau Airport, Tawau, Malaysia','country_id' => '154'),\narray('id' => '7700','name' => '(MZV) - Mulu Airport, Mulu, Malaysia','country_id' => '154'),\narray('id' => '7701','name' => '(BWN) - Brunei International Airport, Bandar Seri Begawan, Brunei','country_id' => '26'),\narray('id' => '7702','name' => '(WEA) - Parker County Airport, Weatherford, United States','country_id' => '228'),\narray('id' => '7703','name' => '(WED) - Wedau Airport, Wedau, Papua New Guinea','country_id' => '172'),\narray('id' => '7704','name' => '(WHL) - Welshpool Airport, Welshpool, Australia','country_id' => '12'),\narray('id' => '7705','name' => '(TKG) - Radin Inten II (Branti) Airport, Bandar Lampung-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7706','name' => '(PKU) - Sultan Syarif Kasim Ii (Simpang Tiga) Airport, Pekanbaru-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7707','name' => '(DUM) - Pinang Kampai Airport, Dumai-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7708','name' => '(RKO) - Rokot Airport, Sipora Island, Indonesia','country_id' => '97'),\narray('id' => '7709','name' => '(SEQ) - Sungai Pakning Bengkalis Airport, Bengkalis-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7710','name' => '(TJB) - Sei Bati Airport, Tanjung Balai-Karinmunbesar Island, Indonesia','country_id' => '97'),\narray('id' => '7711','name' => '(BDO) - Husein Sastranegara International Airport, Bandung-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7712','name' => '(CBN) - Penggung Airport, Cirebon-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7713','name' => '(TSY) - Cibeureum Airport, Tasikmalaya-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7714','name' => '(BTH) - Hang Nadim International Airport, Batam Island, Indonesia','country_id' => '97'),\narray('id' => '7715','name' => '(PPR) - Pasir Pangaraan Airport, Pasir Pengarayan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7716','name' => '(TNJ) - Raja Haji Fisabilillah International Airport, Tanjung Pinang-Bintan Island, Indonesia','country_id' => '97'),\narray('id' => '7717','name' => '(SIQ) - Dabo Airport, Pasirkuning-Singkep Island, Indonesia','country_id' => '97'),\narray('id' => '7718','name' => '(HLP) - Halim Perdanakusuma International Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7719','name' => '(CXP) - Tunggul Wulung Airport, Cilacap-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7720','name' => '(PCB) - Pondok Cabe Air Base, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7721','name' => '(CGK) - Soekarno-Hatta International Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7722','name' => '(GNS) - Binaka Airport, Gunung Sitoli-Nias Island, Indonesia','country_id' => '97'),\narray('id' => '7723','name' => '(AEG) - Aek Godang Airport, Padang Sidempuan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7724','name' => '(PDG) - Tabing Airport, Padang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7725','name' => '(MES) - Soewondo Air Force Base, Medan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7726','name' => '(KNO) - Kualanamu International Airport, , Indonesia','country_id' => '97'),\narray('id' => '7727','name' => '(DTB) - Silangit Airport, Siborong-Borong, Indonesia','country_id' => '97'),\narray('id' => '7728','name' => '(SIW) - Sibisa Airport, Parapat-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7729','name' => '(TJQ) - Buluh Tumbang (H A S Hanandjoeddin) Airport, Tanjung Pandan-Belitung Island, Indonesia','country_id' => '97'),\narray('id' => '7730','name' => '(NPO) - Nanga Pinoh Airport, Nanga Pinoh-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7731','name' => '(KTG) - Ketapang(Rahadi Usman) Airport, Ketapang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7732','name' => '(MWK) - Tarempa Airport, Matak Island, Indonesia','country_id' => '97'),\narray('id' => '7733','name' => '(NTX) - Ranai Airport, Ranai-Natuna Besar Island, Indonesia','country_id' => '97'),\narray('id' => '7734','name' => '(PNK) - Supadio Airport, Pontianak-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7735','name' => '(PSU) - Pangsuma Airport, Putussibau-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7736','name' => '(SQG) - Sintang(Susilo) Airport, Sintang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7737','name' => '(DJB) - Sultan Thaha Airport, Jambi-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7738','name' => '(PGK) - Pangkal Pinang (Depati Amir) Airport, Pangkal Pinang-Palaubangka Island, Indonesia','country_id' => '97'),\narray('id' => '7739','name' => '(BKS) - Fatmawati Soekarno Airport, Bengkulu-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7740','name' => '(PLM) - Sultan Mahmud Badaruddin II Airport, Palembang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7741','name' => '(PDO) - Pendopo Airport, Talang Gudang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7742','name' => '(RGT) - Japura Airport, Rengat-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7743','name' => '(PDG) - Minangkabau Airport, Ketaping/Padang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7744','name' => '(MPC) - Muko Muko Airport, Muko Muko-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7745','name' => '(KLQ) - Keluang Airport, Keluang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7746','name' => '(TPK) - Teuku Cut Ali Airport, Tapak Tuan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7747','name' => '(SBG) - Maimun Saleh Airport, Sabang-We Island, Indonesia','country_id' => '97'),\narray('id' => '7748','name' => '(MEQ) - Seunagan Airport, Peureumeue-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7749','name' => '(LSX) - Lhok Sukon Airport, Lhok Sukon-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7750','name' => '(LSW) - Malikus Saleh Airport, Lhok Seumawe-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7751','name' => '(BTJ) - Sultan Iskandar Muda International Airport, Banda Aceh, Indonesia','country_id' => '97'),\narray('id' => '7752','name' => '(SXT) - Sungai Tiang Airport, Taman Negara, Malaysia','country_id' => '154'),\narray('id' => '7753','name' => '(MEP) - Mersing Airport, Mersing, Malaysia','country_id' => '154'),\narray('id' => '7754','name' => '(SWY) - Sitiawan Airport, Sitiawan, Malaysia','country_id' => '154'),\narray('id' => '7755','name' => '(TPG) - Taiping (Tekah) Airport, Taiping, Malaysia','country_id' => '154'),\narray('id' => '7756','name' => '(TOD) - Pulau Tioman Airport, Pulau Tioman, Malaysia','country_id' => '154'),\narray('id' => '7757','name' => '(AOR) - Sultan Abdul Halim Airport, Alor Satar, Malaysia','country_id' => '154'),\narray('id' => '7758','name' => '(BWH) - Butterworth Airport, Butterworth, Malaysia','country_id' => '154'),\narray('id' => '7759','name' => '(KBR) - Sultan Ismail Petra Airport, Kota Baharu, Malaysia','country_id' => '154'),\narray('id' => '7760','name' => '(KUA) - Kuantan Airport, Kuantan, Malaysia','country_id' => '154'),\narray('id' => '7761','name' => '(KTE) - Kerteh Airport, Kerteh, Malaysia','country_id' => '154'),\narray('id' => '7762','name' => '(IPH) - Sultan Azlan Shah Airport, Ipoh, Malaysia','country_id' => '154'),\narray('id' => '7763','name' => '(JHB) - Senai International Airport, Senai, Malaysia','country_id' => '154'),\narray('id' => '7764','name' => '(KUL) - Kuala Lumpur International Airport, Kuala Lumpur, Malaysia','country_id' => '154'),\narray('id' => '7765','name' => '(LGK) - Langkawi International Airport, Langkawi, Malaysia','country_id' => '154'),\narray('id' => '7766','name' => '(MKZ) - Malacca Airport, Malacca, Malaysia','country_id' => '154'),\narray('id' => '7767','name' => '(TGG) - Sultan Mahmud Airport, Kuala Terengganu, Malaysia','country_id' => '154'),\narray('id' => '7768','name' => '(PEN) - Penang International Airport, Penang, Malaysia','country_id' => '154'),\narray('id' => '7769','name' => '(PKG) - Pulau Pangkor Airport, Pangkor Island, Malaysia','country_id' => '154'),\narray('id' => '7770','name' => '(RDN) - LTS Pulau Redang Airport, Redang, Malaysia','country_id' => '154'),\narray('id' => '7771','name' => '(SZB) - Sultan Abdul Aziz Shah International Airport, Subang, Malaysia','country_id' => '154'),\narray('id' => '7772','name' => '(DTR) - Decatur Shores Airport, Decatur, United States','country_id' => '228'),\narray('id' => '7773','name' => '(WNU) - Wanuma Airport, Wanuma, Papua New Guinea','country_id' => '172'),\narray('id' => '7774','name' => '(AUT) - Atauro Airport, Atauro, Timor-Leste','country_id' => '216'),\narray('id' => '7775','name' => '(UAI) - Suai Airport, Suai, Timor-Leste','country_id' => '216'),\narray('id' => '7776','name' => '(DIL) - Presidente Nicolau Lobato International Airport, Dili, Timor-Leste','country_id' => '216'),\narray('id' => '7777','name' => '(BCH) - Cakung Airport, Baucau, Timor-Leste','country_id' => '216'),\narray('id' => '7778','name' => '(MPT) - Maliana Airport, Maliana, Timor-Leste','country_id' => '216'),\narray('id' => '7779','name' => '(OEC) - Oecussi Airport, Oecussi-Ambeno, Timor-Leste','country_id' => '216'),\narray('id' => '7780','name' => '(VIQ) - Viqueque Airport, Viqueque, Timor-Leste','country_id' => '216'),\narray('id' => '7781','name' => '(ABU) - Haliwen Airport, Atambua-Timor Island, Indonesia','country_id' => '97'),\narray('id' => '7782','name' => '(BJW) - Pahdameleda Airport, Bajawa-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7783','name' => '(LKA) - Gewayentana Airport, Larantuka-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7784','name' => '(RTI) - David C. Saudale - Rote Airport, Namodale-Rote Island, Indonesia','country_id' => '97'),\narray('id' => '7785','name' => '(SAU) - Sabu-Tardanu Airport, Sabu-Sawu Island, Indonesia','country_id' => '97'),\narray('id' => '7786','name' => '(SGQ) - Sanggata/Sangkimah Airport, Sanggata/Sangkimah, Indonesia','country_id' => '97'),\narray('id' => '7787','name' => '(LBW) - Long Bawan Airport, Long Bawan-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7788','name' => '(BXT) - Bontang Airport, Bontang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7789','name' => '(NNX) - Nunukan Airport, Nunukan-Nunukan Island, Indonesia','country_id' => '97'),\narray('id' => '7790','name' => '(TNB) - Tanah Grogot Airport, Tanah Grogot-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7791','name' => '(LPU) - Long Apung Airport, Long Apung-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7792','name' => '(WSA) - Wasua Airport, Wasua, Papua New Guinea','country_id' => '172'),\narray('id' => '7793','name' => '(QPG) - Paya Lebar Air Base, , Singapore','country_id' => '194'),\narray('id' => '7794','name' => '(TGA) - Tengah Air Base, , Singapore','country_id' => '194'),\narray('id' => '7795','name' => '(WSM) - Wiseman Airport, Wiseman, United States','country_id' => '228'),\narray('id' => '7796','name' => '(XSP) - Seletar Airport, Seletar, Singapore','country_id' => '194'),\narray('id' => '7797','name' => '(SIN) - Singapore Changi Airport, Singapore, Singapore','country_id' => '194'),\narray('id' => '7798','name' => '(WTT) - Wantoat Airport, Wantoat, Papua New Guinea','country_id' => '172'),\narray('id' => '7799','name' => '(WUV) - Wuvulu Island Airport, Wuvulu Island, Papua New Guinea','country_id' => '172'),\narray('id' => '7800','name' => '(GWV) - Glendale Fokker Field, Glendale, United States','country_id' => '228'),\narray('id' => '7801','name' => '(XBN) - Biniguni Airport, Biniguni, Papua New Guinea','country_id' => '172'),\narray('id' => '7802','name' => '(XIG) - Xinguara Municipal Airport, Xinguara, Brazil','country_id' => '29'),\narray('id' => '7803','name' => '(XMA) - Maramag Airport, Maramag, Philippines','country_id' => '173'),\narray('id' => '7804','name' => '(XVL) - Vinh Long Airfield, Vinh Long, Vietnam','country_id' => '236'),\narray('id' => '7805','name' => '(UKN) - Waukon Municipal Airport, Waukon, United States','country_id' => '228'),\narray('id' => '7806','name' => '(ALH) - Albany Airport, Albany, Australia','country_id' => '12'),\narray('id' => '7807','name' => '(ABG) - Abingdon Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7808','name' => '(AWN) - Alton Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7809','name' => '(AUD) - Augustus Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7810','name' => '(MRP) - Marla Airport, , Australia','country_id' => '12'),\narray('id' => '7811','name' => '(AXL) - Alexandria Homestead Airport, , Australia','country_id' => '12'),\narray('id' => '7812','name' => '(AXC) - Aramac Airport, , Australia','country_id' => '12'),\narray('id' => '7813','name' => '(ADO) - Andamooka Airport, , Australia','country_id' => '12'),\narray('id' => '7814','name' => '(AMX) - Ammaroo Airport, , Australia','country_id' => '12'),\narray('id' => '7815','name' => '(AMT) - Amata Airport, , Australia','country_id' => '12'),\narray('id' => '7816','name' => '(WLP) - West Angelas Airport, , Australia','country_id' => '12'),\narray('id' => '7817','name' => '(AYL) - Anthony Lagoon Airport, , Australia','country_id' => '12'),\narray('id' => '7818','name' => '(ABH) - Alpha Airport, Alpha, Australia','country_id' => '12'),\narray('id' => '7819','name' => '(ARY) - Ararat Airport, , Australia','country_id' => '12'),\narray('id' => '7820','name' => '(GYL) - Argyle Airport, , Australia','country_id' => '12'),\narray('id' => '7821','name' => '(ARM) - Armidale Airport, Armidale, Australia','country_id' => '12'),\narray('id' => '7822','name' => '(AAB) - Arrabury Airport, , Australia','country_id' => '12'),\narray('id' => '7823','name' => '(AUU) - Aurukun Airport, Aurukun, Australia','country_id' => '12'),\narray('id' => '7824','name' => '(AWP) - Austral Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7825','name' => '(AVG) - Auvergne Airport, , Australia','country_id' => '12'),\narray('id' => '7826','name' => '(AYQ) - Ayers Rock Connellan Airport, Ayers Rock, Australia','country_id' => '12'),\narray('id' => '7827','name' => '(AYR) - Ayr Airport, , Australia','country_id' => '12'),\narray('id' => '7828','name' => '(ACF) - Brisbane Archerfield Airport, Brisbane, Australia','country_id' => '12'),\narray('id' => '7829','name' => '(ABM) - Northern Peninsula Airport, Bamaga, Australia','country_id' => '12'),\narray('id' => '7830','name' => '(BCI) - Barcaldine Airport, Barcaldine, Australia','country_id' => '12'),\narray('id' => '7831','name' => '(ASP) - Alice Springs Airport, Alice Springs, Australia','country_id' => '12'),\narray('id' => '7832','name' => '(BDD) - Badu Island Airport, , Australia','country_id' => '12'),\narray('id' => '7833','name' => '(BKP) - Barkly Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7834','name' => '(BBE) - Big Bell Airport, Big Bell, Australia','country_id' => '12'),\narray('id' => '7835','name' => '(BNE) - Brisbane International Airport, Brisbane, Australia','country_id' => '12'),\narray('id' => '7836','name' => '(OOL) - Gold Coast Airport, Gold Coast, Australia','country_id' => '12'),\narray('id' => '7837','name' => '(BKQ) - Blackall Airport, Blackall, Australia','country_id' => '12'),\narray('id' => '7838','name' => '(CNS) - Cairns International Airport, Cairns, Australia','country_id' => '12'),\narray('id' => '7839','name' => '(CTL) - Charleville Airport, Charleville, Australia','country_id' => '12'),\narray('id' => '7840','name' => '(BDW) - Bedford Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7841','name' => '(BXG) - Bendigo Airport, , Australia','country_id' => '12'),\narray('id' => '7842','name' => '(BVI) - Birdsville Airport, , Australia','country_id' => '12'),\narray('id' => '7843','name' => '(BXF) - Bellburn Airstrip, Pumululu National Park, Australia','country_id' => '12'),\narray('id' => '7844','name' => '(BTX) - Betoota Airport, , Australia','country_id' => '12'),\narray('id' => '7845','name' => '(BEE) - Beagle Bay Airport, Beagle Bay, Australia','country_id' => '12'),\narray('id' => '7846','name' => '(OCM) - Boolgeeda, , Australia','country_id' => '12'),\narray('id' => '7847','name' => '(BQW) - Balgo Hill Airport, Balgo, Australia','country_id' => '12'),\narray('id' => '7848','name' => '(BHQ) - Broken Hill Airport, Broken Hill, Australia','country_id' => '12'),\narray('id' => '7849','name' => '(HTI) - Hamilton Island Airport, Hamilton Island, Australia','country_id' => '12'),\narray('id' => '7850','name' => '(BEU) - Bedourie Airport, , Australia','country_id' => '12'),\narray('id' => '7851','name' => '(BIW) - Billiluna Airport, , Australia','country_id' => '12'),\narray('id' => '7852','name' => '(BZP) - Bizant Airport, Lakefield National Park, Australia','country_id' => '12'),\narray('id' => '7853','name' => '(BRK) - Bourke Airport, , Australia','country_id' => '12'),\narray('id' => '7854','name' => '(BUC) - Burketown Airport, , Australia','country_id' => '12'),\narray('id' => '7855','name' => '(BLN) - Benalla Airport, , Australia','country_id' => '12'),\narray('id' => '7856','name' => '(LCN) - Balcanoona Airport, , Australia','country_id' => '12'),\narray('id' => '7857','name' => '(BLS) - Bollon Airport, , Australia','country_id' => '12'),\narray('id' => '7858','name' => '(BQB) - Busselton Regional Airport, , Australia','country_id' => '12'),\narray('id' => '7859','name' => '(ISA) - Mount Isa Airport, Mount Isa, Australia','country_id' => '12'),\narray('id' => '7860','name' => '(MCY) - Sunshine Coast Airport, Maroochydore, Australia','country_id' => '12'),\narray('id' => '7861','name' => '(BFC) - Bloomfield River Airport, , Australia','country_id' => '12'),\narray('id' => '7862','name' => '(MKY) - Mackay Airport, Mackay, Australia','country_id' => '12'),\narray('id' => '7863','name' => '(BNK) - Ballina Byron Gateway Airport, Ballina, Australia','country_id' => '12'),\narray('id' => '7864','name' => '(BSJ) - Bairnsdale Airport, , Australia','country_id' => '12'),\narray('id' => '7865','name' => '(GIC) - Boigu Airport, , Australia','country_id' => '12'),\narray('id' => '7866','name' => '(OKY) - Oakey Airport, , Australia','country_id' => '12'),\narray('id' => '7867','name' => '(BQL) - Boulia Airport, , Australia','country_id' => '12'),\narray('id' => '7868','name' => '(BMP) - Brampton Island Airport, , Australia','country_id' => '12'),\narray('id' => '7869','name' => '(PPP) - Proserpine Whitsunday Coast Airport, Proserpine, Australia','country_id' => '12'),\narray('id' => '7870','name' => '(ROK) - Rockhampton Airport, Rockhampton, Australia','country_id' => '12'),\narray('id' => '7871','name' => '(BOX) - Borroloola Airport, , Australia','country_id' => '12'),\narray('id' => '7872','name' => '(BME) - Broome International Airport, Broome, Australia','country_id' => '12'),\narray('id' => '7873','name' => '(BZD) - Balranald Airport, , Australia','country_id' => '12'),\narray('id' => '7874','name' => '(BTD) - Brunette Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7875','name' => '(BWQ) - Brewarrina Airport, , Australia','country_id' => '12'),\narray('id' => '7876','name' => '(BYP) - Barimunya Airport, , Australia','country_id' => '12'),\narray('id' => '7877','name' => '(BHS) - Bathurst Airport, Bathurst, Australia','country_id' => '12'),\narray('id' => '7878','name' => '(BRT) - Bathurst Island Airport, , Australia','country_id' => '12'),\narray('id' => '7879','name' => '(TSV) - Townsville Airport, Townsville, Australia','country_id' => '12'),\narray('id' => '7880','name' => '(BLT) - Blackwater Airport, , Australia','country_id' => '12'),\narray('id' => '7881','name' => '(BVW) - Batavia Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7882','name' => '(BDB) - Bundaberg Airport, Bundaberg, Australia','country_id' => '12'),\narray('id' => '7883','name' => '(BUY) - Bunbury Airport, , Australia','country_id' => '12'),\narray('id' => '7884','name' => '(BIP) - Bulimba Airport, , Australia','country_id' => '12'),\narray('id' => '7885','name' => '(ZBO) - Bowen Airport, , Australia','country_id' => '12'),\narray('id' => '7886','name' => '(WEI) - Weipa Airport, Weipa, Australia','country_id' => '12'),\narray('id' => '7887','name' => '(BCK) - Bolwarra Airport, , Australia','country_id' => '12'),\narray('id' => '7888','name' => '(WTB) - Brisbane West Wellcamp Airport, Wellcamp, Australia','country_id' => '12'),\narray('id' => '7889','name' => '(BWB) - Barrow Island Airport, , Australia','country_id' => '12'),\narray('id' => '7890','name' => '(BVZ) - Beverley Springs Airport, , Australia','country_id' => '12'),\narray('id' => '7891','name' => '(CTR) - Cattle Creek Airport, , Australia','country_id' => '12'),\narray('id' => '7892','name' => '(CGV) - Caiguna Airport, , Australia','country_id' => '12'),\narray('id' => '7893','name' => '(CLH) - Coolah Airport, , Australia','country_id' => '12'),\narray('id' => '7894','name' => '(CVQ) - Carnarvon Airport, Carnarvon, Australia','country_id' => '12'),\narray('id' => '7895','name' => '(CSI) - Casino Airport, , Australia','country_id' => '12'),\narray('id' => '7896','name' => '(CAZ) - Cobar Airport, , Australia','country_id' => '12'),\narray('id' => '7897','name' => '(COJ) - Coonabarabran Airport, , Australia','country_id' => '12'),\narray('id' => '7898','name' => '(CBY) - Canobie Airport, Canobie, Australia','country_id' => '12'),\narray('id' => '7899','name' => '(CBI) - Cape Barren Island Airport, , Australia','country_id' => '12'),\narray('id' => '7900','name' => '(CPD) - Coober Pedy Airport, , Australia','country_id' => '12'),\narray('id' => '7901','name' => '(CRB) - Collarenebri Airport, , Australia','country_id' => '12'),\narray('id' => '7902','name' => '(CCL) - Chinchilla Airport, , Australia','country_id' => '12'),\narray('id' => '7903','name' => '(CNC) - Coconut Island Airport, , Australia','country_id' => '12'),\narray('id' => '7904','name' => '(CNJ) - Cloncurry Airport, Cloncurry, Australia','country_id' => '12'),\narray('id' => '7905','name' => '(CBX) - Condobolin Airport, , Australia','country_id' => '12'),\narray('id' => '7906','name' => '(CUD) - Caloundra Airport, , Australia','country_id' => '12'),\narray('id' => '7907','name' => '(CED) - Ceduna Airport, , Australia','country_id' => '12'),\narray('id' => '7908','name' => '(CVC) - Cleve Airport, , Australia','country_id' => '12'),\narray('id' => '7909','name' => '(CFI) - Camfield Airport, , Australia','country_id' => '12'),\narray('id' => '7910','name' => '(CFH) - Clifton Hills Airport, Clifton Hills, Australia','country_id' => '12'),\narray('id' => '7911','name' => '(CQP) - Cape Flattery Airport, , Australia','country_id' => '12'),\narray('id' => '7912','name' => '(LLG) - Chillagoe Airport, , Australia','country_id' => '12'),\narray('id' => '7913','name' => '(CRH) - Cherrabah Airport, Cherrabah Homestead Resort, Australia','country_id' => '12'),\narray('id' => '7914','name' => '(CKW) - Graeme Rowley Aerodrome, Christmas Creek Mine, Australia','country_id' => '12'),\narray('id' => '7915','name' => '(CXT) - Charters Towers Airport, , Australia','country_id' => '12'),\narray('id' => '7916','name' => '(DCN) - RAAF Base Curtin, , Australia','country_id' => '12'),\narray('id' => '7917','name' => '(CKI) - Croker Island Airport, , Australia','country_id' => '12'),\narray('id' => '7918','name' => '(CTN) - Cooktown Airport, , Australia','country_id' => '12'),\narray('id' => '7919','name' => '(CMQ) - Clermont Airport, , Australia','country_id' => '12'),\narray('id' => '7920','name' => '(CMA) - Cunnamulla Airport, , Australia','country_id' => '12'),\narray('id' => '7921','name' => '(CML) - Camooweal Airport, , Australia','country_id' => '12'),\narray('id' => '7922','name' => '(NIF) - Camp Nifty Airport, , Australia','country_id' => '12'),\narray('id' => '7923','name' => '(CES) - Cessnock Airport, , Australia','country_id' => '12'),\narray('id' => '7924','name' => '(CNB) - Coonamble Airport, , Australia','country_id' => '12'),\narray('id' => '7925','name' => '(ODL) - Cordillo Downs Airport, Cordillo Downs, Australia','country_id' => '12'),\narray('id' => '7926','name' => '(CUQ) - Coen Airport, Coen, Australia','country_id' => '12'),\narray('id' => '7927','name' => '(CIE) - Collie Airport, Collie, Australia','country_id' => '12'),\narray('id' => '7928','name' => '(OOM) - Cooma Snowy Mountains Airport, Cooma, Australia','country_id' => '12'),\narray('id' => '7929','name' => '(CDA) - Cooinda Airport, , Australia','country_id' => '12'),\narray('id' => '7930','name' => '(CWW) - Corowa Airport, , Australia','country_id' => '12'),\narray('id' => '7931','name' => '(CFP) - Carpentaria Downs Airport, Carpentaria Downs, Australia','country_id' => '12'),\narray('id' => '7932','name' => '(CYG) - Corryong Airport, , Australia','country_id' => '12'),\narray('id' => '7933','name' => '(CXQ) - Christmas Creek Station Airport, Christmas Creek, Australia','country_id' => '12'),\narray('id' => '7934','name' => '(CDQ) - Croydon Airport, , Australia','country_id' => '12'),\narray('id' => '7935','name' => '(KCE) - Collinsville Airport, , Australia','country_id' => '12'),\narray('id' => '7936','name' => '(CMD) - Cootamundra Airport, , Australia','country_id' => '12'),\narray('id' => '7937','name' => '(CUG) - Cudal Airport, , Australia','country_id' => '12'),\narray('id' => '7938','name' => '(CUY) - Cue Airport, , Australia','country_id' => '12'),\narray('id' => '7939','name' => '(CJF) - Coondewanna Airport, Coondewanna, Australia','country_id' => '12'),\narray('id' => '7940','name' => '(CWR) - Cowarie Airport, , Australia','country_id' => '12'),\narray('id' => '7941','name' => '(CCW) - Cowell Airport, , Australia','country_id' => '12'),\narray('id' => '7942','name' => '(CWT) - Cowra Airport, , Australia','country_id' => '12'),\narray('id' => '7943','name' => '(COY) - Coolawanyah Airport, Coolawanyah Station, Australia','country_id' => '12'),\narray('id' => '7944','name' => '(DJR) - Dajarra Airport, , Australia','country_id' => '12'),\narray('id' => '7945','name' => '(DBY) - Dalby Airport, , Australia','country_id' => '12'),\narray('id' => '7946','name' => '(DRN) - Dirranbandi Airport, , Australia','country_id' => '12'),\narray('id' => '7947','name' => '(DNB) - Dunbar Airport, , Australia','country_id' => '12'),\narray('id' => '7948','name' => '(DRB) - Derby Airport, , Australia','country_id' => '12'),\narray('id' => '7949','name' => '(DFP) - Drumduff Airport, Drumduff, Australia','country_id' => '12'),\narray('id' => '7950','name' => '(DGD) - Dalgaranga Gold Mine Airport, , Australia','country_id' => '12'),\narray('id' => '7951','name' => '(DNG) - Doongan Airport, , Australia','country_id' => '12'),\narray('id' => '7952','name' => '(DXD) - Dixie Airport, New Dixie, Australia','country_id' => '12'),\narray('id' => '7953','name' => '(DKI) - Dunk Island Airport, Dunk Island, Australia','country_id' => '12'),\narray('id' => '7954','name' => '(DLK) - Dulkaninna Airport, Dulkaninna, Australia','country_id' => '12'),\narray('id' => '7955','name' => '(DNQ) - Deniliquin Airport, Deniliquin, Australia','country_id' => '12'),\narray('id' => '7956','name' => '(DDN) - Delta Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7957','name' => '(DLV) - Delissaville Airport, , Australia','country_id' => '12'),\narray('id' => '7958','name' => '(DYW) - Daly Waters Airport, Daly Waters, Australia','country_id' => '12'),\narray('id' => '7959','name' => '(DMD) - Doomadgee Airport, , Australia','country_id' => '12'),\narray('id' => '7960','name' => '(DVR) - Daly River Airport, , Australia','country_id' => '12'),\narray('id' => '7961','name' => '(NLF) - Darnley Island Airport, Darnley Island, Australia','country_id' => '12'),\narray('id' => '7962','name' => '(DRD) - Dorunda Airport, Dorunda Outstation, Australia','country_id' => '12'),\narray('id' => '7963','name' => '(DVP) - Davenport Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7964','name' => '(DPO) - Devonport Airport, Devonport, Australia','country_id' => '12'),\narray('id' => '7965','name' => '(DOX) - Dongara Airport, , Australia','country_id' => '12'),\narray('id' => '7966','name' => '(DRY) - Drysdale River Airport, , Australia','country_id' => '12'),\narray('id' => '7967','name' => '(DHD) - Durham Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7968','name' => '(DRR) - Durrie Airport, , Australia','country_id' => '12'),\narray('id' => '7969','name' => '(SRR) - Dunwich Airport, Stradbroke Island, Australia','country_id' => '12'),\narray('id' => '7970','name' => '(DKV) - Docker River Airport, , Australia','country_id' => '12'),\narray('id' => '7971','name' => '(DYA) - Dysart Airport, , Australia','country_id' => '12'),\narray('id' => '7972','name' => '(WDA) - Wadi Ain Airport, Wadi Ain, Yemen','country_id' => '241'),\narray('id' => '7973','name' => '(ECH) - Echuca Airport, , Australia','country_id' => '12'),\narray('id' => '7974','name' => '(EUC) - Eucla Airport, , Australia','country_id' => '12'),\narray('id' => '7975','name' => '(ETD) - Etadunna Airport, Etadunna, Australia','country_id' => '12'),\narray('id' => '7976','name' => '(ENB) - Eneabba Airport, Eneabba, Australia','country_id' => '12'),\narray('id' => '7977','name' => '(EIH) - Einasleigh Airport, Einasleigh, Australia','country_id' => '12'),\narray('id' => '7978','name' => '(ELC) - Elcho Island Airport, Elcho Island, Australia','country_id' => '12'),\narray('id' => '7979','name' => '(EKD) - Elkedra Airport, , Australia','country_id' => '12'),\narray('id' => '7980','name' => '(EMD) - Emerald Airport, Emerald, Australia','country_id' => '12'),\narray('id' => '7981','name' => '(YEQ) - Yenkis(Yankisa) Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '7982','name' => '(EDD) - Erldunda Airport, , Australia','country_id' => '12'),\narray('id' => '7983','name' => '(ERB) - Ernabella Airport, , Australia','country_id' => '12'),\narray('id' => '7984','name' => '(ERQ) - Elrose Airport, Elrose Mine, Australia','country_id' => '12'),\narray('id' => '7985','name' => '(EPR) - Esperance Airport, Esperance, Australia','country_id' => '12'),\narray('id' => '7986','name' => '(EVD) - Eva Downs Airport, Eva Downs, Australia','country_id' => '12'),\narray('id' => '7987','name' => '(EVH) - Evans Head Aerodrome, , Australia','country_id' => '12'),\narray('id' => '7988','name' => '(EXM) - Exmouth Airport, , Australia','country_id' => '12'),\narray('id' => '7989','name' => '(FRB) - Forbes Airport, Forbes,, Australia','country_id' => '12'),\narray('id' => '7990','name' => '(KFE) - Fortescue - Dave Forrest Aerodrome, Cloudbreak Village, Australia','country_id' => '12'),\narray('id' => '7991','name' => '(FLY) - Finley Airport, , Australia','country_id' => '12'),\narray('id' => '7992','name' => '(FLS) - Flinders Island Airport, Flinders Island, Australia','country_id' => '12'),\narray('id' => '7993','name' => '(FVL) - Flora Valley Airport, , Australia','country_id' => '12'),\narray('id' => '7994','name' => '(FIK) - Finke Airport, Finke, Australia','country_id' => '12'),\narray('id' => '7995','name' => '(FOS) - Forrest Airport, , Australia','country_id' => '12'),\narray('id' => '7996','name' => '(FVR) - Oombulgurri Airport, Forrest River Mission, Australia','country_id' => '12'),\narray('id' => '7997','name' => '(FOT) - Forster (Wallis Is) Airport, , Australia','country_id' => '12'),\narray('id' => '7998','name' => '(FIZ) - Fitzroy Crossing Airport, , Australia','country_id' => '12'),\narray('id' => '7999','name' => '(GBP) - Gamboola Airport, , Australia','country_id' => '12'),\narray('id' => '8000','name' => '(GAH) - Gayndah Airport, , Australia','country_id' => '12'),\narray('id' => '8001','name' => '(GBL) - South Goulburn Is Airport, , Australia','country_id' => '12'),\narray('id' => '8002','name' => '(GUH) - Gunnedah Airport, , Australia','country_id' => '12'),\narray('id' => '8003','name' => '(GOO) - Goondiwindi Airport, , Australia','country_id' => '12'),\narray('id' => '8004','name' => '(GDD) - Gordon Downs Airport, Gordon Downs, Australia','country_id' => '12'),\narray('id' => '8005','name' => '(GGD) - Gregory Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8006','name' => '(GTS) - Granite Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8007','name' => '(GET) - Geraldton Airport, Geraldton, Australia','country_id' => '12'),\narray('id' => '8008','name' => '(GFN) - Grafton Airport, , Australia','country_id' => '12'),\narray('id' => '8009','name' => '(GBV) - Gibb River Airport, , Australia','country_id' => '12'),\narray('id' => '8010','name' => '(GKL) - Great Keppel Is Airport, Great Keppel Island, Australia','country_id' => '12'),\narray('id' => '8011','name' => '(GLT) - Gladstone Airport, Gladstone, Australia','country_id' => '12'),\narray('id' => '8012','name' => '(GUL) - Goulburn Airport, , Australia','country_id' => '12'),\narray('id' => '8013','name' => '(GLG) - Glengyle Airport, , Australia','country_id' => '12'),\narray('id' => '8014','name' => '(GEX) - Geelong Airport, , Australia','country_id' => '12'),\narray('id' => '8015','name' => '(GLI) - Glen Innes Airport, , Australia','country_id' => '12'),\narray('id' => '8016','name' => '(GLM) - Glenormiston Airport, , Australia','country_id' => '12'),\narray('id' => '8017','name' => '(GFE) - Grenfell Airport, Grenfell, Australia','country_id' => '12'),\narray('id' => '8018','name' => '(GVP) - Greenvale Airport, , Australia','country_id' => '12'),\narray('id' => '8019','name' => '(GPD) - Mount Gordon Airport, Mount Gordon Mine, Australia','country_id' => '12'),\narray('id' => '8020','name' => '(GPN) - Garden Point Airport, , Australia','country_id' => '12'),\narray('id' => '8021','name' => '(GSC) - Gascoyne Junction Airport, Gascoyne Junction, Australia','country_id' => '12'),\narray('id' => '8022','name' => '(GTE) - Groote Eylandt Airport, Groote Eylandt, Australia','country_id' => '12'),\narray('id' => '8023','name' => '(GFF) - Griffith Airport, Griffith, Australia','country_id' => '12'),\narray('id' => '8024','name' => '(GTT) - Georgetown Airport, , Australia','country_id' => '12'),\narray('id' => '8025','name' => '(GEE) - Georgetown (Tas) Airport, , Australia','country_id' => '12'),\narray('id' => '8026','name' => '(GYP) - Gympie Airport, , Australia','country_id' => '12'),\narray('id' => '8027','name' => '(HWK) - Wilpena Pound Airport, Hawker, Australia','country_id' => '12'),\narray('id' => '8028','name' => '(HXX) - Hay Airport, , Australia','country_id' => '12'),\narray('id' => '8029','name' => '(HVB) - Hervey Bay Airport, Hervey Bay, Australia','country_id' => '12'),\narray('id' => '8030','name' => '(HUB) - Humbert River Airport, , Australia','country_id' => '12'),\narray('id' => '8031','name' => '(HRY) - Henbury Airport, , Australia','country_id' => '12'),\narray('id' => '8032','name' => '(HIP) - Headingly Airport, , Australia','country_id' => '12'),\narray('id' => '8033','name' => '(HIG) - Highbury Airport, , Australia','country_id' => '12'),\narray('id' => '8034','name' => '(HID) - Horn Island Airport, Horn Island, Australia','country_id' => '12'),\narray('id' => '8035','name' => '(HLL) - Hillside Airport, Hillside, Australia','country_id' => '12'),\narray('id' => '8036','name' => '(HCQ) - Halls Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8037','name' => '(HMG) - Hermannsburg Airport, , Australia','country_id' => '12'),\narray('id' => '8038','name' => '(HLT) - Hamilton Airport, , Australia','country_id' => '12'),\narray('id' => '8039','name' => '(HOK) - Hooker Creek Airport, Lajamanu, Australia','country_id' => '12'),\narray('id' => '8040','name' => '(MHU) - Mount Hotham Airport, Mount Hotham, Australia','country_id' => '12'),\narray('id' => '8041','name' => '(HTU) - Hopetoun Airport, , Australia','country_id' => '12'),\narray('id' => '8042','name' => '(HPE) - Hope Vale Airport, Hope Vale, Australia','country_id' => '12'),\narray('id' => '8043','name' => '(HSM) - Horsham Airport, , Australia','country_id' => '12'),\narray('id' => '8044','name' => '(HAT) - Heathlands Airport, , Australia','country_id' => '12'),\narray('id' => '8045','name' => '(HGD) - Hughenden Airport, , Australia','country_id' => '12'),\narray('id' => '8046','name' => '(IDK) - Indulkana Airport, , Australia','country_id' => '12'),\narray('id' => '8047','name' => '(IFL) - Innisfail Airport, , Australia','country_id' => '12'),\narray('id' => '8048','name' => '(IFF) - Iffley Airport, , Australia','country_id' => '12'),\narray('id' => '8049','name' => '(IGH) - Ingham Airport, , Australia','country_id' => '12'),\narray('id' => '8050','name' => '(IKP) - Inkerman Airport, , Australia','country_id' => '12'),\narray('id' => '8051','name' => '(INJ) - Injune Airport, Injune, Australia','country_id' => '12'),\narray('id' => '8052','name' => '(INM) - Innamincka Airport, , Australia','country_id' => '12'),\narray('id' => '8053','name' => '(IVW) - Inverway Airport, Inverway, Australia','country_id' => '12'),\narray('id' => '8054','name' => '(ISI) - Isisford Airport, , Australia','country_id' => '12'),\narray('id' => '8055','name' => '(IVR) - Inverell Airport, Inverell, Australia','country_id' => '12'),\narray('id' => '8056','name' => '(JAB) - Jabiru Airport, , Australia','country_id' => '12'),\narray('id' => '8057','name' => '(JUN) - Jundah Airport, , Australia','country_id' => '12'),\narray('id' => '8058','name' => '(QJD) - Jindabyne Airport, , Australia','country_id' => '12'),\narray('id' => '8059','name' => '(JCK) - Julia Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8060','name' => '(JUR) - Jurien Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8061','name' => '(UBU) - Kalumburu Airport, , Australia','country_id' => '12'),\narray('id' => '8062','name' => '(KDB) - Kambalda Airport, Kambalda, Australia','country_id' => '12'),\narray('id' => '8063','name' => '(KAX) - Kalbarri Airport, Kalbarri, Australia','country_id' => '12'),\narray('id' => '8064','name' => '(KBY) - Streaky Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8065','name' => '(KBJ) - Kings Canyon Airport, Kings Canyon Resort, Australia','country_id' => '12'),\narray('id' => '8066','name' => '(KCS) - Kings Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8067','name' => '(KRA) - Kerang Airport, , Australia','country_id' => '12'),\narray('id' => '8068','name' => '(KNS) - King Island Airport, , Australia','country_id' => '12'),\narray('id' => '8069','name' => '(KBB) - Kirkimbie Station Airport, Kirkimbie, Australia','country_id' => '12'),\narray('id' => '8070','name' => '(KFG) - Kalkgurung Airport, , Australia','country_id' => '12'),\narray('id' => '8071','name' => '(KOH) - Koolatah Airport, , Australia','country_id' => '12'),\narray('id' => '8072','name' => '(KKP) - Koolburra Airport, Koolburra, Australia','country_id' => '12'),\narray('id' => '8073','name' => '(KRB) - Karumba Airport, , Australia','country_id' => '12'),\narray('id' => '8074','name' => '(KML) - Kamileroi Airport, , Australia','country_id' => '12'),\narray('id' => '8075','name' => '(KPS) - Kempsey Airport, , Australia','country_id' => '12'),\narray('id' => '8076','name' => '(KNI) - Katanning Airport, , Australia','country_id' => '12'),\narray('id' => '8077','name' => '(KWM) - Kowanyama Airport, Kowanyama, Australia','country_id' => '12'),\narray('id' => '8078','name' => '(KPP) - Kalpowar Airport, Kalpower, Australia','country_id' => '12'),\narray('id' => '8079','name' => '(KGY) - Kingaroy Airport, , Australia','country_id' => '12'),\narray('id' => '8080','name' => '(KGC) - Kingscote Airport, , Australia','country_id' => '12'),\narray('id' => '8081','name' => '(KUG) - Kubin Airport, Moa Island, Australia','country_id' => '12'),\narray('id' => '8082','name' => '(KRD) - Kurundi Airport, Kurundi Station, Australia','country_id' => '12'),\narray('id' => '8083','name' => '(LWH) - Lawn Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8084','name' => '(LGH) - Leigh Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8085','name' => '(LNO) - Leonora Airport, Leonora, Australia','country_id' => '12'),\narray('id' => '8086','name' => '(LEL) - Lake Evella Airport, , Australia','country_id' => '12'),\narray('id' => '8087','name' => '(LFP) - Lakefield Airport, Lakefield, Australia','country_id' => '12'),\narray('id' => '8088','name' => '(LDH) - Lord Howe Island Airport, Lord Howe Island, Australia','country_id' => '12'),\narray('id' => '8089','name' => '(IRG) - Lockhart River Airport, Lockhart River, Australia','country_id' => '12'),\narray('id' => '8090','name' => '(LTP) - Lyndhurst Airport, Lyndhurst, Australia','country_id' => '12'),\narray('id' => '8091','name' => '(LIB) - Limbunya Airport, Limbunya, Australia','country_id' => '12'),\narray('id' => '8092','name' => '(LDC) - Lindeman Island Airport, Lindeman Island, Australia','country_id' => '12'),\narray('id' => '8093','name' => '(LSY) - Lismore Airport, Lismore, Australia','country_id' => '12'),\narray('id' => '8094','name' => '(LNH) - Lake Nash Airport, Alpurrurulam, Australia','country_id' => '12'),\narray('id' => '8095','name' => '(BBL) - Ballera Airport, , Australia','country_id' => '12'),\narray('id' => '8096','name' => '(LKD) - Lakeland Airport, Lakeland Downs, Australia','country_id' => '12'),\narray('id' => '8097','name' => '(LOC) - Lock Airport, Lock, Australia','country_id' => '12'),\narray('id' => '8098','name' => '(LOA) - Lorraine Airport, , Australia','country_id' => '12'),\narray('id' => '8099','name' => '(LTV) - Lotus Vale Airport, Lotus Vale, Australia','country_id' => '12'),\narray('id' => '8100','name' => '(YLP) - Mingan Airport, Mingan, Canada','country_id' => '35'),\narray('id' => '8101','name' => '(LUU) - Laura Airport, , Australia','country_id' => '12'),\narray('id' => '8102','name' => '(LHG) - Lightning Ridge Airport, , Australia','country_id' => '12'),\narray('id' => '8103','name' => '(LRE) - Longreach Airport, Longreach, Australia','country_id' => '12'),\narray('id' => '8104','name' => '(LUT) - New Laura Airport, , Australia','country_id' => '12'),\narray('id' => '8105','name' => '(LER) - Leinster Airport, , Australia','country_id' => '12'),\narray('id' => '8106','name' => '(LVO) - Laverton Airport, , Australia','country_id' => '12'),\narray('id' => '8107','name' => '(TGN) - Latrobe Valley Airport, Morwell, Australia','country_id' => '12'),\narray('id' => '8108','name' => '(LZR) - Lizard Island Airport, , Australia','country_id' => '12'),\narray('id' => '8109','name' => '(UBB) - Mabuiag Island Airport, Mabuiag Island, Australia','country_id' => '12'),\narray('id' => '8110','name' => '(AVV) - Avalon Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8111','name' => '(ABX) - Albury Airport, Albury, Australia','country_id' => '12'),\narray('id' => '8112','name' => '(MRG) - Mareeba Airport, , Australia','country_id' => '12'),\narray('id' => '8113','name' => '(MBB) - Marble Bar Airport, , Australia','country_id' => '12'),\narray('id' => '8114','name' => '(XMC) - Mallacoota Airport, , Australia','country_id' => '12'),\narray('id' => '8115','name' => '(MFP) - Manners Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8116','name' => '(MLR) - Millicent Airport, , Australia','country_id' => '12'),\narray('id' => '8117','name' => '(DGE) - Mudgee Airport, Mudgee, Australia','country_id' => '12'),\narray('id' => '8118','name' => '(MQA) - Mandora Airport, Mandora, Australia','country_id' => '12'),\narray('id' => '8119','name' => '(MNW) - Macdonald Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8120','name' => '(MKR) - Meekatharra Airport, , Australia','country_id' => '12'),\narray('id' => '8121','name' => '(MEB) - Melbourne Essendon Airport, , Australia','country_id' => '12'),\narray('id' => '8122','name' => '(MIM) - Merimbula Airport, Merimbula, Australia','country_id' => '12'),\narray('id' => '8123','name' => '(MLV) - Merluna Airport, Merluna, Australia','country_id' => '12'),\narray('id' => '8124','name' => '(MGT) - Milingimbi Airport, Milingimbi Island, Australia','country_id' => '12'),\narray('id' => '8125','name' => '(MNG) - Maningrida Airport, Maningrida, Australia','country_id' => '12'),\narray('id' => '8126','name' => '(GSN) - Mount Gunson Airport, Mount Gunson, Australia','country_id' => '12'),\narray('id' => '8127','name' => '(MGV) - Margaret River (Station) Airport, , Australia','country_id' => '12'),\narray('id' => '8128','name' => '(MQZ) - Margaret River Airport, , Australia','country_id' => '12'),\narray('id' => '8129','name' => '(MVU) - Musgrave Airport, Musgrave, Australia','country_id' => '12'),\narray('id' => '8130','name' => '(HBA) - Hobart International Airport, Hobart, Australia','country_id' => '12'),\narray('id' => '8131','name' => '(MHO) - Mount House Airport, , Australia','country_id' => '12'),\narray('id' => '8132','name' => '(MCV) - McArthur River Mine Airport, McArthur River Mine, Australia','country_id' => '12'),\narray('id' => '8133','name' => '(MQL) - Mildura Airport, Mildura, Australia','country_id' => '12'),\narray('id' => '8134','name' => '(XML) - Minlaton Airport, , Australia','country_id' => '12'),\narray('id' => '8135','name' => '(MIH) - Mitchell Plateau Airport, Mitchell Plateau, Australia','country_id' => '12'),\narray('id' => '8136','name' => '(MTQ) - Mitchell Airport, , Australia','country_id' => '12'),\narray('id' => '8137','name' => '(MJP) - Manjimup Airport, , Australia','country_id' => '12'),\narray('id' => '8138','name' => '(WLE) - Miles Airport, , Australia','country_id' => '12'),\narray('id' => '8139','name' => '(LST) - Launceston Airport, Launceston, Australia','country_id' => '12'),\narray('id' => '8140','name' => '(MBW) - Melbourne Moorabbin Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8141','name' => '(MEL) - Melbourne International Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8142','name' => '(MMM) - Middlemount Airport, , Australia','country_id' => '12'),\narray('id' => '8143','name' => '(MTL) - Maitland Airport, , Australia','country_id' => '12'),\narray('id' => '8144','name' => '(WME) - Mount Keith Airport, , Australia','country_id' => '12'),\narray('id' => '8145','name' => '(ONR) - Monkira Airport, , Australia','country_id' => '12'),\narray('id' => '8146','name' => '(OXY) - Morney Airport, , Australia','country_id' => '12'),\narray('id' => '8147','name' => '(MMG) - Mount Magnet Airport, , Australia','country_id' => '12'),\narray('id' => '8148','name' => '(OOR) - Mooraberree Airport, , Australia','country_id' => '12'),\narray('id' => '8149','name' => '(MRZ) - Moree Airport, Moree, Australia','country_id' => '12'),\narray('id' => '8150','name' => '(MET) - Moreton Airport, Moreton, Australia','country_id' => '12'),\narray('id' => '8151','name' => '(MIN) - Minnipa Airport, , Australia','country_id' => '12'),\narray('id' => '8152','name' => '(MQE) - Marqua Airport, Marqua, Australia','country_id' => '12'),\narray('id' => '8153','name' => '(MOV) - Moranbah Airport, Moranbah, Australia','country_id' => '12'),\narray('id' => '8154','name' => '(RRE) - Marree Airport, , Australia','country_id' => '12'),\narray('id' => '8155','name' => '(MWB) - Morawa Airport, , Australia','country_id' => '12'),\narray('id' => '8156','name' => '(MYA) - Moruya Airport, Moruya, Australia','country_id' => '12'),\narray('id' => '8157','name' => '(MTD) - Mount Sanford Station Airport, , Australia','country_id' => '12'),\narray('id' => '8158','name' => '(MIY) - Mittebah Airport, , Australia','country_id' => '12'),\narray('id' => '8159','name' => '(UTB) - Muttaburra Airport, , Australia','country_id' => '12'),\narray('id' => '8160','name' => '(MGB) - Mount Gambier Airport, , Australia','country_id' => '12'),\narray('id' => '8161','name' => '(ONG) - Mornington Island Airport, , Australia','country_id' => '12'),\narray('id' => '8162','name' => '(MNQ) - Monto Airport, , Australia','country_id' => '12'),\narray('id' => '8163','name' => '(MUQ) - Muccan Station Airport, Muccan Station, Australia','country_id' => '12'),\narray('id' => '8164','name' => '(MNE) - Mungeranie Airport, Mungeranie, Australia','country_id' => '12'),\narray('id' => '8165','name' => '(MYI) - Murray Island Airport, Murray Island, Australia','country_id' => '12'),\narray('id' => '8166','name' => '(MVK) - Mulka Airport, Mulka, Australia','country_id' => '12'),\narray('id' => '8167','name' => '(MUP) - Mulga Park Airport, , Australia','country_id' => '12'),\narray('id' => '8168','name' => '(MKV) - Mount Cavenagh Airport, , Australia','country_id' => '12'),\narray('id' => '8169','name' => '(MXU) - Mullewa Airport, , Australia','country_id' => '12'),\narray('id' => '8170','name' => '(MWT) - Moolawatana Airport, Moolawatana Station, Australia','country_id' => '12'),\narray('id' => '8171','name' => '(MXD) - Marion Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8172','name' => '(MBH) - Maryborough Airport, , Australia','country_id' => '12'),\narray('id' => '8173','name' => '(RTY) - Merty Merty Airport, , Australia','country_id' => '12'),\narray('id' => '8174','name' => '(NMR) - Nappa Merrie Airport, , Australia','country_id' => '12'),\narray('id' => '8175','name' => '(NRA) - Narrandera Airport, Narrandera, Australia','country_id' => '12'),\narray('id' => '8176','name' => '(NAA) - Narrabri Airport, Narrabri, Australia','country_id' => '12'),\narray('id' => '8177','name' => '(RPM) - Ngukurr Airport, , Australia','country_id' => '12'),\narray('id' => '8178','name' => '(NBH) - Nambucca Heads Airport, Nambucca Heads, Australia','country_id' => '12'),\narray('id' => '8179','name' => '(NLS) - Nicholson Airport, , Australia','country_id' => '12'),\narray('id' => '8180','name' => '(NKB) - Noonkanbah Airport, , Australia','country_id' => '12'),\narray('id' => '8181','name' => '(NMP) - New Moon Airport, Basalt, Australia','country_id' => '12'),\narray('id' => '8182','name' => '(NPP) - Napperby Airport, Napperby, Australia','country_id' => '12'),\narray('id' => '8183','name' => '(NAC) - Naracoorte Airport, , Australia','country_id' => '12'),\narray('id' => '8184','name' => '(NRG) - Narrogin Airport, Narrogin, Australia','country_id' => '12'),\narray('id' => '8185','name' => '(QRM) - Narromine Airport, , Australia','country_id' => '12'),\narray('id' => '8186','name' => '(RVT) - Ravensthorpe Airport, , Australia','country_id' => '12'),\narray('id' => '8187','name' => '(NSV) - Noosa Airport, , Australia','country_id' => '12'),\narray('id' => '8188','name' => '(NSM) - Norseman Airport, , Australia','country_id' => '12'),\narray('id' => '8189','name' => '(NTN) - Normanton Airport, Normanton, Australia','country_id' => '12'),\narray('id' => '8190','name' => '(NUR) - Nullabor Motel Airport, , Australia','country_id' => '12'),\narray('id' => '8191','name' => '(NLL) - Nullagine Airport, , Australia','country_id' => '12'),\narray('id' => '8192','name' => '(NUB) - Numbulwar Airport, , Australia','country_id' => '12'),\narray('id' => '8193','name' => '(UTD) - Nutwood Downs Airport, Nutwood Downs, Australia','country_id' => '12'),\narray('id' => '8194','name' => '(ZNE) - Newman Airport, Newman, Australia','country_id' => '12'),\narray('id' => '8195','name' => '(NYN) - Nyngan Airport, , Australia','country_id' => '12'),\narray('id' => '8196','name' => '(OPI) - Oenpelli Airport, , Australia','country_id' => '12'),\narray('id' => '8197','name' => '(YOI) - Opinaca Aerodrome, AlAonore Mine, Canada','country_id' => '35'),\narray('id' => '8198','name' => '(XCO) - Colac Airport, , Australia','country_id' => '12'),\narray('id' => '8199','name' => '(OLP) - Olympic Dam Airport, Olympic Dam, Australia','country_id' => '12'),\narray('id' => '8200','name' => '(ONS) - Onslow Airport, , Australia','country_id' => '12'),\narray('id' => '8201','name' => '(ODD) - Oodnadatta Airport, , Australia','country_id' => '12'),\narray('id' => '8202','name' => '(MOO) - Moomba Airport, , Australia','country_id' => '12'),\narray('id' => '8203','name' => '(RBS) - Orbost Airport, , Australia','country_id' => '12'),\narray('id' => '8204','name' => '(OAG) - Orange Airport, Orange, Australia','country_id' => '12'),\narray('id' => '8205','name' => '(ODR) - Ord River Airport, Ord River, Australia','country_id' => '12'),\narray('id' => '8206','name' => '(OSO) - Osborne Mine Airport, , Australia','country_id' => '12'),\narray('id' => '8207','name' => '(OYN) - Ouyen Airport, , Australia','country_id' => '12'),\narray('id' => '8208','name' => '(ADL) - Adelaide International Airport, Adelaide, Australia','country_id' => '12'),\narray('id' => '8209','name' => '(PUG) - Port Augusta Airport, , Australia','country_id' => '12'),\narray('id' => '8210','name' => '(PMK) - Palm Island Airport, , Australia','country_id' => '12'),\narray('id' => '8211','name' => '(PBO) - Paraburdoo Airport, Paraburdoo, Australia','country_id' => '12'),\narray('id' => '8212','name' => '(CCK) - Cocos (Keeling) Islands Airport, Cocos (Keeling) Islands, Cocos (Keeling) Islands','country_id' => '36'),\narray('id' => '8213','name' => '(PDN) - Parndana Airport, Kangaroo Island, Australia','country_id' => '12'),\narray('id' => '8214','name' => '(PDE) - Pandie Pandie Airport, , Australia','country_id' => '12'),\narray('id' => '8215','name' => '(DRW) - Darwin International Airport, Darwin, Australia','country_id' => '12'),\narray('id' => '8216','name' => '(PRD) - Pardoo Airport, Pardoo, Australia','country_id' => '12'),\narray('id' => '8217','name' => '(BEO) - Lake Macquarie Airport, , Australia','country_id' => '12'),\narray('id' => '8218','name' => '(GOV) - Gove Airport, Nhulunbuy, Australia','country_id' => '12'),\narray('id' => '8219','name' => '(PPI) - Port Pirie Airport, , Australia','country_id' => '12'),\narray('id' => '8220','name' => '(JAD) - Perth Jandakot Airport, Perth, Australia','country_id' => '12'),\narray('id' => '8221','name' => '(KTA) - Karratha Airport, Karratha, Australia','country_id' => '12'),\narray('id' => '8222','name' => '(KGI) - Kalgoorlie Boulder Airport, Kalgoorlie, Australia','country_id' => '12'),\narray('id' => '8223','name' => '(PKE) - Parkes Airport, Parkes, Australia','country_id' => '12'),\narray('id' => '8224','name' => '(PKT) - Port Keats Airport, , Australia','country_id' => '12'),\narray('id' => '8225','name' => '(KNX) - Kununurra Airport, Kununurra, Australia','country_id' => '12'),\narray('id' => '8226','name' => '(PLO) - Port Lincoln Airport, Port Lincoln, Australia','country_id' => '12'),\narray('id' => '8227','name' => '(LEA) - Learmonth Airport, Exmouth, Australia','country_id' => '12'),\narray('id' => '8228','name' => '(PXH) - Prominent Hill Airport, OZ Minerals Prominent Hill Mine, Australia','country_id' => '12'),\narray('id' => '8229','name' => '(EDR) - Pormpuraaw Airport, Pormpuraaw, Australia','country_id' => '12'),\narray('id' => '8230','name' => '(PQQ) - Port Macquarie Airport, Port Macquarie, Australia','country_id' => '12'),\narray('id' => '8231','name' => '(PEY) - Penong Airport, Penong, Australia','country_id' => '12'),\narray('id' => '8232','name' => '(PTJ) - Portland Airport, , Australia','country_id' => '12'),\narray('id' => '8233','name' => '(PHE) - Port Hedland International Airport, Port Hedland, Australia','country_id' => '12'),\narray('id' => '8234','name' => '(PER) - Perth International Airport, Perth, Australia','country_id' => '12'),\narray('id' => '8235','name' => '(PEA) - Penneshaw Airport, Ironstone, Australia','country_id' => '12'),\narray('id' => '8236','name' => '(KTR) - Tindal Airport, , Australia','country_id' => '12'),\narray('id' => '8237','name' => '(UMR) - Woomera Airfield, Woomera, Australia','country_id' => '12'),\narray('id' => '8238','name' => '(XCH) - Christmas Island Airport, Christmas Island, Christmas Island','country_id' => '51'),\narray('id' => '8239','name' => '(UIR) - Quirindi Airport, , Australia','country_id' => '12'),\narray('id' => '8240','name' => '(ULP) - Quilpie Airport, , Australia','country_id' => '12'),\narray('id' => '8241','name' => '(UEE) - Queenstown Airport, , Australia','country_id' => '12'),\narray('id' => '8242','name' => '(RRV) - Robinson River Airport, , Australia','country_id' => '12'),\narray('id' => '8243','name' => '(YRD) - Dean River Airport, Kimsquit Valley, Canada','country_id' => '35'),\narray('id' => '8244','name' => '(RMK) - Renmark Airport, , Australia','country_id' => '12'),\narray('id' => '8245','name' => '(RCM) - Richmond Airport, , Australia','country_id' => '12'),\narray('id' => '8246','name' => '(RAM) - Ramingining Airport, , Australia','country_id' => '12'),\narray('id' => '8247','name' => '(ROH) - Robinhood Airport, , Australia','country_id' => '12'),\narray('id' => '8248','name' => '(RBU) - Roebourne Airport, Roebourne, Australia','country_id' => '12'),\narray('id' => '8249','name' => '(RBC) - Robinvale Airport, , Australia','country_id' => '12'),\narray('id' => '8250','name' => '(RMA) - Roma Airport, Roma, Australia','country_id' => '12'),\narray('id' => '8251','name' => '(RPB) - Roper Bar Airport, Roper Bar, Australia','country_id' => '12'),\narray('id' => '8252','name' => '(RSB) - Roseberth Airport, , Australia','country_id' => '12'),\narray('id' => '8253','name' => '(RTS) - Rottnest Island Airport, , Australia','country_id' => '12'),\narray('id' => '8254','name' => '(RTP) - Rutland Plains Airport, , Australia','country_id' => '12'),\narray('id' => '8255','name' => '(RHL) - Roy Hill Station Airport, , Australia','country_id' => '12'),\narray('id' => '8256','name' => '(NDS) - Sandstone Airport, Sandstone, Australia','country_id' => '12'),\narray('id' => '8257','name' => '(BWU) - Sydney Bankstown Airport, Sydney, Australia','country_id' => '12'),\narray('id' => '8258','name' => '(CBR) - Canberra International Airport, Canberra, Australia','country_id' => '12'),\narray('id' => '8259','name' => '(CFS) - Coffs Harbour Airport, Coffs Harbour, Australia','country_id' => '12'),\narray('id' => '8260','name' => '(CDU) - Camden Airport, , Australia','country_id' => '12'),\narray('id' => '8261','name' => '(NSO) - Scone Airport, , Australia','country_id' => '12'),\narray('id' => '8262','name' => '(SQC) - Southern Cross Airport, , Australia','country_id' => '12'),\narray('id' => '8263','name' => '(DBO) - Dubbo City Regional Airport, Dubbo, Australia','country_id' => '12'),\narray('id' => '8264','name' => '(SGO) - St George Airport, , Australia','country_id' => '12'),\narray('id' => '8265','name' => '(SIX) - Singleton Airport, Singleton, Australia','country_id' => '12'),\narray('id' => '8266','name' => '(ZGL) - South Galway Airport, , Australia','country_id' => '12'),\narray('id' => '8267','name' => '(SGP) - Shay Gap Airport, Shay Gap, Australia','country_id' => '12'),\narray('id' => '8268','name' => '(MJK) - Shark Bay Airport, Denham, Australia','country_id' => '12'),\narray('id' => '8269','name' => '(JHQ) - Shute Harbour Airport, , Australia','country_id' => '12'),\narray('id' => '8270','name' => '(SHT) - Shepparton Airport, , Australia','country_id' => '12'),\narray('id' => '8271','name' => '(SBR) - Saibai Island Airport, Saibai Island, Australia','country_id' => '12'),\narray('id' => '8272','name' => '(SIO) - Smithton Airport, , Australia','country_id' => '12'),\narray('id' => '8273','name' => '(SHU) - Smith Point Airport, , Australia','country_id' => '12'),\narray('id' => '8274','name' => '(STH) - Strathmore Airport, , Australia','country_id' => '12'),\narray('id' => '8275','name' => '(SNB) - Snake Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8276','name' => '(NLK) - Norfolk Island International Airport, Burnt Pine, Norfolk Island','country_id' => '159'),\narray('id' => '8277','name' => '(NOA) - Nowra Airport, , Australia','country_id' => '12'),\narray('id' => '8278','name' => '(SNH) - Stanthorpe Airport, , Australia','country_id' => '12'),\narray('id' => '8279','name' => '(SCG) - Spring Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8280','name' => '(SHQ) - Southport Airport, , Australia','country_id' => '12'),\narray('id' => '8281','name' => '(KSV) - Springvale Airport, , Australia','country_id' => '12'),\narray('id' => '8282','name' => '(XRH) - RAAF Base Richmond, Richmond, Australia','country_id' => '12'),\narray('id' => '8283','name' => '(SRN) - Strahan Airport, , Australia','country_id' => '12'),\narray('id' => '8284','name' => '(SYD) - Sydney Kingsford Smith International Airport, Sydney, Australia','country_id' => '12'),\narray('id' => '8285','name' => '(HLS) - St Helens Airport, , Australia','country_id' => '12'),\narray('id' => '8286','name' => '(TMW) - Tamworth Airport, Tamworth, Australia','country_id' => '12'),\narray('id' => '8287','name' => '(SSP) - Silver Plains Airport, Silver Plains, Australia','country_id' => '12'),\narray('id' => '8288','name' => '(WGA) - Wagga Wagga City Airport, Wagga Wagga, Australia','country_id' => '12'),\narray('id' => '8289','name' => '(SWH) - Swan Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8290','name' => '(SWC) - Stawell Airport, , Australia','country_id' => '12'),\narray('id' => '8291','name' => '(XTR) - Tara Airport, , Australia','country_id' => '12'),\narray('id' => '8292','name' => '(TBL) - Tableland Homestead Airport, , Australia','country_id' => '12'),\narray('id' => '8293','name' => '(XTO) - Taroom Airport, , Australia','country_id' => '12'),\narray('id' => '8294','name' => '(TAQ) - Tarcoola Airport, Tarcoola, Australia','country_id' => '12'),\narray('id' => '8295','name' => '(PYX) - Pattaya Airpark, Pattaya, Thailand','country_id' => '213'),\narray('id' => '8296','name' => '(TBK) - Timber Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8297','name' => '(TDR) - Theodore Airport, , Australia','country_id' => '12'),\narray('id' => '8298','name' => '(TQP) - Trepell Airport, Trepell, Australia','country_id' => '12'),\narray('id' => '8299','name' => '(TEF) - Telfer Airport, , Australia','country_id' => '12'),\narray('id' => '8300','name' => '(TEM) - Temora Airport, , Australia','country_id' => '12'),\narray('id' => '8301','name' => '(TAN) - Tangalooma Airport, , Australia','country_id' => '12'),\narray('id' => '8302','name' => '(XTG) - Thargomindah Airport, , Australia','country_id' => '12'),\narray('id' => '8303','name' => '(TDN) - Theda Station Airport, Theda Station, Australia','country_id' => '12'),\narray('id' => '8304','name' => '(TYG) - Thylungra Airport, , Australia','country_id' => '12'),\narray('id' => '8305','name' => '(TYB) - Tibooburra Airport, , Australia','country_id' => '12'),\narray('id' => '8306','name' => '(TKY) - Turkey Creek Airport, Turkey Creek, Australia','country_id' => '12'),\narray('id' => '8307','name' => '(PHQ) - The Monument Airport, Phosphate Hill, Australia','country_id' => '12'),\narray('id' => '8308','name' => '(TUM) - Tumut Airport, , Australia','country_id' => '12'),\narray('id' => '8309','name' => '(TYP) - Tobermorey Airport, Tobermorey, Australia','country_id' => '12'),\narray('id' => '8310','name' => '(TXR) - Tanbar Airport, Tanbar Station, Australia','country_id' => '12'),\narray('id' => '8311','name' => '(THG) - Thangool Airport, Biloela, Australia','country_id' => '12'),\narray('id' => '8312','name' => '(TCA) - Tennant Creek Airport, Tennant Creek, Australia','country_id' => '12'),\narray('id' => '8313','name' => '(TCW) - Tocumwal Airport, , Australia','country_id' => '12'),\narray('id' => '8314','name' => '(TRO) - Taree Airport, Taree, Australia','country_id' => '12'),\narray('id' => '8315','name' => '(TTX) - Truscott-Mungalalu Airport, Anjo Peninsula, Australia','country_id' => '12'),\narray('id' => '8316','name' => '(TWB) - Toowoomba Airport, , Australia','country_id' => '12'),\narray('id' => '8317','name' => '(UDA) - Undara Airport, , Australia','country_id' => '12'),\narray('id' => '8318','name' => '(CZY) - Cluny Airport, , Australia','country_id' => '12'),\narray('id' => '8319','name' => '(USL) - Useless Loop Airport, , Australia','country_id' => '12'),\narray('id' => '8320','name' => '(VCD) - Victoria River Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8321','name' => '(VNR) - Vanrook Station Airport, , Australia','country_id' => '12'),\narray('id' => '8322','name' => '(WLA) - Wallal Airport, Wallal, Australia','country_id' => '12'),\narray('id' => '8323','name' => '(WAV) - Wave Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8324','name' => '(WMB) - Warrnambool Airport, , Australia','country_id' => '12'),\narray('id' => '8325','name' => '(SYU) - Warraber Island Airport, Sue Islet, Australia','country_id' => '12'),\narray('id' => '8326','name' => '(WIO) - Wilcannia Airport, , Australia','country_id' => '12'),\narray('id' => '8327','name' => '(WLC) - Walcha Airport, , Australia','country_id' => '12'),\narray('id' => '8328','name' => '(WAZ) - Warwick Airport, , Australia','country_id' => '12'),\narray('id' => '8329','name' => '(WND) - Windarra Airport, , Australia','country_id' => '12'),\narray('id' => '8330','name' => '(WNR) - Windorah Airport, , Australia','country_id' => '12'),\narray('id' => '8331','name' => '(WON) - Wondoola Airport, Wondoola, Australia','country_id' => '12'),\narray('id' => '8332','name' => '(MFL) - Mount Full Stop Airport, Wando Vale, Australia','country_id' => '12'),\narray('id' => '8333','name' => '(WGT) - Wangaratta Airport, , Australia','country_id' => '12'),\narray('id' => '8334','name' => '(WYA) - Whyalla Airport, Whyalla, Australia','country_id' => '12'),\narray('id' => '8335','name' => '(WSY) - Whitsunday Island Airport, , Australia','country_id' => '12'),\narray('id' => '8336','name' => '(WIT) - Wittenoom Airport, , Australia','country_id' => '12'),\narray('id' => '8337','name' => '(WKB) - Warracknabeal Airport, , Australia','country_id' => '12'),\narray('id' => '8338','name' => '(WGE) - Walgett Airport, , Australia','country_id' => '12'),\narray('id' => '8339','name' => '(NTL) - Newcastle Airport, Williamtown, Australia','country_id' => '12'),\narray('id' => '8340','name' => '(WUN) - Wiluna Airport, , Australia','country_id' => '12'),\narray('id' => '8341','name' => '(WPK) - Wrotham Park Airport, , Australia','country_id' => '12'),\narray('id' => '8342','name' => '(WDI) - Wondai Airport, , Australia','country_id' => '12'),\narray('id' => '8343','name' => '(WOL) - Wollongong Airport, , Australia','country_id' => '12'),\narray('id' => '8344','name' => '(WLL) - Wollogorang Airport, , Australia','country_id' => '12'),\narray('id' => '8345','name' => '(QRR) - Warren Airport, , Australia','country_id' => '12'),\narray('id' => '8346','name' => '(SXE) - West Sale Airport, Sale, Australia','country_id' => '12'),\narray('id' => '8347','name' => '(WLO) - Waterloo Airport, , Australia','country_id' => '12'),\narray('id' => '8348','name' => '(WIN) - Winton Airport, , Australia','country_id' => '12'),\narray('id' => '8349','name' => '(WUD) - Wudinna Airport, , Australia','country_id' => '12'),\narray('id' => '8350','name' => '(WEW) - Wee Waa Airport, , Australia','country_id' => '12'),\narray('id' => '8351','name' => '(WRW) - Warrawagine Airport, , Australia','country_id' => '12'),\narray('id' => '8352','name' => '(WWI) - Woodie Woodie Airport, Woodie Woodie, Australia','country_id' => '12'),\narray('id' => '8353','name' => '(WWY) - West Wyalong Airport, West Wyalong, Australia','country_id' => '12'),\narray('id' => '8354','name' => '(WYN) - Wyndham Airport, , Australia','country_id' => '12'),\narray('id' => '8355','name' => '(BWT) - Wynyard Airport, Burnie, Australia','country_id' => '12'),\narray('id' => '8356','name' => '(YLG) - Yalgoo Airport, Yalgoo, Australia','country_id' => '12'),\narray('id' => '8357','name' => '(OKR) - Yorke Island Airport, Yorke Island, Australia','country_id' => '12'),\narray('id' => '8358','name' => '(KYF) - Yeelirrie Airport, , Australia','country_id' => '12'),\narray('id' => '8359','name' => '(XMY) - Yam Island Airport, Yam Island, Australia','country_id' => '12'),\narray('id' => '8360','name' => '(YUE) - Yuendumu Airport, , Australia','country_id' => '12'),\narray('id' => '8361','name' => '(NGA) - Young Airport, , Australia','country_id' => '12'),\narray('id' => '8362','name' => '(ORR) - Yorketown Airport, , Australia','country_id' => '12'),\narray('id' => '8363','name' => '(KYI) - Yalata Mission Airport, Yalata Mission, Australia','country_id' => '12'),\narray('id' => '8364','name' => '(KKI) - Akiachak Airport, Akiachak, United States','country_id' => '228'),\narray('id' => '8365','name' => '(BCC) - Bear Creek 3 Airport, Bear Creek, United States','country_id' => '228'),\narray('id' => '8366','name' => '(KBC) - Birch Creek Airport, Birch Creek, United States','country_id' => '228'),\narray('id' => '8367','name' => '(CZC) - Copper Center 2 Airport, Copper Center, United States','country_id' => '228'),\narray('id' => '8368','name' => '(ULX) - Ulusaba Airport, Ulusaba, South Africa','country_id' => '243'),\narray('id' => '8369','name' => '(TDT) - Tanda Tula Airport, Welverdiend, South Africa','country_id' => '243'),\narray('id' => '8370','name' => '(HZV) - Hazyview Airport, Hazyview, South Africa','country_id' => '243'),\narray('id' => '8371','name' => '(KHO) - Khoka Moya Airport, Khoka Moya, South Africa','country_id' => '243'),\narray('id' => '8372','name' => '(MBM) - Mkambati Airport, Mkambati, South Africa','country_id' => '243'),\narray('id' => '8373','name' => '(INY) - Inyati Airport, Inyati, South Africa','country_id' => '243'),\narray('id' => '8374','name' => '(TSD) - Tshipise Airport, Tshipise, South Africa','country_id' => '243'),\narray('id' => '8375','name' => '(KIG) - Koingnaas Airport, Koingnaas, South Africa','country_id' => '243'),\narray('id' => '8376','name' => '(PEK) - Beijing Capital International Airport, Beijing, China','country_id' => '45'),\narray('id' => '8377','name' => '(CIF) - Chifeng Airport, Chifeng, China','country_id' => '45'),\narray('id' => '8378','name' => '(CIH) - Changzhi Airport, Changzhi, China','country_id' => '45'),\narray('id' => '8379','name' => '(BPE) - Qinhuangdao Beidaihe Airport, Qinhuangdao, China','country_id' => '45'),\narray('id' => '8380','name' => '(DSN) - Ordos Ejin Horo Airport, Ordos, China','country_id' => '45'),\narray('id' => '8381','name' => '(DAT) - Datong Airport, Datong, China','country_id' => '45'),\narray('id' => '8382','name' => '(ERL) - Erenhot Saiwusu International Airport, Erenhot,, China','country_id' => '45'),\narray('id' => '8383','name' => '(YIE) - Arxan Yi\\'ershi Airport, Arxan, China','country_id' => '45'),\narray('id' => '8384','name' => '(HDG) - Handan Airport, Handan, China','country_id' => '45'),\narray('id' => '8385','name' => '(HET) - Baita International Airport, Hohhot, China','country_id' => '45'),\narray('id' => '8386','name' => '(ZBK) - abljak Airport, abljak Airport, Montenegro','country_id' => '136'),\narray('id' => '8387','name' => '(HLD) - Dongshan Airport, Hailar, China','country_id' => '45'),\narray('id' => '8388','name' => '(NAY) - Beijing Nanyuan Airport, Beijing, China','country_id' => '45'),\narray('id' => '8389','name' => '(BAV) - Baotou Airport, Baotou, China','country_id' => '45'),\narray('id' => '8390','name' => '(SJW) - Shijiazhuang Daguocun International Airport, Shijiazhuang, China','country_id' => '45'),\narray('id' => '8391','name' => '(TSN) - Tianjin Binhai International Airport, Tianjin, China','country_id' => '45'),\narray('id' => '8392','name' => '(TGO) - Tongliao Airport, Tongliao, China','country_id' => '45'),\narray('id' => '8393','name' => '(WUA) - Wuhai Airport, Wuhai, China','country_id' => '45'),\narray('id' => '8394','name' => '(HLH) - Ulanhot Airport, Ulanhot, China','country_id' => '45'),\narray('id' => '8395','name' => '(XIL) - Xilinhot Airport, Xilinhot, China','country_id' => '45'),\narray('id' => '8396','name' => '(XNT) - Xingtai Dalian Airport, Xingtai, China','country_id' => '45'),\narray('id' => '8397','name' => '(YCU) - Yuncheng Guangong Airport, Yuncheng, China','country_id' => '45'),\narray('id' => '8398','name' => '(TYN) - Taiyuan Wusu Airport, Taiyuan, China','country_id' => '45'),\narray('id' => '8399','name' => '(RLK) - Bayannur Tianjitai Airport, Bavannur, China','country_id' => '45'),\narray('id' => '8400','name' => '(ZDY) - Delma Airport, Delma Island, United Arab Emirates','country_id' => '1'),\narray('id' => '8401','name' => '(ZEN) - Zenag Airport, Zenag, Papua New Guinea','country_id' => '172'),\narray('id' => '8402','name' => '(BHY) - Beihai Airport, Beihai, China','country_id' => '45'),\narray('id' => '8403','name' => '(CGD) - Changde Airport, Changde, China','country_id' => '45'),\narray('id' => '8404','name' => '(HJJ) - Zhijiang Airport, Huaihua, China','country_id' => '45'),\narray('id' => '8405','name' => '(DYG) - Dayong Airport, Dayong, China','country_id' => '45'),\narray('id' => '8406','name' => '(CAN) - Guangzhou Baiyun International Airport, Guangzhou, China','country_id' => '45'),\narray('id' => '8407','name' => '(CSX) - Changsha Huanghua International Airport, Changsha, China','country_id' => '45'),\narray('id' => '8408','name' => '(HCJ) - Hechi Jinchengjiang Airport, Hechi, China','country_id' => '45'),\narray('id' => '8409','name' => '(SHF) - Huayuan Airport, Shihezi, China','country_id' => '45'),\narray('id' => '8410','name' => '(HNY) - Hengyang Nanyue Airport, Hengyang, China','country_id' => '45'),\narray('id' => '8411','name' => '(KWL) - Guilin Liangjiang International Airport, Guilin City, China','country_id' => '45'),\narray('id' => '8412','name' => '(LLF) - Lingling Airport, Yongzhou, China','country_id' => '45'),\narray('id' => '8413','name' => '(MXZ) - Meixian Airport, Meixian, China','country_id' => '45'),\narray('id' => '8414','name' => '(NNG) - Nanning Wuxu Airport, Nanning, China','country_id' => '45'),\narray('id' => '8415','name' => '(SWA) - Jieyang Chaoshan International Airport, Shantou, China','country_id' => '45'),\narray('id' => '8416','name' => '(ZUH) - Zhuhai Jinwan Airport, Zhuhai, China','country_id' => '45'),\narray('id' => '8417','name' => '(SZX) - Shenzhen Bao\\'an International Airport, Shenzhen, China','country_id' => '45'),\narray('id' => '8418','name' => '(WUZ) - Wuzhou Changzhoudao Airport, Wuzhou, China','country_id' => '45'),\narray('id' => '8419','name' => '(XIN) - Xingning Airport, Xingning, China','country_id' => '45'),\narray('id' => '8420','name' => '(LZH) - Liuzhou Bailian Airport, Liuzhou, China','country_id' => '45'),\narray('id' => '8421','name' => '(ZHA) - Zhanjiang Airport, Zhanjiang, China','country_id' => '45'),\narray('id' => '8422','name' => '(AYN) - Anyang Airport, Anyang, China','country_id' => '45'),\narray('id' => '8423','name' => '(CGO) - Zhengzhou Xinzheng International Airport, Zhengzhou, China','country_id' => '45'),\narray('id' => '8424','name' => '(ENH) - Enshi Airport, Enshi, China','country_id' => '45'),\narray('id' => '8425','name' => '(LHK) - Guangzhou MR Air Base, Guanghua, China','country_id' => '45'),\narray('id' => '8426','name' => '(WUH) - Wuhan Tianhe International Airport, Wuhan, China','country_id' => '45'),\narray('id' => '8427','name' => '(LYA) - Luoyang Airport, Luoyang, China','country_id' => '45'),\narray('id' => '8428','name' => '(NNY) - Nanyang Jiangying Airport, Nanyang, China','country_id' => '45'),\narray('id' => '8429','name' => '(SHS) - Shashi Airport, Shashi, China','country_id' => '45'),\narray('id' => '8430','name' => '(WDS) - Shiyan Wudangshan Airport, Shiyan, China','country_id' => '45'),\narray('id' => '8431','name' => '(XFN) - Xiangyang Liuji Airport, Xiangfan, China','country_id' => '45'),\narray('id' => '8432','name' => '(YIH) - Yichang Sanxia Airport, Yichang, China','country_id' => '45'),\narray('id' => '8433','name' => '(HAK) - Haikou Meilan International Airport, Haikou, China','country_id' => '45'),\narray('id' => '8434','name' => '(SYX) - Sanya Phoenix International Airport, Sanya, China','country_id' => '45'),\narray('id' => '8435','name' => '(FNJ) - Pyongyang Sunan International Airport, Pyongyang, North Korea','country_id' => '117'),\narray('id' => '8436','name' => '(DSO) - Sondok Airport, Sndng-ni, North Korea','country_id' => '117'),\narray('id' => '8437','name' => '(WOS) - Wonsan Kalma International Airport, Wonsan, North Korea','country_id' => '117'),\narray('id' => '8438','name' => '(AKA) - Ankang Wulipu Airport, Ankang, China','country_id' => '45'),\narray('id' => '8439','name' => '(DNH) - Dunhuang Airport, Dunhuang, China','country_id' => '45'),\narray('id' => '8440','name' => '(HXD) - Delingha Airport, Delingha, China','country_id' => '45'),\narray('id' => '8441','name' => '(GOQ) - Golmud Airport, Golmud, China','country_id' => '45'),\narray('id' => '8442','name' => '(GYU) - Guyuan Liupanshan Airport, Guyuan, China','country_id' => '45'),\narray('id' => '8443','name' => '(HTT) - Huatugou Airport, Mengnai, China','country_id' => '45'),\narray('id' => '8444','name' => '(HZG) - Hanzhong Chenggu Airport, Hanzhong, China','country_id' => '45'),\narray('id' => '8445','name' => '(INC) - Yinchuan Airport, Yinchuan, China','country_id' => '45'),\narray('id' => '8446','name' => '(JNG) - Jining Qufu Airport, Jining, China','country_id' => '45'),\narray('id' => '8447','name' => '(JGN) - Jiayuguan Airport, Jiayuguan, China','country_id' => '45'),\narray('id' => '8448','name' => '(LHW) - Lanzhou Zhongchuan Airport, Lanzhou, China','country_id' => '45'),\narray('id' => '8449','name' => '(IQN) - Qingyang Airport, Qingyang, China','country_id' => '45'),\narray('id' => '8450','name' => '(SIA) - Xi\\'an Xiguan Airport, Xi\\'an, China','country_id' => '45'),\narray('id' => '8451','name' => '(GXH) - Gannan Xiahe Airport, Xiahe, China','country_id' => '45'),\narray('id' => '8452','name' => '(XNN) - Xining Caojiabu Airport, Xining, China','country_id' => '45'),\narray('id' => '8453','name' => '(XIY) - Xi\\'an Xianyang International Airport, Xianyang, China','country_id' => '45'),\narray('id' => '8454','name' => '(ENY) - Yan\\'an Ershilipu Airport, Yan\\'an, China','country_id' => '45'),\narray('id' => '8455','name' => '(UYN) - Yulin Yuyang Airport, Yulin, China','country_id' => '45'),\narray('id' => '8456','name' => '(ZHY) - Zhongwei Shapotou Airport, Zhongwei, China','country_id' => '45'),\narray('id' => '8457','name' => '(AVK) - Arvaikheer Airport, Arvaikheer, Mongolia','country_id' => '143'),\narray('id' => '8458','name' => '(LTI) - Altai Airport, Altai, Mongolia','country_id' => '143'),\narray('id' => '8459','name' => '(BYN) - Bayankhongor Airport, Bayankhongor, Mongolia','country_id' => '143'),\narray('id' => '8460','name' => '(UGA) - Bulgan Airport, Bulgan, Mongolia','country_id' => '143'),\narray('id' => '8461','name' => '(UGT) - Bulagtai Resort Airport, Umnugobitour, Mongolia','country_id' => '143'),\narray('id' => '8462','name' => '(HBU) - Bulgan Sum Airport, Bulgan, Mongolia','country_id' => '143'),\narray('id' => '8463','name' => '(UUN) - Baruun Urt Airport, , Mongolia','country_id' => '143'),\narray('id' => '8464','name' => '(COQ) - Choibalsan Airport, , Mongolia','country_id' => '143'),\narray('id' => '8465','name' => '(ZMD) - Sena Madureira Airport, Sena Madureira, Brazil','country_id' => '29'),\narray('id' => '8466','name' => '(ULZ) - Donoi Airport, Uliastai, Mongolia','country_id' => '143'),\narray('id' => '8467','name' => '(DLZ) - Dalanzadgad Airport, Dalanzadgad, Mongolia','country_id' => '143'),\narray('id' => '8468','name' => '(KHR) - Kharkhorin Airport, , Mongolia','country_id' => '143'),\narray('id' => '8469','name' => '(HJT) - Khujirt Airport, Khujirt, Mongolia','country_id' => '143'),\narray('id' => '8470','name' => '(HVD) - Khovd Airport, Khovd, Mongolia','country_id' => '143'),\narray('id' => '8471','name' => '(MXV) - MArAn Airport, MArAn, Mongolia','country_id' => '143'),\narray('id' => '8472','name' => '(TSZ) - Tselserleg Airport, Tselserleg, Mongolia','country_id' => '143'),\narray('id' => '8473','name' => '(TNZ) - Tosontsengel Airport, Tosontsengel, Mongolia','country_id' => '143'),\narray('id' => '8474','name' => '(ULN) - Chinggis Khaan International Airport, Ulan Bator, Mongolia','country_id' => '143'),\narray('id' => '8475','name' => '(ULO) - Ulaangom Airport, Ulaangom, Mongolia','country_id' => '143'),\narray('id' => '8476','name' => '(ULG) - Ulgii Mongolei Airport, , Mongolia','country_id' => '143'),\narray('id' => '8477','name' => '(ZNC) - Nyac Airport, Nyac, United States','country_id' => '228'),\narray('id' => '8478','name' => '(DLU) - Dali Airport, Xiaguan, China','country_id' => '45'),\narray('id' => '8479','name' => '(DIG) - Diqing Airport, Shangri-La, China','country_id' => '45'),\narray('id' => '8480','name' => '(JHG) - Xishuangbanna Gasa Airport, Jinghong, China','country_id' => '45'),\narray('id' => '8481','name' => '(LJG) - Lijiang Airport, Lijiang, China','country_id' => '45'),\narray('id' => '8482','name' => '(LUM) - Mangshi Airport, Luxi, China','country_id' => '45'),\narray('id' => '8483','name' => '(KMG) - Kunming Changshui International Airport, Kunming, China','country_id' => '45'),\narray('id' => '8484','name' => '(SYM) - Pu\\'er Simao Airport, Pu\\'er, China','country_id' => '45'),\narray('id' => '8485','name' => '(WNH) - Wenshan Puzhehei Airport, Wenshan, China','country_id' => '45'),\narray('id' => '8486','name' => '(ZAT) - Zhaotong Airport, Zhaotong, China','country_id' => '45'),\narray('id' => '8487','name' => '(XMN) - Xiamen Gaoqi International Airport, Xiamen, China','country_id' => '45'),\narray('id' => '8488','name' => '(AQG) - Anqing Tianzhushan Airport, Anqing, China','country_id' => '45'),\narray('id' => '8489','name' => '(BFU) - Bengbu Airport, Bengbu, China','country_id' => '45'),\narray('id' => '8490','name' => '(CZX) - Changzhou Benniu Airport, Changzhou, China','country_id' => '45'),\narray('id' => '8491','name' => '(KHN) - Nanchang Changbei International Airport, Nanchang, China','country_id' => '45'),\narray('id' => '8492','name' => '(FUG) - Fuyang Xiguan Airport, Fuyang, China','country_id' => '45'),\narray('id' => '8493','name' => '(FOC) - Fuzhou Changle International Airport, Fuzhou, China','country_id' => '45'),\narray('id' => '8494','name' => '(KOW) - Ganzhou Airport, Ganzhou, China','country_id' => '45'),\narray('id' => '8495','name' => '(HGH) - Hangzhou Xiaoshan International Airport, Hangzhou, China','country_id' => '45'),\narray('id' => '8496','name' => '(JDZ) - Jingdezhen Airport, Jingdezhen, China','country_id' => '45'),\narray('id' => '8497','name' => '(JIU) - Jiujiang Lushan Airport, Jiujiang, China','country_id' => '45'),\narray('id' => '8498','name' => '(TNA) - Yaoqiang Airport, Jinan, China','country_id' => '45'),\narray('id' => '8499','name' => '(JUZ) - Quzhou Airport, Quzhou, China','country_id' => '45'),\narray('id' => '8500','name' => '(LCX) - Longyan Guanzhishan Airport, Longyan, China','country_id' => '45'),\narray('id' => '8501','name' => '(LYG) - Lianyungang Airport, Lianyungang, China','country_id' => '45'),\narray('id' => '8502','name' => '(HYN) - Huangyan Luqiao Airport, Huangyan, China','country_id' => '45'),\narray('id' => '8503','name' => '(LYI) - Shubuling Airport, Linyi, China','country_id' => '45'),\narray('id' => '8504','name' => '(NGB) - Ningbo Lishe International Airport, Ningbo, China','country_id' => '45'),\narray('id' => '8505','name' => '(NKG) - Nanjing Lukou Airport, Nanjing, China','country_id' => '45'),\narray('id' => '8506','name' => '(HFE) - Hefei Luogang International Airport, Hefei, China','country_id' => '45'),\narray('id' => '8507','name' => '(PVG) - Shanghai Pudong International Airport, Shanghai, China','country_id' => '45'),\narray('id' => '8508','name' => '(TAO) - Liuting Airport, Qingdao, China','country_id' => '45'),\narray('id' => '8509','name' => '(JJN) - Quanzhou Jinjiang International Airport, Quanzhou, China','country_id' => '45'),\narray('id' => '8510','name' => '(RUG) - Rugao Air Base, Rugao, China','country_id' => '45'),\narray('id' => '8511','name' => '(SHA) - Shanghai Hongqiao International Airport, Shanghai, China','country_id' => '45'),\narray('id' => '8512','name' => '(SZV) - Suzhou Guangfu Airport, Suzhou, China','country_id' => '45'),\narray('id' => '8513','name' => '(TXN) - Tunxi International Airport, Huangshan, China','country_id' => '45'),\narray('id' => '8514','name' => '(WEF) - Weifang Airport, Weifang, China','country_id' => '45'),\narray('id' => '8515','name' => '(WEH) - Weihai Airport, Weihai, China','country_id' => '45'),\narray('id' => '8516','name' => '(WHU) - Wuhu Air Base, Wuhu, China','country_id' => '45'),\narray('id' => '8517','name' => '(WUX) - Sunan Shuofang International Airport, Wuxi, China','country_id' => '45'),\narray('id' => '8518','name' => '(WUS) - Nanping Wuyishan Airport, Wuyishan, China','country_id' => '45'),\narray('id' => '8519','name' => '(WNZ) - Wenzhou Yongqiang Airport, Wenzhou, China','country_id' => '45'),\narray('id' => '8520','name' => '(XUZ) - Xuzhou Guanyin Airport, Xuzhou, China','country_id' => '45'),\narray('id' => '8521','name' => '(YTY) - Yangzhou Taizhou Airport, Yangzhou and Taizhou, China','country_id' => '45'),\narray('id' => '8522','name' => '(YIC) - Yichun Mingyueshan Airport, Yichun, China','country_id' => '45'),\narray('id' => '8523','name' => '(YNZ) - Yancheng Airport, Yancheng, China','country_id' => '45'),\narray('id' => '8524','name' => '(YNT) - Yantai Laishan Airport, Yantai, China','country_id' => '45'),\narray('id' => '8525','name' => '(YIW) - Yiwu Airport, Yiwu, China','country_id' => '45'),\narray('id' => '8526','name' => '(HSN) - Zhoushan Airport, Zhoushan, China','country_id' => '45'),\narray('id' => '8527','name' => '(NGQ) - Ngari Gunsa Airport, Shiquanhe, China','country_id' => '45'),\narray('id' => '8528','name' => '(AVA) - Anshun Huangguoshu Airport, Anshun, China','country_id' => '45'),\narray('id' => '8529','name' => '(BPX) - Qamdo Bangda Airport, Bangda, China','country_id' => '45'),\narray('id' => '8530','name' => '(BFJ) - Bijie Feixiong Airport, Bijie, China','country_id' => '45'),\narray('id' => '8531','name' => '(CKG) - Chongqing Jiangbei International Airport, Chongqing, China','country_id' => '45'),\narray('id' => '8532','name' => '(DAX) - Dachuan Airport, Dazhou, China','country_id' => '45'),\narray('id' => '8533','name' => '(GHN) - Guanghan Airport, Civil Aviation Flight University of China, China','country_id' => '45'),\narray('id' => '8534','name' => '(GYS) - Guangyuan Airport, Guangyuan, China','country_id' => '45'),\narray('id' => '8535','name' => '(KWE) - Longdongbao Airport, Guiyang, China','country_id' => '45'),\narray('id' => '8536','name' => '(JZH) - Jiuzhai Huanglong Airport, Jiuzhaigou, China','country_id' => '45'),\narray('id' => '8537','name' => '(KJH) - Kaili Airport, Huangping, China','country_id' => '45'),\narray('id' => '8538','name' => '(LIA) - Liangping Airport, Liangping, China','country_id' => '45'),\narray('id' => '8539','name' => '(LXA) - Lhasa Gonggar Airport, Lhasa, China','country_id' => '45'),\narray('id' => '8540','name' => '(LZO) - Luzhou Airport, Luzhou, China','country_id' => '45'),\narray('id' => '8541','name' => '(UNR) - A-ndArkhaan Airport, A-ndArkhaan, Mongolia','country_id' => '143'),\narray('id' => '8542','name' => '(MIG) - Mianyang Airport, Mianyang, China','country_id' => '45'),\narray('id' => '8543','name' => '(NAO) - Nanchong Airport, Nanchong, China','country_id' => '45'),\narray('id' => '8544','name' => '(HZH) - Liping Airport, Liping, China','country_id' => '45'),\narray('id' => '8545','name' => '(LZY) - Nyingchi Airport, Nyingchi, China','country_id' => '45'),\narray('id' => '8546','name' => '(TCZ) - Tengchong Tuofeng Airport, Tengchong, China','country_id' => '45'),\narray('id' => '8547','name' => '(TEN) - Tongren Fenghuang Airport, , China','country_id' => '45'),\narray('id' => '8548','name' => '(CTU) - Chengdu Shuangliu International Airport, Chengdu, China','country_id' => '45'),\narray('id' => '8549','name' => '(WXN) - Wanxian Airport, Wanxian, China','country_id' => '45'),\narray('id' => '8550','name' => '(XIC) - Xichang Qingshan Airport, Xichang, China','country_id' => '45'),\narray('id' => '8551','name' => '(YBP) - Yibin Caiba Airport, Yibin, China','country_id' => '45'),\narray('id' => '8552','name' => '(ACX) - Xingyi Airport, Xingyi, China','country_id' => '45'),\narray('id' => '8553','name' => '(ZYI) - Zunyi Xinzhou Airport, Zunyi, China','country_id' => '45'),\narray('id' => '8554','name' => '(AKU) - Aksu Airport, Aksu, China','country_id' => '45'),\narray('id' => '8555','name' => '(BPL) - Alashankou Bole (Bortala) airport, Bole, China','country_id' => '45'),\narray('id' => '8556','name' => '(IQM) - Qiemo Airport, Qiemo, China','country_id' => '45'),\narray('id' => '8557','name' => '(HMI) - Hami Airport, Hami, China','country_id' => '45'),\narray('id' => '8558','name' => '(KCA) - Kuqa Airport, Kuqa, China','country_id' => '45'),\narray('id' => '8559','name' => '(KRL) - Korla Airport, Korla, China','country_id' => '45'),\narray('id' => '8560','name' => '(KRY) - Karamay Airport, Karamay, China','country_id' => '45'),\narray('id' => '8561','name' => '(KJI) - Kanas Airport, Burqin, China','country_id' => '45'),\narray('id' => '8562','name' => '(NLT) - Xinyuan Nalati Airport, Xinyuan County, China','country_id' => '45'),\narray('id' => '8563','name' => '(KHG) - Kashgar Airport, Kashgar, China','country_id' => '45'),\narray('id' => '8564','name' => '(SXJ) - Shanshan Airport, Shanshan, China','country_id' => '45'),\narray('id' => '8565','name' => '(TCG) - Tacheng Airport, Tacheng, China','country_id' => '45'),\narray('id' => '8566','name' => '(HTN) - Hotan Airport, Hotan, China','country_id' => '45'),\narray('id' => '8567','name' => '(TLQ) - Turpan Jiaohe Airport, Turpan, China','country_id' => '45'),\narray('id' => '8568','name' => '(URC) - ArAmqi Diwopu International Airport, ArAmqi, China','country_id' => '45'),\narray('id' => '8569','name' => '(YIN) - Yining Airport, Yining, China','country_id' => '45'),\narray('id' => '8570','name' => '(AOG) - Anshan Air Base, Anshan, China','country_id' => '45'),\narray('id' => '8571','name' => '(CGQ) - Longjia Airport, Changchun, China','country_id' => '45'),\narray('id' => '8572','name' => '(CNI) - Changhai Airport, Changhai, China','country_id' => '45'),\narray('id' => '8573','name' => '(CHG) - Chaoyang Airport, Chaoyang, China','country_id' => '45'),\narray('id' => '8574','name' => '(FYJ) - Dongji Aiport, Fuyuan, China','country_id' => '45'),\narray('id' => '8575','name' => '(HRB) - Taiping Airport, Harbin, China','country_id' => '45'),\narray('id' => '8576','name' => '(HEK) - Heihe Airport, Heihe, China','country_id' => '45'),\narray('id' => '8577','name' => '(JIL) - Jilin Airport, Jilin, China','country_id' => '45'),\narray('id' => '8578','name' => '(JMU) - Jiamusi Airport, Jiamusi, China','country_id' => '45'),\narray('id' => '8579','name' => '(JXA) - Jixi Xingkaihu Airport, Jixi, China','country_id' => '45'),\narray('id' => '8580','name' => '(JNZ) - Jinzhou Airport, Jinzhou, China','country_id' => '45'),\narray('id' => '8581','name' => '(LDS) - Lindu Airport, Yichun, China','country_id' => '45'),\narray('id' => '8582','name' => '(YUS) - Yushu Batang Airport, Yushu, China','country_id' => '45'),\narray('id' => '8583','name' => '(MDG) - Mudanjiang Hailang International Airport, Mudanjiang, China','country_id' => '45'),\narray('id' => '8584','name' => '(OHE) - Gu-Lian Airport, Mohe, China','country_id' => '45'),\narray('id' => '8585','name' => '(NDG) - Qiqihar Sanjiazi Airport, Qiqihar, China','country_id' => '45'),\narray('id' => '8586','name' => '(DLC) - Zhoushuizi Airport, Dalian, China','country_id' => '45'),\narray('id' => '8587','name' => '(TNH) - Tonghua Sanyuanpu Airport, Tonghua, China','country_id' => '45'),\narray('id' => '8588','name' => '(SHE) - Taoxian Airport, Shenyang, China','country_id' => '45'),\narray('id' => '8589','name' => '(YNJ) - Yanji Chaoyangchuan Airport, Yanji, China','country_id' => '45'),\narray('id' => '8590','name' => '(YKH) - Yingkou Lanqi Airport, Yingkou, China','country_id' => '45')\n);\n\n \n DB::table('airports')->insert( $airports );\n \n }",
"public function airlineList()\n {\n $airlines = Airline::all();\n\n return $airlines;\n }",
"public function listAirports($autoComplete = '')\n {\n $uri = '/api/v6/airports';\n $key = 'all.airports';\n $minutes = 60;\n \n $response = app('cache')->get($key, function () use ($key, $minutes, $uri) {\n try {\n /** @var \\Psr\\Http\\Message\\ResponseInterface $response */\n $response = $this->guzzle->get($uri, [\n 'query' => [\n 'lang' => 'en',\n 'api_key' => '8105c628-a86c-41af-85da-828bcf8190e0'\n ],\n ]);\n \n } catch (\\Exception $e) {\n return false;\n }\n \n $result = $response->getBody()->getContents();\n if (empty($result)) {\n return false;\n }\n app('cache')->put($key, $result, $minutes);\n return $result;\n });\n \n if(! $response) {\n return false;\n }\n $result = $this->toAirportCollection($response);\n if ($autoComplete != '') {\n $result = $this->autoCompleteMap($result, $autoComplete);\n }\n return $result;\n }",
"public function all(){\n $airports = $this->airports->all();\n return response()->json(array('data' =>$airports));\n }",
"public function getAllOrderedByName()\n {\n return $this->model->orderBy('name', 'asc')->get();\n }",
"function allPartnersAscending() {\n\n\t\t\t\t\t/* Returns all partner companies in database in alphabetical order. */\n\n\t\t\t\t\treturn Partner::find('all', array('order'=>'name Asc'));\n\t\t\t\t}",
"function getAllPlayersOrderBy($field){\n\t$query = \"SELECT * FROM aquigaza_fsutt_local.players ORDER by \".$field;\n $resource = runQuery($query);\n\treturn ozRunQuery($resource);\n}",
"function getAllAirport() {\n global $airportManager;\n\n $result = [];\n\n // Get All the Airport in the database\n $airports = $airportManager->getAllAirport();\n\n // if not empty, need to transform all object to associative Array\n if ( count( $airports ) ) {\n foreach ( $airports as $airport ) {\n $result[] = [\n \"id\" => $airport->getId(),\n \"code\" => $airport->getCode(),\n \"cityCode\" => $airport->getCityCode(),\n \"name\" => $airport->getName(),\n \"city\" => $airport->getCity(),\n \"countryCode\" => $airport->getCountryCode(),\n \"regionCode\" => $airport->getRegionCode(),\n \"latitude\" => $airport->getlatitude(),\n \"longitude\" => $airport->getLongittude(),\n \"timezone\" => $airport->getTimezone(),\n ];\n }\n } else {\n $result = $airports;\n }\n\n echo json_encode( $result );\n}",
"public static function getAllDepartmentAcronyms()\n {\n\n return DB::table('l_contracts')\n ->select(['owner_acronym'])\n ->orderBy('owner_acronym')\n ->distinct()\n ->pluck('owner_acronym')\n ->toArray();\n }",
"private function loadAirportCharts(array &$airports, string $apIcaoList) {\n $query = \"SELECT *,\";\n $query .= \" (CASE WHEN type LIKE 'AREA%' THEN 1 WHEN type LIKE 'VAC%' THEN 2 WHEN type LIKE 'AD INFO%' THEN 3 ELSE 4 END) AS sortorder1\";\n $query .= \" FROM ad_charts \";\n $query .= \" WHERE airport_icao IN (\" . $apIcaoList . \")\";\n $query .= \" ORDER BY\";\n $query .= \" source ASC,\";\n $query .= \" sortorder1 ASC,\";\n $query .= \" type ASC\";\n\n $result = $this->dbService->execMultiResultQuery($query, \"error reading charts\");\n\n while ($row = $result->fetch_assoc()) {\n foreach ($airports as &$ap) {\n if ($ap->icao === $row[\"airport_icao\"]) {\n $ap->charts[] = DbAirportChartConverter::fromDbRow($row);\n break;\n }\n }\n }\n }",
"public function getSortBy();",
"function listCitiesAlpha()\r\n {\r\n try\r\n {\r\n $sql=\"SELECT city_id,city_name\r\n\t\t FROM edms_city\r\n\t\t\t ORDER BY city_name\";\r\n $result=dbQuery($sql);\r\n $resultArray=dbResultToArray($result);\r\n return $resultArray;\r\n }\r\n\r\n catch(Exception $e)\r\n {\r\n }\r\n\r\n }",
"function SortNameList ( ) { return $this->_SortNameList; }",
"public function getAlphabet()\n {\n return $this->prototype->getAlphabet();\n }",
"public static function GetAllAvailableSortKeys()\n {\n // phpcs:enable PSR1.Methods.CamelCapsMethodName.NotCamelCaps\n return c_comdef_meeting::GetAllMeetingKeys();\n }",
"public function getSorting();",
"function ajan_alpha_sort_by_key( $items, $key ) {\n\tusort( $items, create_function( '$a, $b', '\n\t\t$values = array( 0 => false, 1 => false, );\n\t\t$func_args = func_get_args();\n\t\tforeach ( $func_args as $indexi => $index ) {\n\t\t\tif ( isset( $index->' . $key . ' ) ) {\n\t\t\t\t$values[ $indexi ] = $index->' . $key . ';\n\t\t\t} else if ( isset( $index[\"' . $key . '\"] ) ) {\n\t\t\t\t$values[ $indexi ] = $index[\"' . $key . '\"];\n\t\t\t}\n\t\t}\n\n\t\tif ( $values[0] && $values[1] ) {\n\t\t\t$cmp = strcmp( $values[0], $values[1] );\n\t\t\tif ( 0 > $cmp ) {\n\t\t\t\t$retval = -1;\n\t\t\t} else if ( 0 < $cmp ) {\n\t\t\t\t$retval = 1;\n\t\t\t} else {\n\t\t\t\t$retval = 0;\n\t\t\t}\n\t\t\treturn $retval;\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t') );\n\n\treturn $items;\n}",
"public function index()\n {\n return Airplaneseat::all();\n }",
"public function getAirlines()\n {\n $airlines = Airline::all();\n \n return response()->json($airlines, 200);\n }",
"function getAportacionesSociales(){ $D\t= $this->getDatosAportaciones(); return $D[\"aportaciones\"]; \t}",
"public function providerSortBy() {\n return array(\n array('name','ASC','item-01'),\n array('name','DESC','item-39'),\n array('color,name','ASC','item-03'),\n );\n }",
"private function generateAlphabet(){\n $letters = array();\n $letter = 'A';\n while ($letter !== 'AAA') {\n $letters[] = $letter++;\n }\n return $letters;\n }",
"public function sortAppointmentsList($a, $b) {\nif ((strtotime($a['title']) !== false) && (strtotime($b['title']) !== false)) { // sort by time, if they're times\n\t$a = strtotime($a['title']);\n\t$b = strtotime($b['title']);\n} else { // if not, sort as text\n\t$a=preg_replace('~[^a-z0-9]~', '', strtolower($a['title']));\n\t$b=preg_replace('~[^a-z0-9]~', '', strtolower($b['title']));\n}\nreturn $a==$b ? 0 : ($a<$b) ? -1 : 1;\n}"
] |
[
"0.6877236",
"0.6697686",
"0.6666238",
"0.651816",
"0.6461346",
"0.6046125",
"0.5842121",
"0.5841149",
"0.5801782",
"0.58015674",
"0.5650695",
"0.5603255",
"0.55184585",
"0.54654145",
"0.54524463",
"0.53794175",
"0.5364173",
"0.5331916",
"0.5321859",
"0.53059745",
"0.53031117",
"0.52713543",
"0.5232059",
"0.5227893",
"0.5215905",
"0.5198697",
"0.5198195",
"0.5198093",
"0.5187353",
"0.5183047"
] |
0.7281819
|
0
|
Returns a paginated result of airports ordered alphabetically.
|
public function getPaginatedAirportsAlphabetically($perPage = 30, $columns = ['*'])
{
return $this->model->orderBy('name', 'ASC')->paginate($perPage, $columns)->toArray();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getAllAirportsAlphabetically($columns = ['*'])\n {\n return $this->model->orderBy('name', 'ASC')->get($columns)->toArray();\n }",
"public function testGetAirportsReturnsList()\n {\n $this->get('/api/v1/airports')->seeJson();\n }",
"protected function getAirportList()\n {\n $cache = new FilesystemAdapter();\n $airportCache = $cache->getItem('airportcache.list');\n\n if (!$airportCache->isHit()) {\n $client = $this->container->get('guzzle.avinor.client');\n $response = $client->get('/airportNames.asp');\n $result = $response->getBody()->getContents();\n\n $service = new Service();\n $airports = $service->parse($result);\n\n $airportCache->set($airports);\n $cache->save($airportCache);\n }\n\n return $airportCache->get();\n }",
"public function all(){\n $airports = $this->airports->all();\n return response()->json(array('data' =>$airports));\n }",
"public function fetchAll($page=null, $count=10){\n try{\n if($page !== null){\n $statement = $this->pdo->prepare(\"\n\t\t\t\t\tSELECT * FROM `Airport` A\n\t\t\t\t\tORDER BY A.name ASC\n\t\t\t\t\tLIMIT {$page},{$count}\n\t\t\t\t\");\n $statement->execute();\n }else{\n $statement = $this->pdo->prepare(\"\n\t\t\t\t\tSELECT * FROM `Airport` A\n\t\t\t\t\tORDER BY A.name ASC\n\t\t\t\t\");\n $statement->execute();\n }\n\n return array_map(function($i) use ($statement){\n //$i->created_date = $i->created_date;\n //$i->modified_date = new DateTime($i->modified_date);\n\n return $i;\n },$statement->fetchAll());\n }catch (PDOException $e){\n throw new Exception(\"Can't get next airport item.\",0,$e);\n }\n }",
"public function index()\n {\n $airports = Airport::latest()->paginate(5);\n\n return view('admin.airport', compact('airports'))\n ->with('i', (request()->input('page', 1) - 1) * 5);\n }",
"public function paginate($orderBy = 'nome', $perPage = 10);",
"static public function GetAirports()\n {\n $ids = DbHandler::Query(\"SELECT DISTINCT(airport_id) FROM airports WHERE (airport_id IN ( SELECT airport_start_id FROM traject GROUP BY airport_start_id) OR airport_id IN ( SELECT airport_stop_id FROM traject GROUP BY airport_stop_id)) ;\");\n\n $airports = array();\n for ($i = 0; $i < count($ids); $i++) {\n $airports[] = airports::GetAirportByID($ids[$i][\"airport_id\"]);\n\n }\n\n\n return $airports;\n }",
"function allApprenticesAscending() {\n\n\t\t\t\t\treturn Apprentice::find('all', array('order'=>'name Asc'));\n\t\t\t\t}",
"public function index()\n {\n $sort = FacadesRequest::get('sort');\n $dir = FacadesRequest::get('direction');\n\n if ($sort == '')\n $sort = 'created_at';\n\n $search = FacadesRequest::get('q');\n if ($search != '') {\n $pages = Page::where('name', 'LIKE', '%' . $search . '%')\n ->orWhere('description', 'LIKE', '%' . $search . '%')\n ->orderBy($sort, $dir)->paginate(10);\n }\n else {\n $pages = Page::orderBy($sort, $dir)->paginate(10);\n }\n\n\n return PageResource::collection($pages);\n }",
"public function listPaginate()\n {\n $tournament = Tournaments::paginate(5);\n return response()->json($tournament, 200);\n }",
"public function indexAlphabeticallyAction()\n {\n $tags = $this->getTagRepository()->findBy([], ['name'=>'ASC']);\n\n return $this->respond([\n 'tags' => $tags\n ]);\n }",
"public function airportTestHMVC()\n {\n $CI =& get_instance(); // the current controller instance (Eg: mycows::cows)\n\n $CI->load->helper('url');\n\n $offset = $CI->uri->segment( $CI->uri->total_segments() );\n $rows = $CI->Airport_model->as_array()\n ->find_all();\n\n return $rows;\n }",
"public function run()\n {\n \t\n$airports = array(\narray('id' => '1','name' => '(UTK) - Utirik Airport, Utirik Island, Marshall Islands','country_id' => '139'),\narray('id' => '2','name' => '(OCA) - Ocean Reef Club Airport, Key Largo, United States','country_id' => '228'),\narray('id' => '3','name' => '(PQS) - Pilot Station Airport, Pilot Station, United States','country_id' => '228'),\narray('id' => '4','name' => '(CSE) - Buckhorn Ranch Airport, Crested Butte, United States','country_id' => '228'),\narray('id' => '5','name' => '(JCY) - LBJ Ranch Airport, Johnson City, United States','country_id' => '228'),\narray('id' => '6','name' => '(PMX) - Metropolitan Airport, Palmer, United States','country_id' => '228'),\narray('id' => '7','name' => '(NUP) - Nunapitchuk Airport, Nunapitchuk, United States','country_id' => '228'),\narray('id' => '8','name' => '(ICY) - Icy Bay Airport, Icy Bay, United States','country_id' => '228'),\narray('id' => '9','name' => '(KKK) - Kalakaket Creek AS Airport, Kalakaket Creek, United States','country_id' => '228'),\narray('id' => '10','name' => '(MHS) - Dunsmuir Muni-Mott Airport, Dunsmuir, United States','country_id' => '228'),\narray('id' => '11','name' => '(LVD) - Lime Village Airport, Lime Village, United States','country_id' => '228'),\narray('id' => '12','name' => '(HGZ) - Hog River Airport, Hogatza, United States','country_id' => '228'),\narray('id' => '13','name' => '(OTN) - Ed-Air Airport, Oaktown, United States','country_id' => '228'),\narray('id' => '14','name' => '(TLF) - Telida Airport, Telida, United States','country_id' => '228'),\narray('id' => '15','name' => '(BZT) - Eagle Air Park, Brazoria, United States','country_id' => '228'),\narray('id' => '16','name' => '(BYW) - Blakely Island Airport, Blakely Island, United States','country_id' => '228'),\narray('id' => '17','name' => '(DRF) - Drift River Airport, Kenai, United States','country_id' => '228'),\narray('id' => '18','name' => '(BDF) - Rinkenberger Restricted Landing Area, Bradford, United States','country_id' => '228'),\narray('id' => '19','name' => '(VRS) - Roy Otten Memorial Airfield, Versailles, United States','country_id' => '228'),\narray('id' => '20','name' => '(ATT) - Atmautluak Airport, Atmautluak, United States','country_id' => '228'),\narray('id' => '21','name' => '(LIV) - Livengood Camp Airport, Livengood, United States','country_id' => '228'),\narray('id' => '22','name' => '(PDB) - Pedro Bay Airport, Pedro Bay, United States','country_id' => '228'),\narray('id' => '23','name' => '(KOZ) - Ouzinkie Airport, Ouzinkie, United States','country_id' => '228'),\narray('id' => '24','name' => '(TNK) - Tununak Airport, Tununak, United States','country_id' => '228'),\narray('id' => '25','name' => '(WKK) - Aleknagik / New Airport, Aleknagik, United States','country_id' => '228'),\narray('id' => '26','name' => '(NNK) - Naknek Airport, Naknek, United States','country_id' => '228'),\narray('id' => '27','name' => '(BCS) - Southern Seaplane Airport, Belle Chasse, United States','country_id' => '228'),\narray('id' => '28','name' => '(BWL) - Earl Henry Airport, Blackwell, United States','country_id' => '228'),\narray('id' => '29','name' => '(CWS) - Center Island Airport, Center Island, United States','country_id' => '228'),\narray('id' => '30','name' => '(TEK) - Tatitlek Airport, Tatitlek, United States','country_id' => '228'),\narray('id' => '31','name' => '(DUF) - Pine Island Airport, Corolla, United States','country_id' => '228'),\narray('id' => '32','name' => '(SSW) - Stuart Island Airpark, Stuart Island, United States','country_id' => '228'),\narray('id' => '33','name' => '(FOB) - Fort Bragg Airport, Fort Bragg, United States','country_id' => '228'),\narray('id' => '34','name' => '(AXB) - Maxson Airfield, Alexandria Bay, United States','country_id' => '228'),\narray('id' => '35','name' => '(REE) - Reese Airpark, Lubbock, United States','country_id' => '228'),\narray('id' => '36','name' => '(WDN) - Waldronaire Airport, East Sound, United States','country_id' => '228'),\narray('id' => '37','name' => '(CHU) - Chuathbaluk Airport, Chuathbaluk, United States','country_id' => '228'),\narray('id' => '38','name' => '(UGS) - Ugashik Airport, Ugashik, United States','country_id' => '228'),\narray('id' => '39','name' => '(KLL) - Levelock Airport, Levelock, United States','country_id' => '228'),\narray('id' => '40','name' => '(WTL) - Tuntutuliak Airport, Tuntutuliak, United States','country_id' => '228'),\narray('id' => '41','name' => '(TWA) - Twin Hills Airport, Twin Hills, United States','country_id' => '228'),\narray('id' => '42','name' => '(KCQ) - Chignik Lake Airport, Chignik Lake, United States','country_id' => '228'),\narray('id' => '43','name' => '(ABP) - Atkamba Airport, Atkamba Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '44','name' => '(ADC) - Andakombe Airport, Andekombe, Papua New Guinea','country_id' => '172'),\narray('id' => '45','name' => '(ADV) - El Daein Airport, El Daein, Sudan','country_id' => '192'),\narray('id' => '46','name' => '(AEE) - Adareil Airport, , South Sudan','country_id' => '203'),\narray('id' => '47','name' => '(AEK) - Aseki Airport, Aseki, Papua New Guinea','country_id' => '172'),\narray('id' => '48','name' => '(URZ) - Or\"zgAn Airport, Or\"zgAn, Afghanistan','country_id' => '2'),\narray('id' => '49','name' => '(OLR) - Salerno Landing Zone Airport, , Afghanistan','country_id' => '2'),\narray('id' => '50','name' => '(AFR) - Afore Airstrip, , Papua New Guinea','country_id' => '172'),\narray('id' => '51','name' => '(AFT) - Afutara Aerodrome, Bila, Solomon Islands','country_id' => '190'),\narray('id' => '52','name' => '(RNA) - Ulawa Airport, Arona, Solomon Islands','country_id' => '190'),\narray('id' => '53','name' => '(ATD) - Uru Harbour Airport, Atoifi, Solomon Islands','country_id' => '190'),\narray('id' => '54','name' => '(VEV) - Barakoma Airport, Barakoma, Solomon Islands','country_id' => '190'),\narray('id' => '55','name' => '(GEF) - Geva Airport, Liangia, Solomon Islands','country_id' => '190'),\narray('id' => '56','name' => '(AGG) - Angoram Airport, Angoram, Papua New Guinea','country_id' => '172'),\narray('id' => '57','name' => '(AKS) - Auki Airport, Auki, Solomon Islands','country_id' => '190'),\narray('id' => '58','name' => '(BNY) - Bellona/Anua Airport, Anua, Solomon Islands','country_id' => '190'),\narray('id' => '59','name' => '(CHY) - Choiseul Bay Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '60','name' => '(BAS) - Ballalae Airport, Ballalae, Solomon Islands','country_id' => '190'),\narray('id' => '61','name' => '(FRE) - Fera/Maringe Airport, Fera Island, Solomon Islands','country_id' => '190'),\narray('id' => '62','name' => '(HIR) - Honiara International Airport, Honiara, Solomon Islands','country_id' => '190'),\narray('id' => '63','name' => '(MBU) - Babanakira Airport, Mbambanakira, Solomon Islands','country_id' => '190'),\narray('id' => '64','name' => '(AVU) - Avu Avu Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '65','name' => '(IRA) - Ngorangora Airport, Kirakira, Solomon Islands','country_id' => '190'),\narray('id' => '66','name' => '(SCZ) - Santa Cruz/Graciosa Bay/Luova Airport, Santa Cruz/Graciosa Bay/Luova, Solomon Islands','country_id' => '190'),\narray('id' => '67','name' => '(MUA) - Munda Airport, , Solomon Islands','country_id' => '190'),\narray('id' => '68','name' => '(GZO) - Nusatupe Airport, Gizo, Solomon Islands','country_id' => '190'),\narray('id' => '69','name' => '(MNY) - Mono Airport, Stirling Island, Solomon Islands','country_id' => '190'),\narray('id' => '70','name' => '(PRS) - Parasi Airport, Parasi, Solomon Islands','country_id' => '190'),\narray('id' => '71','name' => '(RNL) - Rennell/Tingoa Airport, Rennell Island, Solomon Islands','country_id' => '190'),\narray('id' => '72','name' => '(EGM) - Sege Airport, Sege, Solomon Islands','country_id' => '190'),\narray('id' => '73','name' => '(NNB) - Santa Ana Airport, Santa Ana Island, Solomon Islands','country_id' => '190'),\narray('id' => '74','name' => '(RUS) - Marau Airport, Marau, Solomon Islands','country_id' => '190'),\narray('id' => '75','name' => '(VAO) - Suavanao Airport, Suavanao, Solomon Islands','country_id' => '190'),\narray('id' => '76','name' => '(XYA) - Yandina Airport, Yandina, Solomon Islands','country_id' => '190'),\narray('id' => '77','name' => '(AGK) - Kagua Airport, Kagua, Papua New Guinea','country_id' => '172'),\narray('id' => '78','name' => '(KGE) - Kaghau Airport, Kagau Island, Solomon Islands','country_id' => '190'),\narray('id' => '79','name' => '(KUE) - Kukudu Airport, Kolombangara Island, Solomon Islands','country_id' => '190'),\narray('id' => '80','name' => '(KWS) - Kwailabesi Airport, Kwailabesi, Solomon Islands','country_id' => '190'),\narray('id' => '81','name' => '(AGL) - Wanigela Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '82','name' => '(NAZ) - Nana Airport, Star Harbor, Solomon Islands','country_id' => '190'),\narray('id' => '83','name' => '(RIN) - Ringi Cove Airport, Ringi Cove, Solomon Islands','country_id' => '190'),\narray('id' => '84','name' => '(RBV) - Ramata Airport, Ramata, Solomon Islands','country_id' => '190'),\narray('id' => '85','name' => '(AGY) - Argyle Downs Airport, Argyle Downs, Australia','country_id' => '12'),\narray('id' => '86','name' => '(AHJ) - Hongyuan Airport, Aba, China','country_id' => '45'),\narray('id' => '87','name' => '(AHY) - Ambatolhy Airport, Ambatolahy, Madagascar','country_id' => '138'),\narray('id' => '88','name' => '(AIE) - Aiome Airport, Aiome, Papua New Guinea','country_id' => '172'),\narray('id' => '89','name' => '(AIH) - Aiambak Airport, Aiambak, Papua New Guinea','country_id' => '172'),\narray('id' => '90','name' => '(AIC) - Ailinglaplap Airok Airport, Bigatyelang Island, Marshall Islands','country_id' => '139'),\narray('id' => '91','name' => '(CEX) - Chena Hot Springs Airport, Chena Hot Springs, United States','country_id' => '228'),\narray('id' => '92','name' => '(SOL) - Solomon State Field, Solomon, United States','country_id' => '228'),\narray('id' => '93','name' => '(HED) - Herendeen Bay Airport, Herendeen Bay, United States','country_id' => '228'),\narray('id' => '94','name' => '(TWE) - Taylor Airport, Taylor, United States','country_id' => '228'),\narray('id' => '95','name' => '(LNI) - Lonely Air Station, Lonely, United States','country_id' => '228'),\narray('id' => '96','name' => '(CDL) - Candle 2 Airport, Candle, United States','country_id' => '228'),\narray('id' => '97','name' => '(BSZ) - Bartletts Airport, Egegik, United States','country_id' => '228'),\narray('id' => '98','name' => '(BSW) - Boswell Bay Airport, Boswell Bay, United States','country_id' => '228'),\narray('id' => '99','name' => '(AKM) - Zakuoma Airport, ZaKouma, Chad','country_id' => '210'),\narray('id' => '100','name' => '(TGE) - Sharpe Field, Tuskegee, United States','country_id' => '228'),\narray('id' => '101','name' => '(PPE) - Mar de CortAs International Airport, Puerto PeAasco, Mexico','country_id' => '153'),\narray('id' => '102','name' => '(AME) - Alto Molocue Airport, Alto Molocue, Mozambique','country_id' => '155'),\narray('id' => '103','name' => '(AMF) - Ama Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '104','name' => '(AMU) - Amanab Airport, Amanab, Papua New Guinea','country_id' => '172'),\narray('id' => '105','name' => '(AMY) - Ambatomainty Airport, , Madagascar','country_id' => '138'),\narray('id' => '106','name' => '(INU) - Nauru International Airport, Yaren District, Nauru','country_id' => '165'),\narray('id' => '107','name' => '(ANZ) - Angus Downs Airport, Angus Downs Station, Australia','country_id' => '12'),\narray('id' => '108','name' => '(ANL) - Andulo Airport, , Angola','country_id' => '7'),\narray('id' => '109','name' => '(CNZ) - Cangamba Airport, Cangamba, Angola','country_id' => '7'),\narray('id' => '110','name' => '(DRC) - Dirico Airport, Dirico, Angola','country_id' => '7'),\narray('id' => '111','name' => '(GGC) - Lumbala Airport, Lumbala, Angola','country_id' => '7'),\narray('id' => '112','name' => '(JMB) - Jamba Airport, Jamba, Angola','country_id' => '7'),\narray('id' => '113','name' => '(KNP) - Capanda Airport, Capanda, Angola','country_id' => '7'),\narray('id' => '114','name' => '(NDF) - Ndalatandos Airport, Ndalatandos, Angola','country_id' => '7'),\narray('id' => '115','name' => '(AOB) - Annanberg Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '116','name' => '(AOD) - Abou-DeAa Airport, Abou-DeAa, Chad','country_id' => '210'),\narray('id' => '117','name' => '(APP) - Asapa Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '118','name' => '(APR) - April River Airport, April River, Papua New Guinea','country_id' => '172'),\narray('id' => '119','name' => '(AQY) - Girdwood Airport, Girdwood, United States','country_id' => '228'),\narray('id' => '120','name' => '(QRF) - Bragado Airport, Bragado, Argentina','country_id' => '9'),\narray('id' => '121','name' => '(CVI) - Caleta Olivia Airport, Caleta Olivia, Argentina','country_id' => '9'),\narray('id' => '122','name' => '(CNT) - Charata Airport, Charata, Argentina','country_id' => '9'),\narray('id' => '123','name' => '(VGS) - General Villegas Airport, General Villegas, Argentina','country_id' => '9'),\narray('id' => '124','name' => '(LMD) - Los Menucos Airport, Los Menucos, Argentina','country_id' => '9'),\narray('id' => '125','name' => '(VCF) - Valcheta Airport, Valcheta, Argentina','country_id' => '9'),\narray('id' => '126','name' => '(NCJ) - Sunchales Aeroclub Airport, Sunchales, Argentina','country_id' => '9'),\narray('id' => '127','name' => '(CPG) - Carmen De Patagones Airport, Carmen de Patagones, Argentina','country_id' => '9'),\narray('id' => '128','name' => '(PRQ) - Termal Airport, Presidencia Roque SAenz PeAa, Argentina','country_id' => '9'),\narray('id' => '129','name' => '(OLN) - Colonia Sarmiento Airport, Sarmiento, Argentina','country_id' => '9'),\narray('id' => '130','name' => '(ARP) - Aragip Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '131','name' => '(TAV) - Tau Airport, Tau Village, American Samoa','country_id' => '10'),\narray('id' => '132','name' => '(ASZ) - Asirim Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '133','name' => '(ATN) - Namatanai Airport, Namatanai, Papua New Guinea','country_id' => '172'),\narray('id' => '134','name' => '(ATP) - Aitape Airport, Aitape, Papua New Guinea','country_id' => '172'),\narray('id' => '135','name' => '(ATQ) - Shri Guru Ram Dass Ji International Airport Amritsar, Amritsar, India','country_id' => '101'),\narray('id' => '136','name' => '(LYT) - Lady Elliot Island Airstrip, Lady Elliot Island, Australia','country_id' => '12'),\narray('id' => '137','name' => '(AGW) - Agnew Airport, Agnew, Australia','country_id' => '12'),\narray('id' => '138','name' => '(AYD) - Alroy Downs Airport, Alroy Downs, Australia','country_id' => '12'),\narray('id' => '139','name' => '(BYX) - Baniyala Airport, Baniyala, Australia','country_id' => '12'),\narray('id' => '140','name' => '(COB) - Coolibah Airport, Coolibah, Australia','country_id' => '12'),\narray('id' => '141','name' => '(CRJ) - Coorabie Airport, Coorabie, Australia','country_id' => '12'),\narray('id' => '142','name' => '(CRY) - Carlton Hill Airport, Carlton Hill, Australia','country_id' => '12'),\narray('id' => '143','name' => '(CSD) - Cresswell Downs Airport, Cresswell Downs, Australia','country_id' => '12'),\narray('id' => '144','name' => '(DYM) - Diamantina Lakes Airport, Diamantina Lakes, Australia','country_id' => '12'),\narray('id' => '145','name' => '(HLV) - Helenvale Airport, Helenvale, Australia','country_id' => '12'),\narray('id' => '146','name' => '(KBD) - Kimberley Downs Airport, Kimberley Downs, Australia','country_id' => '12'),\narray('id' => '147','name' => '(KGR) - Kulgera Airport, Kulgera, Australia','country_id' => '12'),\narray('id' => '148','name' => '(MWY) - Miranda Downs Airport, Miranda Downs, Australia','country_id' => '12'),\narray('id' => '149','name' => '(MYO) - Camballin Airport, Myroodah, Australia','country_id' => '12'),\narray('id' => '150','name' => '(OKB) - Orchid Beach Airport, Orchid Beach, Australia','country_id' => '12'),\narray('id' => '151','name' => '(PEP) - Peppimenarti Airport, Peppimenarti, Australia','country_id' => '12'),\narray('id' => '152','name' => '(RDA) - Rockhampton Downs Airport, Rockhampton Downs, Australia','country_id' => '12'),\narray('id' => '153','name' => '(SSK) - Sturt Creek Airport, Sturt Creek, Australia','country_id' => '12'),\narray('id' => '154','name' => '(SWB) - Shaw River Airport, Shaw River, Australia','country_id' => '12'),\narray('id' => '155','name' => '(TPR) - Tom Price Airport, Tom Price, Australia','country_id' => '12'),\narray('id' => '156','name' => '(TWP) - Torwood Airport, Torwood, Australia','country_id' => '12'),\narray('id' => '157','name' => '(ZVG) - Springvale Airport, Springvale, Australia','country_id' => '12'),\narray('id' => '158','name' => '(AUI) - Aua Island Airport, Aua Island, Papua New Guinea','country_id' => '172'),\narray('id' => '159','name' => '(AUJ) - Ambunti Airport, Ambunti, Papua New Guinea','country_id' => '172'),\narray('id' => '160','name' => '(AUP) - Agaun Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '161','name' => '(AUV) - Aumo Airport, Aumo, Papua New Guinea','country_id' => '172'),\narray('id' => '162','name' => '(AWE) - Alowe Airport, Wonga WonguA Presidential Reserve, Gabon','country_id' => '73'),\narray('id' => '163','name' => '(AXF) - Alxa Left Banner-Bayanhot Airport, Bayanhot, China','country_id' => '45'),\narray('id' => '164','name' => '(KPM) - Kompiam Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '165','name' => '(BUA) - Buka Airport, Buka Island, Papua New Guinea','country_id' => '172'),\narray('id' => '166','name' => '(BRP) - Biaru Airport, Biaru, Papua New Guinea','country_id' => '172'),\narray('id' => '167','name' => '(CMU) - Chimbu Airport, Kundiawa, Papua New Guinea','country_id' => '172'),\narray('id' => '168','name' => '(MDM) - Munduku Airport, Munduku, Papua New Guinea','country_id' => '172'),\narray('id' => '169','name' => '(KPF) - Kondobol Airport, Kondobol, Papua New Guinea','country_id' => '172'),\narray('id' => '170','name' => '(DNU) - Dinangat Airport, Dinangat, Papua New Guinea','country_id' => '172'),\narray('id' => '171','name' => '(DOI) - Doini Airport, Castori Islets, Papua New Guinea','country_id' => '172'),\narray('id' => '172','name' => '(DAU) - Daru Airport, Daru, Papua New Guinea','country_id' => '172'),\narray('id' => '173','name' => '(EMS) - Embessa Airport, Embessa, Papua New Guinea','country_id' => '172'),\narray('id' => '174','name' => '(XYR) - Edwaki Airport, Yellow River Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '175','name' => '(EPT) - Eliptamin Airport, Eliptamin, Papua New Guinea','country_id' => '172'),\narray('id' => '176','name' => '(EGA) - Engati Airstrip, Engati, Papua New Guinea','country_id' => '172'),\narray('id' => '177','name' => '(EMO) - Emo River Airstrip, Emo Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '178','name' => '(ERU) - Erume Airport, Erume, Papua New Guinea','country_id' => '172'),\narray('id' => '179','name' => '(MFZ) - Meselia Airport, Demgulu, Papua New Guinea','country_id' => '172'),\narray('id' => '180','name' => '(FRQ) - Feramin Airport, Feramin, Papua New Guinea','country_id' => '172'),\narray('id' => '181','name' => '(FAQ) - Frieda River Airport, Frieda River, Papua New Guinea','country_id' => '172'),\narray('id' => '182','name' => '(FUM) - Fuma Airport, Fuma, Papua New Guinea','country_id' => '172'),\narray('id' => '183','name' => '(GKA) - Goroka Airport, Goronka, Papua New Guinea','country_id' => '172'),\narray('id' => '184','name' => '(GUG) - Guari Airport, Guari, Papua New Guinea','country_id' => '172'),\narray('id' => '185','name' => '(GRL) - Garasa Airport, Au, Papua New Guinea','country_id' => '172'),\narray('id' => '186','name' => '(GUR) - Gurney Airport, Gurney, Papua New Guinea','country_id' => '172'),\narray('id' => '187','name' => '(GAP) - Gusap Airport, Gusap, Papua New Guinea','country_id' => '172'),\narray('id' => '188','name' => '(PNP) - Girua Airport, Popondetta, Papua New Guinea','country_id' => '172'),\narray('id' => '189','name' => '(GBC) - Gasuke Airport, Gasuke, Papua New Guinea','country_id' => '172'),\narray('id' => '190','name' => '(HBD) - Habi Airport, Habi, Papua New Guinea','country_id' => '172'),\narray('id' => '191','name' => '(HNI) - Heiweni Airport, Heiweni, Papua New Guinea','country_id' => '172'),\narray('id' => '192','name' => '(HNN) - Honinabi Airport, Honinabi, Papua New Guinea','country_id' => '172'),\narray('id' => '193','name' => '(HKN) - Kimbe Airport, Hoskins, Papua New Guinea','country_id' => '172'),\narray('id' => '194','name' => '(HIT) - Haivaro Airport, Haivaro, Papua New Guinea','country_id' => '172'),\narray('id' => '195','name' => '(IMN) - Imane Airport, Imane, Papua New Guinea','country_id' => '172'),\narray('id' => '196','name' => '(KGM) - Kungim Airport, Kungim, Papua New Guinea','country_id' => '172'),\narray('id' => '197','name' => '(IMD) - Imonda Airport, Imonda, Papua New Guinea','country_id' => '172'),\narray('id' => '198','name' => '(IAL) - Ialibu Airport, Ialibu, Papua New Guinea','country_id' => '172'),\narray('id' => '199','name' => '(WIU) - Witu Airport, Garove Island, Papua New Guinea','country_id' => '172'),\narray('id' => '200','name' => '(KGH) - Yongai Airport, Yongai, Papua New Guinea','country_id' => '172'),\narray('id' => '201','name' => '(LSA) - Losuia Airport, Losuia, Papua New Guinea','country_id' => '172'),\narray('id' => '202','name' => '(KPA) - Kopiago Airport, Kopiago, Papua New Guinea','country_id' => '172'),\narray('id' => '203','name' => '(UNG) - Kiunga Airport, Kiunga, Papua New Guinea','country_id' => '172'),\narray('id' => '204','name' => '(KNE) - Kanainj Airport, Kanainj, Papua New Guinea','country_id' => '172'),\narray('id' => '205','name' => '(KRI) - Kikori Airport, Kikori, Papua New Guinea','country_id' => '172'),\narray('id' => '206','name' => '(KMA) - Kerema Airport, Kerema, Papua New Guinea','country_id' => '172'),\narray('id' => '207','name' => '(KRX) - Kar Kar Airport, Kar Kar Island, Papua New Guinea','country_id' => '172'),\narray('id' => '208','name' => '(KIE) - Kieta Airport, Kieta, Papua New Guinea','country_id' => '172'),\narray('id' => '209','name' => '(KUQ) - Kuri Airport, Kuri, Papua New Guinea','country_id' => '172'),\narray('id' => '210','name' => '(KVG) - Kavieng Airport, Kavieng, Papua New Guinea','country_id' => '172'),\narray('id' => '211','name' => '(LNV) - Londolovit Airport, Londolovit, Papua New Guinea','country_id' => '172'),\narray('id' => '212','name' => '(LAB) - Lab Lab Airport, Lab Lab Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '213','name' => '(LWI) - Lowai Airport, Lowai, Papua New Guinea','country_id' => '172'),\narray('id' => '214','name' => '(LPN) - Leron Plains Airport, Leron Plains, Papua New Guinea','country_id' => '172'),\narray('id' => '215','name' => '(LNG) - Lese Airport, Lese, Papua New Guinea','country_id' => '172'),\narray('id' => '216','name' => '(LSJ) - Long Island Airport, Long Island, Papua New Guinea','country_id' => '172'),\narray('id' => '217','name' => '(MRM) - Manari Airport, Manari, Papua New Guinea','country_id' => '172'),\narray('id' => '218','name' => '(OBM) - Morobe Airport, Morobe, Papua New Guinea','country_id' => '172'),\narray('id' => '219','name' => '(MAG) - Madang Airport, Madang, Papua New Guinea','country_id' => '172'),\narray('id' => '220','name' => '(HGU) - Mount Hagen Kagamuga Airport, Mount Hagen, Papua New Guinea','country_id' => '172'),\narray('id' => '221','name' => '(GUV) - Mougulu Airport, Mougulu, Papua New Guinea','country_id' => '172'),\narray('id' => '222','name' => '(MDU) - Mendi Airport, Mendi, Papua New Guinea','country_id' => '172'),\narray('id' => '223','name' => '(MAS) - Momote Airport, Manus Island, Papua New Guinea','country_id' => '172'),\narray('id' => '224','name' => '(MXH) - Moro Airport, Moro, Papua New Guinea','country_id' => '172'),\narray('id' => '225','name' => '(MIS) - Misima Island Airport, Misima Island, Papua New Guinea','country_id' => '172'),\narray('id' => '226','name' => '(MWG) - Marawaka Airport, Marawaka, Papua New Guinea','country_id' => '172'),\narray('id' => '227','name' => '(NKN) - Nankina Airport, Gwarawon, Papua New Guinea','country_id' => '172'),\narray('id' => '228','name' => '(GBF) - Negarbo(Negabo) Airport, Negarbo, Papua New Guinea','country_id' => '172'),\narray('id' => '229','name' => '(MFO) - Manguna Airport, Manguna, Papua New Guinea','country_id' => '172'),\narray('id' => '230','name' => '(KSB) - Kasonombe Airport, Kasonombe, Papua New Guinea','country_id' => '172'),\narray('id' => '231','name' => '(NMN) - Nomane Airport, Namane, Papua New Guinea','country_id' => '172'),\narray('id' => '232','name' => '(NBA) - Nambaiyufa Airport, Nambaiyufa, Papua New Guinea','country_id' => '172'),\narray('id' => '233','name' => '(LAE) - Nadzab Airport, Lae, Papua New Guinea','country_id' => '172'),\narray('id' => '234','name' => '(KGB) - Konge Airport, Konge, Papua New Guinea','country_id' => '172'),\narray('id' => '235','name' => '(OKP) - Oksapmin Airport, Oksapmin, Papua New Guinea','country_id' => '172'),\narray('id' => '236','name' => '(HOC) - Komako Airport, Komako, Papua New Guinea','country_id' => '172'),\narray('id' => '237','name' => '(KCJ) - Komaio Airport, Komaio, Papua New Guinea','country_id' => '172'),\narray('id' => '238','name' => '(KDE) - Koroba Airport, Koroba, Papua New Guinea','country_id' => '172'),\narray('id' => '239','name' => '(PGB) - Pangoa Airport, Pangoa, Papua New Guinea','country_id' => '172'),\narray('id' => '240','name' => '(PGN) - Pangia Airport, Pangia, Papua New Guinea','country_id' => '172'),\narray('id' => '241','name' => '(MPF) - Mapoda Airport, Mapoda, Papua New Guinea','country_id' => '172'),\narray('id' => '242','name' => '(PMN) - Pumani Airport, Pumani, Papua New Guinea','country_id' => '172'),\narray('id' => '243','name' => '(POM) - Port Moresby Jacksons International Airport, Port Moresby, Papua New Guinea','country_id' => '172'),\narray('id' => '244','name' => '(SPH) - Sopu Airport, Sopu, Papua New Guinea','country_id' => '172'),\narray('id' => '245','name' => '(SXA) - Sialum Airport, Sialum, Papua New Guinea','country_id' => '172'),\narray('id' => '246','name' => '(RMN) - Rumginae Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '247','name' => '(KMR) - Karimui Airport, Karimui, Papua New Guinea','country_id' => '172'),\narray('id' => '248','name' => '(MWI) - Maramuni Airport, Maramuni, Papua New Guinea','country_id' => '172'),\narray('id' => '249','name' => '(MRH) - May River Airstrip, May River, Papua New Guinea','country_id' => '172'),\narray('id' => '250','name' => '(SBE) - Suabi Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '251','name' => '(NIS) - Simberi Airport, Simberi Island, Papua New Guinea','country_id' => '172'),\narray('id' => '252','name' => '(SIL) - Sila Airport, Sila Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '253','name' => '(SBV) - Sabah Airport, Sabah, Papua New Guinea','country_id' => '172'),\narray('id' => '254','name' => '(SIM) - Simbai Airport, Simbai, Papua New Guinea','country_id' => '172'),\narray('id' => '255','name' => '(SBC) - Selbang Airport, Selbang, Papua New Guinea','country_id' => '172'),\narray('id' => '256','name' => '(SPV) - Sepik Plains Airport, Sepik Plains, Papua New Guinea','country_id' => '172'),\narray('id' => '257','name' => '(SXW) - Sauren Airport, Sauren, Papua New Guinea','country_id' => '172'),\narray('id' => '258','name' => '(MBV) - Masa Airport, Masa, Papua New Guinea','country_id' => '172'),\narray('id' => '259','name' => '(TIZ) - Tari Airport, Tari, Papua New Guinea','country_id' => '172'),\narray('id' => '260','name' => '(TBG) - Tabubil Airport, Tabubil, Papua New Guinea','country_id' => '172'),\narray('id' => '261','name' => '(TPI) - Tapini Airport, Tapini, Papua New Guinea','country_id' => '172'),\narray('id' => '262','name' => '(RAB) - Tokua Airport, Tokua, Papua New Guinea','country_id' => '172'),\narray('id' => '263','name' => '(TKW) - Tekin Airport, Tekin, Papua New Guinea','country_id' => '172'),\narray('id' => '264','name' => '(TEP) - Tep Tep Airport, Teptep, Papua New Guinea','country_id' => '172'),\narray('id' => '265','name' => '(TSW) - Tsewi Airport, Tsewi, Papua New Guinea','country_id' => '172'),\narray('id' => '266','name' => '(TRJ) - Tarakbits Airport, Tarakbits, Papua New Guinea','country_id' => '172'),\narray('id' => '267','name' => '(TWY) - Tawa Airport, Tawa, Papua New Guinea','country_id' => '172'),\narray('id' => '268','name' => '(TKB) - Tekadu Airport, Tekadu, Papua New Guinea','country_id' => '172'),\narray('id' => '269','name' => '(AYU) - Aiyura Airport, Aiyura Valley, Papua New Guinea','country_id' => '172'),\narray('id' => '270','name' => '(UMC) - Umba Airport, Umba, Papua New Guinea','country_id' => '172'),\narray('id' => '271','name' => '(URU) - Uroubi Airport, Uroubi, Papua New Guinea','country_id' => '172'),\narray('id' => '272','name' => '(UPR) - Upiara Airport, Upiara, Papua New Guinea','country_id' => '172'),\narray('id' => '273','name' => '(UVO) - Uvol Airport, Uvol, Papua New Guinea','country_id' => '172'),\narray('id' => '274','name' => '(TLW) - Talasea Airport, Talasea, Papua New Guinea','country_id' => '172'),\narray('id' => '275','name' => '(TCJ) - Torembi Airport, Torembi, Papua New Guinea','country_id' => '172'),\narray('id' => '276','name' => '(VAI) - Vanimo Airport, Vanimo, Papua New Guinea','country_id' => '172'),\narray('id' => '277','name' => '(TON) - Tonu Airport, Tonu, Papua New Guinea','country_id' => '172'),\narray('id' => '278','name' => '(WAO) - Wabo Airport, Wabo, Papua New Guinea','country_id' => '172'),\narray('id' => '279','name' => '(WBM) - Wapenamanda Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '280','name' => '(WAJ) - Wawoi Falls Airport, Wavoi Falls, Papua New Guinea','country_id' => '172'),\narray('id' => '281','name' => '(WWK) - Wewak International Airport, Wewak, Papua New Guinea','country_id' => '172'),\narray('id' => '282','name' => '(WOA) - Wonenara Airport, Wonenara, Papua New Guinea','country_id' => '172'),\narray('id' => '283','name' => '(WSU) - Wasu Airport, Wasu, Papua New Guinea','country_id' => '172'),\narray('id' => '284','name' => '(WTP) - Woitape Airport, Fatima Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '285','name' => '(WUG) - Wau Airport, Wau, Papua New Guinea','country_id' => '172'),\narray('id' => '286','name' => '(YVD) - Yeva Airport, Yeva, Papua New Guinea','country_id' => '172'),\narray('id' => '287','name' => '(SMJ) - Sim Airport, Sim, Papua New Guinea','country_id' => '172'),\narray('id' => '288','name' => '(WEP) - Weam Airport, Weam, Papua New Guinea','country_id' => '172'),\narray('id' => '289','name' => '(KYX) - Yalumet Airport, Yalumet, Papua New Guinea','country_id' => '172'),\narray('id' => '290','name' => '(KSX) - Yasuru Airport, Yasuru, Papua New Guinea','country_id' => '172'),\narray('id' => '291','name' => '(WUM) - Wasum Airport, Wasum, Papua New Guinea','country_id' => '172'),\narray('id' => '292','name' => '(ZXT) - Zabrat Airport, Baku, Azerbaijan','country_id' => '14'),\narray('id' => '293','name' => '(AZB) - Amazon Bay Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '294','name' => '(BAJ) - Bali Airport, Unea Island, Papua New Guinea','country_id' => '172'),\narray('id' => '295','name' => '(BKG) - Branson Airport, Branson, United States','country_id' => '228'),\narray('id' => '296','name' => '(BCP) - Bambu Airport, Bambu, Papua New Guinea','country_id' => '172'),\narray('id' => '297','name' => '(BCW) - Benguera Island Airport, Benguera Island, Mozambique','country_id' => '155'),\narray('id' => '298','name' => '(BCZ) - Milyakburra Airport, Bickerton Island, Australia','country_id' => '12'),\narray('id' => '299','name' => '(ILL) - Willmar Municipal -John L Rice Field, Willmar, United States','country_id' => '228'),\narray('id' => '300','name' => '(BDZ) - Baindoung Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '301','name' => '(HKV) - Malevo Airport, Haskovo, Bulgaria','country_id' => '20'),\narray('id' => '302','name' => '(JAM) - Bezmer Air Base, Yambol, Bulgaria','country_id' => '20'),\narray('id' => '303','name' => '(JEG) - Aasiaat Airport, Aasiaat, Greenland','country_id' => '81'),\narray('id' => '304','name' => '(UAK) - Narsarsuaq Airport, Narsarsuaq, Greenland','country_id' => '81'),\narray('id' => '305','name' => '(CNP) - Neerlerit Inaat Airport, Neerlerit Inaat, Greenland','country_id' => '81'),\narray('id' => '306','name' => '(GOH) - Godthaab / Nuuk Airport, Nuuk, Greenland','country_id' => '81'),\narray('id' => '307','name' => '(JAV) - Ilulissat Airport, Ilulissat, Greenland','country_id' => '81'),\narray('id' => '308','name' => '(KUS) - Kulusuk Airport, Kulusuk, Greenland','country_id' => '81'),\narray('id' => '309','name' => '(JSU) - Maniitsoq Airport, Maniitsoq, Greenland','country_id' => '81'),\narray('id' => '310','name' => '(BGP) - Bongo Airport, Bongo, Gabon','country_id' => '73'),\narray('id' => '311','name' => '(JFR) - Paamiut Airport, Paamiut, Greenland','country_id' => '81'),\narray('id' => '312','name' => '(NAQ) - Qaanaaq Airport, Qaanaaq, Greenland','country_id' => '81'),\narray('id' => '313','name' => '(SFJ) - Kangerlussuaq Airport, Kangerlussuaq, Greenland','country_id' => '81'),\narray('id' => '314','name' => '(JHS) - Sisimiut Airport, Sisimiut, Greenland','country_id' => '81'),\narray('id' => '315','name' => '(THU) - Thule Air Base, Thule, Greenland','country_id' => '81'),\narray('id' => '316','name' => '(JUV) - Upernavik Airport, Upernavik, Greenland','country_id' => '81'),\narray('id' => '317','name' => '(JQA) - Qaarsut Airport, Uummannaq, Greenland','country_id' => '81'),\narray('id' => '318','name' => '(BHL) - BahAa de los Angeles Airport, BahAa de los Angeles, Mexico','country_id' => '153'),\narray('id' => '319','name' => '(BHT) - Brighton Downs Airport, , Australia','country_id' => '12'),\narray('id' => '320','name' => '(AEY) - Akureyri Airport, Akureyri, Iceland','country_id' => '105'),\narray('id' => '321','name' => '(BIU) - Bildudalur Airport, Bildudalur, Iceland','country_id' => '105'),\narray('id' => '322','name' => '(BGJ) - BorgarfjArAur eystri Airport, BorgarfjArAur eystri, Iceland','country_id' => '105'),\narray('id' => '323','name' => '(BJD) - BakkafjArAur Airport, BakkafjArAur, Iceland','country_id' => '105'),\narray('id' => '324','name' => '(BLO) - Hjaltabakki Airport, BlAnduAs, Iceland','country_id' => '105'),\narray('id' => '325','name' => '(BQD) - BAoAardalur Airport, BAoAardalur, Iceland','country_id' => '105'),\narray('id' => '326','name' => '(BXV) - BreiAdalsvAk Airport, BreiAdalsvAk, Iceland','country_id' => '105'),\narray('id' => '327','name' => '(DJU) - DjAopivogur Airport, DjAopivogur, Iceland','country_id' => '105'),\narray('id' => '328','name' => '(EGS) - EgilsstaAir Airport, EgilsstaAir, Iceland','country_id' => '105'),\narray('id' => '329','name' => '(FAS) - FAskrAoAsfjArAur Airport, FAskrAoAsfjArAur, Iceland','country_id' => '105'),\narray('id' => '330','name' => '(FAG) - FagurhAlsmAri Airport, FagurhAlsmAri, Iceland','country_id' => '105'),\narray('id' => '331','name' => '(GUU) - GrundarfjArAur Airport, GrundarfjArAur, Iceland','country_id' => '105'),\narray('id' => '332','name' => '(GJR) - GjAgur Airport, GjAgur, Iceland','country_id' => '105'),\narray('id' => '333','name' => '(GRY) - GrAmsey Airport, GrAmsey, Iceland','country_id' => '105'),\narray('id' => '334','name' => '(HVK) - HAlmavAk Airport, HAlmavAk, Iceland','country_id' => '105'),\narray('id' => '335','name' => '(HFN) - HornafjArAur Airport, HAfn, Iceland','country_id' => '105'),\narray('id' => '336','name' => '(FLI) - Holt Airport, Flateyri, Iceland','country_id' => '105'),\narray('id' => '337','name' => '(HZK) - HAosavAk Airport, HAosavAk, Iceland','country_id' => '105'),\narray('id' => '338','name' => '(HVM) - KrAkstaAarmelar Airport, Hvammstangi, Iceland','country_id' => '105'),\narray('id' => '339','name' => '(HLO) - IngjaldssanAur Airport, OnundarfjArAur, Iceland','country_id' => '105'),\narray('id' => '340','name' => '(IFJ) - AsafjArAur Airport, AsafjArAur, Iceland','country_id' => '105'),\narray('id' => '341','name' => '(KEF) - Keflavik International Airport, ReykjavAk, Iceland','country_id' => '105'),\narray('id' => '342','name' => '(OPA) - KApasker Airport, KApasker, Iceland','country_id' => '105'),\narray('id' => '343','name' => '(SAK) - SauAArkrAkur Airport, SauAArkrAkur, Iceland','country_id' => '105'),\narray('id' => '344','name' => '(NOR) - NorAfjArAur Airport, NorAfjArAur, Iceland','country_id' => '105'),\narray('id' => '345','name' => '(OFJ) - A\"lafsfjArAur Airport, A\"lafsfjArAur, Iceland','country_id' => '105'),\narray('id' => '346','name' => '(PFJ) - PatreksfjArAur Airport, PatreksfjArAur, Iceland','country_id' => '105'),\narray('id' => '347','name' => '(RHA) - ReykhAlar Airport, ReykhAlar, Iceland','country_id' => '105'),\narray('id' => '348','name' => '(OLI) - Rif Airport, Rif, Iceland','country_id' => '105'),\narray('id' => '349','name' => '(RFN) - RaufarhAfn Airport, RaufarhAfn, Iceland','country_id' => '105'),\narray('id' => '350','name' => '(RKV) - Reykjavik Airport, Reykjavik, Iceland','country_id' => '105'),\narray('id' => '351','name' => '(MVA) - ReykjahlAA Airport, Myvatn, Iceland','country_id' => '105'),\narray('id' => '352','name' => '(SIJ) - SiglufjArAur Airport, SiglufjArAur, Iceland','country_id' => '105'),\narray('id' => '353','name' => '(SYK) - StykkishAlmur Airport, StykkishAlmur, Iceland','country_id' => '105'),\narray('id' => '354','name' => '(TEY) - Aingeyri Airport, Aingeyri, Iceland','country_id' => '105'),\narray('id' => '355','name' => '(THO) - Thorshofn Airport, Thorshofn, Iceland','country_id' => '105'),\narray('id' => '356','name' => '(VEY) - Vestmannaeyjar Airport, Vestmannaeyjar, Iceland','country_id' => '105'),\narray('id' => '357','name' => '(VPN) - VopnafjArAur Airport, VopnafjArAur, Iceland','country_id' => '105'),\narray('id' => '358','name' => '(BJE) - Baleela Airport, Baleela Base Camp, Sudan','country_id' => '192'),\narray('id' => '359','name' => '(BJQ) - Bahja Airport, Bahja, Oman','country_id' => '168'),\narray('id' => '360','name' => '(PRN) - Pritina International Airport, Prishtina, Kosovo','country_id' => '240'),\narray('id' => '361','name' => '(BMH) - Bomai Airport, Bomai, Papua New Guinea','country_id' => '172'),\narray('id' => '362','name' => '(BMQ) - Bamburi Airport, , Kenya','country_id' => '111'),\narray('id' => '363','name' => '(BMZ) - Bamu Airport, Bamu, Papua New Guinea','country_id' => '172'),\narray('id' => '364','name' => '(BNM) - Bodinumu Airport, Bodinumu, Papua New Guinea','country_id' => '172'),\narray('id' => '365','name' => '(BNT) - Bundi Airport, Bundi, Papua New Guinea','country_id' => '172'),\narray('id' => '366','name' => '(RBQ) - Rurenabaque Airport, Rurenabaque, Bolivia','country_id' => '27'),\narray('id' => '367','name' => '(BVL) - Baures Airport, Baures, Bolivia','country_id' => '27'),\narray('id' => '368','name' => '(BOK) - Brookings Airport, Brookings, United States','country_id' => '228'),\narray('id' => '369','name' => '(BOT) - Bosset Airport, Bosset, Papua New Guinea','country_id' => '172'),\narray('id' => '370','name' => '(BOV) - Boang Airport, Boang Island, Papua New Guinea','country_id' => '172'),\narray('id' => '371','name' => '(BPF) - Batuna Aerodrome, Batuna Mission Station, Solomon Islands','country_id' => '190'),\narray('id' => '372','name' => '(ALT) - Alenquer Airport, Alenquer, Brazil','country_id' => '29'),\narray('id' => '373','name' => '(BSI) - Blairsville, Blairsville, United States','country_id' => '228'),\narray('id' => '374','name' => '(BSP) - Bensbach Airport, Bensbach, Papua New Guinea','country_id' => '172'),\narray('id' => '375','name' => '(BSV) - Besakoa Airport, Besakoa, Madagascar','country_id' => '138'),\narray('id' => '376','name' => '(BUL) - Bulolo Airport, Bulolo, Papua New Guinea','country_id' => '172'),\narray('id' => '377','name' => '(BVR) - Esperadinha Airport, Brava Island, Cape Verde','country_id' => '49'),\narray('id' => '378','name' => '(HUK) - Hukuntsi Airport, Hukuntsi, Botswana','country_id' => '32'),\narray('id' => '379','name' => '(BWJ) - Bawan Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '380','name' => '(BWP) - Bewani Airport, Bewani, Papua New Guinea','country_id' => '172'),\narray('id' => '381','name' => '(BXZ) - Bunsil Airport, Bunsil - Umboi Island, Papua New Guinea','country_id' => '172'),\narray('id' => '382','name' => '(BYA) - Boundary Airport, Boundary, United States','country_id' => '228'),\narray('id' => '383','name' => '(BYL) - Bella Yella Airport, Beliyela, Liberia','country_id' => '127'),\narray('id' => '384','name' => '(BCV) - Belmopan Airport, Belmopan, Belize','country_id' => '34'),\narray('id' => '385','name' => '(BGK) - Big Creek Airport, Big Creek, Belize','country_id' => '34'),\narray('id' => '386','name' => '(CUK) - Caye Caulker Airport, Caye Caulker, Belize','country_id' => '34'),\narray('id' => '387','name' => '(CYC) - Caye Chapel Airport, Caye Chapel, Belize','country_id' => '34'),\narray('id' => '388','name' => '(CZH) - Corozal Municipal Airport, Corozal, Belize','country_id' => '34'),\narray('id' => '389','name' => '(DGA) - Dangriga Airport, Dangriga, Belize','country_id' => '34'),\narray('id' => '390','name' => '(INB) - Independence Airport, Independence, Belize','country_id' => '34'),\narray('id' => '391','name' => '(MDB) - Melinda Airport, Melinda, Belize','country_id' => '34'),\narray('id' => '392','name' => '(ORZ) - Orange Walk Airport, Orange Walk, Belize','country_id' => '34'),\narray('id' => '393','name' => '(PLJ) - Placencia Airport, Placencia, Belize','country_id' => '34'),\narray('id' => '394','name' => '(PND) - Punta Gorda Airport, Punta Gorda, Belize','country_id' => '34'),\narray('id' => '395','name' => '(SJX) - Sartaneja Airport, Sartaneja, Belize','country_id' => '34'),\narray('id' => '396','name' => '(SPR) - San Pedro Airport, San Pedro, Belize','country_id' => '34'),\narray('id' => '397','name' => '(SQS) - Matthew Spain Airport, San Ignacio, Belize','country_id' => '34'),\narray('id' => '398','name' => '(STU) - Santa Cruz Airport, Santa Cruz, Belize','country_id' => '34'),\narray('id' => '399','name' => '(SVK) - Silver Creek Airport, Silver Creek, Belize','country_id' => '34'),\narray('id' => '400','name' => '(TZA) - Belize City Municipal Airport, Belize City, Belize','country_id' => '34'),\narray('id' => '401','name' => '(BZB) - Bazaruto Island Airport, Bazaruto Island, Mozambique','country_id' => '155'),\narray('id' => '402','name' => '(BZM) - Bemolanga Airport, Bemolanga, Madagascar','country_id' => '138'),\narray('id' => '403','name' => '(YRR) - Stuart Island Airstrip, Big Bay, Canada','country_id' => '35'),\narray('id' => '404','name' => '(YMV) - Mary River Aerodrome, , Canada','country_id' => '35'),\narray('id' => '405','name' => '(YZZ) - Trail Airport, Trail, Canada','country_id' => '35'),\narray('id' => '406','name' => '(YMB) - Merritt Airport, Merritt, Canada','country_id' => '35'),\narray('id' => '407','name' => '(CJH) - Chilko Lake (Tsylos Park Lodge) Airport, Chilko Lake, Canada','country_id' => '35'),\narray('id' => '408','name' => '(YCA) - Courtenay Airpark, Courtenay, Canada','country_id' => '35'),\narray('id' => '409','name' => '(CFQ) - Creston Valley Regional Airport - Art Sutcliffe Field, Creston, Canada','country_id' => '35'),\narray('id' => '410','name' => '(YAA) - Anahim Lake Airport, Anahim Lake, Canada','country_id' => '35'),\narray('id' => '411','name' => '(DGF) - Douglas Lake Airport, Douglas Lake, Canada','country_id' => '35'),\narray('id' => '412','name' => '(JHL) - Fort MacKay/Albian Aerodrome, Albian Village, Canada','country_id' => '35'),\narray('id' => '413','name' => '(DUQ) - Duncan Airport, Duncan, Canada','country_id' => '35'),\narray('id' => '414','name' => '(YHS) - Sechelt-Gibsons Airport, Sechelt, Canada','country_id' => '35'),\narray('id' => '415','name' => '(XQU) - Qualicum Beach Airport, Qualicum Beach, Canada','country_id' => '35'),\narray('id' => '416','name' => '(YMP) - Port Mcneill Airport, Port Mcneill, Canada','country_id' => '35'),\narray('id' => '417','name' => '(YZA) - Cache Creek-Ashcroft Regional Airport, Cache Creek, Canada','country_id' => '35'),\narray('id' => '418','name' => '(CBC) - Cherrabun Airport, , Australia','country_id' => '12'),\narray('id' => '419','name' => '(YPB) - Alberni Valley Regional Airport, Port Alberni, Canada','country_id' => '35'),\narray('id' => '420','name' => '(YBO) - Bob Quinn Lake Airport, Bob Quinn Lake, Canada','country_id' => '35'),\narray('id' => '421','name' => '(TNS) - Tungsten (Cantung) Airport, Tungsten, Canada','country_id' => '35'),\narray('id' => '422','name' => '(TUX) - Tumbler Ridge Airport, Tumbler Ridge, Canada','country_id' => '35'),\narray('id' => '423','name' => '(YWM) - Williams Harbour Airport, Williams Harbour, Canada','country_id' => '35'),\narray('id' => '424','name' => '(YSO) - Postville Airport, Postville, Canada','country_id' => '35'),\narray('id' => '425','name' => '(YBI) - Black Tickle Airport, Black Tickle, Canada','country_id' => '35'),\narray('id' => '426','name' => '(YFX) - St. Lewis (Fox Harbour) Airport, St. Lewis, Canada','country_id' => '35'),\narray('id' => '427','name' => '(YHA) - Port Hope Simpson Airport, Port Hope Simpson, Canada','country_id' => '35'),\narray('id' => '428','name' => '(YRG) - Rigolet Airport, Rigolet, Canada','country_id' => '35'),\narray('id' => '429','name' => '(CDK) - George T Lewis Airport, Cedar Key, United States','country_id' => '228'),\narray('id' => '430','name' => '(DVK) - Diavik Airport, Diavik, Canada','country_id' => '35'),\narray('id' => '431','name' => '(JOJ) - Doris Lake, Hope Bay, Canada','country_id' => '35'),\narray('id' => '432','name' => '(ZFW) - Fairview Airport, Fairview, Canada','country_id' => '35'),\narray('id' => '433','name' => '(YJP) - Hinton/Jasper-Hinton Airport, Hinton, Canada','country_id' => '35'),\narray('id' => '434','name' => '(YLE) - WhatA Airport, WhatA, Canada','country_id' => '35'),\narray('id' => '435','name' => '(YGC) - Grande Cache Airport, Grande Cache, Canada','country_id' => '35'),\narray('id' => '436','name' => '(YDC) - Drayton Valley Industrial Airport, Drayton Valley, Canada','country_id' => '35'),\narray('id' => '437','name' => '(NML) - Fort McMurray / Mildred Lake Airport, Fort McMurray, Canada','country_id' => '35'),\narray('id' => '438','name' => '(ZSP) - St. Paul Airport, St. Paul, Canada','country_id' => '35'),\narray('id' => '439','name' => '(GSL) - Taltheilei Narrows Airport, Taltheilei Narrows, Canada','country_id' => '35'),\narray('id' => '440','name' => '(XMP) - Macmillan Pass Airport, Macmillan Pass, Canada','country_id' => '35'),\narray('id' => '441','name' => '(DAS) - Great Bear Lake Airport, Great Bear Lake, Canada','country_id' => '35'),\narray('id' => '442','name' => '(YFI) - Fort Mackay / Firebag, Suncor Energy Site, Canada','country_id' => '35'),\narray('id' => '443','name' => '(YFJ) - WekweAtA Airport, WekweAtA, Canada','country_id' => '35'),\narray('id' => '444','name' => '(YOE) - Donnelly Airport, Donnelly, Canada','country_id' => '35'),\narray('id' => '445','name' => '(TIL) - Cheadle Airport, Cheadle, Canada','country_id' => '35'),\narray('id' => '446','name' => '(OKG) - Okoyo Airport, Okoyo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '447','name' => '(CGC) - Cape Gloucester Airport, Cape Gloucester, Papua New Guinea','country_id' => '172'),\narray('id' => '448','name' => '(CGG) - Casiguran Airport, Casiguran, Philippines','country_id' => '173'),\narray('id' => '449','name' => '(CGT) - Chinguetti Airport, Chinguetti, Mauritania','country_id' => '147'),\narray('id' => '450','name' => '(CHP) - Circle Hot Springs Airport, Circle Hot Springs, United States','country_id' => '228'),\narray('id' => '451','name' => '(LRQ) - Laurie River Airport, Laurie River, Canada','country_id' => '35'),\narray('id' => '452','name' => '(YDJ) - Hatchet Lake Airport, Hatchet Lake, Canada','country_id' => '35'),\narray('id' => '453','name' => '(YDU) - Kasba Lake Airport, Kasba Lake, Canada','country_id' => '35'),\narray('id' => '454','name' => '(XCL) - Cluff Lake Airport, Cluff Lake, Canada','country_id' => '35'),\narray('id' => '455','name' => '(YKE) - Knee Lake Airport, Knee Lake, Canada','country_id' => '35'),\narray('id' => '456','name' => '(SUR) - Summer Beaver Airport, Summer Beaver, Canada','country_id' => '35'),\narray('id' => '457','name' => '(CKD) - Crooked Creek Airport, Crooked Creek, United States','country_id' => '228'),\narray('id' => '458','name' => '(YTT) - Tisdale Airport, Tisdale, Canada','country_id' => '35'),\narray('id' => '459','name' => '(YAX) - Wapekeka Airport, Angling Lake, Canada','country_id' => '35'),\narray('id' => '460','name' => '(WNN) - Wunnumin Lake Airport, Wunnumin Lake, Canada','country_id' => '35'),\narray('id' => '461','name' => '(YBS) - Opapimiskan Lake Airport, Opapimiskan Lake, Canada','country_id' => '35'),\narray('id' => '462','name' => '(YNO) - North Spirit Lake Airport, North Spirit Lake, Canada','country_id' => '35'),\narray('id' => '463','name' => '(CKR) - Crane Island Airstrip, Crane Island, United States','country_id' => '228'),\narray('id' => '464','name' => '(CKU) - Cordova Municipal Airport, Cordova, United States','country_id' => '228'),\narray('id' => '465','name' => '(YDW) - North of Sixty Airport, Obre Lake, Canada','country_id' => '35'),\narray('id' => '466','name' => '(CKX) - Chicken Airport, Chicken, United States','country_id' => '228'),\narray('id' => '467','name' => '(CMT) - New CametA Airport, CametA, Brazil','country_id' => '29'),\narray('id' => '468','name' => '(CMZ) - Caia Airport, Caia, Mozambique','country_id' => '155'),\narray('id' => '469','name' => '(TVS) - Tangshan SannAhe Airport, Tangshan, China','country_id' => '45'),\narray('id' => '470','name' => '(YUA) - Yuanmou Air Base, Yuanmou, China','country_id' => '45'),\narray('id' => '471','name' => '(ZQZ) - Zhangjiakou Ningyuan Airport, Zhangjiakou, China','country_id' => '45'),\narray('id' => '472','name' => '(BSD) - Baoshan Yunduan Airport, , China','country_id' => '45'),\narray('id' => '473','name' => '(DZU) - Dazu Air Base, Dazu, China','country_id' => '45'),\narray('id' => '474','name' => '(LNJ) - Lintsang Airfield, Lincang, China','country_id' => '45'),\narray('id' => '475','name' => '(RKZ) - Shigatse Air Base, XigazAa, China','country_id' => '45'),\narray('id' => '476','name' => '(PZI) - Bao\\'anying Airport, Panzhihua, China','country_id' => '45'),\narray('id' => '477','name' => '(FUO) - Foshan Shadi Airport, Foshan, China','country_id' => '45'),\narray('id' => '478','name' => '(HUZ) - Huizhou Airport, Huizhou, China','country_id' => '45'),\narray('id' => '479','name' => '(HSC) - Shaoguan Guitou Airport, Shaoguan, China','country_id' => '45'),\narray('id' => '480','name' => '(JGS) - Jinggangshan Airport, Ji\\'an, China','country_id' => '45'),\narray('id' => '481','name' => '(AEB) - Baise Youjiang Airport, Baise, China','country_id' => '45'),\narray('id' => '482','name' => '(DOY) - Dongying Shengli Airport, Dongying, China','country_id' => '45'),\narray('id' => '483','name' => '(XEN) - Xingcheng Air Base, , China','country_id' => '45'),\narray('id' => '484','name' => '(AAT) - Altay Air Base, Altay, China','country_id' => '45'),\narray('id' => '485','name' => '(THQ) - Tianshui Maijishan Airport, Tianshui, China','country_id' => '45'),\narray('id' => '486','name' => '(YZY) - Zhangye Ganzhou Airport, Zhangye, China','country_id' => '45'),\narray('id' => '487','name' => '(DDG) - Dandong Airport, Dandong, China','country_id' => '45'),\narray('id' => '488','name' => '(NTG) - Nantong Airport, Nantong, China','country_id' => '45'),\narray('id' => '489','name' => '(XBE) - Bearskin Lake Airport, Bearskin Lake, Canada','country_id' => '35'),\narray('id' => '490','name' => '(YNP) - Natuashish Airport, Natuashish, Canada','country_id' => '35'),\narray('id' => '491','name' => '(YPD) - Parry Sound Area Municipal Airport, Parry Sound, Canada','country_id' => '35'),\narray('id' => '492','name' => '(XBR) - Brockville - Thousand Islands Regional Tackaberry Airport, Brockville, Canada','country_id' => '35'),\narray('id' => '493','name' => '(KIF) - Kingfisher Lake Airport, Kingfisher Lake, Canada','country_id' => '35'),\narray('id' => '494','name' => '(YOG) - Ogoki Post Airport, Ogoki Post, Canada','country_id' => '35'),\narray('id' => '495','name' => '(ARQ) - El Troncal Airport, Arauquita, Colombia','country_id' => '46'),\narray('id' => '496','name' => '(LCR) - La Chorrera Airport, La Chorrera, Colombia','country_id' => '46'),\narray('id' => '497','name' => '(SNT) - Las Cruces Airport, Sabana De Torres, Colombia','country_id' => '46'),\narray('id' => '498','name' => '(TCD) - TarapacA Airport, TarapacA, Colombia','country_id' => '46'),\narray('id' => '499','name' => '(YEB) - Bar River Airport, Bar River, Canada','country_id' => '35'),\narray('id' => '500','name' => '(CPI) - Cape Orford Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '501','name' => '(YHP) - Poplar Hill Airport, Poplar Hill, Canada','country_id' => '35'),\narray('id' => '502','name' => '(KEW) - Keewaywin Airport, Keewaywin, Canada','country_id' => '35'),\narray('id' => '503','name' => '(YSA) - Sable Island Landing Strip, Sable Island, Canada','country_id' => '35'),\narray('id' => '504','name' => '(YLS) - Lebel-sur-Quevillon Airport, Lebel-sur-QuAvillon, Canada','country_id' => '35'),\narray('id' => '505','name' => '(YNX) - Snap Lake Airport, Snap Lake Mine, Canada','country_id' => '35'),\narray('id' => '506','name' => '(SSQ) - La Sarre Airport, La Sarre, Canada','country_id' => '35'),\narray('id' => '507','name' => '(YKU) - Chisasibi Airport, Chisasibi, Canada','country_id' => '35'),\narray('id' => '508','name' => '(ZTB) - TAate-A-la-Baleine Airport, TAate-A-la-Baleine, Canada','country_id' => '35'),\narray('id' => '509','name' => '(ZKG) - Kegaska Airport, Kegaska, Canada','country_id' => '35'),\narray('id' => '510','name' => '(YAU) - Donaldson Airport, Kattiniq, Canada','country_id' => '35'),\narray('id' => '511','name' => '(YFG) - Fontanges Airport, Fontanges, Canada','country_id' => '35'),\narray('id' => '512','name' => '(ZLT) - La TabatiAre Airport, La TabatiAre, Canada','country_id' => '35'),\narray('id' => '513','name' => '(PST) - Preston Airport, Preston, Cuba','country_id' => '48'),\narray('id' => '514','name' => '(CUJ) - Culion Airport, Culion Island, Philippines','country_id' => '173'),\narray('id' => '515','name' => '(HLI) - Hollister Municipal Airport, Hollister, United States','country_id' => '228'),\narray('id' => '516','name' => '(CVL) - Cape Vogel Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '517','name' => '(CXC) - Chitina Airport, Chitina, United States','country_id' => '228'),\narray('id' => '518','name' => '(GEC) - GeAitkale Air Base, GeAitkale, Cyprus','country_id' => '52'),\narray('id' => '519','name' => '(YAB) - Arctic Bay Airport, Arctic Bay, Canada','country_id' => '35'),\narray('id' => '520','name' => '(YAC) - Cat Lake Airport, Cat Lake, Canada','country_id' => '35'),\narray('id' => '521','name' => '(YAR) - La Grande-3 Airport, La Grande-3, Canada','country_id' => '35'),\narray('id' => '522','name' => '(YAG) - Fort Frances Municipal Airport, Fort Frances, Canada','country_id' => '35'),\narray('id' => '523','name' => '(YAH) - La Grande-4 Airport, La Grande-4, Canada','country_id' => '35'),\narray('id' => '524','name' => '(YAL) - Alert Bay Airport, Alert Bay, Canada','country_id' => '35'),\narray('id' => '525','name' => '(YAM) - Sault Ste Marie Airport, Sault Ste Marie, Canada','country_id' => '35'),\narray('id' => '526','name' => '(XKS) - Kasabonika Airport, Kasabonika, Canada','country_id' => '35'),\narray('id' => '527','name' => '(YKG) - Kangirsuk Airport, Kangirsuk, Canada','country_id' => '35'),\narray('id' => '528','name' => '(YAT) - Attawapiskat Airport, Attawapiskat, Canada','country_id' => '35'),\narray('id' => '529','name' => '(YAY) - St. Anthony Airport, St. Anthony, Canada','country_id' => '35'),\narray('id' => '530','name' => '(YAZ) - Tofino / Long Beach Airport, Tofino, Canada','country_id' => '35'),\narray('id' => '531','name' => '(YBA) - Banff Airport, Banff, Canada','country_id' => '35'),\narray('id' => '532','name' => '(YBB) - Kugaaruk Airport, Kugaaruk, Canada','country_id' => '35'),\narray('id' => '533','name' => '(YBC) - Baie Comeau Airport, Baie-Comeau, Canada','country_id' => '35'),\narray('id' => '534','name' => '(QBC) - Bella Coola Airport, Bella Coola, Canada','country_id' => '35'),\narray('id' => '535','name' => '(YBE) - Uranium City Airport, Uranium City, Canada','country_id' => '35'),\narray('id' => '536','name' => '(YBY) - Bonnyville Airport, Bonnyville, Canada','country_id' => '35'),\narray('id' => '537','name' => '(YBG) - CFB Bagotville, Bagotville, Canada','country_id' => '35'),\narray('id' => '538','name' => '(YBK) - Baker Lake Airport, Baker Lake, Canada','country_id' => '35'),\narray('id' => '539','name' => '(YBL) - Campbell River Airport, Campbell River, Canada','country_id' => '35'),\narray('id' => '540','name' => '(XTL) - Tadoule Lake Airport, Tadoule Lake, Canada','country_id' => '35'),\narray('id' => '541','name' => '(YBR) - Brandon Municipal Airport, Brandon, Canada','country_id' => '35'),\narray('id' => '542','name' => '(YBT) - Brochet Airport, Brochet, Canada','country_id' => '35'),\narray('id' => '543','name' => '(YBV) - Berens River Airport, Berens River, Canada','country_id' => '35'),\narray('id' => '544','name' => '(YBX) - Lourdes de Blanc Sablon Airport, Lourdes-De-Blanc-Sablon, Canada','country_id' => '35'),\narray('id' => '545','name' => '(YRF) - Cartwright Airport, Cartwright, Canada','country_id' => '35'),\narray('id' => '546','name' => '(YCB) - Cambridge Bay Airport, Cambridge Bay, Canada','country_id' => '35'),\narray('id' => '547','name' => '(YCC) - Cornwall Regional Airport, Cornwall, Canada','country_id' => '35'),\narray('id' => '548','name' => '(YCD) - Nanaimo Airport, Nanaimo, Canada','country_id' => '35'),\narray('id' => '549','name' => '(YCE) - James T. Field Memorial Aerodrome, Centralia, Canada','country_id' => '35'),\narray('id' => '550','name' => '(YCG) - Castlegar/West Kootenay Regional Airport, Castlegar, Canada','country_id' => '35'),\narray('id' => '551','name' => '(YCH) - Miramichi Airport, Miramichi, Canada','country_id' => '35'),\narray('id' => '552','name' => '(XCM) - Chatham Kent Airport, Chatham-Kent, Canada','country_id' => '35'),\narray('id' => '553','name' => '(YCL) - Charlo Airport, Charlo, Canada','country_id' => '35'),\narray('id' => '554','name' => '(YCN) - Cochrane Airport, Cochrane, Canada','country_id' => '35'),\narray('id' => '555','name' => '(YCO) - Kugluktuk Airport, Kugluktuk, Canada','country_id' => '35'),\narray('id' => '556','name' => '(YCQ) - Chetwynd Airport, Chetwynd, Canada','country_id' => '35'),\narray('id' => '557','name' => '(YCR) - Cross Lake (Charlie Sinclair Memorial) Airport, Cross Lake, Canada','country_id' => '35'),\narray('id' => '558','name' => '(YCS) - Chesterfield Inlet Airport, Chesterfield Inlet, Canada','country_id' => '35'),\narray('id' => '559','name' => '(YCT) - Coronation Airport, Coronation, Canada','country_id' => '35'),\narray('id' => '560','name' => '(YCW) - Chilliwack Airport, Chilliwack, Canada','country_id' => '35'),\narray('id' => '561','name' => '(YCY) - Clyde River Airport, Clyde River, Canada','country_id' => '35'),\narray('id' => '562','name' => '(YCZ) - Fairmont Hot Springs Airport, Fairmont Hot Springs, Canada','country_id' => '35'),\narray('id' => '563','name' => '(CYD) - San Ignacio Downtown Airstrip, MulegA, Mexico','country_id' => '153'),\narray('id' => '564','name' => '(YDA) - Dawson City Airport, Dawson City, Canada','country_id' => '35'),\narray('id' => '565','name' => '(YDB) - Burwash Airport, Burwash, Canada','country_id' => '35'),\narray('id' => '566','name' => '(YDF) - Deer Lake Airport, Deer Lake, Canada','country_id' => '35'),\narray('id' => '567','name' => '(YDL) - Dease Lake Airport, Dease Lake, Canada','country_id' => '35'),\narray('id' => '568','name' => '(XRR) - Ross River Airport, Ross River, Canada','country_id' => '35'),\narray('id' => '569','name' => '(YDN) - Dauphin Barker Airport, Dauphin, Canada','country_id' => '35'),\narray('id' => '570','name' => '(YDO) - Dolbeau St Felicien Airport, Dolbeau-St-FAlicien, Canada','country_id' => '35'),\narray('id' => '571','name' => '(YDP) - Nain Airport, Nain, Canada','country_id' => '35'),\narray('id' => '572','name' => '(YDQ) - Dawson Creek Airport, Dawson Creek, Canada','country_id' => '35'),\narray('id' => '573','name' => '(YEG) - Edmonton International Airport, Edmonton, Canada','country_id' => '35'),\narray('id' => '574','name' => '(YEK) - Arviat Airport, Arviat, Canada','country_id' => '35'),\narray('id' => '575','name' => '(YEL) - Elliot Lake Municipal Airport, Elliot Lake, Canada','country_id' => '35'),\narray('id' => '576','name' => '(YEM) - Manitoulin East Municipal Airport, Manitowaning, Canada','country_id' => '35'),\narray('id' => '577','name' => '(YEN) - Estevan Airport, Estevan, Canada','country_id' => '35'),\narray('id' => '578','name' => '(YER) - Fort Severn Airport, Fort Severn, Canada','country_id' => '35'),\narray('id' => '579','name' => '(YET) - Edson Airport, Edson, Canada','country_id' => '35'),\narray('id' => '580','name' => '(YEU) - Eureka Airport, Eureka, Canada','country_id' => '35'),\narray('id' => '581','name' => '(YEV) - Inuvik Mike Zubko Airport, Inuvik, Canada','country_id' => '35'),\narray('id' => '582','name' => '(YEY) - Amos Magny Airport, Amos, Canada','country_id' => '35'),\narray('id' => '583','name' => '(YFA) - Fort Albany Airport, Fort Albany, Canada','country_id' => '35'),\narray('id' => '584','name' => '(YFB) - Iqaluit Airport, Iqaluit, Canada','country_id' => '35'),\narray('id' => '585','name' => '(YFC) - Fredericton Airport, Fredericton, Canada','country_id' => '35'),\narray('id' => '586','name' => '(YFE) - Forestville Airport, Forestville, Canada','country_id' => '35'),\narray('id' => '587','name' => '(YFH) - Fort Hope Airport, Fort Hope, Canada','country_id' => '35'),\narray('id' => '588','name' => '(YTM) - La Macaza / Mont-Tremblant International Inc Airport, RiviAre Rouge, Canada','country_id' => '35'),\narray('id' => '589','name' => '(YFO) - Flin Flon Airport, Flin Flon, Canada','country_id' => '35'),\narray('id' => '590','name' => '(YFR) - Fort Resolution Airport, Fort Resolution, Canada','country_id' => '35'),\narray('id' => '591','name' => '(YFS) - Fort Simpson Airport, Fort Simpson, Canada','country_id' => '35'),\narray('id' => '592','name' => '(YMN) - Makkovik Airport, Makkovik, Canada','country_id' => '35'),\narray('id' => '593','name' => '(YGB) - Texada Gillies Bay Airport, Texada, Canada','country_id' => '35'),\narray('id' => '594','name' => '(YGH) - Fort Good Hope Airport, Fort Good Hope, Canada','country_id' => '35'),\narray('id' => '595','name' => '(YGK) - Kingston Norman Rogers Airport, Kingston, Canada','country_id' => '35'),\narray('id' => '596','name' => '(YGL) - La Grande RiviAre Airport, La Grande RiviAre, Canada','country_id' => '35'),\narray('id' => '597','name' => '(YGM) - Gimli Industrial Park Airport, Gimli, Canada','country_id' => '35'),\narray('id' => '598','name' => '(YGO) - Gods Lake Narrows Airport, Gods Lake Narrows, Canada','country_id' => '35'),\narray('id' => '599','name' => '(YGP) - GaspA (Michel-Pouliot) Airport, GaspA, Canada','country_id' => '35'),\narray('id' => '600','name' => '(YGQ) - Geraldton Greenstone Regional Airport, Geraldton, Canada','country_id' => '35'),\narray('id' => '601','name' => '(YGR) - Ales-de-la-Madeleine Airport, Ales-de-la-Madeleine, Canada','country_id' => '35'),\narray('id' => '602','name' => '(YGT) - Igloolik Airport, Igloolik, Canada','country_id' => '35'),\narray('id' => '603','name' => '(YGV) - Havre St Pierre Airport, Havre St-Pierre, Canada','country_id' => '35'),\narray('id' => '604','name' => '(YGW) - Kuujjuarapik Airport, Kuujjuarapik, Canada','country_id' => '35'),\narray('id' => '605','name' => '(YGX) - Gillam Airport, Gillam, Canada','country_id' => '35'),\narray('id' => '606','name' => '(YGZ) - Grise Fiord Airport, Grise Fiord, Canada','country_id' => '35'),\narray('id' => '607','name' => '(YQC) - Quaqtaq Airport, Quaqtaq, Canada','country_id' => '35'),\narray('id' => '608','name' => '(YHB) - Hudson Bay Airport, Hudson Bay, Canada','country_id' => '35'),\narray('id' => '609','name' => '(YHD) - Dryden Regional Airport, Dryden, Canada','country_id' => '35'),\narray('id' => '610','name' => '(YHE) - Hope Airport, Hope, Canada','country_id' => '35'),\narray('id' => '611','name' => '(YHF) - Hearst RenA Fontaine Municipal Airport, Hearst, Canada','country_id' => '35'),\narray('id' => '612','name' => '(YNS) - Nemiscau Airport, Nemiscau, Canada','country_id' => '35'),\narray('id' => '613','name' => '(YHI) - Ulukhaktok Holman Airport, Ulukhaktok, Canada','country_id' => '35'),\narray('id' => '614','name' => '(YHK) - Gjoa Haven Airport, Gjoa Haven, Canada','country_id' => '35'),\narray('id' => '615','name' => '(YHM) - John C. Munro Hamilton International Airport, Hamilton, Canada','country_id' => '35'),\narray('id' => '616','name' => '(YHN) - Hornepayne Municipal Airport, Hornepayne, Canada','country_id' => '35'),\narray('id' => '617','name' => '(YHO) - Hopedale Airport, Hopedale, Canada','country_id' => '35'),\narray('id' => '618','name' => '(YHR) - Chevery Airport, Chevery, Canada','country_id' => '35'),\narray('id' => '619','name' => '(YHT) - Haines Junction Airport, Haines Junction, Canada','country_id' => '35'),\narray('id' => '620','name' => '(YHU) - MontrAal / Saint-Hubert Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '621','name' => '(YHY) - Hay River / Merlyn Carter Airport, Hay River, Canada','country_id' => '35'),\narray('id' => '622','name' => '(YHZ) - Halifax / Stanfield International Airport, Halifax, Canada','country_id' => '35'),\narray('id' => '623','name' => '(YIB) - Atikokan Municipal Airport, Atikokan, Canada','country_id' => '35'),\narray('id' => '624','name' => '(YDG) - Digby / Annapolis Regional Airport, Digby, Canada','country_id' => '35'),\narray('id' => '625','name' => '(YIF) - St Augustin Airport, St-Augustin, Canada','country_id' => '35'),\narray('id' => '626','name' => '(YIK) - Ivujivik Airport, Ivujivik, Canada','country_id' => '35'),\narray('id' => '627','name' => '(YIO) - Pond Inlet Airport, Pond Inlet, Canada','country_id' => '35'),\narray('id' => '628','name' => '(YIV) - Island Lake Airport, Island Lake, Canada','country_id' => '35'),\narray('id' => '629','name' => '(YJA) - Jasper Airport, Jasper, Canada','country_id' => '35'),\narray('id' => '630','name' => '(YJF) - Fort Liard Airport, Fort Liard, Canada','country_id' => '35'),\narray('id' => '631','name' => '(YJN) - St Jean Airport, St Jean, Canada','country_id' => '35'),\narray('id' => '632','name' => '(ZEL) - Denny Island Airport, Bella Bella, Canada','country_id' => '35'),\narray('id' => '633','name' => '(YJT) - Stephenville Airport, Stephenville, Canada','country_id' => '35'),\narray('id' => '634','name' => '(YKA) - Kamloops Airport, Kamloops, Canada','country_id' => '35'),\narray('id' => '635','name' => '(YKC) - Collins Bay Airport, Collins Bay, Canada','country_id' => '35'),\narray('id' => '636','name' => '(LAK) - Aklavik Airport, Aklavik, Canada','country_id' => '35'),\narray('id' => '637','name' => '(YKF) - Waterloo Airport, Kitchener, Canada','country_id' => '35'),\narray('id' => '638','name' => '(YWB) - Kangiqsujuaq (Wakeham Bay) Airport, Kangiqsujuaq, Canada','country_id' => '35'),\narray('id' => '639','name' => '(YKJ) - Key Lake Airport, Key Lake, Canada','country_id' => '35'),\narray('id' => '640','name' => '(YKL) - Schefferville Airport, Schefferville, Canada','country_id' => '35'),\narray('id' => '641','name' => '(YKD) - Kincardine Municipal Airport, Kincardine, Canada','country_id' => '35'),\narray('id' => '642','name' => '(AKV) - Akulivik Airport, Akulivik, Canada','country_id' => '35'),\narray('id' => '643','name' => '(YKQ) - Waskaganish Airport, Waskaganish, Canada','country_id' => '35'),\narray('id' => '644','name' => '(YKX) - Kirkland Lake Airport, Kirkland Lake, Canada','country_id' => '35'),\narray('id' => '645','name' => '(YKY) - Kindersley Airport, Kindersley, Canada','country_id' => '35'),\narray('id' => '646','name' => '(YKZ) - Buttonville Municipal Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '647','name' => '(YPJ) - Aupaluk Airport, Aupaluk, Canada','country_id' => '35'),\narray('id' => '648','name' => '(YLB) - Lac La Biche Airport, Lac La Biche, Canada','country_id' => '35'),\narray('id' => '649','name' => '(YLC) - Kimmirut Airport, Kimmirut, Canada','country_id' => '35'),\narray('id' => '650','name' => '(YLD) - Chapleau Airport, Chapleau, Canada','country_id' => '35'),\narray('id' => '651','name' => '(YLH) - Lansdowne House Airport, Lansdowne House, Canada','country_id' => '35'),\narray('id' => '652','name' => '(YLJ) - Meadow Lake Airport, Meadow Lake, Canada','country_id' => '35'),\narray('id' => '653','name' => '(YSG) - Lutselk\\'e Airport, Lutselk\\'e, Canada','country_id' => '35'),\narray('id' => '654','name' => '(YLL) - Lloydminster Airport, Lloydminster, Canada','country_id' => '35'),\narray('id' => '655','name' => '(YLQ) - La Tuque Airport, La Tuque, Canada','country_id' => '35'),\narray('id' => '656','name' => '(YLR) - Leaf Rapids Airport, Leaf Rapids, Canada','country_id' => '35'),\narray('id' => '657','name' => '(YLK) - Barrie-Orillia (Lake Simcoe Regional Airport), Barrie-Orillia, Canada','country_id' => '35'),\narray('id' => '658','name' => '(YLT) - Alert Airport, Alert, Canada','country_id' => '35'),\narray('id' => '659','name' => '(XGR) - Kangiqsualujjuaq (Georges River) Airport, Kangiqsualujjuaq, Canada','country_id' => '35'),\narray('id' => '660','name' => '(YLW) - Kelowna International Airport, Kelowna, Canada','country_id' => '35'),\narray('id' => '661','name' => '(YMA) - Mayo Airport, Mayo, Canada','country_id' => '35'),\narray('id' => '662','name' => '(YME) - Matane Airport, Matane, Canada','country_id' => '35'),\narray('id' => '663','name' => '(YMG) - Manitouwadge Airport, Manitouwadge, Canada','country_id' => '35'),\narray('id' => '664','name' => '(YMH) - Mary\\'s Harbour Airport, Mary\\'s Harbour, Canada','country_id' => '35'),\narray('id' => '665','name' => '(YMJ) - Moose Jaw Air Vice Marshal C. M. McEwen Airport, Moose Jaw, Canada','country_id' => '35'),\narray('id' => '666','name' => '(YML) - Charlevoix Airport, Charlevoix, Canada','country_id' => '35'),\narray('id' => '667','name' => '(YMM) - Fort McMurray Airport, Fort McMurray, Canada','country_id' => '35'),\narray('id' => '668','name' => '(YMO) - Moosonee Airport, Moosonee, Canada','country_id' => '35'),\narray('id' => '669','name' => '(YMT) - Chapais Airport, Chibougamau, Canada','country_id' => '35'),\narray('id' => '670','name' => '(YUD) - Umiujaq Airport, Umiujaq, Canada','country_id' => '35'),\narray('id' => '671','name' => '(YMW) - Maniwaki Airport, Maniwaki, Canada','country_id' => '35'),\narray('id' => '672','name' => '(YMX) - Montreal International (Mirabel) Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '673','name' => '(YNA) - Natashquan Airport, Natashquan, Canada','country_id' => '35'),\narray('id' => '674','name' => '(YNC) - Wemindji Airport, Wemindji, Canada','country_id' => '35'),\narray('id' => '675','name' => '(YND) - Ottawa / Gatineau Airport, Gatineau, Canada','country_id' => '35'),\narray('id' => '676','name' => '(YNE) - Norway House Airport, Norway House, Canada','country_id' => '35'),\narray('id' => '677','name' => '(YNH) - Hudsons Hope Airport, Hudson\\'s Hope, Canada','country_id' => '35'),\narray('id' => '678','name' => '(YLY) - Langley Airport, Langley, Canada','country_id' => '35'),\narray('id' => '679','name' => '(YNL) - Points North Landing Airport, Points North Landing, Canada','country_id' => '35'),\narray('id' => '680','name' => '(YNM) - Matagami Airport, Matagami, Canada','country_id' => '35'),\narray('id' => '681','name' => '(HZP) - Fort Mackay / Horizon Airport, Fort Mackay, Canada','country_id' => '35'),\narray('id' => '682','name' => '(YOA) - Ekati Airport, Ekati, Canada','country_id' => '35'),\narray('id' => '683','name' => '(YOC) - Old Crow Airport, Old Crow, Canada','country_id' => '35'),\narray('id' => '684','name' => '(YOD) - CFB Cold Lake, Cold Lake, Canada','country_id' => '35'),\narray('id' => '685','name' => '(YOH) - Oxford House Airport, Oxford House, Canada','country_id' => '35'),\narray('id' => '686','name' => '(YOJ) - High Level Airport, High Level, Canada','country_id' => '35'),\narray('id' => '687','name' => '(YOO) - Oshawa Airport, Oshawa, Canada','country_id' => '35'),\narray('id' => '688','name' => '(YOP) - Rainbow Lake Airport, Rainbow Lake, Canada','country_id' => '35'),\narray('id' => '689','name' => '(YOS) - Owen Sound / Billy Bishop Regional Airport, Owen Sound, Canada','country_id' => '35'),\narray('id' => '690','name' => '(YOW) - Ottawa Macdonald-Cartier International Airport, Ottawa, Canada','country_id' => '35'),\narray('id' => '691','name' => '(YPA) - Prince Albert Glass Field, Prince Albert, Canada','country_id' => '35'),\narray('id' => '692','name' => '(YPC) - Paulatuk (Nora Aliqatchialuk Ruben) Airport, Paulatuk, Canada','country_id' => '35'),\narray('id' => '693','name' => '(YPS) - Port Hawkesbury Airport, Port Hawkesbury, Canada','country_id' => '35'),\narray('id' => '694','name' => '(YPE) - Peace River Airport, Peace River, Canada','country_id' => '35'),\narray('id' => '695','name' => '(YPG) - Southport Airport, Portage la Prairie, Canada','country_id' => '35'),\narray('id' => '696','name' => '(YPH) - Inukjuak Airport, Inukjuak, Canada','country_id' => '35'),\narray('id' => '697','name' => '(YPL) - Pickle Lake Airport, Pickle Lake, Canada','country_id' => '35'),\narray('id' => '698','name' => '(YPM) - Pikangikum Airport, Pikangikum, Canada','country_id' => '35'),\narray('id' => '699','name' => '(YPN) - Port Menier Airport, Port-Menier, Canada','country_id' => '35'),\narray('id' => '700','name' => '(YPO) - Peawanuck Airport, Peawanuck, Canada','country_id' => '35'),\narray('id' => '701','name' => '(YPQ) - Peterborough Airport, Peterborough, Canada','country_id' => '35'),\narray('id' => '702','name' => '(YPR) - Prince Rupert Airport, Prince Rupert, Canada','country_id' => '35'),\narray('id' => '703','name' => '(YPW) - Powell River Airport, Powell River, Canada','country_id' => '35'),\narray('id' => '704','name' => '(YPX) - Puvirnituq Airport, Puvirnituq, Canada','country_id' => '35'),\narray('id' => '705','name' => '(YPY) - Fort Chipewyan Airport, Fort Chipewyan, Canada','country_id' => '35'),\narray('id' => '706','name' => '(YPZ) - Burns Lake Airport, Burns Lake, Canada','country_id' => '35'),\narray('id' => '707','name' => '(YQA) - Muskoka Airport, Muskoka, Canada','country_id' => '35'),\narray('id' => '708','name' => '(YQB) - Quebec Jean Lesage International Airport, Quebec, Canada','country_id' => '35'),\narray('id' => '709','name' => '(YQD) - The Pas Airport, The Pas, Canada','country_id' => '35'),\narray('id' => '710','name' => '(YQF) - Red Deer Regional Airport, Red Deer, Canada','country_id' => '35'),\narray('id' => '711','name' => '(YQG) - Windsor Airport, Windsor, Canada','country_id' => '35'),\narray('id' => '712','name' => '(YQH) - Watson Lake Airport, Watson Lake, Canada','country_id' => '35'),\narray('id' => '713','name' => '(YQI) - Yarmouth Airport, Yarmouth, Canada','country_id' => '35'),\narray('id' => '714','name' => '(YQK) - Kenora Airport, Kenora, Canada','country_id' => '35'),\narray('id' => '715','name' => '(YQL) - Lethbridge County Airport, Lethbridge, Canada','country_id' => '35'),\narray('id' => '716','name' => '(YQM) - Greater Moncton International Airport, Moncton, Canada','country_id' => '35'),\narray('id' => '717','name' => '(YQN) - Nakina Airport, Nakina, Canada','country_id' => '35'),\narray('id' => '718','name' => '(YQQ) - Comox Airport, Comox, Canada','country_id' => '35'),\narray('id' => '719','name' => '(YQR) - Regina International Airport, Regina, Canada','country_id' => '35'),\narray('id' => '720','name' => '(YQS) - St Thomas Municipal Airport, St Thomas, Canada','country_id' => '35'),\narray('id' => '721','name' => '(YQT) - Thunder Bay Airport, Thunder Bay, Canada','country_id' => '35'),\narray('id' => '722','name' => '(YQU) - Grande Prairie Airport, Grande Prairie, Canada','country_id' => '35'),\narray('id' => '723','name' => '(YQV) - Yorkton Municipal Airport, Yorkton, Canada','country_id' => '35'),\narray('id' => '724','name' => '(YQW) - North Battleford Airport, North Battleford, Canada','country_id' => '35'),\narray('id' => '725','name' => '(YQX) - Gander International Airport, Gander, Canada','country_id' => '35'),\narray('id' => '726','name' => '(YQY) - Sydney / J.A. Douglas McCurdy Airport, Sydney, Canada','country_id' => '35'),\narray('id' => '727','name' => '(YQZ) - Quesnel Airport, Quesnel, Canada','country_id' => '35'),\narray('id' => '728','name' => '(YRA) - Rae Lakes Airport, GamAtA, Canada','country_id' => '35'),\narray('id' => '729','name' => '(YRB) - Resolute Bay Airport, Resolute Bay, Canada','country_id' => '35'),\narray('id' => '730','name' => '(YRI) - RiviAre-du-Loup Airport, RiviAre-du-Loup, Canada','country_id' => '35'),\narray('id' => '731','name' => '(YRJ) - Roberval Airport, Roberval, Canada','country_id' => '35'),\narray('id' => '732','name' => '(YRL) - Red Lake Airport, Red Lake, Canada','country_id' => '35'),\narray('id' => '733','name' => '(YRM) - Rocky Mountain House Airport, Rocky Mountain House, Canada','country_id' => '35'),\narray('id' => '734','name' => '(YRO) - Ottawa / Rockcliffe Airport, Ottawa, Canada','country_id' => '35'),\narray('id' => '735','name' => '(YRQ) - Trois-RiviAres Airport, Trois-RiviAres, Canada','country_id' => '35'),\narray('id' => '736','name' => '(YRS) - Red Sucker Lake Airport, Red Sucker Lake, Canada','country_id' => '35'),\narray('id' => '737','name' => '(YRT) - Rankin Inlet Airport, Rankin Inlet, Canada','country_id' => '35'),\narray('id' => '738','name' => '(YRV) - Revelstoke Airport, Revelstoke, Canada','country_id' => '35'),\narray('id' => '739','name' => '(YSB) - Sudbury Airport, Sudbury, Canada','country_id' => '35'),\narray('id' => '740','name' => '(YSC) - Sherbrooke Airport, Sherbrooke, Canada','country_id' => '35'),\narray('id' => '741','name' => '(YSE) - Squamish Airport, Squamish, Canada','country_id' => '35'),\narray('id' => '742','name' => '(YSF) - Stony Rapids Airport, Stony Rapids, Canada','country_id' => '35'),\narray('id' => '743','name' => '(YSH) - Smiths Falls-Montague (Russ Beach) Airport, Smiths Falls, Canada','country_id' => '35'),\narray('id' => '744','name' => '(YSJ) - Saint John Airport, Saint John, Canada','country_id' => '35'),\narray('id' => '745','name' => '(YSK) - Sanikiluaq Airport, Sanikiluaq, Canada','country_id' => '35'),\narray('id' => '746','name' => '(YSL) - St Leonard Airport, St Leonard, Canada','country_id' => '35'),\narray('id' => '747','name' => '(YSM) - Fort Smith Airport, Fort Smith, Canada','country_id' => '35'),\narray('id' => '748','name' => '(YCM) - Niagara District Airport, St Catharines, Canada','country_id' => '35'),\narray('id' => '749','name' => '(YSP) - Marathon Airport, Marathon, Canada','country_id' => '35'),\narray('id' => '750','name' => '(YST) - St. Theresa Point Airport, St. Theresa Point, Canada','country_id' => '35'),\narray('id' => '751','name' => '(YSU) - Summerside Airport, Summerside, Canada','country_id' => '35'),\narray('id' => '752','name' => '(YSY) - Sachs Harbour (David Nasogaluak Jr. Saaryuaq) Airport, Sachs Harbour, Canada','country_id' => '35'),\narray('id' => '753','name' => '(YTA) - Pembroke Airport, Pembroke, Canada','country_id' => '35'),\narray('id' => '754','name' => '(YTE) - Cape Dorset Airport, Cape Dorset, Canada','country_id' => '35'),\narray('id' => '755','name' => '(YTF) - Alma Airport, Alma, Canada','country_id' => '35'),\narray('id' => '756','name' => '(YTH) - Thompson Airport, Thompson, Canada','country_id' => '35'),\narray('id' => '757','name' => '(YTL) - Big Trout Lake Airport, Big Trout Lake, Canada','country_id' => '35'),\narray('id' => '758','name' => '(YTQ) - Tasiujaq Airport, Tasiujaq, Canada','country_id' => '35'),\narray('id' => '759','name' => '(YTR) - CFB Trenton, Trenton, Canada','country_id' => '35'),\narray('id' => '760','name' => '(YTS) - Timmins/Victor M. Power, Timmins, Canada','country_id' => '35'),\narray('id' => '761','name' => '(YTZ) - Billy Bishop Toronto City Centre Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '762','name' => '(YUB) - Tuktoyaktuk Airport, Tuktoyaktuk, Canada','country_id' => '35'),\narray('id' => '763','name' => '(YUL) - Montreal / Pierre Elliott Trudeau International Airport, MontrAal, Canada','country_id' => '35'),\narray('id' => '764','name' => '(YUT) - Repulse Bay Airport, Repulse Bay, Canada','country_id' => '35'),\narray('id' => '765','name' => '(YUX) - Hall Beach Airport, Hall Beach, Canada','country_id' => '35'),\narray('id' => '766','name' => '(YUY) - Rouyn Noranda Airport, Rouyn-Noranda, Canada','country_id' => '35'),\narray('id' => '767','name' => '(YVB) - Bonaventure Airport, Bonaventure, Canada','country_id' => '35'),\narray('id' => '768','name' => '(YVC) - La Ronge Airport, La Ronge, Canada','country_id' => '35'),\narray('id' => '769','name' => '(YVG) - Vermilion Airport, Vermilion, Canada','country_id' => '35'),\narray('id' => '770','name' => '(YVE) - Vernon Airport, Vernon, Canada','country_id' => '35'),\narray('id' => '771','name' => '(YCK) - Tommy Kochon Airport, Colville Lake, Canada','country_id' => '35'),\narray('id' => '772','name' => '(YVM) - Qikiqtarjuaq Airport, Qikiqtarjuaq, Canada','country_id' => '35'),\narray('id' => '773','name' => '(YVO) - Val-d\\'Or Airport, Val-d\\'Or, Canada','country_id' => '35'),\narray('id' => '774','name' => '(YVP) - Kuujjuaq Airport, Kuujjuaq, Canada','country_id' => '35'),\narray('id' => '775','name' => '(YVQ) - Norman Wells Airport, Norman Wells, Canada','country_id' => '35'),\narray('id' => '776','name' => '(YVR) - Vancouver International Airport, Vancouver, Canada','country_id' => '35'),\narray('id' => '777','name' => '(YVT) - Buffalo Narrows Airport, Buffalo Narrows, Canada','country_id' => '35'),\narray('id' => '778','name' => '(YVV) - Wiarton Airport, Wiarton, Canada','country_id' => '35'),\narray('id' => '779','name' => '(YVZ) - Deer Lake Airport, Deer Lake, Canada','country_id' => '35'),\narray('id' => '780','name' => '(YWA) - Petawawa Airport, Petawawa, Canada','country_id' => '35'),\narray('id' => '781','name' => '(YWG) - Winnipeg / James Armstrong Richardson International Airport, Winnipeg, Canada','country_id' => '35'),\narray('id' => '782','name' => '(YWJ) - DAline Airport, DAline, Canada','country_id' => '35'),\narray('id' => '783','name' => '(YWK) - Wabush Airport, Wabush, Canada','country_id' => '35'),\narray('id' => '784','name' => '(YWL) - Williams Lake Airport, Williams Lake, Canada','country_id' => '35'),\narray('id' => '785','name' => '(YWP) - Webequie Airport, Webequie, Canada','country_id' => '35'),\narray('id' => '786','name' => '(YWY) - Wrigley Airport, Wrigley, Canada','country_id' => '35'),\narray('id' => '787','name' => '(YXC) - Cranbrook/Canadian Rockies International Airport, Cranbrook, Canada','country_id' => '35'),\narray('id' => '788','name' => '(YXE) - Saskatoon John G. Diefenbaker International Airport, Saskatoon, Canada','country_id' => '35'),\narray('id' => '789','name' => '(YXH) - Medicine Hat Airport, Medicine Hat, Canada','country_id' => '35'),\narray('id' => '790','name' => '(YXJ) - Fort St John Airport, Fort St.John, Canada','country_id' => '35'),\narray('id' => '791','name' => '(YXK) - Rimouski Airport, Rimouski, Canada','country_id' => '35'),\narray('id' => '792','name' => '(YXL) - Sioux Lookout Airport, Sioux Lookout, Canada','country_id' => '35'),\narray('id' => '793','name' => '(YXN) - Whale Cove Airport, Whale Cove, Canada','country_id' => '35'),\narray('id' => '794','name' => '(YXP) - Pangnirtung Airport, Pangnirtung, Canada','country_id' => '35'),\narray('id' => '795','name' => '(YXQ) - Beaver Creek Airport, Beaver Creek, Canada','country_id' => '35'),\narray('id' => '796','name' => '(YXR) - Earlton (Timiskaming Regional) Airport, Earlton, Canada','country_id' => '35'),\narray('id' => '797','name' => '(YXS) - Prince George Airport, Prince George, Canada','country_id' => '35'),\narray('id' => '798','name' => '(YXT) - Terrace Airport, Terrace, Canada','country_id' => '35'),\narray('id' => '799','name' => '(YXU) - London Airport, London, Canada','country_id' => '35'),\narray('id' => '800','name' => '(YXX) - Abbotsford Airport, Abbotsford, Canada','country_id' => '35'),\narray('id' => '801','name' => '(YXY) - Whitehorse / Erik Nielsen International Airport, Whitehorse, Canada','country_id' => '35'),\narray('id' => '802','name' => '(YXZ) - Wawa Airport, Wawa, Canada','country_id' => '35'),\narray('id' => '803','name' => '(YYB) - North Bay Airport, North Bay, Canada','country_id' => '35'),\narray('id' => '804','name' => '(YYC) - Calgary International Airport, Calgary, Canada','country_id' => '35'),\narray('id' => '805','name' => '(YYD) - Smithers Airport, Smithers, Canada','country_id' => '35'),\narray('id' => '806','name' => '(YYE) - Fort Nelson Airport, Fort Nelson, Canada','country_id' => '35'),\narray('id' => '807','name' => '(YYF) - Penticton Airport, Penticton, Canada','country_id' => '35'),\narray('id' => '808','name' => '(YYG) - Charlottetown Airport, Charlottetown, Canada','country_id' => '35'),\narray('id' => '809','name' => '(YYH) - Taloyoak Airport, Taloyoak, Canada','country_id' => '35'),\narray('id' => '810','name' => '(YYJ) - Victoria International Airport, Victoria, Canada','country_id' => '35'),\narray('id' => '811','name' => '(YYL) - Lynn Lake Airport, Lynn Lake, Canada','country_id' => '35'),\narray('id' => '812','name' => '(YYM) - Cowley Airport, Cowley, Canada','country_id' => '35'),\narray('id' => '813','name' => '(YYN) - Swift Current Airport, Swift Current, Canada','country_id' => '35'),\narray('id' => '814','name' => '(YYQ) - Churchill Airport, Churchill, Canada','country_id' => '35'),\narray('id' => '815','name' => '(YYR) - Goose Bay Airport, Goose Bay, Canada','country_id' => '35'),\narray('id' => '816','name' => '(YYT) - St. John\\'s International Airport, St. John\\'s, Canada','country_id' => '35'),\narray('id' => '817','name' => '(YYU) - Kapuskasing Airport, Kapuskasing, Canada','country_id' => '35'),\narray('id' => '818','name' => '(YYW) - Armstrong Airport, Armstrong, Canada','country_id' => '35'),\narray('id' => '819','name' => '(YYY) - Mont Joli Airport, Mont-Joli, Canada','country_id' => '35'),\narray('id' => '820','name' => '(YYZ) - Lester B. Pearson International Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '821','name' => '(YZD) - Downsview Airport, Toronto, Canada','country_id' => '35'),\narray('id' => '822','name' => '(YZE) - Gore Bay Manitoulin Airport, Gore Bay, Canada','country_id' => '35'),\narray('id' => '823','name' => '(YZF) - Yellowknife Airport, Yellowknife, Canada','country_id' => '35'),\narray('id' => '824','name' => '(YZG) - Salluit Airport, Salluit, Canada','country_id' => '35'),\narray('id' => '825','name' => '(YZH) - Slave Lake Airport, Slave Lake, Canada','country_id' => '35'),\narray('id' => '826','name' => '(YZP) - Sandspit Airport, Sandspit, Canada','country_id' => '35'),\narray('id' => '827','name' => '(YZR) - Chris Hadfield Airport, Sarnia, Canada','country_id' => '35'),\narray('id' => '828','name' => '(YZS) - Coral Harbour Airport, Coral Harbour, Canada','country_id' => '35'),\narray('id' => '829','name' => '(YZT) - Port Hardy Airport, Port Hardy, Canada','country_id' => '35'),\narray('id' => '830','name' => '(YZU) - Whitecourt Airport, Whitecourt, Canada','country_id' => '35'),\narray('id' => '831','name' => '(YZV) - Sept-Ales Airport, Sept-Ales, Canada','country_id' => '35'),\narray('id' => '832','name' => '(YZW) - Teslin Airport, Teslin, Canada','country_id' => '35'),\narray('id' => '833','name' => '(YZX) - CFB Greenwood, Greenwood, Canada','country_id' => '35'),\narray('id' => '834','name' => '(ZAC) - York Landing Airport, York Landing, Canada','country_id' => '35'),\narray('id' => '835','name' => '(YSN) - Salmon Arm Airport, Salmon Arm, Canada','country_id' => '35'),\narray('id' => '836','name' => '(YDT) - Boundary Bay Airport, Vancouver, Canada','country_id' => '35'),\narray('id' => '837','name' => '(ILF) - Ilford Airport, Ilford, Canada','country_id' => '35'),\narray('id' => '838','name' => '(ZBF) - Bathurst Airport, Bathurst, Canada','country_id' => '35'),\narray('id' => '839','name' => '(ZBM) - Bromont (Roland Desourdy) Airport, Bromont, Canada','country_id' => '35'),\narray('id' => '840','name' => '(KES) - Kelsey Airport, Kelsey, Canada','country_id' => '35'),\narray('id' => '841','name' => '(ZEM) - Eastmain River Airport, Eastmain River, Canada','country_id' => '35'),\narray('id' => '842','name' => '(ZFA) - Faro Airport, Faro, Canada','country_id' => '35'),\narray('id' => '843','name' => '(ZFD) - Fond-Du-Lac Airport, Fond-Du-Lac, Canada','country_id' => '35'),\narray('id' => '844','name' => '(XPK) - Pukatawagan Airport, Pukatawagan, Canada','country_id' => '35'),\narray('id' => '845','name' => '(ZFM) - Fort Mcpherson Airport, Fort Mcpherson, Canada','country_id' => '35'),\narray('id' => '846','name' => '(ZFN) - Tulita Airport, Tulita, Canada','country_id' => '35'),\narray('id' => '847','name' => '(ZGF) - Grand Forks Airport, Grand Forks, Canada','country_id' => '35'),\narray('id' => '848','name' => '(ZGI) - Gods River Airport, Gods River, Canada','country_id' => '35'),\narray('id' => '849','name' => '(ZGR) - Little Grand Rapids Airport, Little Grand Rapids, Canada','country_id' => '35'),\narray('id' => '850','name' => '(ZHP) - High Prairie Airport, High Prairie, Canada','country_id' => '35'),\narray('id' => '851','name' => '(CZJ) - CorazAn de JesAos Airport, CorazAn de JesAos and NarganA Islands, Panama','country_id' => '169'),\narray('id' => '852','name' => '(ZJG) - Jenpeg Airport, Jenpeg, Canada','country_id' => '35'),\narray('id' => '853','name' => '(ZJN) - Swan River Airport, Swan River, Canada','country_id' => '35'),\narray('id' => '854','name' => '(CZK) - Cascade Locks State Airport, Cascade Locks, United States','country_id' => '228'),\narray('id' => '855','name' => '(ZKE) - Kashechewan Airport, Kashechewan, Canada','country_id' => '35'),\narray('id' => '856','name' => '(YTD) - Thicket Portage Airport, Thicket Portage, Canada','country_id' => '35'),\narray('id' => '857','name' => '(MSA) - Muskrat Dam Airport, Muskrat Dam, Canada','country_id' => '35'),\narray('id' => '858','name' => '(ZMH) - South Cariboo Region / 108 Mile Airport, 108 Mile, Canada','country_id' => '35'),\narray('id' => '859','name' => '(PIW) - Pikwitonei Airport, Pikwitonei, Canada','country_id' => '35'),\narray('id' => '860','name' => '(ZMT) - Masset Airport, Masset, Canada','country_id' => '35'),\narray('id' => '861','name' => '(CZN) - Chisana Airport, Chisana, United States','country_id' => '228'),\narray('id' => '862','name' => '(XPP) - Poplar River Airport, Poplar River, Canada','country_id' => '35'),\narray('id' => '863','name' => '(CZO) - Chistochina Airport, Chistochina, United States','country_id' => '228'),\narray('id' => '864','name' => '(ZPB) - Sachigo Lake Airport, Sachigo Lake, Canada','country_id' => '35'),\narray('id' => '865','name' => '(WPC) - Pincher Creek Airport, Pincher Creek, Canada','country_id' => '35'),\narray('id' => '866','name' => '(ZPO) - Pinehouse Lake Airport, Pinehouse Lake, Canada','country_id' => '35'),\narray('id' => '867','name' => '(ZRJ) - Round Lake (Weagamow Lake) Airport, Round Lake, Canada','country_id' => '35'),\narray('id' => '868','name' => '(ZSJ) - Sandy Lake Airport, Sandy Lake, Canada','country_id' => '35'),\narray('id' => '869','name' => '(XSI) - South Indian Lake Airport, South Indian Lake, Canada','country_id' => '35'),\narray('id' => '870','name' => '(ZST) - Stewart Airport, Stewart, Canada','country_id' => '35'),\narray('id' => '871','name' => '(YDV) - Bloodvein River Airport, Bloodvein River, Canada','country_id' => '35'),\narray('id' => '872','name' => '(ZTM) - Shamattawa Airport, Shamattawa, Canada','country_id' => '35'),\narray('id' => '873','name' => '(ZUC) - Ignace Municipal Airport, Ignace, Canada','country_id' => '35'),\narray('id' => '874','name' => '(ZUM) - Churchill Falls Airport, Churchill Falls, Canada','country_id' => '35'),\narray('id' => '875','name' => '(XLB) - Lac Brochet Airport, Lac Brochet, Canada','country_id' => '35'),\narray('id' => '876','name' => '(ZWL) - Wollaston Lake Airport, Wollaston Lake, Canada','country_id' => '35'),\narray('id' => '877','name' => '(DJN) - Delta Junction Airport, Delta Junction, United States','country_id' => '228'),\narray('id' => '878','name' => '(MQV) - Mostaganem Airport, , Algeria','country_id' => '59'),\narray('id' => '879','name' => '(QLD) - Blida Airport, , Algeria','country_id' => '59'),\narray('id' => '880','name' => '(BUJ) - Bou Saada Airport, , Algeria','country_id' => '59'),\narray('id' => '881','name' => '(BJA) - Soummam Airport, BAjaAa, Algeria','country_id' => '59'),\narray('id' => '882','name' => '(ALG) - Houari Boumediene Airport, Algiers, Algeria','country_id' => '59'),\narray('id' => '883','name' => '(DJG) - Djanet Inedbirene Airport, Djanet, Algeria','country_id' => '59'),\narray('id' => '884','name' => '(QFD) - Boufarik Airport, , Algeria','country_id' => '59'),\narray('id' => '885','name' => '(VVZ) - Illizi Takhamalt Airport, Illizi, Algeria','country_id' => '59'),\narray('id' => '886','name' => '(QSF) - Ain Arnat Airport, SAtif, Algeria','country_id' => '59'),\narray('id' => '887','name' => '(TMR) - Aguenar a\" Hadj Bey Akhamok Airport, Tamanrasset, Algeria','country_id' => '59'),\narray('id' => '888','name' => '(GJL) - Jijel Ferhat Abbas Airport, Jijel, Algeria','country_id' => '59'),\narray('id' => '889','name' => '(MZW) - Mecheria Airport, Mecheria, Algeria','country_id' => '59'),\narray('id' => '890','name' => '(QZN) - Relizane Airport, , Algeria','country_id' => '59'),\narray('id' => '891','name' => '(AAE) - Annaba Airport, Annabah, Algeria','country_id' => '59'),\narray('id' => '892','name' => '(CZL) - Mohamed Boudiaf International Airport, Constantine, Algeria','country_id' => '59'),\narray('id' => '893','name' => '(QMH) - Oum el Bouaghi airport, Oum El Bouaghi, Algeria','country_id' => '59'),\narray('id' => '894','name' => '(TEE) - Cheikh Larbi TAbessi Airport, TAbessi, Algeria','country_id' => '59'),\narray('id' => '895','name' => '(BLJ) - Batna Airport, Batna, Algeria','country_id' => '59'),\narray('id' => '896','name' => '(DAF) - Daup Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '897','name' => '(HRM) - Hassi R\\'Mel Airport, , Algeria','country_id' => '59'),\narray('id' => '898','name' => '(QDJ) - Tsletsi Airport, Djelfa, Algeria','country_id' => '59'),\narray('id' => '899','name' => '(DAO) - Dabo Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '900','name' => '(TID) - Bou Chekif Airport, Tiaret, Algeria','country_id' => '59'),\narray('id' => '901','name' => '(TIN) - Tindouf Airport, Tindouf, Algeria','country_id' => '59'),\narray('id' => '902','name' => '(CFK) - Ech Cheliff Airport, , Algeria','country_id' => '59'),\narray('id' => '903','name' => '(TAF) - Tafaraoui Airport, , Algeria','country_id' => '59'),\narray('id' => '904','name' => '(TLM) - Zenata a\" Messali El Hadj Airport, Tlemcen, Algeria','country_id' => '59'),\narray('id' => '905','name' => '(ORN) - Es Senia Airport, Oran, Algeria','country_id' => '59'),\narray('id' => '906','name' => '(CBH) - BAchar Boudghene Ben Ali Lotfi Airport, BAchar, Algeria','country_id' => '59'),\narray('id' => '907','name' => '(BFW) - Sidi Bel Abbes Airport, Sidi Bel AbbAs, Algeria','country_id' => '59'),\narray('id' => '908','name' => '(MUW) - Ghriss Airport, , Algeria','country_id' => '59'),\narray('id' => '909','name' => '(EBH) - El Bayadh Airport, El Bayadh, Algeria','country_id' => '59'),\narray('id' => '910','name' => '(INF) - In Guezzam Airport, In Guezzam, Algeria','country_id' => '59'),\narray('id' => '911','name' => '(BMW) - Bordj Badji Mokhtar Airport, Bordj Badji Mokhtar, Algeria','country_id' => '59'),\narray('id' => '912','name' => '(AZR) - Touat Cheikh Sidi Mohamed Belkebir Airport, , Algeria','country_id' => '59'),\narray('id' => '913','name' => '(BSK) - Biskra Airport, Biskra, Algeria','country_id' => '59'),\narray('id' => '914','name' => '(ELG) - El Golea Airport, , Algeria','country_id' => '59'),\narray('id' => '915','name' => '(GHA) - NoumArat - Moufdi Zakaria Airport, GhardaAa, Algeria','country_id' => '59'),\narray('id' => '916','name' => '(HME) - Oued Irara Airport, Hassi Messaoud, Algeria','country_id' => '59'),\narray('id' => '917','name' => '(INZ) - In Salah Airport, In Salah, Algeria','country_id' => '59'),\narray('id' => '918','name' => '(TGR) - Touggourt Sidi Madhi Airport, Touggourt, Algeria','country_id' => '59'),\narray('id' => '919','name' => '(LOO) - Laghouat Airport, Laghouat, Algeria','country_id' => '59'),\narray('id' => '920','name' => '(ELU) - Guemar Airport, Guemar, Algeria','country_id' => '59'),\narray('id' => '921','name' => '(TMX) - Timimoun Airport, Timimoun, Algeria','country_id' => '59'),\narray('id' => '922','name' => '(OGX) - Ain el Beida Airport, Ouargla, Algeria','country_id' => '59'),\narray('id' => '923','name' => '(IAM) - In AmAnas Airport, AmAnas, Algeria','country_id' => '59'),\narray('id' => '924','name' => '(COO) - Cadjehoun Airport, Cotonou, Benin','country_id' => '23'),\narray('id' => '925','name' => '(DJA) - Djougou Airport, Djougou, Benin','country_id' => '23'),\narray('id' => '926','name' => '(KDC) - Kandi Airport, Kandi, Benin','country_id' => '23'),\narray('id' => '927','name' => '(NAE) - Natitingou Airport, Natitingou, Benin','country_id' => '23'),\narray('id' => '928','name' => '(PKO) - Parakou Airport, Parakou, Benin','country_id' => '23'),\narray('id' => '929','name' => '(SVF) - SavA Airport, SavA, Benin','country_id' => '23'),\narray('id' => '930','name' => '(DBC) - Chang\\'an Airport, Baicheng, China','country_id' => '45'),\narray('id' => '931','name' => '(DBP) - Debepare Airport, Debepare, Papua New Guinea','country_id' => '172'),\narray('id' => '932','name' => '(DCK) - Dahl Creek Airport, Dahl Creek, United States','country_id' => '228'),\narray('id' => '933','name' => '(DDM) - Dodoima Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '934','name' => '(DER) - Derim Airport, Derim, Papua New Guinea','country_id' => '172'),\narray('id' => '935','name' => '(DEX) - Nop Goliath Airport, Yahukimo, Indonesia','country_id' => '97'),\narray('id' => '936','name' => '(XKY) - Kaya Airport, Kaya, Burkina Faso','country_id' => '19'),\narray('id' => '937','name' => '(OUG) - Ouahigouya Airport, Ouahigouya, Burkina Faso','country_id' => '19'),\narray('id' => '938','name' => '(XDJ) - Djibo Airport, Djibo, Burkina Faso','country_id' => '19'),\narray('id' => '939','name' => '(XLU) - Leo Airport, Leo, Burkina Faso','country_id' => '19'),\narray('id' => '940','name' => '(PUP) - Po Airport, Po, Burkina Faso','country_id' => '19'),\narray('id' => '941','name' => '(XBO) - Boulsa Airport, Boulsa, Burkina Faso','country_id' => '19'),\narray('id' => '942','name' => '(XBG) - Bogande Airport, Bogande, Burkina Faso','country_id' => '19'),\narray('id' => '943','name' => '(DIP) - Diapaga Airport, Diapaga, Burkina Faso','country_id' => '19'),\narray('id' => '944','name' => '(DOR) - Dori Airport, Dori, Burkina Faso','country_id' => '19'),\narray('id' => '945','name' => '(FNG) - Fada N\\'gourma Airport, Fada N\\'gourma, Burkina Faso','country_id' => '19'),\narray('id' => '946','name' => '(XGG) - Gorom-Gorom Airport, Gorom-Gorom, Burkina Faso','country_id' => '19'),\narray('id' => '947','name' => '(XKA) - Kantchari Airport, Kantchari, Burkina Faso','country_id' => '19'),\narray('id' => '948','name' => '(TMQ) - Tambao Airport, Tambao, Burkina Faso','country_id' => '19'),\narray('id' => '949','name' => '(XPA) - Pama Airport, Pama, Burkina Faso','country_id' => '19'),\narray('id' => '950','name' => '(ARL) - Arly Airport, Arly, Burkina Faso','country_id' => '19'),\narray('id' => '951','name' => '(XSE) - Sebba Airport, Sebba, Burkina Faso','country_id' => '19'),\narray('id' => '952','name' => '(TEG) - Tenkodogo Airport, Tenkodogo, Burkina Faso','country_id' => '19'),\narray('id' => '953','name' => '(XZA) - ZabrA Airport, ZabrA, Burkina Faso','country_id' => '19'),\narray('id' => '954','name' => '(OUA) - Ouagadougou Airport, Ouagadougou, Burkina Faso','country_id' => '19'),\narray('id' => '955','name' => '(BNR) - Banfora Airport, Banfora, Burkina Faso','country_id' => '19'),\narray('id' => '956','name' => '(DGU) - Dedougou Airport, Dedougou, Burkina Faso','country_id' => '19'),\narray('id' => '957','name' => '(XGA) - Gaoua Airport, Gaoua, Burkina Faso','country_id' => '19'),\narray('id' => '958','name' => '(XNU) - Nouna Airport, Nouna, Burkina Faso','country_id' => '19'),\narray('id' => '959','name' => '(BOY) - Bobo Dioulasso Airport, Bobo Dioulasso, Burkina Faso','country_id' => '19'),\narray('id' => '960','name' => '(TUQ) - Tougan Airport, Tougan, Burkina Faso','country_id' => '19'),\narray('id' => '961','name' => '(XDE) - Diebougou Airport, Diebougou, Burkina Faso','country_id' => '19'),\narray('id' => '962','name' => '(XAR) - Aribinda Airport, Aribinda, Burkina Faso','country_id' => '19'),\narray('id' => '963','name' => '(ACC) - Kotoka International Airport, Accra, Ghana','country_id' => '79'),\narray('id' => '964','name' => '(TML) - Tamale Airport, Tamale, Ghana','country_id' => '79'),\narray('id' => '965','name' => '(KMS) - Kumasi Airport, Kumasi, Ghana','country_id' => '79'),\narray('id' => '966','name' => '(NYI) - Sunyani Airport, Sunyani, Ghana','country_id' => '79'),\narray('id' => '967','name' => '(TKD) - Takoradi Airport, Sekondi-Takoradi, Ghana','country_id' => '79'),\narray('id' => '968','name' => '(ABJ) - Port Bouet Airport, Abidjan, Ivoire Coast','country_id' => '41'),\narray('id' => '969','name' => '(OGO) - Abengourou Airport, Abengourou, Ivoire Coast','country_id' => '41'),\narray('id' => '970','name' => '(BXI) - Boundiali Airport, Boundiali, Ivoire Coast','country_id' => '41'),\narray('id' => '971','name' => '(BYK) - BouakA Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '972','name' => '(BQO) - Bouna Airport, Bouna, Ivoire Coast','country_id' => '41'),\narray('id' => '973','name' => '(BDK) - Soko Airport, Bondoukou, Ivoire Coast','country_id' => '41'),\narray('id' => '974','name' => '(DIM) - Dimbokro Airport, Dimbokro, Ivoire Coast','country_id' => '41'),\narray('id' => '975','name' => '(DJO) - Daloa Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '976','name' => '(FEK) - Ferkessedougou Airport, Ferkessedougou, Ivoire Coast','country_id' => '41'),\narray('id' => '977','name' => '(GGN) - Gagnoa Airport, Gagnoa, Ivoire Coast','country_id' => '41'),\narray('id' => '978','name' => '(GGO) - Guiglo Airport, Guiglo, Ivoire Coast','country_id' => '41'),\narray('id' => '979','name' => '(BBV) - Nero-Mer Airport, Grand-BArAby, Ivoire Coast','country_id' => '41'),\narray('id' => '980','name' => '(HGO) - Korhogo Airport, Korhogo, Ivoire Coast','country_id' => '41'),\narray('id' => '981','name' => '(MJC) - Man Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '982','name' => '(KEO) - Odienne Airport, Odienne, Ivoire Coast','country_id' => '41'),\narray('id' => '983','name' => '(OFI) - Ouango Fitini Airport, Ouango Fitini, Ivoire Coast','country_id' => '41'),\narray('id' => '984','name' => '(SEO) - Seguela Airport, Seguela, Ivoire Coast','country_id' => '41'),\narray('id' => '985','name' => '(SPY) - San Pedro Airport, , Ivoire Coast','country_id' => '41'),\narray('id' => '986','name' => '(ZSS) - Sassandra Airport, Sassandra, Ivoire Coast','country_id' => '41'),\narray('id' => '987','name' => '(TXU) - Tabou Airport, Tabou, Ivoire Coast','country_id' => '41'),\narray('id' => '988','name' => '(TOZ) - Mahana Airport, Touba, Ivoire Coast','country_id' => '41'),\narray('id' => '989','name' => '(ASK) - Yamoussoukro Airport, Yamoussoukro, Ivoire Coast','country_id' => '41'),\narray('id' => '990','name' => '(DKA) - Katsina Airport, Katsina, Nigeria','country_id' => '160'),\narray('id' => '991','name' => '(ABV) - Nnamdi Azikiwe International Airport, Abuja, Nigeria','country_id' => '160'),\narray('id' => '992','name' => '(QUO) - Akwa Ibom International Airport, Uyo, Nigeria','country_id' => '160'),\narray('id' => '993','name' => '(AKR) - Akure Airport, Akure, Nigeria','country_id' => '160'),\narray('id' => '994','name' => '(ABB) - Asaba International Airport, Asaba, Nigeria','country_id' => '160'),\narray('id' => '995','name' => '(BNI) - Benin Airport, Benin, Nigeria','country_id' => '160'),\narray('id' => '996','name' => '(CBQ) - Margaret Ekpo International Airport, Calabar, Nigeria','country_id' => '160'),\narray('id' => '997','name' => '(ENU) - Akanu Ibiam International Airport, Enegu, Nigeria','country_id' => '160'),\narray('id' => '998','name' => '(QUS) - Gusau Airport, Gusau, Nigeria','country_id' => '160'),\narray('id' => '999','name' => '(IBA) - Ibadan Airport, Ibadan, Nigeria','country_id' => '160'),\narray('id' => '1000','name' => '(ILR) - Ilorin International Airport, Ilorin, Nigeria','country_id' => '160'),\narray('id' => '1001','name' => '(QOW) - Sam Mbakwe International Airport, Owerri, Nigeria','country_id' => '160'),\narray('id' => '1002','name' => '(JOS) - Yakubu Gowon Airport, Jos, Nigeria','country_id' => '160'),\narray('id' => '1003','name' => '(KAD) - Kaduna Airport, Kaduna, Nigeria','country_id' => '160'),\narray('id' => '1004','name' => '(KAN) - Mallam Aminu International Airport, Kano, Nigeria','country_id' => '160'),\narray('id' => '1005','name' => '(MIU) - Maiduguri International Airport, Maiduguri, Nigeria','country_id' => '160'),\narray('id' => '1006','name' => '(MDI) - Makurdi Airport, Makurdi, Nigeria','country_id' => '160'),\narray('id' => '1007','name' => '(LOS) - Murtala Muhammed International Airport, Lagos, Nigeria','country_id' => '160'),\narray('id' => '1008','name' => '(MXJ) - Minna Airport, Minna, Nigeria','country_id' => '160'),\narray('id' => '1009','name' => '(PHC) - Port Harcourt International Airport, Port Harcourt, Nigeria','country_id' => '160'),\narray('id' => '1010','name' => '(SKO) - Sadiq Abubakar III International Airport, Sokoto, Nigeria','country_id' => '160'),\narray('id' => '1011','name' => '(YOL) - Yola Airport, Yola, Nigeria','country_id' => '160'),\narray('id' => '1012','name' => '(ZAR) - Zaria Airport, Zaria, Nigeria','country_id' => '160'),\narray('id' => '1013','name' => '(DOO) - Dorobisoro Airport, Dorobisoro, Papua New Guinea','country_id' => '172'),\narray('id' => '1014','name' => '(DPT) - Deputatskiy Airport, Deputatskiy, Russia','country_id' => '187'),\narray('id' => '1015','name' => '(DQA) - Saertu Airport, Daqing Shi, China','country_id' => '45'),\narray('id' => '1016','name' => '(MFQ) - Maradi Airport, Maradi, Niger','country_id' => '158'),\narray('id' => '1017','name' => '(NIM) - Diori Hamani International Airport, Niamey, Niger','country_id' => '158'),\narray('id' => '1018','name' => '(THZ) - Tahoua Airport, Tahoua, Niger','country_id' => '158'),\narray('id' => '1019','name' => '(AJY) - Mano Dayak International Airport, Agadez, Niger','country_id' => '158'),\narray('id' => '1020','name' => '(RLT) - Arlit Airport, Arlit, Niger','country_id' => '158'),\narray('id' => '1021','name' => '(ZND) - Zinder Airport, Zinder, Niger','country_id' => '158'),\narray('id' => '1022','name' => '(DSG) - Dilasag Airport, Dilasag, Philippines','country_id' => '173'),\narray('id' => '1023','name' => '(TBJ) - Tabarka 7 Novembre Airport, Tabarka, Tunisia','country_id' => '218'),\narray('id' => '1024','name' => '(MIR) - Monastir Habib Bourguiba International Airport, Monastir, Tunisia','country_id' => '218'),\narray('id' => '1025','name' => '(TUN) - Tunis Carthage International Airport, Tunis, Tunisia','country_id' => '218'),\narray('id' => '1026','name' => '(QIZ) - Sidi Ahmed Air Base, Sidi Ahmed, Tunisia','country_id' => '218'),\narray('id' => '1027','name' => '(GAF) - Gafsa Ksar International Airport, Gafsa, Tunisia','country_id' => '218'),\narray('id' => '1028','name' => '(GAE) - GabAs Matmata International Airport, GabAs, Tunisia','country_id' => '218'),\narray('id' => '1029','name' => '(DJE) - Djerba Zarzis International Airport, Djerba, Tunisia','country_id' => '218'),\narray('id' => '1030','name' => '(EBM) - El Borma Airport, El Borma, Tunisia','country_id' => '218'),\narray('id' => '1031','name' => '(SFA) - Sfax Thyna International Airport, Sfax, Tunisia','country_id' => '218'),\narray('id' => '1032','name' => '(TOE) - Tozeur Nefta International Airport, Tozeur, Tunisia','country_id' => '218'),\narray('id' => '1033','name' => '(DVD) - Andavadoaka Airport, Andavadoaka, Madagascar','country_id' => '138'),\narray('id' => '1034','name' => '(DWR) - Dywer Airbase, Camp Dwyer, Afghanistan','country_id' => '2'),\narray('id' => '1035','name' => '(LRL) - Niamtougou International Airport, Niamtougou, Togo','country_id' => '212'),\narray('id' => '1036','name' => '(LFW) - LomA-Tokoin Airport, LomA, Togo','country_id' => '212'),\narray('id' => '1037','name' => '(EAL) - Elenak Airport, Mejato Island, Marshall Islands','country_id' => '139'),\narray('id' => '1038','name' => '(QON) - Arlon-Sterpenich ULM, Arlon, Belgium','country_id' => '18'),\narray('id' => '1039','name' => '(ANR) - Antwerp International Airport (Deurne), Antwerp, Belgium','country_id' => '18'),\narray('id' => '1040','name' => '(BRU) - Brussels Airport, Brussels, Belgium','country_id' => '18'),\narray('id' => '1041','name' => '(CRL) - Brussels South Charleroi Airport, Brussels, Belgium','country_id' => '18'),\narray('id' => '1042','name' => '(KJK) - Wevelgem Airport, Wevelgem, Belgium','country_id' => '18'),\narray('id' => '1043','name' => '(LGG) - LiAge Airport, LiAge, Belgium','country_id' => '18'),\narray('id' => '1044','name' => '(QNM) - SuarlAe Airport, Namur, Belgium','country_id' => '18'),\narray('id' => '1045','name' => '(EBO) - Ebon Airport, Ebon Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '1046','name' => '(OST) - Ostend-Bruges International Airport, Ostend, Belgium','country_id' => '18'),\narray('id' => '1047','name' => '(ZGQ) - Tournai/Maubray Airport, Tournai, Belgium','country_id' => '18'),\narray('id' => '1048','name' => '(QHA) - Kiewit Airfield Hasselt, Hasselt, Belgium','country_id' => '18'),\narray('id' => '1049','name' => '(OBL) - Oostmalle Air Base, Zoersel, Belgium','country_id' => '18'),\narray('id' => '1050','name' => '(MZD) - MAndez Airport, Santiago de MAndez, Ecuador','country_id' => '60'),\narray('id' => '1051','name' => '(AOC) - Altenburg-Nobitz Airport, Altenburg, Germany','country_id' => '54'),\narray('id' => '1052','name' => '(HDF) - Heringsdorf Airport, Heringsdorf, Germany','country_id' => '54'),\narray('id' => '1053','name' => '(IES) - Riesa-GAhlis Airport, Riesa, Germany','country_id' => '54'),\narray('id' => '1054','name' => '(REB) - Rechlin-LArz Airport, LArz, Germany','country_id' => '54'),\narray('id' => '1055','name' => '(QXH) - SchAnhagen Airport, Trebbin, Germany','country_id' => '54'),\narray('id' => '1056','name' => '(CSO) - Cochstedt Airport, Magdeburg, Germany','country_id' => '54'),\narray('id' => '1057','name' => '(BBH) - Barth Airport, , Germany','country_id' => '54'),\narray('id' => '1058','name' => '(ZMG) - Magdeburg Airport, Magdeburg, Germany','country_id' => '54'),\narray('id' => '1059','name' => '(FNB) - Neubrandenburg Airport, Neubrandenburg, Germany','country_id' => '54'),\narray('id' => '1060','name' => '(CBU) - Cottbus-Drewitz Airport, Cottbus, Germany','country_id' => '54'),\narray('id' => '1061','name' => '(GTI) - RAgen Airport, RAgen, Germany','country_id' => '54'),\narray('id' => '1062','name' => '(KOQ) - KAthen Airport, KAthen, Germany','country_id' => '54'),\narray('id' => '1063','name' => '(PEF) - PeenemAnde Airport, PeenemAnde, Germany','country_id' => '54'),\narray('id' => '1064','name' => '(SXF) - Berlin-SchAnefeld International Airport, Berlin, Germany','country_id' => '54'),\narray('id' => '1065','name' => '(DRS) - Dresden Airport, Dresden, Germany','country_id' => '54'),\narray('id' => '1066','name' => '(ERF) - Erfurt Airport, Erfurt, Germany','country_id' => '54'),\narray('id' => '1067','name' => '(FRA) - Frankfurt am Main International Airport, Frankfurt-am-Main, Germany','country_id' => '54'),\narray('id' => '1068','name' => '(FMO) - MAnster OsnabrAck Airport, MAnster, Germany','country_id' => '54'),\narray('id' => '1069','name' => '(HAM) - Hamburg Airport, Hamburg, Germany','country_id' => '54'),\narray('id' => '1070','name' => '(CGN) - Cologne Bonn Airport, Cologne, Germany','country_id' => '54'),\narray('id' => '1071','name' => '(DUS) - DAsseldorf International Airport, DAsseldorf, Germany','country_id' => '54'),\narray('id' => '1072','name' => '(MUC) - Munich International Airport, Munich, Germany','country_id' => '54'),\narray('id' => '1073','name' => '(NUE) - Nuremberg Airport, Nuremberg, Germany','country_id' => '54'),\narray('id' => '1074','name' => '(LEJ) - Leipzig Halle Airport, Leipzig, Germany','country_id' => '54'),\narray('id' => '1075','name' => '(SCN) - SaarbrAcken Airport, SaarbrAcken, Germany','country_id' => '54'),\narray('id' => '1076','name' => '(STR) - Stuttgart Airport, Stuttgart, Germany','country_id' => '54'),\narray('id' => '1077','name' => '(TXL) - Berlin-Tegel International Airport, Berlin, Germany','country_id' => '54'),\narray('id' => '1078','name' => '(HAJ) - Hannover Airport, Hannover, Germany','country_id' => '54'),\narray('id' => '1079','name' => '(BRE) - Bremen Airport, Bremen, Germany','country_id' => '54'),\narray('id' => '1080','name' => '(QEF) - Frankfurt-Egelsbach Airport, Egelsbach, Germany','country_id' => '54'),\narray('id' => '1081','name' => '(HHN) - Frankfurt-Hahn Airport, Hahn, Germany','country_id' => '54'),\narray('id' => '1082','name' => '(MHG) - Mannheim-City Airport, Mannheim, Germany','country_id' => '54'),\narray('id' => '1083','name' => '(QMZ) - Mainz-Finthen Airport, Mainz, Germany','country_id' => '54'),\narray('id' => '1084','name' => '(EIB) - Eisenach-Kindel Airport, Eisenach, Germany','country_id' => '54'),\narray('id' => '1085','name' => '(SGE) - Siegerland Airport, , Germany','country_id' => '54'),\narray('id' => '1086','name' => '(XFW) - Hamburg-Finkenwerder Airport, Hamburg, Germany','country_id' => '54'),\narray('id' => '1087','name' => '(KEL) - Kiel-Holtenau Airport, Kiel, Germany','country_id' => '54'),\narray('id' => '1088','name' => '(LBC) - LAbeck Blankensee Airport, LAbeck, Germany','country_id' => '54'),\narray('id' => '1089','name' => '(EUM) - NeumAnster Airport, NeumAnster, Germany','country_id' => '54'),\narray('id' => '1090','name' => '(FMM) - Memmingen Allgau Airport, Memmingen, Germany','country_id' => '54'),\narray('id' => '1091','name' => '(AAH) - Aachen-MerzbrAck Airport, Aachen, Germany','country_id' => '54'),\narray('id' => '1092','name' => '(BNJ) - Bonn-Hangelar Airport, Bonn, Germany','country_id' => '54'),\narray('id' => '1093','name' => '(ESS) - Essen Mulheim Airport, , Germany','country_id' => '54'),\narray('id' => '1094','name' => '(BFE) - Bielefeld Airport, Bielefeld, Germany','country_id' => '54'),\narray('id' => '1095','name' => '(ZOJ) - Marl-LoemAhle Airport, Marl, Germany','country_id' => '54'),\narray('id' => '1096','name' => '(MGL) - MAnchengladbach Airport, MAnchengladbach, Germany','country_id' => '54'),\narray('id' => '1097','name' => '(PAD) - Paderborn Lippstadt Airport, Paderborn, Germany','country_id' => '54'),\narray('id' => '1098','name' => '(NRN) - Weeze Airport, Weeze, Germany','country_id' => '54'),\narray('id' => '1099','name' => '(DTM) - Dortmund Airport, Dortmund, Germany','country_id' => '54'),\narray('id' => '1100','name' => '(AGB) - Augsburg Airport, Augsburg, Germany','country_id' => '54'),\narray('id' => '1101','name' => '(OBF) - Oberpfaffenhofen Airport, , Germany','country_id' => '54'),\narray('id' => '1102','name' => '(RBM) - Straubing Airport, Straubing, Germany','country_id' => '54'),\narray('id' => '1103','name' => '(FDH) - Friedrichshafen Airport, Friedrichshafen, Germany','country_id' => '54'),\narray('id' => '1104','name' => '(FRF) - Oschersleben Airport, Oschersleben, Germany','country_id' => '54'),\narray('id' => '1105','name' => '(SZW) - Schwerin Parchim Airport, , Germany','country_id' => '54'),\narray('id' => '1106','name' => '(BYU) - Bayreuth Airport, Bayreuth, Germany','country_id' => '54'),\narray('id' => '1107','name' => '(URD) - Burg Feuerstein Airport, Ebermannstadt, Germany','country_id' => '54'),\narray('id' => '1108','name' => '(QOB) - Ansbach-Petersdorf Airport, Ansbach, Germany','country_id' => '54'),\narray('id' => '1109','name' => '(GHF) - Giebelstadt Airport, Giebelstadt, Germany','country_id' => '54'),\narray('id' => '1110','name' => '(HOQ) - Hof-Plauen Airport, Hof, Germany','country_id' => '54'),\narray('id' => '1111','name' => '(BBJ) - Bitburg Airport, Bitburg, Germany','country_id' => '54'),\narray('id' => '1112','name' => '(ZQW) - ZweibrAcken Airport, ZweibrAcken, Germany','country_id' => '54'),\narray('id' => '1113','name' => '(FKB) - Karlsruhe Baden-Baden Airport, Baden-Baden, Germany','country_id' => '54'),\narray('id' => '1114','name' => '(ZQL) - Donaueschingen-Villingen Airport, Donaueschingen, Germany','country_id' => '54'),\narray('id' => '1115','name' => '(LHA) - Lahr Airport, , Germany','country_id' => '54'),\narray('id' => '1116','name' => '(BWE) - Braunschweig Wolfsburg Airport, , Germany','country_id' => '54'),\narray('id' => '1117','name' => '(KSF) - Kassel-Calden Airport, Kassel, Germany','country_id' => '54'),\narray('id' => '1118','name' => '(EME) - Emden Airport, Emden, Germany','country_id' => '54'),\narray('id' => '1119','name' => '(AGE) - Wangerooge Airport, Wangerooge, Germany','country_id' => '54'),\narray('id' => '1120','name' => '(WVN) - Wilhelmshaven-Mariensiel Airport, Wilhelmshaven, Germany','country_id' => '54'),\narray('id' => '1121','name' => '(JUI) - Juist Airport, Juist, Germany','country_id' => '54'),\narray('id' => '1122','name' => '(LGO) - Langeoog Airport, Langeoog, Germany','country_id' => '54'),\narray('id' => '1123','name' => '(ZOW) - Nordhorn-Lingen Airport, Klausheide, Germany','country_id' => '54'),\narray('id' => '1124','name' => '(BMK) - Borkum Airport, Borkum, Germany','country_id' => '54'),\narray('id' => '1125','name' => '(NOD) - Norden-Norddeich Airport, Norddeich, Germany','country_id' => '54'),\narray('id' => '1126','name' => '(VAC) - Varrelbusch Airport, Cloppenburg, Germany','country_id' => '54'),\narray('id' => '1127','name' => '(NRD) - Norderney Airport, Norderney, Germany','country_id' => '54'),\narray('id' => '1128','name' => '(BMR) - Baltrum Airport, Baltrum, Germany','country_id' => '54'),\narray('id' => '1129','name' => '(HEI) - Heide-BAsum Airport, BAsum, Germany','country_id' => '54'),\narray('id' => '1130','name' => '(FLF) - Flensburg-SchAferhaus Airport, Flensburg, Germany','country_id' => '54'),\narray('id' => '1131','name' => '(HGL) - Helgoland-DAne Airport, Helgoland, Germany','country_id' => '54'),\narray('id' => '1132','name' => '(QHU) - Husum-Schwesing Airport, Husum, Germany','country_id' => '54'),\narray('id' => '1133','name' => '(NDZ) - Nordholz-Spieka Airport, Cuxhaven, Germany','country_id' => '54'),\narray('id' => '1134','name' => '(PSH) - St. Peter-Ording Airport, Sankt Peter-Ording, Germany','country_id' => '54'),\narray('id' => '1135','name' => '(GWT) - Westerland Sylt Airport, Westerland, Germany','country_id' => '54'),\narray('id' => '1136','name' => '(OHR) - Wyk auf FAhr Airport, Wyk auf FAhr, Germany','country_id' => '54'),\narray('id' => '1137','name' => '(KDL) - KArdla Airport, KArdla, Estonia','country_id' => '61'),\narray('id' => '1138','name' => '(URE) - Kuressaare Airport, Kuressaare, Estonia','country_id' => '61'),\narray('id' => '1139','name' => '(EPU) - PArnu Airport, PArnu, Estonia','country_id' => '61'),\narray('id' => '1140','name' => '(TLL) - Lennart Meri Tallinn Airport, Tallinn, Estonia','country_id' => '61'),\narray('id' => '1141','name' => '(TAY) - Tartu Airport, Tartu, Estonia','country_id' => '61'),\narray('id' => '1142','name' => '(ENF) - Enontekio Airport, Enontekio, Finland','country_id' => '67'),\narray('id' => '1143','name' => '(QVE) - Forssa Airport, Forssa, Finland','country_id' => '67'),\narray('id' => '1144','name' => '(EFG) - Efogi Airport, Efogi, Papua New Guinea','country_id' => '172'),\narray('id' => '1145','name' => '(KEV) - Halli Airport, Halli / Kuorevesi, Finland','country_id' => '67'),\narray('id' => '1146','name' => '(HEM) - Helsinki Malmi Airport, Helsinki, Finland','country_id' => '67'),\narray('id' => '1147','name' => '(HEL) - Helsinki Vantaa Airport, Helsinki, Finland','country_id' => '67'),\narray('id' => '1148','name' => '(HYV) - HyvinkAA Airfield, HyvinkAA, Finland','country_id' => '67'),\narray('id' => '1149','name' => '(KTQ) - Kitee Airport, , Finland','country_id' => '67'),\narray('id' => '1150','name' => '(IVL) - Ivalo Airport, Ivalo, Finland','country_id' => '67'),\narray('id' => '1151','name' => '(JOE) - Joensuu Airport, Joensuu / Liperi, Finland','country_id' => '67'),\narray('id' => '1152','name' => '(JYV) - Jyvaskyla Airport, JyvAskylAn Maalaiskunta, Finland','country_id' => '67'),\narray('id' => '1153','name' => '(KAU) - Kauhava Airport, Kauhava, Finland','country_id' => '67'),\narray('id' => '1154','name' => '(KEM) - Kemi-Tornio Airport, Kemi / Tornio, Finland','country_id' => '67'),\narray('id' => '1155','name' => '(KAJ) - Kajaani Airport, Kajaani, Finland','country_id' => '67'),\narray('id' => '1156','name' => '(KHJ) - Kauhajoki Airport, , Finland','country_id' => '67'),\narray('id' => '1157','name' => '(KOK) - Kokkola-Pietarsaari Airport, Kokkola / Kruunupyy, Finland','country_id' => '67'),\narray('id' => '1158','name' => '(KAO) - Kuusamo Airport, Kuusamo, Finland','country_id' => '67'),\narray('id' => '1159','name' => '(KTT) - KittilA Airport, KittilA, Finland','country_id' => '67'),\narray('id' => '1160','name' => '(KUO) - Kuopio Airport, Kuopio / SiilinjArvi, Finland','country_id' => '67'),\narray('id' => '1161','name' => '(QLF) - Lahti Vesivehmaa Airport, , Finland','country_id' => '67'),\narray('id' => '1162','name' => '(LPP) - Lappeenranta Airport, Lappeenranta, Finland','country_id' => '67'),\narray('id' => '1163','name' => '(MHQ) - Mariehamn Airport, , Finland','country_id' => '67'),\narray('id' => '1164','name' => '(MIK) - Mikkeli Airport, Mikkeli, Finland','country_id' => '67'),\narray('id' => '1165','name' => '(OUL) - Oulu Airport, Oulu / Oulunsalo, Finland','country_id' => '67'),\narray('id' => '1166','name' => '(POR) - Pori Airport, Pori, Finland','country_id' => '67'),\narray('id' => '1167','name' => '(RVN) - Rovaniemi Airport, Rovaniemi, Finland','country_id' => '67'),\narray('id' => '1168','name' => '(SVL) - Savonlinna Airport, Savonlinna, Finland','country_id' => '67'),\narray('id' => '1169','name' => '(SJY) - SeinAjoki Airport, SeinAjoki / Ilmajoki, Finland','country_id' => '67'),\narray('id' => '1170','name' => '(SOT) - Sodankyla Airport, Sodankyla, Finland','country_id' => '67'),\narray('id' => '1171','name' => '(TMP) - Tampere-Pirkkala Airport, Tampere / Pirkkala, Finland','country_id' => '67'),\narray('id' => '1172','name' => '(TKU) - Turku Airport, Turku, Finland','country_id' => '67'),\narray('id' => '1173','name' => '(UTI) - Utti Air Base, Utti / Valkeala, Finland','country_id' => '67'),\narray('id' => '1174','name' => '(VAA) - Vaasa Airport, Vaasa, Finland','country_id' => '67'),\narray('id' => '1175','name' => '(VRK) - Varkaus Airport, Varkaus / Joroinen, Finland','country_id' => '67'),\narray('id' => '1176','name' => '(YLI) - Ylivieska Airport, , Finland','country_id' => '67'),\narray('id' => '1177','name' => '(AUE) - Abu Rudeis Airport, Abu Rudeis, Egypt','country_id' => '62'),\narray('id' => '1178','name' => '(BFS) - Belfast International Airport, Belfast, United Kingdom','country_id' => '74'),\narray('id' => '1179','name' => '(ENK) - St Angelo Airport, Enniskillen, United Kingdom','country_id' => '74'),\narray('id' => '1180','name' => '(BHD) - George Best Belfast City Airport, Belfast, United Kingdom','country_id' => '74'),\narray('id' => '1181','name' => '(LDY) - City of Derry Airport, Derry, United Kingdom','country_id' => '74'),\narray('id' => '1182','name' => '(BHX) - Birmingham International Airport, Birmingham, United Kingdom','country_id' => '74'),\narray('id' => '1183','name' => '(CVT) - Coventry Airport, Coventry, United Kingdom','country_id' => '74'),\narray('id' => '1184','name' => '(GLO) - Gloucestershire Airport, Staverton, United Kingdom','country_id' => '74'),\narray('id' => '1185','name' => '(ORM) - Sywell Aerodrome, Northampton, United Kingdom','country_id' => '74'),\narray('id' => '1186','name' => '(NQT) - Nottingham Airport, Nottingham, United Kingdom','country_id' => '74'),\narray('id' => '1187','name' => '(MAN) - Manchester Airport, Manchester, United Kingdom','country_id' => '74'),\narray('id' => '1188','name' => '(DSA) - Robin Hood Doncaster Sheffield Airport, Doncaster, United Kingdom','country_id' => '74'),\narray('id' => '1189','name' => '(UPV) - Upavon Aerodrome, Upavon, United Kingdom','country_id' => '74'),\narray('id' => '1190','name' => '(LYE) - RAF Lyneham, Lyneham, United Kingdom','country_id' => '74'),\narray('id' => '1191','name' => '(DGX) - MOD St. Athan, St. Athan, United Kingdom','country_id' => '74'),\narray('id' => '1192','name' => '(YEO) - RNAS Yeovilton, Yeovil, United Kingdom','country_id' => '74'),\narray('id' => '1193','name' => '(CAL) - Campbeltown Airport, Campbeltown, United Kingdom','country_id' => '74'),\narray('id' => '1194','name' => '(EOI) - Eday Airport, Eday, United Kingdom','country_id' => '74'),\narray('id' => '1195','name' => '(FIE) - Fair Isle Airport, Fair Isle, United Kingdom','country_id' => '74'),\narray('id' => '1196','name' => '(WHS) - Whalsay Airport, Whalsay, United Kingdom','country_id' => '74'),\narray('id' => '1197','name' => '(COL) - Coll Airport, Coll Island, United Kingdom','country_id' => '74'),\narray('id' => '1198','name' => '(NRL) - North Ronaldsay Airport, North Ronaldsay, United Kingdom','country_id' => '74'),\narray('id' => '1199','name' => '(OBN) - Oban Airport, North Connel, United Kingdom','country_id' => '74'),\narray('id' => '1200','name' => '(PPW) - Papa Westray Airport, Papa Westray, United Kingdom','country_id' => '74'),\narray('id' => '1201','name' => '(SOY) - Stronsay Airport, Stronsay, United Kingdom','country_id' => '74'),\narray('id' => '1202','name' => '(NDY) - Sanday Airport, Sanday, United Kingdom','country_id' => '74'),\narray('id' => '1203','name' => '(LWK) - Lerwick / Tingwall Airport, Lerwick, United Kingdom','country_id' => '74'),\narray('id' => '1204','name' => '(WRY) - Westray Airport, Westray, United Kingdom','country_id' => '74'),\narray('id' => '1205','name' => '(CSA) - Colonsay Airstrip, Colonsay, United Kingdom','country_id' => '74'),\narray('id' => '1206','name' => '(HAW) - Haverfordwest Airport, Haverfordwest, United Kingdom','country_id' => '74'),\narray('id' => '1207','name' => '(CWL) - Cardiff International Airport, Cardiff, United Kingdom','country_id' => '74'),\narray('id' => '1208','name' => '(SWS) - Swansea Airport, Swansea, United Kingdom','country_id' => '74'),\narray('id' => '1209','name' => '(BRS) - Bristol International Airport, Bristol, United Kingdom','country_id' => '74'),\narray('id' => '1210','name' => '(LPL) - Liverpool John Lennon Airport, Liverpool, United Kingdom','country_id' => '74'),\narray('id' => '1211','name' => '(LTN) - London Luton Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1212','name' => '(LEQ) - Land\\'s End Airport, Land\\'s End, United Kingdom','country_id' => '74'),\narray('id' => '1213','name' => '(PLH) - Plymouth City Airport, Plymouth, United Kingdom','country_id' => '74'),\narray('id' => '1214','name' => '(ISC) - St. Mary\\'s Airport, St. Mary\\'s, United Kingdom','country_id' => '74'),\narray('id' => '1215','name' => '(BOH) - Bournemouth Airport, Bournemouth, United Kingdom','country_id' => '74'),\narray('id' => '1216','name' => '(SOU) - Southampton Airport, Southampton, United Kingdom','country_id' => '74'),\narray('id' => '1217','name' => '(BBP) - Bembridge Airport, Bembridge, United Kingdom','country_id' => '74'),\narray('id' => '1218','name' => '(QLA) - Lasham Airport, Lasham, United Kingdom','country_id' => '74'),\narray('id' => '1219','name' => '(NQY) - Newquay Cornwall Airport, Newquay, United Kingdom','country_id' => '74'),\narray('id' => '1220','name' => '(QUG) - Chichester/Goodwood Airport, Chichester, United Kingdom','country_id' => '74'),\narray('id' => '1221','name' => '(ACI) - Alderney Airport, Saint Anne, Guernsey','country_id' => '78'),\narray('id' => '1222','name' => '(GCI) - Guernsey Airport, Saint Peter Port, Guernsey','country_id' => '78'),\narray('id' => '1223','name' => '(JER) - Jersey Airport, Saint Helier, Jersey','country_id' => '107'),\narray('id' => '1224','name' => '(ESH) - Shoreham Airport, Brighton, United Kingdom','country_id' => '74'),\narray('id' => '1225','name' => '(BQH) - London Biggin Hill Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1226','name' => '(LGW) - London Gatwick Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1227','name' => '(KRH) - Redhill Aerodrome, Redhill, United Kingdom','country_id' => '74'),\narray('id' => '1228','name' => '(LCY) - London City Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1229','name' => '(FAB) - Farnborough Airport, Farnborough, United Kingdom','country_id' => '74'),\narray('id' => '1230','name' => '(BBS) - Blackbushe Airport, Yateley, United Kingdom','country_id' => '74'),\narray('id' => '1231','name' => '(LHR) - London Heathrow Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1232','name' => '(SEN) - Southend Airport, Southend, United Kingdom','country_id' => '74'),\narray('id' => '1233','name' => '(LYX) - Lydd Airport, Lydd, Ashford, United Kingdom','country_id' => '74'),\narray('id' => '1234','name' => '(CAX) - Carlisle Airport, Carlisle, United Kingdom','country_id' => '74'),\narray('id' => '1235','name' => '(BLK) - Blackpool International Airport, Blackpool, United Kingdom','country_id' => '74'),\narray('id' => '1236','name' => '(HUY) - Humberside Airport, Grimsby, United Kingdom','country_id' => '74'),\narray('id' => '1237','name' => '(BWF) - Barrow Walney Island Airport, Barrow-in-Furness, United Kingdom','country_id' => '74'),\narray('id' => '1238','name' => '(LBA) - Leeds Bradford Airport, Leeds, United Kingdom','country_id' => '74'),\narray('id' => '1239','name' => '(CEG) - Hawarden Airport, Hawarden, United Kingdom','country_id' => '74'),\narray('id' => '1240','name' => '(IOM) - Isle of Man Airport, Castletown, Isle of Man','country_id' => '100'),\narray('id' => '1241','name' => '(NCL) - Newcastle Airport, Newcastle, United Kingdom','country_id' => '74'),\narray('id' => '1242','name' => '(MME) - Durham Tees Valley Airport, Durham, United Kingdom','country_id' => '74'),\narray('id' => '1243','name' => '(EMA) - East Midlands Airport, Nottingham, United Kingdom','country_id' => '74'),\narray('id' => '1244','name' => '(VLY) - Anglesey Airport, Angelsey, United Kingdom','country_id' => '74'),\narray('id' => '1245','name' => '(KOI) - Kirkwall Airport, Orkney Islands, United Kingdom','country_id' => '74'),\narray('id' => '1246','name' => '(LSI) - Sumburgh Airport, Lerwick, United Kingdom','country_id' => '74'),\narray('id' => '1247','name' => '(WIC) - Wick Airport, Wick, United Kingdom','country_id' => '74'),\narray('id' => '1248','name' => '(ABZ) - Aberdeen Dyce Airport, Aberdeen, United Kingdom','country_id' => '74'),\narray('id' => '1249','name' => '(INV) - Inverness Airport, Inverness, United Kingdom','country_id' => '74'),\narray('id' => '1250','name' => '(GLA) - Glasgow International Airport, Glasgow, United Kingdom','country_id' => '74'),\narray('id' => '1251','name' => '(EDI) - Edinburgh Airport, Edinburgh, United Kingdom','country_id' => '74'),\narray('id' => '1252','name' => '(ILY) - Islay Airport, Port Ellen, United Kingdom','country_id' => '74'),\narray('id' => '1253','name' => '(PIK) - Glasgow Prestwick Airport, Glasgow, United Kingdom','country_id' => '74'),\narray('id' => '1254','name' => '(BEB) - Benbecula Airport, Balivanich, United Kingdom','country_id' => '74'),\narray('id' => '1255','name' => '(SCS) - Scatsta Airport, Shetland Islands, United Kingdom','country_id' => '74'),\narray('id' => '1256','name' => '(DND) - Dundee Airport, Dundee, United Kingdom','country_id' => '74'),\narray('id' => '1257','name' => '(SYY) - Stornoway Airport, Stornoway, United Kingdom','country_id' => '74'),\narray('id' => '1258','name' => '(BRR) - Barra Airport, Eoligarry, United Kingdom','country_id' => '74'),\narray('id' => '1259','name' => '(PSL) - Perth/Scone Airport, Perth, United Kingdom','country_id' => '74'),\narray('id' => '1260','name' => '(TRE) - Tiree Airport, Balemartine, United Kingdom','country_id' => '74'),\narray('id' => '1261','name' => '(UNT) - Unst Airport, Shetland Islands, United Kingdom','country_id' => '74'),\narray('id' => '1262','name' => '(BOL) - Ballykelly Airport, Ballykelly, United Kingdom','country_id' => '74'),\narray('id' => '1263','name' => '(FSS) - RAF Kinloss, Kinloss, United Kingdom','country_id' => '74'),\narray('id' => '1264','name' => '(ADX) - RAF Leuchars, St. Andrews, United Kingdom','country_id' => '74'),\narray('id' => '1265','name' => '(LMO) - RAF Lossiemouth, Lossiemouth, United Kingdom','country_id' => '74'),\narray('id' => '1266','name' => '(CBG) - Cambridge Airport, Cambridge, United Kingdom','country_id' => '74'),\narray('id' => '1267','name' => '(NWI) - Norwich International Airport, Norwich, United Kingdom','country_id' => '74'),\narray('id' => '1268','name' => '(STN) - London Stansted Airport, London, United Kingdom','country_id' => '74'),\narray('id' => '1269','name' => '(QFO) - Duxford Airport, Duxford, United Kingdom','country_id' => '74'),\narray('id' => '1270','name' => '(HYC) - Wycombe Air Park, High Wycombe, United Kingdom','country_id' => '74'),\narray('id' => '1271','name' => '(EXT) - Exeter International Airport, Exeter, United Kingdom','country_id' => '74'),\narray('id' => '1272','name' => '(OXF) - Oxford (Kidlington) Airport, Kidlington, United Kingdom','country_id' => '74'),\narray('id' => '1273','name' => '(RCS) - Rochester Airport, Rochester, United Kingdom','country_id' => '74'),\narray('id' => '1274','name' => '(BEX) - RAF Benson, Benson, United Kingdom','country_id' => '74'),\narray('id' => '1275','name' => '(LKZ) - RAF Lakenheath, Lakenheath, United Kingdom','country_id' => '74'),\narray('id' => '1276','name' => '(MHZ) - RAF Mildenhall, Mildenhall, United Kingdom','country_id' => '74'),\narray('id' => '1277','name' => '(QUY) - RAF Wyton, St. Ives, United Kingdom','country_id' => '74'),\narray('id' => '1278','name' => '(FFD) - RAF Fairford, Fairford, United Kingdom','country_id' => '74'),\narray('id' => '1279','name' => '(BZZ) - RAF Brize Norton, Brize Norton, United Kingdom','country_id' => '74'),\narray('id' => '1280','name' => '(ODH) - RAF Odiham, Odiham, United Kingdom','country_id' => '74'),\narray('id' => '1281','name' => '(WXF) - Wethersfield Airport, Wethersfield, United Kingdom','country_id' => '74'),\narray('id' => '1282','name' => '(NHT) - RAF Northolt, London, United Kingdom','country_id' => '74'),\narray('id' => '1283','name' => '(QCY) - RAF Coningsby, Coningsby, United Kingdom','country_id' => '74'),\narray('id' => '1284','name' => '(BEQ) - RAF Honington, Thetford, United Kingdom','country_id' => '74'),\narray('id' => '1285','name' => '(OKH) - RAF Cottesmore, Cottesmore, United Kingdom','country_id' => '74'),\narray('id' => '1286','name' => '(SQZ) - RAF Scampton, Scampton, United Kingdom','country_id' => '74'),\narray('id' => '1287','name' => '(HRT) - RAF Linton-On-Ouse, Linton-On-Ouse, United Kingdom','country_id' => '74'),\narray('id' => '1288','name' => '(WTN) - RAF Waddington, Waddington, United Kingdom','country_id' => '74'),\narray('id' => '1289','name' => '(KNF) - RAF Marham, Marham, United Kingdom','country_id' => '74'),\narray('id' => '1290','name' => '(MPN) - Mount Pleasant Airport, Mount Pleasant, Falkland Islands','country_id' => '69'),\narray('id' => '1291','name' => '(AMS) - Amsterdam Airport Schiphol, Amsterdam, Netherlands','country_id' => '162'),\narray('id' => '1292','name' => '(MST) - Maastricht Aachen Airport, Maastricht, Netherlands','country_id' => '162'),\narray('id' => '1293','name' => '(QAR) - Deelen Air Base, Arnhem, Netherlands','country_id' => '162'),\narray('id' => '1294','name' => '(EIN) - Eindhoven Airport, Eindhoven, Netherlands','country_id' => '162'),\narray('id' => '1295','name' => '(GRQ) - Eelde Airport, Groningen, Netherlands','country_id' => '162'),\narray('id' => '1296','name' => '(GLZ) - Gilze Rijen Air Base, Breda, Netherlands','country_id' => '162'),\narray('id' => '1297','name' => '(DHR) - De Kooy Airport, Den Helder, Netherlands','country_id' => '162'),\narray('id' => '1298','name' => '(LEY) - Lelystad Airport, Lelystad, Netherlands','country_id' => '162'),\narray('id' => '1299','name' => '(LWR) - Leeuwarden Air Base, Leeuwarden, Netherlands','country_id' => '162'),\narray('id' => '1300','name' => '(RTM) - Rotterdam Airport, Rotterdam, Netherlands','country_id' => '162'),\narray('id' => '1301','name' => '(ENS) - Twenthe Airport, Enschede, Netherlands','country_id' => '162'),\narray('id' => '1302','name' => '(UDE) - Volkel Air Base, Uden, Netherlands','country_id' => '162'),\narray('id' => '1303','name' => '(WOE) - Woensdrecht Air Base, Bergen Op Zoom, Netherlands','country_id' => '162'),\narray('id' => '1304','name' => '(BYT) - Bantry Aerodrome, Bantry, Ireland','country_id' => '98'),\narray('id' => '1305','name' => '(BLY) - Belmullet Aerodrome, Belmullet, Ireland','country_id' => '98'),\narray('id' => '1306','name' => '(NNR) - Connemara Regional Airport, Inverin, Ireland','country_id' => '98'),\narray('id' => '1307','name' => '(CLB) - Castlebar Airport, Castlebar, Ireland','country_id' => '98'),\narray('id' => '1308','name' => '(WEX) - Castlebridge Airport, Wexford, Ireland','country_id' => '98'),\narray('id' => '1309','name' => '(ORK) - Cork Airport, Cork, Ireland','country_id' => '98'),\narray('id' => '1310','name' => '(GWY) - Galway Airport, Galway, Ireland','country_id' => '98'),\narray('id' => '1311','name' => '(CFN) - Donegal Airport, Donegal, Ireland','country_id' => '98'),\narray('id' => '1312','name' => '(DUB) - Dublin Airport, Dublin, Ireland','country_id' => '98'),\narray('id' => '1313','name' => '(IOR) - Inishmore Aerodrome, Inis MAr, Ireland','country_id' => '98'),\narray('id' => '1314','name' => '(INQ) - Inisheer Aerodrome, Inis OArr, Ireland','country_id' => '98'),\narray('id' => '1315','name' => '(KKY) - Kilkenny Airport, Kilkenny, Ireland','country_id' => '98'),\narray('id' => '1316','name' => '(NOC) - Ireland West Knock Airport, Charleston, Ireland','country_id' => '98'),\narray('id' => '1317','name' => '(KIR) - Kerry Airport, Killarney, Ireland','country_id' => '98'),\narray('id' => '1318','name' => '(LTR) - Letterkenny Airport, Letterkenny, Ireland','country_id' => '98'),\narray('id' => '1319','name' => '(IIA) - Inishmaan Aerodrome, Inis MeAin, Ireland','country_id' => '98'),\narray('id' => '1320','name' => '(SNN) - Shannon Airport, Limerick, Ireland','country_id' => '98'),\narray('id' => '1321','name' => '(SXL) - Sligo Airport, Sligo, Ireland','country_id' => '98'),\narray('id' => '1322','name' => '(WAT) - Waterford Airport, Waterford, Ireland','country_id' => '98'),\narray('id' => '1323','name' => '(EJN) - Ejin Banner-Taolai Airport, Ejin Banner, China','country_id' => '45'),\narray('id' => '1324','name' => '(EJT) - Enejit Airport, Enejit Island, Marshall Islands','country_id' => '139'),\narray('id' => '1325','name' => '(AAR) - Aarhus Airport, Aarhus, Denmark','country_id' => '56'),\narray('id' => '1326','name' => '(BLL) - Billund Airport, Billund, Denmark','country_id' => '56'),\narray('id' => '1327','name' => '(CPH) - Copenhagen Kastrup Airport, Copenhagen, Denmark','country_id' => '56'),\narray('id' => '1328','name' => '(EBJ) - Esbjerg Airport, Esbjerg, Denmark','country_id' => '56'),\narray('id' => '1329','name' => '(KRP) - Karup Airport, Karup, Denmark','country_id' => '56'),\narray('id' => '1330','name' => '(BYR) - LAsA Airport, LAsA, Denmark','country_id' => '56'),\narray('id' => '1331','name' => '(MRW) - Lolland Falster Maribo Airport, Lolland Falster / Maribo, Denmark','country_id' => '56'),\narray('id' => '1332','name' => '(ODE) - Odense Airport, Odense, Denmark','country_id' => '56'),\narray('id' => '1333','name' => '(RKE) - Copenhagen Roskilde Airport, Copenhagen, Denmark','country_id' => '56'),\narray('id' => '1334','name' => '(RNN) - Bornholm Airport, RAnne, Denmark','country_id' => '56'),\narray('id' => '1335','name' => '(SGD) - SAnderborg Airport, SAnderborg, Denmark','country_id' => '56'),\narray('id' => '1336','name' => '(CNL) - Sindal Airport, Sindal, Denmark','country_id' => '56'),\narray('id' => '1337','name' => '(SKS) - Skrydstrup Air Base, Vojens, Denmark','country_id' => '56'),\narray('id' => '1338','name' => '(SQW) - Skive Airport, Skive, Denmark','country_id' => '56'),\narray('id' => '1339','name' => '(TED) - Thisted Airport, Thisted, Denmark','country_id' => '56'),\narray('id' => '1340','name' => '(FAE) - Vagar Airport, Vagar, Faroe Islands','country_id' => '71'),\narray('id' => '1341','name' => '(STA) - Stauning Airport, Skjern / RingkAbing, Denmark','country_id' => '56'),\narray('id' => '1342','name' => '(AAL) - Aalborg Airport, Aalborg, Denmark','country_id' => '56'),\narray('id' => '1343','name' => '(LUX) - Luxembourg-Findel International Airport, Luxembourg, Luxembourg','country_id' => '130'),\narray('id' => '1344','name' => '(AES) - Alesund Airport, Alesund, Norway','country_id' => '163'),\narray('id' => '1345','name' => '(ANX) - AndAya Airport, Andenes, Norway','country_id' => '163'),\narray('id' => '1346','name' => '(ALF) - Alta Airport, Alta, Norway','country_id' => '163'),\narray('id' => '1347','name' => '(FDE) - FArde Airport, FArde, Norway','country_id' => '163'),\narray('id' => '1348','name' => '(BNN) - BrAnnAysund Airport, BrAnnAy, Norway','country_id' => '163'),\narray('id' => '1349','name' => '(BOO) - BodA Airport, BodA, Norway','country_id' => '163'),\narray('id' => '1350','name' => '(BGO) - Bergen Airport Flesland, Bergen, Norway','country_id' => '163'),\narray('id' => '1351','name' => '(BJF) - BAtsfjord Airport, BAtsfjord, Norway','country_id' => '163'),\narray('id' => '1352','name' => '(BVG) - BerlevAg Airport, BerlevAg, Norway','country_id' => '163'),\narray('id' => '1353','name' => '(KRS) - Kristiansand Airport, Kjevik, Norway','country_id' => '163'),\narray('id' => '1354','name' => '(DLD) - Geilo Airport Dagali, Dagali, Norway','country_id' => '163'),\narray('id' => '1355','name' => '(BDU) - Bardufoss Airport, MAlselv, Norway','country_id' => '163'),\narray('id' => '1356','name' => '(EVE) - Harstad/Narvik Airport, Evenes, Evenes, Norway','country_id' => '163'),\narray('id' => '1357','name' => '(VDB) - Leirin Airport, , Norway','country_id' => '163'),\narray('id' => '1358','name' => '(FRO) - FlorA Airport, FlorA, Norway','country_id' => '163'),\narray('id' => '1359','name' => '(OSL) - Oslo Gardermoen Airport, Oslo, Norway','country_id' => '163'),\narray('id' => '1360','name' => '(HMR) - Stafsberg Airport, Hamar, Norway','country_id' => '163'),\narray('id' => '1361','name' => '(HAU) - Haugesund Airport, KarmAy, Norway','country_id' => '163'),\narray('id' => '1362','name' => '(HFT) - Hammerfest Airport, Hammerfest, Norway','country_id' => '163'),\narray('id' => '1363','name' => '(HAA) - Hasvik Airport, Hasvik, Norway','country_id' => '163'),\narray('id' => '1364','name' => '(HVG) - Valan Airport, HonningsvAg, Norway','country_id' => '163'),\narray('id' => '1365','name' => '(QKX) - Kautokeino Air Base, , Norway','country_id' => '163'),\narray('id' => '1366','name' => '(KSU) - Kristiansund Airport (Kvernberget), Kvernberget, Norway','country_id' => '163'),\narray('id' => '1367','name' => '(GLL) - Gol Airport, Klanten, Norway','country_id' => '163'),\narray('id' => '1368','name' => '(KKN) - Kirkenes Airport (HAybuktmoen), Kirkenes, Norway','country_id' => '163'),\narray('id' => '1369','name' => '(FAN) - Lista Airport, Farsund, Norway','country_id' => '163'),\narray('id' => '1370','name' => '(LKN) - Leknes Airport, Leknes, Norway','country_id' => '163'),\narray('id' => '1371','name' => '(MEH) - Mehamn Airport, Mehamn, Norway','country_id' => '163'),\narray('id' => '1372','name' => '(MOL) - Molde Airport, ArA, Norway','country_id' => '163'),\narray('id' => '1373','name' => '(MJF) - MosjAen Airport (KjArstad), , Norway','country_id' => '163'),\narray('id' => '1374','name' => '(LKL) - Banak Airport, Lakselv, Norway','country_id' => '163'),\narray('id' => '1375','name' => '(NVK) - Narvik Framnes Airport, Narvik, Norway','country_id' => '163'),\narray('id' => '1376','name' => '(OSY) - Namsos HAknesAra Airport, Namsos, Norway','country_id' => '163'),\narray('id' => '1377','name' => '(NTB) - Notodden Airport, Notodden, Norway','country_id' => '163'),\narray('id' => '1378','name' => '(OLA) - Arland Airport, Arland, Norway','country_id' => '163'),\narray('id' => '1379','name' => '(HOV) - Arsta-Volda Airport, Hovden, Arsta, Norway','country_id' => '163'),\narray('id' => '1380','name' => '(MQN) - Mo i Rana Airport, RAssvoll, Mo i Rana, Norway','country_id' => '163'),\narray('id' => '1381','name' => '(RVK) - RArvik Airport, Ryum, RArvik, Norway','country_id' => '163'),\narray('id' => '1382','name' => '(RRS) - RAros Airport, RAros, Norway','country_id' => '163'),\narray('id' => '1383','name' => '(RET) - RAst Airport, , Norway','country_id' => '163'),\narray('id' => '1384','name' => '(RYG) - Moss-Rygge Airport, Oslo, Norway','country_id' => '163'),\narray('id' => '1385','name' => '(LYR) - Svalbard Airport, Longyear, Longyearbyen, Norway','country_id' => '163'),\narray('id' => '1386','name' => '(SDN) - Sandane Airport (Anda), Sandane, Norway','country_id' => '163'),\narray('id' => '1387','name' => '(SOG) - Sogndal Airport, Sogndal, Norway','country_id' => '163'),\narray('id' => '1388','name' => '(SVJ) - SvolvAr Helle Airport, SvolvAr, Norway','country_id' => '163'),\narray('id' => '1389','name' => '(SKN) - Stokmarknes Skagen Airport, Hadsel, Norway','country_id' => '163'),\narray('id' => '1390','name' => '(SKE) - Skien Airport, Geiteryggen, Norway','country_id' => '163'),\narray('id' => '1391','name' => '(SRP) - Stord Airport, Leirvik, Norway','country_id' => '163'),\narray('id' => '1392','name' => '(SOJ) - SArkjosen Airport, SArkjosen, Norway','country_id' => '163'),\narray('id' => '1393','name' => '(VAW) - VardA Airport, Svartnes, VardA, Norway','country_id' => '163'),\narray('id' => '1394','name' => '(SSJ) - SandnessjAen Airport (Stokka), Alstahaug, Norway','country_id' => '163'),\narray('id' => '1395','name' => '(TOS) - TromsA Airport, TromsA, Norway','country_id' => '163'),\narray('id' => '1396','name' => '(TRF) - Sandefjord Airport, Torp, Torp, Norway','country_id' => '163'),\narray('id' => '1397','name' => '(TRD) - Trondheim Airport VArnes, Trondheim, Norway','country_id' => '163'),\narray('id' => '1398','name' => '(VDS) - VadsA Airport, VadsA, Norway','country_id' => '163'),\narray('id' => '1399','name' => '(SVG) - Stavanger Airport Sola, Stavanger, Norway','country_id' => '163'),\narray('id' => '1400','name' => '(QYY) - Bia\\'ystok-Krywlany Airport, Bia\\'ystok, Poland','country_id' => '175'),\narray('id' => '1401','name' => '(BXP) - Bia\\'a Podlaska Airport, Bia\\'a Podlaska, Poland','country_id' => '175'),\narray('id' => '1402','name' => '(BZG) - Bydgoszcz Ignacy Jan Paderewski Airport, Bydgoszcz, Poland','country_id' => '175'),\narray('id' => '1403','name' => '(CZW) - CzAstochowa-Rudniki, CzAstochowa, Poland','country_id' => '175'),\narray('id' => '1404','name' => '(GDN) - Gda\"sk Lech Wa\\'Asa Airport, Gda\"sk, Poland','country_id' => '175'),\narray('id' => '1405','name' => '(QLC) - Gliwice Glider Airport, , Poland','country_id' => '175'),\narray('id' => '1406','name' => '(KRK) - John Paul II International Airport KrakAw-Balice Airport, KrakAw, Poland','country_id' => '175'),\narray('id' => '1407','name' => '(OSZ) - Koszalin Zegrze Airport, , Poland','country_id' => '175'),\narray('id' => '1408','name' => '(KTW) - Katowice International Airport, Katowice, Poland','country_id' => '175'),\narray('id' => '1409','name' => '(QEO) - Bielsko-Bialo Kaniow Airfield, Czechowice-Dziedzice, Poland','country_id' => '175'),\narray('id' => '1410','name' => '(LCJ) - Ado W\\'adys\\'aw Reymont Airport, Ado, Poland','country_id' => '175'),\narray('id' => '1411','name' => '(QLU) - Lublin Radwiec Airport, , Poland','country_id' => '175'),\narray('id' => '1412','name' => '(WMI) - Modlin Airport, Warsaw, Poland','country_id' => '175'),\narray('id' => '1413','name' => '(QWS) - Nowy Targ Airport, Nowy Targ, Poland','country_id' => '175'),\narray('id' => '1414','name' => '(QYD) - Oksywie Military Air Base, Gdynia, Poland','country_id' => '175'),\narray('id' => '1415','name' => '(QPM) - Opole-Polska Nowa Wie\\' Airport, Opole, Poland','country_id' => '175'),\narray('id' => '1416','name' => '(POZ) - Pozna\"-awica Airport, Pozna\", Poland','country_id' => '175'),\narray('id' => '1417','name' => '(RDO) - Radom Airport, Radom, Poland','country_id' => '175'),\narray('id' => '1418','name' => '(RZE) - RzeszAw-Jasionka Airport, RzeszAw, Poland','country_id' => '175'),\narray('id' => '1419','name' => '(SZZ) - Szczecin-GoleniAw \"Solidarno\\'A\" Airport, Goleniow, Poland','country_id' => '175'),\narray('id' => '1420','name' => '(WAW) - Warsaw Chopin Airport, Warsaw, Poland','country_id' => '175'),\narray('id' => '1421','name' => '(WRO) - Copernicus Wroc\\'aw Airport, Wroc\\'aw, Poland','country_id' => '175'),\narray('id' => '1422','name' => '(IEG) - Zielona GAra-Babimost Airport, Babimost, Poland','country_id' => '175'),\narray('id' => '1423','name' => '(ERT) - Erdenet Airport, Erdenet, Mongolia','country_id' => '143'),\narray('id' => '1424','name' => '(RNB) - Ronneby Airport, , Sweden','country_id' => '193'),\narray('id' => '1425','name' => '(XWP) - HAssleholm Bokeberg Airport, HAssleholm, Sweden','country_id' => '193'),\narray('id' => '1426','name' => '(GOT) - Gothenburg-Landvetter Airport, Gothenburg, Sweden','country_id' => '193'),\narray('id' => '1427','name' => '(JKG) - JAnkAping Airport, JAnkAping, Sweden','country_id' => '193'),\narray('id' => '1428','name' => '(GSE) - Gothenburg City Airport, Gothenburg, Sweden','country_id' => '193'),\narray('id' => '1429','name' => '(KVB) - SkAvde Airport, SkAvde, Sweden','country_id' => '193'),\narray('id' => '1430','name' => '(THN) - TrollhAttan-VAnersborg Airport, TrollhAttan, Sweden','country_id' => '193'),\narray('id' => '1431','name' => '(KSK) - Karlskoga Airport, , Sweden','country_id' => '193'),\narray('id' => '1432','name' => '(MXX) - Mora Airport, , Sweden','country_id' => '193'),\narray('id' => '1433','name' => '(NYO) - Stockholm Skavsta Airport, Stockholm / NykAping, Sweden','country_id' => '193'),\narray('id' => '1434','name' => '(KID) - Kristianstad Airport, Kristianstad, Sweden','country_id' => '193'),\narray('id' => '1435','name' => '(OSK) - Oskarshamn Airport, , Sweden','country_id' => '193'),\narray('id' => '1436','name' => '(KLR) - Kalmar Airport, , Sweden','country_id' => '193'),\narray('id' => '1437','name' => '(MMX) - MalmA Sturup Airport, MalmA, Sweden','country_id' => '193'),\narray('id' => '1438','name' => '(HAD) - Halmstad Airport, Halmstad, Sweden','country_id' => '193'),\narray('id' => '1439','name' => '(VXO) - VAxjA Kronoberg Airport, VAxjA, Sweden','country_id' => '193'),\narray('id' => '1440','name' => '(EVG) - Sveg Airport, , Sweden','country_id' => '193'),\narray('id' => '1441','name' => '(GEV) - GAllivare Airport, GAllivare, Sweden','country_id' => '193'),\narray('id' => '1442','name' => '(KRF) - Kramfors SollefteA Airport, Kramfors / SollefteA, Sweden','country_id' => '193'),\narray('id' => '1443','name' => '(LYC) - Lycksele Airport, , Sweden','country_id' => '193'),\narray('id' => '1444','name' => '(SDL) - Sundsvall-HArnAsand Airport, Sundsvall/ HArnAsand, Sweden','country_id' => '193'),\narray('id' => '1445','name' => '(OER) - A-rnskAldsvik Airport, A-rnskAldsvik, Sweden','country_id' => '193'),\narray('id' => '1446','name' => '(KRN) - Kiruna Airport, Kiruna, Sweden','country_id' => '193'),\narray('id' => '1447','name' => '(SFT) - SkellefteA Airport, SkellefteA, Sweden','country_id' => '193'),\narray('id' => '1448','name' => '(UME) - UmeA Airport, UmeA, Sweden','country_id' => '193'),\narray('id' => '1449','name' => '(VHM) - Vilhelmina Airport, , Sweden','country_id' => '193'),\narray('id' => '1450','name' => '(AJR) - Arvidsjaur Airport, Arvidsjaur, Sweden','country_id' => '193'),\narray('id' => '1451','name' => '(SOO) - SAderhamn Airport, SAderhamn, Sweden','country_id' => '193'),\narray('id' => '1452','name' => '(OSD) - Are A-stersund Airport, A-stersund, Sweden','country_id' => '193'),\narray('id' => '1453','name' => '(ORB) - A-rebro Airport, A-rebro, Sweden','country_id' => '193'),\narray('id' => '1454','name' => '(HFS) - Hagfors Airport, , Sweden','country_id' => '193'),\narray('id' => '1455','name' => '(KSD) - Karlstad Airport, Karlstad, Sweden','country_id' => '193'),\narray('id' => '1456','name' => '(VST) - Stockholm VAsterAs Airport, Stockholm / VAsterAs, Sweden','country_id' => '193'),\narray('id' => '1457','name' => '(LLA) - LuleA Airport, LuleA, Sweden','country_id' => '193'),\narray('id' => '1458','name' => '(ARN) - Stockholm-Arlanda Airport, Stockholm, Sweden','country_id' => '193'),\narray('id' => '1459','name' => '(BMA) - Stockholm-Bromma Airport, Stockholm, Sweden','country_id' => '193'),\narray('id' => '1460','name' => '(BLE) - Borlange Airport, , Sweden','country_id' => '193'),\narray('id' => '1461','name' => '(HLF) - Hultsfred Airport, , Sweden','country_id' => '193'),\narray('id' => '1462','name' => '(GVX) - GAvle Sandviken Airport, GAvle / Sandviken, Sweden','country_id' => '193'),\narray('id' => '1463','name' => '(LPI) - LinkAping City Airport, LinkAping, Sweden','country_id' => '193'),\narray('id' => '1464','name' => '(NRK) - NorrkAping Airport, NorrkAping, Sweden','country_id' => '193'),\narray('id' => '1465','name' => '(TYF) - Torsby Airport, , Sweden','country_id' => '193'),\narray('id' => '1466','name' => '(EKT) - Eskilstuna Airport, Eskilstuna, Sweden','country_id' => '193'),\narray('id' => '1467','name' => '(VBY) - Visby Airport, Visby, Sweden','country_id' => '193'),\narray('id' => '1468','name' => '(VVK) - VAstervik Airport, VAstervik, Sweden','country_id' => '193'),\narray('id' => '1469','name' => '(AGH) - A\"ngelholm-Helsingborg Airport, A\"ngelholm, Sweden','country_id' => '193'),\narray('id' => '1470','name' => '(SQO) - Storuman Airport, , Sweden','country_id' => '193'),\narray('id' => '1471','name' => '(IDB) - Idre Airport, Idre, Sweden','country_id' => '193'),\narray('id' => '1472','name' => '(PJA) - Pajala Airport, , Sweden','country_id' => '193'),\narray('id' => '1473','name' => '(HMV) - Hemavan Airport, , Sweden','country_id' => '193'),\narray('id' => '1474','name' => '(GLC) - Geladi Airport, Geladi, Ethiopia','country_id' => '66'),\narray('id' => '1475','name' => '(SHC) - Shire Inda Selassie Airport, Shire Indasilase, Ethiopia','country_id' => '66'),\narray('id' => '1476','name' => '(SPM) - Spangdahlem Air Base, Trier, Germany','country_id' => '54'),\narray('id' => '1477','name' => '(RMS) - Ramstein Air Base, Ramstein, Germany','country_id' => '54'),\narray('id' => '1478','name' => '(ZCN) - Celle Airport, , Germany','country_id' => '54'),\narray('id' => '1479','name' => '(ZPQ) - Rheine Bentlage Airport, , Germany','country_id' => '54'),\narray('id' => '1480','name' => '(FRZ) - Fritzlar Airport, Fritzlar, Germany','country_id' => '54'),\narray('id' => '1481','name' => '(ZNF) - Hanau Army Air Field, , Germany','country_id' => '54'),\narray('id' => '1482','name' => '(FCN) - Nordholz Naval Airbase, Cuxhaven, Germany','country_id' => '54'),\narray('id' => '1483','name' => '(GKE) - Geilenkirchen Airport, , Germany','country_id' => '54'),\narray('id' => '1484','name' => '(RLG) - Rostock-Laage Airport, Rostock, Germany','country_id' => '54'),\narray('id' => '1485','name' => '(QOE) - NArvenich Air Base, , Germany','country_id' => '54'),\narray('id' => '1486','name' => '(WBG) - Schleswig Airport, , Germany','country_id' => '54'),\narray('id' => '1487','name' => '(WIE) - Wiesbaden Army Airfield, Wiesbaden, Germany','country_id' => '54'),\narray('id' => '1488','name' => '(FEL) - FArstenfeldbruck Airport, FArstenfeldbruck, Germany','country_id' => '54'),\narray('id' => '1489','name' => '(IGS) - Ingolstadt Manching Airport, Manching, Germany','country_id' => '54'),\narray('id' => '1490','name' => '(GUT) - GAtersloh Air Base, GAtersloh, Germany','country_id' => '54'),\narray('id' => '1491','name' => '(DGP) - Daugavpils Intrenational Airport, Daugavpils, Latvia','country_id' => '131'),\narray('id' => '1492','name' => '(LPX) - LiepAja International Airport, LiepAja, Latvia','country_id' => '131'),\narray('id' => '1493','name' => '(RIX) - Riga International Airport, Riga, Latvia','country_id' => '131'),\narray('id' => '1494','name' => '(VNT) - Ventspils International Airport, Ventspils, Latvia','country_id' => '131'),\narray('id' => '1495','name' => '(KUN) - Kaunas International Airport, Kaunas, Lithuania','country_id' => '129'),\narray('id' => '1496','name' => '(KLJ) - KlaipAda Airport, KlaipAda, Lithuania','country_id' => '129'),\narray('id' => '1497','name' => '(PLQ) - Palanga International Airport, Palanga, Lithuania','country_id' => '129'),\narray('id' => '1498','name' => '(PNV) - PanevAys Air Base, PanevAys, Lithuania','country_id' => '129'),\narray('id' => '1499','name' => '(SQQ) - iauliai International Airport, iauliai, Lithuania','country_id' => '129'),\narray('id' => '1500','name' => '(HLJ) - Barysiai Airport, Barysiai, Lithuania','country_id' => '129'),\narray('id' => '1501','name' => '(VNO) - Vilnius International Airport, Vilnius, Lithuania','country_id' => '129'),\narray('id' => '1502','name' => '(RGR) - Ranger Municipal Airport, Ranger, United States','country_id' => '228'),\narray('id' => '1503','name' => '(ALJ) - Alexander Bay Airport, Alexander Bay, South Africa','country_id' => '243'),\narray('id' => '1504','name' => '(AGZ) - Aggeneys Airport, Aggeneys, South Africa','country_id' => '243'),\narray('id' => '1505','name' => '(ADY) - Alldays Airport, Alldays, South Africa','country_id' => '243'),\narray('id' => '1506','name' => '(BIY) - Bisho Airport, Bisho, South Africa','country_id' => '243'),\narray('id' => '1507','name' => '(BFN) - Bram Fischer International Airport, Bloemfontain, South Africa','country_id' => '243'),\narray('id' => '1508','name' => '(UTE) - Bultfontein Airport, Bultfontein, South Africa','country_id' => '243'),\narray('id' => '1509','name' => '(CDO) - Cradock Airport, Cradock, South Africa','country_id' => '243'),\narray('id' => '1510','name' => '(CPT) - Cape Town International Airport, Cape Town, South Africa','country_id' => '243'),\narray('id' => '1511','name' => '(DUK) - Mubatuba Airport, Mubatuba, South Africa','country_id' => '243'),\narray('id' => '1512','name' => '(PZL) - Zulu Inyala Airport, Phinda, South Africa','country_id' => '243'),\narray('id' => '1513','name' => '(ELS) - Ben Schoeman Airport, East London, South Africa','country_id' => '243'),\narray('id' => '1514','name' => '(EMG) - Empangeni Airport, Empangeni, South Africa','country_id' => '243'),\narray('id' => '1515','name' => '(ELL) - Ellisras Matimba Airport, Ellisras, South Africa','country_id' => '243'),\narray('id' => '1516','name' => '(FCB) - Ficksburg Sentraoes Airport, Ficksburg, South Africa','country_id' => '243'),\narray('id' => '1517','name' => '(GCJ) - Grand Central Airport, Midrand, South Africa','country_id' => '243'),\narray('id' => '1518','name' => '(GRJ) - George Airport, George, South Africa','country_id' => '243'),\narray('id' => '1519','name' => '(GIY) - Giyani Airport, Giyani, South Africa','country_id' => '243'),\narray('id' => '1520','name' => '(QRA) - Rand Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1521','name' => '(HLW) - Hluhluwe Airport, Hluhluwe, South Africa','country_id' => '243'),\narray('id' => '1522','name' => '(HRS) - Harrismith Airport, Harrismith, South Africa','country_id' => '243'),\narray('id' => '1523','name' => '(HDS) - Hoedspruit Air Force Base Airport, Hoedspruit, South Africa','country_id' => '243'),\narray('id' => '1524','name' => '(JNB) - OR Tambo International Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1525','name' => '(KXE) - P C Pelser Airport, Klerksdorp, South Africa','country_id' => '243'),\narray('id' => '1526','name' => '(KIM) - Kimberley Airport, Kimberley, South Africa','country_id' => '243'),\narray('id' => '1527','name' => '(MQP) - Kruger Mpumalanga International Airport, Mpumalanga, South Africa','country_id' => '243'),\narray('id' => '1528','name' => '(KOF) - Komatipoort Airport, Komatipoort, South Africa','country_id' => '243'),\narray('id' => '1529','name' => '(KMH) - Johan Pienaar Airport, Kuruman, South Africa','country_id' => '243'),\narray('id' => '1530','name' => '(KLZ) - Kleinsee Airport, Kleinsee, South Africa','country_id' => '243'),\narray('id' => '1531','name' => '(HLA) - Lanseria Airport, Johannesburg, South Africa','country_id' => '243'),\narray('id' => '1532','name' => '(LMR) - Lime Acres Finsch Mine Airport, Lime Acres, South Africa','country_id' => '243'),\narray('id' => '1533','name' => '(LDZ) - Londolozi Airport, Londolozi, South Africa','country_id' => '243'),\narray('id' => '1534','name' => '(DUR) - King Shaka International Airport, Durban, South Africa','country_id' => '243'),\narray('id' => '1535','name' => '(LUJ) - Lusikisiki Airport, Lusikisiki, South Africa','country_id' => '243'),\narray('id' => '1536','name' => '(LCD) - Louis Trichardt Airport, Louis Trichardt, South Africa','country_id' => '243'),\narray('id' => '1537','name' => '(SDB) - Langebaanweg Airport, Langebaanweg, South Africa','country_id' => '243'),\narray('id' => '1538','name' => '(LAY) - Ladysmith Airport, Ladysmith, South Africa','country_id' => '243'),\narray('id' => '1539','name' => '(AAM) - Malamala Airport, Malamala, South Africa','country_id' => '243'),\narray('id' => '1540','name' => '(MGH) - Margate Airport, Margate, South Africa','country_id' => '243'),\narray('id' => '1541','name' => '(MEZ) - Musina(Messina) Airport, Musina, South Africa','country_id' => '243'),\narray('id' => '1542','name' => '(MBD) - Mmabatho International Airport, Mafeking, South Africa','country_id' => '243'),\narray('id' => '1543','name' => '(LLE) - Riverside Airport, Malelane, South Africa','country_id' => '243'),\narray('id' => '1544','name' => '(MZY) - Mossel Bay Airport, Mossel Bay, South Africa','country_id' => '243'),\narray('id' => '1545','name' => '(MZQ) - Mkuze Airport, Mkuze, South Africa','country_id' => '243'),\narray('id' => '1546','name' => '(NCS) - Newcastle Airport, Newcastle, South Africa','country_id' => '243'),\narray('id' => '1547','name' => '(NGL) - Ngala Airport, Ngala, South Africa','country_id' => '243'),\narray('id' => '1548','name' => '(NLP) - Nelspruit Airport, Nelspruit, South Africa','country_id' => '243'),\narray('id' => '1549','name' => '(OVG) - Overberg Airport, Overberg, South Africa','country_id' => '243'),\narray('id' => '1550','name' => '(OUH) - Oudtshoorn Airport, Oudtshoorn, South Africa','country_id' => '243'),\narray('id' => '1551','name' => '(AFD) - Port Alfred Airport, Port Alfred, South Africa','country_id' => '243'),\narray('id' => '1552','name' => '(PLZ) - Port Elizabeth Airport, Port Elizabeth, South Africa','country_id' => '243'),\narray('id' => '1553','name' => '(PBZ) - Plettenberg Bay Airport, Plettenberg Bay, South Africa','country_id' => '243'),\narray('id' => '1554','name' => '(PHW) - Hendrik Van Eck Airport, Phalaborwa, South Africa','country_id' => '243'),\narray('id' => '1555','name' => '(JOH) - Port St Johns Airport, Port St Johns, South Africa','country_id' => '243'),\narray('id' => '1556','name' => '(PRK) - Prieska Airport, Prieska, South Africa','country_id' => '243'),\narray('id' => '1557','name' => '(PZB) - Pietermaritzburg Airport, Pietermaritzburg, South Africa','country_id' => '243'),\narray('id' => '1558','name' => '(NTY) - Pilanesberg International Airport, Pilanesberg, South Africa','country_id' => '243'),\narray('id' => '1559','name' => '(PTG) - Polokwane International Airport, Polokwane, South Africa','country_id' => '243'),\narray('id' => '1560','name' => '(PCF) - Potchefstroom Airport, Potchefstroom, South Africa','country_id' => '243'),\narray('id' => '1561','name' => '(UTW) - Queenstown Airport, Queenstown, South Africa','country_id' => '243'),\narray('id' => '1562','name' => '(RCB) - Richards Bay Airport, Richards Bay, South Africa','country_id' => '243'),\narray('id' => '1563','name' => '(RVO) - Reivilo Airport, Reivilo, South Africa','country_id' => '243'),\narray('id' => '1564','name' => '(ROD) - Robertson Airport, Robertson, South Africa','country_id' => '243'),\narray('id' => '1565','name' => '(SBU) - Springbok Airport, Springbok, South Africa','country_id' => '243'),\narray('id' => '1566','name' => '(ZEC) - Secunda Airport, Secunda, South Africa','country_id' => '243'),\narray('id' => '1567','name' => '(GSS) - Sabi Sabi Airport, Belfast, South Africa','country_id' => '243'),\narray('id' => '1568','name' => '(SIS) - Sishen Airport, Sishen, South Africa','country_id' => '243'),\narray('id' => '1569','name' => '(SZK) - Skukuza Airport, Skukuza, South Africa','country_id' => '243'),\narray('id' => '1570','name' => '(THY) - Thohoyandou Airport, Thohoyandou, South Africa','country_id' => '243'),\narray('id' => '1571','name' => '(TCU) - Thaba Nchu Tar Airport, Homeward, South Africa','country_id' => '243'),\narray('id' => '1572','name' => '(LTA) - Tzaneen Airport, Tzaneen, South Africa','country_id' => '243'),\narray('id' => '1573','name' => '(ULD) - Prince Mangosuthu Buthelezi Airport, Ulundi, South Africa','country_id' => '243'),\narray('id' => '1574','name' => '(UTN) - Pierre Van Ryneveld Airport, Upington, South Africa','country_id' => '243'),\narray('id' => '1575','name' => '(UTT) - K. D. Matanzima Airport, Mthatha, South Africa','country_id' => '243'),\narray('id' => '1576','name' => '(VRU) - Vryburg Airport, Vyrburg, South Africa','country_id' => '243'),\narray('id' => '1577','name' => '(VIR) - Virginia Airport, Durban, South Africa','country_id' => '243'),\narray('id' => '1578','name' => '(VRE) - Vredendal Airport, Vredendal, South Africa','country_id' => '243'),\narray('id' => '1579','name' => '(VYD) - Vryheid Airport, Vryheid, South Africa','country_id' => '243'),\narray('id' => '1580','name' => '(PRY) - Wonderboom Airport, Pretoria, South Africa','country_id' => '243'),\narray('id' => '1581','name' => '(WKF) - Waterkloof Air Force Base, Pretoria, South Africa','country_id' => '243'),\narray('id' => '1582','name' => '(FRW) - Francistown Airport, Francistown, Botswana','country_id' => '32'),\narray('id' => '1583','name' => '(GNZ) - Ghanzi Airport, Ghanzi, Botswana','country_id' => '32'),\narray('id' => '1584','name' => '(JWA) - Jwaneng Airport, , Botswana','country_id' => '32'),\narray('id' => '1585','name' => '(BBK) - Kasane Airport, Kasane, Botswana','country_id' => '32'),\narray('id' => '1586','name' => '(KHW) - Khwai River Lodge Airport, Khwai River Lodge, Botswana','country_id' => '32'),\narray('id' => '1587','name' => '(LOQ) - Lobatse Airport, Lobatse, Botswana','country_id' => '32'),\narray('id' => '1588','name' => '(MUB) - Maun Airport, Maun, Botswana','country_id' => '32'),\narray('id' => '1589','name' => '(ORP) - Orapa Airport, , Botswana','country_id' => '32'),\narray('id' => '1590','name' => '(QPH) - Palapye Airport, Palapye, Botswana','country_id' => '32'),\narray('id' => '1591','name' => '(GBE) - Sir Seretse Khama International Airport, Gaborone, Botswana','country_id' => '32'),\narray('id' => '1592','name' => '(SXN) - Sua Pan Airport, Sowa, Botswana','country_id' => '32'),\narray('id' => '1593','name' => '(PKW) - Selebi Phikwe Airport, , Botswana','country_id' => '32'),\narray('id' => '1594','name' => '(SVT) - Savuti Airport, Savuti, Botswana','country_id' => '32'),\narray('id' => '1595','name' => '(SWX) - Shakawe Airport, Shakawe, Botswana','country_id' => '32'),\narray('id' => '1596','name' => '(TLD) - Limpopo Valley Airport, Tuli Lodge, Botswana','country_id' => '32'),\narray('id' => '1597','name' => '(TBY) - Tshabong Airport, Tshabong, Botswana','country_id' => '32'),\narray('id' => '1598','name' => '(BZV) - Maya-Maya Airport, Brazzaville, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1599','name' => '(DJM) - Djambala Airport, Djambala, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1600','name' => '(KNJ) - Kindamba Airport, Kindamba, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1601','name' => '(LCO) - Lague Airport, Lague, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1602','name' => '(MUY) - Mouyondzi Airport, Mouyondzi, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1603','name' => '(SIB) - Sibiti Airport, Sibiti, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1604','name' => '(NKY) - Yokangassi Airport, Nkayi, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1605','name' => '(ANJ) - Zanaga Airport, Zanaga, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1606','name' => '(MSX) - Mossendjo Airport, Mossendjo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1607','name' => '(BOE) - Boundji Airport, Boundji, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1608','name' => '(EWO) - Ewo Airport, Ewo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1609','name' => '(GMM) - Gamboma Airport, Gamboma, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1610','name' => '(ION) - Impfondo Airport, Impfondo, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1611','name' => '(KEE) - Kelle Airport, Kelle, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1612','name' => '(MKJ) - Makoua Airport, Makoua, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1613','name' => '(FTX) - Owando Airport, Owando, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1614','name' => '(SOE) - Souanke Airport, Souanke, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1615','name' => '(BTB) - Betou Airport, Betou, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1616','name' => '(OUE) - Ouesso Airport, , Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1617','name' => '(KMK) - Makabana Airport, Makabana, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1618','name' => '(DIS) - Ngot Nzoungou Airport, Dolisie, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1619','name' => '(PNR) - Pointe Noire Airport, Pointe Noire, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '1620','name' => '(MTS) - Matsapha Airport, Manzini, Swaziland','country_id' => '208'),\narray('id' => '1621','name' => '(FEA) - Fetlar Airport, Fetlar Island, United Kingdom','country_id' => '74'),\narray('id' => '1622','name' => '(CRF) - Carnot Airport, Carnot, Central African Republic','country_id' => '38'),\narray('id' => '1623','name' => '(BGF) - Bangui M\\'Poko International Airport, Bangui, Central African Republic','country_id' => '38'),\narray('id' => '1624','name' => '(BGU) - Bangassou Airport, Bangassou, Central African Republic','country_id' => '38'),\narray('id' => '1625','name' => '(IRO) - Birao Airport, Birao, Central African Republic','country_id' => '38'),\narray('id' => '1626','name' => '(BEM) - BossembAlA Airport, BossembAlA, Central African Republic','country_id' => '38'),\narray('id' => '1627','name' => '(BBY) - Bambari Airport, Bambari, Central African Republic','country_id' => '38'),\narray('id' => '1628','name' => '(NDL) - N\\'DAlA Airport, N\\'DAlA, Central African Republic','country_id' => '38'),\narray('id' => '1629','name' => '(BOP) - Bouar Airport, Bouar, Central African Republic','country_id' => '38'),\narray('id' => '1630','name' => '(BIV) - Bria Airport, Bria, Central African Republic','country_id' => '38'),\narray('id' => '1631','name' => '(BSN) - Bossangoa Airport, Bossangoa, Central African Republic','country_id' => '38'),\narray('id' => '1632','name' => '(BBT) - BerbArati Airport, BerbArati, Central African Republic','country_id' => '38'),\narray('id' => '1633','name' => '(ODA) - Ouadda Airport, Ouadda, Central African Republic','country_id' => '38'),\narray('id' => '1634','name' => '(AIG) - Yalinga Airport, Yalinga, Central African Republic','country_id' => '38'),\narray('id' => '1635','name' => '(IMO) - Zemio Airport, Zemio, Central African Republic','country_id' => '38'),\narray('id' => '1636','name' => '(MKI) - M\\'Boki Airport, Mboki, Central African Republic','country_id' => '38'),\narray('id' => '1637','name' => '(BTG) - Batangafo Airport, Batangafo, Central African Republic','country_id' => '38'),\narray('id' => '1638','name' => '(GDI) - Gordil Airport, Melle, Central African Republic','country_id' => '38'),\narray('id' => '1639','name' => '(BMF) - Bakouma Airport, Bakouma, Central African Republic','country_id' => '38'),\narray('id' => '1640','name' => '(ODJ) - Ouanda DjallA Airport, Ouanda DjallA, Central African Republic','country_id' => '38'),\narray('id' => '1641','name' => '(RFA) - RafaA Airport, RafaA, Central African Republic','country_id' => '38'),\narray('id' => '1642','name' => '(BCF) - Bouca Airport, Bouca, Central African Republic','country_id' => '38'),\narray('id' => '1643','name' => '(BOZ) - Bozoum Airport, Bozoum, Central African Republic','country_id' => '38'),\narray('id' => '1644','name' => '(NBN) - AnnobAn Airport, San Antonio de PalA, Equatorial Guinea','country_id' => '85'),\narray('id' => '1645','name' => '(BSG) - Bata Airport, , Equatorial Guinea','country_id' => '85'),\narray('id' => '1646','name' => '(GEM) - President Obiang Nguema International Airport, MengomeyAn, Equatorial Guinea','country_id' => '85'),\narray('id' => '1647','name' => '(SSG) - Malabo Airport, Malabo, Equatorial Guinea','country_id' => '85'),\narray('id' => '1648','name' => '(ASI) - RAF Ascension Island, Ascension Island, Saint Helena','country_id' => '195'),\narray('id' => '1649','name' => '(MRU) - Sir Seewoosagur Ramgoolam International Airport, Port Louis, Mauritius','country_id' => '150'),\narray('id' => '1650','name' => '(RRG) - Sir Charles Gaetan Duval Airport, Port Mathurin, Mauritius','country_id' => '150'),\narray('id' => '1651','name' => '(FIN) - Finschhafen Airport, Buki, Papua New Guinea','country_id' => '172'),\narray('id' => '1652','name' => '(NKW) - Diego Garcia Naval Support Facility, Diego Garcia, British Indian Ocean Territory','country_id' => '102'),\narray('id' => '1653','name' => '(NKS) - Nkongsamba Airport, Nkongsamba, Cameroon','country_id' => '44'),\narray('id' => '1654','name' => '(KBI) - Kribi Airport, Kribi, Cameroon','country_id' => '44'),\narray('id' => '1655','name' => '(TKC) - Tiko Airport, Tiko, Cameroon','country_id' => '44'),\narray('id' => '1656','name' => '(DLA) - Douala International Airport, Douala, Cameroon','country_id' => '44'),\narray('id' => '1657','name' => '(MMF) - Mamfe Airport, Mamfe, Cameroon','country_id' => '44'),\narray('id' => '1658','name' => '(BLC) - Bali Airport, Bali, Cameroon','country_id' => '44'),\narray('id' => '1659','name' => '(KLE) - KaAlA Airport, KaAlA, Cameroon','country_id' => '44'),\narray('id' => '1660','name' => '(OUR) - Batouri Airport, Batouri, Cameroon','country_id' => '44'),\narray('id' => '1661','name' => '(GXX) - Yagoua Airport, Yagoua, Cameroon','country_id' => '44'),\narray('id' => '1662','name' => '(MVR) - Salak Airport, Maroua, Cameroon','country_id' => '44'),\narray('id' => '1663','name' => '(FOM) - Foumban Nkounja Airport, Foumban, Cameroon','country_id' => '44'),\narray('id' => '1664','name' => '(NGE) - N\\'GaoundArA Airport, N\\'GaoundArA, Cameroon','country_id' => '44'),\narray('id' => '1665','name' => '(BTA) - Bertoua Airport, Bertoua, Cameroon','country_id' => '44'),\narray('id' => '1666','name' => '(GOU) - Garoua International Airport, Garoua, Cameroon','country_id' => '44'),\narray('id' => '1667','name' => '(DSC) - Dschang Airport, Dschang, Cameroon','country_id' => '44'),\narray('id' => '1668','name' => '(BFX) - Bafoussam Airport, Bafoussam, Cameroon','country_id' => '44'),\narray('id' => '1669','name' => '(BPC) - Bamenda Airport, Bamenda, Cameroon','country_id' => '44'),\narray('id' => '1670','name' => '(EBW) - Ebolowa Airport, Ebolowa, Cameroon','country_id' => '44'),\narray('id' => '1671','name' => '(YAO) - YaoundA Airport, YaoundA, Cameroon','country_id' => '44'),\narray('id' => '1672','name' => '(NSI) - YaoundA Nsimalen International Airport, YaoundA, Cameroon','country_id' => '44'),\narray('id' => '1673','name' => '(MMQ) - Mbala Airport, Mbala, Zambia','country_id' => '244'),\narray('id' => '1674','name' => '(CIP) - Chipata Airport, Chipata, Zambia','country_id' => '244'),\narray('id' => '1675','name' => '(JEK) - Jeki Airport, Lower Zambezi Natational Park, Zambia','country_id' => '244'),\narray('id' => '1676','name' => '(CGJ) - Kasompe Airport, Chingola, Zambia','country_id' => '244'),\narray('id' => '1677','name' => '(KLB) - Kalabo Airport, Kalabo, Zambia','country_id' => '244'),\narray('id' => '1678','name' => '(KMZ) - Kaoma Airport, Kaoma, Zambia','country_id' => '244'),\narray('id' => '1679','name' => '(KAA) - Kasama Airport, Kasama, Zambia','country_id' => '244'),\narray('id' => '1680','name' => '(ZKB) - Kasaba Bay Airport, Kasaba Bay, Zambia','country_id' => '244'),\narray('id' => '1681','name' => '(LVI) - Livingstone Airport, Livingstone, Zambia','country_id' => '244'),\narray('id' => '1682','name' => '(LXU) - Lukulu Airport, Lukulu, Zambia','country_id' => '244'),\narray('id' => '1683','name' => '(LUN) - Kenneth Kaunda International Airport Lusaka, Lusaka, Zambia','country_id' => '244'),\narray('id' => '1684','name' => '(MNS) - Mansa Airport, Mansa, Zambia','country_id' => '244'),\narray('id' => '1685','name' => '(MFU) - Mfuwe Airport, Mfuwe, Zambia','country_id' => '244'),\narray('id' => '1686','name' => '(MNR) - Mongu Airport, Mongu, Zambia','country_id' => '244'),\narray('id' => '1687','name' => '(ZGM) - Ngoma Airport, Ngoma, Zambia','country_id' => '244'),\narray('id' => '1688','name' => '(NLA) - Simon Mwansa Kapwepwe International Airport, Ndola, Zambia','country_id' => '244'),\narray('id' => '1689','name' => '(SXG) - Senanga Airport, Senanga, Zambia','country_id' => '244'),\narray('id' => '1690','name' => '(KIW) - Southdowns Airport, Kitwe, Zambia','country_id' => '244'),\narray('id' => '1691','name' => '(SJQ) - Sesheke Airport, Sesheke, Zambia','country_id' => '244'),\narray('id' => '1692','name' => '(SLI) - Solwesi Airport, Solwesi, Zambia','country_id' => '244'),\narray('id' => '1693','name' => '(FLT) - Flat Airport, Flat, United States','country_id' => '228'),\narray('id' => '1694','name' => '(BBZ) - Zambezi Airport, Zambezi, Zambia','country_id' => '244'),\narray('id' => '1695','name' => '(ULI) - Ulithi Airport, Falalop Island, Micronesia','country_id' => '70'),\narray('id' => '1696','name' => '(HAH) - Prince Said Ibrahim International Airport, Moroni, Comoros','country_id' => '115'),\narray('id' => '1697','name' => '(NWA) - MohAli Bandar Es Eslam Airport, , Comoros','country_id' => '115'),\narray('id' => '1698','name' => '(YVA) - Iconi Airport, Moroni, Comoros','country_id' => '115'),\narray('id' => '1699','name' => '(AJN) - Ouani Airport, Ouani, Comoros','country_id' => '115'),\narray('id' => '1700','name' => '(DZA) - Dzaoudzi Pamandzi International Airport, Dzaoudzi, Mayotte','country_id' => '242'),\narray('id' => '1701','name' => '(RUN) - Roland Garros Airport, St Denis, RAunion','country_id' => '184'),\narray('id' => '1702','name' => '(ZSE) - Pierrefonds Airport, St Pierre, RAunion','country_id' => '184'),\narray('id' => '1703','name' => '(WML) - Malaimbandy Airport, Malaimbandy, Madagascar','country_id' => '138'),\narray('id' => '1704','name' => '(ATJ) - Antsirabe Airport, Antsirabe, Madagascar','country_id' => '138'),\narray('id' => '1705','name' => '(WAQ) - Antsalova Airport, Antsalova, Madagascar','country_id' => '138'),\narray('id' => '1706','name' => '(VVB) - Mahanoro Airport, Mahanoro, Madagascar','country_id' => '138'),\narray('id' => '1707','name' => '(TNR) - Ivato Airport, Antananarivo, Madagascar','country_id' => '138'),\narray('id' => '1708','name' => '(JVA) - Ankavandra Airport, Ankavandra, Madagascar','country_id' => '138'),\narray('id' => '1709','name' => '(BMD) - Belo sur Tsiribihina Airport, Belo sur Tsiribihina, Madagascar','country_id' => '138'),\narray('id' => '1710','name' => '(ZVA) - Miandrivazo Airport, , Madagascar','country_id' => '138'),\narray('id' => '1711','name' => '(MXT) - Maintirano Airport, Maintirano, Madagascar','country_id' => '138'),\narray('id' => '1712','name' => '(ILK) - Atsinanana Airport, Ilaka, Madagascar','country_id' => '138'),\narray('id' => '1713','name' => '(TVA) - Morafenobe Airport, Morafenobe, Madagascar','country_id' => '138'),\narray('id' => '1714','name' => '(SMS) - Sainte Marie Airport, , Madagascar','country_id' => '138'),\narray('id' => '1715','name' => '(TMM) - Toamasina Airport, , Madagascar','country_id' => '138'),\narray('id' => '1716','name' => '(WTA) - Tambohorano Airport, Tambohorano, Madagascar','country_id' => '138'),\narray('id' => '1717','name' => '(MOQ) - Morondava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1718','name' => '(WTS) - Tsiroanomandidy Airport, Tsiroanomandidy, Madagascar','country_id' => '138'),\narray('id' => '1719','name' => '(VAT) - Vatomandry Airport, Vatomandry, Madagascar','country_id' => '138'),\narray('id' => '1720','name' => '(WAM) - Ambatondrazaka Airport, Ambatondrazaka, Madagascar','country_id' => '138'),\narray('id' => '1721','name' => '(DIE) - Arrachart Airport, , Madagascar','country_id' => '138'),\narray('id' => '1722','name' => '(WMR) - Mananara Nord Airport, Mananara Nord, Madagascar','country_id' => '138'),\narray('id' => '1723','name' => '(ZWA) - Andapa Airport, , Madagascar','country_id' => '138'),\narray('id' => '1724','name' => '(AMB) - Ambilobe Airport, , Madagascar','country_id' => '138'),\narray('id' => '1725','name' => '(WBD) - Avaratra Airport, Befandriana, Madagascar','country_id' => '138'),\narray('id' => '1726','name' => '(WPB) - Port BergA Airport, Port BergA, Madagascar','country_id' => '138'),\narray('id' => '1727','name' => '(ANM) - Antsirabato Airport, , Madagascar','country_id' => '138'),\narray('id' => '1728','name' => '(HVA) - Analalava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1729','name' => '(MJN) - Amborovy Airport, , Madagascar','country_id' => '138'),\narray('id' => '1730','name' => '(NOS) - Fascene Airport, Nosy Be, Madagascar','country_id' => '138'),\narray('id' => '1731','name' => '(DWB) - Soalala Airport, Soalala, Madagascar','country_id' => '138'),\narray('id' => '1732','name' => '(WMP) - Mampikony Airport, Mampikony, Madagascar','country_id' => '138'),\narray('id' => '1733','name' => '(BPY) - Besalampy Airport, , Madagascar','country_id' => '138'),\narray('id' => '1734','name' => '(WMN) - Maroantsetra Airport, , Madagascar','country_id' => '138'),\narray('id' => '1735','name' => '(SVB) - Sambava Airport, , Madagascar','country_id' => '138'),\narray('id' => '1736','name' => '(TTS) - Tsaratanana Airport, Tsaratanana, Madagascar','country_id' => '138'),\narray('id' => '1737','name' => '(VOH) - Vohimarina Airport, , Madagascar','country_id' => '138'),\narray('id' => '1738','name' => '(WAI) - Ambalabe Airport, Antsohihy, Madagascar','country_id' => '138'),\narray('id' => '1739','name' => '(WMA) - Mandritsara Airport, Mandritsara, Madagascar','country_id' => '138'),\narray('id' => '1740','name' => '(IVA) - Ampampamena Airport, , Madagascar','country_id' => '138'),\narray('id' => '1741','name' => '(WBO) - Antsoa Airport, Beroroha, Madagascar','country_id' => '138'),\narray('id' => '1742','name' => '(WMD) - Mandabe Airport, Mandabe, Madagascar','country_id' => '138'),\narray('id' => '1743','name' => '(FTU) - TAlanaro Airport, TAlanaro, Madagascar','country_id' => '138'),\narray('id' => '1744','name' => '(WFI) - Fianarantsoa Airport, , Madagascar','country_id' => '138'),\narray('id' => '1745','name' => '(RVA) - Farafangana Airport, , Madagascar','country_id' => '138'),\narray('id' => '1746','name' => '(IHO) - Ihosy Airport, Ihosy, Madagascar','country_id' => '138'),\narray('id' => '1747','name' => '(MJA) - Manja Airport, Manja, Madagascar','country_id' => '138'),\narray('id' => '1748','name' => '(WVK) - Manakara Airport, , Madagascar','country_id' => '138'),\narray('id' => '1749','name' => '(OVA) - Bekily Airport, Bekily, Madagascar','country_id' => '138'),\narray('id' => '1750','name' => '(MNJ) - Mananjary Airport, , Madagascar','country_id' => '138'),\narray('id' => '1751','name' => '(TDV) - Samangoky Airport, Tanandava, Madagascar','country_id' => '138'),\narray('id' => '1752','name' => '(MXM) - Morombe Airport, , Madagascar','country_id' => '138'),\narray('id' => '1753','name' => '(TLE) - Toliara Airport, , Madagascar','country_id' => '138'),\narray('id' => '1754','name' => '(VND) - Vangaindrano Airport, Vangaindrano, Madagascar','country_id' => '138'),\narray('id' => '1755','name' => '(BKU) - Betioky Airport, Betioky, Madagascar','country_id' => '138'),\narray('id' => '1756','name' => '(AMP) - Ampanihy Airport, Ampanihy, Madagascar','country_id' => '138'),\narray('id' => '1757','name' => '(WAK) - Ankazoabo Airport, Ankazoabo, Madagascar','country_id' => '138'),\narray('id' => '1758','name' => '(AZZ) - Ambriz Airport, Ambriz, Angola','country_id' => '7'),\narray('id' => '1759','name' => '(SSY) - Mbanza Congo Airport, Mbanza Congo, Angola','country_id' => '7'),\narray('id' => '1760','name' => '(BUG) - Benguela Airport, Benguela, Angola','country_id' => '7'),\narray('id' => '1761','name' => '(GGC) - Lumbala Airport, Lumbala N\\'guimbo, Angola','country_id' => '7'),\narray('id' => '1762','name' => '(CAB) - Cabinda Airport, Cabinda, Angola','country_id' => '7'),\narray('id' => '1763','name' => '(CFF) - Cafunfo Airport, Cafunfo, Angola','country_id' => '7'),\narray('id' => '1764','name' => '(PGI) - Chitato Airport, Chitato, Angola','country_id' => '7'),\narray('id' => '1765','name' => '(CBT) - Catumbela Airport, Catumbela, Angola','country_id' => '7'),\narray('id' => '1766','name' => '(CTI) - Cuito Cuanavale Airport, Cuito Cuanavale, Angola','country_id' => '7'),\narray('id' => '1767','name' => '(CXM) - Camaxilo Airport, Camaxilo, Angola','country_id' => '7'),\narray('id' => '1768','name' => '(CAV) - Cazombo Airport, Cazombo, Angola','country_id' => '7'),\narray('id' => '1769','name' => '(DUE) - Dundo Airport, Chitato, Angola','country_id' => '7'),\narray('id' => '1770','name' => '(FNE) - Fane Airport, Fane Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '1771','name' => '(VPE) - Ngjiva Pereira Airport, Ngiva, Angola','country_id' => '7'),\narray('id' => '1772','name' => '(NOV) - Nova Lisboa Airport, Huambo, Angola','country_id' => '7'),\narray('id' => '1773','name' => '(SVP) - Kuito Airport, Kuito, Angola','country_id' => '7'),\narray('id' => '1774','name' => '(LBZ) - Lucapa Airport, Lucapa, Angola','country_id' => '7'),\narray('id' => '1775','name' => '(LAD) - Quatro de Fevereiro Airport, Luanda, Angola','country_id' => '7'),\narray('id' => '1776','name' => '(LZM) - Luzamba Airport, Luzamba, Angola','country_id' => '7'),\narray('id' => '1777','name' => '(MEG) - Malanje Airport, Malanje, Angola','country_id' => '7'),\narray('id' => '1778','name' => '(SPP) - Menongue Airport, Menongue, Angola','country_id' => '7'),\narray('id' => '1779','name' => '(MSZ) - Namibe Airport, Namibe, Angola','country_id' => '7'),\narray('id' => '1780','name' => '(GXG) - Negage Airport, Negage, Angola','country_id' => '7'),\narray('id' => '1781','name' => '(PBN) - Porto Amboim Airport, Port Amboim, Angola','country_id' => '7'),\narray('id' => '1782','name' => '(VHC) - Saurimo Airport, Saurimo, Angola','country_id' => '7'),\narray('id' => '1783','name' => '(SZA) - Soyo Airport, Soyo, Angola','country_id' => '7'),\narray('id' => '1784','name' => '(NDD) - Sumbe Airport, Sumbe, Angola','country_id' => '7'),\narray('id' => '1785','name' => '(UAL) - Luau Airport, Luau, Angola','country_id' => '7'),\narray('id' => '1786','name' => '(SDD) - Lubango Airport, Lubango, Angola','country_id' => '7'),\narray('id' => '1787','name' => '(LUO) - Luena Airport, Luena, Angola','country_id' => '7'),\narray('id' => '1788','name' => '(UGO) - Uige Airport, Uige, Angola','country_id' => '7'),\narray('id' => '1789','name' => '(CEO) - Waco Kungo Airport, Waco Kungo, Angola','country_id' => '7'),\narray('id' => '1790','name' => '(XGN) - Xangongo Airport, Xangongo, Angola','country_id' => '7'),\narray('id' => '1791','name' => '(ARZ) - N\\'zeto Airport, N\\'zeto, Angola','country_id' => '7'),\narray('id' => '1792','name' => '(NZA) - Nzagi Airport, Nzagi, Angola','country_id' => '7'),\narray('id' => '1793','name' => '(BGB) - Booue Airport, Booue, Gabon','country_id' => '73'),\narray('id' => '1794','name' => '(KDN) - Ndende Airport, Ndende, Gabon','country_id' => '73'),\narray('id' => '1795','name' => '(FOU) - Fougamou Airport, Fougamou, Gabon','country_id' => '73'),\narray('id' => '1796','name' => '(MBC) - M\\'Bigou Airport, M\\'Bigou, Gabon','country_id' => '73'),\narray('id' => '1797','name' => '(MGX) - Moabi Airport, Moabi, Gabon','country_id' => '73'),\narray('id' => '1798','name' => '(KDJ) - Ville Airport, N\\'DjolA, Gabon','country_id' => '73'),\narray('id' => '1799','name' => '(KOU) - Koulamoutou Mabimbi Airport, Koulamoutou, Gabon','country_id' => '73'),\narray('id' => '1800','name' => '(MJL) - Mouilla Ville Airport, Mouila, Gabon','country_id' => '73'),\narray('id' => '1801','name' => '(OYE) - Oyem Airport, Oyem, Gabon','country_id' => '73'),\narray('id' => '1802','name' => '(OKN) - Okondja Airport, Okondja, Gabon','country_id' => '73'),\narray('id' => '1803','name' => '(LBQ) - Lambarene Airport, Lambarene, Gabon','country_id' => '73'),\narray('id' => '1804','name' => '(MVX) - Minvoul Airport, Minvoul, Gabon','country_id' => '73'),\narray('id' => '1805','name' => '(BMM) - Bitam Airport, Bitam, Gabon','country_id' => '73'),\narray('id' => '1806','name' => '(MFF) - Moanda Airport, Moanda, Gabon','country_id' => '73'),\narray('id' => '1807','name' => '(MKB) - Mekambo Airport, Mekambo, Gabon','country_id' => '73'),\narray('id' => '1808','name' => '(POG) - Port Gentil Airport, Port Gentil, Gabon','country_id' => '73'),\narray('id' => '1809','name' => '(OMB) - Omboue Hopital Airport, Omboue, Gabon','country_id' => '73'),\narray('id' => '1810','name' => '(IGE) - Tchongorove Airport, Iguela, Gabon','country_id' => '73'),\narray('id' => '1811','name' => '(MKU) - Makokou Airport, Makokou, Gabon','country_id' => '73'),\narray('id' => '1812','name' => '(LBV) - Libreville Leon M\\'ba International Airport, Libreville, Gabon','country_id' => '73'),\narray('id' => '1813','name' => '(MZC) - Mitzic Airport, Mitzic, Gabon','country_id' => '73'),\narray('id' => '1814','name' => '(MVB) - M\\'Vengue El Hadj Omar Bongo Ondimba International Airport, Franceville, Gabon','country_id' => '73'),\narray('id' => '1815','name' => '(LTL) - Lastourville Airport, Lastourville, Gabon','country_id' => '73'),\narray('id' => '1816','name' => '(ZKM) - Sette Cama Airport, Sette Cama, Gabon','country_id' => '73'),\narray('id' => '1817','name' => '(TCH) - Tchibanga Airport, Tchibanga, Gabon','country_id' => '73'),\narray('id' => '1818','name' => '(MYB) - Mayumba Airport, Mayumba, Gabon','country_id' => '73'),\narray('id' => '1819','name' => '(FOY) - Foya Airport, Foya, Liberia','country_id' => '127'),\narray('id' => '1820','name' => '(PCP) - Principe Airport, , SAo TomA and Principe','country_id' => '204'),\narray('id' => '1821','name' => '(TMS) - SAo TomA International Airport, SAo TomA, SAo TomA and Principe','country_id' => '204'),\narray('id' => '1822','name' => '(ANO) - Angoche Airport, Angoche, Mozambique','country_id' => '155'),\narray('id' => '1823','name' => '(BEW) - Beira Airport, Beira, Mozambique','country_id' => '155'),\narray('id' => '1824','name' => '(FXO) - Cuamba Airport, Cuamba, Mozambique','country_id' => '155'),\narray('id' => '1825','name' => '(VPY) - Chimoio Airport, Chimoio, Mozambique','country_id' => '155'),\narray('id' => '1826','name' => '(IHC) - Inhaca Airport, Inhaca, Mozambique','country_id' => '155'),\narray('id' => '1827','name' => '(INH) - Inhambane Airport, Inhambabe, Mozambique','country_id' => '155'),\narray('id' => '1828','name' => '(VXC) - Lichinga Airport, Lichinga, Mozambique','country_id' => '155'),\narray('id' => '1829','name' => '(LFB) - Lumbo Airport, Lumbo, Mozambique','country_id' => '155'),\narray('id' => '1830','name' => '(MPM) - Maputo Airport, Maputo, Mozambique','country_id' => '155'),\narray('id' => '1831','name' => '(MUD) - Mueda Airport, Mueda, Mozambique','country_id' => '155'),\narray('id' => '1832','name' => '(MZB) - MocAmboa da Praia Airport, MocAmboa da Praia, Mozambique','country_id' => '155'),\narray('id' => '1833','name' => '(MNC) - Nacala Airport, Nacala, Mozambique','country_id' => '155'),\narray('id' => '1834','name' => '(APL) - Nampula Airport, Nampula, Mozambique','country_id' => '155'),\narray('id' => '1835','name' => '(POL) - Pemba Airport, Pemba / Porto Amelia, Mozambique','country_id' => '155'),\narray('id' => '1836','name' => '(PDD) - Ponta do Ouro Airport, Ponta do Ouro, Mozambique','country_id' => '155'),\narray('id' => '1837','name' => '(UEL) - Quelimane Airport, Quelimane, Mozambique','country_id' => '155'),\narray('id' => '1838','name' => '(TET) - Chingozi Airport, Tete, Mozambique','country_id' => '155'),\narray('id' => '1839','name' => '(VNX) - Vilankulo Airport, Vilanculo, Mozambique','country_id' => '155'),\narray('id' => '1840','name' => '(VJB) - Xai-Xai Airport, Xai-Xai, Mozambique','country_id' => '155'),\narray('id' => '1841','name' => '(BVE) - Brive Souillac Airport, , France','country_id' => '72'),\narray('id' => '1842','name' => '(DES) - Desroches Airport, Desroches Island, Seychelles','country_id' => '191'),\narray('id' => '1843','name' => '(SEZ) - Seychelles International Airport, Mahe Island, Seychelles','country_id' => '191'),\narray('id' => '1844','name' => '(FSL) - Fossil Downs Airport, Fossil Downs Station, Australia','country_id' => '12'),\narray('id' => '1845','name' => '(PRI) - Praslin Airport, Praslin Island, Seychelles','country_id' => '191'),\narray('id' => '1846','name' => '(BDI) - Bird Island Airport, Bird Island, Seychelles','country_id' => '191'),\narray('id' => '1847','name' => '(DEI) - Denis Island Airport, Denis Island, Seychelles','country_id' => '191'),\narray('id' => '1848','name' => '(FRK) - FrAgate Island Airport, FrAgate Island, Seychelles','country_id' => '191'),\narray('id' => '1849','name' => '(SRH) - Sarh Airport, Sarh, Chad','country_id' => '210'),\narray('id' => '1850','name' => '(OGR) - Bongor Airport, Bongor, Chad','country_id' => '210'),\narray('id' => '1851','name' => '(AEH) - Abeche Airport, , Chad','country_id' => '210'),\narray('id' => '1852','name' => '(MQQ) - Moundou Airport, , Chad','country_id' => '210'),\narray('id' => '1853','name' => '(LTC) - Lai Airport, Lai, Chad','country_id' => '210'),\narray('id' => '1854','name' => '(ATV) - Ati Airport, Ati, Chad','country_id' => '210'),\narray('id' => '1855','name' => '(NDJ) - N\\'Djamena International Airport, N\\'Djamena, Chad','country_id' => '210'),\narray('id' => '1856','name' => '(BKR) - Bokoro Airport, Bokoro, Chad','country_id' => '210'),\narray('id' => '1857','name' => '(OTC) - Bol Airport, Bol, Chad','country_id' => '210'),\narray('id' => '1858','name' => '(MVO) - Mongo Airport, Mongo, Chad','country_id' => '210'),\narray('id' => '1859','name' => '(AMC) - Am Timan Airport, Am Timan, Chad','country_id' => '210'),\narray('id' => '1860','name' => '(PLF) - Pala Airport, Pala, Chad','country_id' => '210'),\narray('id' => '1861','name' => '(OUT) - Bousso Airport, Bousso, Chad','country_id' => '210'),\narray('id' => '1862','name' => '(AMO) - Mao Airport, Mao, Chad','country_id' => '210'),\narray('id' => '1863','name' => '(FYT) - Faya Largeau Airport, , Chad','country_id' => '210'),\narray('id' => '1864','name' => '(FUB) - Fulleborn Airport, Fulleborn, Papua New Guinea','country_id' => '172'),\narray('id' => '1865','name' => '(BZH) - Bumi Airport, Bumi, Zimbabwe','country_id' => '245'),\narray('id' => '1866','name' => '(BUQ) - Joshua Mqabuko Nkomo International Airport, Bulawayo, Zimbabwe','country_id' => '245'),\narray('id' => '1867','name' => '(CHJ) - Chipinge Airport, Chipinge, Zimbabwe','country_id' => '245'),\narray('id' => '1868','name' => '(BFO) - Buffalo Range Airport, Chiredzi, Zimbabwe','country_id' => '245'),\narray('id' => '1869','name' => '(VFA) - Victoria Falls International Airport, Victoria Falls, Zimbabwe','country_id' => '245'),\narray('id' => '1870','name' => '(HRE) - Harare International Airport, Harare, Zimbabwe','country_id' => '245'),\narray('id' => '1871','name' => '(KAB) - Kariba International Airport, Kariba, Zimbabwe','country_id' => '245'),\narray('id' => '1872','name' => '(MJW) - Mahenye Airport, Gonarezhou National Park, Zimbabwe','country_id' => '245'),\narray('id' => '1873','name' => '(UTA) - Mutare Airport, Mutare, Zimbabwe','country_id' => '245'),\narray('id' => '1874','name' => '(MVZ) - Masvingo International Airport, Masvingo, Zimbabwe','country_id' => '245'),\narray('id' => '1875','name' => '(GWE) - Thornhill Air Base, Gweru, Zimbabwe','country_id' => '245'),\narray('id' => '1876','name' => '(HWN) - Hwange National Park Airport, Hwange, Zimbabwe','country_id' => '245'),\narray('id' => '1877','name' => '(WKI) - Hwange Airport, Hwange, Zimbabwe','country_id' => '245'),\narray('id' => '1878','name' => '(CEH) - Chelinda Malawi Airport, , Malawi','country_id' => '152'),\narray('id' => '1879','name' => '(BLZ) - Chileka International Airport, Blantyre, Malawi','country_id' => '152'),\narray('id' => '1880','name' => '(CMK) - Club Makokola Airport, Club Makokola, Malawi','country_id' => '152'),\narray('id' => '1881','name' => '(DWA) - Dwangwa Airport, Dwangwa, Malawi','country_id' => '152'),\narray('id' => '1882','name' => '(KGJ) - Karonga Airport, Karonga, Malawi','country_id' => '152'),\narray('id' => '1883','name' => '(KBQ) - Kasungu Airport, Kasungu, Malawi','country_id' => '152'),\narray('id' => '1884','name' => '(LLW) - Lilongwe International Airport, Lilongwe, Malawi','country_id' => '152'),\narray('id' => '1885','name' => '(LIX) - Likoma Island Airport, Likoma Island, Malawi','country_id' => '152'),\narray('id' => '1886','name' => '(MAI) - Mangochi Airport, Mangochi, Malawi','country_id' => '152'),\narray('id' => '1887','name' => '(MYZ) - Monkey Bay Airport, Monkey Bay, Malawi','country_id' => '152'),\narray('id' => '1888','name' => '(LMB) - Salima Airport, Salima, Malawi','country_id' => '152'),\narray('id' => '1889','name' => '(ZZU) - Mzuzu Airport, Mzuzu, Malawi','country_id' => '152'),\narray('id' => '1890','name' => '(LEF) - Lebakeng Airport, Lebakeng, Lesotho','country_id' => '128'),\narray('id' => '1891','name' => '(LRB) - Leribe Airport, Leribe, Lesotho','country_id' => '128'),\narray('id' => '1892','name' => '(LES) - Lesobeng Airport, Lesobeng, Lesotho','country_id' => '128'),\narray('id' => '1893','name' => '(FXM) - Flaxman Island Airstrip, Flaxman Island, United States','country_id' => '228'),\narray('id' => '1894','name' => '(MFC) - Mafeteng Airport, Mafeteng, Lesotho','country_id' => '128'),\narray('id' => '1895','name' => '(MKH) - Mokhotlong Airport, Mokhotlong, Lesotho','country_id' => '128'),\narray('id' => '1896','name' => '(MSU) - Moshoeshoe I International Airport, Maseru, Lesotho','country_id' => '128'),\narray('id' => '1897','name' => '(NKU) - Nkaus Airport, Nkaus, Lesotho','country_id' => '128'),\narray('id' => '1898','name' => '(PEL) - Pelaneng Airport, Pelaneng, Lesotho','country_id' => '128'),\narray('id' => '1899','name' => '(UTG) - Quthing Airport, Quthing, Lesotho','country_id' => '128'),\narray('id' => '1900','name' => '(UNE) - Qacha\\'s Nek Airport, Qacha\\'s Nek, Lesotho','country_id' => '128'),\narray('id' => '1901','name' => '(SHK) - Sehonghong Airport, Sehonghong, Lesotho','country_id' => '128'),\narray('id' => '1902','name' => '(SKQ) - Sekakes Airport, Sekakes, Lesotho','country_id' => '128'),\narray('id' => '1903','name' => '(SOK) - Semonkong Airport, Semonkong, Lesotho','country_id' => '128'),\narray('id' => '1904','name' => '(SHZ) - Seshutes Airport, Seshutes, Lesotho','country_id' => '128'),\narray('id' => '1905','name' => '(THB) - Thaba-Tseka Airport, Thaba-Tseka, Lesotho','country_id' => '128'),\narray('id' => '1906','name' => '(TKO) - Tlokoeng Airport, Tlokoeng, Lesotho','country_id' => '128'),\narray('id' => '1907','name' => '(AIW) - Ai-Ais Airport, Ai-Ais, Namibia','country_id' => '156'),\narray('id' => '1908','name' => '(ADI) - Arandis Airport, Arandis, Namibia','country_id' => '156'),\narray('id' => '1909','name' => '(GOG) - Gobabis Airport, Gobabis, Namibia','country_id' => '156'),\narray('id' => '1910','name' => '(GFY) - Grootfontein Airport, Grootfontein, Namibia','country_id' => '156'),\narray('id' => '1911','name' => '(HAL) - Halali Airport, Halali, Namibia','country_id' => '156'),\narray('id' => '1912','name' => '(KAS) - Karasburg Airport, Karasburg, Namibia','country_id' => '156'),\narray('id' => '1913','name' => '(MPA) - Katima Mulilo Airport, Mpacha, Namibia','country_id' => '156'),\narray('id' => '1914','name' => '(KMP) - Keetmanshoop Airport, Keetmanshoop, Namibia','country_id' => '156'),\narray('id' => '1915','name' => '(LHU) - Lianshulu Airport, Lianshulu Lodge, Namibia','country_id' => '156'),\narray('id' => '1916','name' => '(LUD) - Luderitz Airport, Luderitz, Namibia','country_id' => '156'),\narray('id' => '1917','name' => '(MJO) - Mount Etjo Airport, Mount Etjo Safari Lodge, Namibia','country_id' => '156'),\narray('id' => '1918','name' => '(MQG) - Midgard Airport, Midgard, Namibia','country_id' => '156'),\narray('id' => '1919','name' => '(OKU) - Mokuti Lodge Airport, Mokuti Lodge, Namibia','country_id' => '156'),\narray('id' => '1920','name' => '(NNI) - Namutoni Airport, Namutoni, Namibia','country_id' => '156'),\narray('id' => '1921','name' => '(OND) - Ondangwa Airport, Ondangwa, Namibia','country_id' => '156'),\narray('id' => '1922','name' => '(OMG) - Omega Airport, Omega, Namibia','country_id' => '156'),\narray('id' => '1923','name' => '(OMD) - Oranjemund Airport, Oranjemund, Namibia','country_id' => '156'),\narray('id' => '1924','name' => '(OKF) - Okaukuejo Airport, Okaukuejo, Namibia','country_id' => '156'),\narray('id' => '1925','name' => '(OPW) - Opuwa Airport, Opuwa, Namibia','country_id' => '156'),\narray('id' => '1926','name' => '(OHI) - Oshakati Airport, Oshakati, Namibia','country_id' => '156'),\narray('id' => '1927','name' => '(OTJ) - Otjiwarongo Airport, Otjiwarongo, Namibia','country_id' => '156'),\narray('id' => '1928','name' => '(NDU) - Rundu Airport, Rundu, Namibia','country_id' => '156'),\narray('id' => '1929','name' => '(RHN) - Skorpion Mine Airport, Rosh Pinah, Namibia','country_id' => '156'),\narray('id' => '1930','name' => '(SWP) - Swakopmund Airport, Swakopmund, Namibia','country_id' => '156'),\narray('id' => '1931','name' => '(SZM) - Sesriem Airstrip, , Namibia','country_id' => '156'),\narray('id' => '1932','name' => '(TCY) - Terrace Bay Airport, Terrace Bay, Namibia','country_id' => '156'),\narray('id' => '1933','name' => '(TSB) - Tsumeb Airport, Tsumeb, Namibia','country_id' => '156'),\narray('id' => '1934','name' => '(WVB) - Walvis Bay Airport, Walvis Bay, Namibia','country_id' => '156'),\narray('id' => '1935','name' => '(ERS) - Eros Airport, Windhoek, Namibia','country_id' => '156'),\narray('id' => '1936','name' => '(WDH) - Hosea Kutako International Airport, Windhoek, Namibia','country_id' => '156'),\narray('id' => '1937','name' => '(FIH) - Ndjili International Airport, Kinshasa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1938','name' => '(NLO) - Ndolo Airport, N\\'dolo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1939','name' => '(MNB) - Muanda Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1940','name' => '(BOA) - Boma Airport, Boma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1941','name' => '(LZI) - Luozi Airport, Luozi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1942','name' => '(MAT) - Tshimpi Airport, Matadi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1943','name' => '(NKL) - N\\'Kolo-Fuma Airport, N\\'Kolo-Fuma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1944','name' => '(INO) - Inongo Airport, Inongo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1945','name' => '(NIO) - Nioki Airport, Nioki, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1946','name' => '(FDU) - Bandundu Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1947','name' => '(KRZ) - Basango Mboliasa Airport, Kiri, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1948','name' => '(KKW) - Kikwit Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1949','name' => '(IDF) - Idiofa Airport, Idiofa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1950','name' => '(LUS) - Lusanga Airport, Lusanga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1951','name' => '(MSM) - Masi Manimba Airport, Masi Manimba, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1952','name' => '(MDK) - Mbandaka Airport, Mbandaka, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1953','name' => '(BSU) - Basankusu Airport, Basankusu, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1954','name' => '(LIE) - Libenge Airport, Libenge, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1955','name' => '(BDT) - Gbadolite Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1956','name' => '(GMA) - Gemena Airport, Gemena, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1957','name' => '(KLI) - Kotakoli Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1958','name' => '(BMB) - Bumbar Airport, Bumbar, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1959','name' => '(LIQ) - Lisala Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1960','name' => '(BNB) - Boende Airport, Boende, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1961','name' => '(IKL) - Ikela Airport, Ikela, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1962','name' => '(FKI) - Bangoka International Airport, Kisangani, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1963','name' => '(YAN) - Yangambi Airport, Yangambi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1964','name' => '(IRP) - Matari Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1965','name' => '(BUX) - Bunia Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1966','name' => '(BZU) - Buta Zega Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1967','name' => '(BKY) - Bukavu Kavumu Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1968','name' => '(RUE) - Rughenda Airfield, Butembo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1969','name' => '(GOM) - Goma International Airport, Goma, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1970','name' => '(BNC) - Beni Airport, Beni, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1971','name' => '(KND) - Kindu Airport, Kindu, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1972','name' => '(KLY) - Kinkungwa Airport, Kalima, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1973','name' => '(PUN) - Punia Airport, Punia, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1974','name' => '(FBM) - Lubumbashi International Airport, Lubumbashi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1975','name' => '(PWO) - Pweto Airport, Pweto, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1976','name' => '(KEC) - Kasenga Airport, Kasenga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1977','name' => '(KWZ) - Kolwezi Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1978','name' => '(MNO) - Manono Airport, Manono, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1979','name' => '(BDV) - Moba Airport, Moba, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1980','name' => '(FMI) - Kalemie Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1981','name' => '(KBO) - Kabalo Airport, Kabalo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1982','name' => '(KOO) - Kongolo Airport, Kongolo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1983','name' => '(KMN) - Kamina Base Airport, , Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1984','name' => '(KAP) - Kapanga Airport, Kapanga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1985','name' => '(KNM) - Kaniama Airport, Kaniama, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1986','name' => '(KGA) - Kananga Airport, Kananga, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1987','name' => '(LZA) - Luiza Airport, Luiza, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1988','name' => '(TSH) - Tshikapa Airport, Tshikapa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1989','name' => '(LJA) - Lodja Airport, Lodja, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1990','name' => '(LBO) - Lusambo Airport, Lusambo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1991','name' => '(MEW) - Mweka Airport, Mweka, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1992','name' => '(BAN) - Basongo Airport, Basongo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1993','name' => '(PFR) - Ilebo Airport, Ilebo, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1994','name' => '(MJM) - Mbuji Mayi Airport, Mbuji Mayi, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1995','name' => '(GDJ) - Gandajika Airport, Gandajika, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1996','name' => '(KBN) - Tunta Airport, Kabinda, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '1997','name' => '(AKE) - Akieni Airport, Akieni, Gabon','country_id' => '73'),\narray('id' => '1998','name' => '(GAX) - Gamba Airport, Gamba, Gabon','country_id' => '73'),\narray('id' => '1999','name' => '(GAB) - Gabbs Airport, Gabbs, United States','country_id' => '228'),\narray('id' => '2000','name' => '(BKO) - Senou Airport, Senou, Mali','country_id' => '141'),\narray('id' => '2001','name' => '(GUD) - Goundam Airport, Goundam, Mali','country_id' => '141'),\narray('id' => '2002','name' => '(GAQ) - Gao Airport, , Mali','country_id' => '141'),\narray('id' => '2003','name' => '(KNZ) - Kenieba Airport, Kenieba, Mali','country_id' => '141'),\narray('id' => '2004','name' => '(KTX) - Koutiala Airport, Koutiala, Mali','country_id' => '141'),\narray('id' => '2005','name' => '(KYS) - Kayes Dag Dag Airport, , Mali','country_id' => '141'),\narray('id' => '2006','name' => '(MZI) - Mopti Airport, , Mali','country_id' => '141'),\narray('id' => '2007','name' => '(NRM) - Nara Airport, Nara, Mali','country_id' => '141'),\narray('id' => '2008','name' => '(NIX) - Nioro du Sahel Airport, Nioro du Sahel, Mali','country_id' => '141'),\narray('id' => '2009','name' => '(KSS) - Sikasso Airport, Sikasso, Mali','country_id' => '141'),\narray('id' => '2010','name' => '(TOM) - Timbuktu Airport, Timbuktu, Mali','country_id' => '141'),\narray('id' => '2011','name' => '(EYL) - YAlimanA Airport, YAlimanA, Mali','country_id' => '141'),\narray('id' => '2012','name' => '(GAZ) - Guasopa Airport, Woodlark (Muyua) Island, Papua New Guinea','country_id' => '172'),\narray('id' => '2013','name' => '(HOY) - Hoy/Longhope Airfield, Orkney Isle, United Kingdom','country_id' => '74'),\narray('id' => '2014','name' => '(DOC) - Dornoch Airport, Dornoch, United Kingdom','country_id' => '74'),\narray('id' => '2015','name' => '(FLH) - Flotta Isle Airport, Flotta Isle, United Kingdom','country_id' => '74'),\narray('id' => '2016','name' => '(FOA) - Foula Airport, Foula, United Kingdom','country_id' => '74'),\narray('id' => '2017','name' => '(OUK) - Outer Skerries Airport, Grunay Island, United Kingdom','country_id' => '74'),\narray('id' => '2018','name' => '(PSV) - Papa Stour Airport, Papa Stour Island, United Kingdom','country_id' => '74'),\narray('id' => '2019','name' => '(ULL) - Glenforsa Airfield, Glenforsa, United Kingdom','country_id' => '74'),\narray('id' => '2020','name' => '(BJL) - Banjul International Airport, Banjul, Gambia','country_id' => '82'),\narray('id' => '2021','name' => '(FUE) - Fuerteventura Airport, Fuerteventura Island, Spain','country_id' => '65'),\narray('id' => '2022','name' => '(GMZ) - La Gomera Airport, Alajero, La Gomera Island, Spain','country_id' => '65'),\narray('id' => '2023','name' => '(VDE) - Hierro Airport, El Hierro Island, Spain','country_id' => '65'),\narray('id' => '2024','name' => '(SPC) - La Palma Airport, Sta Cruz de la Palma, La Palma Island, Spain','country_id' => '65'),\narray('id' => '2025','name' => '(LPA) - Gran Canaria Airport, Gran Canaria Island, Spain','country_id' => '65'),\narray('id' => '2026','name' => '(ACE) - Lanzarote Airport, Lanzarote Island, Spain','country_id' => '65'),\narray('id' => '2027','name' => '(TFS) - Tenerife South Airport, Tenerife Island, Spain','country_id' => '65'),\narray('id' => '2028','name' => '(GCV) - Gravatai Airport, Gravatai, Brazil','country_id' => '29'),\narray('id' => '2029','name' => '(TFN) - Tenerife Norte Airport, Tenerife Island, Spain','country_id' => '65'),\narray('id' => '2030','name' => '(MLN) - Melilla Airport, Melilla, Spain','country_id' => '65'),\narray('id' => '2031','name' => '(GEW) - Gewoia Airport, Gewoia, Papua New Guinea','country_id' => '172'),\narray('id' => '2032','name' => '(BTE) - Sherbro International Airport, Bonthe, Sierra Leone','country_id' => '198'),\narray('id' => '2033','name' => '(KBS) - Bo Airport, Bo, Sierra Leone','country_id' => '198'),\narray('id' => '2034','name' => '(GFD) - Pope Field, Greenfield, United States','country_id' => '228'),\narray('id' => '2035','name' => '(GBK) - Gbangbatok Airport, Gbangbatok, Sierra Leone','country_id' => '198'),\narray('id' => '2036','name' => '(HGS) - Hastings Airport, Freetown, Sierra Leone','country_id' => '198'),\narray('id' => '2037','name' => '(KBA) - Kabala Airport, Kabala, Sierra Leone','country_id' => '198'),\narray('id' => '2038','name' => '(KEN) - Kenema Airport, Kenema, Sierra Leone','country_id' => '198'),\narray('id' => '2039','name' => '(FNA) - Lungi International Airport, Freetown, Sierra Leone','country_id' => '198'),\narray('id' => '2040','name' => '(WYE) - Yengema Airport, Yengema, Sierra Leone','country_id' => '198'),\narray('id' => '2041','name' => '(BQE) - Bubaque Airport, Bubaque, Guinea-Bissau','country_id' => '90'),\narray('id' => '2042','name' => '(OXB) - Osvaldo Vieira International Airport, Bissau, Guinea-Bissau','country_id' => '90'),\narray('id' => '2043','name' => '(GHE) - GarachinA Airport, GarachinA, Panama','country_id' => '169'),\narray('id' => '2044','name' => '(UCN) - Buchanan Airport, Buchanan, Liberia','country_id' => '127'),\narray('id' => '2045','name' => '(CPA) - Cape Palmas Airport, Harper, Liberia','country_id' => '127'),\narray('id' => '2046','name' => '(SNI) - Greenville Sinoe Airport, Greenville, Liberia','country_id' => '127'),\narray('id' => '2047','name' => '(UCN) - Lamco Airport, Buchanan, Liberia','country_id' => '127'),\narray('id' => '2048','name' => '(MLW) - Spriggs Payne Airport, Monrovia, Liberia','country_id' => '127'),\narray('id' => '2049','name' => '(NIA) - Nimba Airport, Nimba, Liberia','country_id' => '127'),\narray('id' => '2050','name' => '(GLP) - Gulgubip Airport, Gulgubip, Papua New Guinea','country_id' => '172'),\narray('id' => '2051','name' => '(ROB) - Roberts International Airport, Monrovia, Liberia','country_id' => '127'),\narray('id' => '2052','name' => '(SAZ) - Sasstown Airport, Sasstown, Liberia','country_id' => '127'),\narray('id' => '2053','name' => '(THC) - Tchien Airport, Tchien, Liberia','country_id' => '127'),\narray('id' => '2054','name' => '(VOI) - Voinjama Airport, Voinjama, Liberia','country_id' => '127'),\narray('id' => '2055','name' => '(AGA) - Al Massira Airport, Agadir, Morocco','country_id' => '133'),\narray('id' => '2056','name' => '(TTA) - Tan Tan Airport, Tan Tan, Morocco','country_id' => '133'),\narray('id' => '2057','name' => '(OZG) - Zagora Airport, Zagora, Morocco','country_id' => '133'),\narray('id' => '2058','name' => '(UAR) - Bouarfa Airport, Bouarfa, Morocco','country_id' => '133'),\narray('id' => '2059','name' => '(FEZ) - SaAss Airport, Fes, Morocco','country_id' => '133'),\narray('id' => '2060','name' => '(ERH) - Moulay Ali Cherif Airport, Errachidia, Morocco','country_id' => '133'),\narray('id' => '2061','name' => '(MEK) - Bassatine Airport, Meknes, Morocco','country_id' => '133'),\narray('id' => '2062','name' => '(OUD) - Angads Airport, Oujda, Morocco','country_id' => '133'),\narray('id' => '2063','name' => '(SMW) - Smara Airport, Smara, Western Sahara','country_id' => '63'),\narray('id' => '2064','name' => '(GMD) - Ben Slimane Airport, Ben Slimane, Morocco','country_id' => '133'),\narray('id' => '2065','name' => '(RBA) - Rabat-SalA Airport, Rabat, Morocco','country_id' => '133'),\narray('id' => '2066','name' => '(SII) - Sidi Ifni Xx Airport, Sidi Ifni, Morocco','country_id' => '133'),\narray('id' => '2067','name' => '(VIL) - Dakhla Airport, Dakhla, Western Sahara','country_id' => '63'),\narray('id' => '2068','name' => '(ESU) - Mogador Airport, Essaouira, Morocco','country_id' => '133'),\narray('id' => '2069','name' => '(EUN) - Hassan I Airport, El AaiAon, Western Sahara','country_id' => '63'),\narray('id' => '2070','name' => '(CMN) - Mohammed V International Airport, Casablanca, Morocco','country_id' => '133'),\narray('id' => '2071','name' => '(SFI) - Safi Airport, Safi, Morocco','country_id' => '133'),\narray('id' => '2072','name' => '(NDR) - Nador International Airport, Nador, Morocco','country_id' => '133'),\narray('id' => '2073','name' => '(RAK) - Menara Airport, Marrakech, Morocco','country_id' => '133'),\narray('id' => '2074','name' => '(NNA) - Kenitra Airport, , Morocco','country_id' => '133'),\narray('id' => '2075','name' => '(OZZ) - Ouarzazate Airport, Ouarzazate, Morocco','country_id' => '133'),\narray('id' => '2076','name' => '(AHU) - Cherif Al Idrissi Airport, Al Hoceima, Morocco','country_id' => '133'),\narray('id' => '2077','name' => '(TTU) - Saniat R\\'mel Airport, TAtouan, Morocco','country_id' => '133'),\narray('id' => '2078','name' => '(TNG) - Ibn Batouta Airport, Tangier, Morocco','country_id' => '133'),\narray('id' => '2079','name' => '(GNU) - Goodnews Airport, Goodnews, United States','country_id' => '228'),\narray('id' => '2080','name' => '(GOC) - Gora Airstrip, Gora, Papua New Guinea','country_id' => '172'),\narray('id' => '2081','name' => '(KDA) - Kolda North Airport, Kolda, Senegal','country_id' => '200'),\narray('id' => '2082','name' => '(ZIG) - Ziguinchor Airport, Ziguinchor, Senegal','country_id' => '200'),\narray('id' => '2083','name' => '(CSK) - Cap Skirring Airport, Cap Skirring, Senegal','country_id' => '200'),\narray('id' => '2084','name' => '(KLC) - Kaolack Airport, Kaolack, Senegal','country_id' => '200'),\narray('id' => '2085','name' => '(DKR) - LAopold SAdar Senghor International Airport, Dakar, Senegal','country_id' => '200'),\narray('id' => '2086','name' => '(MAX) - Ouro Sogui Airport, Matam, Senegal','country_id' => '200'),\narray('id' => '2087','name' => '(POD) - Podor Airport, Podor, Senegal','country_id' => '200'),\narray('id' => '2088','name' => '(RDT) - Richard Toll Airport, Richard Toll, Senegal','country_id' => '200'),\narray('id' => '2089','name' => '(XLS) - Saint Louis Airport, Saint Louis, Senegal','country_id' => '200'),\narray('id' => '2090','name' => '(BXE) - Bakel Airport, Bakel, Senegal','country_id' => '200'),\narray('id' => '2091','name' => '(KGG) - KAdougou Airport, KAdougou, Senegal','country_id' => '200'),\narray('id' => '2092','name' => '(SMY) - Simenti Airport, Simenti, Senegal','country_id' => '200'),\narray('id' => '2093','name' => '(TUD) - Tambacounda Airport, Tambacounda, Senegal','country_id' => '200'),\narray('id' => '2094','name' => '(AEO) - Aioun el Atrouss Airport, Aioun El Atrouss, Mauritania','country_id' => '147'),\narray('id' => '2095','name' => '(OTL) - Boutilimit Airport, Boutilimit, Mauritania','country_id' => '147'),\narray('id' => '2096','name' => '(THI) - Tichitt Airport, Tichitt, Mauritania','country_id' => '147'),\narray('id' => '2097','name' => '(TIY) - Tidjikja Airport, Tidjikja, Mauritania','country_id' => '147'),\narray('id' => '2098','name' => '(BGH) - Abbaye Airport, Boghe, Mauritania','country_id' => '147'),\narray('id' => '2099','name' => '(KFA) - Kiffa Airport, Kiffa, Mauritania','country_id' => '147'),\narray('id' => '2100','name' => '(TMD) - Timbedra Airport, Timbedra, Mauritania','country_id' => '147'),\narray('id' => '2101','name' => '(EMN) - NAma Airport, NAma, Mauritania','country_id' => '147'),\narray('id' => '2102','name' => '(AJJ) - Akjoujt Airport, Akjoujt, Mauritania','country_id' => '147'),\narray('id' => '2103','name' => '(KED) - KaAdi Airport, KaAdi, Mauritania','country_id' => '147'),\narray('id' => '2104','name' => '(MOM) - Letfotar Airport, Moudjeria, Mauritania','country_id' => '147'),\narray('id' => '2105','name' => '(NKC) - Nouakchott International Airport, Nouakchott, Mauritania','country_id' => '147'),\narray('id' => '2106','name' => '(SEY) - SAlibaby Airport, SAlibaby, Mauritania','country_id' => '147'),\narray('id' => '2107','name' => '(THT) - Tamchakett Airport, Tamchakett, Mauritania','country_id' => '147'),\narray('id' => '2108','name' => '(ATR) - Atar International Airport, Atar, Mauritania','country_id' => '147'),\narray('id' => '2109','name' => '(FGD) - Fderik Airport, Fderik, Mauritania','country_id' => '147'),\narray('id' => '2110','name' => '(NDB) - Nouadhibou International Airport, Nouadhibou, Mauritania','country_id' => '147'),\narray('id' => '2111','name' => '(OUZ) - Tazadit Airport, ZouArate, Mauritania','country_id' => '147'),\narray('id' => '2112','name' => '(JSS) - Spetsai Airport, Spetsai, Greece','country_id' => '86'),\narray('id' => '2113','name' => '(GRC) - Grand Cess Airport, Grand Cess, Liberia','country_id' => '127'),\narray('id' => '2114','name' => '(GMT) - Granite Mountain Air Station, Granite Mountain, United States','country_id' => '228'),\narray('id' => '2115','name' => '(CIQ) - Chiquimula Airport, Chiquimula, Guatemala','country_id' => '88'),\narray('id' => '2116','name' => '(DON) - Dos Lagunas Airport, Dos Lagunas, Guatemala','country_id' => '88'),\narray('id' => '2117','name' => '(ENJ) - El Naranjo Airport, El Naranjo, Guatemala','country_id' => '88'),\narray('id' => '2118','name' => '(PCG) - Paso Caballos Airport, Paso Caballos, Guatemala','country_id' => '88'),\narray('id' => '2119','name' => '(TKM) - El PetAn Airport, Tikal, Guatemala','country_id' => '88'),\narray('id' => '2120','name' => '(UAX) - Uaxactun Airport, Uaxactun, Guatemala','country_id' => '88'),\narray('id' => '2121','name' => '(PKJ) - Playa Grande Airport, Playa Grande, Guatemala','country_id' => '88'),\narray('id' => '2122','name' => '(GTZ) - Kirawira B Aerodrome, Grumeti Game Reserve, Tanzania','country_id' => '224'),\narray('id' => '2123','name' => '(CKY) - Conakry International Airport, Conakry, Guinea','country_id' => '83'),\narray('id' => '2124','name' => '(GUE) - Guriaso (Keraso) Airport, Guriaso, Papua New Guinea','country_id' => '172'),\narray('id' => '2125','name' => '(FIG) - Fria Airport, Fria, Guinea','country_id' => '83'),\narray('id' => '2126','name' => '(FAA) - Faranah Airport, Faranah, Guinea','country_id' => '83'),\narray('id' => '2127','name' => '(KSI) - Kissidougou Airport, Kissidougou, Guinea','country_id' => '83'),\narray('id' => '2128','name' => '(LEK) - Tata Airport, LabA, Guinea','country_id' => '83'),\narray('id' => '2129','name' => '(MCA) - Macenta Airport, Macenta, Guinea','country_id' => '83'),\narray('id' => '2130','name' => '(NZE) - NzArAkorA Airport, NzArAkorA, Guinea','country_id' => '83'),\narray('id' => '2131','name' => '(BKJ) - BokA Baralande Airport, BokA, Guinea','country_id' => '83'),\narray('id' => '2132','name' => '(SBI) - Sambailo Airport, Koundara, Guinea','country_id' => '83'),\narray('id' => '2133','name' => '(GII) - Siguiri Airport, Siguiri, Guinea','country_id' => '83'),\narray('id' => '2134','name' => '(KNN) - Kankan Airport, Kankan, Guinea','country_id' => '83'),\narray('id' => '2135','name' => '(SID) - AmAlcar Cabral International Airport, Espargos, Cape Verde','country_id' => '49'),\narray('id' => '2136','name' => '(NTO) - Agostinho Neto Airport, Ponta do Sol, Cape Verde','country_id' => '49'),\narray('id' => '2137','name' => '(BVC) - Rabil Airport, Rabil, Cape Verde','country_id' => '49'),\narray('id' => '2138','name' => '(GVE) - Gordonsville Municipal Airport, Gordonsville, United States','country_id' => '228'),\narray('id' => '2139','name' => '(MMO) - Maio Airport, Vila do Maio, Cape Verde','country_id' => '49'),\narray('id' => '2140','name' => '(MTI) - Mosteiros Airport, Vila do Mosteiros, Cape Verde','country_id' => '49'),\narray('id' => '2141','name' => '(RAI) - Praia International Airport, Praia, Cape Verde','country_id' => '49'),\narray('id' => '2142','name' => '(SFL) - SAo Filipe Airport, SAo Filipe, Cape Verde','country_id' => '49'),\narray('id' => '2143','name' => '(SNE) - PreguiAa Airport, PreguiAa, Cape Verde','country_id' => '49'),\narray('id' => '2144','name' => '(VXE) - SAo Pedro Airport, SAo Pedro, Cape Verde','country_id' => '49'),\narray('id' => '2145','name' => '(BCG) - Bemichi Airport, Bemichi, Guyana','country_id' => '91'),\narray('id' => '2146','name' => '(BTO) - Botopasi Airport, Botopasi, Suriname','country_id' => '202'),\narray('id' => '2147','name' => '(DOE) - Djumu-Djomoe Airport, Djumu-Djomoe, Suriname','country_id' => '202'),\narray('id' => '2148','name' => '(LDO) - Ladouanie Airport, Aurora, Suriname','country_id' => '202'),\narray('id' => '2149','name' => '(WSO) - Washabo Airport, Washabo, Suriname','country_id' => '202'),\narray('id' => '2150','name' => '(ADD) - Addis Ababa Bole International Airport, Addis Ababa, Ethiopia','country_id' => '66'),\narray('id' => '2151','name' => '(AMH) - Arba Minch Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2152','name' => '(AXU) - Axum Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2153','name' => '(BCO) - Baco Airport, Baco, Ethiopia','country_id' => '66'),\narray('id' => '2154','name' => '(BJR) - Bahir Dar Airport, Bahir Dar, Ethiopia','country_id' => '66'),\narray('id' => '2155','name' => '(BEI) - Beica Airport, Beica, Ethiopia','country_id' => '66'),\narray('id' => '2156','name' => '(DSE) - Combolcha Airport, Dessie, Ethiopia','country_id' => '66'),\narray('id' => '2157','name' => '(DEM) - Dembidollo Airport, Dembidollo, Ethiopia','country_id' => '66'),\narray('id' => '2158','name' => '(DBM) - Debra Marcos Airport, Debra Marcos, Ethiopia','country_id' => '66'),\narray('id' => '2159','name' => '(DIR) - Aba Tenna Dejazmach Yilma International Airport, Dire Dawa, Ethiopia','country_id' => '66'),\narray('id' => '2160','name' => '(DBT) - Debre Tabor Airport, Debre Tabor, Ethiopia','country_id' => '66'),\narray('id' => '2161','name' => '(FNH) - Fincha Airport, Fincha, Ethiopia','country_id' => '66'),\narray('id' => '2162','name' => '(GOB) - Robe Airport, Goba, Ethiopia','country_id' => '66'),\narray('id' => '2163','name' => '(GNN) - Ghinnir Airport, Ghinnir, Ethiopia','country_id' => '66'),\narray('id' => '2164','name' => '(GMB) - Gambella Airport, Gambela, Ethiopia','country_id' => '66'),\narray('id' => '2165','name' => '(GDQ) - Gonder Airport, Gondar, Ethiopia','country_id' => '66'),\narray('id' => '2166','name' => '(GDE) - Gode Airport, Gode, Ethiopia','country_id' => '66'),\narray('id' => '2167','name' => '(GOR) - Gore Airport, Gore, Ethiopia','country_id' => '66'),\narray('id' => '2168','name' => '(QHR) - Harar Meda Airport, Debre Zeyit, Ethiopia','country_id' => '66'),\narray('id' => '2169','name' => '(HUE) - Humera Airport, Humera, Ethiopia','country_id' => '66'),\narray('id' => '2170','name' => '(JIJ) - Wilwal International Airport, Jijiga, Ethiopia','country_id' => '66'),\narray('id' => '2171','name' => '(JIM) - Jimma Airport, Jimma, Ethiopia','country_id' => '66'),\narray('id' => '2172','name' => '(ABK) - Kabri Dehar Airport, Kabri Dehar, Ethiopia','country_id' => '66'),\narray('id' => '2173','name' => '(LFO) - Kelafo East Airport, Kelafo, Ethiopia','country_id' => '66'),\narray('id' => '2174','name' => '(AWA) - Awassa Airport, Awassa, Ethiopia','country_id' => '66'),\narray('id' => '2175','name' => '(LLI) - Lalibella Airport, Lalibela, Ethiopia','country_id' => '66'),\narray('id' => '2176','name' => '(MKS) - Mekane Selam Airport, Mekane Selam, Ethiopia','country_id' => '66'),\narray('id' => '2177','name' => '(MQX) - Mekele Airport, , Ethiopia','country_id' => '66'),\narray('id' => '2178','name' => '(ETE) - Metema Airport, Metema, Ethiopia','country_id' => '66'),\narray('id' => '2179','name' => '(NDM) - Mendi Airport, Mendi, Ethiopia','country_id' => '66'),\narray('id' => '2180','name' => '(MUJ) - Mui River Airport, Omo National Park, Ethiopia','country_id' => '66'),\narray('id' => '2181','name' => '(MTF) - Mizan Teferi Airport, Mizan Teferi, Ethiopia','country_id' => '66'),\narray('id' => '2182','name' => '(EGL) - Negele Airport, Negele Borana, Ethiopia','country_id' => '66'),\narray('id' => '2183','name' => '(NEJ) - Nejjo Airport, Nejjo, Ethiopia','country_id' => '66'),\narray('id' => '2184','name' => '(NEK) - Nekemte Airport, Nekemte, Ethiopia','country_id' => '66'),\narray('id' => '2185','name' => '(PWI) - Beles Airport, Pawe, Ethiopia','country_id' => '66'),\narray('id' => '2186','name' => '(SXU) - Soddu Airport, Soddu, Ethiopia','country_id' => '66'),\narray('id' => '2187','name' => '(SKR) - Shakiso Airport, Shakiso, Ethiopia','country_id' => '66'),\narray('id' => '2188','name' => '(SZE) - Semera Airport, Semera, Ethiopia','country_id' => '66'),\narray('id' => '2189','name' => '(ASO) - Asosa Airport, Asosa, Ethiopia','country_id' => '66'),\narray('id' => '2190','name' => '(TIE) - Tippi Airport, Tippi, Ethiopia','country_id' => '66'),\narray('id' => '2191','name' => '(WAC) - Waca Airport, Waca, Ethiopia','country_id' => '66'),\narray('id' => '2192','name' => '(WRA) - Warder Airport, Warder, Ethiopia','country_id' => '66'),\narray('id' => '2193','name' => '(HAY) - Haycock Airport, Haycock, United States','country_id' => '228'),\narray('id' => '2194','name' => '(HAZ) - Hatzfeldhaven Airport, Hatzfeldhaven, Papua New Guinea','country_id' => '172'),\narray('id' => '2195','name' => '(BJM) - Bujumbura International Airport, Bujumbura, Burundi','country_id' => '22'),\narray('id' => '2196','name' => '(GID) - Gitega Airport, Gitega, Burundi','country_id' => '22'),\narray('id' => '2197','name' => '(KRE) - Kirundo Airport, Kirundo, Burundi','country_id' => '22'),\narray('id' => '2198','name' => '(ALU) - Alula Airport, Alula, Somalia','country_id' => '201'),\narray('id' => '2199','name' => '(BIB) - Baidoa Airport, Baidoa, Somalia','country_id' => '201'),\narray('id' => '2200','name' => '(CXN) - Candala Airport, Candala, Somalia','country_id' => '201'),\narray('id' => '2201','name' => '(BSY) - Bardera Airport, , Somalia','country_id' => '201'),\narray('id' => '2202','name' => '(HCM) - Eil Airport, Eyl, Somalia','country_id' => '201'),\narray('id' => '2203','name' => '(BSA) - Bosaso Airport, Bosaso, Somalia','country_id' => '201'),\narray('id' => '2204','name' => '(GSR) - Gardo Airport, Gardo, Somalia','country_id' => '201'),\narray('id' => '2205','name' => '(HGA) - Egal International Airport, Hargeisa, Somalia','country_id' => '201'),\narray('id' => '2206','name' => '(BBO) - Berbera Airport, Berbera, Somalia','country_id' => '201'),\narray('id' => '2207','name' => '(LGX) - Lugh Ganane Airport, Luuq, Somalia','country_id' => '201'),\narray('id' => '2208','name' => '(KMU) - Kisimayu Airport, , Somalia','country_id' => '201'),\narray('id' => '2209','name' => '(MGQ) - Aden Adde International Airport, Mogadishu, Somalia','country_id' => '201'),\narray('id' => '2210','name' => '(CMO) - Obbia Airport, Obbia, Somalia','country_id' => '201'),\narray('id' => '2211','name' => '(GLK) - Galcaio Airport, Galcaio, Somalia','country_id' => '201'),\narray('id' => '2212','name' => '(CMS) - Scusciuban Airport, Scusciuban, Somalia','country_id' => '201'),\narray('id' => '2213','name' => '(ERA) - Erigavo Airport, Erigavo, Somalia','country_id' => '201'),\narray('id' => '2214','name' => '(BUO) - Burao Airport, Burao, Somalia','country_id' => '201'),\narray('id' => '2215','name' => '(JIB) - Djibouti-Ambouli Airport, Djibouti City, Djibouti','country_id' => '55'),\narray('id' => '2216','name' => '(AII) - Ali-Sabieh Airport, Ali-Sabieh, Djibouti','country_id' => '55'),\narray('id' => '2217','name' => '(MHI) - Moucha Airport, Moucha Island, Djibouti','country_id' => '55'),\narray('id' => '2218','name' => '(OBC) - Obock Airport, Obock, Djibouti','country_id' => '55'),\narray('id' => '2219','name' => '(TDJ) - Tadjoura Airport, Tadjoura, Djibouti','country_id' => '55'),\narray('id' => '2220','name' => '(SEW) - Siwa Oasis North Airport, Siwa, Egypt','country_id' => '62'),\narray('id' => '2221','name' => '(EMY) - El Minya Airport, Minya, Egypt','country_id' => '62'),\narray('id' => '2222','name' => '(SQK) - Sidi Barrani Airport, Sidi Barrani, Egypt','country_id' => '62'),\narray('id' => '2223','name' => '(DBB) - El Alamein International Airport, El Alamein, Egypt','country_id' => '62'),\narray('id' => '2224','name' => '(AAC) - El Arish International Airport, El Arish, Egypt','country_id' => '62'),\narray('id' => '2225','name' => '(ATZ) - Assiut International Airport, Assiut, Egypt','country_id' => '62'),\narray('id' => '2226','name' => '(ALY) - El Nouzha Airport, Alexandria, Egypt','country_id' => '62'),\narray('id' => '2227','name' => '(HBE) - Borg El Arab International Airport, Alexandria, Egypt','country_id' => '62'),\narray('id' => '2228','name' => '(ABS) - Abu Simbel Airport, Abu Simbel, Egypt','country_id' => '62'),\narray('id' => '2229','name' => '(CAI) - Cairo International Airport, Cairo, Egypt','country_id' => '62'),\narray('id' => '2230','name' => '(CWE) - Cairo West Airport, El Cairo, Egypt','country_id' => '62'),\narray('id' => '2231','name' => '(DAK) - Dakhla Airport, , Egypt','country_id' => '62'),\narray('id' => '2232','name' => '(HRG) - Hurghada International Airport, Hurghada, Egypt','country_id' => '62'),\narray('id' => '2233','name' => '(EGH) - El Gora Airport, El Gora, Egypt','country_id' => '62'),\narray('id' => '2234','name' => '(UVL) - El Kharga Airport, , Egypt','country_id' => '62'),\narray('id' => '2235','name' => '(LXR) - Luxor International Airport, Luxor, Egypt','country_id' => '62'),\narray('id' => '2236','name' => '(RMF) - Marsa Alam International Airport, Marsa Alam, Egypt','country_id' => '62'),\narray('id' => '2237','name' => '(HMB) - Sohag International Airport, Sohag, Egypt','country_id' => '62'),\narray('id' => '2238','name' => '(MUH) - Mersa Matruh Airport, Mersa Matruh, Egypt','country_id' => '62'),\narray('id' => '2239','name' => '(HEO) - Haelogo Airport, Haelogo, Papua New Guinea','country_id' => '172'),\narray('id' => '2240','name' => '(GSQ) - Shark El Oweinat International Airport, , Egypt','country_id' => '62'),\narray('id' => '2241','name' => '(PSD) - Port Said Airport, Port Said, Egypt','country_id' => '62'),\narray('id' => '2242','name' => '(SKV) - St Catherine International Airport, , Egypt','country_id' => '62'),\narray('id' => '2243','name' => '(SSH) - Sharm El Sheikh International Airport, Sharm el-Sheikh, Egypt','country_id' => '62'),\narray('id' => '2244','name' => '(ASW) - Aswan International Airport, Aswan, Egypt','country_id' => '62'),\narray('id' => '2245','name' => '(TCP) - Taba International Airport, Taba, Egypt','country_id' => '62'),\narray('id' => '2246','name' => '(ELT) - El Tor Airport, , Egypt','country_id' => '62'),\narray('id' => '2247','name' => '(HGI) - Paloich Airport, Heliport, Higleig, South Sudan','country_id' => '203'),\narray('id' => '2248','name' => '(ASM) - Asmara International Airport, Asmara, Eritrea','country_id' => '64'),\narray('id' => '2249','name' => '(MSW) - Massawa International Airport, Massawa, Eritrea','country_id' => '64'),\narray('id' => '2250','name' => '(ASA) - Assab International Airport, Asab, Eritrea','country_id' => '64'),\narray('id' => '2251','name' => '(TES) - Tessenei Airport, Tessenei, Eritrea','country_id' => '64'),\narray('id' => '2252','name' => '(HPV) - Princeville Airport, Hanalei, United States','country_id' => '228'),\narray('id' => '2253','name' => '(HIA) - Lianshui Airport, Huai\\'an, China','country_id' => '45'),\narray('id' => '2254','name' => '(HIL) - Shilavo Airport, Shilavo, Ethiopia','country_id' => '66'),\narray('id' => '2255','name' => '(ASV) - Amboseli Airport, Amboseli National Park, Kenya','country_id' => '111'),\narray('id' => '2256','name' => '(HKB) - Healy Lake Airport, Healy Lake, United States','country_id' => '228'),\narray('id' => '2257','name' => '(EDL) - Eldoret International Airport, Eldoret, Kenya','country_id' => '111'),\narray('id' => '2258','name' => '(EYS) - Eliye Springs Airport, Eliye Springs, Kenya','country_id' => '111'),\narray('id' => '2259','name' => '(KLK) - Kalokol Airport, Kalokol, Kenya','country_id' => '111'),\narray('id' => '2260','name' => '(GAS) - Garissa Airport, Garissa, Kenya','country_id' => '111'),\narray('id' => '2261','name' => '(HOA) - Hola Airport, Hola, Kenya','country_id' => '111'),\narray('id' => '2262','name' => '(NBO) - Jomo Kenyatta International Airport, Nairobi, Kenya','country_id' => '111'),\narray('id' => '2263','name' => '(GGM) - Kakamega Airport, Kakamega, Kenya','country_id' => '111'),\narray('id' => '2264','name' => '(KIS) - Kisumu Airport, Kisumu, Kenya','country_id' => '111'),\narray('id' => '2265','name' => '(ILU) - Kilaguni Airport, Kilaguni, Kenya','country_id' => '111'),\narray('id' => '2266','name' => '(KEY) - Kericho Airport, Kericho, Kenya','country_id' => '111'),\narray('id' => '2267','name' => '(KTL) - Kitale Airport, Kitale, Kenya','country_id' => '111'),\narray('id' => '2268','name' => '(LKG) - Lokichoggio Airport, Lokichoggio, Kenya','country_id' => '111'),\narray('id' => '2269','name' => '(LOK) - Lodwar Airport, Lodwar, Kenya','country_id' => '111'),\narray('id' => '2270','name' => '(LAU) - Manda Airstrip, Lamu, Kenya','country_id' => '111'),\narray('id' => '2271','name' => '(LOY) - Loyengalani Airport, Loyengalani, Kenya','country_id' => '111'),\narray('id' => '2272','name' => '(NDE) - Mandera Airport, Mandera, Kenya','country_id' => '111'),\narray('id' => '2273','name' => '(RBT) - Marsabit Airport, Marsabit, Kenya','country_id' => '111'),\narray('id' => '2274','name' => '(MYD) - Malindi Airport, Malindi, Kenya','country_id' => '111'),\narray('id' => '2275','name' => '(MBA) - Mombasa Moi International Airport, Mombasa, Kenya','country_id' => '111'),\narray('id' => '2276','name' => '(MRE) - Mara Serena Lodge Airstrip, Masai Mara, Kenya','country_id' => '111'),\narray('id' => '2277','name' => '(OYL) - Moyale Airport, Moyale (Lower), Kenya','country_id' => '111'),\narray('id' => '2278','name' => '(NYE) - Nyeri Airport, Nyeri, Kenya','country_id' => '111'),\narray('id' => '2279','name' => '(NUU) - Nakuru Airport, Nakuru, Kenya','country_id' => '111'),\narray('id' => '2280','name' => '(WIL) - Nairobi Wilson Airport, Nairobi, Kenya','country_id' => '111'),\narray('id' => '2281','name' => '(NYK) - Nanyuki Airport, Nanyuki, Kenya','country_id' => '111'),\narray('id' => '2282','name' => '(UAS) - Samburu South Airport, Samburu South, Kenya','country_id' => '111'),\narray('id' => '2283','name' => '(UKA) - Ukunda Airstrip, Ukunda, Kenya','country_id' => '111'),\narray('id' => '2284','name' => '(WJR) - Wajir Airport, Wajir, Kenya','country_id' => '111'),\narray('id' => '2285','name' => '(SRX) - Gardabya Airport, Sirt, Libya','country_id' => '132'),\narray('id' => '2286','name' => '(TOB) - Gamal Abdel Nasser Airport, Tobruk, Libya','country_id' => '132'),\narray('id' => '2287','name' => '(GHT) - Ghat Airport, Ghat, Libya','country_id' => '132'),\narray('id' => '2288','name' => '(AKF) - Kufra Airport, Kufra, Libya','country_id' => '132'),\narray('id' => '2289','name' => '(BEN) - Benina International Airport, Benghazi, Libya','country_id' => '132'),\narray('id' => '2290','name' => '(MJI) - Mitiga Airport, Tripoli, Libya','country_id' => '132'),\narray('id' => '2291','name' => '(LAQ) - La Abraq Airport, Al Bayda\\', Libya','country_id' => '132'),\narray('id' => '2292','name' => '(SEB) - Sabha Airport, Sabha, Libya','country_id' => '132'),\narray('id' => '2293','name' => '(TIP) - Tripoli International Airport, Tripoli, Libya','country_id' => '132'),\narray('id' => '2294','name' => '(LMQ) - Marsa Brega Airport, , Libya','country_id' => '132'),\narray('id' => '2295','name' => '(HUQ) - Hon Airport, , Libya','country_id' => '132'),\narray('id' => '2296','name' => '(LTD) - Ghadames East Airport, Ghadames, Libya','country_id' => '132'),\narray('id' => '2297','name' => '(WAX) - Zwara Airport, Zuwara, Libya','country_id' => '132'),\narray('id' => '2298','name' => '(EDQ) - Erandique Airport, Erandique, Honduras','country_id' => '93'),\narray('id' => '2299','name' => '(HNE) - Tahneta Pass Airport, Tahneta Pass Lodge, United States','country_id' => '228'),\narray('id' => '2300','name' => '(HOO) - Nhon Co Airfield, Quang Duc, Vietnam','country_id' => '236'),\narray('id' => '2301','name' => '(HRC) - Sary Su Airport, Zhayrem, Kazakhstan','country_id' => '121'),\narray('id' => '2302','name' => '(GYI) - Gisenyi Airport, Gisenyi, Rwanda','country_id' => '188'),\narray('id' => '2303','name' => '(BTQ) - Butare Airport, Butare, Rwanda','country_id' => '188'),\narray('id' => '2304','name' => '(KGL) - Kigali International Airport, Kigali, Rwanda','country_id' => '188'),\narray('id' => '2305','name' => '(RHG) - Ruhengeri Airport, Ruhengeri, Rwanda','country_id' => '188'),\narray('id' => '2306','name' => '(KME) - Kamembe Airport, Kamembe, Rwanda','country_id' => '188'),\narray('id' => '2307','name' => '(ATB) - Atbara Airport, Atbara, Sudan','country_id' => '192'),\narray('id' => '2308','name' => '(EDB) - El Debba Airport, El Debba, Sudan','country_id' => '192'),\narray('id' => '2309','name' => '(DOG) - Dongola Airport, Dongola, Sudan','country_id' => '192'),\narray('id' => '2310','name' => '(RSS) - Damazin Airport, Ad Damazin, Sudan','country_id' => '192'),\narray('id' => '2311','name' => '(ELF) - El Fasher Airport, El Fasher, Sudan','country_id' => '192'),\narray('id' => '2312','name' => '(GSU) - Azaza Airport, Gedaref, Sudan','country_id' => '192'),\narray('id' => '2313','name' => '(DNX) - Galegu Airport, Dinder, Sudan','country_id' => '192'),\narray('id' => '2314','name' => '(EGN) - Geneina Airport, Geneina, Sudan','country_id' => '192'),\narray('id' => '2315','name' => '(HEG) - Heglig Airport, Heglig Oilfield, Sudan','country_id' => '192'),\narray('id' => '2316','name' => '(KSL) - Kassala Airport, Kassala, Sudan','country_id' => '192'),\narray('id' => '2317','name' => '(GBU) - Khashm El Girba Airport, Khashm El Girba, Sudan','country_id' => '192'),\narray('id' => '2318','name' => '(KST) - Kosti Airport, Kosti, Sudan','country_id' => '192'),\narray('id' => '2319','name' => '(KDX) - Kadugli Airport, Kadugli, Sudan','country_id' => '192'),\narray('id' => '2320','name' => '(RBX) - Rumbek Airport, Rumbek, South Sudan','country_id' => '203'),\narray('id' => '2321','name' => '(MWE) - Merowe New Airport, Merowe, Sudan','country_id' => '192'),\narray('id' => '2322','name' => '(NUD) - En Nahud Airport, En Nahud, Sudan','country_id' => '192'),\narray('id' => '2323','name' => '(UYL) - Nyala Airport, Nyala, Sudan','country_id' => '192'),\narray('id' => '2324','name' => '(NHF) - New Halfa Airport, New Halfa, Sudan','country_id' => '192'),\narray('id' => '2325','name' => '(EBD) - El Obeid Airport, Al-Ubayyid, Sudan','country_id' => '192'),\narray('id' => '2326','name' => '(PZU) - Port Sudan New International Airport, Port Sudan, Sudan','country_id' => '192'),\narray('id' => '2327','name' => '(JUB) - Juba International Airport, Juba, South Sudan','country_id' => '203'),\narray('id' => '2328','name' => '(MAK) - Malakal Airport, Malakal, South Sudan','country_id' => '203'),\narray('id' => '2329','name' => '(KRT) - Khartoum International Airport, Khartoum, Sudan','country_id' => '192'),\narray('id' => '2330','name' => '(WHF) - Wadi Halfa Airport, Wadi Halfa, Sudan','country_id' => '192'),\narray('id' => '2331','name' => '(DNI) - Wad Medani Airport, Wad Medani, Sudan','country_id' => '192'),\narray('id' => '2332','name' => '(WUU) - Wau Airport, Wau, South Sudan','country_id' => '203'),\narray('id' => '2333','name' => '(ZLX) - Zalingei Airport, Zalingei, Sudan','country_id' => '192'),\narray('id' => '2334','name' => '(ARK) - Arusha Airport, Arusha, Tanzania','country_id' => '224'),\narray('id' => '2335','name' => '(BKZ) - Bukoba Airport, Bukoba, Tanzania','country_id' => '224'),\narray('id' => '2336','name' => '(DAR) - Julius Nyerere International Airport, Dar es Salaam, Tanzania','country_id' => '224'),\narray('id' => '2337','name' => '(DOD) - Dodoma Airport, Dodoma, Tanzania','country_id' => '224'),\narray('id' => '2338','name' => '(IRI) - Iringa Airport, Nduli, Tanzania','country_id' => '224'),\narray('id' => '2339','name' => '(TKQ) - Kigoma Airport, Kigoma, Tanzania','country_id' => '224'),\narray('id' => '2340','name' => '(KIY) - Kilwa Masoko Airport, Kilwa Masoko, Tanzania','country_id' => '224'),\narray('id' => '2341','name' => '(JRO) - Kilimanjaro International Airport, Arusha, Tanzania','country_id' => '224'),\narray('id' => '2342','name' => '(LDI) - Kikwetu Airport, Lindi, Tanzania','country_id' => '224'),\narray('id' => '2343','name' => '(LKY) - Lake Manyara Airport, Lake Manyara National Park, Tanzania','country_id' => '224'),\narray('id' => '2344','name' => '(HTM) - Khatgal Airport, Hatgal, Mongolia','country_id' => '143'),\narray('id' => '2345','name' => '(MFA) - Mafia Island Airport, Mafia Island, Tanzania','country_id' => '224'),\narray('id' => '2346','name' => '(MBI) - Mbeya Airport, Mbeya, Tanzania','country_id' => '224'),\narray('id' => '2347','name' => '(MWN) - Mwadui Airport, Mwadui, Tanzania','country_id' => '224'),\narray('id' => '2348','name' => '(XMI) - Masasi Airport, Masasi, Tanzania','country_id' => '224'),\narray('id' => '2349','name' => '(QSI) - Moshi Airport, Moshi, Tanzania','country_id' => '224'),\narray('id' => '2350','name' => '(MYW) - Mtwara Airport, Mtwara, Tanzania','country_id' => '224'),\narray('id' => '2351','name' => '(MUZ) - Musoma Airport, Musoma, Tanzania','country_id' => '224'),\narray('id' => '2352','name' => '(MWZ) - Mwanza Airport, Mwanza, Tanzania','country_id' => '224'),\narray('id' => '2353','name' => '(NCH) - Nachingwea Airport, Nachingwea, Tanzania','country_id' => '224'),\narray('id' => '2354','name' => '(JOM) - Njombe Airport, Njombe, Tanzania','country_id' => '224'),\narray('id' => '2355','name' => '(PMA) - Pemba Airport, Chake, Tanzania','country_id' => '224'),\narray('id' => '2356','name' => '(SEU) - Seronera Airport, Seronera, Tanzania','country_id' => '224'),\narray('id' => '2357','name' => '(SGX) - Songea Airport, Songea, Tanzania','country_id' => '224'),\narray('id' => '2358','name' => '(SUT) - Sumbawanga Airport, Sumbawanga, Tanzania','country_id' => '224'),\narray('id' => '2359','name' => '(SHY) - Shinyanga Airport, Shinyanga, Tanzania','country_id' => '224'),\narray('id' => '2360','name' => '(TBO) - Tabora Airport, Tabora, Tanzania','country_id' => '224'),\narray('id' => '2361','name' => '(TGT) - Tanga Airport, Tanga, Tanzania','country_id' => '224'),\narray('id' => '2362','name' => '(ZNZ) - Abeid Amani Karume International Airport, Zanzibar, Tanzania','country_id' => '224'),\narray('id' => '2363','name' => '(RUA) - Arua Airport, Arua, Uganda','country_id' => '226'),\narray('id' => '2364','name' => '(EBB) - Entebbe International Airport, Kampala, Uganda','country_id' => '226'),\narray('id' => '2365','name' => '(ULU) - Gulu Airport, Gulu, Uganda','country_id' => '226'),\narray('id' => '2366','name' => '(JIN) - Jinja Airport, Jinja, Uganda','country_id' => '226'),\narray('id' => '2367','name' => '(PAF) - Pakuba Airfield, Kabalega Falls, Uganda','country_id' => '226'),\narray('id' => '2368','name' => '(KSE) - Kasese Airport, Kasese, Uganda','country_id' => '226'),\narray('id' => '2369','name' => '(MBQ) - Mbarara Airport, Mbarara, Uganda','country_id' => '226'),\narray('id' => '2370','name' => '(KCU) - Masindi Airport, Masindi, Uganda','country_id' => '226'),\narray('id' => '2371','name' => '(SRT) - Soroti Airport, Soroti, Uganda','country_id' => '226'),\narray('id' => '2372','name' => '(TRY) - Tororo Airport, Tororo, Uganda','country_id' => '226'),\narray('id' => '2373','name' => '(HWA) - Hawabango Airport, Hawabango, Papua New Guinea','country_id' => '172'),\narray('id' => '2374','name' => '(IBI) - Iboki Airport, Iboki, Papua New Guinea','country_id' => '172'),\narray('id' => '2375','name' => '(IBL) - Indigo Bay Lodge Airport, Bazaruto Island, Mozambique','country_id' => '155'),\narray('id' => '2376','name' => '(ICO) - Sicogon Airstrip, Sicogon Island, Philippines','country_id' => '173'),\narray('id' => '2377','name' => '(PPJ) - Pulau Panjang Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '2378','name' => '(BWX) - Blimbingsari Airport, Banyuwangi, Indonesia','country_id' => '97'),\narray('id' => '2379','name' => '(AAS) - Apalapsili Airport, Apalapsili, Indonesia','country_id' => '97'),\narray('id' => '2380','name' => '(AGD) - Anggi Airport, Anggi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2381','name' => '(AKQ) - Gunung Batin Airport, Astraksetra-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2382','name' => '(AYW) - Ayawasi Airport, Ayawasi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2383','name' => '(BJG) - Boalang Airport, Boalang-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '2384','name' => '(BXM) - Batom Airport, Batom-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2385','name' => '(DRH) - Dabra Airport, Dabra-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2386','name' => '(ELR) - Elelim Airport, Elelim-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2387','name' => '(EWE) - Ewer Airport, Asmat, Indonesia','country_id' => '97'),\narray('id' => '2388','name' => '(FOO) - Kornasoren Airfield, Kornasoren-Numfoor Island, Indonesia','country_id' => '97'),\narray('id' => '2389','name' => '(GAV) - Gag Island Airport, Gag Island, Indonesia','country_id' => '97'),\narray('id' => '2390','name' => '(IUL) - Ilu Airport, Ilu-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2391','name' => '(KBF) - Karubaga Airport, Karubaga-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2392','name' => '(KBX) - Kambuaya Airport, Kambuaya-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2393','name' => '(KCD) - Kamur Airport, Kamur-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2394','name' => '(KCI) - Kon Airport, Kon, Timor-Leste','country_id' => '216'),\narray('id' => '2395','name' => '(KEA) - Keisah Airport, Keisah-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2396','name' => '(KMM) - Kiman Airport, Kiman-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2397','name' => '(KOD) - Kotabangun Airport, Kotabangun-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2398','name' => '(KRC) - Departi Parbo Airport, Sungai Penuh, Indonesia','country_id' => '97'),\narray('id' => '2399','name' => '(KWB) - Dewadaru Airport, Karimunjawa-Karimunjawa Island, Indonesia','country_id' => '97'),\narray('id' => '2400','name' => '(LLN) - Kelila Airport, Kelila-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2401','name' => '(LWE) - Lewoleba Airport, Lewoleba-Lembata Island, Indonesia','country_id' => '97'),\narray('id' => '2402','name' => '(LYK) - Lunyuk Airport, Lunyuk-Simbawa Island, Indonesia','country_id' => '97'),\narray('id' => '2403','name' => '(MJY) - Mangunjaya Airport, Mangungaya-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2404','name' => '(MPT) - Maliana airport, Maliana-Alor Island, Indonesia','country_id' => '97'),\narray('id' => '2405','name' => '(MSI) - Masalembo Airport, Masalembo Island, Indonesia','country_id' => '97'),\narray('id' => '2406','name' => '(MUF) - Muting Airport, Muting, Indonesia','country_id' => '97'),\narray('id' => '2407','name' => '(NAF) - Banaina Airport, Banaina-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2408','name' => '(OBD) - Obano Airport, Obano-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2409','name' => '(PPJ) - Pulau Panjang Airport, Pulau Panjang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2410','name' => '(PUM) - Pomala Airport, Kolaka, Indonesia','country_id' => '97'),\narray('id' => '2411','name' => '(PWL) - Purwokerto Airport, Purwokerto-Java Island, Indonesia','country_id' => '97'),\narray('id' => '2412','name' => '(RAQ) - Sugimanuru Airport, Raha-Muna Island, Indonesia','country_id' => '97'),\narray('id' => '2413','name' => '(RKI) - Rokot Airport, Rokot-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '2414','name' => '(RTI) - Roti Airport, Roti-Rote Island, Indonesia','country_id' => '97'),\narray('id' => '2415','name' => '(RUF) - Yuruf Airport, Amgotro, Indonesia','country_id' => '97'),\narray('id' => '2416','name' => '(RZS) - Sawan Airport, Sawan-Bali Island, Indonesia','country_id' => '97'),\narray('id' => '2417','name' => '(SAE) - Sangir Airport, Sangir-Simbawa Island, Indonesia','country_id' => '97'),\narray('id' => '2418','name' => '(TBM) - Tumbang Samba Airport, Tumbang Samba-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '2419','name' => '(TMY) - Tiom Airport, Tiom-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2420','name' => '(ZEG) - Senggo Airport, Senggo-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2421','name' => '(UGU) - Bilogai-Sugapa Airport, Sugapa-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '2422','name' => '(IDN) - Indagen Airport, Indagen, Papua New Guinea','country_id' => '172'),\narray('id' => '2423','name' => '(CHE) - Reeroe Airport, Caherciveen, Ireland','country_id' => '98'),\narray('id' => '2424','name' => '(IMA) - Iamalele Airport, Iamalele, Fergusson Island, Papua New Guinea','country_id' => '172'),\narray('id' => '2425','name' => '(IMG) - Inhaminga Airport, Inhaminga, Mozambique','country_id' => '155'),\narray('id' => '2426','name' => '(VDY) - Vijayanagar Aerodrome (JSW), , India','country_id' => '101'),\narray('id' => '2427','name' => '(JGB) - Jagdalpur Airport, Jagdalpur, India','country_id' => '101'),\narray('id' => '2428','name' => '(NVY) - Neyveli Airport, Neyveli, India','country_id' => '101'),\narray('id' => '2429','name' => '(RJI) - Rajouri Airport, Rajouri, India','country_id' => '101'),\narray('id' => '2430','name' => '(TEI) - Tezu Airport, Tezu, India','country_id' => '101'),\narray('id' => '2431','name' => '(INE) - Chinde Airport, Chinde, Mozambique','country_id' => '155'),\narray('id' => '2432','name' => '(IOK) - Iokea Airport, Iokea, Papua New Guinea','country_id' => '172'),\narray('id' => '2433','name' => '(IOP) - Ioma Airport, Ioma, Papua New Guinea','country_id' => '172'),\narray('id' => '2434','name' => '(KHA) - Khaneh Airport, Khaneh, Iran','country_id' => '104'),\narray('id' => '2435','name' => '(GSM) - Gheshm Airport, Gheshm, Iran','country_id' => '104'),\narray('id' => '2436','name' => '(ITK) - Itokama Airport, Itokama, Papua New Guinea','country_id' => '172'),\narray('id' => '2437','name' => '(IVI) - Viveros Island Airport, Isla Viveros, Panama','country_id' => '169'),\narray('id' => '2438','name' => '(JGD) - Jiagedaqi Airport, Jiagedaqi, China','country_id' => '45'),\narray('id' => '2439','name' => '(JIC) - Jinchuan Airport, Jinchang, China','country_id' => '45'),\narray('id' => '2440','name' => '(JIQ) - Qianjiang Wulingshan Airport, Qianjiang, China','country_id' => '45'),\narray('id' => '2441','name' => '(JLA) - Quartz Creek Airport, Cooper Landing, United States','country_id' => '228'),\narray('id' => '2442','name' => '(JOP) - Josephstaal Airport, Josephstaal, Papua New Guinea','country_id' => '172'),\narray('id' => '2443','name' => '(JUH) - Jiuhuashan Airport, Chizhou, China','country_id' => '45'),\narray('id' => '2444','name' => '(AMK) - Animas Air Park, Durango, United States','country_id' => '228'),\narray('id' => '2445','name' => '(BDX) - Broadus Airport, Broadus, United States','country_id' => '228'),\narray('id' => '2446','name' => '(EUE) - Eureka Airport, Eureka, United States','country_id' => '228'),\narray('id' => '2447','name' => '(KPT) - Jackpot Airport/Hayden Field, Jackpot, United States','country_id' => '228'),\narray('id' => '2448','name' => '(RLA) - Rolla Downtown Airport, Rolla, United States','country_id' => '228'),\narray('id' => '2449','name' => '(FID) - Elizabeth Field, Fishers Island, United States','country_id' => '228'),\narray('id' => '2450','name' => '(HUD) - Humboldt Municipal Airport, Humboldt, United States','country_id' => '228'),\narray('id' => '2451','name' => '(TWD) - Jefferson County International Airport, Port Townsend, United States','country_id' => '228'),\narray('id' => '2452','name' => '(HCC) - Columbia County Airport, Hudson, United States','country_id' => '228'),\narray('id' => '2453','name' => '(AHD) - Ardmore Downtown Executive Airport, Ardmore, United States','country_id' => '228'),\narray('id' => '2454','name' => '(GCW) - Grand Canyon West Airport, Peach Springs, United States','country_id' => '228'),\narray('id' => '2455','name' => '(CKE) - Lampson Field, Lakeport, United States','country_id' => '228'),\narray('id' => '2456','name' => '(ROF) - Montague-Yreka Rohrer Field, Montague, United States','country_id' => '228'),\narray('id' => '2457','name' => '(CNE) - Fremont County Airport, CaAon City, United States','country_id' => '228'),\narray('id' => '2458','name' => '(COP) - Cooperstown-Westville Airport, Cooperstown, United States','country_id' => '228'),\narray('id' => '2459','name' => '(CIL) - Council Airport, Council, United States','country_id' => '228'),\narray('id' => '2460','name' => '(IRB) - Iraan Municipal Airport, Iraan, United States','country_id' => '228'),\narray('id' => '2461','name' => '(GNF) - Gansner Field, Quincy, United States','country_id' => '228'),\narray('id' => '2462','name' => '(CHZ) - Chiloquin State Airport, Chiloquin, United States','country_id' => '228'),\narray('id' => '2463','name' => '(LTW) - St. Mary\\'s County Regional Airport, Leonardtown, United States','country_id' => '228'),\narray('id' => '2464','name' => '(AHF) - Arapahoe Municipal Airport, Arapahoe, United States','country_id' => '228'),\narray('id' => '2465','name' => '(PCT) - Princeton Airport, Princeton/Rocky Hill, United States','country_id' => '228'),\narray('id' => '2466','name' => '(CTO) - Calverton Executive Airpark, Calverton, United States','country_id' => '228'),\narray('id' => '2467','name' => '(NRI) - Grand Lake Regional Airport, Afton, United States','country_id' => '228'),\narray('id' => '2468','name' => '(GTP) - Grants Pass Airport, Grants Pass, United States','country_id' => '228'),\narray('id' => '2469','name' => '(NLE) - Jerry Tyler Memorial Airport, Niles, United States','country_id' => '228'),\narray('id' => '2470','name' => '(GCD) - Grand Coulee Dam Airport, Electric City, United States','country_id' => '228'),\narray('id' => '2471','name' => '(VLE) - Valle Airport, Grand Canyon, United States','country_id' => '228'),\narray('id' => '2472','name' => '(FPY) - Perry-Foley Airport, Perry, United States','country_id' => '228'),\narray('id' => '2473','name' => '(NTJ) - Manti-Ephraim Airport, Manti, United States','country_id' => '228'),\narray('id' => '2474','name' => '(SBO) - Salina Gunnison Airport, Salina, United States','country_id' => '228'),\narray('id' => '2475','name' => '(JVI) - Central Jersey Regional Airport, Manville, United States','country_id' => '228'),\narray('id' => '2476','name' => '(UCE) - Eunice Airport, Eunice, United States','country_id' => '228'),\narray('id' => '2477','name' => '(GOL) - Gold Beach Municipal Airport, Gold Beach, United States','country_id' => '228'),\narray('id' => '2478','name' => '(KKT) - Kentland Municipal Airport, Kentland, United States','country_id' => '228'),\narray('id' => '2479','name' => '(FHB) - Fernandina Beach Municipal Airport, Fernandina Beach, United States','country_id' => '228'),\narray('id' => '2480','name' => '(PRW) - Prentice Airport, Prentice, United States','country_id' => '228'),\narray('id' => '2481','name' => '(EGP) - Maverick County Memorial International Airport, Eagle Pass, United States','country_id' => '228'),\narray('id' => '2482','name' => '(BLD) - Boulder City Municipal Airport, Boulder City, United States','country_id' => '228'),\narray('id' => '2483','name' => '(MFH) - Mesquite Airport, Mesquite, United States','country_id' => '228'),\narray('id' => '2484','name' => '(ECA) - Iosco County Airport, East Tawas, United States','country_id' => '228'),\narray('id' => '2485','name' => '(FMU) - Florence Municipal Airport, Florence, United States','country_id' => '228'),\narray('id' => '2486','name' => '(ROL) - Roosevelt Municipal Airport, Roosevelt, United States','country_id' => '228'),\narray('id' => '2487','name' => '(WPO) - North Fork Valley Airport, Paonia, United States','country_id' => '228'),\narray('id' => '2488','name' => '(ATE) - Antlers Municipal Airport, Antlers, United States','country_id' => '228'),\narray('id' => '2489','name' => '(QWG) - Wilgrove Air Park, Charlotte, United States','country_id' => '228'),\narray('id' => '2490','name' => '(ASQ) - Austin Airport, Austin, United States','country_id' => '228'),\narray('id' => '2491','name' => '(AAF) - Apalachicola Regional Airport, Apalachicola, United States','country_id' => '228'),\narray('id' => '2492','name' => '(ABE) - Lehigh Valley International Airport, Allentown, United States','country_id' => '228'),\narray('id' => '2493','name' => '(ABI) - Abilene Regional Airport, Abilene, United States','country_id' => '228'),\narray('id' => '2494','name' => '(ABQ) - Albuquerque International Sunport Airport, Albuquerque, United States','country_id' => '228'),\narray('id' => '2495','name' => '(ABR) - Aberdeen Regional Airport, Aberdeen, United States','country_id' => '228'),\narray('id' => '2496','name' => '(ABY) - Southwest Georgia Regional Airport, Albany, United States','country_id' => '228'),\narray('id' => '2497','name' => '(ACB) - Antrim County Airport, Bellaire, United States','country_id' => '228'),\narray('id' => '2498','name' => '(ACK) - Nantucket Memorial Airport, Nantucket, United States','country_id' => '228'),\narray('id' => '2499','name' => '(ACT) - Waco Regional Airport, Waco, United States','country_id' => '228'),\narray('id' => '2500','name' => '(ACV) - Arcata Airport, Arcata/Eureka, United States','country_id' => '228'),\narray('id' => '2501','name' => '(ACY) - Atlantic City International Airport, Atlantic City, United States','country_id' => '228'),\narray('id' => '2502','name' => '(ADG) - Lenawee County Airport, Adrian, United States','country_id' => '228'),\narray('id' => '2503','name' => '(ADT) - Ada Municipal Airport, Ada, United States','country_id' => '228'),\narray('id' => '2504','name' => '(ADM) - Ardmore Municipal Airport, Ardmore, United States','country_id' => '228'),\narray('id' => '2505','name' => '(ADS) - Addison Airport, Dallas, United States','country_id' => '228'),\narray('id' => '2506','name' => '(ADW) - Andrews Air Force Base, Camp Springs, United States','country_id' => '228'),\narray('id' => '2507','name' => '(AEL) - Albert Lea Municipal Airport, Albert Lea, United States','country_id' => '228'),\narray('id' => '2508','name' => '(AEX) - Alexandria International Airport, Alexandria, United States','country_id' => '228'),\narray('id' => '2509','name' => '(KAF) - Karato Airport, Karato, Papua New Guinea','country_id' => '172'),\narray('id' => '2510','name' => '(AFF) - USAF Academy Airfield, Colorado Springs, United States','country_id' => '228'),\narray('id' => '2511','name' => '(WSG) - Washington County Airport, Washington, United States','country_id' => '228'),\narray('id' => '2512','name' => '(AFN) - Jaffrey Airport Silver Ranch Airport, Jaffrey, United States','country_id' => '228'),\narray('id' => '2513','name' => '(AFO) - Afton Municipal Airport, Afton, United States','country_id' => '228'),\narray('id' => '2514','name' => '(AFW) - Fort Worth Alliance Airport, Fort Worth, United States','country_id' => '228'),\narray('id' => '2515','name' => '(AGC) - Allegheny County Airport, Pittsburgh, United States','country_id' => '228'),\narray('id' => '2516','name' => '(AGO) - Magnolia Municipal Airport, Magnolia, United States','country_id' => '228'),\narray('id' => '2517','name' => '(AGS) - Augusta Regional At Bush Field, Augusta, United States','country_id' => '228'),\narray('id' => '2518','name' => '(AHC) - Amedee Army Air Field, Herlong, United States','country_id' => '228'),\narray('id' => '2519','name' => '(AHH) - Amery Municipal Airport, Amery, United States','country_id' => '228'),\narray('id' => '2520','name' => '(AHN) - Athens Ben Epps Airport, Athens, United States','country_id' => '228'),\narray('id' => '2521','name' => '(AIA) - Alliance Municipal Airport, Alliance, United States','country_id' => '228'),\narray('id' => '2522','name' => '(AID) - Anderson Municipal Darlington Field, Anderson, United States','country_id' => '228'),\narray('id' => '2523','name' => '(AIK) - Aiken Municipal Airport, Aiken, United States','country_id' => '228'),\narray('id' => '2524','name' => '(AIO) - Atlantic Municipal Airport, Atlantic, United States','country_id' => '228'),\narray('id' => '2525','name' => '(AIV) - George Downer Airport, Aliceville, United States','country_id' => '228'),\narray('id' => '2526','name' => '(AIZ) - Lee C Fine Memorial Airport, Kaiser Lake Ozark, United States','country_id' => '228'),\narray('id' => '2527','name' => '(AKO) - Colorado Plains Regional Airport, Akron, United States','country_id' => '228'),\narray('id' => '2528','name' => '(AKC) - Akron Fulton International Airport, Akron, United States','country_id' => '228'),\narray('id' => '2529','name' => '(ALB) - Albany International Airport, Albany, United States','country_id' => '228'),\narray('id' => '2530','name' => '(ALI) - Alice International Airport, Alice, United States','country_id' => '228'),\narray('id' => '2531','name' => '(ALM) - Alamogordo White Sands Regional Airport, Alamogordo, United States','country_id' => '228'),\narray('id' => '2532','name' => '(ALN) - St Louis Regional Airport, Alton/St Louis, United States','country_id' => '228'),\narray('id' => '2533','name' => '(ALO) - Waterloo Regional Airport, Waterloo, United States','country_id' => '228'),\narray('id' => '2534','name' => '(ALS) - San Luis Valley Regional Bergman Field, Alamosa, United States','country_id' => '228'),\narray('id' => '2535','name' => '(ALW) - Walla Walla Regional Airport, Walla Walla, United States','country_id' => '228'),\narray('id' => '2536','name' => '(ALX) - Thomas C Russell Field, Alexander City, United States','country_id' => '228'),\narray('id' => '2537','name' => '(AMA) - Rick Husband Amarillo International Airport, Amarillo, United States','country_id' => '228'),\narray('id' => '2538','name' => '(AMN) - Gratiot Community Airport, Alma, United States','country_id' => '228'),\narray('id' => '2539','name' => '(AMW) - Ames Municipal Airport, Ames, United States','country_id' => '228'),\narray('id' => '2540','name' => '(ANB) - Anniston Metropolitan Airport, Anniston, United States','country_id' => '228'),\narray('id' => '2541','name' => '(AND) - Anderson Regional Airport, Anderson, United States','country_id' => '228'),\narray('id' => '2542','name' => '(SLT) - Harriet Alexander Field, Salida, United States','country_id' => '228'),\narray('id' => '2543','name' => '(ANP) - Lee Airport, Annapolis, United States','country_id' => '228'),\narray('id' => '2544','name' => '(ANQ) - Tri State Steuben County Airport, Angola, United States','country_id' => '228'),\narray('id' => '2545','name' => '(ANW) - Ainsworth Municipal Airport, Ainsworth, United States','country_id' => '228'),\narray('id' => '2546','name' => '(ANY) - Anthony Municipal Airport, Anthony, United States','country_id' => '228'),\narray('id' => '2547','name' => '(AOH) - Lima Allen County Airport, Lima, United States','country_id' => '228'),\narray('id' => '2548','name' => '(AOO) - Altoona Blair County Airport, Altoona, United States','country_id' => '228'),\narray('id' => '2549','name' => '(APA) - Centennial Airport, Denver, United States','country_id' => '228'),\narray('id' => '2550','name' => '(APC) - Napa County Airport, Napa, United States','country_id' => '228'),\narray('id' => '2551','name' => '(APF) - Naples Municipal Airport, Naples, United States','country_id' => '228'),\narray('id' => '2552','name' => '(APG) - Phillips Army Air Field, Aberdeen Proving Grounds(Aberdeen), United States','country_id' => '228'),\narray('id' => '2553','name' => '(APH) - A P Hill Aaf (Fort A P Hill) Airport, Fort A. P. Hill, United States','country_id' => '228'),\narray('id' => '2554','name' => '(APN) - Alpena County Regional Airport, Alpena, United States','country_id' => '228'),\narray('id' => '2555','name' => '(APT) - Marion County Brown Field, Jasper, United States','country_id' => '228'),\narray('id' => '2556','name' => '(APV) - Apple Valley Airport, Apple Valley, United States','country_id' => '228'),\narray('id' => '2557','name' => '(KAQ) - Kamulai Airport, Kamulai Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2558','name' => '(ARA) - Acadiana Regional Airport, New Iberia, United States','country_id' => '228'),\narray('id' => '2559','name' => '(ARB) - Ann Arbor Municipal Airport, Ann Arbor, United States','country_id' => '228'),\narray('id' => '2560','name' => '(ARG) - Walnut Ridge Regional Airport, Walnut Ridge, United States','country_id' => '228'),\narray('id' => '2561','name' => '(WHT) - Wharton Regional Airport, Wharton, United States','country_id' => '228'),\narray('id' => '2562','name' => '(AUZ) - Aurora Municipal Airport, Chicago/Aurora, United States','country_id' => '228'),\narray('id' => '2563','name' => '(ART) - Watertown International Airport, Watertown, United States','country_id' => '228'),\narray('id' => '2564','name' => '(ARV) - Lakeland-Noble F. Lee Memorial field, Minocqua-Woodruff, United States','country_id' => '228'),\narray('id' => '2565','name' => '(BFT) - Beaufort County Airport, Beaufort, United States','country_id' => '228'),\narray('id' => '2566','name' => '(ASE) - Aspen-Pitkin Co/Sardy Field, Aspen, United States','country_id' => '228'),\narray('id' => '2567','name' => '(SPZ) - Springdale Municipal Airport, Springdale, United States','country_id' => '228'),\narray('id' => '2568','name' => '(ASH) - Boire Field, Nashua, United States','country_id' => '228'),\narray('id' => '2569','name' => '(ASL) - Harrison County Airport, Marshall, United States','country_id' => '228'),\narray('id' => '2570','name' => '(ASN) - Talladega Municipal Airport, Talladega, United States','country_id' => '228'),\narray('id' => '2571','name' => '(AST) - Astoria Regional Airport, Astoria, United States','country_id' => '228'),\narray('id' => '2572','name' => '(ASX) - John F Kennedy Memorial Airport, Ashland, United States','country_id' => '228'),\narray('id' => '2573','name' => '(ASY) - Ashley Municipal Airport, Ashley, United States','country_id' => '228'),\narray('id' => '2574','name' => '(ATL) - Hartsfield Jackson Atlanta International Airport, Atlanta, United States','country_id' => '228'),\narray('id' => '2575','name' => '(ATS) - Artesia Municipal Airport, Artesia, United States','country_id' => '228'),\narray('id' => '2576','name' => '(ATW) - Appleton International Airport, Appleton, United States','country_id' => '228'),\narray('id' => '2577','name' => '(ATY) - Watertown Regional Airport, Watertown, United States','country_id' => '228'),\narray('id' => '2578','name' => '(AUG) - Augusta State Airport, Augusta, United States','country_id' => '228'),\narray('id' => '2579','name' => '(AUM) - Austin Municipal Airport, Austin, United States','country_id' => '228'),\narray('id' => '2580','name' => '(AUN) - Auburn Municipal Airport, Auburn, United States','country_id' => '228'),\narray('id' => '2581','name' => '(AUO) - Auburn Opelika Robert G. Pitts Airport, Auburn, United States','country_id' => '228'),\narray('id' => '2582','name' => '(AUS) - Austin Bergstrom International Airport, Austin, United States','country_id' => '228'),\narray('id' => '2583','name' => '(AUW) - Wausau Downtown Airport, Wausau, United States','country_id' => '228'),\narray('id' => '2584','name' => '(AVL) - Asheville Regional Airport, Asheville, United States','country_id' => '228'),\narray('id' => '2585','name' => '(AVO) - Avon Park Executive Airport, Avon Park, United States','country_id' => '228'),\narray('id' => '2586','name' => '(AVP) - Wilkes Barre Scranton International Airport, Wilkes-Barre/Scranton, United States','country_id' => '228'),\narray('id' => '2587','name' => '(AVW) - Marana Regional Airport, Tucson, United States','country_id' => '228'),\narray('id' => '2588','name' => '(AVX) - Catalina Airport, Avalon, United States','country_id' => '228'),\narray('id' => '2589','name' => '(AWM) - West Memphis Municipal Airport, West Memphis, United States','country_id' => '228'),\narray('id' => '2590','name' => '(AXG) - Algona Municipal Airport, Algona, United States','country_id' => '228'),\narray('id' => '2591','name' => '(AXN) - Chandler Field, Alexandria, United States','country_id' => '228'),\narray('id' => '2592','name' => '(AXS) - Altus Quartz Mountain Regional Airport, Altus, United States','country_id' => '228'),\narray('id' => '2593','name' => '(AXV) - Neil Armstrong Airport, Wapakoneta, United States','country_id' => '228'),\narray('id' => '2594','name' => '(AXX) - Angel Fire Airport, Angel Fire, United States','country_id' => '228'),\narray('id' => '2595','name' => '(AYS) - Waycross Ware County Airport, Waycross, United States','country_id' => '228'),\narray('id' => '2596','name' => '(TUH) - Arnold Air Force Base, Tullahoma, United States','country_id' => '228'),\narray('id' => '2597','name' => '(AZO) - Kalamazoo Battle Creek International Airport, Kalamazoo, United States','country_id' => '228'),\narray('id' => '2598','name' => '(BAB) - Beale Air Force Base, Marysville, United States','country_id' => '228'),\narray('id' => '2599','name' => '(BAD) - Barksdale Air Force Base, Bossier City, United States','country_id' => '228'),\narray('id' => '2600','name' => '(BAF) - Barnes Municipal Airport, Westfield/Springfield, United States','country_id' => '228'),\narray('id' => '2601','name' => '(CLU) - Columbus Municipal Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2602','name' => '(BAM) - Battle Mountain Airport, Battle Mountain, United States','country_id' => '228'),\narray('id' => '2603','name' => '(BBB) - Benson Municipal Airport, Benson, United States','country_id' => '228'),\narray('id' => '2604','name' => '(BBD) - Curtis Field, Brady, United States','country_id' => '228'),\narray('id' => '2605','name' => '(BTN) - Marlboro County Jetport H.E. Avent Field, Bennettsville, United States','country_id' => '228'),\narray('id' => '2606','name' => '(BBW) - Broken Bow Municipal Airport, Broken Bow, United States','country_id' => '228'),\narray('id' => '2607','name' => '(BCB) - Virginia Tech Montgomery Executive Airport, Blacksburg, United States','country_id' => '228'),\narray('id' => '2608','name' => '(BCE) - Bryce Canyon Airport, Bryce Canyon, United States','country_id' => '228'),\narray('id' => '2609','name' => '(BCT) - Boca Raton Airport, Boca Raton, United States','country_id' => '228'),\narray('id' => '2610','name' => '(BDE) - Baudette International Airport, Baudette, United States','country_id' => '228'),\narray('id' => '2611','name' => '(BDG) - Blanding Municipal Airport, Blanding, United States','country_id' => '228'),\narray('id' => '2612','name' => '(BDL) - Bradley International Airport, Hartford, United States','country_id' => '228'),\narray('id' => '2613','name' => '(BDR) - Igor I Sikorsky Memorial Airport, Bridgeport, United States','country_id' => '228'),\narray('id' => '2614','name' => '(WBU) - Boulder Municipal Airport, Boulder, United States','country_id' => '228'),\narray('id' => '2615','name' => '(BEC) - Beech Factory Airport, Wichita, United States','country_id' => '228'),\narray('id' => '2616','name' => '(BED) - Laurence G Hanscom Field, Bedford, United States','country_id' => '228'),\narray('id' => '2617','name' => '(BEH) - Southwest Michigan Regional Airport, Benton Harbor, United States','country_id' => '228'),\narray('id' => '2618','name' => '(BFD) - Bradford Regional Airport, Bradford, United States','country_id' => '228'),\narray('id' => '2619','name' => '(BFF) - Western Neb. Rgnl/William B. Heilig Airport, Scottsbluff, United States','country_id' => '228'),\narray('id' => '2620','name' => '(BFI) - Boeing Field King County International Airport, Seattle, United States','country_id' => '228'),\narray('id' => '2621','name' => '(BFL) - Meadows Field, Bakersfield, United States','country_id' => '228'),\narray('id' => '2622','name' => '(BFM) - Mobile Downtown Airport, Mobile, United States','country_id' => '228'),\narray('id' => '2623','name' => '(BFR) - Virgil I Grissom Municipal Airport, Bedford, United States','country_id' => '228'),\narray('id' => '2624','name' => '(BGD) - Hutchinson County Airport, Borger, United States','country_id' => '228'),\narray('id' => '2625','name' => '(BGE) - Decatur County Industrial Air Park, Bainbridge, United States','country_id' => '228'),\narray('id' => '2626','name' => '(BGM) - Greater Binghamton/Edwin A Link field, Binghamton, United States','country_id' => '228'),\narray('id' => '2627','name' => '(BGR) - Bangor International Airport, Bangor, United States','country_id' => '228'),\narray('id' => '2628','name' => '(BHB) - Hancock County-Bar Harbor Airport, Bar Harbor, United States','country_id' => '228'),\narray('id' => '2629','name' => '(BHM) - Birmingham-Shuttlesworth International Airport, Birmingham, United States','country_id' => '228'),\narray('id' => '2630','name' => '(BID) - Block Island State Airport, Block Island, United States','country_id' => '228'),\narray('id' => '2631','name' => '(BIE) - Beatrice Municipal Airport, Beatrice, United States','country_id' => '228'),\narray('id' => '2632','name' => '(BIF) - Biggs Army Air Field (Fort Bliss), Fort Bliss/El Paso, United States','country_id' => '228'),\narray('id' => '2633','name' => '(BIH) - Eastern Sierra Regional Airport, Bishop, United States','country_id' => '228'),\narray('id' => '2634','name' => '(BIL) - Billings Logan International Airport, Billings, United States','country_id' => '228'),\narray('id' => '2635','name' => '(BIS) - Bismarck Municipal Airport, Bismarck, United States','country_id' => '228'),\narray('id' => '2636','name' => '(BIX) - Keesler Air Force Base, Biloxi, United States','country_id' => '228'),\narray('id' => '2637','name' => '(BJC) - Rocky Mountain Metropolitan Airport, Denver, United States','country_id' => '228'),\narray('id' => '2638','name' => '(BJI) - Bemidji Regional Airport, Bemidji, United States','country_id' => '228'),\narray('id' => '2639','name' => '(BJJ) - Wayne County Airport, Wooster, United States','country_id' => '228'),\narray('id' => '2640','name' => '(BKD) - Stephens County Airport, Breckenridge, United States','country_id' => '228'),\narray('id' => '2641','name' => '(BKE) - Baker City Municipal Airport, Baker City, United States','country_id' => '228'),\narray('id' => '2642','name' => '(BFK) - Buckley Air Force Base, Aurora, United States','country_id' => '228'),\narray('id' => '2643','name' => '(BKL) - Burke Lakefront Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2644','name' => '(BKT) - Allen C Perkinson Blackstone Army Air Field, Blackstone, United States','country_id' => '228'),\narray('id' => '2645','name' => '(BKW) - Raleigh County Memorial Airport, Beckley, United States','country_id' => '228'),\narray('id' => '2646','name' => '(BKX) - Brookings Regional Airport, Brookings, United States','country_id' => '228'),\narray('id' => '2647','name' => '(BLF) - Mercer County Airport, Bluefield, United States','country_id' => '228'),\narray('id' => '2648','name' => '(BLH) - Blythe Airport, Blythe, United States','country_id' => '228'),\narray('id' => '2649','name' => '(BLI) - Bellingham International Airport, Bellingham, United States','country_id' => '228'),\narray('id' => '2650','name' => '(BLM) - Monmouth Executive Airport, Belmar/Farmingdale, United States','country_id' => '228'),\narray('id' => '2651','name' => '(BLU) - Blue Canyon Nyack Airport, Emigrant Gap, United States','country_id' => '228'),\narray('id' => '2652','name' => '(BLV) - Scott AFB/Midamerica Airport, Belleville, United States','country_id' => '228'),\narray('id' => '2653','name' => '(KBM) - Kabwum, , Papua New Guinea','country_id' => '172'),\narray('id' => '2654','name' => '(BMC) - Brigham City Airport, Brigham City, United States','country_id' => '228'),\narray('id' => '2655','name' => '(BMG) - Monroe County Airport, Bloomington, United States','country_id' => '228'),\narray('id' => '2656','name' => '(BMI) - Central Illinois Regional Airport at Bloomington-Normal, Bloomington/Normal, United States','country_id' => '228'),\narray('id' => '2657','name' => '(BML) - Berlin Regional Airport, Berlin, United States','country_id' => '228'),\narray('id' => '2658','name' => '(BMT) - Beaumont Municipal Airport, Beaumont, United States','country_id' => '228'),\narray('id' => '2659','name' => '(BNA) - Nashville International Airport, Nashville, United States','country_id' => '228'),\narray('id' => '2660','name' => '(BNG) - Banning Municipal Airport, Banning, United States','country_id' => '228'),\narray('id' => '2661','name' => '(BNL) - Barnwell Regional Airport, Barnwell, United States','country_id' => '228'),\narray('id' => '2662','name' => '(BNO) - Burns Municipal Airport, Burns, United States','country_id' => '228'),\narray('id' => '2663','name' => '(BNW) - Boone Municipal Airport, Boone, United States','country_id' => '228'),\narray('id' => '2664','name' => '(BOI) - Boise Air Terminal/Gowen field, Boise, United States','country_id' => '228'),\narray('id' => '2665','name' => '(BOS) - General Edward Lawrence Logan International Airport, Boston, United States','country_id' => '228'),\narray('id' => '2666','name' => '(BOW) - Bartow Municipal Airport, Bartow, United States','country_id' => '228'),\narray('id' => '2667','name' => '(HCA) - Big Spring Mc Mahon-Wrinkle Airport, Big Spring, United States','country_id' => '228'),\narray('id' => '2668','name' => '(BPI) - Miley Memorial Field, Big Piney, United States','country_id' => '228'),\narray('id' => '2669','name' => '(WMH) - Ozark Regional Airport, Mountain Home, United States','country_id' => '228'),\narray('id' => '2670','name' => '(BWM) - Bowman Municipal Airport, Bowman, United States','country_id' => '228'),\narray('id' => '2671','name' => '(BPT) - Southeast Texas Regional Airport, Beaumont/Port Arthur, United States','country_id' => '228'),\narray('id' => '2672','name' => '(BQK) - Brunswick Golden Isles Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '2673','name' => '(BRD) - Brainerd Lakes Regional Airport, Brainerd, United States','country_id' => '228'),\narray('id' => '2674','name' => '(BRL) - Southeast Iowa Regional Airport, Burlington, United States','country_id' => '228'),\narray('id' => '2675','name' => '(BRO) - Brownsville South Padre Island International Airport, Brownsville, United States','country_id' => '228'),\narray('id' => '2676','name' => '(BRY) - Samuels Field, Bardstown, United States','country_id' => '228'),\narray('id' => '2677','name' => '(BTF) - Skypark Airport, Bountiful, United States','country_id' => '228'),\narray('id' => '2678','name' => '(BTL) - W K Kellogg Airport, Battle Creek, United States','country_id' => '228'),\narray('id' => '2679','name' => '(BTM) - Bert Mooney Airport, Butte, United States','country_id' => '228'),\narray('id' => '2680','name' => '(TTO) - Britton Municipal Airport, Britton, United States','country_id' => '228'),\narray('id' => '2681','name' => '(BTP) - Butler County-K W Scholter Field, Butler, United States','country_id' => '228'),\narray('id' => '2682','name' => '(BTR) - Baton Rouge Metropolitan, Ryan Field, Baton Rouge, United States','country_id' => '228'),\narray('id' => '2683','name' => '(BTV) - Burlington International Airport, Burlington, United States','country_id' => '228'),\narray('id' => '2684','name' => '(BTY) - Beatty Airport, Beatty, United States','country_id' => '228'),\narray('id' => '2685','name' => '(BUB) - Cram Field, Burwell, United States','country_id' => '228'),\narray('id' => '2686','name' => '(BUF) - Buffalo Niagara International Airport, Buffalo, United States','country_id' => '228'),\narray('id' => '2687','name' => '(BUM) - Butler Memorial Airport, Butler, United States','country_id' => '228'),\narray('id' => '2688','name' => '(BUR) - Bob Hope Airport, Burbank, United States','country_id' => '228'),\narray('id' => '2689','name' => '(BFP) - Beaver County Airport, Beaver Falls, United States','country_id' => '228'),\narray('id' => '2690','name' => '(BVO) - Bartlesville Municipal Airport, Bartlesville, United States','country_id' => '228'),\narray('id' => '2691','name' => '(MVW) - Skagit Regional Airport, Burlington/Mount Vernon, United States','country_id' => '228'),\narray('id' => '2692','name' => '(BVX) - Batesville Regional Airport, Batesville, United States','country_id' => '228'),\narray('id' => '2693','name' => '(BVY) - Beverly Municipal Airport, Beverly, United States','country_id' => '228'),\narray('id' => '2694','name' => '(BWC) - Brawley Municipal Airport, Brawley, United States','country_id' => '228'),\narray('id' => '2695','name' => '(BWD) - Brownwood Regional Airport, Brownwood, United States','country_id' => '228'),\narray('id' => '2696','name' => '(BWG) - Bowling Green Warren County Regional Airport, Bowling Green, United States','country_id' => '228'),\narray('id' => '2697','name' => '(BWI) - Baltimore/Washington International Thurgood Marshall Airport, Baltimore, United States','country_id' => '228'),\narray('id' => '2698','name' => '(WAH) - Harry Stern Airport, Wahpeton, United States','country_id' => '228'),\narray('id' => '2699','name' => '(BXA) - George R Carr Memorial Air Field, Bogalusa, United States','country_id' => '228'),\narray('id' => '2700','name' => '(BXK) - Buckeye Municipal Airport, Buckeye, United States','country_id' => '228'),\narray('id' => '2701','name' => '(BYG) - Johnson County Airport, Buffalo, United States','country_id' => '228'),\narray('id' => '2702','name' => '(BYH) - Arkansas International Airport, Blytheville, United States','country_id' => '228'),\narray('id' => '2703','name' => '(BYI) - Burley Municipal Airport, Burley, United States','country_id' => '228'),\narray('id' => '2704','name' => '(BYS) - Bicycle Lake Army Air Field, Fort Irwin/Barstow, United States','country_id' => '228'),\narray('id' => '2705','name' => '(BBC) - Bay City Municipal Airport, Bay City, United States','country_id' => '228'),\narray('id' => '2706','name' => '(BZN) - Gallatin Field, Bozeman, United States','country_id' => '228'),\narray('id' => '2707','name' => '(XES) - Grand Geneva Resort Airport, Lake Geneva, United States','country_id' => '228'),\narray('id' => '2708','name' => '(PLY) - Plymouth Municipal Airport, Plymouth, United States','country_id' => '228'),\narray('id' => '2709','name' => '(CLG) - New Coalinga Municipal Airport, Coalinga, United States','country_id' => '228'),\narray('id' => '2710','name' => '(CAD) - Wexford County Airport, Cadillac, United States','country_id' => '228'),\narray('id' => '2711','name' => '(CAE) - Columbia Metropolitan Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2712','name' => '(CIG) - Craig Moffat Airport, Craig, United States','country_id' => '228'),\narray('id' => '2713','name' => '(CAK) - Akron Canton Regional Airport, Akron, United States','country_id' => '228'),\narray('id' => '2714','name' => '(CAO) - Clayton Municipal Airpark, Clayton, United States','country_id' => '228'),\narray('id' => '2715','name' => '(CAR) - Caribou Municipal Airport, Caribou, United States','country_id' => '228'),\narray('id' => '2716','name' => '(CBE) - Greater Cumberland Regional Airport, Cumberland, United States','country_id' => '228'),\narray('id' => '2717','name' => '(CBF) - Council Bluffs Municipal Airport, Council Bluffs, United States','country_id' => '228'),\narray('id' => '2718','name' => '(CBK) - Shalz Field, Colby, United States','country_id' => '228'),\narray('id' => '2719','name' => '(CBM) - Columbus Air Force Base, Columbus, United States','country_id' => '228'),\narray('id' => '2720','name' => '(CCB) - Cable Airport, Upland, United States','country_id' => '228'),\narray('id' => '2721','name' => '(CCR) - Buchanan Field, Concord, United States','country_id' => '228'),\narray('id' => '2722','name' => '(CCY) - Northeast Iowa Regional Airport, Charles City, United States','country_id' => '228'),\narray('id' => '2723','name' => '(LLX) - Caledonia County Airport, Lyndonville, United States','country_id' => '228'),\narray('id' => '2724','name' => '(CDC) - Cedar City Regional Airport, Cedar City, United States','country_id' => '228'),\narray('id' => '2725','name' => '(CDH) - Harrell Field, Camden, United States','country_id' => '228'),\narray('id' => '2726','name' => '(CDN) - Woodward Field, Camden, United States','country_id' => '228'),\narray('id' => '2727','name' => '(CDR) - Chadron Municipal Airport, Chadron, United States','country_id' => '228'),\narray('id' => '2728','name' => '(CDS) - Childress Municipal Airport, Childress, United States','country_id' => '228'),\narray('id' => '2729','name' => '(CDW) - Essex County Airport, Caldwell, United States','country_id' => '228'),\narray('id' => '2730','name' => '(CEA) - Cessna Aircraft Field, Wichita, United States','country_id' => '228'),\narray('id' => '2731','name' => '(CEC) - Jack Mc Namara Field Airport, Crescent City, United States','country_id' => '228'),\narray('id' => '2732','name' => '(CEF) - Westover ARB/Metropolitan Airport, Springfield/Chicopee, United States','country_id' => '228'),\narray('id' => '2733','name' => '(CEU) - Oconee County Regional Airport, Clemson, United States','country_id' => '228'),\narray('id' => '2734','name' => '(CEV) - Mettel Field, Connersville, United States','country_id' => '228'),\narray('id' => '2735','name' => '(CEW) - Bob Sikes Airport, Crestview, United States','country_id' => '228'),\narray('id' => '2736','name' => '(CEY) - Kyle Oakley Field, Murray, United States','country_id' => '228'),\narray('id' => '2737','name' => '(CEZ) - Cortez Municipal Airport, Cortez, United States','country_id' => '228'),\narray('id' => '2738','name' => '(CFD) - Coulter Field, Bryan, United States','country_id' => '228'),\narray('id' => '2739','name' => '(TZC) - Tuscola Area Airport, Caro, United States','country_id' => '228'),\narray('id' => '2740','name' => '(CFT) - Greenlee County Airport, Clifton/Morenci, United States','country_id' => '228'),\narray('id' => '2741','name' => '(CFV) - Coffeyville Municipal Airport, Coffeyville, United States','country_id' => '228'),\narray('id' => '2742','name' => '(CGE) - Cambridge Dorchester Airport, Cambridge, United States','country_id' => '228'),\narray('id' => '2743','name' => '(CGF) - Cuyahoga County Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2744','name' => '(CGI) - Cape Girardeau Regional Airport, Cape Girardeau, United States','country_id' => '228'),\narray('id' => '2745','name' => '(CGS) - College Park Airport, College Park, United States','country_id' => '228'),\narray('id' => '2746','name' => '(CGZ) - Casa Grande Municipal Airport, Casa Grande, United States','country_id' => '228'),\narray('id' => '2747','name' => '(CHA) - Lovell Field, Chattanooga, United States','country_id' => '228'),\narray('id' => '2748','name' => '(CHK) - Chickasha Municipal Airport, Chickasha, United States','country_id' => '228'),\narray('id' => '2749','name' => '(CHO) - Charlottesville Albemarle Airport, Charlottesville, United States','country_id' => '228'),\narray('id' => '2750','name' => '(CHS) - Charleston Air Force Base-International Airport, Charleston, United States','country_id' => '228'),\narray('id' => '2751','name' => '(CIC) - Chico Municipal Airport, Chico, United States','country_id' => '228'),\narray('id' => '2752','name' => '(CID) - The Eastern Iowa Airport, Cedar Rapids, United States','country_id' => '228'),\narray('id' => '2753','name' => '(CIN) - Arthur N Neu Airport, Carroll, United States','country_id' => '228'),\narray('id' => '2754','name' => '(CIR) - Cairo Regional Airport, Cairo, United States','country_id' => '228'),\narray('id' => '2755','name' => '(CIU) - Chippewa County International Airport, Sault Ste Marie, United States','country_id' => '228'),\narray('id' => '2756','name' => '(CKA) - Kegelman AF Aux Field, Cherokee, United States','country_id' => '228'),\narray('id' => '2757','name' => '(CKB) - North Central West Virginia Airport, Clarksburg, United States','country_id' => '228'),\narray('id' => '2758','name' => '(GRM) - Grand Marais Cook County Airport, Grand Marais, United States','country_id' => '228'),\narray('id' => '2759','name' => '(CKM) - Fletcher Field, Clarksdale, United States','country_id' => '228'),\narray('id' => '2760','name' => '(CKN) - Crookston Municipal Kirkwood Field, Crookston, United States','country_id' => '228'),\narray('id' => '2761','name' => '(CKV) - Clarksvillea\"Montgomery County Regional Airport, Clarksville, United States','country_id' => '228'),\narray('id' => '2762','name' => '(KCL) - Chignik Lagoon Airport, Chignik Flats, United States','country_id' => '228'),\narray('id' => '2763','name' => '(CLE) - Cleveland Hopkins International Airport, Cleveland, United States','country_id' => '228'),\narray('id' => '2764','name' => '(CLI) - Clintonville Municipal Airport, Clintonville, United States','country_id' => '228'),\narray('id' => '2765','name' => '(CLK) - Clinton Regional Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2766','name' => '(CLL) - Easterwood Field, College Station, United States','country_id' => '228'),\narray('id' => '2767','name' => '(CLM) - William R Fairchild International Airport, Port Angeles, United States','country_id' => '228'),\narray('id' => '2768','name' => '(CLR) - Cliff Hatfield Memorial Airport, Calipatria, United States','country_id' => '228'),\narray('id' => '2769','name' => '(CLS) - Chehalis Centralia Airport, Chehalis, United States','country_id' => '228'),\narray('id' => '2770','name' => '(CLT) - Charlotte Douglas International Airport, Charlotte, United States','country_id' => '228'),\narray('id' => '2771','name' => '(CLW) - Clearwater Air Park, Clearwater, United States','country_id' => '228'),\narray('id' => '2772','name' => '(CMH) - Port Columbus International Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2773','name' => '(CMI) - University of Illinois Willard Airport, Champaign/Urbana, United States','country_id' => '228'),\narray('id' => '2774','name' => '(CMX) - Houghton County Memorial Airport, Hancock, United States','country_id' => '228'),\narray('id' => '2775','name' => '(CMY) - Sparta Fort Mc Coy Airport, Sparta, United States','country_id' => '228'),\narray('id' => '2776','name' => '(CNH) - Claremont Municipal Airport, Claremont, United States','country_id' => '228'),\narray('id' => '2777','name' => '(CNK) - Blosser Municipal Airport, Concordia, United States','country_id' => '228'),\narray('id' => '2778','name' => '(CNM) - Cavern City Air Terminal, Carlsbad, United States','country_id' => '228'),\narray('id' => '2779','name' => '(CNO) - Chino Airport, Chino, United States','country_id' => '228'),\narray('id' => '2780','name' => '(CNU) - Chanute Martin Johnson Airport, Chanute, United States','country_id' => '228'),\narray('id' => '2781','name' => '(CNW) - TSTC Waco Airport, Waco, United States','country_id' => '228'),\narray('id' => '2782','name' => '(CNY) - Canyonlands Field, Moab, United States','country_id' => '228'),\narray('id' => '2783','name' => '(COD) - Yellowstone Regional Airport, Cody, United States','country_id' => '228'),\narray('id' => '2784','name' => '(COE) - Coeur D\\'Alene - Pappy Boyington Field, Coeur d\\'Alene, United States','country_id' => '228'),\narray('id' => '2785','name' => '(COF) - Patrick Air Force Base, Cocoa Beach, United States','country_id' => '228'),\narray('id' => '2786','name' => '(COI) - Merritt Island Airport, Merritt Island, United States','country_id' => '228'),\narray('id' => '2787','name' => '(COM) - Coleman Municipal Airport, Coleman, United States','country_id' => '228'),\narray('id' => '2788','name' => '(CON) - Concord Municipal Airport, Concord, United States','country_id' => '228'),\narray('id' => '2789','name' => '(COS) - City of Colorado Springs Municipal Airport, Colorado Springs, United States','country_id' => '228'),\narray('id' => '2790','name' => '(COT) - Cotulla-La Salle County Airport, Cotulla, United States','country_id' => '228'),\narray('id' => '2791','name' => '(COU) - Columbia Regional Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2792','name' => '(CPM) - Compton Woodley Airport, Compton, United States','country_id' => '228'),\narray('id' => '2793','name' => '(CPR) - Casper-Natrona County International Airport, Casper, United States','country_id' => '228'),\narray('id' => '2794','name' => '(CPS) - St Louis Downtown Airport, Cahokia/St Louis, United States','country_id' => '228'),\narray('id' => '2795','name' => '(HCW) - Cheraw Municipal Airport/Lynch Bellinger Field, Cheraw, United States','country_id' => '228'),\narray('id' => '2796','name' => '(KCR) - Colorado Creek Airport, Colorado Creek, United States','country_id' => '228'),\narray('id' => '2797','name' => '(CRE) - Grand Strand Airport, North Myrtle Beach, United States','country_id' => '228'),\narray('id' => '2798','name' => '(CRG) - Jacksonville Executive at Craig Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '2799','name' => '(CRO) - Corcoran Airport, Corcoran, United States','country_id' => '228'),\narray('id' => '2800','name' => '(CRP) - Corpus Christi International Airport, Corpus Christi, United States','country_id' => '228'),\narray('id' => '2801','name' => '(CLD) - Mc Clellan-Palomar Airport, Carlsbad, United States','country_id' => '228'),\narray('id' => '2802','name' => '(CRS) - C David Campbell Field Corsicana Municipal Airport, Corsicana, United States','country_id' => '228'),\narray('id' => '2803','name' => '(CRT) - Z M Jack Stell Field, Crossett, United States','country_id' => '228'),\narray('id' => '2804','name' => '(CRW) - Yeager Airport, Charleston, United States','country_id' => '228'),\narray('id' => '2805','name' => '(CRX) - Roscoe Turner Airport, Corinth, United States','country_id' => '228'),\narray('id' => '2806','name' => '(CSG) - Columbus Metropolitan Airport, Columbus, United States','country_id' => '228'),\narray('id' => '2807','name' => '(CSM) - Clinton Sherman Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2808','name' => '(CSQ) - Creston Municipal Airport, Creston, United States','country_id' => '228'),\narray('id' => '2809','name' => '(CSV) - Crossville Memorial Whitson Field, Crossville, United States','country_id' => '228'),\narray('id' => '2810','name' => '(CTB) - Cut Bank International Airport, Cut Bank, United States','country_id' => '228'),\narray('id' => '2811','name' => '(CTY) - Cross City Airport, Cross City, United States','country_id' => '228'),\narray('id' => '2812','name' => '(CTZ) - Sampson County Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2813','name' => '(CUB) - Jim Hamilton L.B. Owens Airport, Columbia, United States','country_id' => '228'),\narray('id' => '2814','name' => '(CUH) - Cushing Municipal Airport, Cushing, United States','country_id' => '228'),\narray('id' => '2815','name' => '(CVG) - Cincinnati Northern Kentucky International Airport, Cincinnati, United States','country_id' => '228'),\narray('id' => '2816','name' => '(CKK) - Sharp County Regional Airport, Ash Flat, United States','country_id' => '228'),\narray('id' => '2817','name' => '(CVN) - Clovis Municipal Airport, Clovis, United States','country_id' => '228'),\narray('id' => '2818','name' => '(CVO) - Corvallis Municipal Airport, Corvallis, United States','country_id' => '228'),\narray('id' => '2819','name' => '(CVS) - Cannon Air Force Base, Clovis, United States','country_id' => '228'),\narray('id' => '2820','name' => '(CWA) - Central Wisconsin Airport, Mosinee, United States','country_id' => '228'),\narray('id' => '2821','name' => '(KIP) - Kickapoo Downtown Airport, Wichita Falls, United States','country_id' => '228'),\narray('id' => '2822','name' => '(CWF) - Chennault International Airport, Lake Charles, United States','country_id' => '228'),\narray('id' => '2823','name' => '(CWI) - Clinton Municipal Airport, Clinton, United States','country_id' => '228'),\narray('id' => '2824','name' => '(CXL) - Calexico International Airport, Calexico, United States','country_id' => '228'),\narray('id' => '2825','name' => '(CXO) - Lone Star Executive Airport, Houston, United States','country_id' => '228'),\narray('id' => '2826','name' => '(CSN) - Carson Airport, Carson City, United States','country_id' => '228'),\narray('id' => '2827','name' => '(HAR) - Capital City Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '2828','name' => '(CYS) - Cheyenne Regional Jerry Olson Field, Cheyenne, United States','country_id' => '228'),\narray('id' => '2829','name' => '(CZT) - Dimmit County Airport, Carrizo Springs, United States','country_id' => '228'),\narray('id' => '2830','name' => '(VEX) - Tioga Municipal Airport, Tioga, United States','country_id' => '228'),\narray('id' => '2831','name' => '(DAA) - Davison Army Air Field, Fort Belvoir, United States','country_id' => '228'),\narray('id' => '2832','name' => '(DAB) - Daytona Beach International Airport, Daytona Beach, United States','country_id' => '228'),\narray('id' => '2833','name' => '(DAG) - Barstow Daggett Airport, Daggett, United States','country_id' => '228'),\narray('id' => '2834','name' => '(DAL) - Dallas Love Field, Dallas, United States','country_id' => '228'),\narray('id' => '2835','name' => '(DAN) - Danville Regional Airport, Danville, United States','country_id' => '228'),\narray('id' => '2836','name' => '(DAY) - James M Cox Dayton International Airport, Dayton, United States','country_id' => '228'),\narray('id' => '2837','name' => '(DBN) - W H \\'Bud\\' Barron Airport, Dublin, United States','country_id' => '228'),\narray('id' => '2838','name' => '(DBQ) - Dubuque Regional Airport, Dubuque, United States','country_id' => '228'),\narray('id' => '2839','name' => '(DCA) - Ronald Reagan Washington National Airport, Washington, United States','country_id' => '228'),\narray('id' => '2840','name' => '(DCU) - Pryor Field Regional Airport, Decatur, United States','country_id' => '228'),\narray('id' => '2841','name' => '(DDC) - Dodge City Regional Airport, Dodge City, United States','country_id' => '228'),\narray('id' => '2842','name' => '(DEC) - Decatur Airport, Decatur, United States','country_id' => '228'),\narray('id' => '2843','name' => '(DEH) - Decorah Municipal Airport, Decorah, United States','country_id' => '228'),\narray('id' => '2844','name' => '(DEN) - Denver International Airport, Denver, United States','country_id' => '228'),\narray('id' => '2845','name' => '(DET) - Coleman A. Young Municipal Airport, Detroit, United States','country_id' => '228'),\narray('id' => '2846','name' => '(DFI) - Defiance Memorial Airport, Defiance, United States','country_id' => '228'),\narray('id' => '2847','name' => '(DFW) - Dallas Fort Worth International Airport, Dallas-Fort Worth, United States','country_id' => '228'),\narray('id' => '2848','name' => '(DGL) - Douglas Municipal Airport, Douglas, United States','country_id' => '228'),\narray('id' => '2849','name' => '(DGW) - Converse County Airport, Douglas, United States','country_id' => '228'),\narray('id' => '2850','name' => '(DHN) - Dothan Regional Airport, Dothan, United States','country_id' => '228'),\narray('id' => '2851','name' => '(DHT) - Dalhart Municipal Airport, Dalhart, United States','country_id' => '228'),\narray('id' => '2852','name' => '(DIK) - Dickinson Theodore Roosevelt Regional Airport, Dickinson, United States','country_id' => '228'),\narray('id' => '2853','name' => '(DKK) - Chautauqua County-Dunkirk Airport, Dunkirk, United States','country_id' => '228'),\narray('id' => '2854','name' => '(DLL) - Dillon County Airport, Dillon, United States','country_id' => '228'),\narray('id' => '2855','name' => '(DLF) - Laughlin Air Force Base, Del Rio, United States','country_id' => '228'),\narray('id' => '2856','name' => '(DLH) - Duluth International Airport, Duluth, United States','country_id' => '228'),\narray('id' => '2857','name' => '(DLN) - Dillon Airport, Dillon, United States','country_id' => '228'),\narray('id' => '2858','name' => '(DLS) - Columbia Gorge Regional the Dalles Municipal Airport, The Dalles, United States','country_id' => '228'),\narray('id' => '2859','name' => '(DMA) - Davis Monthan Air Force Base, Tucson, United States','country_id' => '228'),\narray('id' => '2860','name' => '(DMN) - Deming Municipal Airport, Deming, United States','country_id' => '228'),\narray('id' => '2861','name' => '(DMO) - Sedalia Memorial Airport, Sedalia, United States','country_id' => '228'),\narray('id' => '2862','name' => '(DNL) - Daniel Field, Augusta, United States','country_id' => '228'),\narray('id' => '2863','name' => '(DNN) - Dalton Municipal Airport, Dalton, United States','country_id' => '228'),\narray('id' => '2864','name' => '(DNS) - Denison Municipal Airport, Denison, United States','country_id' => '228'),\narray('id' => '2865','name' => '(DNV) - Vermilion Regional Airport, Danville, United States','country_id' => '228'),\narray('id' => '2866','name' => '(DOV) - Dover Air Force Base, Dover, United States','country_id' => '228'),\narray('id' => '2867','name' => '(KDP) - Kandep Airport, Kandep, Papua New Guinea','country_id' => '172'),\narray('id' => '2868','name' => '(DPA) - Dupage Airport, Chicago/West Chicago, United States','country_id' => '228'),\narray('id' => '2869','name' => '(DPG) - Michael AAF (Dugway Proving Ground) Airport, Dugway Proving Ground, United States','country_id' => '228'),\narray('id' => '2870','name' => '(KDQ) - Kamberatoro Airport, Kamberatoro Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2871','name' => '(DRA) - Desert Rock Airport, Mercury, United States','country_id' => '228'),\narray('id' => '2872','name' => '(DRI) - Beauregard Regional Airport, De Ridder, United States','country_id' => '228'),\narray('id' => '2873','name' => '(DRE) - Drummond Island Airport, Drummond Island, United States','country_id' => '228'),\narray('id' => '2874','name' => '(DRO) - Durango La Plata County Airport, Durango, United States','country_id' => '228'),\narray('id' => '2875','name' => '(DRT) - Del Rio International Airport, Del Rio, United States','country_id' => '228'),\narray('id' => '2876','name' => '(KDS) - Kamaran Downs Airport, Kamaran Downs, Australia','country_id' => '12'),\narray('id' => '2877','name' => '(DSM) - Des Moines International Airport, Des Moines, United States','country_id' => '228'),\narray('id' => '2878','name' => '(DSV) - Dansville Municipal Airport, Dansville, United States','country_id' => '228'),\narray('id' => '2879','name' => '(DTA) - Delta Municipal Airport, Delta, United States','country_id' => '228'),\narray('id' => '2880','name' => '(DTL) - Detroit Lakes Airport - Wething Field, Detroit Lakes, United States','country_id' => '228'),\narray('id' => '2881','name' => '(DTN) - Shreveport Downtown Airport, Shreveport, United States','country_id' => '228'),\narray('id' => '2882','name' => '(DSI) - Destin Executive Airport, Destin, United States','country_id' => '228'),\narray('id' => '2883','name' => '(DTW) - Detroit Metropolitan Wayne County Airport, Detroit, United States','country_id' => '228'),\narray('id' => '2884','name' => '(DUA) - Eaker Field, Durant, United States','country_id' => '228'),\narray('id' => '2885','name' => '(DUC) - Halliburton Field, Duncan, United States','country_id' => '228'),\narray('id' => '2886','name' => '(DUG) - Bisbee Douglas International Airport, Douglas Bisbee, United States','country_id' => '228'),\narray('id' => '2887','name' => '(DUJ) - DuBois Regional Airport, Dubois, United States','country_id' => '228'),\narray('id' => '2888','name' => '(DVL) - Devils Lake Regional Airport, Devils Lake, United States','country_id' => '228'),\narray('id' => '2889','name' => '(DVN) - Davenport Municipal Airport, Davenport, United States','country_id' => '228'),\narray('id' => '2890','name' => '(NOT) - Marin County Airport - Gnoss Field, Novato, United States','country_id' => '228'),\narray('id' => '2891','name' => '(NSL) - Slayton Municipal Airport, Slayton, United States','country_id' => '228'),\narray('id' => '2892','name' => '(DVT) - Phoenix Deer Valley Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '2893','name' => '(DWH) - David Wayne Hooks Memorial Airport, Houston, United States','country_id' => '228'),\narray('id' => '2894','name' => '(DXR) - Danbury Municipal Airport, Danbury, United States','country_id' => '228'),\narray('id' => '2895','name' => '(DYL) - Doylestown Airport, Doylestown, United States','country_id' => '228'),\narray('id' => '2896','name' => '(DYS) - Dyess Air Force Base, Abilene, United States','country_id' => '228'),\narray('id' => '2897','name' => '(JJM) - Mulika Lodge Airport, Meru-Kinna, Kenya','country_id' => '111'),\narray('id' => '2898','name' => '(VPG) - Vipingo Estate Airport, Vipingo Estate, Kenya','country_id' => '111'),\narray('id' => '2899','name' => '(KRV) - Kerio Valley Airport, Kimwarer, Kenya','country_id' => '111'),\narray('id' => '2900','name' => '(KIU) - Kiunga Airport, Kiunga, Kenya','country_id' => '111'),\narray('id' => '2901','name' => '(LBK) - Liboi Airport, Liboi, Kenya','country_id' => '111'),\narray('id' => '2902','name' => '(LBN) - Lake Baringo Airport, Lake Baringo, Kenya','country_id' => '111'),\narray('id' => '2903','name' => '(LKU) - Lake Rudolf Airport, Lake Rudolf, Kenya','country_id' => '111'),\narray('id' => '2904','name' => '(MRE) - Mara Lodges Airport, Mara Lodges, Kenya','country_id' => '111'),\narray('id' => '2905','name' => '(MUM) - Mumias Airport, Mumias, Kenya','country_id' => '111'),\narray('id' => '2906','name' => '(MIF) - Roy Hurd Memorial Airport, Monahans, United States','country_id' => '228'),\narray('id' => '2907','name' => '(CCG) - Crane County Airport, Crane, United States','country_id' => '228'),\narray('id' => '2908','name' => '(ESO) - Ohkay Owingeh Airport, Espanola, United States','country_id' => '228'),\narray('id' => '2909','name' => '(WTR) - Whiteriver Airport, Whiteriver, United States','country_id' => '228'),\narray('id' => '2910','name' => '(ALE) - Alpine Casparis Municipal Airport, Alpine, United States','country_id' => '228'),\narray('id' => '2911','name' => '(BGT) - Bagdad Airport, Bagdad, United States','country_id' => '228'),\narray('id' => '2912','name' => '(EAN) - Phifer Airfield, Wheatland, United States','country_id' => '228'),\narray('id' => '2913','name' => '(EAR) - Kearney Regional Airport, Kearney, United States','country_id' => '228'),\narray('id' => '2914','name' => '(EAT) - Pangborn Memorial Airport, Wenatchee, United States','country_id' => '228'),\narray('id' => '2915','name' => '(EAU) - Chippewa Valley Regional Airport, Eau Claire, United States','country_id' => '228'),\narray('id' => '2916','name' => '(KEB) - Nanwalek Airport, Nanwalek, United States','country_id' => '228'),\narray('id' => '2917','name' => '(EBS) - Webster City Municipal Airport, Webster City, United States','country_id' => '228'),\narray('id' => '2918','name' => '(ECG) - Elizabeth City Regional Airport & Coast Guard Air Station, Elizabeth City, United States','country_id' => '228'),\narray('id' => '2919','name' => '(ECP) - Northwest Florida Beaches International Airport, Panama City Beach, United States','country_id' => '228'),\narray('id' => '2920','name' => '(ECS) - Mondell Field, Newcastle, United States','country_id' => '228'),\narray('id' => '2921','name' => '(EDE) - Northeastern Regional Airport, Edenton, United States','country_id' => '228'),\narray('id' => '2922','name' => '(ETS) - Enterprise Municipal Airport, Enterprise, United States','country_id' => '228'),\narray('id' => '2923','name' => '(EDW) - Edwards Air Force Base, Edwards, United States','country_id' => '228'),\narray('id' => '2924','name' => '(EED) - Needles Airport, Needles, United States','country_id' => '228'),\narray('id' => '2925','name' => '(EEN) - Dillant Hopkins Airport, Keene, United States','country_id' => '228'),\narray('id' => '2926','name' => '(EFD) - Ellington Airport, Houston, United States','country_id' => '228'),\narray('id' => '2927','name' => '(EFK) - Newport State Airport, Newport, United States','country_id' => '228'),\narray('id' => '2928','name' => '(EFW) - Jefferson Municipal Airport, Jefferson, United States','country_id' => '228'),\narray('id' => '2929','name' => '(KEG) - Keglsugl Airport, Denglagu Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '2930','name' => '(EGE) - Eagle County Regional Airport, Eagle, United States','country_id' => '228'),\narray('id' => '2931','name' => '(EGI) - Duke Field, Crestview, United States','country_id' => '228'),\narray('id' => '2932','name' => '(EGV) - Eagle River Union Airport, Eagle River, United States','country_id' => '228'),\narray('id' => '2933','name' => '(KEK) - Ekwok Airport, Ekwok, United States','country_id' => '228'),\narray('id' => '2934','name' => '(EKA) - Murray Field, Eureka, United States','country_id' => '228'),\narray('id' => '2935','name' => '(EKI) - Elkhart Municipal Airport, Elkhart, United States','country_id' => '228'),\narray('id' => '2936','name' => '(EKN) - Elkins-Randolph Co-Jennings Randolph Field, Elkins, United States','country_id' => '228'),\narray('id' => '2937','name' => '(EKO) - Elko Regional Airport, Elko, United States','country_id' => '228'),\narray('id' => '2938','name' => '(EKX) - Addington Field, Elizabethtown, United States','country_id' => '228'),\narray('id' => '2939','name' => '(ELA) - Eagle Lake Airport, Eagle Lake, United States','country_id' => '228'),\narray('id' => '2940','name' => '(ELD) - South Arkansas Regional At Goodwin Field, El Dorado, United States','country_id' => '228'),\narray('id' => '2941','name' => '(ELK) - Elk City Regional Business Airport, Elk City, United States','country_id' => '228'),\narray('id' => '2942','name' => '(ELM) - Elmira Corning Regional Airport, Elmira/Corning, United States','country_id' => '228'),\narray('id' => '2943','name' => '(ELN) - Bowers Field, Ellensburg, United States','country_id' => '228'),\narray('id' => '2944','name' => '(LYU) - Ely Municipal Airport, Ely, United States','country_id' => '228'),\narray('id' => '2945','name' => '(ELP) - El Paso International Airport, El Paso, United States','country_id' => '228'),\narray('id' => '2946','name' => '(ELY) - Ely Airport Yelland Field, Ely, United States','country_id' => '228'),\narray('id' => '2947','name' => '(ELZ) - Wellsville Municipal Arpt,Tarantine Field, Wellsville, United States','country_id' => '228'),\narray('id' => '2948','name' => '(EMM) - Kemmerer Municipal Airport, Kemmerer, United States','country_id' => '228'),\narray('id' => '2949','name' => '(EMP) - Emporia Municipal Airport, Emporia, United States','country_id' => '228'),\narray('id' => '2950','name' => '(EMT) - El Monte Airport, El Monte, United States','country_id' => '228'),\narray('id' => '2951','name' => '(END) - Vance Air Force Base, Enid, United States','country_id' => '228'),\narray('id' => '2952','name' => '(ENL) - Centralia Municipal Airport, Centralia, United States','country_id' => '228'),\narray('id' => '2953','name' => '(ENV) - Wendover Airport, Wendover, United States','country_id' => '228'),\narray('id' => '2954','name' => '(ENW) - Kenosha Regional Airport, Kenosha, United States','country_id' => '228'),\narray('id' => '2955','name' => '(EOK) - Keokuk Municipal Airport, Keokuk, United States','country_id' => '228'),\narray('id' => '2956','name' => '(EPH) - Ephrata Municipal Airport, Ephrata, United States','country_id' => '228'),\narray('id' => '2957','name' => '(EDK) - Captain Jack Thomas El Dorado Airport, El Dorado, United States','country_id' => '228'),\narray('id' => '2958','name' => '(ERI) - Erie International Tom Ridge Field, Erie, United States','country_id' => '228'),\narray('id' => '2959','name' => '(ERR) - Errol Airport, Errol, United States','country_id' => '228'),\narray('id' => '2960','name' => '(ERV) - Kerrville Municipal Louis Schreiner Field, Kerrville, United States','country_id' => '228'),\narray('id' => '2961','name' => '(ESC) - Delta County Airport, Escanaba, United States','country_id' => '228'),\narray('id' => '2962','name' => '(ESF) - Esler Regional Airport, Alexandria, United States','country_id' => '228'),\narray('id' => '2963','name' => '(ESN) - Easton Newnam Field, Easton, United States','country_id' => '228'),\narray('id' => '2964','name' => '(EST) - Estherville Municipal Airport, Estherville, United States','country_id' => '228'),\narray('id' => '2965','name' => '(ESW) - Easton State Airport, Easton, United States','country_id' => '228'),\narray('id' => '2966','name' => '(ETB) - West Bend Municipal Airport, West Bend, United States','country_id' => '228'),\narray('id' => '2967','name' => '(ETN) - Eastland Municipal Airport, Eastland, United States','country_id' => '228'),\narray('id' => '2968','name' => '(EUF) - Weedon Field, Eufaula, United States','country_id' => '228'),\narray('id' => '2969','name' => '(EUG) - Mahlon Sweet Field, Eugene, United States','country_id' => '228'),\narray('id' => '2970','name' => '(EVM) - Eveleth Virginia Municipal Airport, Eveleth, United States','country_id' => '228'),\narray('id' => '2971','name' => '(EVV) - Evansville Regional Airport, Evansville, United States','country_id' => '228'),\narray('id' => '2972','name' => '(EVW) - Evanston-Uinta County Airport-Burns Field, Evanston, United States','country_id' => '228'),\narray('id' => '2973','name' => '(EWB) - New Bedford Regional Airport, New Bedford, United States','country_id' => '228'),\narray('id' => '2974','name' => '(EWK) - Newton City-County Airport, Newton, United States','country_id' => '228'),\narray('id' => '2975','name' => '(EWN) - Coastal Carolina Regional Airport, New Bern, United States','country_id' => '228'),\narray('id' => '2976','name' => '(EWR) - Newark Liberty International Airport, Newark, United States','country_id' => '228'),\narray('id' => '2977','name' => '(KEX) - Kanabea Airport, Kanabea, Papua New Guinea','country_id' => '172'),\narray('id' => '2978','name' => '(EYW) - Key West International Airport, Key West, United States','country_id' => '228'),\narray('id' => '2979','name' => '(WIB) - Wilbarger County Airport, Vernon, United States','country_id' => '228'),\narray('id' => '2980','name' => '(RBK) - French Valley Airport, Murrieta/Temecula, United States','country_id' => '228'),\narray('id' => '2981','name' => '(FAF) - Felker Army Air Field, Fort Eustis, United States','country_id' => '228'),\narray('id' => '2982','name' => '(FAM) - Farmington Regional Airport, Farmington, United States','country_id' => '228'),\narray('id' => '2983','name' => '(FAR) - Hector International Airport, Fargo, United States','country_id' => '228'),\narray('id' => '2984','name' => '(FAT) - Fresno Yosemite International Airport, Fresno, United States','country_id' => '228'),\narray('id' => '2985','name' => '(FAY) - Fayetteville Regional Grannis Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '2986','name' => '(FBG) - Simmons Army Air Field, Fort Bragg, United States','country_id' => '228'),\narray('id' => '2987','name' => '(FBL) - Faribault Municipal Airport, Faribault, United States','country_id' => '228'),\narray('id' => '2988','name' => '(FBR) - Fort Bridger Airport, Fort Bridger, United States','country_id' => '228'),\narray('id' => '2989','name' => '(FBY) - Fairbury Municipal Airport, Fairbury, United States','country_id' => '228'),\narray('id' => '2990','name' => '(FCH) - Fresno Chandler Executive Airport, Fresno, United States','country_id' => '228'),\narray('id' => '2991','name' => '(FCM) - Flying Cloud Airport, Minneapolis, United States','country_id' => '228'),\narray('id' => '2992','name' => '(FCS) - Butts AAF (Fort Carson) Air Field, Fort Carson, United States','country_id' => '228'),\narray('id' => '2993','name' => '(FCY) - Forrest City Municipal Airport, Forrest City, United States','country_id' => '228'),\narray('id' => '2994','name' => '(FDK) - Frederick Municipal Airport, Frederick, United States','country_id' => '228'),\narray('id' => '2995','name' => '(FDR) - Frederick Regional Airport, Frederick, United States','country_id' => '228'),\narray('id' => '2996','name' => '(FDY) - Findlay Airport, Findlay, United States','country_id' => '228'),\narray('id' => '2997','name' => '(FEP) - Albertus Airport, Freeport, United States','country_id' => '228'),\narray('id' => '2998','name' => '(FET) - Fremont Municipal Airport, Fremont, United States','country_id' => '228'),\narray('id' => '2999','name' => '(FFA) - First Flight Airport, Kill Devil Hills, United States','country_id' => '228'),\narray('id' => '3000','name' => '(FFL) - Fairfield Municipal Airport, Fairfield, United States','country_id' => '228'),\narray('id' => '3001','name' => '(FFM) - Fergus Falls Municipal Airport - Einar Mickelson Field, Fergus Falls, United States','country_id' => '228'),\narray('id' => '3002','name' => '(FFO) - Wright-Patterson Air Force Base, Dayton, United States','country_id' => '228'),\narray('id' => '3003','name' => '(FFT) - Capital City Airport, Frankfort, United States','country_id' => '228'),\narray('id' => '3004','name' => '(MSC) - Falcon Field, Mesa, United States','country_id' => '228'),\narray('id' => '3005','name' => '(FRD) - Friday Harbor Airport, Friday Harbor, United States','country_id' => '228'),\narray('id' => '3006','name' => '(FHU) - Sierra Vista Municipal Libby Army Air Field, Fort Huachuca Sierra Vista, United States','country_id' => '228'),\narray('id' => '3007','name' => '(FKL) - Venango Regional Airport, Franklin, United States','country_id' => '228'),\narray('id' => '3008','name' => '(FKN) - Franklin Municipal-John Beverly Rose Airport, Franklin, United States','country_id' => '228'),\narray('id' => '3009','name' => '(FLD) - Fond du Lac County Airport, Fond du Lac, United States','country_id' => '228'),\narray('id' => '3010','name' => '(FLG) - Flagstaff Pulliam Airport, Flagstaff, United States','country_id' => '228'),\narray('id' => '3011','name' => '(FLL) - Fort Lauderdale Hollywood International Airport, Fort Lauderdale, United States','country_id' => '228'),\narray('id' => '3012','name' => '(FLO) - Florence Regional Airport, Florence, United States','country_id' => '228'),\narray('id' => '3013','name' => '(FLP) - Marion County Regional Airport, Flippin, United States','country_id' => '228'),\narray('id' => '3014','name' => '(FLV) - Sherman Army Air Field, Fort Leavenworth, United States','country_id' => '228'),\narray('id' => '3015','name' => '(FLX) - Fallon Municipal Airport, Fallon, United States','country_id' => '228'),\narray('id' => '3016','name' => '(FME) - Tipton Airport, Fort Meade(Odenton), United States','country_id' => '228'),\narray('id' => '3017','name' => '(FMH) - Cape Cod Coast Guard Air Station, Falmouth, United States','country_id' => '228'),\narray('id' => '3018','name' => '(FMN) - Four Corners Regional Airport, Farmington, United States','country_id' => '228'),\narray('id' => '3019','name' => '(FMY) - Page Field, Fort Myers, United States','country_id' => '228'),\narray('id' => '3020','name' => '(FNL) - Fort Collins Loveland Municipal Airport, Fort Collins/Loveland, United States','country_id' => '228'),\narray('id' => '3021','name' => '(FNT) - Bishop International Airport, Flint, United States','country_id' => '228'),\narray('id' => '3022','name' => '(FOD) - Fort Dodge Regional Airport, Fort Dodge, United States','country_id' => '228'),\narray('id' => '3023','name' => '(FOE) - Topeka Regional Airport - Forbes Field, Topeka, United States','country_id' => '228'),\narray('id' => '3024','name' => '(FOK) - Francis S Gabreski Airport, Westhampton Beach, United States','country_id' => '228'),\narray('id' => '3025','name' => '(FIL) - Fillmore Municipal Airport, Fillmore, United States','country_id' => '228'),\narray('id' => '3026','name' => '(FPR) - St Lucie County International Airport, Fort Pierce, United States','country_id' => '228'),\narray('id' => '3027','name' => '(FRG) - Republic Airport, Farmingdale, United States','country_id' => '228'),\narray('id' => '3028','name' => '(FRH) - French Lick Municipal Airport, French Lick, United States','country_id' => '228'),\narray('id' => '3029','name' => '(FRI) - Marshall Army Air Field, Fort Riley(Junction City), United States','country_id' => '228'),\narray('id' => '3030','name' => '(FRM) - Fairmont Municipal Airport, Fairmont, United States','country_id' => '228'),\narray('id' => '3031','name' => '(FRR) - Front Royal Warren County Airport, Front Royal, United States','country_id' => '228'),\narray('id' => '3032','name' => '(FSD) - Joe Foss Field Airport, Sioux Falls, United States','country_id' => '228'),\narray('id' => '3033','name' => '(FSI) - Henry Post Army Air Field (Fort Sill), Fort Sill, United States','country_id' => '228'),\narray('id' => '3034','name' => '(FSK) - Fort Scott Municipal Airport, Fort Scott, United States','country_id' => '228'),\narray('id' => '3035','name' => '(FSM) - Fort Smith Regional Airport, Fort Smith, United States','country_id' => '228'),\narray('id' => '3036','name' => '(FST) - Fort Stockton Pecos County Airport, Fort Stockton, United States','country_id' => '228'),\narray('id' => '3037','name' => '(FSU) - Fort Sumner Municipal Airport, Fort Sumner, United States','country_id' => '228'),\narray('id' => '3038','name' => '(FMS) - Fort Madison Municipal Airport, Fort Madison, United States','country_id' => '228'),\narray('id' => '3039','name' => '(FTK) - Godman Army Air Field, Fort Knox, United States','country_id' => '228'),\narray('id' => '3040','name' => '(FTW) - Fort Worth Meacham International Airport, Fort Worth, United States','country_id' => '228'),\narray('id' => '3041','name' => '(FTY) - Fulton County Airport Brown Field, Atlanta, United States','country_id' => '228'),\narray('id' => '3042','name' => '(FUL) - Fullerton Municipal Airport, Fullerton, United States','country_id' => '228'),\narray('id' => '3043','name' => '(WFK) - Northern Aroostook Regional Airport, Frenchville, United States','country_id' => '228'),\narray('id' => '3044','name' => '(FWA) - Fort Wayne International Airport, Fort Wayne, United States','country_id' => '228'),\narray('id' => '3045','name' => '(FXE) - Fort Lauderdale Executive Airport, Fort Lauderdale, United States','country_id' => '228'),\narray('id' => '3046','name' => '(FXY) - Forest City Municipal Airport, Forest City, United States','country_id' => '228'),\narray('id' => '3047','name' => '(FYM) - Fayetteville Municipal Airport, Fayetteville, United States','country_id' => '228'),\narray('id' => '3048','name' => '(FYV) - Drake Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '3049','name' => '(GAG) - Gage Airport, Gage, United States','country_id' => '228'),\narray('id' => '3050','name' => '(GAI) - Montgomery County Airpark, Gaithersburg, United States','country_id' => '228'),\narray('id' => '3051','name' => '(GBD) - Great Bend Municipal Airport, Great Bend, United States','country_id' => '228'),\narray('id' => '3052','name' => '(GBG) - Galesburg Municipal Airport, Galesburg, United States','country_id' => '228'),\narray('id' => '3053','name' => '(GBR) - Walter J. Koladza Airport, Great Barrington, United States','country_id' => '228'),\narray('id' => '3054','name' => '(GCC) - Gillette Campbell County Airport, Gillette, United States','country_id' => '228'),\narray('id' => '3055','name' => '(JDA) - Grant Co Regional/Ogilvie Field, John Day, United States','country_id' => '228'),\narray('id' => '3056','name' => '(GCK) - Garden City Regional Airport, Garden City, United States','country_id' => '228'),\narray('id' => '3057','name' => '(GCN) - Grand Canyon National Park Airport, Grand Canyon, United States','country_id' => '228'),\narray('id' => '3058','name' => '(GCY) - Greeneville-Greene County Municipal Airport, Greeneville, United States','country_id' => '228'),\narray('id' => '3059','name' => '(GDM) - Gardner Municipal Airport, Gardner, United States','country_id' => '228'),\narray('id' => '3060','name' => '(GDV) - Dawson Community Airport, Glendive, United States','country_id' => '228'),\narray('id' => '3061','name' => '(GDW) - Gladwin Zettel Memorial Airport, Gladwin, United States','country_id' => '228'),\narray('id' => '3062','name' => '(GED) - Sussex County Airport, Georgetown, United States','country_id' => '228'),\narray('id' => '3063','name' => '(GEG) - Spokane International Airport, Spokane, United States','country_id' => '228'),\narray('id' => '3064','name' => '(GEY) - South Big Horn County Airport, Greybull, United States','country_id' => '228'),\narray('id' => '3065','name' => '(GFK) - Grand Forks International Airport, Grand Forks, United States','country_id' => '228'),\narray('id' => '3066','name' => '(GFL) - Floyd Bennett Memorial Airport, Glens Falls, United States','country_id' => '228'),\narray('id' => '3067','name' => '(GGE) - Georgetown County Airport, Georgetown, United States','country_id' => '228'),\narray('id' => '3068','name' => '(GGG) - East Texas Regional Airport, Longview, United States','country_id' => '228'),\narray('id' => '3069','name' => '(GGW) - Wokal Field Glasgow International Airport, Glasgow, United States','country_id' => '228'),\narray('id' => '3070','name' => '(GHM) - Centerville Municipal Airport, Centerville, United States','country_id' => '228'),\narray('id' => '3071','name' => '(GIF) - Winter Haven Municipal Airport - Gilbert Field, Winter Haven, United States','country_id' => '228'),\narray('id' => '3072','name' => '(GJT) - Grand Junction Regional Airport, Grand Junction, United States','country_id' => '228'),\narray('id' => '3073','name' => '(MEJ) - Port Meadville Airport, Meadville, United States','country_id' => '228'),\narray('id' => '3074','name' => '(GKT) - Gatlinburg-Pigeon Forge Airport, Sevierville, United States','country_id' => '228'),\narray('id' => '3075','name' => '(GLD) - Renner Field-Goodland Municipal Airport, Goodland, United States','country_id' => '228'),\narray('id' => '3076','name' => '(GLE) - Gainesville Municipal Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3077','name' => '(GLH) - Mid Delta Regional Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3078','name' => '(GLR) - Gaylord Regional Airport, Gaylord, United States','country_id' => '228'),\narray('id' => '3079','name' => '(GLS) - Scholes International At Galveston Airport, Galveston, United States','country_id' => '228'),\narray('id' => '3080','name' => '(GLW) - Glasgow Municipal Airport, Glasgow, United States','country_id' => '228'),\narray('id' => '3081','name' => '(GMU) - Greenville Downtown Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3082','name' => '(GNG) - Gooding Municipal Airport, Gooding, United States','country_id' => '228'),\narray('id' => '3083','name' => '(GNT) - Grants-Milan Municipal Airport, Grants, United States','country_id' => '228'),\narray('id' => '3084','name' => '(GNV) - Gainesville Regional Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3085','name' => '(GOK) - Guthrie-Edmond Regional Airport, Guthrie, United States','country_id' => '228'),\narray('id' => '3086','name' => '(GON) - Groton New London Airport, Groton (New London), United States','country_id' => '228'),\narray('id' => '3087','name' => '(FCA) - Glacier Park International Airport, Kalispell, United States','country_id' => '228'),\narray('id' => '3088','name' => '(GPT) - Gulfport Biloxi International Airport, Gulfport, United States','country_id' => '228'),\narray('id' => '3089','name' => '(GPZ) - Grand Rapids Itasca Co-Gordon Newstrom field, Grand Rapids, United States','country_id' => '228'),\narray('id' => '3090','name' => '(GQQ) - Galion Municipal Airport, Galion, United States','country_id' => '228'),\narray('id' => '3091','name' => '(GRB) - Austin Straubel International Airport, Green Bay, United States','country_id' => '228'),\narray('id' => '3092','name' => '(GRD) - Greenwood County Airport, Greenwood, United States','country_id' => '228'),\narray('id' => '3093','name' => '(GRE) - Greenville Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3094','name' => '(GRF) - Gray Army Air Field, Fort Lewis/Tacoma, United States','country_id' => '228'),\narray('id' => '3095','name' => '(GRI) - Central Nebraska Regional Airport, Grand Island, United States','country_id' => '228'),\narray('id' => '3096','name' => '(GRK) - Robert Gray Army Air Field Airport, Fort Hood/Killeen, United States','country_id' => '228'),\narray('id' => '3097','name' => '(GRN) - Gordon Municipal Airport, Gordon, United States','country_id' => '228'),\narray('id' => '3098','name' => '(GRR) - Gerald R. Ford International Airport, Grand Rapids, United States','country_id' => '228'),\narray('id' => '3099','name' => '(GSB) - Seymour Johnson Air Force Base, Goldsboro, United States','country_id' => '228'),\narray('id' => '3100','name' => '(GSH) - Goshen Municipal Airport, Goshen, United States','country_id' => '228'),\narray('id' => '3101','name' => '(GSO) - Piedmont Triad International Airport, Greensboro, United States','country_id' => '228'),\narray('id' => '3102','name' => '(GSP) - Greenville Spartanburg International Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3103','name' => '(GTF) - Great Falls International Airport, Great Falls, United States','country_id' => '228'),\narray('id' => '3104','name' => '(GTG) - Grantsburg Municipal Airport, Grantsburg, United States','country_id' => '228'),\narray('id' => '3105','name' => '(GTR) - Golden Triangle Regional Airport, Columbus/W Point/Starkville, United States','country_id' => '228'),\narray('id' => '3106','name' => '(GUC) - Gunnison Crested Butte Regional Airport, Gunnison, United States','country_id' => '228'),\narray('id' => '3107','name' => '(GUP) - Gallup Municipal Airport, Gallup, United States','country_id' => '228'),\narray('id' => '3108','name' => '(GUS) - Grissom Air Reserve Base, Peru, United States','country_id' => '228'),\narray('id' => '3109','name' => '(GUY) - Guymon Municipal Airport, Guymon, United States','country_id' => '228'),\narray('id' => '3110','name' => '(GVL) - Lee Gilmer Memorial Airport, Gainesville, United States','country_id' => '228'),\narray('id' => '3111','name' => '(GVT) - Majors Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3112','name' => '(KGW) - Kagi Airport, Kagi, Papua New Guinea','country_id' => '172'),\narray('id' => '3113','name' => '(GWO) - Greenwooda\"Leflore Airport, Greenwood, United States','country_id' => '228'),\narray('id' => '3114','name' => '(GWS) - Glenwood Springs Municipal Airport, Glenwood Springs, United States','country_id' => '228'),\narray('id' => '3115','name' => '(KGX) - Grayling Airport, Grayling, United States','country_id' => '228'),\narray('id' => '3116','name' => '(GXY) - Greeleya\"Weld County Airport, Greeley, United States','country_id' => '228'),\narray('id' => '3117','name' => '(GDC) - Donaldson Center Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3118','name' => '(PNX) - North Texas Regional Airport/Perrin Field, Sherman/Denison, United States','country_id' => '228'),\narray('id' => '3119','name' => '(GYR) - Phoenix Goodyear Airport, Goodyear, United States','country_id' => '228'),\narray('id' => '3120','name' => '(GYY) - Gary Chicago International Airport, Gary, United States','country_id' => '228'),\narray('id' => '3121','name' => '(KGZ) - Glacier Creek Airport, Glacier Creek, United States','country_id' => '228'),\narray('id' => '3122','name' => '(HAB) - Marion County Rankin Fite Airport, Hamilton, United States','country_id' => '228'),\narray('id' => '3123','name' => '(HAF) - Half Moon Bay Airport, Half Moon Bay, United States','country_id' => '228'),\narray('id' => '3124','name' => '(HAI) - Three Rivers Municipal Dr Haines Airport, Three Rivers, United States','country_id' => '228'),\narray('id' => '3125','name' => '(HAO) - Butler Co Regional Airport - Hogan Field, Hamilton, United States','country_id' => '228'),\narray('id' => '3126','name' => '(HBG) - Hattiesburg Bobby L Chain Municipal Airport, Hattiesburg, United States','country_id' => '228'),\narray('id' => '3127','name' => '(HBR) - Hobart Regional Airport, Hobart, United States','country_id' => '228'),\narray('id' => '3128','name' => '(HDE) - Brewster Field, Holdrege, United States','country_id' => '228'),\narray('id' => '3129','name' => '(HDN) - Yampa Valley Airport, Hayden, United States','country_id' => '228'),\narray('id' => '3130','name' => '(HEE) - Thompson-Robbins Airport, Helena/West Helena, United States','country_id' => '228'),\narray('id' => '3131','name' => '(MNZ) - Manassas Regional Airport/Harry P. Davis Field, Manassas, United States','country_id' => '228'),\narray('id' => '3132','name' => '(HEZ) - Hardy-Anders Field / Natchez-Adams County Airport, Natchez, United States','country_id' => '228'),\narray('id' => '3133','name' => '(HFD) - Hartford Brainard Airport, Hartford, United States','country_id' => '228'),\narray('id' => '3134','name' => '(HFF) - Mackall Army Air Field, Camp Mackall, United States','country_id' => '228'),\narray('id' => '3135','name' => '(HGR) - Hagerstown Regional Richard A Henson Field, Hagerstown, United States','country_id' => '228'),\narray('id' => '3136','name' => '(HHR) - Jack Northrop Field Hawthorne Municipal Airport, Hawthorne, United States','country_id' => '228'),\narray('id' => '3137','name' => '(HUJ) - Stan Stamper Municipal Airport, Hugo, United States','country_id' => '228'),\narray('id' => '3138','name' => '(HIB) - Range Regional Airport, Hibbing, United States','country_id' => '228'),\narray('id' => '3139','name' => '(HIE) - Mount Washington Regional Airport, Whitefield, United States','country_id' => '228'),\narray('id' => '3140','name' => '(HIF) - Hill Air Force Base, Ogden, United States','country_id' => '228'),\narray('id' => '3141','name' => '(HII) - Lake Havasu City Airport, Lake Havasu City, United States','country_id' => '228'),\narray('id' => '3142','name' => '(HIO) - Portland Hillsboro Airport, Portland, United States','country_id' => '228'),\narray('id' => '3143','name' => '(HKA) - Blytheville Municipal Airport, Blytheville, United States','country_id' => '228'),\narray('id' => '3144','name' => '(HKS) - Hawkins Field, Jackson, United States','country_id' => '228'),\narray('id' => '3145','name' => '(HKY) - Hickory Regional Airport, Hickory, United States','country_id' => '228'),\narray('id' => '3146','name' => '(HLB) - Hillenbrand Industries Airport, Batesville, United States','country_id' => '228'),\narray('id' => '3147','name' => '(HLC) - Hill City Municipal Airport, Hill City, United States','country_id' => '228'),\narray('id' => '3148','name' => '(HLG) - Wheeling Ohio County Airport, Wheeling, United States','country_id' => '228'),\narray('id' => '3149','name' => '(HLM) - Park Township Airport, Holland, United States','country_id' => '228'),\narray('id' => '3150','name' => '(HLN) - Helena Regional Airport, Helena, United States','country_id' => '228'),\narray('id' => '3151','name' => '(HLR) - Hood Army Air Field, Fort Hood(Killeen), United States','country_id' => '228'),\narray('id' => '3152','name' => '(HMN) - Holloman Air Force Base, Alamogordo, United States','country_id' => '228'),\narray('id' => '3153','name' => '(HMT) - Hemet Ryan Airport, Hemet, United States','country_id' => '228'),\narray('id' => '3154','name' => '(HNB) - Huntingburg Airport, Huntingburg, United States','country_id' => '228'),\narray('id' => '3155','name' => '(HSH) - Henderson Executive Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3156','name' => '(HOB) - Lea County Regional Airport, Hobbs, United States','country_id' => '228'),\narray('id' => '3157','name' => '(HON) - Huron Regional Airport, Huron, United States','country_id' => '228'),\narray('id' => '3158','name' => '(HOP) - Campbell AAF (Fort Campbell) Air Field, Fort Campbell/Hopkinsville, United States','country_id' => '228'),\narray('id' => '3159','name' => '(HOT) - Memorial Field, Hot Springs, United States','country_id' => '228'),\narray('id' => '3160','name' => '(HOU) - William P Hobby Airport, Houston, United States','country_id' => '228'),\narray('id' => '3161','name' => '(HPN) - Westchester County Airport, White Plains, United States','country_id' => '228'),\narray('id' => '3162','name' => '(HPT) - Hampton Municipal Airport, Hampton, United States','country_id' => '228'),\narray('id' => '3163','name' => '(HPY) - Baytown Airport, Baytown, United States','country_id' => '228'),\narray('id' => '3164','name' => '(HQM) - Bowerman Airport, Hoquiam, United States','country_id' => '228'),\narray('id' => '3165','name' => '(HES) - Hermiston Municipal Airport, Hermiston, United States','country_id' => '228'),\narray('id' => '3166','name' => '(HRL) - Valley International Airport, Harlingen, United States','country_id' => '228'),\narray('id' => '3167','name' => '(HRO) - Boone County Airport, Harrison, United States','country_id' => '228'),\narray('id' => '3168','name' => '(HSB) - Harrisburg-Raleigh Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '3169','name' => '(HNC) - Billy Mitchell Airport, Hatteras, United States','country_id' => '228'),\narray('id' => '3170','name' => '(HSI) - Hastings Municipal Airport, Hastings, United States','country_id' => '228'),\narray('id' => '3171','name' => '(HSP) - Ingalls Field, Hot Springs, United States','country_id' => '228'),\narray('id' => '3172','name' => '(HST) - Homestead ARB Airport, Homestead, United States','country_id' => '228'),\narray('id' => '3173','name' => '(HSV) - Huntsville International Carl T Jones Field, Huntsville, United States','country_id' => '228'),\narray('id' => '3174','name' => '(HTO) - East Hampton Airport, East Hampton, United States','country_id' => '228'),\narray('id' => '3175','name' => '(HTS) - Tri-State/Milton J. Ferguson Field, Huntington, United States','country_id' => '228'),\narray('id' => '3176','name' => '(HUA) - Redstone Army Air Field, Redstone Arsnl Huntsville, United States','country_id' => '228'),\narray('id' => '3177','name' => '(HUF) - Terre Haute International Hulman Field, Terre Haute, United States','country_id' => '228'),\narray('id' => '3178','name' => '(HUL) - Houlton International Airport, Houlton, United States','country_id' => '228'),\narray('id' => '3179','name' => '(HUM) - Houma Terrebonne Airport, Houma, United States','country_id' => '228'),\narray('id' => '3180','name' => '(HUT) - Hutchinson Municipal Airport, Hutchinson, United States','country_id' => '228'),\narray('id' => '3181','name' => '(HVE) - Hanksville Airport, Hanksville, United States','country_id' => '228'),\narray('id' => '3182','name' => '(HVN) - Tweed New Haven Airport, New Haven, United States','country_id' => '228'),\narray('id' => '3183','name' => '(HVR) - Havre City County Airport, Havre, United States','country_id' => '228'),\narray('id' => '3184','name' => '(HVS) - Hartsville Regional Airport, Hartsville, United States','country_id' => '228'),\narray('id' => '3185','name' => '(HWD) - Hayward Executive Airport, Hayward, United States','country_id' => '228'),\narray('id' => '3186','name' => '(HWO) - North Perry Airport, Hollywood, United States','country_id' => '228'),\narray('id' => '3187','name' => '(WSH) - Brookhaven Airport, Shirley, United States','country_id' => '228'),\narray('id' => '3188','name' => '(HHH) - Hilton Head Airport, Hilton Head Island, United States','country_id' => '228'),\narray('id' => '3189','name' => '(HYA) - Barnstable Municipal Boardman Polando Field, Hyannis, United States','country_id' => '228'),\narray('id' => '3190','name' => '(HYR) - Sawyer County Airport, Hayward, United States','country_id' => '228'),\narray('id' => '3191','name' => '(HYS) - Hays Regional Airport, Hays, United States','country_id' => '228'),\narray('id' => '3192','name' => '(HZL) - Hazleton Municipal Airport, Hazleton, United States','country_id' => '228'),\narray('id' => '3193','name' => '(JFN) - Northeast Ohio Regional Airport, Ashtabula, United States','country_id' => '228'),\narray('id' => '3194','name' => '(IAB) - Mc Connell Air Force Base, Wichita, United States','country_id' => '228'),\narray('id' => '3195','name' => '(IAD) - Washington Dulles International Airport, Washington, United States','country_id' => '228'),\narray('id' => '3196','name' => '(IAG) - Niagara Falls International Airport, Niagara Falls, United States','country_id' => '228'),\narray('id' => '3197','name' => '(IAH) - George Bush Intercontinental Houston Airport, Houston, United States','country_id' => '228'),\narray('id' => '3198','name' => '(ICL) - Schenck Field, Clarinda, United States','country_id' => '228'),\narray('id' => '3199','name' => '(ICT) - Wichita Mid Continent Airport, Wichita, United States','country_id' => '228'),\narray('id' => '3200','name' => '(IDA) - Idaho Falls Regional Airport, Idaho Falls, United States','country_id' => '228'),\narray('id' => '3201','name' => '(IDI) - Indiana County/Jimmy Stewart Fld/ Airport, Indiana, United States','country_id' => '228'),\narray('id' => '3202','name' => '(IDP) - Independence Municipal Airport, Independence, United States','country_id' => '228'),\narray('id' => '3203','name' => '(XPR) - Pine Ridge Airport, Pine Ridge, United States','country_id' => '228'),\narray('id' => '3204','name' => '(IFA) - Iowa Falls Municipal Airport, Iowa Falls, United States','country_id' => '228'),\narray('id' => '3205','name' => '(IFP) - Laughlin Bullhead International Airport, Bullhead City, United States','country_id' => '228'),\narray('id' => '3206','name' => '(IGM) - Kingman Airport, Kingman, United States','country_id' => '228'),\narray('id' => '3207','name' => '(IKK) - Greater Kankakee Airport, Kankakee, United States','country_id' => '228'),\narray('id' => '3208','name' => '(KIL) - Kilwa Airport, Kilwa, Congo (Kinshasa)','country_id' => '37'),\narray('id' => '3209','name' => '(ILE) - Skylark Field, Killeen, United States','country_id' => '228'),\narray('id' => '3210','name' => '(ILG) - New Castle Airport, Wilmington, United States','country_id' => '228'),\narray('id' => '3211','name' => '(ILM) - Wilmington International Airport, Wilmington, United States','country_id' => '228'),\narray('id' => '3212','name' => '(ILN) - Wilmington Airpark, Wilmington, United States','country_id' => '228'),\narray('id' => '3213','name' => '(IML) - Imperial Municipal Airport, Imperial, United States','country_id' => '228'),\narray('id' => '3214','name' => '(IMM) - Immokalee Regional Airport, Immokalee, United States','country_id' => '228'),\narray('id' => '3215','name' => '(MDN) - Madison Municipal Airport, Madison, United States','country_id' => '228'),\narray('id' => '3216','name' => '(IMT) - Ford Airport, Iron Mountain / Kingsford, United States','country_id' => '228'),\narray('id' => '3217','name' => '(IND) - Indianapolis International Airport, Indianapolis, United States','country_id' => '228'),\narray('id' => '3218','name' => '(INK) - Winkler County Airport, Wink, United States','country_id' => '228'),\narray('id' => '3219','name' => '(INL) - Falls International Airport, International Falls, United States','country_id' => '228'),\narray('id' => '3220','name' => '(INS) - Creech Air Force Base, Indian Springs, United States','country_id' => '228'),\narray('id' => '3221','name' => '(INT) - Smith Reynolds Airport, Winston Salem, United States','country_id' => '228'),\narray('id' => '3222','name' => '(INW) - Winslow Lindbergh Regional Airport, Winslow, United States','country_id' => '228'),\narray('id' => '3223','name' => '(IOW) - Iowa City Municipal Airport, Iowa City, United States','country_id' => '228'),\narray('id' => '3224','name' => '(IPL) - Imperial County Airport, Imperial, United States','country_id' => '228'),\narray('id' => '3225','name' => '(IPT) - Williamsport Regional Airport, Williamsport, United States','country_id' => '228'),\narray('id' => '3226','name' => '(KIQ) - Kira Airport, Kira, Papua New Guinea','country_id' => '172'),\narray('id' => '3227','name' => '(IRK) - Kirksville Regional Airport, Kirksville, United States','country_id' => '228'),\narray('id' => '3228','name' => '(IRS) - Kirsch Municipal Airport, Sturgis, United States','country_id' => '228'),\narray('id' => '3229','name' => '(ISM) - Kissimmee Gateway Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3230','name' => '(ISN) - Sloulin Field International Airport, Williston, United States','country_id' => '228'),\narray('id' => '3231','name' => '(ISO) - Kinston Regional Jetport At Stallings Field, Kinston, United States','country_id' => '228'),\narray('id' => '3232','name' => '(ISP) - Long Island Mac Arthur Airport, Islip, United States','country_id' => '228'),\narray('id' => '3233','name' => '(ISQ) - Schoolcraft County Airport, Manistique, United States','country_id' => '228'),\narray('id' => '3234','name' => '(ISW) - Alexander Field South Wood County Airport, Wisconsin Rapids, United States','country_id' => '228'),\narray('id' => '3235','name' => '(ITH) - Ithaca Tompkins Regional Airport, Ithaca, United States','country_id' => '228'),\narray('id' => '3236','name' => '(AZA) - Phoenix-Mesa-Gateway Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '3237','name' => '(IWD) - Gogebic Iron County Airport, Ironwood, United States','country_id' => '228'),\narray('id' => '3238','name' => '(ISS) - Wiscasset Airport, Wiscasset, United States','country_id' => '228'),\narray('id' => '3239','name' => '(IWS) - West Houston Airport, Houston, United States','country_id' => '228'),\narray('id' => '3240','name' => '(JCI) - New Century Aircenter Airport, Olathe, United States','country_id' => '228'),\narray('id' => '3241','name' => '(IYK) - Inyokern Airport, Inyokern, United States','country_id' => '228'),\narray('id' => '3242','name' => '(SQA) - Santa Ynez Airport, Santa Ynez, United States','country_id' => '228'),\narray('id' => '3243','name' => '(FRY) - Eastern Slopes Regional Airport, Fryeburg, United States','country_id' => '228'),\narray('id' => '3244','name' => '(JAC) - Jackson Hole Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3245','name' => '(JAN) - Jackson-Medgar Wiley Evers International Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3246','name' => '(JAS) - Jasper County Airport-Bell Field, Jasper, United States','country_id' => '228'),\narray('id' => '3247','name' => '(JAX) - Jacksonville International Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3248','name' => '(JBR) - Jonesboro Municipal Airport, Jonesboro, United States','country_id' => '228'),\narray('id' => '3249','name' => '(JCT) - Kimble County Airport, Junction, United States','country_id' => '228'),\narray('id' => '3250','name' => '(JDN) - Jordan Airport, Jordan, United States','country_id' => '228'),\narray('id' => '3251','name' => '(JEF) - Jefferson City Memorial Airport, Jefferson City, United States','country_id' => '228'),\narray('id' => '3252','name' => '(JFK) - John F Kennedy International Airport, New York, United States','country_id' => '228'),\narray('id' => '3253','name' => '(JHW) - Chautauqua County-Jamestown Airport, Jamestown, United States','country_id' => '228'),\narray('id' => '3254','name' => '(GUF) - Jack Edwards Airport, Gulf Shores, United States','country_id' => '228'),\narray('id' => '3255','name' => '(JLN) - Joplin Regional Airport, Joplin, United States','country_id' => '228'),\narray('id' => '3256','name' => '(JMS) - Jamestown Regional Airport, Jamestown, United States','country_id' => '228'),\narray('id' => '3257','name' => '(JOT) - Joliet Regional Airport, Joliet, United States','country_id' => '228'),\narray('id' => '3258','name' => '(USA) - Concord Regional Airport, Concord, United States','country_id' => '228'),\narray('id' => '3259','name' => '(JKV) - Cherokee County Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3260','name' => '(JST) - John Murtha Johnstown Cambria County Airport, Johnstown, United States','country_id' => '228'),\narray('id' => '3261','name' => '(JVL) - Southern Wisconsin Regional Airport, Janesville, United States','country_id' => '228'),\narray('id' => '3262','name' => '(JXN) - Jackson County Reynolds Field, Jackson, United States','country_id' => '228'),\narray('id' => '3263','name' => '(KIC) - Mesa Del Rey Airport, King City, United States','country_id' => '228'),\narray('id' => '3264','name' => '(KLS) - Southwest Washington Regional Airport, Kelso, United States','country_id' => '228'),\narray('id' => '3265','name' => '(KKU) - Ekuk Airport, Ekuk, United States','country_id' => '228'),\narray('id' => '3266','name' => '(DTH) - Furnace Creek Airport, Death Valley National Park, United States','country_id' => '228'),\narray('id' => '3267','name' => '(BXS) - Borrego Valley Airport, Borrego Springs, United States','country_id' => '228'),\narray('id' => '3268','name' => '(RBF) - Big Bear City Airport, Big Bear, United States','country_id' => '228'),\narray('id' => '3269','name' => '(TRH) - Trona Airport, Trona, United States','country_id' => '228'),\narray('id' => '3270','name' => '(LAA) - Lamar Municipal Airport, Lamar, United States','country_id' => '228'),\narray('id' => '3271','name' => '(LAF) - Purdue University Airport, Lafayette, United States','country_id' => '228'),\narray('id' => '3272','name' => '(LAL) - Lakeland Linder Regional Airport, Lakeland, United States','country_id' => '228'),\narray('id' => '3273','name' => '(LAM) - Los Alamos Airport, Los Alamos, United States','country_id' => '228'),\narray('id' => '3274','name' => '(LAN) - Capital City Airport, Lansing, United States','country_id' => '228'),\narray('id' => '3275','name' => '(LAR) - Laramie Regional Airport, Laramie, United States','country_id' => '228'),\narray('id' => '3276','name' => '(LAS) - McCarran International Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3277','name' => '(LAW) - Lawton Fort Sill Regional Airport, Lawton, United States','country_id' => '228'),\narray('id' => '3278','name' => '(LAX) - Los Angeles International Airport, Los Angeles, United States','country_id' => '228'),\narray('id' => '3279','name' => '(LBB) - Lubbock Preston Smith International Airport, Lubbock, United States','country_id' => '228'),\narray('id' => '3280','name' => '(LBE) - Arnold Palmer Regional Airport, Latrobe, United States','country_id' => '228'),\narray('id' => '3281','name' => '(LBF) - North Platte Regional Airport Lee Bird Field, North Platte, United States','country_id' => '228'),\narray('id' => '3282','name' => '(LBL) - Liberal Mid-America Regional Airport, Liberal, United States','country_id' => '228'),\narray('id' => '3283','name' => '(LBT) - Lumberton Regional Airport, Lumberton, United States','country_id' => '228'),\narray('id' => '3284','name' => '(LJN) - Texas Gulf Coast Regional Airport, Angleton/Lake Jackson, United States','country_id' => '228'),\narray('id' => '3285','name' => '(LCH) - Lake Charles Regional Airport, Lake Charles, United States','country_id' => '228'),\narray('id' => '3286','name' => '(LCI) - Laconia Municipal Airport, Laconia, United States','country_id' => '228'),\narray('id' => '3287','name' => '(LCK) - Rickenbacker International Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3288','name' => '(LCQ) - Lake City Gateway Airport, Lake City, United States','country_id' => '228'),\narray('id' => '3289','name' => '(LDJ) - Linden Airport, Linden, United States','country_id' => '228'),\narray('id' => '3290','name' => '(LDM) - Mason County Airport, Ludington, United States','country_id' => '228'),\narray('id' => '3291','name' => '(LEB) - Lebanon Municipal Airport, Lebanon, United States','country_id' => '228'),\narray('id' => '3292','name' => '(LEE) - Leesburg International Airport, Leesburg, United States','country_id' => '228'),\narray('id' => '3293','name' => '(LEM) - Lemmon Municipal Airport, Lemmon, United States','country_id' => '228'),\narray('id' => '3294','name' => '(LEW) - Auburn Lewiston Municipal Airport, Auburn/Lewiston, United States','country_id' => '228'),\narray('id' => '3295','name' => '(LEX) - Blue Grass Airport, Lexington, United States','country_id' => '228'),\narray('id' => '3296','name' => '(LFI) - Langley Air Force Base, Hampton, United States','country_id' => '228'),\narray('id' => '3297','name' => '(LFK) - Angelina County Airport, Lufkin, United States','country_id' => '228'),\narray('id' => '3298','name' => '(LFT) - Lafayette Regional Airport, Lafayette, United States','country_id' => '228'),\narray('id' => '3299','name' => '(LGA) - La Guardia Airport, New York, United States','country_id' => '228'),\narray('id' => '3300','name' => '(LGB) - Long Beach /Daugherty Field/ Airport, Long Beach, United States','country_id' => '228'),\narray('id' => '3301','name' => '(LGC) - Lagrange Callaway Airport, Lagrange, United States','country_id' => '228'),\narray('id' => '3302','name' => '(LGD) - La Grande/Union County Airport, La Grande, United States','country_id' => '228'),\narray('id' => '3303','name' => '(LGF) - Laguna Army Airfield, Yuma Proving Ground(Yuma), United States','country_id' => '228'),\narray('id' => '3304','name' => '(LGU) - Logan-Cache Airport, Logan, United States','country_id' => '228'),\narray('id' => '3305','name' => '(LHV) - William T. Piper Memorial Airport, Lock Haven, United States','country_id' => '228'),\narray('id' => '3306','name' => '(LIY) - Wright Aaf (Fort Stewart)/Midcoast Regional Airport, Fort Stewart(Hinesville), United States','country_id' => '228'),\narray('id' => '3307','name' => '(LFN) - Triangle North Executive Airport, Louisburg, United States','country_id' => '228'),\narray('id' => '3308','name' => '(LIC) - Limon Municipal Airport, Limon, United States','country_id' => '228'),\narray('id' => '3309','name' => '(LIT) - Bill & Hillary Clinton National Airport/Adams Field, Little Rock, United States','country_id' => '228'),\narray('id' => '3310','name' => '(LKP) - Lake Placid Airport, Lake Placid, United States','country_id' => '228'),\narray('id' => '3311','name' => '(LOW) - Louisa County Airport/Freeman Field, Louisa, United States','country_id' => '228'),\narray('id' => '3312','name' => '(LKV) - Lake County Airport, Lakeview, United States','country_id' => '228'),\narray('id' => '3313','name' => '(CHL) - Challis Airport, Challis, United States','country_id' => '228'),\narray('id' => '3314','name' => '(LMS) - Louisville Winston County Airport, Louisville, United States','country_id' => '228'),\narray('id' => '3315','name' => '(LMT) - Klamath Falls Airport, Klamath Falls, United States','country_id' => '228'),\narray('id' => '3316','name' => '(LNA) - Palm Beach County Park Airport, West Palm Beach, United States','country_id' => '228'),\narray('id' => '3317','name' => '(LND) - Hunt Field, Lander, United States','country_id' => '228'),\narray('id' => '3318','name' => '(LNK) - Lincoln Airport, Lincoln, United States','country_id' => '228'),\narray('id' => '3319','name' => '(LNN) - Willoughby Lost Nation Municipal Airport, Willoughby, United States','country_id' => '228'),\narray('id' => '3320','name' => '(LNP) - Lonesome Pine Airport, Wise, United States','country_id' => '228'),\narray('id' => '3321','name' => '(LNR) - Tri-County Regional Airport, Lone Rock, United States','country_id' => '228'),\narray('id' => '3322','name' => '(LNS) - Lancaster Airport, Lancaster, United States','country_id' => '228'),\narray('id' => '3323','name' => '(LOL) - Derby Field, Lovelock, United States','country_id' => '228'),\narray('id' => '3324','name' => '(BBX) - Wings Field, Philadelphia, United States','country_id' => '228'),\narray('id' => '3325','name' => '(LOT) - Lewis University Airport, Chicago/Romeoville, United States','country_id' => '228'),\narray('id' => '3326','name' => '(LOU) - Bowman Field, Louisville, United States','country_id' => '228'),\narray('id' => '3327','name' => '(LOZ) - London-Corbin Airport/Magee Field, London, United States','country_id' => '228'),\narray('id' => '3328','name' => '(LPC) - Lompoc Airport, Lompoc, United States','country_id' => '228'),\narray('id' => '3329','name' => '(LQK) - Pickens County Airport, Pickens, United States','country_id' => '228'),\narray('id' => '3330','name' => '(LRD) - Laredo International Airport, Laredo, United States','country_id' => '228'),\narray('id' => '3331','name' => '(LRF) - Little Rock Air Force Base, Jacksonville, United States','country_id' => '228'),\narray('id' => '3332','name' => '(LRJ) - Le Mars Municipal Airport, Le Mars, United States','country_id' => '228'),\narray('id' => '3333','name' => '(LRU) - Las Cruces International Airport, Las Cruces, United States','country_id' => '228'),\narray('id' => '3334','name' => '(LSB) - Lordsburg Municipal Airport, Lordsburg, United States','country_id' => '228'),\narray('id' => '3335','name' => '(LSE) - La Crosse Municipal Airport, La Crosse, United States','country_id' => '228'),\narray('id' => '3336','name' => '(LSF) - Lawson Army Air Field (Fort Benning), Fort Benning(Columbus), United States','country_id' => '228'),\narray('id' => '3337','name' => '(LSK) - Lusk Municipal Airport, Lusk, United States','country_id' => '228'),\narray('id' => '3338','name' => '(LSN) - Los Banos Municipal Airport, Los Banos, United States','country_id' => '228'),\narray('id' => '3339','name' => '(LSV) - Nellis Air Force Base, Las Vegas, United States','country_id' => '228'),\narray('id' => '3340','name' => '(LTS) - Altus Air Force Base, Altus, United States','country_id' => '228'),\narray('id' => '3341','name' => '(LUF) - Luke Air Force Base, Glendale, United States','country_id' => '228'),\narray('id' => '3342','name' => '(LUK) - Cincinnati Municipal Airport Lunken Field, Cincinnati, United States','country_id' => '228'),\narray('id' => '3343','name' => '(LUL) - Hesler Noble Field, Laurel, United States','country_id' => '228'),\narray('id' => '3344','name' => '(LVK) - Livermore Municipal Airport, Livermore, United States','country_id' => '228'),\narray('id' => '3345','name' => '(LVL) - Lawrenceville Brunswick Municipal Airport, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3346','name' => '(LVM) - Mission Field, Livingston, United States','country_id' => '228'),\narray('id' => '3347','name' => '(LVS) - Las Vegas Municipal Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3348','name' => '(LWB) - Greenbrier Valley Airport, Lewisburg, United States','country_id' => '228'),\narray('id' => '3349','name' => '(LWC) - Lawrence Municipal Airport, Lawrence, United States','country_id' => '228'),\narray('id' => '3350','name' => '(LWL) - Wells Municipal Airport/Harriet Field, Wells, United States','country_id' => '228'),\narray('id' => '3351','name' => '(LWM) - Lawrence Municipal Airport, Lawrence, United States','country_id' => '228'),\narray('id' => '3352','name' => '(LWS) - Lewiston Nez Perce County Airport, Lewiston, United States','country_id' => '228'),\narray('id' => '3353','name' => '(LWT) - Lewistown Municipal Airport, Lewistown, United States','country_id' => '228'),\narray('id' => '3354','name' => '(LWV) - Lawrenceville Vincennes International Airport, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3355','name' => '(LXN) - Jim Kelly Field, Lexington, United States','country_id' => '228'),\narray('id' => '3356','name' => '(LXV) - Lake County Airport, Leadville, United States','country_id' => '228'),\narray('id' => '3357','name' => '(LYH) - Lynchburg Regional Preston Glenn Field, Lynchburg, United States','country_id' => '228'),\narray('id' => '3358','name' => '(LYO) - Lyons-Rice County Municipal Airport, Lyons, United States','country_id' => '228'),\narray('id' => '3359','name' => '(LZU) - Gwinnett County Briscoe Field, Lawrenceville, United States','country_id' => '228'),\narray('id' => '3360','name' => '(PCU) - Poplarville Pearl River County Airport, Poplarville, United States','country_id' => '228'),\narray('id' => '3361','name' => '(MLK) - Malta Airport, Malta, United States','country_id' => '228'),\narray('id' => '3362','name' => '(MAC) - Macon Downtown Airport, Macon, United States','country_id' => '228'),\narray('id' => '3363','name' => '(MAE) - Madera Municipal Airport, Madera, United States','country_id' => '228'),\narray('id' => '3364','name' => '(MAF) - Midland International Airport, Midland, United States','country_id' => '228'),\narray('id' => '3365','name' => '(MAN) - KMAN, Nampa, United States','country_id' => '228'),\narray('id' => '3366','name' => '(MAW) - Malden Regional Airport, Malden, United States','country_id' => '228'),\narray('id' => '3367','name' => '(KMB) - Koinambe Airport, Konambe, Papua New Guinea','country_id' => '172'),\narray('id' => '3368','name' => '(MBG) - Mobridge Municipal Airport, Mobridge, United States','country_id' => '228'),\narray('id' => '3369','name' => '(MBL) - Manistee Co Blacker Airport, Manistee, United States','country_id' => '228'),\narray('id' => '3370','name' => '(DXE) - Bruce Campbell Field, Madison, United States','country_id' => '228'),\narray('id' => '3371','name' => '(MBS) - MBS International Airport, Saginaw, United States','country_id' => '228'),\narray('id' => '3372','name' => '(MBY) - Omar N Bradley Airport, Moberly, United States','country_id' => '228'),\narray('id' => '3373','name' => '(MCB) - Mc Comb/Pike County Airport/John E Lewis Field, Mc Comb, United States','country_id' => '228'),\narray('id' => '3374','name' => '(MCC) - Mc Clellan Airfield, Sacramento, United States','country_id' => '228'),\narray('id' => '3375','name' => '(MCD) - Mackinac Island Airport, Mackinac Island, United States','country_id' => '228'),\narray('id' => '3376','name' => '(MCE) - Merced Regional Macready Field, Merced, United States','country_id' => '228'),\narray('id' => '3377','name' => '(MCF) - Mac Dill Air Force Base, Tampa, United States','country_id' => '228'),\narray('id' => '3378','name' => '(MCI) - Kansas City International Airport, Kansas City, United States','country_id' => '228'),\narray('id' => '3379','name' => '(MCK) - Mc Cook Ben Nelson Regional Airport, Mc Cook, United States','country_id' => '228'),\narray('id' => '3380','name' => '(MCN) - Middle Georgia Regional Airport, Macon, United States','country_id' => '228'),\narray('id' => '3381','name' => '(MCO) - Orlando International Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3382','name' => '(MCW) - Mason City Municipal Airport, Mason City, United States','country_id' => '228'),\narray('id' => '3383','name' => '(MDD) - Midland Airpark, Midland, United States','country_id' => '228'),\narray('id' => '3384','name' => '(MDH) - Southern Illinois Airport, Carbondale/Murphysboro, United States','country_id' => '228'),\narray('id' => '3385','name' => '(XMD) - Madison Municipal Airport, Madison, United States','country_id' => '228'),\narray('id' => '3386','name' => '(MDT) - Harrisburg International Airport, Harrisburg, United States','country_id' => '228'),\narray('id' => '3387','name' => '(MDW) - Chicago Midway International Airport, Chicago, United States','country_id' => '228'),\narray('id' => '3388','name' => '(MDF) - Taylor County Airport, Medford, United States','country_id' => '228'),\narray('id' => '3389','name' => '(MEI) - Key Field, Meridian, United States','country_id' => '228'),\narray('id' => '3390','name' => '(MEM) - Memphis International Airport, Memphis, United States','country_id' => '228'),\narray('id' => '3391','name' => '(MER) - Castle Airport, Merced, United States','country_id' => '228'),\narray('id' => '3392','name' => '(MEV) - Minden-Tahoe Airport, Minden, United States','country_id' => '228'),\narray('id' => '3393','name' => '(KMF) - Kamina Airport, Hoieti, Papua New Guinea','country_id' => '172'),\narray('id' => '3394','name' => '(MFD) - Mansfield Lahm Regional Airport, Mansfield, United States','country_id' => '228'),\narray('id' => '3395','name' => '(MFE) - Mc Allen Miller International Airport, Mc Allen, United States','country_id' => '228'),\narray('id' => '3396','name' => '(MFI) - Marshfield Municipal Airport, Marshfield, United States','country_id' => '228'),\narray('id' => '3397','name' => '(MFR) - Rogue Valley International Medford Airport, Medford, United States','country_id' => '228'),\narray('id' => '3398','name' => '(MFV) - Accomack County Airport, Melfa, United States','country_id' => '228'),\narray('id' => '3399','name' => '(MGC) - Michigan City Municipal Airport, Michigan City, United States','country_id' => '228'),\narray('id' => '3400','name' => '(MGE) - Dobbins Air Reserve Base, Marietta, United States','country_id' => '228'),\narray('id' => '3401','name' => '(MGJ) - Orange County Airport, Montgomery, United States','country_id' => '228'),\narray('id' => '3402','name' => '(MGM) - Montgomery Regional (Dannelly Field) Airport, Montgomery, United States','country_id' => '228'),\narray('id' => '3403','name' => '(MGR) - Moultrie Municipal Airport, Moultrie, United States','country_id' => '228'),\narray('id' => '3404','name' => '(MGW) - Morgantown Municipal Walter L. Bill Hart Field, Morgantown, United States','country_id' => '228'),\narray('id' => '3405','name' => '(MGY) - Dayton-Wright Brothers Airport, Dayton, United States','country_id' => '228'),\narray('id' => '3406','name' => '(MHE) - Mitchell Municipal Airport, Mitchell, United States','country_id' => '228'),\narray('id' => '3407','name' => '(MHK) - Manhattan Regional Airport, Manhattan, United States','country_id' => '228'),\narray('id' => '3408','name' => '(MHL) - Marshall Memorial Municipal Airport, Marshall, United States','country_id' => '228'),\narray('id' => '3409','name' => '(MHR) - Sacramento Mather Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3410','name' => '(MHT) - Manchester Airport, Manchester, United States','country_id' => '228'),\narray('id' => '3411','name' => '(MHV) - Mojave Airport, Mojave, United States','country_id' => '228'),\narray('id' => '3412','name' => '(MIA) - Miami International Airport, Miami, United States','country_id' => '228'),\narray('id' => '3413','name' => '(MIE) - Delaware County Johnson Field, Muncie, United States','country_id' => '228'),\narray('id' => '3414','name' => '(MJX) - Ocean County Airport, Toms River, United States','country_id' => '228'),\narray('id' => '3415','name' => '(MKC) - Charles B. Wheeler Downtown Airport, Kansas City, United States','country_id' => '228'),\narray('id' => '3416','name' => '(MKE) - General Mitchell International Airport, Milwaukee, United States','country_id' => '228'),\narray('id' => '3417','name' => '(MKG) - Muskegon County Airport, Muskegon, United States','country_id' => '228'),\narray('id' => '3418','name' => '(MKL) - Mc Kellar Sipes Regional Airport, Jackson, United States','country_id' => '228'),\narray('id' => '3419','name' => '(MRK) - Marco Island Airport, Marco Island, United States','country_id' => '228'),\narray('id' => '3420','name' => '(MLB) - Melbourne International Airport, Melbourne, United States','country_id' => '228'),\narray('id' => '3421','name' => '(MLI) - Quad City International Airport, Moline, United States','country_id' => '228'),\narray('id' => '3422','name' => '(MLS) - Frank Wiley Field, Miles City, United States','country_id' => '228'),\narray('id' => '3423','name' => '(MLU) - Monroe Regional Airport, Monroe, United States','country_id' => '228'),\narray('id' => '3424','name' => '(KMM) - Kimaam Airport, Kimaam, Indonesia','country_id' => '97'),\narray('id' => '3425','name' => '(MMH) - Mammoth Yosemite Airport, Mammoth Lakes, United States','country_id' => '228'),\narray('id' => '3426','name' => '(MMI) - McMinn County Airport, Athens, United States','country_id' => '228'),\narray('id' => '3427','name' => '(MML) - Southwest Minnesota Regional Airport - Marshall/Ryan Field, Marshall, United States','country_id' => '228'),\narray('id' => '3428','name' => '(MMS) - Selfs Airport, Marks, United States','country_id' => '228'),\narray('id' => '3429','name' => '(MMT) - Mc Entire Joint National Guard Base, Eastover, United States','country_id' => '228'),\narray('id' => '3430','name' => '(MMU) - Morristown Municipal Airport, Morristown, United States','country_id' => '228'),\narray('id' => '3431','name' => '(MNN) - Marion Municipal Airport, Marion, United States','country_id' => '228'),\narray('id' => '3432','name' => '(MOB) - Mobile Regional Airport, Mobile, United States','country_id' => '228'),\narray('id' => '3433','name' => '(MOD) - Modesto City Co-Harry Sham Field, Modesto, United States','country_id' => '228'),\narray('id' => '3434','name' => '(MOT) - Minot International Airport, Minot, United States','country_id' => '228'),\narray('id' => '3435','name' => '(RMY) - Mariposa Yosemite Airport, Mariposa, United States','country_id' => '228'),\narray('id' => '3436','name' => '(MPV) - Edward F Knapp State Airport, Barre/Montpelier, United States','country_id' => '228'),\narray('id' => '3437','name' => '(MPZ) - Mount Pleasant Municipal Airport, Mount Pleasant, United States','country_id' => '228'),\narray('id' => '3438','name' => '(MQB) - Macomb Municipal Airport, Macomb, United States','country_id' => '228'),\narray('id' => '3439','name' => '(MEO) - Dare County Regional Airport, Manteo, United States','country_id' => '228'),\narray('id' => '3440','name' => '(CTH) - Chester County G O Carlson Airport, Coatesville, United States','country_id' => '228'),\narray('id' => '3441','name' => '(MQY) - Smyrna Airport, Smyrna, United States','country_id' => '228'),\narray('id' => '3442','name' => '(MRB) - Eastern WV Regional Airport/Shepherd Field, Martinsburg, United States','country_id' => '228'),\narray('id' => '3443','name' => '(MRC) - Maury County Airport, Columbia/Mount Pleasant, United States','country_id' => '228'),\narray('id' => '3444','name' => '(MRY) - Monterey Peninsula Airport, Monterey, United States','country_id' => '228'),\narray('id' => '3445','name' => '(MSL) - Northwest Alabama Regional Airport, Muscle Shoals, United States','country_id' => '228'),\narray('id' => '3446','name' => '(MSN) - Dane County Regional Truax Field, Madison, United States','country_id' => '228'),\narray('id' => '3447','name' => '(MSO) - Missoula International Airport, Missoula, United States','country_id' => '228'),\narray('id' => '3448','name' => '(MSP) - Minneapolis-St Paul International/Wold-Chamberlain Airport, Minneapolis, United States','country_id' => '228'),\narray('id' => '3449','name' => '(MSS) - Massena International Richards Field, Massena, United States','country_id' => '228'),\narray('id' => '3450','name' => '(MSY) - Louis Armstrong New Orleans International Airport, New Orleans, United States','country_id' => '228'),\narray('id' => '3451','name' => '(MTJ) - Montrose Regional Airport, Montrose, United States','country_id' => '228'),\narray('id' => '3452','name' => '(MUO) - Mountain Home Air Force Base, Mountain Home, United States','country_id' => '228'),\narray('id' => '3453','name' => '(MVC) - Monroe County Airport, Monroeville, United States','country_id' => '228'),\narray('id' => '3454','name' => '(MVL) - Morrisville Stowe State Airport, Morrisville, United States','country_id' => '228'),\narray('id' => '3455','name' => '(MVY) - Martha\\'s Vineyard Airport, Martha\\'s Vineyard, United States','country_id' => '228'),\narray('id' => '3456','name' => '(MWA) - Williamson County Regional Airport, Marion, United States','country_id' => '228'),\narray('id' => '3457','name' => '(MWH) - Grant County International Airport, Moses Lake, United States','country_id' => '228'),\narray('id' => '3458','name' => '(MWL) - Mineral Wells Airport, Mineral Wells, United States','country_id' => '228'),\narray('id' => '3459','name' => '(MYF) - Montgomery Field, San Diego, United States','country_id' => '228'),\narray('id' => '3460','name' => '(MYL) - McCall Municipal Airport, McCall, United States','country_id' => '228'),\narray('id' => '3461','name' => '(MYR) - Myrtle Beach International Airport, Myrtle Beach, United States','country_id' => '228'),\narray('id' => '3462','name' => '(MYV) - Yuba County Airport, Marysville, United States','country_id' => '228'),\narray('id' => '3463','name' => '(MZJ) - Pinal Airpark, Marana, United States','country_id' => '228'),\narray('id' => '3464','name' => '(MZZ) - Marion Municipal Airport, Marion, United States','country_id' => '228'),\narray('id' => '3465','name' => '(CTX) - Cortland County Chase Field, Cortland, United States','country_id' => '228'),\narray('id' => '3466','name' => '(SXY) - Sidney Municipal Airport, Sidney, United States','country_id' => '228'),\narray('id' => '3467','name' => '(ESP) - Stroudsburg Pocono Airport, East Stroudsburg, United States','country_id' => '228'),\narray('id' => '3468','name' => '(NBG) - New Orleans NAS JRB/Alvin Callender Field, New Orleans, United States','country_id' => '228'),\narray('id' => '3469','name' => '(NHX) - Naval Outlying Field Barin, Foley, United States','country_id' => '228'),\narray('id' => '3470','name' => '(DGN) - Dahlgren Naval Surface Warfare Center Airport, Dahlgren, United States','country_id' => '228'),\narray('id' => '3471','name' => '(NEL) - Lakehurst Maxfield Field Airport, Lakehurst, United States','country_id' => '228'),\narray('id' => '3472','name' => '(NEN) - Whitehouse Naval Outlying Field, Jacksonville, United States','country_id' => '228'),\narray('id' => '3473','name' => '(NEW) - Lakefront Airport, New Orleans, United States','country_id' => '228'),\narray('id' => '3474','name' => '(NFL) - Fallon Naval Air Station, Fallon, United States','country_id' => '228'),\narray('id' => '3475','name' => '(FWH) - NAS Fort Worth JRB/Carswell Field, Fort Worth, United States','country_id' => '228'),\narray('id' => '3476','name' => '(NHZ) - Brunswick Executive Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '3477','name' => '(NKX) - Miramar Marine Corps Air Station - Mitscher Field, San Diego, United States','country_id' => '228'),\narray('id' => '3478','name' => '(NLC) - Lemoore Naval Air Station (Reeves Field) Airport, Lemoore, United States','country_id' => '228'),\narray('id' => '3479','name' => '(NPA) - Pensacola Naval Air Station/Forrest Sherman Field, Pensacola, United States','country_id' => '228'),\narray('id' => '3480','name' => '(NQA) - Millington Regional Jetport Airport, Millington, United States','country_id' => '228'),\narray('id' => '3481','name' => '(NQI) - Kingsville Naval Air Station, Kingsville, United States','country_id' => '228'),\narray('id' => '3482','name' => '(NQX) - Naval Air Station Key West/Boca Chica Field, Key West, United States','country_id' => '228'),\narray('id' => '3483','name' => '(NRB) - Naval Station Mayport (Admiral David L. Mcdonald Field), Mayport, United States','country_id' => '228'),\narray('id' => '3484','name' => '(NRS) - Naval Outlying Field Imperial Beach (Ream Field), Imperial Beach, United States','country_id' => '228'),\narray('id' => '3485','name' => '(NSE) - Whiting Field Naval Air Station - North, Milton, United States','country_id' => '228'),\narray('id' => '3486','name' => '(NTD) - Point Mugu Naval Air Station (Naval Base Ventura Co), Point Mugu, United States','country_id' => '228'),\narray('id' => '3487','name' => '(YUM) - Yuma MCAS/Yuma International Airport, Yuma, United States','country_id' => '228'),\narray('id' => '3488','name' => '(NZY) - North Island Naval Air Station-Halsey Field, San Diego, United States','country_id' => '228'),\narray('id' => '3489','name' => '(NVN) - Nervino Airport, Beckwourth, United States','country_id' => '228'),\narray('id' => '3490','name' => '(COA) - Columbia Airport, Columbia, United States','country_id' => '228'),\narray('id' => '3491','name' => '(ODC) - Oakdale Airport, Oakdale, United States','country_id' => '228'),\narray('id' => '3492','name' => '(EYR) - Yerington Municipal Airport, Yerington, United States','country_id' => '228'),\narray('id' => '3493','name' => '(OAJ) - Albert J Ellis Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3494','name' => '(OAK) - Metropolitan Oakland International Airport, Oakland, United States','country_id' => '228'),\narray('id' => '3495','name' => '(OAR) - Marina Municipal Airport, Marina, United States','country_id' => '228'),\narray('id' => '3496','name' => '(OBE) - Okeechobee County Airport, Okeechobee, United States','country_id' => '228'),\narray('id' => '3497','name' => '(OCF) - Ocala International Airport - Jim Taylor Field, Ocala, United States','country_id' => '228'),\narray('id' => '3498','name' => '(OCH) - A L Mangham Jr. Regional Airport, Nacogdoches, United States','country_id' => '228'),\narray('id' => '3499','name' => '(OCW) - Warren Field, Washington, United States','country_id' => '228'),\narray('id' => '3500','name' => '(OEA) - O\\'Neal Airport, Vincennes, United States','country_id' => '228'),\narray('id' => '3501','name' => '(OEO) - L O Simenstad Municipal Airport, Osceola, United States','country_id' => '228'),\narray('id' => '3502','name' => '(OFF) - Offutt Air Force Base, Omaha, United States','country_id' => '228'),\narray('id' => '3503','name' => '(OFK) - Karl Stefan Memorial Airport, Norfolk, United States','country_id' => '228'),\narray('id' => '3504','name' => '(OGA) - Searle Field, Ogallala, United States','country_id' => '228'),\narray('id' => '3505','name' => '(OGB) - Orangeburg Municipal Airport, Orangeburg, United States','country_id' => '228'),\narray('id' => '3506','name' => '(OGD) - Ogden Hinckley Airport, Ogden, United States','country_id' => '228'),\narray('id' => '3507','name' => '(OGS) - Ogdensburg International Airport, Ogdensburg, United States','country_id' => '228'),\narray('id' => '3508','name' => '(OIC) - Lt Warren Eaton Airport, Norwich, United States','country_id' => '228'),\narray('id' => '3509','name' => '(OJC) - Johnson County Executive Airport, Olathe, United States','country_id' => '228'),\narray('id' => '3510','name' => '(OCN) - Oceanside Municipal Airport, Oceanside, United States','country_id' => '228'),\narray('id' => '3511','name' => '(OKC) - Will Rogers World Airport, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3512','name' => '(ODW) - AJ Eisenberg Airport, Oak Harbor, United States','country_id' => '228'),\narray('id' => '3513','name' => '(OKK) - Kokomo Municipal Airport, Kokomo, United States','country_id' => '228'),\narray('id' => '3514','name' => '(OKM) - Okmulgee Regional Airport, Okmulgee, United States','country_id' => '228'),\narray('id' => '3515','name' => '(OKS) - Garden County Airport, Oshkosh, United States','country_id' => '228'),\narray('id' => '3516','name' => '(WGO) - Winchester Regional Airport, Winchester, United States','country_id' => '228'),\narray('id' => '3517','name' => '(OLD) - Dewitt Field,Old Town Municipal Airport, Old Town, United States','country_id' => '228'),\narray('id' => '3518','name' => '(OLF) - L M Clayton Airport, Wolf Point, United States','country_id' => '228'),\narray('id' => '3519','name' => '(OLM) - Olympia Regional Airport, Olympia, United States','country_id' => '228'),\narray('id' => '3520','name' => '(OLV) - Olive Branch Airport, Olive Branch, United States','country_id' => '228'),\narray('id' => '3521','name' => '(KOM) - Komo-Manda Airport, Komo, Papua New Guinea','country_id' => '172'),\narray('id' => '3522','name' => '(OMA) - Eppley Airfield, Omaha, United States','country_id' => '228'),\narray('id' => '3523','name' => '(OMK) - Omak Airport, Omak, United States','country_id' => '228'),\narray('id' => '3524','name' => '(ONO) - Ontario Municipal Airport, Ontario, United States','country_id' => '228'),\narray('id' => '3525','name' => '(ONT) - Ontario International Airport, Ontario, United States','country_id' => '228'),\narray('id' => '3526','name' => '(NCO) - Quonset State Airport, North Kingstown, United States','country_id' => '228'),\narray('id' => '3527','name' => '(KOR) - Kakoro(Koroko) Airstrip, Kakoro, Papua New Guinea','country_id' => '172'),\narray('id' => '3528','name' => '(ORD) - Chicago O\\'Hare International Airport, Chicago, United States','country_id' => '228'),\narray('id' => '3529','name' => '(ORF) - Norfolk International Airport, Norfolk, United States','country_id' => '228'),\narray('id' => '3530','name' => '(ORH) - Worcester Regional Airport, Worcester, United States','country_id' => '228'),\narray('id' => '3531','name' => '(ESD) - Orcas Island Airport, Eastsound, United States','country_id' => '228'),\narray('id' => '3532','name' => '(OSH) - Wittman Regional Airport, Oshkosh, United States','country_id' => '228'),\narray('id' => '3533','name' => '(OSU) - Ohio State University Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3534','name' => '(OTH) - Southwest Oregon Regional Airport, North Bend, United States','country_id' => '228'),\narray('id' => '3535','name' => '(OTM) - Ottumwa Regional Airport, Ottumwa, United States','country_id' => '228'),\narray('id' => '3536','name' => '(OVE) - Oroville Municipal Airport, Oroville, United States','country_id' => '228'),\narray('id' => '3537','name' => '(OWA) - Owatonna Degner Regional Airport, Owatonna, United States','country_id' => '228'),\narray('id' => '3538','name' => '(OWB) - Owensboro Daviess County Airport, Owensboro, United States','country_id' => '228'),\narray('id' => '3539','name' => '(OWD) - Norwood Memorial Airport, Norwood, United States','country_id' => '228'),\narray('id' => '3540','name' => '(OWK) - Central Maine Airport of Norridgewock, Norridgewock, United States','country_id' => '228'),\narray('id' => '3541','name' => '(OCE) - Ocean City Municipal Airport, Ocean City, United States','country_id' => '228'),\narray('id' => '3542','name' => '(OXC) - Waterbury Oxford Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3543','name' => '(OXD) - Miami University Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3544','name' => '(OXR) - Oxnard Airport, Oxnard, United States','country_id' => '228'),\narray('id' => '3545','name' => '(STQ) - St Marys Municipal Airport, St Marys, United States','country_id' => '228'),\narray('id' => '3546','name' => '(OZA) - Ozona Municipal Airport, Ozona, United States','country_id' => '228'),\narray('id' => '3547','name' => '(OZR) - Cairns AAF (Fort Rucker) Air Field, Fort Rucker/Ozark, United States','country_id' => '228'),\narray('id' => '3548','name' => '(YJS) - Samjiyn Airport, Samjiyn, North Korea','country_id' => '117'),\narray('id' => '3549','name' => '(RGO) - Orang Airport, Chongjin, North Korea','country_id' => '117'),\narray('id' => '3550','name' => '(BSQ) - Bisbee Municipal Airport, Bisbee, United States','country_id' => '228'),\narray('id' => '3551','name' => '(PXL) - Polacca Airport, Polacca, United States','country_id' => '228'),\narray('id' => '3552','name' => '(GLB) - San Carlos Apache Airport, Globe, United States','country_id' => '228'),\narray('id' => '3553','name' => '(HBK) - Holbrook Municipal Airport, Holbrook, United States','country_id' => '228'),\narray('id' => '3554','name' => '(CWX) - Cochise County Airport, Willcox, United States','country_id' => '228'),\narray('id' => '3555','name' => '(PAE) - Snohomish County (Paine Field) Airport, Everett, United States','country_id' => '228'),\narray('id' => '3556','name' => '(PAH) - Barkley Regional Airport, Paducah, United States','country_id' => '228'),\narray('id' => '3557','name' => '(PAM) - Tyndall Air Force Base, Panama City, United States','country_id' => '228'),\narray('id' => '3558','name' => '(PJB) - Payson Airport, Payson, United States','country_id' => '228'),\narray('id' => '3559','name' => '(PAO) - Palo Alto Airport of Santa Clara County, Palo Alto, United States','country_id' => '228'),\narray('id' => '3560','name' => '(PBF) - Grider Field, Pine Bluff, United States','country_id' => '228'),\narray('id' => '3561','name' => '(PBG) - Plattsburgh International Airport, Plattsburgh, United States','country_id' => '228'),\narray('id' => '3562','name' => '(PBI) - Palm Beach International Airport, West Palm Beach, United States','country_id' => '228'),\narray('id' => '3563','name' => '(PVL) - Pike County-Hatcher Field, Pikeville, United States','country_id' => '228'),\narray('id' => '3564','name' => '(PCD) - Prairie Du Chien Municipal Airport, Prairie Du Chien, United States','country_id' => '228'),\narray('id' => '3565','name' => '(PDK) - DeKalb Peachtree Airport, Atlanta, United States','country_id' => '228'),\narray('id' => '3566','name' => '(PDT) - Eastern Oregon Regional At Pendleton Airport, Pendleton, United States','country_id' => '228'),\narray('id' => '3567','name' => '(PDX) - Portland International Airport, Portland, United States','country_id' => '228'),\narray('id' => '3568','name' => '(KPE) - Yapsiei Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '3569','name' => '(PEQ) - Pecos Municipal Airport, Pecos, United States','country_id' => '228'),\narray('id' => '3570','name' => '(PFN) - Panama City-Bay Co International Airport, Panama City, United States','country_id' => '228'),\narray('id' => '3571','name' => '(PGA) - Page Municipal Airport, Page, United States','country_id' => '228'),\narray('id' => '3572','name' => '(PGD) - Charlotte County Airport, Punta Gorda, United States','country_id' => '228'),\narray('id' => '3573','name' => '(PGR) - Kirk Field, Paragould, United States','country_id' => '228'),\narray('id' => '3574','name' => '(PGV) - Pitt Greenville Airport, Greenville, United States','country_id' => '228'),\narray('id' => '3575','name' => '(PHD) - Harry Clever Field, New Philadelphia, United States','country_id' => '228'),\narray('id' => '3576','name' => '(PHF) - Newport News Williamsburg International Airport, Newport News, United States','country_id' => '228'),\narray('id' => '3577','name' => '(ADR) - Robert F Swinnie Airport, Andrews, United States','country_id' => '228'),\narray('id' => '3578','name' => '(PHK) - Palm Beach County Glades Airport, Pahokee, United States','country_id' => '228'),\narray('id' => '3579','name' => '(PHL) - Philadelphia International Airport, Philadelphia, United States','country_id' => '228'),\narray('id' => '3580','name' => '(PHN) - St Clair County International Airport, Port Huron, United States','country_id' => '228'),\narray('id' => '3581','name' => '(PHP) - Philip Airport, Philip, United States','country_id' => '228'),\narray('id' => '3582','name' => '(PHT) - Henry County Airport, Paris, United States','country_id' => '228'),\narray('id' => '3583','name' => '(PHX) - Phoenix Sky Harbor International Airport, Phoenix, United States','country_id' => '228'),\narray('id' => '3584','name' => '(PIA) - General Wayne A. Downing Peoria International Airport, Peoria, United States','country_id' => '228'),\narray('id' => '3585','name' => '(PIB) - Hattiesburg Laurel Regional Airport, Hattiesburg/Laurel, United States','country_id' => '228'),\narray('id' => '3586','name' => '(PIE) - St Petersburg Clearwater International Airport, St Petersburg-Clearwater, United States','country_id' => '228'),\narray('id' => '3587','name' => '(PIH) - Pocatello Regional Airport, Pocatello, United States','country_id' => '228'),\narray('id' => '3588','name' => '(PIM) - Harris County Airport, Pine Mountain, United States','country_id' => '228'),\narray('id' => '3589','name' => '(PIR) - Pierre Regional Airport, Pierre, United States','country_id' => '228'),\narray('id' => '3590','name' => '(PIT) - Pittsburgh International Airport, Pittsburgh, United States','country_id' => '228'),\narray('id' => '3591','name' => '(PKB) - Mid Ohio Valley Regional Airport, Parkersburg, United States','country_id' => '228'),\narray('id' => '3592','name' => '(PKF) - Park Falls Municipal Airport, Park Falls, United States','country_id' => '228'),\narray('id' => '3593','name' => '(KPL) - Kapal Airport, Kapal, Papua New Guinea','country_id' => '172'),\narray('id' => '3594','name' => '(PLK) - M. Graham Clark Downtown Airport, Branson / Hollister, United States','country_id' => '228'),\narray('id' => '3595','name' => '(PLN) - Pellston Regional Airport of Emmet County Airport, Pellston, United States','country_id' => '228'),\narray('id' => '3596','name' => '(PLR) - St Clair County Airport, Pell City, United States','country_id' => '228'),\narray('id' => '3597','name' => '(PMB) - Pembina Municipal Airport, Pembina, United States','country_id' => '228'),\narray('id' => '3598','name' => '(PMD) - Palmdale Regional/USAF Plant 42 Airport, Palmdale, United States','country_id' => '228'),\narray('id' => '3599','name' => '(PMH) - Greater Portsmouth Regional Airport, Portsmouth, United States','country_id' => '228'),\narray('id' => '3600','name' => '(PPM) - Pompano Beach Airpark, Pompano Beach, United States','country_id' => '228'),\narray('id' => '3601','name' => '(PWY) - Ralph Wenz Field, Pinedale, United States','country_id' => '228'),\narray('id' => '3602','name' => '(PNC) - Ponca City Regional Airport, Ponca City, United States','country_id' => '228'),\narray('id' => '3603','name' => '(PNE) - Northeast Philadelphia Airport, Philadelphia, United States','country_id' => '228'),\narray('id' => '3604','name' => '(PNN) - Princeton Municipal Airport, Princeton, United States','country_id' => '228'),\narray('id' => '3605','name' => '(PNS) - Pensacola Regional Airport, Pensacola, United States','country_id' => '228'),\narray('id' => '3606','name' => '(POB) - Pope Field, Fayetteville, United States','country_id' => '228'),\narray('id' => '3607','name' => '(POC) - Brackett Field, La Verne, United States','country_id' => '228'),\narray('id' => '3608','name' => '(POE) - Polk Army Air Field, Fort Polk, United States','country_id' => '228'),\narray('id' => '3609','name' => '(POF) - Poplar Bluff Municipal Airport, Poplar Bluff, United States','country_id' => '228'),\narray('id' => '3610','name' => '(POU) - Dutchess County Airport, Poughkeepsie, United States','country_id' => '228'),\narray('id' => '3611','name' => '(POY) - Powell Municipal Airport, Powell, United States','country_id' => '228'),\narray('id' => '3612','name' => '(PPA) - Perry Lefors Field, Pampa, United States','country_id' => '228'),\narray('id' => '3613','name' => '(PPF) - Tri-City Airport, Parsons, United States','country_id' => '228'),\narray('id' => '3614','name' => '(LPO) - La Porte Municipal Airport, La Porte, United States','country_id' => '228'),\narray('id' => '3615','name' => '(PQI) - Northern Maine Regional Airport at Presque Isle, Presque Isle, United States','country_id' => '228'),\narray('id' => '3616','name' => '(PGL) - Trent Lott International Airport, Pascagoula, United States','country_id' => '228'),\narray('id' => '3617','name' => '(PRB) - Paso Robles Municipal Airport, Paso Robles, United States','country_id' => '228'),\narray('id' => '3618','name' => '(PRC) - Ernest A. Love Field, Prescott, United States','country_id' => '228'),\narray('id' => '3619','name' => '(PRO) - Perry Municipal Airport, Perry, United States','country_id' => '228'),\narray('id' => '3620','name' => '(PRX) - Cox Field, Paris, United States','country_id' => '228'),\narray('id' => '3621','name' => '(PSC) - Tri Cities Airport, Pasco, United States','country_id' => '228'),\narray('id' => '3622','name' => '(PSK) - New River Valley Airport, Dublin, United States','country_id' => '228'),\narray('id' => '3623','name' => '(PSM) - Portsmouth International at Pease Airport, Portsmouth, United States','country_id' => '228'),\narray('id' => '3624','name' => '(PSN) - Palestine Municipal Airport, Palestine, United States','country_id' => '228'),\narray('id' => '3625','name' => '(PGO) - Stevens Field, Pagosa Springs, United States','country_id' => '228'),\narray('id' => '3626','name' => '(PSP) - Palm Springs International Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3627','name' => '(PSX) - Palacios Municipal Airport, Palacios, United States','country_id' => '228'),\narray('id' => '3628','name' => '(PTB) - Dinwiddie County Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '3629','name' => '(PTK) - Oakland County International Airport, Pontiac, United States','country_id' => '228'),\narray('id' => '3630','name' => '(PTN) - Harry P Williams Memorial Airport, Patterson, United States','country_id' => '228'),\narray('id' => '3631','name' => '(PTT) - Pratt Regional Airport, Pratt, United States','country_id' => '228'),\narray('id' => '3632','name' => '(PTV) - Porterville Municipal Airport, Porterville, United States','country_id' => '228'),\narray('id' => '3633','name' => '(PUB) - Pueblo Memorial Airport, Pueblo, United States','country_id' => '228'),\narray('id' => '3634','name' => '(PUC) - Carbon County Regional/Buck Davis Field, Price, United States','country_id' => '228'),\narray('id' => '3635','name' => '(PUW) - Pullman Moscow Regional Airport, Pullman/Moscow,Id, United States','country_id' => '228'),\narray('id' => '3636','name' => '(PVC) - Provincetown Municipal Airport, Provincetown, United States','country_id' => '228'),\narray('id' => '3637','name' => '(PVD) - Theodore Francis Green State Airport, Providence, United States','country_id' => '228'),\narray('id' => '3638','name' => '(PVF) - Placerville Airport, Placerville, United States','country_id' => '228'),\narray('id' => '3639','name' => '(PVU) - Provo Municipal Airport, Provo, United States','country_id' => '228'),\narray('id' => '3640','name' => '(PVW) - Hale County Airport, Plainview, United States','country_id' => '228'),\narray('id' => '3641','name' => '(PWA) - Wiley Post Airport, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3642','name' => '(PWD) - Sher-Wood Airport, Plentywood, United States','country_id' => '228'),\narray('id' => '3643','name' => '(PWK) - Chicago Executive Airport, Chicago/Prospect Heights/Wheeling, United States','country_id' => '228'),\narray('id' => '3644','name' => '(PWM) - Portland International Jetport Airport, Portland, United States','country_id' => '228'),\narray('id' => '3645','name' => '(PWT) - Bremerton National Airport, Bremerton, United States','country_id' => '228'),\narray('id' => '3646','name' => '(KQL) - Kol Airport, Kol, Papua New Guinea','country_id' => '172'),\narray('id' => '3647','name' => '(RAC) - John H Batten Airport, Racine, United States','country_id' => '228'),\narray('id' => '3648','name' => '(RAL) - Riverside Municipal Airport, Riverside, United States','country_id' => '228'),\narray('id' => '3649','name' => '(RAP) - Rapid City Regional Airport, Rapid City, United States','country_id' => '228'),\narray('id' => '3650','name' => '(RBD) - Dallas Executive Airport, Dallas, United States','country_id' => '228'),\narray('id' => '3651','name' => '(RBG) - Roseburg Regional Airport, Roseburg, United States','country_id' => '228'),\narray('id' => '3652','name' => '(RBL) - Red Bluff Municipal Airport, Red Bluff, United States','country_id' => '228'),\narray('id' => '3653','name' => '(RBW) - Lowcountry Regional Airport, Walterboro, United States','country_id' => '228'),\narray('id' => '3654','name' => '(RCA) - Ellsworth Air Force Base, Rapid City, United States','country_id' => '228'),\narray('id' => '3655','name' => '(RCK) - H H Coffield Regional Airport, Rockdale, United States','country_id' => '228'),\narray('id' => '3656','name' => '(RCR) - Fulton County Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3657','name' => '(RCT) - Nartron Field, Reed City, United States','country_id' => '228'),\narray('id' => '3658','name' => '(RDD) - Redding Municipal Airport, Redding, United States','country_id' => '228'),\narray('id' => '3659','name' => '(RDG) - Reading Regional Carl A Spaatz Field, Reading, United States','country_id' => '228'),\narray('id' => '3660','name' => '(RDM) - Roberts Field, Redmond, United States','country_id' => '228'),\narray('id' => '3661','name' => '(RDR) - Grand Forks Air Force Base, Grand Forks, United States','country_id' => '228'),\narray('id' => '3662','name' => '(RDU) - Raleigh Durham International Airport, Raleigh/Durham, United States','country_id' => '228'),\narray('id' => '3663','name' => '(REO) - Rome State Airport, Rome, United States','country_id' => '228'),\narray('id' => '3664','name' => '(RFD) - Chicago Rockford International Airport, Chicago/Rockford, United States','country_id' => '228'),\narray('id' => '3665','name' => '(RHI) - Rhinelander Oneida County Airport, Rhinelander, United States','country_id' => '228'),\narray('id' => '3666','name' => '(RHV) - Reid-Hillview Airport of Santa Clara County, San Jose, United States','country_id' => '228'),\narray('id' => '3667','name' => '(RIC) - Richmond International Airport, Richmond, United States','country_id' => '228'),\narray('id' => '3668','name' => '(RIW) - Riverton Regional Airport, Riverton, United States','country_id' => '228'),\narray('id' => '3669','name' => '(KRJ) - Karawari Airstrip, Amboin, Papua New Guinea','country_id' => '172'),\narray('id' => '3670','name' => '(RKD) - Knox County Regional Airport, Rockland, United States','country_id' => '228'),\narray('id' => '3671','name' => '(RKP) - Aransas County Airport, Rockport, United States','country_id' => '228'),\narray('id' => '3672','name' => '(RKS) - Rock Springs Sweetwater County Airport, Rock Springs, United States','country_id' => '228'),\narray('id' => '3673','name' => '(RKW) - Rockwood Municipal Airport, Rockwood, United States','country_id' => '228'),\narray('id' => '3674','name' => '(RME) - Griffiss International Airport, Rome, United States','country_id' => '228'),\narray('id' => '3675','name' => '(RMG) - Richard B Russell Airport, Rome, United States','country_id' => '228'),\narray('id' => '3676','name' => '(RNC) - Warren County Memorial Airport, Mc Minnville, United States','country_id' => '228'),\narray('id' => '3677','name' => '(RND) - Randolph Air Force Base, Universal City, United States','country_id' => '228'),\narray('id' => '3678','name' => '(RNO) - Reno Tahoe International Airport, Reno, United States','country_id' => '228'),\narray('id' => '3679','name' => '(RNT) - Renton Municipal Airport, Renton, United States','country_id' => '228'),\narray('id' => '3680','name' => '(ROA) - Roanokea\"Blacksburg Regional Airport, Roanoke, United States','country_id' => '228'),\narray('id' => '3681','name' => '(ROC) - Greater Rochester International Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3682','name' => '(ROG) - Rogers Municipal Airport-Carter Field, Rogers, United States','country_id' => '228'),\narray('id' => '3683','name' => '(ROW) - Roswell International Air Center Airport, Roswell, United States','country_id' => '228'),\narray('id' => '3684','name' => '(ROX) - Roseau Municipal Rudy Billberg Field, Roseau, United States','country_id' => '228'),\narray('id' => '3685','name' => '(RIE) - hln, Rice Lake, United States','country_id' => '228'),\narray('id' => '3686','name' => '(RPX) - Roundup Airport, Roundup, United States','country_id' => '228'),\narray('id' => '3687','name' => '(WBR) - Roben Hood Airport, Big Rapids, United States','country_id' => '228'),\narray('id' => '3688','name' => '(RQO) - El Reno Regional Airport, El Reno, United States','country_id' => '228'),\narray('id' => '3689','name' => '(RRL) - Merrill Municipal Airport, Merrill, United States','country_id' => '228'),\narray('id' => '3690','name' => '(RRT) - Warroad International Memorial Airport, Warroad, United States','country_id' => '228'),\narray('id' => '3691','name' => '(RSL) - Russell Municipal Airport, Russell, United States','country_id' => '228'),\narray('id' => '3692','name' => '(RSN) - Ruston Regional Airport, Ruston, United States','country_id' => '228'),\narray('id' => '3693','name' => '(RST) - Rochester International Airport, Rochester, United States','country_id' => '228'),\narray('id' => '3694','name' => '(RSW) - Southwest Florida International Airport, Fort Myers, United States','country_id' => '228'),\narray('id' => '3695','name' => '(RTN) - Raton Municipal-Crews Field, Raton, United States','country_id' => '228'),\narray('id' => '3696','name' => '(KRU) - Kerau Airport, Gunim, Papua New Guinea','country_id' => '172'),\narray('id' => '3697','name' => '(SRW) - Rowan County Airport, Salisbury, United States','country_id' => '228'),\narray('id' => '3698','name' => '(RUT) - Rutland - Southern Vermont Regional Airport, Rutland, United States','country_id' => '228'),\narray('id' => '3699','name' => '(RED) - Mifflin County Airport, Reedsville, United States','country_id' => '228'),\narray('id' => '3700','name' => '(RVS) - Richard Lloyd Jones Jr Airport, Tulsa, United States','country_id' => '228'),\narray('id' => '3701','name' => '(RWF) - Redwood Falls Municipal Airport, Redwood Falls, United States','country_id' => '228'),\narray('id' => '3702','name' => '(RWI) - Rocky Mount Wilson Regional Airport, Rocky Mount, United States','country_id' => '228'),\narray('id' => '3703','name' => '(RWL) - Rawlins Municipal Airport/Harvey Field, Rawlins, United States','country_id' => '228'),\narray('id' => '3704','name' => '(RXE) - Rexburg Madison County Airport, Rexburg, United States','country_id' => '228'),\narray('id' => '3705','name' => '(RNZ) - Jasper County Airport, Rensselaer, United States','country_id' => '228'),\narray('id' => '3706','name' => '(AHM) - Ashland Municipal Sumner Parker Field, Ashland, United States','country_id' => '228'),\narray('id' => '3707','name' => '(BDY) - Bandon State Airport, Bandon, United States','country_id' => '228'),\narray('id' => '3708','name' => '(SUO) - Sunriver Airport, Sunriver, United States','country_id' => '228'),\narray('id' => '3709','name' => '(MDJ) - Madras Municipal Airport, Madras, United States','country_id' => '228'),\narray('id' => '3710','name' => '(PRZ) - Prineville Airport, Prineville, United States','country_id' => '228'),\narray('id' => '3711','name' => '(IDH) - Idaho County Airport, Grangeville, United States','country_id' => '228'),\narray('id' => '3712','name' => '(VSK) - Vista Field, Kennewick, United States','country_id' => '228'),\narray('id' => '3713','name' => '(SAC) - Sacramento Executive Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3714','name' => '(SAD) - Safford Regional Airport, Safford, United States','country_id' => '228'),\narray('id' => '3715','name' => '(SAF) - Santa Fe Municipal Airport, Santa Fe, United States','country_id' => '228'),\narray('id' => '3716','name' => '(SAN) - San Diego International Airport, San Diego, United States','country_id' => '228'),\narray('id' => '3717','name' => '(SAR) - Sparta Community Hunter Field, Sparta, United States','country_id' => '228'),\narray('id' => '3718','name' => '(SAT) - San Antonio International Airport, San Antonio, United States','country_id' => '228'),\narray('id' => '3719','name' => '(SAV) - Savannah Hilton Head International Airport, Savannah, United States','country_id' => '228'),\narray('id' => '3720','name' => '(MQT) - Sawyer International Airport, Marquette, United States','country_id' => '228'),\narray('id' => '3721','name' => '(SBA) - Santa Barbara Municipal Airport, Santa Barbara, United States','country_id' => '228'),\narray('id' => '3722','name' => '(SBD) - San Bernardino International Airport, San Bernardino, United States','country_id' => '228'),\narray('id' => '3723','name' => '(SBM) - Sheboygan County Memorial Airport, Sheboygan, United States','country_id' => '228'),\narray('id' => '3724','name' => '(SBN) - South Bend Regional Airport, South Bend, United States','country_id' => '228'),\narray('id' => '3725','name' => '(SBP) - San Luis County Regional Airport, San Luis Obispo, United States','country_id' => '228'),\narray('id' => '3726','name' => '(SBS) - Steamboat Springs Bob Adams Field, Steamboat Springs, United States','country_id' => '228'),\narray('id' => '3727','name' => '(SBX) - Shelby Airport, Shelby, United States','country_id' => '228'),\narray('id' => '3728','name' => '(SBY) - Salisbury Ocean City Wicomico Regional Airport, Salisbury, United States','country_id' => '228'),\narray('id' => '3729','name' => '(SCB) - Scribner State Airport, Scribner, United States','country_id' => '228'),\narray('id' => '3730','name' => '(SCH) - Schenectady County Airport, Schenectady, United States','country_id' => '228'),\narray('id' => '3731','name' => '(SCK) - Stockton Metropolitan Airport, Stockton, United States','country_id' => '228'),\narray('id' => '3732','name' => '(SDF) - Louisville International Standiford Field, Louisville, United States','country_id' => '228'),\narray('id' => '3733','name' => '(SCF) - Scottsdale Airport, Scottsdale, United States','country_id' => '228'),\narray('id' => '3734','name' => '(SDM) - Brown Field Municipal Airport, San Diego, United States','country_id' => '228'),\narray('id' => '3735','name' => '(SDY) - Sidney Richland Municipal Airport, Sidney, United States','country_id' => '228'),\narray('id' => '3736','name' => '(SEA) - Seattle Tacoma International Airport, Seattle, United States','country_id' => '228'),\narray('id' => '3737','name' => '(SEE) - Gillespie Field, San Diego/El Cajon, United States','country_id' => '228'),\narray('id' => '3738','name' => '(SEF) - Sebring Regional Airport, Sebring, United States','country_id' => '228'),\narray('id' => '3739','name' => '(SEG) - Penn Valley Airport, Selinsgrove, United States','country_id' => '228'),\narray('id' => '3740','name' => '(SEM) - Craig Field, Selma, United States','country_id' => '228'),\narray('id' => '3741','name' => '(SEP) - Stephenville Clark Regional Airport, Stephenville, United States','country_id' => '228'),\narray('id' => '3742','name' => '(SER) - Freeman Municipal Airport, Seymour, United States','country_id' => '228'),\narray('id' => '3743','name' => '(SDX) - Sedona Airport, Sedona, United States','country_id' => '228'),\narray('id' => '3744','name' => '(SFB) - Orlando Sanford International Airport, Orlando, United States','country_id' => '228'),\narray('id' => '3745','name' => '(SFF) - Felts Field, Spokane, United States','country_id' => '228'),\narray('id' => '3746','name' => '(SFM) - Sanford Seacoast Regional Airport, Sanford, United States','country_id' => '228'),\narray('id' => '3747','name' => '(SFO) - San Francisco International Airport, San Francisco, United States','country_id' => '228'),\narray('id' => '3748','name' => '(SFZ) - North Central State Airport, Pawtucket, United States','country_id' => '228'),\narray('id' => '3749','name' => '(SGF) - Springfield Branson National Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3750','name' => '(SGH) - Springfield-Beckley Municipal Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3751','name' => '(UST) - Northeast Florida Regional Airport, St Augustine, United States','country_id' => '228'),\narray('id' => '3752','name' => '(SGR) - Sugar Land Regional Airport, Houston, United States','country_id' => '228'),\narray('id' => '3753','name' => '(SGT) - Stuttgart Municipal Airport, Stuttgart, United States','country_id' => '228'),\narray('id' => '3754','name' => '(SGU) - St George Municipal Airport, St George, United States','country_id' => '228'),\narray('id' => '3755','name' => '(SHD) - Shenandoah Valley Regional Airport, Staunton/Waynesboro/Harrisonburg, United States','country_id' => '228'),\narray('id' => '3756','name' => '(SHN) - Sanderson Field, Shelton, United States','country_id' => '228'),\narray('id' => '3757','name' => '(SHR) - Sheridan County Airport, Sheridan, United States','country_id' => '228'),\narray('id' => '3758','name' => '(SHV) - Shreveport Regional Airport, Shreveport, United States','country_id' => '228'),\narray('id' => '3759','name' => '(SIK) - Sikeston Memorial Municipal Airport, Sikeston, United States','country_id' => '228'),\narray('id' => '3760','name' => '(SIV) - Sullivan County Airport, Monticello, United States','country_id' => '228'),\narray('id' => '3761','name' => '(SJC) - Norman Y. Mineta San Jose International Airport, San Jose, United States','country_id' => '228'),\narray('id' => '3762','name' => '(SJN) - St Johns Industrial Air Park, St Johns, United States','country_id' => '228'),\narray('id' => '3763','name' => '(SJT) - San Angelo Regional Mathis Field, San Angelo, United States','country_id' => '228'),\narray('id' => '3764','name' => '(SKA) - Fairchild Air Force Base, Spokane, United States','country_id' => '228'),\narray('id' => '3765','name' => '(SKF) - Lackland Air Force Base, San Antonio, United States','country_id' => '228'),\narray('id' => '3766','name' => '(TSM) - Taos Regional Airport, Taos, United States','country_id' => '228'),\narray('id' => '3767','name' => '(SLB) - Storm Lake Municipal Airport, Storm Lake, United States','country_id' => '228'),\narray('id' => '3768','name' => '(SLC) - Salt Lake City International Airport, Salt Lake City, United States','country_id' => '228'),\narray('id' => '3769','name' => '(SLE) - Salem Municipal Airport/McNary Field, Salem, United States','country_id' => '228'),\narray('id' => '3770','name' => '(SLG) - Smith Field, Siloam Springs, United States','country_id' => '228'),\narray('id' => '3771','name' => '(SLK) - Adirondack Regional Airport, Saranac Lake, United States','country_id' => '228'),\narray('id' => '3772','name' => '(SLN) - Salina Municipal Airport, Salina, United States','country_id' => '228'),\narray('id' => '3773','name' => '(SLO) - Salem Leckrone Airport, Salem, United States','country_id' => '228'),\narray('id' => '3774','name' => '(SLR) - Sulphur Springs Municipal Airport, Sulphur Springs, United States','country_id' => '228'),\narray('id' => '3775','name' => '(SMD) - Smith Field, Fort Wayne, United States','country_id' => '228'),\narray('id' => '3776','name' => '(SME) - Lake Cumberland Regional Airport, Somerset, United States','country_id' => '228'),\narray('id' => '3777','name' => '(SMF) - Sacramento International Airport, Sacramento, United States','country_id' => '228'),\narray('id' => '3778','name' => '(SMN) - Lemhi County Airport, Salmon, United States','country_id' => '228'),\narray('id' => '3779','name' => '(SMO) - Santa Monica Municipal Airport, Santa Monica, United States','country_id' => '228'),\narray('id' => '3780','name' => '(SUM) - Sumter Airport, Sumter, United States','country_id' => '228'),\narray('id' => '3781','name' => '(SMX) - Santa Maria Pub/Capt G Allan Hancock Field, Santa Maria, United States','country_id' => '228'),\narray('id' => '3782','name' => '(SNA) - John Wayne Airport-Orange County Airport, Santa Ana, United States','country_id' => '228'),\narray('id' => '3783','name' => '(SNK) - Winston Field, Snyder, United States','country_id' => '228'),\narray('id' => '3784','name' => '(SNL) - Shawnee Regional Airport, Shawnee, United States','country_id' => '228'),\narray('id' => '3785','name' => '(SNS) - Salinas Municipal Airport, Salinas, United States','country_id' => '228'),\narray('id' => '3786','name' => '(SNY) - Sidney Municipal-Lloyd W Carr Field, Sidney, United States','country_id' => '228'),\narray('id' => '3787','name' => '(SOP) - Moore County Airport, Pinehurst/Southern Pines, United States','country_id' => '228'),\narray('id' => '3788','name' => '(SOW) - Show Low Regional Airport, Show Low, United States','country_id' => '228'),\narray('id' => '3789','name' => '(KSP) - Kosipe Airport, Kosipe Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '3790','name' => '(SPA) - Spartanburg Downtown Memorial Airport, Spartanburg, United States','country_id' => '228'),\narray('id' => '3791','name' => '(SPF) - Black Hills Airport-Clyde Ice Field, Spearfish, United States','country_id' => '228'),\narray('id' => '3792','name' => '(SPI) - Abraham Lincoln Capital Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3793','name' => '(SPS) - Sheppard Air Force Base-Wichita Falls Municipal Airport, Wichita Falls, United States','country_id' => '228'),\narray('id' => '3794','name' => '(SPW) - Spencer Municipal Airport, Spencer, United States','country_id' => '228'),\narray('id' => '3795','name' => '(SQI) - Whiteside County Airport-Joseph H Bittorf Field, Sterling/Rockfalls, United States','country_id' => '228'),\narray('id' => '3796','name' => '(SQL) - San Carlos Airport, San Carlos, United States','country_id' => '228'),\narray('id' => '3797','name' => '(SRQ) - Sarasota Bradenton International Airport, Sarasota/Bradenton, United States','country_id' => '228'),\narray('id' => '3798','name' => '(RUI) - Sierra Blanca Regional Airport, Ruidoso, United States','country_id' => '228'),\narray('id' => '3799','name' => '(SSC) - Shaw Air Force Base, Sumter, United States','country_id' => '228'),\narray('id' => '3800','name' => '(SSF) - Stinson Municipal Airport, San Antonio, United States','country_id' => '228'),\narray('id' => '3801','name' => '(SSI) - Malcolm McKinnon Airport, Brunswick, United States','country_id' => '228'),\narray('id' => '3802','name' => '(STC) - St Cloud Regional Airport, St Cloud, United States','country_id' => '228'),\narray('id' => '3803','name' => '(STE) - Stevens Point Municipal Airport, Stevens Point, United States','country_id' => '228'),\narray('id' => '3804','name' => '(STJ) - Rosecrans Memorial Airport, St Joseph, United States','country_id' => '228'),\narray('id' => '3805','name' => '(STK) - Sterling Municipal Airport, Sterling, United States','country_id' => '228'),\narray('id' => '3806','name' => '(STL) - Lambert St Louis International Airport, St Louis, United States','country_id' => '228'),\narray('id' => '3807','name' => '(STP) - St Paul Downtown Holman Field, St Paul, United States','country_id' => '228'),\narray('id' => '3808','name' => '(STS) - Charles M. Schulz Sonoma County Airport, Santa Rosa, United States','country_id' => '228'),\narray('id' => '3809','name' => '(SUA) - Witham Field, Stuart, United States','country_id' => '228'),\narray('id' => '3810','name' => '(SUD) - Stroud Municipal Airport, Stroud, United States','country_id' => '228'),\narray('id' => '3811','name' => '(SUE) - Door County Cherryland Airport, Sturgeon Bay, United States','country_id' => '228'),\narray('id' => '3812','name' => '(SUN) - Friedman Memorial Airport, Hailey, United States','country_id' => '228'),\narray('id' => '3813','name' => '(SUS) - Spirit of St Louis Airport, St Louis, United States','country_id' => '228'),\narray('id' => '3814','name' => '(SUU) - Travis Air Force Base, Fairfield, United States','country_id' => '228'),\narray('id' => '3815','name' => '(SUW) - Richard I Bong Airport, Superior, United States','country_id' => '228'),\narray('id' => '3816','name' => '(SUX) - Sioux Gateway Col. Bud Day Field, Sioux City, United States','country_id' => '228'),\narray('id' => '3817','name' => '(SVC) - Grant County Airport, Silver City, United States','country_id' => '228'),\narray('id' => '3818','name' => '(SVE) - Susanville Municipal Airport, Susanville, United States','country_id' => '228'),\narray('id' => '3819','name' => '(SVH) - Statesville Regional Airport, Statesville, United States','country_id' => '228'),\narray('id' => '3820','name' => '(SVN) - Hunter Army Air Field, Savannah, United States','country_id' => '228'),\narray('id' => '3821','name' => '(SWF) - Stewart International Airport, Newburgh, United States','country_id' => '228'),\narray('id' => '3822','name' => '(SWO) - Stillwater Regional Airport, Stillwater, United States','country_id' => '228'),\narray('id' => '3823','name' => '(SWW) - Avenger Field, Sweetwater, United States','country_id' => '228'),\narray('id' => '3824','name' => '(SYI) - Bomar Field Shelbyville Municipal Airport, Shelbyville, United States','country_id' => '228'),\narray('id' => '3825','name' => '(SYR) - Syracuse Hancock International Airport, Syracuse, United States','country_id' => '228'),\narray('id' => '3826','name' => '(SYV) - Sylvester Airport, Sylvester, United States','country_id' => '228'),\narray('id' => '3827','name' => '(SZL) - Whiteman Air Force Base, Knob Noster, United States','country_id' => '228'),\narray('id' => '3828','name' => '(TBC) - Tuba City Airport, Tuba City, United States','country_id' => '228'),\narray('id' => '3829','name' => '(TAD) - Perry Stokes Airport, Trinidad, United States','country_id' => '228'),\narray('id' => '3830','name' => '(TBN) - Waynesville-St. Robert Regional Forney field, Fort Leonard Wood, United States','country_id' => '228'),\narray('id' => '3831','name' => '(TBR) - Statesboro Bulloch County Airport, Statesboro, United States','country_id' => '228'),\narray('id' => '3832','name' => '(KTC) - Katiola Airport, Katiola, Ivoire Coast','country_id' => '41'),\narray('id' => '3833','name' => '(TCC) - Tucumcari Municipal Airport, Tucumcari, United States','country_id' => '228'),\narray('id' => '3834','name' => '(TCL) - Tuscaloosa Regional Airport, Tuscaloosa, United States','country_id' => '228'),\narray('id' => '3835','name' => '(TCM) - McChord Air Force Base, Tacoma, United States','country_id' => '228'),\narray('id' => '3836','name' => '(TCS) - Truth Or Consequences Municipal Airport, Truth Or Consequences, United States','country_id' => '228'),\narray('id' => '3837','name' => '(TDO) - Ed Carlson Memorial Field South Lewis County Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3838','name' => '(TDW) - Tradewind Airport, Amarillo, United States','country_id' => '228'),\narray('id' => '3839','name' => '(TDZ) - Toledo Executive Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3840','name' => '(TEB) - Teterboro Airport, Teterboro, United States','country_id' => '228'),\narray('id' => '3841','name' => '(TEX) - Telluride Regional Airport, Telluride, United States','country_id' => '228'),\narray('id' => '3842','name' => '(THA) - Tullahoma Regional Arpt/Wm Northern Field, Tullahoma, United States','country_id' => '228'),\narray('id' => '3843','name' => '(THM) - Thompson Falls Airport, Thompson Falls, United States','country_id' => '228'),\narray('id' => '3844','name' => '(THP) - Hot Springs Co Thermopolis Municipal Airport, Thermopolis, United States','country_id' => '228'),\narray('id' => '3845','name' => '(THV) - York Airport, York, United States','country_id' => '228'),\narray('id' => '3846','name' => '(TIK) - Tinker Air Force Base, Oklahoma City, United States','country_id' => '228'),\narray('id' => '3847','name' => '(TIW) - Tacoma Narrows Airport, Tacoma, United States','country_id' => '228'),\narray('id' => '3848','name' => '(TIX) - Space Coast Regional Airport, Titusville, United States','country_id' => '228'),\narray('id' => '3849','name' => '(KNT) - Kennett Memorial Airport, Kennett, United States','country_id' => '228'),\narray('id' => '3850','name' => '(TLH) - Tallahassee Regional Airport, Tallahassee, United States','country_id' => '228'),\narray('id' => '3851','name' => '(TLR) - Mefford Field, Tulare, United States','country_id' => '228'),\narray('id' => '3852','name' => '(TMA) - Henry Tift Myers Airport, Tifton, United States','country_id' => '228'),\narray('id' => '3853','name' => '(TMB) - Kendall-Tamiami Executive Airport, Miami, United States','country_id' => '228'),\narray('id' => '3854','name' => '(OTK) - Tillamook Airport, Tillamook, United States','country_id' => '228'),\narray('id' => '3855','name' => '(TNP) - Twentynine Palms Airport, Twentynine Palms, United States','country_id' => '228'),\narray('id' => '3856','name' => '(TNT) - Dade Collier Training and Transition Airport, Miami, United States','country_id' => '228'),\narray('id' => '3857','name' => '(TNU) - Newton Municipal Airport, Newton, United States','country_id' => '228'),\narray('id' => '3858','name' => '(XSD) - Tonopah Test Range Airport, Tonopah, United States','country_id' => '228'),\narray('id' => '3859','name' => '(TOA) - Zamperini Field, Torrance, United States','country_id' => '228'),\narray('id' => '3860','name' => '(TOC) - Toccoa Airport - R.G. Letourneau Field, Toccoa, United States','country_id' => '228'),\narray('id' => '3861','name' => '(TOI) - Troy Municipal Airport, Troy, United States','country_id' => '228'),\narray('id' => '3862','name' => '(TOL) - Toledo Express Airport, Toledo, United States','country_id' => '228'),\narray('id' => '3863','name' => '(TOP) - Philip Billard Municipal Airport, Topeka, United States','country_id' => '228'),\narray('id' => '3864','name' => '(TOR) - Torrington Municipal Airport, Torrington, United States','country_id' => '228'),\narray('id' => '3865','name' => '(TPA) - Tampa International Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3866','name' => '(TPF) - Peter O Knight Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3867','name' => '(TPH) - Tonopah Airport, Tonopah, United States','country_id' => '228'),\narray('id' => '3868','name' => '(TPL) - Draughon Miller Central Texas Regional Airport, Temple, United States','country_id' => '228'),\narray('id' => '3869','name' => '(TRI) - Tri Cities Regional Tn Va Airport, Bristol/Johnson/Kingsport, United States','country_id' => '228'),\narray('id' => '3870','name' => '(TKF) - Truckee Tahoe Airport, Truckee, United States','country_id' => '228'),\narray('id' => '3871','name' => '(TRL) - Terrell Municipal Airport, Terrell, United States','country_id' => '228'),\narray('id' => '3872','name' => '(TRM) - Jacqueline Cochran Regional Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3873','name' => '(TSP) - Tehachapi Municipal Airport, Tehachapi, United States','country_id' => '228'),\narray('id' => '3874','name' => '(TTD) - Portland Troutdale Airport, Portland, United States','country_id' => '228'),\narray('id' => '3875','name' => '(TTN) - Trenton Mercer Airport, Trenton, United States','country_id' => '228'),\narray('id' => '3876','name' => '(TUL) - Tulsa International Airport, Tulsa, United States','country_id' => '228'),\narray('id' => '3877','name' => '(TUP) - Tupelo Regional Airport, Tupelo, United States','country_id' => '228'),\narray('id' => '3878','name' => '(TUS) - Tucson International Airport, Tucson, United States','country_id' => '228'),\narray('id' => '3879','name' => '(TVC) - Cherry Capital Airport, Traverse City, United States','country_id' => '228'),\narray('id' => '3880','name' => '(TVF) - Thief River Falls Regional Airport, Thief River Falls, United States','country_id' => '228'),\narray('id' => '3881','name' => '(TVI) - Thomasville Regional Airport, Thomasville, United States','country_id' => '228'),\narray('id' => '3882','name' => '(TVL) - Lake Tahoe Airport, South Lake Tahoe, United States','country_id' => '228'),\narray('id' => '3883','name' => '(TWF) - Joslin Field Magic Valley Regional Airport, Twin Falls, United States','country_id' => '228'),\narray('id' => '3884','name' => '(TXK) - Texarkana Regional Webb Field, Texarkana, United States','country_id' => '228'),\narray('id' => '3885','name' => '(TYZ) - Taylor Airport, Taylor, United States','country_id' => '228'),\narray('id' => '3886','name' => '(TYR) - Tyler Pounds Regional Airport, Tyler, United States','country_id' => '228'),\narray('id' => '3887','name' => '(TYS) - McGhee Tyson Airport, Knoxville, United States','country_id' => '228'),\narray('id' => '3888','name' => '(BFG) - Bullfrog Basin Airport, Glen Canyon Natl Rec Area, United States','country_id' => '228'),\narray('id' => '3889','name' => '(NPH) - Nephi Municipal Airport, Nephi, United States','country_id' => '228'),\narray('id' => '3890','name' => '(RVR) - Green River Municipal Airport, Green River, United States','country_id' => '228'),\narray('id' => '3891','name' => '(PNU) - Panguitch Municipal Airport, Panguitch, United States','country_id' => '228'),\narray('id' => '3892','name' => '(ICS) - Cascade Airport, Cascade, United States','country_id' => '228'),\narray('id' => '3893','name' => '(UBS) - Columbus Lowndes County Airport, Columbus, United States','country_id' => '228'),\narray('id' => '3894','name' => '(UCY) - Everett-Stewart Regional Airport, Union City, United States','country_id' => '228'),\narray('id' => '3895','name' => '(UDD) - Bermuda Dunes Airport, Palm Springs, United States','country_id' => '228'),\narray('id' => '3896','name' => '(UES) - Waukesha County Airport, Waukesha, United States','country_id' => '228'),\narray('id' => '3897','name' => '(UGN) - Waukegan National Airport, Chicago/Waukegan, United States','country_id' => '228'),\narray('id' => '3898','name' => '(UIL) - Quillayute Airport, Quillayute, United States','country_id' => '228'),\narray('id' => '3899','name' => '(UIN) - Quincy Regional Baldwin Field, Quincy, United States','country_id' => '228'),\narray('id' => '3900','name' => '(IKB) - Wilkes County Airport, North Wilkesboro, United States','country_id' => '228'),\narray('id' => '3901','name' => '(UKI) - Ukiah Municipal Airport, Ukiah, United States','country_id' => '228'),\narray('id' => '3902','name' => '(UKT) - Quakertown Airport, Quakertown, United States','country_id' => '228'),\narray('id' => '3903','name' => '(ULM) - New Ulm Municipal Airport, New Ulm, United States','country_id' => '228'),\narray('id' => '3904','name' => '(ATO) - Ohio University Snyder Field, Athens/Albany, United States','country_id' => '228'),\narray('id' => '3905','name' => '(UNU) - Dodge County Airport, Juneau, United States','country_id' => '228'),\narray('id' => '3906','name' => '(SCE) - University Park Airport, State College, United States','country_id' => '228'),\narray('id' => '3907','name' => '(UOS) - Franklin County Airport, Sewanee, United States','country_id' => '228'),\narray('id' => '3908','name' => '(UOX) - University Oxford Airport, Oxford, United States','country_id' => '228'),\narray('id' => '3909','name' => '(KUP) - Kupiano Airport, Kupiano, Papua New Guinea','country_id' => '172'),\narray('id' => '3910','name' => '(UTM) - Tunica Municipal Airport, Tunica, United States','country_id' => '228'),\narray('id' => '3911','name' => '(HTV) - Huntsville Regional Airport, Huntsville, United States','country_id' => '228'),\narray('id' => '3912','name' => '(NPT) - Newport State Airport, Newport, United States','country_id' => '228'),\narray('id' => '3913','name' => '(UVA) - Garner Field, Uvalde, United States','country_id' => '228'),\narray('id' => '3914','name' => '(KUX) - Kuyol Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '3915','name' => '(RKH) - Rock Hill - York County Airport, Rock Hill, United States','country_id' => '228'),\narray('id' => '3916','name' => '(VAD) - Moody Air Force Base, Valdosta, United States','country_id' => '228'),\narray('id' => '3917','name' => '(LLY) - South Jersey Regional Airport, Mount Holly, United States','country_id' => '228'),\narray('id' => '3918','name' => '(VBG) - Vandenberg Air Force Base, Lompoc, United States','country_id' => '228'),\narray('id' => '3919','name' => '(VCT) - Victoria Regional Airport, Victoria, United States','country_id' => '228'),\narray('id' => '3920','name' => '(VCV) - Southern California Logistics Airport, Victorville, United States','country_id' => '228'),\narray('id' => '3921','name' => '(VDI) - Vidalia Regional Airport, Vidalia, United States','country_id' => '228'),\narray('id' => '3922','name' => '(KVE) - Kitava Airport, Kitava Island, Papua New Guinea','country_id' => '172'),\narray('id' => '3923','name' => '(VEL) - Vernal Regional Airport, Vernal, United States','country_id' => '228'),\narray('id' => '3924','name' => '(VGT) - North Las Vegas Airport, Las Vegas, United States','country_id' => '228'),\narray('id' => '3925','name' => '(VHN) - Culberson County Airport, Van Horn, United States','country_id' => '228'),\narray('id' => '3926','name' => '(VIH) - Rolla National Airport, Rolla/Vichy, United States','country_id' => '228'),\narray('id' => '3927','name' => '(VIS) - Visalia Municipal Airport, Visalia, United States','country_id' => '228'),\narray('id' => '3928','name' => '(VJI) - Virginia Highlands Airport, Abingdon, United States','country_id' => '228'),\narray('id' => '3929','name' => '(VKS) - Vicksburg Municipal Airport, Vicksburg, United States','country_id' => '228'),\narray('id' => '3930','name' => '(VLA) - Vandalia Municipal Airport, Vandalia, United States','country_id' => '228'),\narray('id' => '3931','name' => '(VLD) - Valdosta Regional Airport, Valdosta, United States','country_id' => '228'),\narray('id' => '3932','name' => '(VNC) - Venice Municipal Airport, Venice, United States','country_id' => '228'),\narray('id' => '3933','name' => '(VNY) - Van Nuys Airport, Van Nuys, United States','country_id' => '228'),\narray('id' => '3934','name' => '(VOK) - Volk Field, Camp Douglas, United States','country_id' => '228'),\narray('id' => '3935','name' => '(VPS) - Eglin Air Force Base, Valparaiso, United States','country_id' => '228'),\narray('id' => '3936','name' => '(VPZ) - Porter County Municipal Airport, Valparaiso, United States','country_id' => '228'),\narray('id' => '3937','name' => '(VQQ) - Cecil Airport, Jacksonville, United States','country_id' => '228'),\narray('id' => '3938','name' => '(VRB) - Vero Beach Municipal Airport, Vero Beach, United States','country_id' => '228'),\narray('id' => '3939','name' => '(VSF) - Hartness State (Springfield) Airport, Springfield, United States','country_id' => '228'),\narray('id' => '3940','name' => '(VTN) - Miller Field, Valentine, United States','country_id' => '228'),\narray('id' => '3941','name' => '(VYS) - Illinois Valley Regional Airport-Walter A Duncan Field, Peru, United States','country_id' => '228'),\narray('id' => '3942','name' => '(GTY) - Gettysburg Regional Airport, Gettysburg, United States','country_id' => '228'),\narray('id' => '3943','name' => '(SQV) - Sequim Valley Airport, Sequim, United States','country_id' => '228'),\narray('id' => '3944','name' => '(PGC) - Grant County Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '3945','name' => '(WAL) - Wallops Flight Facility Airport, Wallops Island, United States','country_id' => '228'),\narray('id' => '3946','name' => '(WAY) - Greene County Airport, Waynesburg, United States','country_id' => '228'),\narray('id' => '3947','name' => '(WBW) - Wilkes Barre Wyoming Valley Airport, Wilkes-Barre, United States','country_id' => '228'),\narray('id' => '3948','name' => '(WDG) - Enid Woodring Regional Airport, Enid, United States','country_id' => '228'),\narray('id' => '3949','name' => '(WDR) - Barrow County Airport, Winder, United States','country_id' => '228'),\narray('id' => '3950','name' => '(WHP) - Whiteman Airport, Los Angeles, United States','country_id' => '228'),\narray('id' => '3951','name' => '(WJF) - General WM J Fox Airfield, Lancaster, United States','country_id' => '228'),\narray('id' => '3952','name' => '(WLD) - Strother Field, Winfield/Arkansas City, United States','country_id' => '228'),\narray('id' => '3953','name' => '(WLW) - Willows Glenn County Airport, Willows, United States','country_id' => '228'),\narray('id' => '3954','name' => '(WMC) - Winnemucca Municipal Airport, Winnemucca, United States','country_id' => '228'),\narray('id' => '3955','name' => '(WRB) - Robins Air Force Base, Warner Robins, United States','country_id' => '228'),\narray('id' => '3956','name' => '(WRI) - Mc Guire Air Force Base, Wrightstown, United States','country_id' => '228'),\narray('id' => '3957','name' => '(WRL) - Worland Municipal Airport, Worland, United States','country_id' => '228'),\narray('id' => '3958','name' => '(WSD) - Condron Army Air Field, White Sands, United States','country_id' => '228'),\narray('id' => '3959','name' => '(WST) - Westerly State Airport, Westerly, United States','country_id' => '228'),\narray('id' => '3960','name' => '(WVI) - Watsonville Municipal Airport, Watsonville, United States','country_id' => '228'),\narray('id' => '3961','name' => '(WVL) - Waterville Robert Lafleur Airport, Waterville, United States','country_id' => '228'),\narray('id' => '3962','name' => '(WWD) - Cape May County Airport, Wildwood, United States','country_id' => '228'),\narray('id' => '3963','name' => '(WWR) - West Woodward Airport, Woodward, United States','country_id' => '228'),\narray('id' => '3964','name' => '(KWY) - Kiwayu Airport, Kiwayu, Kenya','country_id' => '111'),\narray('id' => '3965','name' => '(WYS) - Yellowstone Airport, West Yellowstone, United States','country_id' => '228'),\narray('id' => '3966','name' => '(KYO) - Tampa North Aero Park Airport, Tampa, United States','country_id' => '228'),\narray('id' => '3967','name' => '(XNA) - Northwest Arkansas Regional Airport, Fayetteville/Springdale, United States','country_id' => '228'),\narray('id' => '3968','name' => '(YIP) - Willow Run Airport, Detroit, United States','country_id' => '228'),\narray('id' => '3969','name' => '(YKM) - Yakima Air Terminal McAllister Field, Yakima, United States','country_id' => '228'),\narray('id' => '3970','name' => '(YKN) - Chan Gurney Municipal Airport, Yankton, United States','country_id' => '228'),\narray('id' => '3971','name' => '(YNG) - Youngstown Warren Regional Airport, Youngstown/Warren, United States','country_id' => '228'),\narray('id' => '3972','name' => '(DZN) - Dzhezkazgan Airport, Dzhezkazgan, Kazakhstan','country_id' => '121'),\narray('id' => '3973','name' => '(TDK) - Taldykorgan Airport, Taldy Kurgan, Kazakhstan','country_id' => '121'),\narray('id' => '3974','name' => '(ATX) - Atbasar Airport, Atbasar, Kazakhstan','country_id' => '121'),\narray('id' => '3975','name' => '(KZF) - Kaintiba Airport, Kaintiba, Papua New Guinea','country_id' => '172'),\narray('id' => '3976','name' => '(ZPH) - Zephyrhills Municipal Airport, Zephyrhills, United States','country_id' => '228'),\narray('id' => '3977','name' => '(KZR) - Zafer Airport, KAtahya, Turkey','country_id' => '220'),\narray('id' => '3978','name' => '(ZZV) - Zanesville Municipal Airport, Zanesville, United States','country_id' => '228'),\narray('id' => '3979','name' => '(LAC) - Layang-Layang Airport, Spratley Islands, Malaysia','country_id' => '154'),\narray('id' => '3980','name' => '(TIA) - Tirana International Airport Mother Teresa, Tirana, Albania','country_id' => '5'),\narray('id' => '3981','name' => '(BOJ) - Burgas Airport, Burgas, Bulgaria','country_id' => '20'),\narray('id' => '3982','name' => '(GOZ) - Gorna Oryahovitsa Airport, Gorna Oryahovitsa, Bulgaria','country_id' => '20'),\narray('id' => '3983','name' => '(LBM) - Luabo Airport, Luabo, Mozambique','country_id' => '155'),\narray('id' => '3984','name' => '(PDV) - Plovdiv International Airport, Plovdiv, Bulgaria','country_id' => '20'),\narray('id' => '3985','name' => '(PVN) - Dolna Mitropoliya Air Base, Dolna Mitropoliya, Bulgaria','country_id' => '20'),\narray('id' => '3986','name' => '(SOF) - Sofia Airport, Sofia, Bulgaria','country_id' => '20'),\narray('id' => '3987','name' => '(SLS) - Silistra Polkovnik Lambrinovo Airfield, Silistra, Bulgaria','country_id' => '20'),\narray('id' => '3988','name' => '(SZR) - Stara Zagora Airport, Stara Zagora, Bulgaria','country_id' => '20'),\narray('id' => '3989','name' => '(TGV) - Bukhovtsi Airfield, Targovishte, Bulgaria','country_id' => '20'),\narray('id' => '3990','name' => '(VID) - Vidin Smurdan Airfield, Vidin, Bulgaria','country_id' => '20'),\narray('id' => '3991','name' => '(VAR) - Varna Airport, Varna, Bulgaria','country_id' => '20'),\narray('id' => '3992','name' => '(ECN) - Ercan International Airport, Nicosia, Cyprus','country_id' => '52'),\narray('id' => '3993','name' => '(LCA) - Larnaca International Airport, Larnarca, Cyprus','country_id' => '52'),\narray('id' => '3994','name' => '(LCP) - Loncopue Airport, Loncopue, Argentina','country_id' => '9'),\narray('id' => '3995','name' => '(PFO) - Paphos International Airport, Paphos, Cyprus','country_id' => '52'),\narray('id' => '3996','name' => '(AKT) - RAF Akrotiri, Akrotiri, United Kingdom','country_id' => '74'),\narray('id' => '3997','name' => '(DBV) - Dubrovnik Airport, Dubrovnik, Croatia','country_id' => '94'),\narray('id' => '3998','name' => '(LSZ) - Loinj Island Airport, Loinj, Croatia','country_id' => '94'),\narray('id' => '3999','name' => '(OSI) - Osijek Airport, Osijek, Croatia','country_id' => '94'),\narray('id' => '4000','name' => '(PUY) - Pula Airport, Pula, Croatia','country_id' => '94'),\narray('id' => '4001','name' => '(RJK) - Rijeka Airport, Rijeka, Croatia','country_id' => '94'),\narray('id' => '4002','name' => '(BWK) - Bol Airport, BraA Island, Croatia','country_id' => '94'),\narray('id' => '4003','name' => '(SPU) - Split Airport, Split, Croatia','country_id' => '94'),\narray('id' => '4004','name' => '(LDW) - Lansdowne Airport, Lansdowne Station, Australia','country_id' => '12'),\narray('id' => '4005','name' => '(ZAG) - Zagreb Airport, Zagreb, Croatia','country_id' => '94'),\narray('id' => '4006','name' => '(ZAD) - Zemunik Airport, Zadar, Croatia','country_id' => '94'),\narray('id' => '4007','name' => '(ABC) - Albacete-Los Llanos Airport, Albacete, Spain','country_id' => '65'),\narray('id' => '4008','name' => '(ALC) - Alicante International Airport, Alicante, Spain','country_id' => '65'),\narray('id' => '4009','name' => '(LEI) - AlmerAa International Airport, AlmerAa, Spain','country_id' => '65'),\narray('id' => '4010','name' => '(OVD) - Asturias Airport, RanAn, Spain','country_id' => '65'),\narray('id' => '4011','name' => '(ODB) - CArdoba Airport, CArdoba, Spain','country_id' => '65'),\narray('id' => '4012','name' => '(BIO) - Bilbao Airport, Bilbao, Spain','country_id' => '65'),\narray('id' => '4013','name' => '(RGS) - Burgos Airport, Burgos, Spain','country_id' => '65'),\narray('id' => '4014','name' => '(BCN) - Barcelona International Airport, Barcelona, Spain','country_id' => '65'),\narray('id' => '4015','name' => '(BJZ) - Badajoz Airport, Badajoz, Spain','country_id' => '65'),\narray('id' => '4016','name' => '(LCG) - A CoruAa Airport, Culleredo, Spain','country_id' => '65'),\narray('id' => '4017','name' => '(ECV) - Cuatro Vientos Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4018','name' => '(ILD) - Lleida-Alguaire Airport, Lleida, Spain','country_id' => '65'),\narray('id' => '4019','name' => '(CDT) - CastellAn-Costa Azahar Airport, CastellAn de la Plana, Spain','country_id' => '65'),\narray('id' => '4020','name' => '(GRO) - Girona Airport, Girona, Spain','country_id' => '65'),\narray('id' => '4021','name' => '(GRX) - Federico Garcia Lorca Airport, Granada, Spain','country_id' => '65'),\narray('id' => '4022','name' => '(HSK) - Huesca/Pirineos Airport, Monflorite/AlcalA del Obispo, Spain','country_id' => '65'),\narray('id' => '4023','name' => '(IBZ) - Ibiza Airport, Ibiza, Spain','country_id' => '65'),\narray('id' => '4024','name' => '(XRY) - Jerez Airport, Jerez de la Forntera, Spain','country_id' => '65'),\narray('id' => '4025','name' => '(MJV) - San Javier Airport, San Javier, Spain','country_id' => '65'),\narray('id' => '4026','name' => '(QSA) - Sabadell Airport, Sabadell, Spain','country_id' => '65'),\narray('id' => '4027','name' => '(LEN) - Leon Airport, LeAn, Spain','country_id' => '65'),\narray('id' => '4028','name' => '(RJL) - LogroAo-Agoncillo Airport, LogroAo, Spain','country_id' => '65'),\narray('id' => '4029','name' => '(MAD) - Adolfo SuArez Madrida\"Barajas Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4030','name' => '(HEV) - MafA - GibraleAn Airport, GibraleAn, Spain','country_id' => '65'),\narray('id' => '4031','name' => '(AGP) - MAlaga Airport, MAlaga, Spain','country_id' => '65'),\narray('id' => '4032','name' => '(MAH) - Menorca Airport, Menorca Island, Spain','country_id' => '65'),\narray('id' => '4033','name' => '(OZP) - Moron Air Base, MorAn, Spain','country_id' => '65'),\narray('id' => '4034','name' => '(LEO) - Lekoni Airport, Lekoni, Gabon','country_id' => '73'),\narray('id' => '4035','name' => '(PMI) - Palma De Mallorca Airport, Palma De Mallorca, Spain','country_id' => '65'),\narray('id' => '4036','name' => '(PNA) - Pamplona Airport, Pamplona, Spain','country_id' => '65'),\narray('id' => '4037','name' => '(REU) - Reus Air Base, Reus, Spain','country_id' => '65'),\narray('id' => '4038','name' => '(ROZ) - Rota Naval Station Airport, Rota, Spain','country_id' => '65'),\narray('id' => '4039','name' => '(SLM) - Salamanca Airport, Salamanca, Spain','country_id' => '65'),\narray('id' => '4040','name' => '(EAS) - San Sebastian Airport, Hondarribia, Spain','country_id' => '65'),\narray('id' => '4041','name' => '(SCQ) - Santiago de Compostela Airport, Santiago de Compostela, Spain','country_id' => '65'),\narray('id' => '4042','name' => '(LEU) - Pirineus - la Seu d\\'Urgel Airport, La Seu d\\'Urgell Pyrenees and Andorra, Spain','country_id' => '65'),\narray('id' => '4043','name' => '(TEV) - Teruel Airport, Teruel, Spain','country_id' => '65'),\narray('id' => '4044','name' => '(TOJ) - TorrejAn Airport, Madrid, Spain','country_id' => '65'),\narray('id' => '4045','name' => '(VLC) - Valencia Airport, Valencia, Spain','country_id' => '65'),\narray('id' => '4046','name' => '(VLL) - Valladolid Airport, Valladolid, Spain','country_id' => '65'),\narray('id' => '4047','name' => '(VIT) - Vitoria/Foronda Airport, Alava, Spain','country_id' => '65'),\narray('id' => '4048','name' => '(VGO) - Vigo Airport, Vigo, Spain','country_id' => '65'),\narray('id' => '4049','name' => '(SDR) - Santander Airport, Santander, Spain','country_id' => '65'),\narray('id' => '4050','name' => '(ZAZ) - Zaragoza Air Base, Zaragoza, Spain','country_id' => '65'),\narray('id' => '4051','name' => '(SVQ) - Sevilla Airport, Sevilla, Spain','country_id' => '65'),\narray('id' => '4052','name' => '(DPE) - St Aubin Airport, Dieppe, France','country_id' => '72'),\narray('id' => '4053','name' => '(CQF) - Calais-Dunkerque Airport, Calais/Dunkerque, France','country_id' => '72'),\narray('id' => '4054','name' => '(XCP) - CompiAgne Margny Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4055','name' => '(XLN) - Laon - Chambry Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4056','name' => '(XSJ) - PAronne-Saint-Quentin Airport, PAronne/Saint-Quentin, France','country_id' => '72'),\narray('id' => '4057','name' => '(XDK) - Dunkerque les Moeres Airport, Calais-Dunkerque, France','country_id' => '72'),\narray('id' => '4058','name' => '(BYF) - Albert-Bray Airport, Albert/Bray, France','country_id' => '72'),\narray('id' => '4059','name' => '(LTQ) - Le Touquet-CAte d\\'Opale Airport, Le Touquet-Paris-Plage, France','country_id' => '72'),\narray('id' => '4060','name' => '(XVS) - Valenciennes-Denain Airport, Valenciennes/Denain, France','country_id' => '72'),\narray('id' => '4061','name' => '(QAM) - Amiens-Glisy Airport, Amiens/Glisy, France','country_id' => '72'),\narray('id' => '4062','name' => '(AGF) - Agen-La Garenne Airport, Agen/La Garenne, France','country_id' => '72'),\narray('id' => '4063','name' => '(BOD) - Bordeaux-MArignac Airport, Bordeaux/MArignac, France','country_id' => '72'),\narray('id' => '4064','name' => '(EGC) - Bergerac-RoumaniAre Airport, Bergerac/RoumaniAre, France','country_id' => '72'),\narray('id' => '4065','name' => '(CNG) - Cognac-ChAteaubernard (BA 709) Air Base, Cognac/ChAteaubernard, France','country_id' => '72'),\narray('id' => '4066','name' => '(LRH) - La Rochelle-Ale de RA Airport, La Rochelle/Ale de RA, France','country_id' => '72'),\narray('id' => '4067','name' => '(PIS) - Poitiers-Biard Airport, Poitiers/Biard, France','country_id' => '72'),\narray('id' => '4068','name' => '(MCU) - MontluAon-GuAret Airport, MontluAon/GuAret, France','country_id' => '72'),\narray('id' => '4069','name' => '(LIG) - Limoges Airport, Limoges/Bellegarde, France','country_id' => '72'),\narray('id' => '4070','name' => '(XMJ) - Mont-de-Marsan (BA 118) Air Base, Mont-de-Marsan, France','country_id' => '72'),\narray('id' => '4071','name' => '(NIT) - Niort-SouchA Airport, Niort/SouchA, France','country_id' => '72'),\narray('id' => '4072','name' => '(TLS) - Toulouse-Blagnac Airport, Toulouse/Blagnac, France','country_id' => '72'),\narray('id' => '4073','name' => '(PUF) - Pau PyrAnAes Airport, Pau/PyrAnAes (Uzein), France','country_id' => '72'),\narray('id' => '4074','name' => '(LDE) - Tarbes-Lourdes-PyrAnAes Airport, Tarbes/Lourdes/PyrAnAes, France','country_id' => '72'),\narray('id' => '4075','name' => '(ANG) - AngoulAame-Brie-Champniers Airport, AngoulAame/Brie/Champniers, France','country_id' => '72'),\narray('id' => '4076','name' => '(PGX) - PArigueux-Bassillac Airport, PArigueux/Bassillac, France','country_id' => '72'),\narray('id' => '4077','name' => '(XDA) - Dax Seyresse Airport, Perigueux, France','country_id' => '72'),\narray('id' => '4078','name' => '(BIQ) - Biarritz-Anglet-Bayonne Airport, Biarritz/Anglet/Bayonne, France','country_id' => '72'),\narray('id' => '4079','name' => '(XCX) - ChAtellerault Airport, Biarritz, France','country_id' => '72'),\narray('id' => '4080','name' => '(ZAO) - Cahors-Lalbenque Airport, Cahors/Lalbenque, France','country_id' => '72'),\narray('id' => '4081','name' => '(XGT) - GuAret St Laurent Airport, Cahors, France','country_id' => '72'),\narray('id' => '4082','name' => '(XAC) - Arcachon-La Teste-de-Buch Airport, Arcachon/La Teste-de-Buch, France','country_id' => '72'),\narray('id' => '4083','name' => '(LBI) - Albi-Le SAquestre Airport, Albi/Le SAquestre, France','country_id' => '72'),\narray('id' => '4084','name' => '(DCM) - Castres-Mazamet Airport, Castres/Mazamet, France','country_id' => '72'),\narray('id' => '4085','name' => '(RDZ) - Rodez-Marcillac Airport, Rodez/Marcillac, France','country_id' => '72'),\narray('id' => '4086','name' => '(RYN) - Royan-MAdis Airport, Royan/MAdis, France','country_id' => '72'),\narray('id' => '4087','name' => '(XMW) - Montauban Airport, Montauban, France','country_id' => '72'),\narray('id' => '4088','name' => '(XLR) - Libourne-Artigues-de-Lussac Airport, Libourne/Artigues-de-Lussac, France','country_id' => '72'),\narray('id' => '4089','name' => '(RCO) - Rochefort-Saint-Agnant (BA 721) Airport, Rochefort/Saint-Agnant, France','country_id' => '72'),\narray('id' => '4090','name' => '(XSL) - Sarlat Domme Airport, Rochefort, France','country_id' => '72'),\narray('id' => '4091','name' => '(XTB) - Tarbes LaloubAre Airport, Rochefort, France','country_id' => '72'),\narray('id' => '4092','name' => '(IDY) - Ale d\\'Yeu Airport, Ale d\\'Yeu, France','country_id' => '72'),\narray('id' => '4093','name' => '(XVZ) - Vierzon MAreau Airport, Guiscriff, France','country_id' => '72'),\narray('id' => '4094','name' => '(CMR) - Colmar-Houssen Airport, Colmar/Houssen, France','country_id' => '72'),\narray('id' => '4095','name' => '(XBV) - Beaune-Challanges Airport, Beaune/Challanges, France','country_id' => '72'),\narray('id' => '4096','name' => '(DLE) - Dole-Tavaux Airport, Dole/Tavaux, France','country_id' => '72'),\narray('id' => '4097','name' => '(XVN) - Verdun-Le Rozelier Airport, Verdun/Le Rozelier, France','country_id' => '72'),\narray('id' => '4098','name' => '(XVI) - Vienne Reventin Airport, Verdun, France','country_id' => '72'),\narray('id' => '4099','name' => '(MVV) - MegAve Airport, Verdun, France','country_id' => '72'),\narray('id' => '4100','name' => '(OBS) - Aubenas-ArdAche MAridional Airport, Aubenas/ArdAche MAridional, France','country_id' => '72'),\narray('id' => '4101','name' => '(LPY) - Le Puy-Loudes Airport, Le Puy/Loudes, France','country_id' => '72'),\narray('id' => '4102','name' => '(AHZ) - L\\'alpe D\\'huez Airport, Bourg, France','country_id' => '72'),\narray('id' => '4103','name' => '(XCW) - Chaumont-Semoutiers Airport, Chaumont/Semoutiers, France','country_id' => '72'),\narray('id' => '4104','name' => '(ETZ) - Metz-Nancy-Lorraine Airport, Metz / Nancy, France','country_id' => '72'),\narray('id' => '4105','name' => '(ANE) - Angers-Loire Airport, Angers/MarcA, France','country_id' => '72'),\narray('id' => '4106','name' => '(XAV) - Albertville Airport, Angers, France','country_id' => '72'),\narray('id' => '4107','name' => '(BIA) - Bastia-Poretta Airport, Bastia/Poretta, France','country_id' => '72'),\narray('id' => '4108','name' => '(CLY) - Calvi-Sainte-Catherine Airport, Calvi/Sainte-Catherine, France','country_id' => '72'),\narray('id' => '4109','name' => '(FSC) - Figari Sud-Corse Airport, Figari Sud-Corse, France','country_id' => '72'),\narray('id' => '4110','name' => '(AJA) - Ajaccio-NapolAon Bonaparte Airport, Ajaccio/NapolAon Bonaparte, France','country_id' => '72'),\narray('id' => '4111','name' => '(PRP) - Propriano Airport, Propriano, France','country_id' => '72'),\narray('id' => '4112','name' => '(SOZ) - Solenzara (BA 126) Air Base, Solenzara, France','country_id' => '72'),\narray('id' => '4113','name' => '(MFX) - MAribel Airport, Ajaccio, France','country_id' => '72'),\narray('id' => '4114','name' => '(AUF) - Auxerre-Branches Airport, Auxerre/Branches, France','country_id' => '72'),\narray('id' => '4115','name' => '(CMF) - ChambAry-Savoie Airport, ChambAry/Aix-les-Bains, France','country_id' => '72'),\narray('id' => '4116','name' => '(CFE) - Clermont-Ferrand Auvergne Airport, Clermont-Ferrand/Auvergne, France','country_id' => '72'),\narray('id' => '4117','name' => '(BOU) - Bourges Airport, Bourges, France','country_id' => '72'),\narray('id' => '4118','name' => '(QNJ) - Annemasse Airport, Annemasse, France','country_id' => '72'),\narray('id' => '4119','name' => '(CVF) - Courchevel Airport, Courcheval, France','country_id' => '72'),\narray('id' => '4120','name' => '(LYS) - Lyon Saint-ExupAry Airport, Lyon, France','country_id' => '72'),\narray('id' => '4121','name' => '(QNX) - MAcon-Charnay Airport, MAcon/Charnay, France','country_id' => '72'),\narray('id' => '4122','name' => '(SYT) - Saint-Yan Airport, Saint-Yan, France','country_id' => '72'),\narray('id' => '4123','name' => '(RNE) - Roanne-Renaison Airport, Roanne/Renaison, France','country_id' => '72'),\narray('id' => '4124','name' => '(NCY) - Annecy-Haute-Savoie-Mont Blanc Airport, Annecy/Meythet, France','country_id' => '72'),\narray('id' => '4125','name' => '(XMK) - MontAlimar - AncAne Airport, Annecy, France','country_id' => '72'),\narray('id' => '4126','name' => '(GNB) - Grenoble-IsAre Airport, Grenoble/Saint-Geoirs, France','country_id' => '72'),\narray('id' => '4127','name' => '(MCU) - MontluAon-DomArat Airport, MontluAon/DomArat, France','country_id' => '72'),\narray('id' => '4128','name' => '(VAF) - Valence-Chabeuil Airport, Valence/Chabeuil, France','country_id' => '72'),\narray('id' => '4129','name' => '(VHY) - Vichy-Charmeil Airport, Vichy/Charmeil, France','country_id' => '72'),\narray('id' => '4130','name' => '(AUR) - Aurillac Airport, Aurillac, France','country_id' => '72'),\narray('id' => '4131','name' => '(CHR) - ChAteauroux-DAols \"Marcel Dassault\" Airport, ChAteauroux/DAols, France','country_id' => '72'),\narray('id' => '4132','name' => '(LYN) - Lyon-Bron Airport, Lyon/Bron, France','country_id' => '72'),\narray('id' => '4133','name' => '(CEQ) - Cannes-Mandelieu Airport, Cannes/Mandelieu, France','country_id' => '72'),\narray('id' => '4134','name' => '(EBU) - Saint-Atienne-BouthAon Airport, Saint-Atienne/BouthAon, France','country_id' => '72'),\narray('id' => '4135','name' => '(QIE) - Istres Le TubA/Istres Air Base (BA 125) Airport, Istres/Le TubA, France','country_id' => '72'),\narray('id' => '4136','name' => '(CCF) - Carcassonne Airport, Carcassonne/Salvaza, France','country_id' => '72'),\narray('id' => '4137','name' => '(MRS) - Marseille Provence Airport, Marseille, France','country_id' => '72'),\narray('id' => '4138','name' => '(NCE) - Nice-CAte d\\'Azur Airport, Nice, France','country_id' => '72'),\narray('id' => '4139','name' => '(XOG) - Orange-Caritat (BA 115) Air Base, Orange/Caritat, France','country_id' => '72'),\narray('id' => '4140','name' => '(PGF) - Perpignan-Rivesaltes (LlabanAre) Airport, Perpignan/Rivesaltes, France','country_id' => '72'),\narray('id' => '4141','name' => '(CTT) - Le Castellet Airport, Le Castellet, France','country_id' => '72'),\narray('id' => '4142','name' => '(BAE) - Barcelonnette - Saint-Pons Airport, Le Castellet, France','country_id' => '72'),\narray('id' => '4143','name' => '(XAS) - AlAs-Deaux Airport, AlAs/Deaux, France','country_id' => '72'),\narray('id' => '4144','name' => '(MPL) - Montpellier-MAditerranAe Airport, Montpellier/MAditerranAe, France','country_id' => '72'),\narray('id' => '4145','name' => '(BZR) - BAziers-Vias Airport, BAziers/Vias, France','country_id' => '72'),\narray('id' => '4146','name' => '(AVN) - Avignon-Caumont Airport, Avignon/Caumont, France','country_id' => '72'),\narray('id' => '4147','name' => '(GAT) - Gap - Tallard Airport, Avignon, France','country_id' => '72'),\narray('id' => '4148','name' => '(MEN) - Mende-Brenoux Airport, Mende/BrAnoux, France','country_id' => '72'),\narray('id' => '4149','name' => '(SCP) - Mont-Dauphin - St-CrApin Airport, Mende, France','country_id' => '72'),\narray('id' => '4150','name' => '(BVA) - Paris Beauvais TillA Airport, Beauvais/TillA, France','country_id' => '72'),\narray('id' => '4151','name' => '(XSU) - Saumur-Saint-Florent Airport, Saumur/Saint-Florent, France','country_id' => '72'),\narray('id' => '4152','name' => '(EVX) - Avreux-Fauville (BA 105) Air Base, Avreux/Fauville, France','country_id' => '72'),\narray('id' => '4153','name' => '(XAN) - AlenAon Valframbert Airport, Evreux, France','country_id' => '72'),\narray('id' => '4154','name' => '(LEH) - Le Havre Octeville Airport, Le Havre/Octeville, France','country_id' => '72'),\narray('id' => '4155','name' => '(XAB) - Abbeville, Abbeville, France','country_id' => '72'),\narray('id' => '4156','name' => '(ORE) - OrlAans-Bricy (BA 123) Air Base, OrlAans/Bricy, France','country_id' => '72'),\narray('id' => '4157','name' => '(XCR) - ChAlons-Vatry Air Base, ChAlons/Vatry, France','country_id' => '72'),\narray('id' => '4158','name' => '(LSO) - Les Sables-d\\'Olonne Talmont Airport, Les Sables-d\\'Olonne, France','country_id' => '72'),\narray('id' => '4159','name' => '(URO) - Rouen Airport, Rouen/VallAe de Seine, France','country_id' => '72'),\narray('id' => '4160','name' => '(XBQ) - Blois-Le Breuil Airport, Blois/Le Breuil, France','country_id' => '72'),\narray('id' => '4161','name' => '(QTJ) - Chartres a\" MAtropole Airport, Chartres / Champhol, France','country_id' => '72'),\narray('id' => '4162','name' => '(TUF) - Tours-Val-de-Loire Airport, Tours/Val de Loire (Loire Valley), France','country_id' => '72'),\narray('id' => '4163','name' => '(CET) - Cholet Le Pontreau Airport, Cholet/Le Pontreau, France','country_id' => '72'),\narray('id' => '4164','name' => '(LVA) - Laval-Entrammes Airport, Laval/Entrammes, France','country_id' => '72'),\narray('id' => '4165','name' => '(LBG) - Paris-Le Bourget Airport, Paris, France','country_id' => '72'),\narray('id' => '4166','name' => '(CSF) - Creil Air Base, Creil, France','country_id' => '72'),\narray('id' => '4167','name' => '(XBX) - Bernay a\" St Martin Airport, Creil, France','country_id' => '72'),\narray('id' => '4168','name' => '(CDG) - Charles de Gaulle International Airport, Paris, France','country_id' => '72'),\narray('id' => '4169','name' => '(TNF) - Toussus-le-Noble Airport, Toussus-le-Noble, France','country_id' => '72'),\narray('id' => '4170','name' => '(ORY) - Paris-Orly Airport, Paris, France','country_id' => '72'),\narray('id' => '4171','name' => '(POX) - Pontoise - Cormeilles-en-Vexin Airport, Cormeilles-en-Vexin, France','country_id' => '72'),\narray('id' => '4172','name' => '(VIY) - Villacoublay-VAlizy (BA 107) Air Base, Villacoublay/VAlizy, France','country_id' => '72'),\narray('id' => '4173','name' => '(LFQ) - Linfen Qiaoli Airport, Linfen, China','country_id' => '45'),\narray('id' => '4174','name' => '(QYR) - Troyes-Barberey Airport, Troyes/Barberey, France','country_id' => '72'),\narray('id' => '4175','name' => '(NVS) - Nevers-Fourchambault Airport, Nevers/Fourchambault, France','country_id' => '72'),\narray('id' => '4176','name' => '(XCB) - Cambrai-Apinoy (BA 103) Air Base, Cambrai/Apinoy, France','country_id' => '72'),\narray('id' => '4177','name' => '(XME) - Maubeuge-Alesmes Airport, Maubeuge/Alesmes, France','country_id' => '72'),\narray('id' => '4178','name' => '(GBQ) - BesanAon-La VAze Airport, BesanAon/La VAze, France','country_id' => '72'),\narray('id' => '4179','name' => '(LIL) - Lille-Lesquin Airport, Lille/Lesquin, France','country_id' => '72'),\narray('id' => '4180','name' => '(HZB) - Merville-Calonne Airport, Merville/Calonne, France','country_id' => '72'),\narray('id' => '4181','name' => '(XCZ) - Charleville-MAziAres Airport, Charleville-MAziAres, France','country_id' => '72'),\narray('id' => '4182','name' => '(XVO) - Vesoul-Frotey Airport, Vesoul/Frotey, France','country_id' => '72'),\narray('id' => '4183','name' => '(BES) - Brest Bretagne Airport, Brest/Guipavas, France','country_id' => '72'),\narray('id' => '4184','name' => '(CER) - Cherbourg-Maupertus Airport, Cherbourg/Maupertus, France','country_id' => '72'),\narray('id' => '4185','name' => '(DNR) - Dinard-Pleurtuit-Saint-Malo Airport, Dinard/Pleurtuit/Saint-Malo, France','country_id' => '72'),\narray('id' => '4186','name' => '(LBY) - La Baule-Escoublac Airport, La Baule-Escoublac, France','country_id' => '72'),\narray('id' => '4187','name' => '(GFR) - Granville Airport, Granville, France','country_id' => '72'),\narray('id' => '4188','name' => '(DOL) - Deauville-Saint-Gatien Airport, Deauville, France','country_id' => '72'),\narray('id' => '4189','name' => '(LRT) - Lorient South Brittany (Bretagne Sud) Airport, Lorient/Lann/BihouA, France','country_id' => '72'),\narray('id' => '4190','name' => '(EDM) - La Roche-sur-Yon Airport, La Roche-sur-Yon/Les Ajoncs, France','country_id' => '72'),\narray('id' => '4191','name' => '(LDV) - Landivisiau Air Base, Landivisiau, France','country_id' => '72'),\narray('id' => '4192','name' => '(CFR) - Caen-Carpiquet Airport, Caen/Carpiquet, France','country_id' => '72'),\narray('id' => '4193','name' => '(LME) - Le Mans-Arnage Airport, Le Mans/Arnage, France','country_id' => '72'),\narray('id' => '4194','name' => '(RNS) - Rennes-Saint-Jacques Airport, Rennes/Saint-Jacques, France','country_id' => '72'),\narray('id' => '4195','name' => '(LAI) - Lannion-CAte de Granit Airport, Lannion, France','country_id' => '72'),\narray('id' => '4196','name' => '(UIP) - Quimper-Cornouaille Airport, Quimper/Pluguffan, France','country_id' => '72'),\narray('id' => '4197','name' => '(NTE) - Nantes Atlantique Airport, Nantes, France','country_id' => '72'),\narray('id' => '4198','name' => '(SBK) - Saint-Brieuc-Armor Airport, Saint-Brieuc/Armor, France','country_id' => '72'),\narray('id' => '4199','name' => '(MXN) - Morlaix-Ploujean Airport, Morlaix/Ploujean, France','country_id' => '72'),\narray('id' => '4200','name' => '(VNE) - Vannes-Meucon Airport, Vannes/Meucon, France','country_id' => '72'),\narray('id' => '4201','name' => '(SNR) - Saint-Nazaire-Montoir Airport, Saint-Nazaire/Montoir, France','country_id' => '72'),\narray('id' => '4202','name' => '(BSL) - EuroAirport Basel-Mulhouse-Freiburg Airport, BAle/Mulhouse, France','country_id' => '72'),\narray('id' => '4203','name' => '(DIJ) - Dijon-Bourgogne Airport, Dijon/Longvic, France','country_id' => '72'),\narray('id' => '4204','name' => '(MZM) - Metz-Frescaty (BA 128) Air Base, Metz/Frescaty, France','country_id' => '72'),\narray('id' => '4205','name' => '(EPL) - Apinal-Mirecourt Airport, Apinal/Mirecourt, France','country_id' => '72'),\narray('id' => '4206','name' => '(XMF) - MontbAliard-Courcelles Airport, MontbAliard/Courcelles, France','country_id' => '72'),\narray('id' => '4207','name' => '(ENC) - Nancy-Essey Airport, Nancy/Essey, France','country_id' => '72'),\narray('id' => '4208','name' => '(RHE) - Reims-Champagne (BA 112) Airport, Reims/Champagne, France','country_id' => '72'),\narray('id' => '4209','name' => '(SXB) - Strasbourg Airport, Strasbourg, France','country_id' => '72'),\narray('id' => '4210','name' => '(VTL) - Vittel Champ De Course Airport, Luxeuil, France','country_id' => '72'),\narray('id' => '4211','name' => '(TLN) - Toulon-HyAres Airport, Toulon/HyAres/Le Palyvestre, France','country_id' => '72'),\narray('id' => '4212','name' => '(FNI) - NAmes-Arles-Camargue Airport, NAmes/Garons, France','country_id' => '72'),\narray('id' => '4213','name' => '(LTT) - La MAle Airport, La MAle, France','country_id' => '72'),\narray('id' => '4214','name' => '(MQC) - Miquelon Airport, Miquelon, Saint Pierre and Miquelon','country_id' => '176'),\narray('id' => '4215','name' => '(FSP) - St Pierre Airport, Saint-Pierre, Saint Pierre and Miquelon','country_id' => '176'),\narray('id' => '4216','name' => '(PYR) - Andravida Airport, Andravida, Greece','country_id' => '86'),\narray('id' => '4217','name' => '(AXD) - Dimokritos Airport, Alexandroupolis, Greece','country_id' => '86'),\narray('id' => '4218','name' => '(HEW) - Athen Helenikon Airport, Athens, Greece','country_id' => '86'),\narray('id' => '4219','name' => '(ATH) - Eleftherios Venizelos International Airport, Athens, Greece','country_id' => '86'),\narray('id' => '4220','name' => '(VOL) - Nea Anchialos Airport, Nea Anchialos, Greece','country_id' => '86'),\narray('id' => '4221','name' => '(LGE) - Mulan Airport, Lake Gregory, Australia','country_id' => '12'),\narray('id' => '4222','name' => '(JKH) - Chios Island National Airport, Chios Island, Greece','country_id' => '86'),\narray('id' => '4223','name' => '(PKH) - Porto Cheli Airport, Porto Cheli, Greece','country_id' => '86'),\narray('id' => '4224','name' => '(JIK) - Ikaria Airport, Ikaria Island, Greece','country_id' => '86'),\narray('id' => '4225','name' => '(IOA) - Ioannina Airport, Ioannina, Greece','country_id' => '86'),\narray('id' => '4226','name' => '(HER) - Heraklion International Nikos Kazantzakis Airport, Heraklion, Greece','country_id' => '86'),\narray('id' => '4227','name' => '(KSO) - Kastoria National Airport, Kastoria, Greece','country_id' => '86'),\narray('id' => '4228','name' => '(KIT) - Kithira Airport, Kithira Island, Greece','country_id' => '86'),\narray('id' => '4229','name' => '(EFL) - Kefallinia Airport, Kefallinia Island, Greece','country_id' => '86'),\narray('id' => '4230','name' => '(KZS) - Kastelorizo Airport, Kastelorizo Island, Greece','country_id' => '86'),\narray('id' => '4231','name' => '(KLX) - Kalamata Airport, Kalamata, Greece','country_id' => '86'),\narray('id' => '4232','name' => '(KGS) - Kos Airport, Kos Island, Greece','country_id' => '86'),\narray('id' => '4233','name' => '(AOK) - Karpathos Airport, Karpathos Island, Greece','country_id' => '86'),\narray('id' => '4234','name' => '(CFU) - Ioannis Kapodistrias International Airport, Kerkyra Island, Greece','country_id' => '86'),\narray('id' => '4235','name' => '(KSJ) - Kasos Airport, Kasos Island, Greece','country_id' => '86'),\narray('id' => '4236','name' => '(KVA) - Alexander the Great International Airport, Kavala, Greece','country_id' => '86'),\narray('id' => '4237','name' => '(JKL) - Kalymnos Airport, Kalymnos Island, Greece','country_id' => '86'),\narray('id' => '4238','name' => '(KZI) - Filippos Airport, Kozani, Greece','country_id' => '86'),\narray('id' => '4239','name' => '(LRS) - Leros Airport, Leros Island, Greece','country_id' => '86'),\narray('id' => '4240','name' => '(LXS) - Limnos Airport, Limnos Island, Greece','country_id' => '86'),\narray('id' => '4241','name' => '(LRA) - Larisa Airport, Larisa, Greece','country_id' => '86'),\narray('id' => '4242','name' => '(JMK) - Mikonos Airport, Mykonos Island, Greece','country_id' => '86'),\narray('id' => '4243','name' => '(MLO) - Milos Airport, Milos Island, Greece','country_id' => '86'),\narray('id' => '4244','name' => '(MJT) - Mytilene International Airport, Mytilene, Greece','country_id' => '86'),\narray('id' => '4245','name' => '(LGN) - Linga Linga Airport, Linga Linga, Papua New Guinea','country_id' => '172'),\narray('id' => '4246','name' => '(JNX) - Naxos Airport, Naxos Island, Greece','country_id' => '86'),\narray('id' => '4247','name' => '(PAS) - Paros Airport, Paros Island, Greece','country_id' => '86'),\narray('id' => '4248','name' => '(JTY) - Astypalaia Airport, Astypalaia Island, Greece','country_id' => '86'),\narray('id' => '4249','name' => '(PVK) - Aktion National Airport, Preveza/Lefkada, Greece','country_id' => '86'),\narray('id' => '4250','name' => '(RHO) - Diagoras Airport, Rodes Island, Greece','country_id' => '86'),\narray('id' => '4251','name' => '(GPA) - Araxos Airport, Patras, Greece','country_id' => '86'),\narray('id' => '4252','name' => '(CHQ) - Chania International Airport, Souda, Greece','country_id' => '86'),\narray('id' => '4253','name' => '(JSI) - Skiathos Island National Airport, Skiathos, Greece','country_id' => '86'),\narray('id' => '4254','name' => '(SMI) - Samos Airport, Samos Island, Greece','country_id' => '86'),\narray('id' => '4255','name' => '(JSY) - Syros Airport, Syros Island, Greece','country_id' => '86'),\narray('id' => '4256','name' => '(SPJ) - Sparti Airport, Sparti, Greece','country_id' => '86'),\narray('id' => '4257','name' => '(JTR) - Santorini Airport, Santorini Island, Greece','country_id' => '86'),\narray('id' => '4258','name' => '(JSH) - Sitia Airport, Crete Island, Greece','country_id' => '86'),\narray('id' => '4259','name' => '(SKU) - Skiros Airport, Skiros Island, Greece','country_id' => '86'),\narray('id' => '4260','name' => '(SKG) - Thessaloniki Macedonia International Airport, Thessaloniki, Greece','country_id' => '86'),\narray('id' => '4261','name' => '(ZTH) - Dionysios Solomos Airport, Zakynthos Island, Greece','country_id' => '86'),\narray('id' => '4262','name' => '(BUD) - Budapest Ferenc Liszt International Airport, Budapest, Hungary','country_id' => '96'),\narray('id' => '4263','name' => '(DEB) - Debrecen International Airport, Debrecen, Hungary','country_id' => '96'),\narray('id' => '4264','name' => '(MCQ) - Miskolc Airport, Miskolc, Hungary','country_id' => '96'),\narray('id' => '4265','name' => '(PEV) - PAcs-PogAny Airport, PAcs-PogAny, Hungary','country_id' => '96'),\narray('id' => '4266','name' => '(QGY) - Gy\\'r-PAr International Airport, Gy\\'r, Hungary','country_id' => '96'),\narray('id' => '4267','name' => '(SOB) - SArmellAk International Airport, SArmellAk, Hungary','country_id' => '96'),\narray('id' => '4268','name' => '(TZR) - TaszAr Air Base, TaszAr, Hungary','country_id' => '96'),\narray('id' => '4269','name' => '(QZD) - Szeged Glider Airport, Szeged, Hungary','country_id' => '96'),\narray('id' => '4270','name' => '(QAQ) - L\\'Aquilaa\"Preturo Airport, L\\'Aquila, Italy','country_id' => '106'),\narray('id' => '4271','name' => '(CRV) - Crotone Airport, Crotone, Italy','country_id' => '106'),\narray('id' => '4272','name' => '(BRI) - Bari Karol Wojty\\'a Airport, Bari, Italy','country_id' => '106'),\narray('id' => '4273','name' => '(FOG) - Foggia \"Gino Lisa\" Airport, Foggia, Italy','country_id' => '106'),\narray('id' => '4274','name' => '(TAR) - Taranto-Grottaglie \"Marcello Arlotta\" Airport, Grottaglie, Italy','country_id' => '106'),\narray('id' => '4275','name' => '(LCC) - Lecce Galatina Air Base, , Italy','country_id' => '106'),\narray('id' => '4276','name' => '(PSR) - Pescara International Airport, Pescara, Italy','country_id' => '106'),\narray('id' => '4277','name' => '(BDS) - Brindisi a\" Salento Airport, Brindisi, Italy','country_id' => '106'),\narray('id' => '4278','name' => '(SUF) - Lamezia Terme Airport, Lamezia Terme (CZ), Italy','country_id' => '106'),\narray('id' => '4279','name' => '(CIY) - Comiso Airport, Comiso, Italy','country_id' => '106'),\narray('id' => '4280','name' => '(CTA) - Catania-Fontanarossa Airport, Catania, Italy','country_id' => '106'),\narray('id' => '4281','name' => '(LMP) - Lampedusa Airport, Lampedusa, Italy','country_id' => '106'),\narray('id' => '4282','name' => '(PNL) - Pantelleria Airport, Pantelleria, Italy','country_id' => '106'),\narray('id' => '4283','name' => '(PMO) - Falconea\"Borsellino Airport, Palermo, Italy','country_id' => '106'),\narray('id' => '4284','name' => '(REG) - Reggio Calabria Airport, Reggio Calabria, Italy','country_id' => '106'),\narray('id' => '4285','name' => '(TPS) - Vincenzo Florio Airport Trapani-Birgi, Trapani, Italy','country_id' => '106'),\narray('id' => '4286','name' => '(NSY) - Sigonella Airport, , Italy','country_id' => '106'),\narray('id' => '4287','name' => '(BLX) - Belluno Airport, Belluno, Italy','country_id' => '106'),\narray('id' => '4288','name' => '(RAN) - Ravenna Airport, Ravenna, Italy','country_id' => '106'),\narray('id' => '4289','name' => '(ZIA) - Trento-Mattarello Airport, Trento, Italy','country_id' => '106'),\narray('id' => '4290','name' => '(AHO) - Alghero-Fertilia Airport, Alghero, Italy','country_id' => '106'),\narray('id' => '4291','name' => '(DCI) - Decimomannu Air Base, Decimomannu, Italy','country_id' => '106'),\narray('id' => '4292','name' => '(CAG) - Cagliari Elmas Airport, Cagliari, Italy','country_id' => '106'),\narray('id' => '4293','name' => '(OLB) - Olbia Costa Smeralda Airport, Olbia, Italy','country_id' => '106'),\narray('id' => '4294','name' => '(FNU) - Oristano-Fenosu Airport, Oristano, Italy','country_id' => '106'),\narray('id' => '4295','name' => '(TTB) - TortolA Airport, Arbatax, Italy','country_id' => '106'),\narray('id' => '4296','name' => '(QVA) - Varese-Venegono Airport, Varese, Italy','country_id' => '106'),\narray('id' => '4297','name' => '(QMM) - Massa Cinquale Airport, Marina Di Massa (MS), Italy','country_id' => '106'),\narray('id' => '4298','name' => '(MXP) - Malpensa International Airport, Milan, Italy','country_id' => '106'),\narray('id' => '4299','name' => '(BGY) - Il Caravaggio International Airport, Bergamo, Italy','country_id' => '106'),\narray('id' => '4300','name' => '(TRN) - Turin Airport, Torino, Italy','country_id' => '106'),\narray('id' => '4301','name' => '(ALL) - Villanova D\\'Albenga International Airport, Albenga, Italy','country_id' => '106'),\narray('id' => '4302','name' => '(GOA) - Genoa Cristoforo Colombo Airport, Genova, Italy','country_id' => '106'),\narray('id' => '4303','name' => '(LIN) - Linate Airport, Milan, Italy','country_id' => '106'),\narray('id' => '4304','name' => '(PMF) - Parma Airport, Parma, Italy','country_id' => '106'),\narray('id' => '4305','name' => '(QPZ) - Piacenza San Damiano Air Base, Piacenza, Italy','country_id' => '106'),\narray('id' => '4306','name' => '(AOT) - Aosta Airport, Aosta, Italy','country_id' => '106'),\narray('id' => '4307','name' => '(CUF) - Cuneo International Airport, Cuneo, Italy','country_id' => '106'),\narray('id' => '4308','name' => '(AVB) - Aviano Air Base, Aviano, Italy','country_id' => '106'),\narray('id' => '4309','name' => '(BZO) - Bolzano Airport, Bolzano, Italy','country_id' => '106'),\narray('id' => '4310','name' => '(UDN) - Udine-Campoformido Air Base, Udine, Italy','country_id' => '106'),\narray('id' => '4311','name' => '(BLQ) - Bologna Guglielmo Marconi Airport, Bologna, Italy','country_id' => '106'),\narray('id' => '4312','name' => '(TSF) - Treviso-Sant\\'Angelo Airport, Treviso, Italy','country_id' => '106'),\narray('id' => '4313','name' => '(FRL) - ForlA Airport, ForlA (FC), Italy','country_id' => '106'),\narray('id' => '4314','name' => '(VBS) - Brescia Airport, Montichiari, Italy','country_id' => '106'),\narray('id' => '4315','name' => '(TRS) - Triestea\"Friuli Venezia Giulia Airport, Trieste, Italy','country_id' => '106'),\narray('id' => '4316','name' => '(RMI) - Federico Fellini International Airport, Rimini, Italy','country_id' => '106'),\narray('id' => '4317','name' => '(QPA) - Padova Airport, Padova, Italy','country_id' => '106'),\narray('id' => '4318','name' => '(VRN) - Verona Villafranca Airport, Verona, Italy','country_id' => '106'),\narray('id' => '4319','name' => '(AOI) - Ancona Falconara Airport, Ancona, Italy','country_id' => '106'),\narray('id' => '4320','name' => '(VCE) - Venice Marco Polo Airport, Venice, Italy','country_id' => '106'),\narray('id' => '4321','name' => '(QZO) - Arezzo Airport, Arezzo, Italy','country_id' => '106'),\narray('id' => '4322','name' => '(LCV) - Lucca-Tassignano Airport, Lucca, Italy','country_id' => '106'),\narray('id' => '4323','name' => '(QRT) - Rieti Airport, Rieti, Italy','country_id' => '106'),\narray('id' => '4324','name' => '(SAY) - Siena-Ampugnano Airport, Siena, Italy','country_id' => '106'),\narray('id' => '4325','name' => '(QLP) - Sarzana-Luni Air Base, Sarzana (SP), Italy','country_id' => '106'),\narray('id' => '4326','name' => '(CIA) - Ciampinoa\"G. B. Pastine International Airport, Roma, Italy','country_id' => '106'),\narray('id' => '4327','name' => '(QLY) - Pratica Di Mare Air Base, Pomezia, Italy','country_id' => '106'),\narray('id' => '4328','name' => '(FCO) - Leonardo da Vincia\"Fiumicino Airport, Rome, Italy','country_id' => '106'),\narray('id' => '4329','name' => '(QFR) - Frosinone Military Airport, Frosinone, Italy','country_id' => '106'),\narray('id' => '4330','name' => '(QSR) - Salerno Costa d\\'Amalfi Airport, Salerno, Italy','country_id' => '106'),\narray('id' => '4331','name' => '(EBA) - Marina Di Campo Airport, Marina Di Campo, Italy','country_id' => '106'),\narray('id' => '4332','name' => '(QLT) - Latina Airport, Latina, Italy','country_id' => '106'),\narray('id' => '4333','name' => '(NAP) - Naples International Airport, NApoli, Italy','country_id' => '106'),\narray('id' => '4334','name' => '(PSA) - Pisa International Airport, Pisa, Italy','country_id' => '106'),\narray('id' => '4335','name' => '(FLR) - Peretola Airport, Firenze, Italy','country_id' => '106'),\narray('id' => '4336','name' => '(GRS) - Grosseto Air Base, Grosetto, Italy','country_id' => '106'),\narray('id' => '4337','name' => '(PEG) - Perugia San Francesco d\\'Assisi a\" Umbria International Airport, Perugia, Italy','country_id' => '106'),\narray('id' => '4338','name' => '(LJU) - Ljubljana Joe PuAnik Airport, Ljubljana, Slovenia','country_id' => '196'),\narray('id' => '4339','name' => '(MBX) - Maribor Airport, , Slovenia','country_id' => '196'),\narray('id' => '4340','name' => '(POW) - Portoroz Airport, Portoroz, Slovenia','country_id' => '196'),\narray('id' => '4341','name' => '(LKC) - Lekana Airport, Lekana, Congo (Brazzaville)','country_id' => '39'),\narray('id' => '4342','name' => '(UHE) - Kunovice Airport, UherskA HraditA\\', Czechia','country_id' => '53'),\narray('id' => '4343','name' => '(KLV) - Karlovy Vary International Airport, Karlovy Vary, Czechia','country_id' => '53'),\narray('id' => '4344','name' => '(MKA) - MariAnskA LAznA\\' Airport, MariAnskA LAznA\\', Czechia','country_id' => '53'),\narray('id' => '4345','name' => '(OSR) - Ostrava Leos JanAAek Airport, Ostrava, Czechia','country_id' => '53'),\narray('id' => '4346','name' => '(OLO) - Olomouc-NeedAn Airport, Olomouc, Czechia','country_id' => '53'),\narray('id' => '4347','name' => '(PED) - Pardubice Airport, Pardubice, Czechia','country_id' => '53'),\narray('id' => '4348','name' => '(PRV) - Perov Air Base, Perov, Czechia','country_id' => '53'),\narray('id' => '4349','name' => '(PRG) - VAclav Havel Airport Prague, Prague, Czechia','country_id' => '53'),\narray('id' => '4350','name' => '(BRQ) - Brno-Tuany Airport, Brno, Czechia','country_id' => '53'),\narray('id' => '4351','name' => '(VOD) - Vodochody Airport, Vodochoky, Czechia','country_id' => '53'),\narray('id' => '4352','name' => '(ZBE) - Zabreh Ostrava Airport, Zabreh, Czechia','country_id' => '53'),\narray('id' => '4353','name' => '(TLV) - Ben Gurion International Airport, Tel Aviv, Israel','country_id' => '99'),\narray('id' => '4354','name' => '(BEV) - Beersheba (Teyman) Airport, Beersheba, Israel','country_id' => '99'),\narray('id' => '4355','name' => '(ETH) - Eilat Airport, Eilat, Israel','country_id' => '99'),\narray('id' => '4356','name' => '(EIY) - Ein Yahav Airfield, Sapir, Israel','country_id' => '99'),\narray('id' => '4357','name' => '(LLH) - Reginaldo Hammer Airport, La Lima, Honduras','country_id' => '93'),\narray('id' => '4358','name' => '(HFA) - Haifa International Airport, Haifa, Israel','country_id' => '99'),\narray('id' => '4359','name' => '(RPN) - Ben Ya\\'akov Airport, Rosh Pina, Israel','country_id' => '99'),\narray('id' => '4360','name' => '(KSW) - Kiryat Shmona Airport, Kiryat Shmona, Israel','country_id' => '99'),\narray('id' => '4361','name' => '(LLL) - Lissadell Airport, Lissadell Station, Australia','country_id' => '12'),\narray('id' => '4362','name' => '(MTZ) - Bar Yehuda Airfield, Masada, Israel','country_id' => '99'),\narray('id' => '4363','name' => '(VTM) - Nevatim Air Base, Beersheba, Israel','country_id' => '99'),\narray('id' => '4364','name' => '(VDA) - Ovda International Airport, Eilat, Israel','country_id' => '99'),\narray('id' => '4365','name' => '(MIP) - Ramon Air Base, Beersheba, Israel','country_id' => '99'),\narray('id' => '4366','name' => '(SDV) - Sde Dov Airport, Tel Aviv, Israel','country_id' => '99'),\narray('id' => '4367','name' => '(YOT) - Yotvata Airfield, Yotvata, Israel','country_id' => '99'),\narray('id' => '4368','name' => '(YOT) - Yotvata Airfield, Yotvata, Israel','country_id' => '99'),\narray('id' => '4369','name' => '(LMC) - La Macarena Airport, La Macarena, Colombia','country_id' => '46'),\narray('id' => '4370','name' => '(MLA) - Malta International Airport, Luqa, Malta','country_id' => '149'),\narray('id' => '4371','name' => '(LMZ) - Palma Airport, Palma, Mozambique','country_id' => '155'),\narray('id' => '4372','name' => '(LNC) - Lengbati Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4373','name' => '(LNF) - Munbil Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4374','name' => '(LNM) - Langimar Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '4375','name' => '(HOH) - Hohenems-Dornbirn Airport, Hohenems / Dornbirn, Austria','country_id' => '11'),\narray('id' => '4376','name' => '(LOM) - Francisco Primo de Verdad y Ramos Airport, Lagos de Moreno, Mexico','country_id' => '153'),\narray('id' => '4377','name' => '(GRZ) - Graz Airport, Graz, Austria','country_id' => '11'),\narray('id' => '4378','name' => '(INN) - Innsbruck Airport, Innsbruck, Austria','country_id' => '11'),\narray('id' => '4379','name' => '(KLU) - Klagenfurt Airport, Klagenfurt am WArthersee, Austria','country_id' => '11'),\narray('id' => '4380','name' => '(LNZ) - Linz Airport, Linz, Austria','country_id' => '11'),\narray('id' => '4381','name' => '(SZG) - Salzburg Airport, Salzburg, Austria','country_id' => '11'),\narray('id' => '4382','name' => '(VIE) - Vienna International Airport, Vienna, Austria','country_id' => '11'),\narray('id' => '4383','name' => '(AVR) - Alverca Airport, Vila Franca de Xira, Portugal','country_id' => '180'),\narray('id' => '4384','name' => '(SMA) - Santa Maria Airport, Vila do Porto, Portugal','country_id' => '180'),\narray('id' => '4385','name' => '(BGC) - BraganAa Airport, BraganAa, Portugal','country_id' => '180'),\narray('id' => '4386','name' => '(BYJ) - Beja International Airport, Beja, Portugal','country_id' => '180'),\narray('id' => '4387','name' => '(BGZ) - Braga Municipal Aerodrome, Braga, Portugal','country_id' => '180'),\narray('id' => '4388','name' => '(CHV) - Chaves Airport, Chaves, Portugal','country_id' => '180'),\narray('id' => '4389','name' => '(CBP) - Coimbra Airport, , Portugal','country_id' => '180'),\narray('id' => '4390','name' => '(CVU) - Corvo Airport, Corvo, Portugal','country_id' => '180'),\narray('id' => '4391','name' => '(FLW) - Flores Airport, Santa Cruz das Flores, Portugal','country_id' => '180'),\narray('id' => '4392','name' => '(FAO) - Faro Airport, Faro, Portugal','country_id' => '180'),\narray('id' => '4393','name' => '(GRW) - Graciosa Airport, Santa Cruz da Graciosa, Portugal','country_id' => '180'),\narray('id' => '4394','name' => '(HOR) - Horta Airport, Horta, Portugal','country_id' => '180'),\narray('id' => '4395','name' => '(TER) - Lajes Field, Lajes, Portugal','country_id' => '180'),\narray('id' => '4396','name' => '(FNC) - Madeira Airport, Funchal, Portugal','country_id' => '180'),\narray('id' => '4397','name' => '(PDL) - JoAo Paulo II Airport, Ponta Delgada, Portugal','country_id' => '180'),\narray('id' => '4398','name' => '(PIX) - Pico Airport, Pico Island, Portugal','country_id' => '180'),\narray('id' => '4399','name' => '(PRM) - PortimAo Airport, PortimAo, Portugal','country_id' => '180'),\narray('id' => '4400','name' => '(OPO) - Francisco de SA Carneiro Airport, Porto, Portugal','country_id' => '180'),\narray('id' => '4401','name' => '(PXO) - Porto Santo Airport, Vila Baleira, Portugal','country_id' => '180'),\narray('id' => '4402','name' => '(LIS) - Lisbon Portela Airport, Lisbon, Portugal','country_id' => '180'),\narray('id' => '4403','name' => '(SIE) - Sines Airport, , Portugal','country_id' => '180'),\narray('id' => '4404','name' => '(SJZ) - SAo Jorge Airport, Velas, Portugal','country_id' => '180'),\narray('id' => '4405','name' => '(VRL) - Vila Real Airport, , Portugal','country_id' => '180'),\narray('id' => '4406','name' => '(VSE) - Viseu Airport, , Portugal','country_id' => '180'),\narray('id' => '4407','name' => '(BNX) - Banja Luka International Airport, Banja Luka, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4408','name' => '(OMO) - Mostar International Airport, Mostar, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4409','name' => '(SJJ) - Sarajevo International Airport, Sarajevo, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4410','name' => '(TZL) - Tuzla International Airport, Tuzla, Bosnia and Herzegovina','country_id' => '15'),\narray('id' => '4411','name' => '(ARW) - Arad International Airport, Arad, Romania','country_id' => '185'),\narray('id' => '4412','name' => '(BCM) - BacAu Airport, BacAu, Romania','country_id' => '185'),\narray('id' => '4413','name' => '(BAY) - Tautii Magheraus Airport, Baia Mare, Romania','country_id' => '185'),\narray('id' => '4414','name' => '(BBU) - BAneasa International Airport, Bucharest, Romania','country_id' => '185'),\narray('id' => '4415','name' => '(CND) - Mihail KogAlniceanu International Airport, Constana, Romania','country_id' => '185'),\narray('id' => '4416','name' => '(CLJ) - Cluj-Napoca International Airport, Cluj-Napoca, Romania','country_id' => '185'),\narray('id' => '4417','name' => '(CSB) - Caransebe Airport, Caransebe, Romania','country_id' => '185'),\narray('id' => '4418','name' => '(CRA) - Craiova Airport, Craiova, Romania','country_id' => '185'),\narray('id' => '4419','name' => '(IAS) - Iai Airport, Iai, Romania','country_id' => '185'),\narray('id' => '4420','name' => '(OMR) - Oradea International Airport, Oradea, Romania','country_id' => '185'),\narray('id' => '4421','name' => '(OTP) - Henri CoandA International Airport, Bucharest, Romania','country_id' => '185'),\narray('id' => '4422','name' => '(SBZ) - Sibiu International Airport, Sibiu, Romania','country_id' => '185'),\narray('id' => '4423','name' => '(SUJ) - Satu Mare Airport, Satu Mare, Romania','country_id' => '185'),\narray('id' => '4424','name' => '(SCV) - Suceava Stefan cel Mare Airport, Suceava, Romania','country_id' => '185'),\narray('id' => '4425','name' => '(TCE) - Tulcea Airport, Tulcea, Romania','country_id' => '185'),\narray('id' => '4426','name' => '(TGM) - Transilvania TArgu Mure International Airport, TArgu Mure, Romania','country_id' => '185'),\narray('id' => '4427','name' => '(TSR) - Timioara Traian Vuia Airport, Timioara, Romania','country_id' => '185'),\narray('id' => '4428','name' => '(GVA) - Geneva Cointrin International Airport, Geneva, Switzerland','country_id' => '40'),\narray('id' => '4429','name' => '(QLS) - Lausanne-BlAcherette Airport, Lausanne, Switzerland','country_id' => '40'),\narray('id' => '4430','name' => '(QNC) - Neuchatel Airport, , Switzerland','country_id' => '40'),\narray('id' => '4431','name' => '(SIR) - Sion Airport, Sion, Switzerland','country_id' => '40'),\narray('id' => '4432','name' => '(EML) - Emmen Air Base, , Switzerland','country_id' => '40'),\narray('id' => '4433','name' => '(LUG) - Lugano Airport, Lugano, Switzerland','country_id' => '40'),\narray('id' => '4434','name' => '(BRN) - Bern Belp Airport, Bern, Switzerland','country_id' => '40'),\narray('id' => '4435','name' => '(BXO) - Buochs Airport, Buochs, Switzerland','country_id' => '40'),\narray('id' => '4436','name' => '(ZHI) - Grenchen Airport, , Switzerland','country_id' => '40'),\narray('id' => '4437','name' => '(ZRH) - ZArich Airport, Zurich, Switzerland','country_id' => '40'),\narray('id' => '4438','name' => '(ZJI) - Locarno Airport, Locarno, Switzerland','country_id' => '40'),\narray('id' => '4439','name' => '(ACH) - St Gallen Altenrhein Airport, Altenrhein, Switzerland','country_id' => '40'),\narray('id' => '4440','name' => '(SMV) - Samedan Airport, , Switzerland','country_id' => '40'),\narray('id' => '4441','name' => '(GKD) - Imroz Airport, GAkAeada, Turkey','country_id' => '220'),\narray('id' => '4442','name' => '(ESB) - EsenboAa International Airport, Ankara, Turkey','country_id' => '220'),\narray('id' => '4443','name' => '(ANK) - Etimesgut Air Base, Ankara, Turkey','country_id' => '220'),\narray('id' => '4444','name' => '(ADA) - Adana Airport, Adana, Turkey','country_id' => '220'),\narray('id' => '4445','name' => '(UAB) - Ancirlik Air Base, Adana, Turkey','country_id' => '220'),\narray('id' => '4446','name' => '(AFY) - Afyon Airport, Afyonkarahisar, Turkey','country_id' => '220'),\narray('id' => '4447','name' => '(AYT) - Antalya International Airport, Antalya, Turkey','country_id' => '220'),\narray('id' => '4448','name' => '(GZT) - Gaziantep International Airport, Gaziantep, Turkey','country_id' => '220'),\narray('id' => '4449','name' => '(KFS) - Kastamonu Airport, Kastamonu, Turkey','country_id' => '220'),\narray('id' => '4450','name' => '(KYA) - Konya Airport, Konya, Turkey','country_id' => '220'),\narray('id' => '4451','name' => '(MLX) - Malatya Tulga Airport, Malatya, Turkey','country_id' => '220'),\narray('id' => '4452','name' => '(MZH) - Amasya Merzifon Airport, Amasya, Turkey','country_id' => '220'),\narray('id' => '4453','name' => '(SSX) - Samsun Samair Airport, Samsun, Turkey','country_id' => '220'),\narray('id' => '4454','name' => '(VAS) - Sivas Nuri DemiraA Airport, Sivas, Turkey','country_id' => '220'),\narray('id' => '4455','name' => '(ONQ) - Zonguldak Airport, Zonguldak, Turkey','country_id' => '220'),\narray('id' => '4456','name' => '(MLX) - Malatya ErhaA Airport, Malatya, Turkey','country_id' => '220'),\narray('id' => '4457','name' => '(ASR) - Kayseri Erkilet Airport, Kayseri, Turkey','country_id' => '220'),\narray('id' => '4458','name' => '(TJK) - Tokat Airport, Tokat, Turkey','country_id' => '220'),\narray('id' => '4459','name' => '(DNZ) - Aardak Airport, Denizli, Turkey','country_id' => '220'),\narray('id' => '4460','name' => '(NAV) - Nevehir Kapadokya Airport, Nevehir, Turkey','country_id' => '220'),\narray('id' => '4461','name' => '(IST) - AtatArk International Airport, Istanbul, Turkey','country_id' => '220'),\narray('id' => '4462','name' => '(CII) - AAldAr Airport, AydAn, Turkey','country_id' => '220'),\narray('id' => '4463','name' => '(BTZ) - Bursa Airport, Bursa, Turkey','country_id' => '220'),\narray('id' => '4464','name' => '(BZI) - BalAkesir Merkez Airport, , Turkey','country_id' => '220'),\narray('id' => '4465','name' => '(BDM) - BandArma Airport, , Turkey','country_id' => '220'),\narray('id' => '4466','name' => '(CKZ) - Aanakkale Airport, Aanakkale, Turkey','country_id' => '220'),\narray('id' => '4467','name' => '(ESK) - Eskiehir Air Base, , Turkey','country_id' => '220'),\narray('id' => '4468','name' => '(ADB) - Adnan Menderes International Airport, Azmir, Turkey','country_id' => '220'),\narray('id' => '4469','name' => '(IGL) - AiAli Airport, , Turkey','country_id' => '220'),\narray('id' => '4470','name' => '(USQ) - Uak Airport, Uak, Turkey','country_id' => '220'),\narray('id' => '4471','name' => '(KCO) - Cengiz Topel Airport, , Turkey','country_id' => '220'),\narray('id' => '4472','name' => '(YEI) - Bursa Yeniehir Airport, Bursa, Turkey','country_id' => '220'),\narray('id' => '4473','name' => '(DLM) - Dalaman International Airport, Dalaman, Turkey','country_id' => '220'),\narray('id' => '4474','name' => '(TEQ) - TekirdaA Aorlu Airport, Aorlu, Turkey','country_id' => '220'),\narray('id' => '4475','name' => '(BXN) - ImsAk Airport, , Turkey','country_id' => '220'),\narray('id' => '4476','name' => '(AOE) - Anadolu Airport, Eskiehir, Turkey','country_id' => '220'),\narray('id' => '4477','name' => '(EZS) - ElazAA Airport, ElazAA, Turkey','country_id' => '220'),\narray('id' => '4478','name' => '(DIY) - Diyarbakir Airport, Diyarbakir, Turkey','country_id' => '220'),\narray('id' => '4479','name' => '(ERC) - Erzincan Airport, Erzincan, Turkey','country_id' => '220'),\narray('id' => '4480','name' => '(ERZ) - Erzurum International Airport, Erzurum, Turkey','country_id' => '220'),\narray('id' => '4481','name' => '(KSY) - Kars Airport, Kars, Turkey','country_id' => '220'),\narray('id' => '4482','name' => '(TZX) - Trabzon International Airport, Trabzon, Turkey','country_id' => '220'),\narray('id' => '4483','name' => '(SFQ) - anlAurfa Airport, anlAurfa, Turkey','country_id' => '220'),\narray('id' => '4484','name' => '(VAN) - Van Ferit Melen Airport, Van, Turkey','country_id' => '220'),\narray('id' => '4485','name' => '(BAL) - Batman Airport, Batman, Turkey','country_id' => '220'),\narray('id' => '4486','name' => '(MSR) - Mu Airport, Mu, Turkey','country_id' => '220'),\narray('id' => '4487','name' => '(SXZ) - Siirt Airport, Siirt, Turkey','country_id' => '220'),\narray('id' => '4488','name' => '(NOP) - Sinop Airport, Sinop, Turkey','country_id' => '220'),\narray('id' => '4489','name' => '(KCM) - Kahramanmara Airport, Kahramanmara, Turkey','country_id' => '220'),\narray('id' => '4490','name' => '(AJI) - AArA Airport, , Turkey','country_id' => '220'),\narray('id' => '4491','name' => '(ADF) - AdAyaman Airport, AdAyaman, Turkey','country_id' => '220'),\narray('id' => '4492','name' => '(MQM) - Mardin Airport, Mardin, Turkey','country_id' => '220'),\narray('id' => '4493','name' => '(GNY) - anlAurfa GAP Airport, anlAurfa, Turkey','country_id' => '220'),\narray('id' => '4494','name' => '(NKT) - Arnak erafettin ElAi Airport, Arnak, Turkey','country_id' => '220'),\narray('id' => '4495','name' => '(YKO) - Hakkari YAksekova Airport, Hakkari, Turkey','country_id' => '220'),\narray('id' => '4496','name' => '(HTY) - Hatay Airport, Hatay, Turkey','country_id' => '220'),\narray('id' => '4497','name' => '(LTF) - Leitre Airport, Leitre, Papua New Guinea','country_id' => '172'),\narray('id' => '4498','name' => '(ISE) - SAleyman Demirel International Airport, Isparta, Turkey','country_id' => '220'),\narray('id' => '4499','name' => '(EDO) - BalAkesir KArfez Airport, Edremit, Turkey','country_id' => '220'),\narray('id' => '4500','name' => '(BJV) - Milas Bodrum International Airport, Bodrum, Turkey','country_id' => '220'),\narray('id' => '4501','name' => '(SZF) - Samsun Aaramba Airport, Samsun, Turkey','country_id' => '220'),\narray('id' => '4502','name' => '(SAW) - Sabiha GAkAen International Airport, Istanbul, Turkey','country_id' => '220'),\narray('id' => '4503','name' => '(GZP) - Gazipaa Airport, Gazipaa, Turkey','country_id' => '220'),\narray('id' => '4504','name' => '(LTN) - Luton, , United Kingdom','country_id' => '74'),\narray('id' => '4505','name' => '(BZY) - Balti International Airport, Strymba, Moldova','country_id' => '135'),\narray('id' => '4506','name' => '(KIV) - ChiinAu International Airport, ChiinAu, Moldova','country_id' => '135'),\narray('id' => '4507','name' => '(LUZ) - Lublin Airport, Lublin, Poland','country_id' => '175'),\narray('id' => '4508','name' => '(LWA) - Lebak Rural Airport, Lebak, Philippines','country_id' => '173'),\narray('id' => '4509','name' => '(OHD) - Ohrid St. Paul the Apostle Airport, Ohrid, Macedonia','country_id' => '140'),\narray('id' => '4510','name' => '(SKP) - Skopje Alexander the Great Airport, Skopje, Macedonia','country_id' => '140'),\narray('id' => '4511','name' => '(GIB) - Gibraltar Airport, Gibraltar, Gibraltar','country_id' => '80'),\narray('id' => '4512','name' => '(BCQ) - Brak Airport, Brak, Libya','country_id' => '132'),\narray('id' => '4513','name' => '(DNF) - Martubah Airport, Derna, Libya','country_id' => '132'),\narray('id' => '4514','name' => '(MRA) - Misratah Airport, Misratah, Libya','country_id' => '132'),\narray('id' => '4515','name' => '(QUB) - Ubari Airport, Ubari, Libya','country_id' => '132'),\narray('id' => '4516','name' => '(UZC) - Ponikve Airport, Uice, Serbia','country_id' => '186'),\narray('id' => '4517','name' => '(BEG) - Belgrade Nikola Tesla Airport, Belgrade, Serbia','country_id' => '186'),\narray('id' => '4518','name' => '(IVG) - Berane Airport, Berane, Montenegro','country_id' => '136'),\narray('id' => '4519','name' => '(BJY) - Batajnica Air Base, Batajnica, Serbia','country_id' => '186'),\narray('id' => '4520','name' => '(INI) - Nis Airport, Nis, Serbia','country_id' => '186'),\narray('id' => '4521','name' => '(QND) - Cenej Airport, Novi Sad, Serbia','country_id' => '186'),\narray('id' => '4522','name' => '(QBG) - PanAevo Airfield, PanAevo, Serbia','country_id' => '186'),\narray('id' => '4523','name' => '(TGD) - Podgorica Airport, Podgorica, Montenegro','country_id' => '136'),\narray('id' => '4524','name' => '(JBT) - Batlava-Donja Penduha Airfield, Batlava, Kosovo','country_id' => '240'),\narray('id' => '4525','name' => '(TIV) - Tivat Airport, Tivat, Montenegro','country_id' => '136'),\narray('id' => '4526','name' => '(QWV) - Divci Airport, Valjevo, Serbia','country_id' => '186'),\narray('id' => '4527','name' => '(ZRE) - Zrenjanin Airport, Zrenjanin, Serbia','country_id' => '186'),\narray('id' => '4528','name' => '(BTS) - M. R. tefAnik Airport, Bratislava, Slovakia','country_id' => '197'),\narray('id' => '4529','name' => '(KSC) - Koice Airport, Koice, Slovakia','country_id' => '197'),\narray('id' => '4530','name' => '(LUE) - LuAenec Airport, LuAenec, Slovakia','country_id' => '197'),\narray('id' => '4531','name' => '(PZY) - Pieany Airport, Pieany, Slovakia','country_id' => '197'),\narray('id' => '4532','name' => '(POV) - Preov Air Base, Preov, Slovakia','country_id' => '197'),\narray('id' => '4533','name' => '(SLD) - SliaA Airport, SliaA, Slovakia','country_id' => '197'),\narray('id' => '4534','name' => '(TAT) - Poprad-Tatry Airport, Poprad, Slovakia','country_id' => '197'),\narray('id' => '4535','name' => '(ILZ) - ilina Airport, ilina, Slovakia','country_id' => '197'),\narray('id' => '4536','name' => '(DRU) - Drummond Airport, Drummond, United States','country_id' => '228'),\narray('id' => '4537','name' => '(GLN) - Goulimime Airport, Goulimime, Morocco','country_id' => '133'),\narray('id' => '4538','name' => '(UWA) - Ware Airport, Ware, United States','country_id' => '228'),\narray('id' => '4539','name' => '(MAP) - Mamai Airport, Mamai, Papua New Guinea','country_id' => '172'),\narray('id' => '4540','name' => '(GDT) - JAGS McCartney International Airport, Cockburn Town, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4541','name' => '(MDS) - Middle Caicos Airport, Middle Caicos, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4542','name' => '(NCA) - North Caicos Airport, , Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4543','name' => '(PIC) - Pine Cay Airport, Pine Cay, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4544','name' => '(PLS) - Providenciales Airport, Providenciales Island, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4545','name' => '(XSC) - South Caicos Airport, , Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4546','name' => '(SLX) - Salt Cay Airport, Salt Cay, Turks and Caicos Islands','country_id' => '209'),\narray('id' => '4547','name' => '(BRX) - Maria Montez International Airport, Barahona, Dominican Republic','country_id' => '58'),\narray('id' => '4548','name' => '(CBJ) - Cabo Rojo Airport, Cabo Rojo, Dominican Republic','country_id' => '58'),\narray('id' => '4549','name' => '(AZS) - SamanA El Catey International Airport, Samana, Dominican Republic','country_id' => '58'),\narray('id' => '4550','name' => '(COZ) - Constanza - ExpediciAn 14 de Junio National Airport, Costanza, Dominican Republic','country_id' => '58'),\narray('id' => '4551','name' => '(JBQ) - La Isabela International Airport, La Isabela, Dominican Republic','country_id' => '58'),\narray('id' => '4552','name' => '(LRM) - Casa De Campo International Airport, La Romana, Dominican Republic','country_id' => '58'),\narray('id' => '4553','name' => '(PUJ) - Punta Cana International Airport, Punta Cana, Dominican Republic','country_id' => '58'),\narray('id' => '4554','name' => '(EPS) - Samana El Portillo Airport, Samana, Dominican Republic','country_id' => '58'),\narray('id' => '4555','name' => '(POP) - Gregorio Luperon International Airport, Puerto Plata, Dominican Republic','country_id' => '58'),\narray('id' => '4556','name' => '(MDR) - Medfra Airport, Medfra, United States','country_id' => '228'),\narray('id' => '4557','name' => '(SNX) - Sabana de Mar Airport, Sabana de Mar, Dominican Republic','country_id' => '58'),\narray('id' => '4558','name' => '(SDQ) - Las AmAricas International Airport, Santo Domingo, Dominican Republic','country_id' => '58'),\narray('id' => '4559','name' => '(STI) - Cibao International Airport, Santiago, Dominican Republic','country_id' => '58'),\narray('id' => '4560','name' => '(MDV) - MAdouneu Airport, MAdouneu, Gabon, Equatorial Guinea','country_id' => '85'),\narray('id' => '4561','name' => '(LIZ) - Loring International Airport, Limestone, United States','country_id' => '228'),\narray('id' => '4562','name' => '(MEF) - Melfi Airport, Melfi, Chad','country_id' => '210'),\narray('id' => '4563','name' => '(OHB) - Ambohibary Airport, Moramanga, Madagascar','country_id' => '138'),\narray('id' => '4564','name' => '(DOA) - Doany Airport, Doany, Madagascar','country_id' => '138'),\narray('id' => '4565','name' => '(CBV) - Coban Airport, Coban, Guatemala','country_id' => '88'),\narray('id' => '4566','name' => '(CMM) - Carmelita Airport, Carmelita, Guatemala','country_id' => '88'),\narray('id' => '4567','name' => '(CTF) - Coatepeque Airport, Coatepeque, Guatemala','country_id' => '88'),\narray('id' => '4568','name' => '(GUA) - La Aurora Airport, Guatemala City, Guatemala','country_id' => '88'),\narray('id' => '4569','name' => '(HUG) - Huehuetenango Airport, Huehuetenango, Guatemala','country_id' => '88'),\narray('id' => '4570','name' => '(MCR) - Melchor de Mencos Airport, Melchor de Mencos, Guatemala','country_id' => '88'),\narray('id' => '4571','name' => '(MGP) - Manga Airport, Manga Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '4572','name' => '(PBR) - Puerto Barrios Airport, Puerto Barrios, Guatemala','country_id' => '88'),\narray('id' => '4573','name' => '(PON) - PoptAon Airport, PoptAon, Guatemala','country_id' => '88'),\narray('id' => '4574','name' => '(AQB) - Santa Cruz del Quiche Airport, Santa Cruz del Quiche, Guatemala','country_id' => '88'),\narray('id' => '4575','name' => '(AAZ) - Quezaltenango Airport, Quezaltenango, Guatemala','country_id' => '88'),\narray('id' => '4576','name' => '(RUV) - Rubelsanto Airport, Rubelsanto, Guatemala','country_id' => '88'),\narray('id' => '4577','name' => '(LCF) - Las Vegas Airport, Rio Dulce, Guatemala','country_id' => '88'),\narray('id' => '4578','name' => '(RER) - Retalhuleu Airport, Retalhuleu, Guatemala','country_id' => '88'),\narray('id' => '4579','name' => '(GSJ) - San JosA Airport, Puerto San JosA, Guatemala','country_id' => '88'),\narray('id' => '4580','name' => '(FRS) - Mundo Maya International Airport, San Benito, Guatemala','country_id' => '88'),\narray('id' => '4581','name' => '(AIM) - Ailuk Airport, Ailuk Island, Marshall Islands','country_id' => '139'),\narray('id' => '4582','name' => '(AUL) - Aur Island Airport, Aur Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4583','name' => '(BII) - Enyu Airfield, Bikini Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4584','name' => '(EBN) - Ebadon Airport, Ebadon Island, Marshall Islands','country_id' => '139'),\narray('id' => '4585','name' => '(JAT) - Jabot Airport, Ailinglapalap Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4586','name' => '(JEJ) - Jeh Airport, Ailinglapalap Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4587','name' => '(KBT) - Kaben Airport, Kaben, Marshall Islands','country_id' => '139'),\narray('id' => '4588','name' => '(LIK) - Likiep Airport, Likiep Island, Marshall Islands','country_id' => '139'),\narray('id' => '4589','name' => '(LML) - Lae Island Airport, Lae Island, Marshall Islands','country_id' => '139'),\narray('id' => '4590','name' => '(MAV) - Maloelap Island Airport, Maloelap Island, Marshall Islands','country_id' => '139'),\narray('id' => '4591','name' => '(MJB) - Mejit Atoll Airport, Mejit Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4592','name' => '(MJE) - Majkin Airport, Majkin, Marshall Islands','country_id' => '139'),\narray('id' => '4593','name' => '(NDK) - Namorik Atoll Airport, Namorik Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4594','name' => '(RNP) - Rongelap Island Airport, Rongelap Island, Marshall Islands','country_id' => '139'),\narray('id' => '4595','name' => '(TIC) - Tinak Airport, Arno Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4596','name' => '(UIT) - Jaluit Airport, Jabor Jaluit Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4597','name' => '(WJA) - Woja Airport, Woja, Marshall Islands','country_id' => '139'),\narray('id' => '4598','name' => '(WTE) - Wotje Atoll Airport, Wotje Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4599','name' => '(WTO) - Wotho Island Airport, Wotho Island, Marshall Islands','country_id' => '139'),\narray('id' => '4600','name' => '(AHS) - Ahuas Airport, Ahuas, Honduras','country_id' => '93'),\narray('id' => '4601','name' => '(BHG) - Brus Laguna Airport, Brus Laguna, Honduras','country_id' => '93'),\narray('id' => '4602','name' => '(CAA) - Catacamas Airport, Catacamas, Honduras','country_id' => '93'),\narray('id' => '4603','name' => '(LUI) - Carta Airport, La UniAn, Honduras','country_id' => '93'),\narray('id' => '4604','name' => '(CYL) - Coyoles Airport, Coyoles, Honduras','country_id' => '93'),\narray('id' => '4605','name' => '(CDD) - Cauquira Airport, Cauquira, Honduras','country_id' => '93'),\narray('id' => '4606','name' => '(OAN) - El ArrayAn Airport, Olanchito, Honduras','country_id' => '93'),\narray('id' => '4607','name' => '(GAC) - Celaque Airport, Gracias, Honduras','country_id' => '93'),\narray('id' => '4608','name' => '(IRN) - Iriona Airport, Iriona, Honduras','country_id' => '93'),\narray('id' => '4609','name' => '(GUO) - Jicalapa Airport, Jicalapa, Honduras','country_id' => '93'),\narray('id' => '4610','name' => '(JUT) - Jutigalpa airport, Jutigalpa, Honduras','country_id' => '93'),\narray('id' => '4611','name' => '(LCE) - Goloson International Airport, La Ceiba, Honduras','country_id' => '93'),\narray('id' => '4612','name' => '(LEZ) - La Esperanza Airport, La Esperanza, Honduras','country_id' => '93'),\narray('id' => '4613','name' => '(SAP) - RamAn Villeda Morales International Airport, La Mesa, Honduras','country_id' => '93'),\narray('id' => '4614','name' => '(MHN) - Hooker County Airport, Mullen, United States','country_id' => '228'),\narray('id' => '4615','name' => '(GJA) - La Laguna Airport, Guanaja, Honduras','country_id' => '93'),\narray('id' => '4616','name' => '(PCH) - Palacios Airport, Palacios, Honduras','country_id' => '93'),\narray('id' => '4617','name' => '(PEU) - Puerto Lempira Airport, Puerto Lempira, Honduras','country_id' => '93'),\narray('id' => '4618','name' => '(RTB) - Juan Manuel Galvez International Airport, Roatan Island, Honduras','country_id' => '93'),\narray('id' => '4619','name' => '(RUY) - CopAn Ruinas Airport, CopAn Ruinas, Honduras','country_id' => '93'),\narray('id' => '4620','name' => '(XPL) - Coronel Enrique Soto Cano Air Base, Comayagua, Honduras','country_id' => '93'),\narray('id' => '4621','name' => '(TEA) - Tela Airport, Tela, Honduras','country_id' => '93'),\narray('id' => '4622','name' => '(TGU) - ToncontAn International Airport, Tegucigalpa, Honduras','country_id' => '93'),\narray('id' => '4623','name' => '(TJI) - Trujillo Airport, Trujillo, Honduras','country_id' => '93'),\narray('id' => '4624','name' => '(SCD) - Sulaco Airport, Sulaco, Honduras','country_id' => '93'),\narray('id' => '4625','name' => '(UII) - Utila Airport, Utila Island, Honduras','country_id' => '93'),\narray('id' => '4626','name' => '(MHY) - Morehead Airport, Morehead, Papua New Guinea','country_id' => '172'),\narray('id' => '4627','name' => '(ORO) - Yoro Airport, Yoro, Honduras','country_id' => '93'),\narray('id' => '4628','name' => '(MIZ) - Mainoru Airstrip, Mainoru, Australia','country_id' => '12'),\narray('id' => '4629','name' => '(MJJ) - Moki Airport, Moki, Papua New Guinea','country_id' => '172'),\narray('id' => '4630','name' => '(MJS) - Maganja da Costa Airport, Maganja, Mozambique','country_id' => '155'),\narray('id' => '4631','name' => '(OCJ) - Boscobel Aerodrome, Ocho Rios, Jamaica','country_id' => '108'),\narray('id' => '4632','name' => '(KIN) - Norman Manley International Airport, Kingston, Jamaica','country_id' => '108'),\narray('id' => '4633','name' => '(MBJ) - Sangster International Airport, Montego Bay, Jamaica','country_id' => '108'),\narray('id' => '4634','name' => '(POT) - Ken Jones Airport, Ken Jones, Jamaica','country_id' => '108'),\narray('id' => '4635','name' => '(MKN) - Malekolon Airport, Babase Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4636','name' => '(NEG) - Negril Airport, Negril, Jamaica','country_id' => '108'),\narray('id' => '4637','name' => '(KTP) - Tinson Pen Airport, Tinson Pen, Jamaica','country_id' => '108'),\narray('id' => '4638','name' => '(MIJ) - Mili Island Airport, Mili Island, Marshall Islands','country_id' => '139'),\narray('id' => '4639','name' => '(MLQ) - Malalaua Airport, Malalaua, Papua New Guinea','country_id' => '172'),\narray('id' => '4640','name' => '(HEB) - Hinthada Airport, Hinthada, Burma','country_id' => '142'),\narray('id' => '4641','name' => '(TZM) - Cupul Airport, Tizimin, Mexico','country_id' => '153'),\narray('id' => '4642','name' => '(ACA) - General Juan N Alvarez International Airport, Acapulco, Mexico','country_id' => '153'),\narray('id' => '4643','name' => '(NTR) - Del Norte International Airport, , Mexico','country_id' => '153'),\narray('id' => '4644','name' => '(AGU) - JesAos TerAn Paredo International Airport, Aguascalientes, Mexico','country_id' => '153'),\narray('id' => '4645','name' => '(HUX) - BahAas de Huatulco International Airport, Huatulco, Mexico','country_id' => '153'),\narray('id' => '4646','name' => '(CNA) - Cananea Airport, , Mexico','country_id' => '153'),\narray('id' => '4647','name' => '(CVJ) - General Mariano Matamoros Airport, , Mexico','country_id' => '153'),\narray('id' => '4648','name' => '(ACN) - Ciudad AcuAa New International Airport, Ciudad AcuAa, Mexico','country_id' => '153'),\narray('id' => '4649','name' => '(CME) - Ciudad del Carmen International Airport, Ciudad del Carmen, Mexico','country_id' => '153'),\narray('id' => '4650','name' => '(NCG) - Nuevo Casas Grandes Airport, , Mexico','country_id' => '153'),\narray('id' => '4651','name' => '(CUL) - Bachigualato Federal International Airport, CuliacAn, Mexico','country_id' => '153'),\narray('id' => '4652','name' => '(CTM) - Chetumal International Airport, Chetumal, Mexico','country_id' => '153'),\narray('id' => '4653','name' => '(CEN) - Ciudad ObregAn International Airport, Ciudad ObregAn, Mexico','country_id' => '153'),\narray('id' => '4654','name' => '(CJT) - Comitan Airport, , Mexico','country_id' => '153'),\narray('id' => '4655','name' => '(CPE) - Ingeniero Alberto AcuAa Ongay International Airport, Campeche, Mexico','country_id' => '153'),\narray('id' => '4656','name' => '(CJS) - Abraham GonzAlez International Airport, Ciudad JuArez, Mexico','country_id' => '153'),\narray('id' => '4657','name' => '(CZA) - Chichen Itza International Airport, Chichen Itza, Mexico','country_id' => '153'),\narray('id' => '4658','name' => '(CUU) - General Roberto Fierro Villalobos International Airport, Chihuahua, Mexico','country_id' => '153'),\narray('id' => '4659','name' => '(CVM) - General Pedro Jose Mendez International Airport, Ciudad Victoria, Mexico','country_id' => '153'),\narray('id' => '4660','name' => '(CYW) - Captain Rogelio Castillo National Airport, Celaya, Mexico','country_id' => '153'),\narray('id' => '4661','name' => '(CZM) - Cozumel International Airport, Cozumel, Mexico','country_id' => '153'),\narray('id' => '4662','name' => '(CUA) - Ciudad ConstituciAn Airport, Ciudad ConstituciAn, Mexico','country_id' => '153'),\narray('id' => '4663','name' => '(MMC) - Ciudad Mante National Airport, Ciudad Mante, Mexico','country_id' => '153'),\narray('id' => '4664','name' => '(DGO) - General Guadalupe Victoria International Airport, Durango, Mexico','country_id' => '153'),\narray('id' => '4665','name' => '(TPQ) - Amado Nervo National Airport, Tepic, Mexico','country_id' => '153'),\narray('id' => '4666','name' => '(ESE) - Ensenada Airport, , Mexico','country_id' => '153'),\narray('id' => '4667','name' => '(GDL) - Don Miguel Hidalgo Y Costilla International Airport, Guadalajara, Mexico','country_id' => '153'),\narray('id' => '4668','name' => '(GYM) - General JosA MarAa YAAez International Airport, Guaymas, Mexico','country_id' => '153'),\narray('id' => '4669','name' => '(GUB) - Guerrero Negro Airport, Guerrero Negro, Mexico','country_id' => '153'),\narray('id' => '4670','name' => '(TCN) - Tehuacan Airport, , Mexico','country_id' => '153'),\narray('id' => '4671','name' => '(HMO) - General Ignacio P. Garcia International Airport, Hermosillo, Mexico','country_id' => '153'),\narray('id' => '4672','name' => '(CLQ) - Licenciado Miguel de la Madrid Airport, Colima, Mexico','country_id' => '153'),\narray('id' => '4673','name' => '(ISJ) - Isla Mujeres Airport, , Mexico','country_id' => '153'),\narray('id' => '4674','name' => '(SLW) - Plan De Guadalupe International Airport, Saltillo, Mexico','country_id' => '153'),\narray('id' => '4675','name' => '(IZT) - Ixtepec Airport, , Mexico','country_id' => '153'),\narray('id' => '4676','name' => '(JAL) - El Lencero Airport, Xalapa, Mexico','country_id' => '153'),\narray('id' => '4677','name' => '(AZP) - Atizapan De Zaragoza Airport, , Mexico','country_id' => '153'),\narray('id' => '4678','name' => '(LZC) - LAzaro CArdenas Airport, LAzaro CArdenas, Mexico','country_id' => '153'),\narray('id' => '4679','name' => '(LMM) - Valle del Fuerte International Airport, Los Mochis, Mexico','country_id' => '153'),\narray('id' => '4680','name' => '(BJX) - Del BajAo International Airport, Silao, Mexico','country_id' => '153'),\narray('id' => '4681','name' => '(LAP) - Manuel MArquez de LeAn International Airport, La Paz, Mexico','country_id' => '153'),\narray('id' => '4682','name' => '(LTO) - Loreto International Airport, Loreto, Mexico','country_id' => '153'),\narray('id' => '4683','name' => '(MAM) - General Servando Canales International Airport, Matamoros, Mexico','country_id' => '153'),\narray('id' => '4684','name' => '(MID) - Licenciado Manuel Crescencio Rejon Int Airport, MArida, Mexico','country_id' => '153'),\narray('id' => '4685','name' => '(MUG) - Mulege Airport, Mulege, Mexico','country_id' => '153'),\narray('id' => '4686','name' => '(MXL) - General Rodolfo SAnchez Taboada International Airport, Mexicali, Mexico','country_id' => '153'),\narray('id' => '4687','name' => '(MLM) - General Francisco J. Mujica International Airport, Morelia, Mexico','country_id' => '153'),\narray('id' => '4688','name' => '(MTT) - MinatitlAn/Coatzacoalcos National Airport, MinatitlAn, Mexico','country_id' => '153'),\narray('id' => '4689','name' => '(LOV) - Monclova International Airport, , Mexico','country_id' => '153'),\narray('id' => '4690','name' => '(MEX) - Licenciado Benito Juarez International Airport, Mexico City, Mexico','country_id' => '153'),\narray('id' => '4691','name' => '(MTY) - General Mariano Escobedo International Airport, Monterrey, Mexico','country_id' => '153'),\narray('id' => '4692','name' => '(MZT) - General Rafael Buelna International Airport, MazatlAn, Mexico','country_id' => '153'),\narray('id' => '4693','name' => '(NOG) - Nogales International Airport, , Mexico','country_id' => '153'),\narray('id' => '4694','name' => '(NLD) - QuetzalcAatl International Airport, Nuevo Laredo, Mexico','country_id' => '153'),\narray('id' => '4695','name' => '(OAX) - XoxocotlAn International Airport, Oaxaca, Mexico','country_id' => '153'),\narray('id' => '4696','name' => '(PAZ) - El TajAn National Airport, Poza Rica, Mexico','country_id' => '153'),\narray('id' => '4697','name' => '(PBC) - Hermanos SerdAn International Airport, Puebla, Mexico','country_id' => '153'),\narray('id' => '4698','name' => '(PDS) - Piedras Negras International Airport, , Mexico','country_id' => '153'),\narray('id' => '4699','name' => '(PCO) - Punta Colorada Airport, La Ribera, Mexico','country_id' => '153'),\narray('id' => '4700','name' => '(UPN) - Licenciado y General Ignacio Lopez Rayon Airport, , Mexico','country_id' => '153'),\narray('id' => '4701','name' => '(PQM) - Palenque International Airport, , Mexico','country_id' => '153'),\narray('id' => '4702','name' => '(PVR) - Licenciado Gustavo DAaz Ordaz International Airport, Puerto Vallarta, Mexico','country_id' => '153'),\narray('id' => '4703','name' => '(PXM) - Puerto Escondido International Airport, Puerto Escondido, Mexico','country_id' => '153'),\narray('id' => '4704','name' => '(QRO) - QuerAtaro Intercontinental Airport, QuerAtaro, Mexico','country_id' => '153'),\narray('id' => '4705','name' => '(REX) - General Lucio Blanco International Airport, Reynosa, Mexico','country_id' => '153'),\narray('id' => '4706','name' => '(SJD) - Los Cabos International Airport, San JosA del Cabo, Mexico','country_id' => '153'),\narray('id' => '4707','name' => '(SFH) - San Felipe International Airport, Mexicali, Mexico','country_id' => '153'),\narray('id' => '4708','name' => '(NLU) - Santa Lucia Air Force Base, Reyes Acozac, Mexico','country_id' => '153'),\narray('id' => '4709','name' => '(SLP) - Ponciano Arriaga International Airport, San Luis PotosA, Mexico','country_id' => '153'),\narray('id' => '4710','name' => '(TRC) - Francisco Sarabia International Airport, TorreAn, Mexico','country_id' => '153'),\narray('id' => '4711','name' => '(TGZ) - Angel Albino Corzo International Airport, Tuxtla GutiArrez, Mexico','country_id' => '153'),\narray('id' => '4712','name' => '(TIJ) - General Abelardo L. RodrAguez International Airport, Tijuana, Mexico','country_id' => '153'),\narray('id' => '4713','name' => '(TAM) - General Francisco Javier Mina International Airport, Tampico, Mexico','country_id' => '153'),\narray('id' => '4714','name' => '(TSL) - Tamuin Airport, , Mexico','country_id' => '153'),\narray('id' => '4715','name' => '(TLC) - Licenciado Adolfo Lopez Mateos International Airport, Toluca, Mexico','country_id' => '153'),\narray('id' => '4716','name' => '(TAP) - Tapachula International Airport, Tapachula, Mexico','country_id' => '153'),\narray('id' => '4717','name' => '(CUN) - CancAon International Airport, CancAon, Mexico','country_id' => '153'),\narray('id' => '4718','name' => '(MMV) - Mal Airport, Mal Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4719','name' => '(VSA) - Carlos Rovirosa PArez International Airport, Villahermosa, Mexico','country_id' => '153'),\narray('id' => '4720','name' => '(VER) - General Heriberto Jara International Airport, Veracruz, Mexico','country_id' => '153'),\narray('id' => '4721','name' => '(ZCL) - General Leobardo C. Ruiz International Airport, Zacatecas, Mexico','country_id' => '153'),\narray('id' => '4722','name' => '(ZIH) - Ixtapa Zihuatanejo International Airport, Ixtapa, Mexico','country_id' => '153'),\narray('id' => '4723','name' => '(ZMM) - Zamora Airport, , Mexico','country_id' => '153'),\narray('id' => '4724','name' => '(ZLO) - Playa De Oro International Airport, Manzanillo, Mexico','country_id' => '153'),\narray('id' => '4725','name' => '(MXW) - Mandalgobi Airport, Mandalgobi, Mongolia','country_id' => '143'),\narray('id' => '4726','name' => '(ULG) - A-lgii Airport, A-lgii, Mongolia','country_id' => '143'),\narray('id' => '4727','name' => '(BEF) - Bluefields Airport, Bluefileds, Nicaragua','country_id' => '161'),\narray('id' => '4728','name' => '(BZA) - San Pedro Airport, Bonanza, Nicaragua','country_id' => '161'),\narray('id' => '4729','name' => '(ECI) - Costa Esmeralda Airport, Tola, Nicaragua','country_id' => '161'),\narray('id' => '4730','name' => '(RNI) - Corn Island, Corn Island, Nicaragua','country_id' => '161'),\narray('id' => '4731','name' => '(MGA) - Augusto C. Sandino (Managua) International Airport, Managua, Nicaragua','country_id' => '161'),\narray('id' => '4732','name' => '(NVG) - Nueva Guinea Airport, Nueva Guinea, Nicaragua','country_id' => '161'),\narray('id' => '4733','name' => '(PUZ) - Puerto Cabezas Airport, Puerto Cabezas, Nicaragua','country_id' => '161'),\narray('id' => '4734','name' => '(RFS) - Rosita Airport, La Rosita, Nicaragua','country_id' => '161'),\narray('id' => '4735','name' => '(NCR) - San Carlos, San Carlos, Nicaragua','country_id' => '161'),\narray('id' => '4736','name' => '(SIU) - Siuna, Siuna, Nicaragua','country_id' => '161'),\narray('id' => '4737','name' => '(WSP) - Waspam Airport, Waspam, Nicaragua','country_id' => '161'),\narray('id' => '4738','name' => '(PDM) - Capt Justiniano Montenegro Airport, Pedasi, Panama','country_id' => '169'),\narray('id' => '4739','name' => '(BOC) - Bocas Del Toro International Airport, Isla ColAn, Panama','country_id' => '169'),\narray('id' => '4740','name' => '(CTD) - Alonso Valderrama Airport, ChitrA, Panama','country_id' => '169'),\narray('id' => '4741','name' => '(CHX) - Cap Manuel NiAo International Airport, Changuinola, Panama','country_id' => '169'),\narray('id' => '4742','name' => '(DAV) - Enrique Malek International Airport, David, Panama','country_id' => '169'),\narray('id' => '4743','name' => '(ONX) - Enrique Adolfo Jimenez Airport, ColAn, Panama','country_id' => '169'),\narray('id' => '4744','name' => '(MPG) - Makini Airport, Makini, Papua New Guinea','country_id' => '172'),\narray('id' => '4745','name' => '(BLB) - Panama Pacific International Airport, PanamA City, Panama','country_id' => '169'),\narray('id' => '4746','name' => '(MPI) - Mamitupo Airport, Mamitupo, Panama','country_id' => '169'),\narray('id' => '4747','name' => '(JQE) - JaquA Airport, JaquA, Panama','country_id' => '169'),\narray('id' => '4748','name' => '(PLP) - Captain Ramon Xatruch Airport, La Palma, Panama','country_id' => '169'),\narray('id' => '4749','name' => '(PAC) - Marcos A. Gelabert International Airport, Albrook, Panama','country_id' => '169'),\narray('id' => '4750','name' => '(PUE) - Puerto Obaldia Airport, Puerto Obaldia, Panama','country_id' => '169'),\narray('id' => '4751','name' => '(RIH) - Scarlett Martinez International Airport, RAo Hato, Panama','country_id' => '169'),\narray('id' => '4752','name' => '(SYP) - Ruben Cantu Airport, Santiago, Panama','country_id' => '169'),\narray('id' => '4753','name' => '(PTY) - Tocumen International Airport, Tocumen, Panama','country_id' => '169'),\narray('id' => '4754','name' => '(MPU) - Mapua(Mabua) Airport, Tatau Island, Papua New Guinea','country_id' => '172'),\narray('id' => '4755','name' => '(PVE) - El Porvenir Airport, El Porvenir, Panama','country_id' => '169'),\narray('id' => '4756','name' => '(NBL) - San Blas Airport, Wannukandi, Panama','country_id' => '169'),\narray('id' => '4757','name' => '(MPX) - Miyanmin Airport, Miyanmin, Papua New Guinea','country_id' => '172'),\narray('id' => '4758','name' => '(MQO) - Malam Airport, Malam, Papua New Guinea','country_id' => '172'),\narray('id' => '4759','name' => '(FON) - Arenal Airport, La Fortuna/San Carlos, Costa Rica','country_id' => '47'),\narray('id' => '4760','name' => '(TTQ) - Aerotortuguero Airport, Roxana, Costa Rica','country_id' => '47'),\narray('id' => '4761','name' => '(BAI) - Buenos Aires Airport, Punta Arenas, Costa Rica','country_id' => '47'),\narray('id' => '4762','name' => '(BCL) - Barra del Colorado Airport, Pococi, Costa Rica','country_id' => '47'),\narray('id' => '4763','name' => '(OTR) - Coto 47 Airport, Corredores, Costa Rica','country_id' => '47'),\narray('id' => '4764','name' => '(JAP) - Chacarita Airport, Puntarenas, Costa Rica','country_id' => '47'),\narray('id' => '4765','name' => '(PLD) - Playa Samara/Carrillo Airport, Carrillo, Costa Rica','country_id' => '47'),\narray('id' => '4766','name' => '(DRK) - Drake Bay Airport, Puntarenas, Costa Rica','country_id' => '47'),\narray('id' => '4767','name' => '(FMG) - Flamingo Airport, Brasilito, Costa Rica','country_id' => '47'),\narray('id' => '4768','name' => '(GLF) - Golfito Airport, Golfito, Costa Rica','country_id' => '47'),\narray('id' => '4769','name' => '(GPL) - Guapiles Airport, Pococi, Costa Rica','country_id' => '47'),\narray('id' => '4770','name' => '(PBP) - Islita Airport, Nandayure, Costa Rica','country_id' => '47'),\narray('id' => '4771','name' => '(LIR) - Daniel Oduber Quiros International Airport, Liberia, Costa Rica','country_id' => '47'),\narray('id' => '4772','name' => '(LSL) - Los Chiles Airport, Los Chiles, Costa Rica','country_id' => '47'),\narray('id' => '4773','name' => '(LIO) - Limon International Airport, Puerto Limon, Costa Rica','country_id' => '47'),\narray('id' => '4774','name' => '(CSC) - Mojica Airport, CaAas, Costa Rica','country_id' => '47'),\narray('id' => '4775','name' => '(NCT) - Guanacaste Airport, Nicoya/Guanacate, Costa Rica','country_id' => '47'),\narray('id' => '4776','name' => '(NOB) - Nosara Airport, Nicoya, Costa Rica','country_id' => '47'),\narray('id' => '4777','name' => '(SJO) - Juan Santamaria International Airport, San Jose, Costa Rica','country_id' => '47'),\narray('id' => '4778','name' => '(PJM) - Puerto Jimenez Airport, Puerto Jimenez, Costa Rica','country_id' => '47'),\narray('id' => '4779','name' => '(PMZ) - Palmar Sur Airport, Palmar Sur, Costa Rica','country_id' => '47'),\narray('id' => '4780','name' => '(SYQ) - Tobias Bolanos International Airport, San Jose, Costa Rica','country_id' => '47'),\narray('id' => '4781','name' => '(XQP) - Quepos Managua Airport, Quepos, Costa Rica','country_id' => '47'),\narray('id' => '4782','name' => '(RFR) - Rio Frio / Progreso Airport, Rio Frio / Progreso, Costa Rica','country_id' => '47'),\narray('id' => '4783','name' => '(PLD) - Playa Samara Airport, Playa Samara, Costa Rica','country_id' => '47'),\narray('id' => '4784','name' => '(TOO) - San Vito De Java Airport, Coto Brus, Costa Rica','country_id' => '47'),\narray('id' => '4785','name' => '(TNO) - Tamarindo Airport, Tamarindo, Costa Rica','country_id' => '47'),\narray('id' => '4786','name' => '(TMU) - Tambor Airport, Nicoya, Costa Rica','country_id' => '47'),\narray('id' => '4787','name' => '(UPL) - Upala Airport, Upala, Costa Rica','country_id' => '47'),\narray('id' => '4788','name' => '(SAL) - El Salvador International Airport, Santa Clara, El Salvador','country_id' => '205'),\narray('id' => '4789','name' => '(CYA) - Les Cayes Airport, Les Cayes, Haiti','country_id' => '95'),\narray('id' => '4790','name' => '(CAP) - Cap Haitien International Airport, Cap Haitien, Haiti','country_id' => '95'),\narray('id' => '4791','name' => '(MTX) - Metro Field, Fairbanks, United States','country_id' => '228'),\narray('id' => '4792','name' => '(JAK) - Jacmel Airport, Jacmel, Haiti','country_id' => '95'),\narray('id' => '4793','name' => '(JEE) - JArAmie Airport, Jeremie, Haiti','country_id' => '95'),\narray('id' => '4794','name' => '(PAP) - Toussaint Louverture International Airport, Port-au-Prince, Haiti','country_id' => '95'),\narray('id' => '4795','name' => '(PAX) - Port-de-Paix Airport, Port-de-Paix, Haiti','country_id' => '95'),\narray('id' => '4796','name' => '(MTU) - Montepuez Airport, Montepuez, Mozambique','country_id' => '155'),\narray('id' => '4797','name' => '(BCA) - Gustavo Rizo Airport, Baracoa, Cuba','country_id' => '48'),\narray('id' => '4798','name' => '(BWW) - Las Brujas Airport, Cayo Santa Maria, Cuba','country_id' => '48'),\narray('id' => '4799','name' => '(BYM) - Carlos Manuel de Cespedes Airport, Bayamo, Cuba','country_id' => '48'),\narray('id' => '4800','name' => '(AVI) - Maximo Gomez Airport, Ciego de Avila, Cuba','country_id' => '48'),\narray('id' => '4801','name' => '(CCC) - Jardines Del Rey Airport, Cayo Coco, Cuba','country_id' => '48'),\narray('id' => '4802','name' => '(CFG) - Jaime Gonzalez Airport, Cienfuegos, Cuba','country_id' => '48'),\narray('id' => '4803','name' => '(CYO) - Vilo AcuAa International Airport, Cayo Largo del Sur, Cuba','country_id' => '48'),\narray('id' => '4804','name' => '(CMW) - Ignacio Agramonte International Airport, Camaguey, Cuba','country_id' => '48'),\narray('id' => '4805','name' => '(QCO) - ColAn Airport, ColAn, Cuba','country_id' => '48'),\narray('id' => '4806','name' => '(SCU) - Antonio Maceo International Airport, Santiago, Cuba','country_id' => '48'),\narray('id' => '4807','name' => '(NBW) - Leeward Point Field, Guantanamo Bay Naval Station, Cuba','country_id' => '48'),\narray('id' => '4808','name' => '(GAO) - Mariana Grajales Airport, GuantAnamo, Cuba','country_id' => '48'),\narray('id' => '4809','name' => '(HAV) - JosA MartA International Airport, Havana, Cuba','country_id' => '48'),\narray('id' => '4810','name' => '(HOG) - Frank Pais International Airport, Holguin, Cuba','country_id' => '48'),\narray('id' => '4811','name' => '(VRO) - Kawama Airport, Matanzas, Cuba','country_id' => '48'),\narray('id' => '4812','name' => '(LCL) - La Coloma Airport, Pinar del Rio, Cuba','country_id' => '48'),\narray('id' => '4813','name' => '(UMA) - Punta de Maisi Airport, Maisi, Cuba','country_id' => '48'),\narray('id' => '4814','name' => '(MJG) - Mayajigua Airport, Mayajigua, Cuba','country_id' => '48'),\narray('id' => '4815','name' => '(MOA) - Orestes Acosta Airport, Moa, Cuba','country_id' => '48'),\narray('id' => '4816','name' => '(MZO) - Sierra Maestra Airport, Manzanillo, Cuba','country_id' => '48'),\narray('id' => '4817','name' => '(QSN) - San Nicolas De Bari Airport, San NicolAs, Cuba','country_id' => '48'),\narray('id' => '4818','name' => '(ICR) - Nicaro Airport, Nicaro, Cuba','country_id' => '48'),\narray('id' => '4819','name' => '(GER) - Rafael Cabrera Airport, Nueva Gerona, Cuba','country_id' => '48'),\narray('id' => '4820','name' => '(UPB) - Playa Baracoa Airport, Havana, Cuba','country_id' => '48'),\narray('id' => '4821','name' => '(QPD) - Pinar Del Rio Airport, Pinar del Rio, Cuba','country_id' => '48'),\narray('id' => '4822','name' => '(SNU) - Abel Santamaria Airport, Santa Clara, Cuba','country_id' => '48'),\narray('id' => '4823','name' => '(SNJ) - San Julian Air Base, Pinar Del Rio, Cuba','country_id' => '48'),\narray('id' => '4824','name' => '(SZJ) - Siguanea Airport, Isla de la Juventud, Cuba','country_id' => '48'),\narray('id' => '4825','name' => '(USS) - Sancti Spiritus Airport, Sancti Spiritus, Cuba','country_id' => '48'),\narray('id' => '4826','name' => '(TND) - Alberto Delgado Airport, Trinidad, Cuba','country_id' => '48'),\narray('id' => '4827','name' => '(VRA) - Juan Gualberto Gomez International Airport, Varadero, Cuba','country_id' => '48'),\narray('id' => '4828','name' => '(VTU) - Hermanos Ameijeiras Airport, Las Tunas, Cuba','country_id' => '48'),\narray('id' => '4829','name' => '(CYB) - Gerrard Smith International Airport, Cayman Brac, Cayman Islands','country_id' => '120'),\narray('id' => '4830','name' => '(LYB) - Edward Bodden Airfield, Little Cayman, Cayman Islands','country_id' => '120'),\narray('id' => '4831','name' => '(GCM) - Owen Roberts International Airport, Georgetown, Cayman Islands','country_id' => '120'),\narray('id' => '4832','name' => '(MWR) - Motswari Airport, Motswari Private Game Reserve, South Africa','country_id' => '243'),\narray('id' => '4833','name' => '(AJS) - Abreojos Airport, Abreojos, Mexico','country_id' => '153'),\narray('id' => '4834','name' => '(AZG) - Pablo L. Sidar Airport, ApatzingAn, Mexico','country_id' => '153'),\narray('id' => '4835','name' => '(NVJ) - Navojoa Airport, Navojoa, Mexico','country_id' => '153'),\narray('id' => '4836','name' => '(PCM) - Playa del Carmen Airport, Solidaridad, Mexico','country_id' => '153'),\narray('id' => '4837','name' => '(PCV) - Punta Chivato Airport, Punta Chivato, Mexico','country_id' => '153'),\narray('id' => '4838','name' => '(SCX) - Salina Cruz Naval Air Station, Salina Cruz, Mexico','country_id' => '153'),\narray('id' => '4839','name' => '(SGM) - San Ignacio Airport, San Ignacio, Mexico','country_id' => '153'),\narray('id' => '4840','name' => '(TUY) - Tulum Naval Air Station, Tulum, Mexico','country_id' => '153'),\narray('id' => '4841','name' => '(UAC) - San Luis RAo Colorado Airport, San Luis RAo Colorado, Mexico','country_id' => '153'),\narray('id' => '4842','name' => '(XAL) - Alamos Airport, Alamos, Mexico','country_id' => '153'),\narray('id' => '4843','name' => '(MXK) - Mindik Airport, Mindik, Papua New Guinea','country_id' => '172'),\narray('id' => '4844','name' => '(MXR) - Moussoro Airport, Moussoro, Chad','country_id' => '210'),\narray('id' => '4845','name' => '(GTK) - Sungei Tekai Airport, Sungei Tekai, Malaysia','country_id' => '154'),\narray('id' => '4846','name' => '(LBP) - Long Banga Airport, Long Banga, Malaysia','country_id' => '154'),\narray('id' => '4847','name' => '(LLM) - Long Lama Airport, Long Lama, Malaysia','country_id' => '154'),\narray('id' => '4848','name' => '(MZS) - Mostyn Airport, Mostyn, Malaysia','country_id' => '154'),\narray('id' => '4849','name' => '(SPT) - Sipitang Airport, Sipitang, Malaysia','country_id' => '154'),\narray('id' => '4850','name' => '(MAY) - Clarence A. Bain Airport, Mangrove Cay, Bahamas','country_id' => '30'),\narray('id' => '4851','name' => '(ASD) - Andros Town Airport, , Bahamas','country_id' => '30'),\narray('id' => '4852','name' => '(COX) - Congo Town Airport, Andros, Bahamas','country_id' => '30'),\narray('id' => '4853','name' => '(MHH) - Marsh Harbour International Airport, Marsh Harbour, Bahamas','country_id' => '30'),\narray('id' => '4854','name' => '(SAQ) - San Andros Airport, Andros Island, Bahamas','country_id' => '30'),\narray('id' => '4855','name' => '(AXP) - Spring Point Airport, Spring Point, Bahamas','country_id' => '30'),\narray('id' => '4856','name' => '(TCB) - Treasure Cay Airport, Treasure Cay, Bahamas','country_id' => '30'),\narray('id' => '4857','name' => '(WKR) - Abaco I Walker C Airport, , Bahamas','country_id' => '30'),\narray('id' => '4858','name' => '(CCZ) - Chub Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4859','name' => '(GHC) - Great Harbour Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4860','name' => '(BIM) - South Bimini Airport, South Bimini, Bahamas','country_id' => '30'),\narray('id' => '4861','name' => '(ATC) - Arthur\\'s Town Airport, Arthur\\'s Town, Bahamas','country_id' => '30'),\narray('id' => '4862','name' => '(CAT) - New Bight Airport, Cat Island, Bahamas','country_id' => '30'),\narray('id' => '4863','name' => '(CXY) - Cat Cay Airport, Cat Cay, Bahamas','country_id' => '30'),\narray('id' => '4864','name' => '(CRI) - Colonel Hill Airport, Colonel Hill, Bahamas','country_id' => '30'),\narray('id' => '4865','name' => '(PWN) - Pitts Town Airport, Pitts Town, Bahamas','country_id' => '30'),\narray('id' => '4866','name' => '(GGT) - Exuma International Airport, George Town, Bahamas','country_id' => '30'),\narray('id' => '4867','name' => '(ELH) - North Eleuthera Airport, North Eleuthera, Bahamas','country_id' => '30'),\narray('id' => '4868','name' => '(GHB) - Governor\\'s Harbour Airport, Governor\\'s Harbour, Bahamas','country_id' => '30'),\narray('id' => '4869','name' => '(NMC) - Normans Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4870','name' => '(RSD) - Rock Sound Airport, Rock Sound, Bahamas','country_id' => '30'),\narray('id' => '4871','name' => '(TYM) - Staniel Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4872','name' => '(FPO) - Grand Bahama International Airport, Freeport, Bahamas','country_id' => '30'),\narray('id' => '4873','name' => '(GBI) - Auxiliary Airfield, Grand Bahama, Bahamas','country_id' => '30'),\narray('id' => '4874','name' => '(WTD) - West End Airport, West End, Bahamas','country_id' => '30'),\narray('id' => '4875','name' => '(IGA) - Inagua Airport, Matthew Town, Bahamas','country_id' => '30'),\narray('id' => '4876','name' => '(MYK) - May Creek Airport, May Creek, United States','country_id' => '228'),\narray('id' => '4877','name' => '(LGI) - Deadman\\'s Cay Airport, Deadman\\'s Cay, Bahamas','country_id' => '30'),\narray('id' => '4878','name' => '(SML) - Stella Maris Airport, Stella Maris, Bahamas','country_id' => '30'),\narray('id' => '4879','name' => '(MYG) - Mayaguana Airport, Mayaguana, Bahamas','country_id' => '30'),\narray('id' => '4880','name' => '(NAS) - Lynden Pindling International Airport, Nassau, Bahamas','country_id' => '30'),\narray('id' => '4881','name' => '(PID) - Nassau Paradise Island Airport, Nassau, Bahamas','country_id' => '30'),\narray('id' => '4882','name' => '(DCT) - Duncan Town Airport, , Bahamas','country_id' => '30'),\narray('id' => '4883','name' => '(RCY) - Rum Cay Airport, , Bahamas','country_id' => '30'),\narray('id' => '4884','name' => '(MYS) - Moyale Airport, Moyale, Ethiopia','country_id' => '66'),\narray('id' => '4885','name' => '(ZSA) - San Salvador Airport, San Salvador, Bahamas','country_id' => '30'),\narray('id' => '4886','name' => '(MYX) - Menyamya Airport, Menyamya, Papua New Guinea','country_id' => '172'),\narray('id' => '4887','name' => '(NTC) - Paradise Island Airport, Santa Carolina, Mozambique','country_id' => '155'),\narray('id' => '4888','name' => '(IBO) - Ibo Airport, Ibo, Mozambique','country_id' => '155'),\narray('id' => '4889','name' => '(TGS) - ChokwA Airport, ChokwA, Mozambique','country_id' => '155'),\narray('id' => '4890','name' => '(BZE) - Philip S. W. Goldson International Airport, Belize City, Belize','country_id' => '34'),\narray('id' => '4891','name' => '(MZE) - Manatee Airport, , Belize','country_id' => '34'),\narray('id' => '4892','name' => '(IMI) - Ine Airport, Arno Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '4893','name' => '(BQI) - Bagani Airport, Bagani, Namibia','country_id' => '156'),\narray('id' => '4894','name' => '(NBS) - Changbaishan Airport, Baishan, China','country_id' => '45'),\narray('id' => '4895','name' => '(AIT) - Aitutaki Airport, Aitutaki, Cook Islands','country_id' => '42'),\narray('id' => '4896','name' => '(AIU) - Enua Airport, Atiu Island, Cook Islands','country_id' => '42'),\narray('id' => '4897','name' => '(MGS) - Mangaia Island Airport, Mangaia Island, Cook Islands','country_id' => '42'),\narray('id' => '4898','name' => '(MHX) - Manihiki Island Airport, Manihiki Island, Cook Islands','country_id' => '42'),\narray('id' => '4899','name' => '(MUK) - Mauke Airport, Mauke Island, Cook Islands','country_id' => '42'),\narray('id' => '4900','name' => '(MOI) - Mitiaro Island Airport, Mitiaro Island, Cook Islands','country_id' => '42'),\narray('id' => '4901','name' => '(PZK) - Pukapuka Island Airport, Pukapuka Atoll, Cook Islands','country_id' => '42'),\narray('id' => '4902','name' => '(PYE) - Tongareva Airport, Penrhyn Island, Cook Islands','country_id' => '42'),\narray('id' => '4903','name' => '(RAR) - Rarotonga International Airport, Avarua, Cook Islands','country_id' => '42'),\narray('id' => '4904','name' => '(NDI) - Namudi Airport, Namudi, Papua New Guinea','country_id' => '172'),\narray('id' => '4905','name' => '(NDN) - Nadunumu Airport, Nadunumu, Papua New Guinea','country_id' => '172'),\narray('id' => '4906','name' => '(EPG) - Browns Airport, Weeping Water, United States','country_id' => '228'),\narray('id' => '4907','name' => '(ICI) - Cicia Airport, Cicia, Fiji','country_id' => '68'),\narray('id' => '4908','name' => '(BFJ) - Ba Airport, , Fiji','country_id' => '68'),\narray('id' => '4909','name' => '(NAN) - Nadi International Airport, Nadi, Fiji','country_id' => '68'),\narray('id' => '4910','name' => '(PTF) - Malolo Lailai Island Airport, Malolo Lailai Island, Fiji','country_id' => '68'),\narray('id' => '4911','name' => '(RBI) - Rabi Island Airport, Rabi Island, Fiji','country_id' => '68'),\narray('id' => '4912','name' => '(KDV) - Vunisea Airport, Vunisea, Fiji','country_id' => '68'),\narray('id' => '4913','name' => '(MNF) - Mana Island Airport, Mana Island, Fiji','country_id' => '68'),\narray('id' => '4914','name' => '(MFJ) - Moala Airport, Moala, Fiji','country_id' => '68'),\narray('id' => '4915','name' => '(SUV) - Nausori International Airport, Nausori, Fiji','country_id' => '68'),\narray('id' => '4916','name' => '(LEV) - Levuka Airfield, Bureta, Fiji','country_id' => '68'),\narray('id' => '4917','name' => '(NGI) - Ngau Airport, Ngau, Fiji','country_id' => '68'),\narray('id' => '4918','name' => '(LUC) - Laucala Island Airport, Laucala Island, Fiji','country_id' => '68'),\narray('id' => '4919','name' => '(LKB) - Lakeba Island Airport, Lakeba Island, Fiji','country_id' => '68'),\narray('id' => '4920','name' => '(LBS) - Labasa Airport, , Fiji','country_id' => '68'),\narray('id' => '4921','name' => '(TVU) - Matei Airport, Matei, Fiji','country_id' => '68'),\narray('id' => '4922','name' => '(KXF) - Koro Island Airport, Koro Island, Fiji','country_id' => '68'),\narray('id' => '4923','name' => '(RTA) - Rotuma Airport, Rotuma, Fiji','country_id' => '68'),\narray('id' => '4924','name' => '(SVU) - Savusavu Airport, Savusavu, Fiji','country_id' => '68'),\narray('id' => '4925','name' => '(VAU) - Vatukoula Airport, Vatukoula, Fiji','country_id' => '68'),\narray('id' => '4926','name' => '(KAY) - Wakaya Island Airport, Wakaya Island, Fiji','country_id' => '68'),\narray('id' => '4927','name' => '(ONU) - Ono-i-Lau Airport, Ono-i-Lau, Fiji','country_id' => '68'),\narray('id' => '4928','name' => '(YAS) - Yasawa Island Airport, Yasawa Island, Fiji','country_id' => '68'),\narray('id' => '4929','name' => '(EUA) - Kaufana Airport, Eua Island, Tonga','country_id' => '219'),\narray('id' => '4930','name' => '(TBU) - Fua\\'amotu International Airport, Nuku\\'alofa, Tonga','country_id' => '219'),\narray('id' => '4931','name' => '(HPA) - Lifuka Island Airport, Lifuka, Tonga','country_id' => '219'),\narray('id' => '4932','name' => '(NFO) - Mata\\'aho Airport, Angaha, Niuafo\\'ou Island, Tonga','country_id' => '219'),\narray('id' => '4933','name' => '(NTT) - Kuini Lavenia Airport, Niuatoputapu, Tonga','country_id' => '219'),\narray('id' => '4934','name' => '(VAV) - Vava\\'u International Airport, Vava\\'u Island, Tonga','country_id' => '219'),\narray('id' => '4935','name' => '(VBV) - Vanua Balavu Airport, Vanua Balavu, Fiji','country_id' => '68'),\narray('id' => '4936','name' => '(VTF) - Vatulele Airport, Vatulele, Fiji','country_id' => '68'),\narray('id' => '4937','name' => '(GMO) - Gombe Lawanti International Airport, Gombe, Nigeria','country_id' => '160'),\narray('id' => '4938','name' => '(PHG) - Port Harcourt City Airport, Port Harcourt, Nigeria','country_id' => '160'),\narray('id' => '4939','name' => '(BCU) - Bauchi Airport, Bauchi, Nigeria','country_id' => '160'),\narray('id' => '4940','name' => '(QRW) - Warri Airport, Warri, Nigeria','country_id' => '160'),\narray('id' => '4941','name' => '(ABF) - Abaiang Airport, Abaiang, Kiribati','country_id' => '114'),\narray('id' => '4942','name' => '(BEZ) - Beru Airport, Beru, Kiribati','country_id' => '114'),\narray('id' => '4943','name' => '(FUN) - Funafuti International Airport, Funafuti, Tuvalu','country_id' => '222'),\narray('id' => '4944','name' => '(KUC) - Kuria Airport, Kuria, Kiribati','country_id' => '114'),\narray('id' => '4945','name' => '(MNK) - Maiana Airport, Maiana, Kiribati','country_id' => '114'),\narray('id' => '4946','name' => '(MZK) - Marakei Airport, Marakei, Kiribati','country_id' => '114'),\narray('id' => '4947','name' => '(MTK) - Makin Island Airport, Makin Island, Kiribati','country_id' => '114'),\narray('id' => '4948','name' => '(NIG) - Nikunau Airport, Nikunau, Kiribati','country_id' => '114'),\narray('id' => '4949','name' => '(OOT) - Onotoa Airport, Onotoa, Kiribati','country_id' => '114'),\narray('id' => '4950','name' => '(TRW) - Bonriki International Airport, Tarawa, Kiribati','country_id' => '114'),\narray('id' => '4951','name' => '(AEA) - Abemama Atoll Airport, Abemama Atoll, Kiribati','country_id' => '114'),\narray('id' => '4952','name' => '(TBF) - Tabiteuea North Airport, , Kiribati','country_id' => '114'),\narray('id' => '4953','name' => '(TMN) - Tamana Island Airport, Tamana Island, Kiribati','country_id' => '114'),\narray('id' => '4954','name' => '(NON) - Nonouti Airport, Nonouti, Kiribati','country_id' => '114'),\narray('id' => '4955','name' => '(AIS) - Arorae Island Airport, Arorae Island, Kiribati','country_id' => '114'),\narray('id' => '4956','name' => '(TSU) - Tabiteuea South Airport, Tabiteuea South, Kiribati','country_id' => '114'),\narray('id' => '4957','name' => '(BBG) - Butaritari Atoll Airport, Butaritari Atoll, Kiribati','country_id' => '114'),\narray('id' => '4958','name' => '(AAK) - Buariki Airport, Buariki, Kiribati','country_id' => '114'),\narray('id' => '4959','name' => '(IUE) - Niue International Airport, Alofi, Niue','country_id' => '166'),\narray('id' => '4960','name' => '(NKD) - Sinak Airport, Sinak, Indonesia','country_id' => '97'),\narray('id' => '4961','name' => '(NLH) - Ninglang Luguhu Airport, Ninglang, China','country_id' => '45'),\narray('id' => '4962','name' => '(FUT) - Pointe Vele Airport, Futuna Island, Wallis and Futuna','country_id' => '238'),\narray('id' => '4963','name' => '(WLS) - Hihifo Airport, Wallis Island, Wallis and Futuna','country_id' => '238'),\narray('id' => '4964','name' => '(HBB) - Industrial Airpark, Hobbs, United States','country_id' => '228'),\narray('id' => '4965','name' => '(NND) - Nangade Airport, Nangade, Mozambique','country_id' => '155'),\narray('id' => '4966','name' => '(NOM) - Nomad River Airport, Nomad River, Papua New Guinea','country_id' => '172'),\narray('id' => '4967','name' => '(NOO) - Naoro Airport, Naoro Vilage, Papua New Guinea','country_id' => '172'),\narray('id' => '4968','name' => '(MWP) - Mountain Airport, Mountain, Nepal','country_id' => '164'),\narray('id' => '4969','name' => '(NPG) - Nipa Airport, Nipa, Papua New Guinea','country_id' => '172'),\narray('id' => '4970','name' => '(NRY) - Newry Airport, Newry, Australia','country_id' => '12'),\narray('id' => '4971','name' => '(OFU) - Ofu Village Airport, Ofu Village, American Samoa','country_id' => '10'),\narray('id' => '4972','name' => '(AAU) - Asau Airport, Asau, Samoa','country_id' => '239'),\narray('id' => '4973','name' => '(APW) - Faleolo International Airport, Apia, Samoa','country_id' => '239'),\narray('id' => '4974','name' => '(FGI) - Fagali\\'i Airport, Apia, Samoa','country_id' => '239'),\narray('id' => '4975','name' => '(FTI) - Fitiuta Airport, Fitiuta Village, American Samoa','country_id' => '10'),\narray('id' => '4976','name' => '(MXS) - Maota Airport, Maota, Samoa','country_id' => '239'),\narray('id' => '4977','name' => '(PPG) - Pago Pago International Airport, Pago Pago, American Samoa','country_id' => '10'),\narray('id' => '4978','name' => '(PPT) - Faa\\'a International Airport, Papeete, French Polynesia','country_id' => '171'),\narray('id' => '4979','name' => '(RMT) - Rimatara Airport, Rimatara Island, French Polynesia','country_id' => '171'),\narray('id' => '4980','name' => '(RUR) - Rurutu Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4981','name' => '(TUB) - Tubuai Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4982','name' => '(RVV) - Raivavae Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4983','name' => '(AAA) - Anaa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4984','name' => '(FGU) - Fangatau Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4985','name' => '(TIH) - Tikehau Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4986','name' => '(APK) - Apataki Airport, Apataki, French Polynesia','country_id' => '171'),\narray('id' => '4987','name' => '(REA) - Reao Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4988','name' => '(FAV) - Fakarava Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4989','name' => '(HHZ) - Hikueru Atoll Airport, Hikueru Atoll, French Polynesia','country_id' => '171'),\narray('id' => '4990','name' => '(XMH) - Manihi Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4991','name' => '(GMR) - Totegegie Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4992','name' => '(KKR) - Kaukura Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4993','name' => '(MKP) - Makemo Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4994','name' => '(NAU) - Napuka Island Airport, Napuka Island, French Polynesia','country_id' => '171'),\narray('id' => '4995','name' => '(TKV) - Tatakoto Airport, Tatakoto, French Polynesia','country_id' => '171'),\narray('id' => '4996','name' => '(PKP) - Puka Puka Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4997','name' => '(PUK) - Pukarua Airport, Pukarua, French Polynesia','country_id' => '171'),\narray('id' => '4998','name' => '(TKP) - Takapoto Airport, , French Polynesia','country_id' => '171'),\narray('id' => '4999','name' => '(AXR) - Arutua Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5000','name' => '(MVT) - Mataiva Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5001','name' => '(NUK) - Nukutavake Airport, Nukutavake, French Polynesia','country_id' => '171'),\narray('id' => '5002','name' => '(ZTA) - Tureia Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5003','name' => '(AHE) - Ahe Airport, Ahe Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5004','name' => '(KHZ) - Kauehi Airport, Kauehi, French Polynesia','country_id' => '171'),\narray('id' => '5005','name' => '(FAC) - Faaite Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5006','name' => '(FHZ) - Fakahina Airport, Fakahina, French Polynesia','country_id' => '171'),\narray('id' => '5007','name' => '(RKA) - Aratika Nord Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5008','name' => '(TJN) - Takume Airport, Takume, French Polynesia','country_id' => '171'),\narray('id' => '5009','name' => '(NIU) - Naiu Airport, Naiu Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5010','name' => '(RRR) - Raroia Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5011','name' => '(TKX) - Takaroa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5012','name' => '(KXU) - Katiu Airport, Katiu, French Polynesia','country_id' => '171'),\narray('id' => '5013','name' => '(NKP) - Nukutepipi Airport, Nukutepipi, French Polynesia','country_id' => '171'),\narray('id' => '5014','name' => '(NHV) - Nuku Hiva Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5015','name' => '(AUQ) - Hiva Oa-Atuona Airport, Hiva Oa Island, French Polynesia','country_id' => '171'),\narray('id' => '5016','name' => '(UAP) - Ua Pou Airport, Ua Pou, French Polynesia','country_id' => '171'),\narray('id' => '5017','name' => '(UAH) - Ua Huka Airport, Ua Huka, French Polynesia','country_id' => '171'),\narray('id' => '5018','name' => '(BOB) - Bora Bora Airport, Motu Mute, French Polynesia','country_id' => '171'),\narray('id' => '5019','name' => '(TTI) - Tetiaroa Airport, Tetiaroa, French Polynesia','country_id' => '171'),\narray('id' => '5020','name' => '(RGI) - Rangiroa Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5021','name' => '(HUH) - Huahine-Fare Airport, Fare, French Polynesia','country_id' => '171'),\narray('id' => '5022','name' => '(MOZ) - Moorea Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5023','name' => '(HOI) - Hao Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5024','name' => '(MAU) - Maupiti Airport, , French Polynesia','country_id' => '171'),\narray('id' => '5025','name' => '(RFP) - Raiatea Airport, Uturoa, French Polynesia','country_id' => '171'),\narray('id' => '5026','name' => '(TPX) - Tupai Airport, Tupai Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5027','name' => '(UOA) - Mururoa Atoll Airport, Mururoa Atoll, French Polynesia','country_id' => '171'),\narray('id' => '5028','name' => '(VHZ) - Vahitahi Airport, Vahitahi, French Polynesia','country_id' => '171'),\narray('id' => '5029','name' => '(NUG) - Nuguria Airstrip, Nuguria Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5030','name' => '(UCC) - Yucca Airstrip, Mercury, United States','country_id' => '228'),\narray('id' => '5031','name' => '(MTV) - Mota Lava Airport, Ablow, Vanuatu','country_id' => '237'),\narray('id' => '5032','name' => '(SLH) - Sola Airport, Sola, Vanuatu','country_id' => '237'),\narray('id' => '5033','name' => '(TOH) - Torres Airstrip, Loh/Linua, Vanuatu','country_id' => '237'),\narray('id' => '5034','name' => '(EAE) - Siwo Airport, Emae Island, Vanuatu','country_id' => '237'),\narray('id' => '5035','name' => '(CCV) - Craig Cove Airport, Craig Cove, Vanuatu','country_id' => '237'),\narray('id' => '5036','name' => '(LOD) - Longana Airport, Longana, Vanuatu','country_id' => '237'),\narray('id' => '5037','name' => '(SSR) - Sara Airport, Pentecost Island, Vanuatu','country_id' => '237'),\narray('id' => '5038','name' => '(PBJ) - Tavie Airport, Paama Island, Vanuatu','country_id' => '237'),\narray('id' => '5039','name' => '(LPM) - Lamap Airport, Lamap, Vanuatu','country_id' => '237'),\narray('id' => '5040','name' => '(LNB) - Lamen Bay Airport, Lamen Bay, Vanuatu','country_id' => '237'),\narray('id' => '5041','name' => '(MWF) - Maewo-Naone Airport, Maewo Island, Vanuatu','country_id' => '237'),\narray('id' => '5042','name' => '(LNE) - Lonorore Airport, Lonorore, Vanuatu','country_id' => '237'),\narray('id' => '5043','name' => '(NUS) - Norsup Airport, Norsup, Vanuatu','country_id' => '237'),\narray('id' => '5044','name' => '(ZGU) - Gaua Island Airport, Gaua Island, Vanuatu','country_id' => '237'),\narray('id' => '5045','name' => '(RCL) - Redcliffe Airport, Redcliffe, Vanuatu','country_id' => '237'),\narray('id' => '5046','name' => '(SON) - Santo Pekoa International Airport, Luganville, Vanuatu','country_id' => '237'),\narray('id' => '5047','name' => '(TGH) - Tongoa Airport, Tongoa Island, Vanuatu','country_id' => '237'),\narray('id' => '5048','name' => '(ULB) - UlAi Airport, Ambryn Island, Vanuatu','country_id' => '237'),\narray('id' => '5049','name' => '(VLS) - Valesdir Airport, Epi Island, Vanuatu','country_id' => '237'),\narray('id' => '5050','name' => '(WLH) - Walaha Airport, Walaha, Vanuatu','country_id' => '237'),\narray('id' => '5051','name' => '(SWJ) - Southwest Bay Airport, Malekula Island, Vanuatu','country_id' => '237'),\narray('id' => '5052','name' => '(OLJ) - North West Santo Airport, Olpoi, Vanuatu','country_id' => '237'),\narray('id' => '5053','name' => '(AUY) - Aneityum Airport, Anatom Island, Vanuatu','country_id' => '237'),\narray('id' => '5054','name' => '(AWD) - Aniwa Airport, Aniwa, Vanuatu','country_id' => '237'),\narray('id' => '5055','name' => '(DLY) - Dillon\\'s Bay Airport, Dillon\\'s Bay, Vanuatu','country_id' => '237'),\narray('id' => '5056','name' => '(FTA) - Futuna Airport, Futuna Island, Vanuatu','country_id' => '237'),\narray('id' => '5057','name' => '(IPA) - Ipota Airport, Ipota, Vanuatu','country_id' => '237'),\narray('id' => '5058','name' => '(UIQ) - Quion Hill Airport, Quion Hill, Vanuatu','country_id' => '237'),\narray('id' => '5059','name' => '(VLI) - Bauerfield International Airport, Port Vila, Vanuatu','country_id' => '237'),\narray('id' => '5060','name' => '(TAH) - Tanna Airport, , Vanuatu','country_id' => '237'),\narray('id' => '5061','name' => '(NWT) - Nowata Airport, Nowata, Papua New Guinea','country_id' => '172'),\narray('id' => '5062','name' => '(TGJ) - Tiga Airport, Tiga, New Caledonia','country_id' => '157'),\narray('id' => '5063','name' => '(BMY) - Ale Art - Waala Airport, Waala, New Caledonia','country_id' => '157'),\narray('id' => '5064','name' => '(KNQ) - KonA Airport, KonA, New Caledonia','country_id' => '157'),\narray('id' => '5065','name' => '(ILP) - Ale des Pins Airport, Ale des Pins, New Caledonia','country_id' => '157'),\narray('id' => '5066','name' => '(HLU) - Nesson Airport, Houailou, New Caledonia','country_id' => '157'),\narray('id' => '5067','name' => '(KOC) - Koumac Airport, Koumac, New Caledonia','country_id' => '157'),\narray('id' => '5068','name' => '(LIF) - Lifou Airport, Lifou, New Caledonia','country_id' => '157'),\narray('id' => '5069','name' => '(GEA) - NoumAa Magenta Airport, NoumAa, New Caledonia','country_id' => '157'),\narray('id' => '5070','name' => '(IOU) - Edmond CanA Airport, Ale Ouen, New Caledonia','country_id' => '157'),\narray('id' => '5071','name' => '(PUV) - Poum Airport, Poum, New Caledonia','country_id' => '157'),\narray('id' => '5072','name' => '(PDC) - Mueo Airport, Mueo, New Caledonia','country_id' => '157'),\narray('id' => '5073','name' => '(MEE) - MarA Airport, MarA, New Caledonia','country_id' => '157'),\narray('id' => '5074','name' => '(TOU) - Touho Airport, Touho, New Caledonia','country_id' => '157'),\narray('id' => '5075','name' => '(UVE) - OuvAa Airport, OuvAa, New Caledonia','country_id' => '157'),\narray('id' => '5076','name' => '(NOU) - La Tontouta International Airport, NoumAa, New Caledonia','country_id' => '157'),\narray('id' => '5077','name' => '(AKL) - Auckland International Airport, Auckland, New Zealand','country_id' => '167'),\narray('id' => '5078','name' => '(TUO) - Taupo Airport, Taupo, New Zealand','country_id' => '167'),\narray('id' => '5079','name' => '(AMZ) - Ardmore Airport, Manurewa, New Zealand','country_id' => '167'),\narray('id' => '5080','name' => '(ASG) - Ashburton Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5081','name' => '(CHC) - Christchurch International Airport, Christchurch, New Zealand','country_id' => '167'),\narray('id' => '5082','name' => '(CHT) - Chatham Islands-Tuuta Airport, Waitangi, New Zealand','country_id' => '167'),\narray('id' => '5083','name' => '(CMV) - Coromandel Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5084','name' => '(DGR) - Dargaville Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5085','name' => '(DUD) - Dunedin Airport, Dunedin, New Zealand','country_id' => '167'),\narray('id' => '5086','name' => '(WHO) - Franz Josef Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5087','name' => '(GBZ) - Great Barrier Aerodrome, Claris, New Zealand','country_id' => '167'),\narray('id' => '5088','name' => '(GMN) - Greymouth Airport, , New Zealand','country_id' => '167'),\narray('id' => '5089','name' => '(GIS) - Gisborne Airport, Gisborne, New Zealand','country_id' => '167'),\narray('id' => '5090','name' => '(GTN) - Glentanner Airport, Glentanner Station, New Zealand','country_id' => '167'),\narray('id' => '5091','name' => '(HKK) - Hokitika Airfield, , New Zealand','country_id' => '167'),\narray('id' => '5092','name' => '(HLZ) - Hamilton International Airport, Hamilton, New Zealand','country_id' => '167'),\narray('id' => '5093','name' => '(WIK) - Waiheke Reeve Airport, , New Zealand','country_id' => '167'),\narray('id' => '5094','name' => '(KBZ) - Kaikoura Airport, , New Zealand','country_id' => '167'),\narray('id' => '5095','name' => '(KKE) - Kerikeri Airport, Kerikeri, New Zealand','country_id' => '167'),\narray('id' => '5096','name' => '(KKO) - Kaikohe Airport, , New Zealand','country_id' => '167'),\narray('id' => '5097','name' => '(KAT) - Kaitaia Airport, Kaitaia, New Zealand','country_id' => '167'),\narray('id' => '5098','name' => '(ALR) - Alexandra Airport, Alexandra, New Zealand','country_id' => '167'),\narray('id' => '5099','name' => '(MTA) - Matamata Glider Airport, , New Zealand','country_id' => '167'),\narray('id' => '5100','name' => '(MON) - Mount Cook Airport, , New Zealand','country_id' => '167'),\narray('id' => '5101','name' => '(MFN) - Milford Sound Airport, , New Zealand','country_id' => '167'),\narray('id' => '5102','name' => '(MZP) - Motueka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5103','name' => '(TEU) - Manapouri Airport, , New Zealand','country_id' => '167'),\narray('id' => '5104','name' => '(MRO) - Hood Airport, Masterton, New Zealand','country_id' => '167'),\narray('id' => '5105','name' => '(NPL) - New Plymouth Airport, New Plymouth, New Zealand','country_id' => '167'),\narray('id' => '5106','name' => '(NPE) - Napier Airport, , New Zealand','country_id' => '167'),\narray('id' => '5107','name' => '(NSN) - Nelson Airport, Nelson, New Zealand','country_id' => '167'),\narray('id' => '5108','name' => '(IVC) - Invercargill Airport, Invercargill, New Zealand','country_id' => '167'),\narray('id' => '5109','name' => '(OHA) - RNZAF Base Ohakea, , New Zealand','country_id' => '167'),\narray('id' => '5110','name' => '(OAM) - Oamaru Airport, , New Zealand','country_id' => '167'),\narray('id' => '5111','name' => '(PMR) - Palmerston North Airport, , New Zealand','country_id' => '167'),\narray('id' => '5112','name' => '(PCN) - Picton Aerodrome, Koromiko, New Zealand','country_id' => '167'),\narray('id' => '5113','name' => '(PPQ) - Paraparaumu Airport, , New Zealand','country_id' => '167'),\narray('id' => '5114','name' => '(ZQN) - Queenstown International Airport, Queenstown, New Zealand','country_id' => '167'),\narray('id' => '5115','name' => '(RAG) - Raglan Airfield, , New Zealand','country_id' => '167'),\narray('id' => '5116','name' => '(SZS) - Ryans Creek Aerodrome, Oban, New Zealand','country_id' => '167'),\narray('id' => '5117','name' => '(ROT) - Rotorua Regional Airport, Rotorua, New Zealand','country_id' => '167'),\narray('id' => '5118','name' => '(TRG) - Tauranga Airport, Tauranga, New Zealand','country_id' => '167'),\narray('id' => '5119','name' => '(TMZ) - Thames Aerodrome, , New Zealand','country_id' => '167'),\narray('id' => '5120','name' => '(KTF) - Takaka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5121','name' => '(TKZ) - Tokoroa Airfield, Tokoroa, New Zealand','country_id' => '167'),\narray('id' => '5122','name' => '(THH) - Taharoa Aerodrome, Taharoa, New Zealand','country_id' => '167'),\narray('id' => '5123','name' => '(TIU) - Timaru Airport, , New Zealand','country_id' => '167'),\narray('id' => '5124','name' => '(TWZ) - Pukaki Airport, Twitzel, New Zealand','country_id' => '167'),\narray('id' => '5125','name' => '(BHE) - Woodbourne Airport, Blenheim, New Zealand','country_id' => '167'),\narray('id' => '5126','name' => '(WKA) - Wanaka Airport, , New Zealand','country_id' => '167'),\narray('id' => '5127','name' => '(WHK) - Whakatane Airport, , New Zealand','country_id' => '167'),\narray('id' => '5128','name' => '(WLG) - Wellington International Airport, Wellington, New Zealand','country_id' => '167'),\narray('id' => '5129','name' => '(WIR) - Wairoa Airport, Wairoa, New Zealand','country_id' => '167'),\narray('id' => '5130','name' => '(WRE) - Whangarei Airport, , New Zealand','country_id' => '167'),\narray('id' => '5131','name' => '(WSZ) - Westport Airport, , New Zealand','country_id' => '167'),\narray('id' => '5132','name' => '(WTZ) - Whitianga Airport, , New Zealand','country_id' => '167'),\narray('id' => '5133','name' => '(WAG) - Wanganui Airport, Wanganui, New Zealand','country_id' => '167'),\narray('id' => '5134','name' => '(NLN) - Kneeland Airport, Eureka, United States','country_id' => '228'),\narray('id' => '5135','name' => '(BZF) - Benton Field, Redding, United States','country_id' => '228'),\narray('id' => '5136','name' => '(OAA) - Shank Air Base, , Afghanistan','country_id' => '2'),\narray('id' => '5137','name' => '(BIN) - Bamiyan Airport, Bamiyan, Afghanistan','country_id' => '2'),\narray('id' => '5138','name' => '(BST) - Bost Airport, Bost, Afghanistan','country_id' => '2'),\narray('id' => '5139','name' => '(CCN) - Chakcharan Airport, Chakcharan, Afghanistan','country_id' => '2'),\narray('id' => '5140','name' => '(SBF) - Sardeh Band Airport, Sardeh Band, Afghanistan','country_id' => '2'),\narray('id' => '5141','name' => '(DAZ) - Darwaz Airport, Darwaz, Afghanistan','country_id' => '2'),\narray('id' => '5142','name' => '(FAH) - Farah Airport, Farah, Afghanistan','country_id' => '2'),\narray('id' => '5143','name' => '(FBD) - Fayzabad Airport, Fayzabad, Afghanistan','country_id' => '2'),\narray('id' => '5144','name' => '(GZI) - Ghazni Airport, Ghazni, Afghanistan','country_id' => '2'),\narray('id' => '5145','name' => '(KWH) - Khwahan Airport, Khwahan, Afghanistan','country_id' => '2'),\narray('id' => '5146','name' => '(HEA) - Herat Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5147','name' => '(OAI) - Bagram Air Base, Bagram, Afghanistan','country_id' => '2'),\narray('id' => '5148','name' => '(JAA) - Jalalabad Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5149','name' => '(GRG) - Gardez Airport, Gardez, Afghanistan','country_id' => '2'),\narray('id' => '5150','name' => '(KBL) - Kabul International Airport, Kabul, Afghanistan','country_id' => '2'),\narray('id' => '5151','name' => '(KDH) - Kandahar Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5152','name' => '(KHT) - Khost Airport, Khost, Afghanistan','country_id' => '2'),\narray('id' => '5153','name' => '(MMZ) - Maimana Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5154','name' => '(MZR) - Mazar I Sharif Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5155','name' => '(URN) - Urgun Airport, Urgun, Afghanistan','country_id' => '2'),\narray('id' => '5156','name' => '(LQN) - Qala-I-Naw Airport, Qala-I-Naw, Afghanistan','country_id' => '2'),\narray('id' => '5157','name' => '(OAS) - Sharana Airstrip, Sharana, Afghanistan','country_id' => '2'),\narray('id' => '5158','name' => '(OAH) - Shindand Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5159','name' => '(SGA) - Sheghnan Airport, Sheghnan, Afghanistan','country_id' => '2'),\narray('id' => '5160','name' => '(TII) - Tarin Kowt Airport, Tarin Kowt, Afghanistan','country_id' => '2'),\narray('id' => '5161','name' => '(TQN) - Talolqan Airport, Taloqan, Afghanistan','country_id' => '2'),\narray('id' => '5162','name' => '(UND) - Konduz Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5163','name' => '(OAZ) - Camp Bastion Airport, , Afghanistan','country_id' => '2'),\narray('id' => '5164','name' => '(ZAJ) - Zaranj Airport, Zaranj, Afghanistan','country_id' => '2'),\narray('id' => '5165','name' => '(BAH) - Bahrain International Airport, Manama, Bahrain','country_id' => '21'),\narray('id' => '5166','name' => '(OCS) - Corisco International Airport, Corisco Island, Equatorial Guinea','country_id' => '85'),\narray('id' => '5167','name' => '(AHB) - Abha Regional Airport, Abha, Saudi Arabia','country_id' => '189'),\narray('id' => '5168','name' => '(HOF) - Al Ahsa Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5169','name' => '(ABT) - Al Baha Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5170','name' => '(BHH) - Bisha Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5171','name' => '(DMM) - King Fahd International Airport, Ad Dammam, Saudi Arabia','country_id' => '189'),\narray('id' => '5172','name' => '(DHA) - King Abdulaziz Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5173','name' => '(DWD) - Dawadmi Domestic Airport, Dawadmi, Saudi Arabia','country_id' => '189'),\narray('id' => '5174','name' => '(GIZ) - Jizan Regional Airport, Jizan, Saudi Arabia','country_id' => '189'),\narray('id' => '5175','name' => '(ELQ) - Gassim Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5176','name' => '(URY) - Gurayat Domestic Airport, Gurayat, Saudi Arabia','country_id' => '189'),\narray('id' => '5177','name' => '(HAS) - Ha\\'il Airport, Ha\"il, Saudi Arabia','country_id' => '189'),\narray('id' => '5178','name' => '(QJB) - Jubail Airport, Jubail, Saudi Arabia','country_id' => '189'),\narray('id' => '5179','name' => '(JED) - King Abdulaziz International Airport, Jeddah, Saudi Arabia','country_id' => '189'),\narray('id' => '5180','name' => '(KMC) - King Khaled Military City Airport, King Khaled Military City, Saudi Arabia','country_id' => '189'),\narray('id' => '5181','name' => '(KMX) - King Khaled Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5182','name' => '(MED) - Prince Mohammad Bin Abdulaziz Airport, Medina, Saudi Arabia','country_id' => '189'),\narray('id' => '5183','name' => '(EAM) - Nejran Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5184','name' => '(AQI) - Al Qaisumah/Hafr Al Batin Airport, Qaisumah, Saudi Arabia','country_id' => '189'),\narray('id' => '5185','name' => '(AKH) - Prince Sultan Air Base, , Saudi Arabia','country_id' => '189'),\narray('id' => '5186','name' => '(RAH) - Rafha Domestic Airport, Rafha, Saudi Arabia','country_id' => '189'),\narray('id' => '5187','name' => '(RUH) - King Khaled International Airport, Riyadh, Saudi Arabia','country_id' => '189'),\narray('id' => '5188','name' => '(RAE) - Arar Domestic Airport, Arar, Saudi Arabia','country_id' => '189'),\narray('id' => '5189','name' => '(XXN) - Riyadh Air Base, Riyadh, Saudi Arabia','country_id' => '189'),\narray('id' => '5190','name' => '(SHW) - Sharurah Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5191','name' => '(AJF) - Al-Jawf Domestic Airport, Al-Jawf, Saudi Arabia','country_id' => '189'),\narray('id' => '5192','name' => '(SLF) - Sulayel Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5193','name' => '(TUU) - Tabuk Airport, Tabuk, Saudi Arabia','country_id' => '189'),\narray('id' => '5194','name' => '(TIF) - Taaif Regional Airport, Taaif, Saudi Arabia','country_id' => '189'),\narray('id' => '5195','name' => '(TUI) - Turaif Domestic Airport, Turaif, Saudi Arabia','country_id' => '189'),\narray('id' => '5196','name' => '(WAE) - Wadi Al Dawasir Airport, , Saudi Arabia','country_id' => '189'),\narray('id' => '5197','name' => '(EJH) - Al Wajh Domestic Airport, Al Wajh, Saudi Arabia','country_id' => '189'),\narray('id' => '5198','name' => '(YNB) - Prince Abdulmohsin Bin Abdulaziz Airport, Yanbu, Saudi Arabia','country_id' => '189'),\narray('id' => '5199','name' => '(ZUL) - Zilfi Airport, Zilfi, Saudi Arabia','country_id' => '189'),\narray('id' => '5200','name' => '(OGE) - Ogeranang Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5201','name' => '(OGM) - Ogubsucum Airport, Ustupo, Panama','country_id' => '169'),\narray('id' => '5202','name' => '(ABD) - Abadan Airport, Abadan, Iran','country_id' => '104'),\narray('id' => '5203','name' => '(DEF) - Dezful Airport, , Iran','country_id' => '104'),\narray('id' => '5204','name' => '(AKW) - Aghajari Airport, Aghajari,, Iran','country_id' => '104'),\narray('id' => '5205','name' => '(GCH) - Gachsaran Airport, Gachsaran, Iran','country_id' => '104'),\narray('id' => '5206','name' => '(OMI) - Omidiyeh Airport, Omidiyeh, Iran','country_id' => '104'),\narray('id' => '5207','name' => '(MRX) - Mahshahr Airport, , Iran','country_id' => '104'),\narray('id' => '5208','name' => '(AWZ) - Ahwaz Airport, Ahwaz, Iran','country_id' => '104'),\narray('id' => '5209','name' => '(AEU) - Abumusa Island Airport, , Iran','country_id' => '104'),\narray('id' => '5210','name' => '(BUZ) - Bushehr Airport, Bushehr, Iran','country_id' => '104'),\narray('id' => '5211','name' => '(KNR) - Jam Airport, Kangan, Iran','country_id' => '104'),\narray('id' => '5212','name' => '(KIH) - Kish International Airport, Kish Island, Iran','country_id' => '104'),\narray('id' => '5213','name' => '(BDH) - Bandar Lengeh Airport, Bandar Lengeh, Iran','country_id' => '104'),\narray('id' => '5214','name' => '(PGU) - Persian Gulf International Airport, Asalouyeh, Iran','country_id' => '104'),\narray('id' => '5215','name' => '(KHK) - Khark Island Airport, , Iran','country_id' => '104'),\narray('id' => '5216','name' => '(SXI) - Sirri Island Airport, , Iran','country_id' => '104'),\narray('id' => '5217','name' => '(LVP) - Lavan Island Airport, , Iran','country_id' => '104'),\narray('id' => '5218','name' => '(KSH) - Shahid Ashrafi Esfahani Airport, Kermanshah, Iran','country_id' => '104'),\narray('id' => '5219','name' => '(IIL) - Ilam Airport, Ilam, Iran','country_id' => '104'),\narray('id' => '5220','name' => '(KHD) - Khoram Abad Airport, , Iran','country_id' => '104'),\narray('id' => '5221','name' => '(SDG) - Sanandaj Airport, , Iran','country_id' => '104'),\narray('id' => '5222','name' => '(IFH) - Hesa Airport, Hesa, Iran','country_id' => '104'),\narray('id' => '5223','name' => '(IFN) - Esfahan Shahid Beheshti International Airport, Isfahan, Iran','country_id' => '104'),\narray('id' => '5224','name' => '(CQD) - Shahrekord Airport, Shahrekord, Iran','country_id' => '104'),\narray('id' => '5225','name' => '(RAS) - Sardar-e-Jangal Airport, Rasht, Iran','country_id' => '104'),\narray('id' => '5226','name' => '(HDM) - Hamadan Airport, Hamadan, Iran','country_id' => '104'),\narray('id' => '5227','name' => '(AJK) - Arak Airport, Araak, Iran','country_id' => '104'),\narray('id' => '5228','name' => '(IKA) - Imam Khomeini International Airport, Tehran, Iran','country_id' => '104'),\narray('id' => '5229','name' => '(THR) - Mehrabad International Airport, Tehran, Iran','country_id' => '104'),\narray('id' => '5230','name' => '(PYK) - Payam International Airport, Karaj, Iran','country_id' => '104'),\narray('id' => '5231','name' => '(BND) - Bandar Abbas International Airport, Bandar Abbas, Iran','country_id' => '104'),\narray('id' => '5232','name' => '(JYR) - Jiroft Airport, Jiroft, Iran','country_id' => '104'),\narray('id' => '5233','name' => '(KER) - Kerman Airport, Kerman, Iran','country_id' => '104'),\narray('id' => '5234','name' => '(BXR) - Bam Airport, , Iran','country_id' => '104'),\narray('id' => '5235','name' => '(HDR) - Havadarya Airport, Havadarya, Iran','country_id' => '104'),\narray('id' => '5236','name' => '(RJN) - Rafsanjan Airport, , Iran','country_id' => '104'),\narray('id' => '5237','name' => '(SYJ) - Sirjan Airport, , Iran','country_id' => '104'),\narray('id' => '5238','name' => '(XBJ) - Birjand Airport, Birjand, Iran','country_id' => '104'),\narray('id' => '5239','name' => '(CKT) - Sarakhs Airport, Sarakhs, Iran','country_id' => '104'),\narray('id' => '5240','name' => '(RUD) - Shahroud Airport, , Iran','country_id' => '104'),\narray('id' => '5241','name' => '(MHD) - Mashhad International Airport, Mashhad, Iran','country_id' => '104'),\narray('id' => '5242','name' => '(BJB) - Bojnord Airport, Bojnord, Iran','country_id' => '104'),\narray('id' => '5243','name' => '(AFZ) - Sabzevar National Airport, Sabzevar, Iran','country_id' => '104'),\narray('id' => '5244','name' => '(TCX) - Tabas Airport, Tabas, Iran','country_id' => '104'),\narray('id' => '5245','name' => '(KLM) - Kalaleh Airport, Kalaleh, Iran','country_id' => '104'),\narray('id' => '5246','name' => '(GBT) - Gorgan Airport, Gorgan, Iran','country_id' => '104'),\narray('id' => '5247','name' => '(BSM) - Bishe Kola Air Base, Amol, Iran','country_id' => '104'),\narray('id' => '5248','name' => '(NSH) - Noshahr Airport, , Iran','country_id' => '104'),\narray('id' => '5249','name' => '(RZR) - Ramsar Airport, , Iran','country_id' => '104'),\narray('id' => '5250','name' => '(SRY) - Dasht-e Naz Airport, Sari, Iran','country_id' => '104'),\narray('id' => '5251','name' => '(FAZ) - Fasa Airport, Fasa, Iran','country_id' => '104'),\narray('id' => '5252','name' => '(JAR) - Jahrom Airport, Jahrom, Iran','country_id' => '104'),\narray('id' => '5253','name' => '(LRR) - Lar Airport, Lar, Iran','country_id' => '104'),\narray('id' => '5254','name' => '(LFM) - Lamerd Airport, Lamerd, Iran','country_id' => '104'),\narray('id' => '5255','name' => '(SYZ) - Shiraz Shahid Dastghaib International Airport, Shiraz, Iran','country_id' => '104'),\narray('id' => '5256','name' => '(YES) - Yasouj Airport, Yasouj, Iran','country_id' => '104'),\narray('id' => '5257','name' => '(KHY) - Khoy Airport, Khoy, Iran','country_id' => '104'),\narray('id' => '5258','name' => '(ADU) - Ardabil Airport, Ardabil, Iran','country_id' => '104'),\narray('id' => '5259','name' => '(ACP) - Sahand Airport, Maragheh, Iran','country_id' => '104'),\narray('id' => '5260','name' => '(PFQ) - Parsabade Moghan Airport, Parsabad, Iran','country_id' => '104'),\narray('id' => '5261','name' => '(OMH) - Urmia Airport, Urmia, Iran','country_id' => '104'),\narray('id' => '5262','name' => '(TBZ) - Tabriz International Airport, Tabriz, Iran','country_id' => '104'),\narray('id' => '5263','name' => '(JWN) - Zanjan Airport, Zanjan, Iran','country_id' => '104'),\narray('id' => '5264','name' => '(AZD) - Shahid Sadooghi Airport, Yazd, Iran','country_id' => '104'),\narray('id' => '5265','name' => '(ACZ) - Zabol Airport, , Iran','country_id' => '104'),\narray('id' => '5266','name' => '(ZBR) - Konarak Airport, Chabahar, Iran','country_id' => '104'),\narray('id' => '5267','name' => '(ZAH) - Zahedan International Airport, Zahedan, Iran','country_id' => '104'),\narray('id' => '5268','name' => '(IHR) - Iran Shahr Airport, Iranshahr, Iran','country_id' => '104'),\narray('id' => '5269','name' => '(AMM) - Queen Alia International Airport, Amman, Jordan','country_id' => '109'),\narray('id' => '5270','name' => '(ADJ) - Amman-Marka International Airport, Amman, Jordan','country_id' => '109'),\narray('id' => '5271','name' => '(AQJ) - Aqaba King Hussein International Airport, Aqaba, Jordan','country_id' => '109'),\narray('id' => '5272','name' => '(OMF) - King Hussein Air College, Mafraq, Jordan','country_id' => '109'),\narray('id' => '5273','name' => '(XIJ) - Ahmed Al Jaber Air Base, Ahmed Al Jaber AB, Kuwait','country_id' => '119'),\narray('id' => '5274','name' => '(KWI) - Kuwait International Airport, Kuwait City, Kuwait','country_id' => '119'),\narray('id' => '5275','name' => '(OKV) - Okao Airport, Okao, Papua New Guinea','country_id' => '172'),\narray('id' => '5276','name' => '(BEY) - Beirut Rafic Hariri International Airport, Beirut, Lebanon','country_id' => '123'),\narray('id' => '5277','name' => '(KYE) - Rene Mouawad Air Base, Tripoli, Lebanon','country_id' => '123'),\narray('id' => '5278','name' => '(OLQ) - Olsobip Airport, Olsobip, Papua New Guinea','country_id' => '172'),\narray('id' => '5279','name' => '(BYB) - Dibba Airport, Dibba Al-Baya, Oman','country_id' => '168'),\narray('id' => '5280','name' => '(AOM) - Adam Airport, Adam, Oman','country_id' => '168'),\narray('id' => '5281','name' => '(JNJ) - Duqm Jaaluni Airport, Duqm, Oman','country_id' => '168'),\narray('id' => '5282','name' => '(MNH) - Rustaq Airport, Al Masna\\'ah, Oman','country_id' => '168'),\narray('id' => '5283','name' => '(AUH) - Abu Dhabi International Airport, Abu Dhabi, United Arab Emirates','country_id' => '1'),\narray('id' => '5284','name' => '(AZI) - Bateen Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5285','name' => '(AAN) - Al Ain International Airport, Al Ain, United Arab Emirates','country_id' => '1'),\narray('id' => '5286','name' => '(DHF) - Al Dhafra Air Base, , United Arab Emirates','country_id' => '1'),\narray('id' => '5287','name' => '(XSB) - Sir Bani Yas Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5288','name' => '(DXB) - Dubai International Airport, Dubai, United Arab Emirates','country_id' => '1'),\narray('id' => '5289','name' => '(NHD) - Al Minhad Air Base, Dubai, United Arab Emirates','country_id' => '1'),\narray('id' => '5290','name' => '(DWC) - Al Maktoum International Airport, Jebel Ali, United Arab Emirates','country_id' => '1'),\narray('id' => '5291','name' => '(FJR) - Fujairah International Airport, , United Arab Emirates','country_id' => '1'),\narray('id' => '5292','name' => '(OMN) - Osmanabad Airport, Osmanabad, India','country_id' => '101'),\narray('id' => '5293','name' => '(RKT) - Ras Al Khaimah International Airport, Ras Al Khaimah, United Arab Emirates','country_id' => '1'),\narray('id' => '5294','name' => '(SHJ) - Sharjah International Airport, Sharjah, United Arab Emirates','country_id' => '1'),\narray('id' => '5295','name' => '(OMY) - Preah Vinhear Airport, Tbeng Meanchey, Cambodia','country_id' => '113'),\narray('id' => '5296','name' => '(ONB) - Ononge Airport, Onange Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '5297','name' => '(RMB) - Buraimi Airport, Buraimi, Oman','country_id' => '168'),\narray('id' => '5298','name' => '(FAU) - Fahud Airport, Fahud, Oman','country_id' => '168'),\narray('id' => '5299','name' => '(RNM) - Qarn Alam Airport, Ghaba, Oman','country_id' => '168'),\narray('id' => '5300','name' => '(JNJ) - Ja\\'Aluni Airport, Duqm, Oman','country_id' => '168'),\narray('id' => '5301','name' => '(KHS) - Khasab Air Base, Khasab, Oman','country_id' => '168'),\narray('id' => '5302','name' => '(LKW) - Lekhwair Airport, , Oman','country_id' => '168'),\narray('id' => '5303','name' => '(MSH) - Masirah Air Base, Masirah, Oman','country_id' => '168'),\narray('id' => '5304','name' => '(MCT) - Muscat International Airport, Muscat, Oman','country_id' => '168'),\narray('id' => '5305','name' => '(OMM) - Marmul Airport, Marmul, Oman','country_id' => '168'),\narray('id' => '5306','name' => '(SLL) - Salalah Airport, Salalah, Oman','country_id' => '168'),\narray('id' => '5307','name' => '(SUH) - Sur Airport, Sur, Oman','country_id' => '168'),\narray('id' => '5308','name' => '(TTH) - Thumrait Air Base, Thumrait, Oman','country_id' => '168'),\narray('id' => '5309','name' => '(DDU) - Dadu West Airport, Dadu, Pakistan','country_id' => '174'),\narray('id' => '5310','name' => '(AAW) - Abbottabad Airport, Abbottabad, Pakistan','country_id' => '174'),\narray('id' => '5311','name' => '(BHW) - Bhagatanwala Airport, Bhagatanwala, Pakistan','country_id' => '174'),\narray('id' => '5312','name' => '(BNP) - Bannu Airport, Bannu, Pakistan','country_id' => '174'),\narray('id' => '5313','name' => '(WGB) - Bahawalnagar Airport, Bahawalnagar, Pakistan','country_id' => '174'),\narray('id' => '5314','name' => '(BHV) - Bahawalpur Airport, Bahawalpur, Pakistan','country_id' => '174'),\narray('id' => '5315','name' => '(CJL) - Chitral Airport, Chitral, Pakistan','country_id' => '174'),\narray('id' => '5316','name' => '(CHB) - Chilas Airport, Chilas, Pakistan','country_id' => '174'),\narray('id' => '5317','name' => '(DBA) - Dalbandin Airport, Dalbandin, Pakistan','country_id' => '174'),\narray('id' => '5318','name' => '(DDU) - Dadu Airport, Dadu, Pakistan','country_id' => '174'),\narray('id' => '5319','name' => '(DEA) - Dera Ghazi Khan Airport, Dera Ghazi Khan, Pakistan','country_id' => '174'),\narray('id' => '5320','name' => '(DSK) - Dera Ismael Khan Airport, Dera Ismael Khan, Pakistan','country_id' => '174'),\narray('id' => '5321','name' => '(LYP) - Faisalabad International Airport, Faisalabad, Pakistan','country_id' => '174'),\narray('id' => '5322','name' => '(GWD) - Gwadar International Airport, Gwadar, Pakistan','country_id' => '174'),\narray('id' => '5323','name' => '(GIL) - Gilgit Airport, Gilgit, Pakistan','country_id' => '174'),\narray('id' => '5324','name' => '(JAG) - Shahbaz Air Base, Jacobabad, Pakistan','country_id' => '174'),\narray('id' => '5325','name' => '(JIW) - Jiwani Airport, Jiwani, Pakistan','country_id' => '174'),\narray('id' => '5326','name' => '(KHI) - Jinnah International Airport, Karachi, Pakistan','country_id' => '174'),\narray('id' => '5327','name' => '(HDD) - Hyderabad Airport, Hyderabad, Pakistan','country_id' => '174'),\narray('id' => '5328','name' => '(KDD) - Khuzdar Airport, Khuzdar, Pakistan','country_id' => '174'),\narray('id' => '5329','name' => '(KBH) - Kalat Airport, Kalat, Pakistan','country_id' => '174'),\narray('id' => '5330','name' => '(OHT) - Kohat Airport, Kohat, Pakistan','country_id' => '174'),\narray('id' => '5331','name' => '(LHE) - Alama Iqbal International Airport, Lahore, Pakistan','country_id' => '174'),\narray('id' => '5332','name' => '(LRG) - Loralai Airport, Loralai, Pakistan','country_id' => '174'),\narray('id' => '5333','name' => '(XJM) - Mangla Airport, Mangla, Pakistan','country_id' => '174'),\narray('id' => '5334','name' => '(MFG) - Muzaffarabad Airport, Muzaffarabad, Pakistan','country_id' => '174'),\narray('id' => '5335','name' => '(MWD) - Mianwali Air Base, Mianwali, Pakistan','country_id' => '174'),\narray('id' => '5336','name' => '(MJD) - Moenjodaro Airport, Moenjodaro, Pakistan','country_id' => '174'),\narray('id' => '5337','name' => '(MPD) - Mirpur Khas Air Base, Mirpur Khas, Pakistan','country_id' => '174'),\narray('id' => '5338','name' => '(MPD) - Sindhri Tharparkar Airport, Sindhri, Pakistan','country_id' => '174'),\narray('id' => '5339','name' => '(ATG) - Minhas Air Base, Kamra, Pakistan','country_id' => '174'),\narray('id' => '5340','name' => '(MUX) - Multan International Airport, Multan, Pakistan','country_id' => '174'),\narray('id' => '5341','name' => '(WNS) - Nawabshah Airport, Nawabash, Pakistan','country_id' => '174'),\narray('id' => '5342','name' => '(NHS) - Nushki Airport, Nushki, Pakistan','country_id' => '174'),\narray('id' => '5343','name' => '(ORW) - Ormara Airport, Ormara Raik, Pakistan','country_id' => '174'),\narray('id' => '5344','name' => '(PAJ) - Parachinar Airport, Parachinar, Pakistan','country_id' => '174'),\narray('id' => '5345','name' => '(PJG) - Panjgur Airport, Panjgur, Pakistan','country_id' => '174'),\narray('id' => '5346','name' => '(PSI) - Pasni Airport, Pasni, Pakistan','country_id' => '174'),\narray('id' => '5347','name' => '(PEW) - Peshawar International Airport, Peshawar, Pakistan','country_id' => '174'),\narray('id' => '5348','name' => '(UET) - Quetta International Airport, Quetta, Pakistan','country_id' => '174'),\narray('id' => '5349','name' => '(RYK) - Shaikh Zaid Airport, Rahim Yar Khan, Pakistan','country_id' => '174'),\narray('id' => '5350','name' => '(ISB) - Benazir Bhutto International Airport, Islamabad, Pakistan','country_id' => '174'),\narray('id' => '5351','name' => '(RAZ) - Rawalakot Airport, Rawalakot, Pakistan','country_id' => '174'),\narray('id' => '5352','name' => '(SBQ) - Sibi Airport, Sibi, Pakistan','country_id' => '174'),\narray('id' => '5353','name' => '(KDU) - Skardu Airport, Skardu, Pakistan','country_id' => '174'),\narray('id' => '5354','name' => '(SKZ) - Sukkur Airport, Mirpur Khas, Pakistan','country_id' => '174'),\narray('id' => '5355','name' => '(SYW) - Sehwan Sharif Airport, Sehwan Sharif, Pakistan','country_id' => '174'),\narray('id' => '5356','name' => '(SGI) - Mushaf Air Base, Sargodha, Pakistan','country_id' => '174'),\narray('id' => '5357','name' => '(SDT) - Saidu Sharif Airport, Saidu Sharif, Pakistan','country_id' => '174'),\narray('id' => '5358','name' => '(SKT) - Sialkot Airport, Sialkot, Pakistan','country_id' => '174'),\narray('id' => '5359','name' => '(SUL) - Sui Airport, Sui, Pakistan','country_id' => '174'),\narray('id' => '5360','name' => '(SWN) - Sahiwal Airport, Sahiwal, Pakistan','country_id' => '174'),\narray('id' => '5361','name' => '(TLB) - Tarbela Dam Airport, Tarbela, Pakistan','country_id' => '174'),\narray('id' => '5362','name' => '(BDN) - Talhar Airport, Badin, Pakistan','country_id' => '174'),\narray('id' => '5363','name' => '(TFT) - Taftan Airport, Taftan, Pakistan','country_id' => '174'),\narray('id' => '5364','name' => '(TUK) - Turbat International Airport, Turbat, Pakistan','country_id' => '174'),\narray('id' => '5365','name' => '(WAF) - Wana Airport, Waana, Pakistan','country_id' => '174'),\narray('id' => '5366','name' => '(PZH) - Zhob Airport, Fort Sandeman, Pakistan','country_id' => '174'),\narray('id' => '5367','name' => '(IQA) - Al Asad Air Base, HA\"t, Iraq','country_id' => '103'),\narray('id' => '5368','name' => '(TQD) - Al Taqaddum Air Base, Al Habbaniyah, Iraq','country_id' => '103'),\narray('id' => '5369','name' => '(BMN) - Bamarni Airport, Bamarni, Iraq','country_id' => '103'),\narray('id' => '5370','name' => '(XQC) - Joint Base Balad, Balad, Iraq','country_id' => '103'),\narray('id' => '5371','name' => '(BGW) - Baghdad International Airport, Baghdad, Iraq','country_id' => '103'),\narray('id' => '5372','name' => '(OSB) - Mosul International Airport, Mosul, Iraq','country_id' => '103'),\narray('id' => '5373','name' => '(EBL) - Erbil International Airport, Arbil, Iraq','country_id' => '103'),\narray('id' => '5374','name' => '(KIK) - Kirkuk Air Base, Kirkuk, Iraq','country_id' => '103'),\narray('id' => '5375','name' => '(BSR) - Basrah International Airport, Basrah, Iraq','country_id' => '103'),\narray('id' => '5376','name' => '(NJF) - Al Najaf International Airport, Najaf, Iraq','country_id' => '103'),\narray('id' => '5377','name' => '(RQW) - Qayyarah West Airport, Qayyarah, Iraq','country_id' => '103'),\narray('id' => '5378','name' => '(ISU) - Sulaymaniyah International Airport, Sulaymaniyah, Iraq','country_id' => '103'),\narray('id' => '5379','name' => '(ALP) - Aleppo International Airport, Aleppo, Syria','country_id' => '207'),\narray('id' => '5380','name' => '(DAM) - Damascus International Airport, Damascus, Syria','country_id' => '207'),\narray('id' => '5381','name' => '(DEZ) - Deir ez-Zor Airport, Deir ez-Zor, Syria','country_id' => '207'),\narray('id' => '5382','name' => '(OSE) - Omora Airport, Omora, Papua New Guinea','country_id' => '172'),\narray('id' => '5383','name' => '(OSG) - Ossima Airport, Ossima, Papua New Guinea','country_id' => '172'),\narray('id' => '5384','name' => '(KAC) - Kamishly Airport, Kamishly, Syria','country_id' => '207'),\narray('id' => '5385','name' => '(LTK) - Bassel Al-Assad International Airport, Latakia, Syria','country_id' => '207'),\narray('id' => '5386','name' => '(PMS) - Palmyra Airport, Tadmur, Syria','country_id' => '207'),\narray('id' => '5387','name' => '(XJD) - Al Udeid Air Base, Ar Rayyan, Qatar','country_id' => '183'),\narray('id' => '5388','name' => '(OTT) - Andre Maggi Airport, CotriguaAu, Brazil','country_id' => '29'),\narray('id' => '5389','name' => '(OUM) - Oum Hadjer Airport, Oum Hadjer, Chad','country_id' => '210'),\narray('id' => '5390','name' => '(OXO) - Orientos Airport, Orientos, Australia','country_id' => '12'),\narray('id' => '5391','name' => '(ADE) - Aden International Airport, Aden, Yemen','country_id' => '241'),\narray('id' => '5392','name' => '(EAB) - Abbse Airport, Abbse, Yemen','country_id' => '241'),\narray('id' => '5393','name' => '(AXK) - Ataq Airport, , Yemen','country_id' => '241'),\narray('id' => '5394','name' => '(BYD) - Al-Bayda Airport, Al-Bayda, Yemen','country_id' => '241'),\narray('id' => '5395','name' => '(BHN) - Beihan Airport, , Yemen','country_id' => '241'),\narray('id' => '5396','name' => '(BUK) - Al-Bough Airport, Al-Bough, Yemen','country_id' => '241'),\narray('id' => '5397','name' => '(AAY) - Al Ghaidah International Airport, , Yemen','country_id' => '241'),\narray('id' => '5398','name' => '(HOD) - Hodeidah International Airport, Hodeida, Yemen','country_id' => '241'),\narray('id' => '5399','name' => '(KAM) - Kamaran Airport, Kamaran, Yemen','country_id' => '241'),\narray('id' => '5400','name' => '(MYN) - Mareb Airport, Mareb, Yemen','country_id' => '241'),\narray('id' => '5401','name' => '(UKR) - Mukeiras Airport, Mukayras, Yemen','country_id' => '241'),\narray('id' => '5402','name' => '(IHN) - Qishn Airport, Qishn, Yemen','country_id' => '241'),\narray('id' => '5403','name' => '(RIY) - Mukalla International Airport, Riyan, Yemen','country_id' => '241'),\narray('id' => '5404','name' => '(SYE) - Sadah Airport, Sadah, Yemen','country_id' => '241'),\narray('id' => '5405','name' => '(SAH) - Sana\\'a International Airport, Sana\\'a, Yemen','country_id' => '241'),\narray('id' => '5406','name' => '(SCT) - Socotra International Airport, Socotra Islands, Yemen','country_id' => '241'),\narray('id' => '5407','name' => '(GXF) - Sayun International Airport, Sayun, Yemen','country_id' => '241'),\narray('id' => '5408','name' => '(TAI) - Ta\\'izz International Airport, Ta\\'izz, Yemen','country_id' => '241'),\narray('id' => '5409','name' => '(ACU) - Achutupo Airport, Achutupo, Panama','country_id' => '169'),\narray('id' => '5410','name' => '(AIL) - Alligandi Airport, Alligandi, Panama','country_id' => '169'),\narray('id' => '5411','name' => '(CTE) - Carti Airport, Carti, Panama','country_id' => '169'),\narray('id' => '5412','name' => '(MPP) - Mulatupo Airport, Mulatupo, Panama','country_id' => '169'),\narray('id' => '5413','name' => '(PYC) - PlayAn Chico Airport, PlayAn Chico, Panama','country_id' => '169'),\narray('id' => '5414','name' => '(RIZ) - RAo AzAocar Airport, RAo AzAocar, Panama','country_id' => '169'),\narray('id' => '5415','name' => '(NMG) - San Miguel Airport, Isla del Rey, Panama','country_id' => '169'),\narray('id' => '5416','name' => '(PYV) - Yaviza Airport, Yaviza, Panama','country_id' => '169'),\narray('id' => '5417','name' => '(BFQ) - Bahia PiAa Airport, Bahia PiAa, Panama','country_id' => '169'),\narray('id' => '5418','name' => '(ELE) - EL Real Airport, El Real de Santa MarAa, Panama','country_id' => '169'),\narray('id' => '5419','name' => '(OTD) - Contadora Airport, Contadora Island, Panama','country_id' => '169'),\narray('id' => '5420','name' => '(SAX) - Sambu Airport, Boca de SAbalo, Panama','country_id' => '169'),\narray('id' => '5421','name' => '(AKB) - Atka Airport, Atka, United States','country_id' => '228'),\narray('id' => '5422','name' => '(PML) - Port Moller Airport, Cold Bay, United States','country_id' => '228'),\narray('id' => '5423','name' => '(PAQ) - Palmer Municipal Airport, Palmer, United States','country_id' => '228'),\narray('id' => '5424','name' => '(BTI) - Barter Island LRRS Airport, Barter Island Lrrs, United States','country_id' => '228'),\narray('id' => '5425','name' => '(BET) - Bethel Airport, Bethel, United States','country_id' => '228'),\narray('id' => '5426','name' => '(BVU) - Beluga Airport, Beluga, United States','country_id' => '228'),\narray('id' => '5427','name' => '(BIG) - Allen Army Airfield, Delta Junction Ft Greely, United States','country_id' => '228'),\narray('id' => '5428','name' => '(BKC) - Buckland Airport, Buckland, United States','country_id' => '228'),\narray('id' => '5429','name' => '(BMX) - Big Mountain Airport, Big Mountain, United States','country_id' => '228'),\narray('id' => '5430','name' => '(BRW) - Wiley Post Will Rogers Memorial Airport, Barrow, United States','country_id' => '228'),\narray('id' => '5431','name' => '(BTT) - Bettles Airport, Bettles, United States','country_id' => '228'),\narray('id' => '5432','name' => '(CDB) - Cold Bay Airport, Cold Bay, United States','country_id' => '228'),\narray('id' => '5433','name' => '(CEM) - Central Airport, Central, United States','country_id' => '228'),\narray('id' => '5434','name' => '(CIK) - Chalkyitsik Airport, Chalkyitsik, United States','country_id' => '228'),\narray('id' => '5435','name' => '(CYF) - Chefornak Airport, Chefornak, United States','country_id' => '228'),\narray('id' => '5436','name' => '(SCM) - Scammon Bay Airport, Scammon Bay, United States','country_id' => '228'),\narray('id' => '5437','name' => '(IRC) - Circle City /New/ Airport, Circle, United States','country_id' => '228'),\narray('id' => '5438','name' => '(CDV) - Merle K (Mudhole) Smith Airport, Cordova, United States','country_id' => '228'),\narray('id' => '5439','name' => '(CXF) - Coldfoot Airport, Coldfoot, United States','country_id' => '228'),\narray('id' => '5440','name' => '(CYT) - Yakataga Airport, Yakataga, United States','country_id' => '228'),\narray('id' => '5441','name' => '(CZF) - Cape Romanzof LRRS Airport, Cape Romanzof, United States','country_id' => '228'),\narray('id' => '5442','name' => '(DRG) - Deering Airport, Deering, United States','country_id' => '228'),\narray('id' => '5443','name' => '(RDB) - Red Dog Airport, Red Dog, United States','country_id' => '228'),\narray('id' => '5444','name' => '(ADK) - Adak Airport, Adak Island, United States','country_id' => '228'),\narray('id' => '5445','name' => '(DLG) - Dillingham Airport, Dillingham, United States','country_id' => '228'),\narray('id' => '5446','name' => '(MLL) - Marshall Don Hunter Sr Airport, Marshall, United States','country_id' => '228'),\narray('id' => '5447','name' => '(ADQ) - Kodiak Airport, Kodiak, United States','country_id' => '228'),\narray('id' => '5448','name' => '(DUT) - Unalaska Airport, Unalaska, United States','country_id' => '228'),\narray('id' => '5449','name' => '(KKH) - Kongiganak Airport, Kongiganak, United States','country_id' => '228'),\narray('id' => '5450','name' => '(EDF) - Elmendorf Air Force Base, Anchorage, United States','country_id' => '228'),\narray('id' => '5451','name' => '(EEK) - Eek Airport, Eek, United States','country_id' => '228'),\narray('id' => '5452','name' => '(EAA) - Eagle Airport, Eagle, United States','country_id' => '228'),\narray('id' => '5453','name' => '(EHM) - Cape Newenham LRRS Airport, Cape Newenham, United States','country_id' => '228'),\narray('id' => '5454','name' => '(EIL) - Eielson Air Force Base, Fairbanks, United States','country_id' => '228'),\narray('id' => '5455','name' => '(EMK) - Emmonak Airport, Emmonak, United States','country_id' => '228'),\narray('id' => '5456','name' => '(ENA) - Kenai Municipal Airport, Kenai, United States','country_id' => '228'),\narray('id' => '5457','name' => '(WWT) - Newtok Airport, Newtok, United States','country_id' => '228'),\narray('id' => '5458','name' => '(FAI) - Fairbanks International Airport, Fairbanks, United States','country_id' => '228'),\narray('id' => '5459','name' => '(FBK) - Ladd AAF Airfield, Fairbanks/Ft Wainwright, United States','country_id' => '228'),\narray('id' => '5460','name' => '(ABL) - Ambler Airport, Ambler, United States','country_id' => '228'),\narray('id' => '5461','name' => '(FMC) - Five Mile Airport, Five Mile, United States','country_id' => '228'),\narray('id' => '5462','name' => '(FWL) - Farewell Airport, Farewell, United States','country_id' => '228'),\narray('id' => '5463','name' => '(GAL) - Edward G. Pitka Sr Airport, Galena, United States','country_id' => '228'),\narray('id' => '5464','name' => '(GBH) - Galbraith Lake Airport, Galbraith Lake, United States','country_id' => '228'),\narray('id' => '5465','name' => '(SHG) - Shungnak Airport, Shungnak, United States','country_id' => '228'),\narray('id' => '5466','name' => '(GKN) - Gulkana Airport, Gulkana, United States','country_id' => '228'),\narray('id' => '5467','name' => '(GLV) - Golovin Airport, Golovin, United States','country_id' => '228'),\narray('id' => '5468','name' => '(GAM) - Gambell Airport, Gambell, United States','country_id' => '228'),\narray('id' => '5469','name' => '(BGQ) - Big Lake Airport, Big Lake, United States','country_id' => '228'),\narray('id' => '5470','name' => '(GST) - Gustavus Airport, Gustavus, United States','country_id' => '228'),\narray('id' => '5471','name' => '(NME) - Nightmute Airport, Nightmute, United States','country_id' => '228'),\narray('id' => '5472','name' => '(SGY) - Skagway Airport, Skagway, United States','country_id' => '228'),\narray('id' => '5473','name' => '(HCR) - Holy Cross Airport, Holy Cross, United States','country_id' => '228'),\narray('id' => '5474','name' => '(HSL) - Huslia Airport, Huslia, United States','country_id' => '228'),\narray('id' => '5475','name' => '(HNS) - Haines Airport, Haines, United States','country_id' => '228'),\narray('id' => '5476','name' => '(HOM) - Homer Airport, Homer, United States','country_id' => '228'),\narray('id' => '5477','name' => '(HPB) - Hooper Bay Airport, Hooper Bay, United States','country_id' => '228'),\narray('id' => '5478','name' => '(HUS) - Hughes Airport, Hughes, United States','country_id' => '228'),\narray('id' => '5479','name' => '(SHX) - Shageluk Airport, Shageluk, United States','country_id' => '228'),\narray('id' => '5480','name' => '(IGG) - Igiugig Airport, Igiugig, United States','country_id' => '228'),\narray('id' => '5481','name' => '(EGX) - Egegik Airport, Egegik, United States','country_id' => '228'),\narray('id' => '5482','name' => '(IAN) - Bob Baker Memorial Airport, Kiana, United States','country_id' => '228'),\narray('id' => '5483','name' => '(ILI) - Iliamna Airport, Iliamna, United States','country_id' => '228'),\narray('id' => '5484','name' => '(UTO) - Indian Mountain LRRS Airport, Utopia Creek, United States','country_id' => '228'),\narray('id' => '5485','name' => '(MCL) - McKinley National Park Airport, McKinley Park, United States','country_id' => '228'),\narray('id' => '5486','name' => '(WAA) - Wales Airport, Wales, United States','country_id' => '228'),\narray('id' => '5487','name' => '(JNU) - Juneau International Airport, Juneau, United States','country_id' => '228'),\narray('id' => '5488','name' => '(KGK) - Koliganek Airport, Koliganek, United States','country_id' => '228'),\narray('id' => '5489','name' => '(KDK) - Kodiak Municipal Airport, Kodiak, United States','country_id' => '228'),\narray('id' => '5490','name' => '(KFP) - False Pass Airport, False Pass, United States','country_id' => '228'),\narray('id' => '5491','name' => '(AKK) - Akhiok Airport, Akhiok, United States','country_id' => '228'),\narray('id' => '5492','name' => '(KPN) - Kipnuk Airport, Kipnuk, United States','country_id' => '228'),\narray('id' => '5493','name' => '(KKA) - Koyuk Alfred Adams Airport, Koyuk, United States','country_id' => '228'),\narray('id' => '5494','name' => '(LKK) - Kulik Lake Airport, Kulik Lake, United States','country_id' => '228'),\narray('id' => '5495','name' => '(AKN) - King Salmon Airport, King Salmon, United States','country_id' => '228'),\narray('id' => '5496','name' => '(IKO) - Nikolski Air Station, Nikolski, United States','country_id' => '228'),\narray('id' => '5497','name' => '(AKP) - Anaktuvuk Pass Airport, Anaktuvuk Pass, United States','country_id' => '228'),\narray('id' => '5498','name' => '(KTN) - Ketchikan International Airport, Ketchikan, United States','country_id' => '228'),\narray('id' => '5499','name' => '(UUK) - Ugnu-Kuparuk Airport, Kuparuk, United States','country_id' => '228'),\narray('id' => '5500','name' => '(KAL) - Kaltag Airport, Kaltag, United States','country_id' => '228'),\narray('id' => '5501','name' => '(KLW) - Klawock Airport, Klawock, United States','country_id' => '228'),\narray('id' => '5502','name' => '(KYK) - Karluk Airport, Karluk, United States','country_id' => '228'),\narray('id' => '5503','name' => '(KLN) - Larsen Bay Airport, Larsen Bay, United States','country_id' => '228'),\narray('id' => '5504','name' => '(KLG) - Kalskag Airport, Kalskag, United States','country_id' => '228'),\narray('id' => '5505','name' => '(DQH) - Alpine Airstrip, Deadhorse, United States','country_id' => '228'),\narray('id' => '5506','name' => '(WCR) - Chandalar Lake Airport, Chandalar Lake, United States','country_id' => '228'),\narray('id' => '5507','name' => '(LUR) - Cape Lisburne LRRS Airport, Cape Lisburne, United States','country_id' => '228'),\narray('id' => '5508','name' => '(KMO) - Manokotak Airport, Manokotak, United States','country_id' => '228'),\narray('id' => '5509','name' => '(MCG) - McGrath Airport, McGrath, United States','country_id' => '228'),\narray('id' => '5510','name' => '(MDO) - Middleton Island Airport, Middleton Island, United States','country_id' => '228'),\narray('id' => '5511','name' => '(SMK) - St Michael Airport, St Michael, United States','country_id' => '228'),\narray('id' => '5512','name' => '(MLY) - Manley Hot Springs Airport, Manley Hot Springs, United States','country_id' => '228'),\narray('id' => '5513','name' => '(MOU) - Mountain Village Airport, Mountain Village, United States','country_id' => '228'),\narray('id' => '5514','name' => '(MRI) - Merrill Field, Anchorage, United States','country_id' => '228'),\narray('id' => '5515','name' => '(MXY) - Mc Carthy Airport, Mccarthy, United States','country_id' => '228'),\narray('id' => '5516','name' => '(MYU) - Mekoryuk Airport, Mekoryuk, United States','country_id' => '228'),\narray('id' => '5517','name' => '(WNA) - Napakiak Airport, Napakiak, United States','country_id' => '228'),\narray('id' => '5518','name' => '(ANC) - Ted Stevens Anchorage International Airport, Anchorage, United States','country_id' => '228'),\narray('id' => '5519','name' => '(ANI) - Aniak Airport, Aniak, United States','country_id' => '228'),\narray('id' => '5520','name' => '(ENN) - Nenana Municipal Airport, Nenana, United States','country_id' => '228'),\narray('id' => '5521','name' => '(NNL) - Nondalton Airport, Nondalton, United States','country_id' => '228'),\narray('id' => '5522','name' => '(ANN) - Annette Island Airport, Annette, United States','country_id' => '228'),\narray('id' => '5523','name' => '(ANV) - Anvik Airport, Anvik, United States','country_id' => '228'),\narray('id' => '5524','name' => '(KNW) - New Stuyahok Airport, New Stuyahok, United States','country_id' => '228'),\narray('id' => '5525','name' => '(OBU) - Kobuk Airport, Kobuk, United States','country_id' => '228'),\narray('id' => '5526','name' => '(PCA) - Portage Creek Airport, Portage Creek, United States','country_id' => '228'),\narray('id' => '5527','name' => '(HNH) - Hoonah Airport, Hoonah, United States','country_id' => '228'),\narray('id' => '5528','name' => '(OME) - Nome Airport, Nome, United States','country_id' => '228'),\narray('id' => '5529','name' => '(OOK) - Toksook Bay Airport, Toksook Bay, United States','country_id' => '228'),\narray('id' => '5530','name' => '(ORT) - Northway Airport, Northway, United States','country_id' => '228'),\narray('id' => '5531','name' => '(OTZ) - Ralph Wien Memorial Airport, Kotzebue, United States','country_id' => '228'),\narray('id' => '5532','name' => '(NLG) - Nelson Lagoon Airport, Nelson Lagoon, United States','country_id' => '228'),\narray('id' => '5533','name' => '(STG) - St George Airport, St George, United States','country_id' => '228'),\narray('id' => '5534','name' => '(KPC) - Port Clarence Coast Guard Station, Port Clarence, United States','country_id' => '228'),\narray('id' => '5535','name' => '(KPV) - Perryville Airport, Perryville, United States','country_id' => '228'),\narray('id' => '5536','name' => '(PSG) - Petersburg James A Johnson Airport, Petersburg, United States','country_id' => '228'),\narray('id' => '5537','name' => '(PTH) - Port Heiden Airport, Port Heiden, United States','country_id' => '228'),\narray('id' => '5538','name' => '(PKA) - Napaskiak Airport, Napaskiak, United States','country_id' => '228'),\narray('id' => '5539','name' => '(PTU) - Platinum Airport, Platinum, United States','country_id' => '228'),\narray('id' => '5540','name' => '(PIP) - Pilot Point Airport, Pilot Point, United States','country_id' => '228'),\narray('id' => '5541','name' => '(PHO) - Point Hope Airport, Point Hope, United States','country_id' => '228'),\narray('id' => '5542','name' => '(PPC) - Prospect Creek Airport, Prospect Creek, United States','country_id' => '228'),\narray('id' => '5543','name' => '(KWN) - Quinhagak Airport, Quinhagak, United States','country_id' => '228'),\narray('id' => '5544','name' => '(NUI) - Nuiqsut Airport, Nuiqsut, United States','country_id' => '228'),\narray('id' => '5545','name' => '(ARC) - Arctic Village Airport, Arctic Village, United States','country_id' => '228'),\narray('id' => '5546','name' => '(RSH) - Russian Mission Airport, Russian Mission, United States','country_id' => '228'),\narray('id' => '5547','name' => '(RBY) - Ruby Airport, Ruby, United States','country_id' => '228'),\narray('id' => '5548','name' => '(SVA) - Savoonga Airport, Savoonga, United States','country_id' => '228'),\narray('id' => '5549','name' => '(SCC) - Deadhorse Airport, Deadhorse, United States','country_id' => '228'),\narray('id' => '5550','name' => '(SDP) - Sand Point Airport, Sand Point, United States','country_id' => '228'),\narray('id' => '5551','name' => '(SHH) - Shishmaref Airport, Shishmaref, United States','country_id' => '228'),\narray('id' => '5552','name' => '(SIT) - Sitka Rocky Gutierrez Airport, Sitka, United States','country_id' => '228'),\narray('id' => '5553','name' => '(WLK) - Selawik Airport, Selawik, United States','country_id' => '228'),\narray('id' => '5554','name' => '(SLQ) - Sleetmute Airport, Sleetmute, United States','country_id' => '228'),\narray('id' => '5555','name' => '(KSM) - St Mary\\'s Airport, St Mary\\'s, United States','country_id' => '228'),\narray('id' => '5556','name' => '(SNP) - St Paul Island Airport, St Paul Island, United States','country_id' => '228'),\narray('id' => '5557','name' => '(SOV) - Seldovia Airport, Seldovia, United States','country_id' => '228'),\narray('id' => '5558','name' => '(SMU) - Sheep Mountain Airport, Sheep Mountain, United States','country_id' => '228'),\narray('id' => '5559','name' => '(UMM) - Summit Airport, Summit, United States','country_id' => '228'),\narray('id' => '5560','name' => '(SVW) - Sparrevohn LRRS Airport, Sparrevohn, United States','country_id' => '228'),\narray('id' => '5561','name' => '(SKW) - Skwentna Airport, Skwentna, United States','country_id' => '228'),\narray('id' => '5562','name' => '(SXQ) - Soldotna Airport, Soldotna, United States','country_id' => '228'),\narray('id' => '5563','name' => '(SYA) - Eareckson Air Station, Shemya, United States','country_id' => '228'),\narray('id' => '5564','name' => '(TAL) - Ralph M Calhoun Memorial Airport, Tanana, United States','country_id' => '228'),\narray('id' => '5565','name' => '(TNC) - Tin City Long Range Radar Station Airport, Tin City, United States','country_id' => '228'),\narray('id' => '5566','name' => '(TLA) - Teller Airport, Teller, United States','country_id' => '228'),\narray('id' => '5567','name' => '(TOG) - Togiak Airport, Togiak Village, United States','country_id' => '228'),\narray('id' => '5568','name' => '(TKA) - Talkeetna Airport, Talkeetna, United States','country_id' => '228'),\narray('id' => '5569','name' => '(TLJ) - Tatalina LRRS Airport, Takotna, United States','country_id' => '228'),\narray('id' => '5570','name' => '(ATK) - Atqasuk Edward Burnell Sr Memorial Airport, Atqasuk, United States','country_id' => '228'),\narray('id' => '5571','name' => '(AUK) - Alakanuk Airport, Alakanuk, United States','country_id' => '228'),\narray('id' => '5572','name' => '(UMT) - Umiat Airport, Umiat, United States','country_id' => '228'),\narray('id' => '5573','name' => '(UNK) - Unalakleet Airport, Unalakleet, United States','country_id' => '228'),\narray('id' => '5574','name' => '(WOW) - Willow Airport, Willow, United States','country_id' => '228'),\narray('id' => '5575','name' => '(VAK) - Chevak Airport, Chevak, United States','country_id' => '228'),\narray('id' => '5576','name' => '(KVC) - King Cove Airport, King Cove, United States','country_id' => '228'),\narray('id' => '5577','name' => '(VDZ) - Valdez Pioneer Field, Valdez, United States','country_id' => '228'),\narray('id' => '5578','name' => '(VEE) - Venetie Airport, Venetie, United States','country_id' => '228'),\narray('id' => '5579','name' => '(KVL) - Kivalina Airport, Kivalina, United States','country_id' => '228'),\narray('id' => '5580','name' => '(WBQ) - Beaver Airport, Beaver, United States','country_id' => '228'),\narray('id' => '5581','name' => '(SWD) - Seward Airport, Seward, United States','country_id' => '228'),\narray('id' => '5582','name' => '(WRG) - Wrangell Airport, Wrangell, United States','country_id' => '228'),\narray('id' => '5583','name' => '(AIN) - Wainwright Airport, Wainwright, United States','country_id' => '228'),\narray('id' => '5584','name' => '(WMO) - White Mountain Airport, White Mountain, United States','country_id' => '228'),\narray('id' => '5585','name' => '(WTK) - Noatak Airport, Noatak, United States','country_id' => '228'),\narray('id' => '5586','name' => '(WWA) - Wasilla Airport, Wasilla, United States','country_id' => '228'),\narray('id' => '5587','name' => '(YAK) - Yakutat Airport, Yakutat, United States','country_id' => '228'),\narray('id' => '5588','name' => '(CIS) - Canton Island Airport, Abariringa, Kiribati','country_id' => '114'),\narray('id' => '5589','name' => '(PCO) - Punta Colorada Airport, La Ribera, Mexico','country_id' => '153'),\narray('id' => '5590','name' => '(PCQ) - Boun Neau Airport, Phongsaly, Laos','country_id' => '122'),\narray('id' => '5591','name' => '(PDI) - Pindiu Airport, Pindiu, Papua New Guinea','country_id' => '172'),\narray('id' => '5592','name' => '(PDR) - Presidente JosA Sarney Airport, Presidente Dutra, Brazil','country_id' => '29'),\narray('id' => '5593','name' => '(MFT) - Machu Pichu Airport, Machu Pichu, Peru','country_id' => '170'),\narray('id' => '5594','name' => '(PER) - Perleberg, Perleberg, Germany','country_id' => '54'),\narray('id' => '5595','name' => '(AKI) - Akiak Airport, Akiak, United States','country_id' => '228'),\narray('id' => '5596','name' => '(AET) - Allakaket Airport, Allakaket, United States','country_id' => '228'),\narray('id' => '5597','name' => '(PFC) - Pacific City State Airport, Pacific City, United States','country_id' => '228'),\narray('id' => '5598','name' => '(NCN) - Chenega Bay Airport, Chenega, United States','country_id' => '228'),\narray('id' => '5599','name' => '(CLP) - Clarks Point Airport, Clarks Point, United States','country_id' => '228'),\narray('id' => '5600','name' => '(ELI) - Elim Airport, Elim, United States','country_id' => '228'),\narray('id' => '5601','name' => '(KUK) - Kasigluk Airport, Kasigluk, United States','country_id' => '228'),\narray('id' => '5602','name' => '(KNK) - Kokhanok Airport, Kokhanok, United States','country_id' => '228'),\narray('id' => '5603','name' => '(KOT) - Kotlik Airport, Kotlik, United States','country_id' => '228'),\narray('id' => '5604','name' => '(KTS) - Brevig Mission Airport, Brevig Mission, United States','country_id' => '228'),\narray('id' => '5605','name' => '(KYU) - Koyukuk Airport, Koyukuk, United States','country_id' => '228'),\narray('id' => '5606','name' => '(KWT) - Kwethluk Airport, Kwethluk, United States','country_id' => '228'),\narray('id' => '5607','name' => '(ORV) - Robert (Bob) Curtis Memorial Airport, Noorvik, United States','country_id' => '228'),\narray('id' => '5608','name' => '(SKK) - Shaktoolik Airport, Shaktoolik, United States','country_id' => '228'),\narray('id' => '5609','name' => '(TKJ) - Tok Junction Airport, Tok, United States','country_id' => '228'),\narray('id' => '5610','name' => '(WSN) - South Naknek Nr 2 Airport, South Naknek, United States','country_id' => '228'),\narray('id' => '5611','name' => '(FYU) - Fort Yukon Airport, Fort Yukon, United States','country_id' => '228'),\narray('id' => '5612','name' => '(CPN) - Cape Rodney Airport, Cape Rodney, Papua New Guinea','country_id' => '172'),\narray('id' => '5613','name' => '(EMI) - Emirau Airport, Emirau Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5614','name' => '(ERE) - Erave Airport, Erave, Papua New Guinea','country_id' => '172'),\narray('id' => '5615','name' => '(ESA) - Esa\\'ala Airport, Esa\\'ala, Papua New Guinea','country_id' => '172'),\narray('id' => '5616','name' => '(GAR) - Garaina Airport, Garaina, Papua New Guinea','country_id' => '172'),\narray('id' => '5617','name' => '(GOE) - Gonaili Airport, Gonaili, Papua New Guinea','country_id' => '172'),\narray('id' => '5618','name' => '(BPD) - Bapi Airstrip, Bapi, Papua New Guinea','country_id' => '172'),\narray('id' => '5619','name' => '(BPK) - Biangabip Airport, Biangabip, Papua New Guinea','country_id' => '172'),\narray('id' => '5620','name' => '(NWT) - Nowata Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5621','name' => '(SGK) - Sengapi Airstrip, Sengapi, Papua New Guinea','country_id' => '172'),\narray('id' => '5622','name' => '(KII) - Kibuli Airstrip, Kibuli, Papua New Guinea','country_id' => '172'),\narray('id' => '5623','name' => '(AKG) - Anguganak Airport, Anguganak, Papua New Guinea','country_id' => '172'),\narray('id' => '5624','name' => '(TAJ) - Tadji Airport, Aitape, Papua New Guinea','country_id' => '172'),\narray('id' => '5625','name' => '(AWB) - Awaba Airport, Awaba, Papua New Guinea','country_id' => '172'),\narray('id' => '5626','name' => '(BAA) - Bialla Airport, Bialla, Matalilu, Ewase, Papua New Guinea','country_id' => '172'),\narray('id' => '5627','name' => '(CVB) - Chungribu Airport, Chungribu, Papua New Guinea','country_id' => '172'),\narray('id' => '5628','name' => '(GMI) - Gasmata Island Airport, Gasmata Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5629','name' => '(GVI) - Green River Airport, Green River, Papua New Guinea','country_id' => '172'),\narray('id' => '5630','name' => '(HYF) - Hayfields Airport, Bainyik, Papua New Guinea','country_id' => '172'),\narray('id' => '5631','name' => '(IHU) - Ihu Airport, Ihu, Papua New Guinea','country_id' => '172'),\narray('id' => '5632','name' => '(IIS) - Nissan Island Airport, Nissan Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5633','name' => '(JAQ) - Jacquinot Bay Airport, Jacquinot Bay, Papua New Guinea','country_id' => '172'),\narray('id' => '5634','name' => '(KDR) - Kandrian Airport, Kandrian, Papua New Guinea','country_id' => '172'),\narray('id' => '5635','name' => '(KKD) - Kokoda Airport, Kokoda, Papua New Guinea','country_id' => '172'),\narray('id' => '5636','name' => '(KUY) - Kamusi Airport, Kamusi, Papua New Guinea','country_id' => '172'),\narray('id' => '5637','name' => '(KWO) - Kawito Airport, Kawito, Papua New Guinea','country_id' => '172'),\narray('id' => '5638','name' => '(LMI) - Lumi Airport, Lumi, Papua New Guinea','country_id' => '172'),\narray('id' => '5639','name' => '(LMY) - Lake Murray Airport, Lake Murray, Papua New Guinea','country_id' => '172'),\narray('id' => '5640','name' => '(OBX) - Obo Airport, Obo, Papua New Guinea','country_id' => '172'),\narray('id' => '5641','name' => '(OPU) - Balimo Airport, Balimo, Papua New Guinea','country_id' => '172'),\narray('id' => '5642','name' => '(SKC) - Suki Airport, Suki, Papua New Guinea','country_id' => '172'),\narray('id' => '5643','name' => '(TFI) - Tufi Airport, Tufi, Papua New Guinea','country_id' => '172'),\narray('id' => '5644','name' => '(TFM) - Telefomin Airport, Telefomin, Papua New Guinea','country_id' => '172'),\narray('id' => '5645','name' => '(TLO) - Tol Airport, Tol, Papua New Guinea','country_id' => '172'),\narray('id' => '5646','name' => '(UKU) - Nuku Airport, Nuku, Papua New Guinea','country_id' => '172'),\narray('id' => '5647','name' => '(ULE) - Sule Airport, Sule, Papua New Guinea','country_id' => '172'),\narray('id' => '5648','name' => '(VMU) - Baimuru Airport, Baimuru, Papua New Guinea','country_id' => '172'),\narray('id' => '5649','name' => '(WPM) - Wipim Airport, Wipim, Papua New Guinea','country_id' => '172'),\narray('id' => '5650','name' => '(PGE) - Yegepa Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5651','name' => '(PGM) - Port Graham Airport, Port Graham, United States','country_id' => '228'),\narray('id' => '5652','name' => '(ROP) - Rota International Airport, Rota Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5653','name' => '(SPN) - Saipan International Airport, Saipan Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5654','name' => '(UAM) - Andersen Air Force Base, Andersen,Mariana Island, Guam','country_id' => '89'),\narray('id' => '5655','name' => '(GUM) - Antonio B. Won Pat International Airport, HagAtAa, Guam International Airport, Guam','country_id' => '89'),\narray('id' => '5656','name' => '(TIQ) - Tinian International Airport, Tinian Island, Northern Mariana Islands','country_id' => '145'),\narray('id' => '5657','name' => '(CGY) - Laguindingan Airport, Cagayan de Oro City, Philippines','country_id' => '173'),\narray('id' => '5658','name' => '(ENI) - El Nido Airport, El Nido, Philippines','country_id' => '173'),\narray('id' => '5659','name' => '(BKH) - Barking Sands Airport, Kekaha, United States','country_id' => '228'),\narray('id' => '5660','name' => '(HDH) - Dillingham Airfield, Mokuleia, United States','country_id' => '228'),\narray('id' => '5661','name' => '(HHI) - Wheeler Army Airfield, Wahiawa, United States','country_id' => '228'),\narray('id' => '5662','name' => '(HNM) - Hana Airport, Hana, United States','country_id' => '228'),\narray('id' => '5663','name' => '(JHM) - Kapalua Airport, Lahaina, United States','country_id' => '228'),\narray('id' => '5664','name' => '(JRF) - Kalaeloa Airport, Kapolei, United States','country_id' => '228'),\narray('id' => '5665','name' => '(KOA) - Kona International At Keahole Airport, Kailua/Kona, United States','country_id' => '228'),\narray('id' => '5666','name' => '(LIH) - Lihue Airport, Lihue, United States','country_id' => '228'),\narray('id' => '5667','name' => '(LUP) - Kalaupapa Airport, Kalaupapa, United States','country_id' => '228'),\narray('id' => '5668','name' => '(MKK) - Molokai Airport, Kaunakakai, United States','country_id' => '228'),\narray('id' => '5669','name' => '(MUE) - Waimea Kohala Airport, Kamuela, United States','country_id' => '228'),\narray('id' => '5670','name' => '(NGF) - Kaneohe Bay MCAS (Marion E. Carl Field) Airport, Kaneohe, United States','country_id' => '228'),\narray('id' => '5671','name' => '(HNL) - Honolulu International Airport, Honolulu, United States','country_id' => '228'),\narray('id' => '5672','name' => '(LNY) - Lanai Airport, Lanai City, United States','country_id' => '228'),\narray('id' => '5673','name' => '(OGG) - Kahului Airport, Kahului, United States','country_id' => '228'),\narray('id' => '5674','name' => '(PAK) - Port Allen Airport, Hanapepe, United States','country_id' => '228'),\narray('id' => '5675','name' => '(BSF) - Bradshaw Army Airfield, Camp Pohakuloa, United States','country_id' => '228'),\narray('id' => '5676','name' => '(ITO) - Hilo International Airport, Hilo, United States','country_id' => '228'),\narray('id' => '5677','name' => '(UPP) - Upolu Airport, Hawi, United States','country_id' => '228'),\narray('id' => '5678','name' => '(BHC) - Bhurban Heliport, Bhurban, Pakistan','country_id' => '174'),\narray('id' => '5679','name' => '(CWP) - Campbellpore Airport, Campbellpore, Pakistan','country_id' => '174'),\narray('id' => '5680','name' => '(GRT) - Gujrat Airport, Gujrat, Pakistan','country_id' => '174'),\narray('id' => '5681','name' => '(HRA) - Mansehra Airport, Mansehra, Pakistan','country_id' => '174'),\narray('id' => '5682','name' => '(KCF) - Kadanwari Airport, Kadanwari, Pakistan','country_id' => '174'),\narray('id' => '5683','name' => '(REQ) - Reko Diq Airport, Chagai, Pakistan','country_id' => '174'),\narray('id' => '5684','name' => '(RZS) - Sawan Airport, Sawan, Pakistan','country_id' => '174'),\narray('id' => '5685','name' => '(ENT) - Eniwetok Airport, Eniwetok Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '5686','name' => '(MAJ) - Marshall Islands International Airport, Majuro Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '5687','name' => '(KAI) - Kaieteur International Airport, Kaieteur Falls, Guyana','country_id' => '91'),\narray('id' => '5688','name' => '(KWA) - Bucholz Army Air Field, Kwajalein, Marshall Islands','country_id' => '139'),\narray('id' => '5689','name' => '(CXI) - Cassidy International Airport, Banana, Kiribati','country_id' => '114'),\narray('id' => '5690','name' => '(PLE) - Paiela Airport, Paiela, Papua New Guinea','country_id' => '172'),\narray('id' => '5691','name' => '(TNV) - Tabuaeran Island Airport, Tabuaeran Island, Kiribati','country_id' => '114'),\narray('id' => '5692','name' => '(TNQ) - Washington Island Airstrip, Teraina, Kiribati','country_id' => '114'),\narray('id' => '5693','name' => '(MDY) - Henderson Field, Sand Island, United States Minor Outlying Islands','country_id' => '227'),\narray('id' => '5694','name' => '(PMM) - Phanom Sarakham Airport, Phanom Sarakham, Thailand','country_id' => '213'),\narray('id' => '5695','name' => '(PMP) - Pimaga Airport, Pimaga, Papua New Guinea','country_id' => '172'),\narray('id' => '5696','name' => '(PIZ) - Point Lay LRRS Airport, Point Lay, United States','country_id' => '228'),\narray('id' => '5697','name' => '(PPX) - Param Airport, Nepesi, Papua New Guinea','country_id' => '172'),\narray('id' => '5698','name' => '(HUC) - Humacao Airport, Humacao, Puerto Rico','country_id' => '178'),\narray('id' => '5699','name' => '(XSO) - Siocon Airport, , Philippines','country_id' => '173'),\narray('id' => '5700','name' => '(TKK) - Chuuk International Airport, Weno Island, Micronesia','country_id' => '70'),\narray('id' => '5701','name' => '(PNI) - Pohnpei International Airport, Pohnpei Island, Micronesia','country_id' => '70'),\narray('id' => '5702','name' => '(ROR) - Babelthuap Airport, Babelthuap Island, Palau','country_id' => '181'),\narray('id' => '5703','name' => '(KSA) - Kosrae International Airport, Okat, Micronesia','country_id' => '70'),\narray('id' => '5704','name' => '(YAP) - Yap International Airport, Yap Island, Micronesia','country_id' => '70'),\narray('id' => '5705','name' => '(PUA) - Puas Airport, Puas Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '5706','name' => '(AWK) - Wake Island Airfield, Wake Island, United States Minor Outlying Islands','country_id' => '227'),\narray('id' => '5707','name' => '(BFA) - BahAa Negra Airport, BahAa Negra, Paraguay','country_id' => '182'),\narray('id' => '5708','name' => '(OLK) - Fuerte Olimpo Airport, Fuerte Olimpo, Paraguay','country_id' => '182'),\narray('id' => '5709','name' => '(PBT) - Puerto Leda Airport, Puerto Leda, Paraguay','country_id' => '182'),\narray('id' => '5710','name' => '(PCJ) - Puerto La Victoria Airport, Puerto La Victoria, Paraguay','country_id' => '182'),\narray('id' => '5711','name' => '(KIO) - Kili Airport, Kili Island, Marshall Islands','country_id' => '139'),\narray('id' => '5712','name' => '(DOH) - Hamad International Airport, Doha, Qatar','country_id' => '183'),\narray('id' => '5713','name' => '(RAA) - Rakanda Airport, Rakanda, Papua New Guinea','country_id' => '172'),\narray('id' => '5714','name' => '(RAW) - Arawa Airport, Arawa, Papua New Guinea','country_id' => '172'),\narray('id' => '5715','name' => '(RAX) - Oram Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '5716','name' => '(RBP) - Raba Raba Airport, Rabaraba, Papua New Guinea','country_id' => '172'),\narray('id' => '5717','name' => '(KNH) - Kinmen Airport, Shang-I, Taiwan','country_id' => '223'),\narray('id' => '5718','name' => '(LZN) - Matsu Nangan Airport, Nangang Island, Taiwan','country_id' => '223'),\narray('id' => '5719','name' => '(TTT) - Taitung Airport, Taitung City, Taiwan','country_id' => '223'),\narray('id' => '5720','name' => '(GNI) - Lyudao Airport, Lyudao, Taiwan','country_id' => '223'),\narray('id' => '5721','name' => '(KHH) - Kaohsiung International Airport, Kaohsiung City, Taiwan','country_id' => '223'),\narray('id' => '5722','name' => '(CYI) - Chiayi Airport, Chiayi City, Taiwan','country_id' => '223'),\narray('id' => '5723','name' => '(HCN) - Hengchun Airport, Hengchung, Taiwan','country_id' => '223'),\narray('id' => '5724','name' => '(TXG) - Taichung Airport, Taichung City, Taiwan','country_id' => '223'),\narray('id' => '5725','name' => '(KYD) - Lanyu Airport, Orchid Island, Taiwan','country_id' => '223'),\narray('id' => '5726','name' => '(RMQ) - Taichung Ching Chuang Kang Airport, Taichung City, Taiwan','country_id' => '223'),\narray('id' => '5727','name' => '(MFK) - Matsu Beigan Airport, Beigan Island, Taiwan','country_id' => '223'),\narray('id' => '5728','name' => '(TNN) - Tainan Airport, Tainan City, Taiwan','country_id' => '223'),\narray('id' => '5729','name' => '(HSZ) - Hsinchu Air Base, Hsinchu City, Taiwan','country_id' => '223'),\narray('id' => '5730','name' => '(MZG) - Makung Airport, Makung City, Taiwan','country_id' => '223'),\narray('id' => '5731','name' => '(PIF) - Pingtung North Airport, Pingtung, Taiwan','country_id' => '223'),\narray('id' => '5732','name' => '(TSA) - Taipei Songshan Airport, Taipei City, Taiwan','country_id' => '223'),\narray('id' => '5733','name' => '(TPE) - Taiwan Taoyuan International Airport, Taipei, Taiwan','country_id' => '223'),\narray('id' => '5734','name' => '(WOT) - Wang-an Airport, Wang-an, Taiwan','country_id' => '223'),\narray('id' => '5735','name' => '(HUN) - Hualien Airport, Hualien City, Taiwan','country_id' => '223'),\narray('id' => '5736','name' => '(RDV) - Red Devil Airport, Red Devil, United States','country_id' => '228'),\narray('id' => '5737','name' => '(RHT) - Alxa Right Banner-Badanjilin Airport, Badanjilin, China','country_id' => '45'),\narray('id' => '5738','name' => '(NRT) - Narita International Airport, Tokyo, Japan','country_id' => '110'),\narray('id' => '5739','name' => '(MMJ) - Matsumoto Airport, Matsumoto, Japan','country_id' => '110'),\narray('id' => '5740','name' => '(IBR) - Hyakuri Airport, Omitama, Japan','country_id' => '110'),\narray('id' => '5741','name' => '(MUS) - Minami Torishima Airport, , Japan','country_id' => '110'),\narray('id' => '5742','name' => '(IWO) - Iwo Jima Airport, , Japan','country_id' => '110'),\narray('id' => '5743','name' => '(KIX) - Kansai International Airport, Osaka, Japan','country_id' => '110'),\narray('id' => '5744','name' => '(SHM) - Nanki Shirahama Airport, Shirahama, Japan','country_id' => '110'),\narray('id' => '5745','name' => '(UKB) - Kobe Airport, Kobe, Japan','country_id' => '110'),\narray('id' => '5746','name' => '(HIW) - Hiroshimanishi Airport, , Japan','country_id' => '110'),\narray('id' => '5747','name' => '(TJH) - Tajima Airport, Tajima, Japan','country_id' => '110'),\narray('id' => '5748','name' => '(OBO) - Tokachi-Obihiro Airport, Obihiro, Japan','country_id' => '110'),\narray('id' => '5749','name' => '(CTS) - New Chitose Airport, Chitose / Tomakomai, Japan','country_id' => '110'),\narray('id' => '5750','name' => '(HKD) - Hakodate Airport, Hakodate, Japan','country_id' => '110'),\narray('id' => '5751','name' => '(KUH) - Kushiro Airport, Kushiro, Japan','country_id' => '110'),\narray('id' => '5752','name' => '(MMB) - Memanbetsu Airport, zora, Japan','country_id' => '110'),\narray('id' => '5753','name' => '(SHB) - Nakashibetsu Airport, Nakashibetsu, Japan','country_id' => '110'),\narray('id' => '5754','name' => '(OKD) - Okadama Airport, Sapporo, Japan','country_id' => '110'),\narray('id' => '5755','name' => '(RBJ) - Rebun Airport, Rebun, Japan','country_id' => '110'),\narray('id' => '5756','name' => '(WKJ) - Wakkanai Airport, Wakkanai, Japan','country_id' => '110'),\narray('id' => '5757','name' => '(AXJ) - Amakusa Airport, , Japan','country_id' => '110'),\narray('id' => '5758','name' => '(IKI) - Iki Airport, Iki, Japan','country_id' => '110'),\narray('id' => '5759','name' => '(UBJ) - Yamaguchi Ube Airport, Ube, Japan','country_id' => '110'),\narray('id' => '5760','name' => '(TSJ) - Tsushima Airport, Tsushima, Japan','country_id' => '110'),\narray('id' => '5761','name' => '(MBE) - Monbetsu Airport, Monbetsu, Japan','country_id' => '110'),\narray('id' => '5762','name' => '(AKJ) - Asahikawa Airport, Asahikawa / Hokkaid, Japan','country_id' => '110'),\narray('id' => '5763','name' => '(OIR) - Okushiri Airport, Okushiri Island, Japan','country_id' => '110'),\narray('id' => '5764','name' => '(RIS) - Rishiri Airport, Rishiri, Japan','country_id' => '110'),\narray('id' => '5765','name' => '(KUM) - Yakushima Airport, Yakushima, Japan','country_id' => '110'),\narray('id' => '5766','name' => '(FUJ) - Fukue Airport, Goto, Japan','country_id' => '110'),\narray('id' => '5767','name' => '(FUK) - Fukuoka Airport, Fukuoka, Japan','country_id' => '110'),\narray('id' => '5768','name' => '(TNE) - New Tanegashima Airport, Tanegashima, Japan','country_id' => '110'),\narray('id' => '5769','name' => '(KOJ) - Kagoshima Airport, Kagoshima, Japan','country_id' => '110'),\narray('id' => '5770','name' => '(KMI) - Miyazaki Airport, Miyazaki, Japan','country_id' => '110'),\narray('id' => '5771','name' => '(OIT) - Oita Airport, Oita, Japan','country_id' => '110'),\narray('id' => '5772','name' => '(KKJ) - Kitaky\"sh\" Airport, Kitaky\"sh\", Japan','country_id' => '110'),\narray('id' => '5773','name' => '(HSG) - Saga Airport, Saga, Japan','country_id' => '110'),\narray('id' => '5774','name' => '(KMJ) - Kumamoto Airport, Kumamoto, Japan','country_id' => '110'),\narray('id' => '5775','name' => '(NGS) - Nagasaki Airport, Nagasaki, Japan','country_id' => '110'),\narray('id' => '5776','name' => '(NGO) - Chubu Centrair International Airport, Tokoname, Japan','country_id' => '110'),\narray('id' => '5777','name' => '(ASJ) - Amami Airport, Amami, Japan','country_id' => '110'),\narray('id' => '5778','name' => '(OKE) - Okierabu Airport, Okinoerabujima, Japan','country_id' => '110'),\narray('id' => '5779','name' => '(KKX) - Kikai Airport, Kikai, Japan','country_id' => '110'),\narray('id' => '5780','name' => '(TKN) - Tokunoshima Airport, Tokunoshima, Japan','country_id' => '110'),\narray('id' => '5781','name' => '(NKM) - Nagoya Airport, Nagoya, Japan','country_id' => '110'),\narray('id' => '5782','name' => '(FKJ) - Fukui Airport, , Japan','country_id' => '110'),\narray('id' => '5783','name' => '(QGU) - Gifu Airport, Gifu, Japan','country_id' => '110'),\narray('id' => '5784','name' => '(KMQ) - Komatsu Airport, Kanazawa, Japan','country_id' => '110'),\narray('id' => '5785','name' => '(OKI) - Oki Airport, Okinoshima, Japan','country_id' => '110'),\narray('id' => '5786','name' => '(FSZ) - Mt. Fuji Shizuoka Airport, Makinohara / Shimada, Japan','country_id' => '110'),\narray('id' => '5787','name' => '(TOY) - Toyama Airport, Toyama, Japan','country_id' => '110'),\narray('id' => '5788','name' => '(NTQ) - Noto Airport, Wajima, Japan','country_id' => '110'),\narray('id' => '5789','name' => '(HIJ) - Hiroshima Airport, Hiroshima, Japan','country_id' => '110'),\narray('id' => '5790','name' => '(OKJ) - Okayama Airport, Okayama City, Japan','country_id' => '110'),\narray('id' => '5791','name' => '(IZO) - Izumo Airport, Izumo, Japan','country_id' => '110'),\narray('id' => '5792','name' => '(YGJ) - Miho Yonago Airport, Yonago, Japan','country_id' => '110'),\narray('id' => '5793','name' => '(KCZ) - Kchi Ryma Airport, Nankoku, Japan','country_id' => '110'),\narray('id' => '5794','name' => '(MYJ) - Matsuyama Airport, Matsuyama, Japan','country_id' => '110'),\narray('id' => '5795','name' => '(ITM) - Osaka International Airport, Osaka, Japan','country_id' => '110'),\narray('id' => '5796','name' => '(TTJ) - Tottori Airport, Tottori, Japan','country_id' => '110'),\narray('id' => '5797','name' => '(TKS) - Tokushima Airport, Tokushima, Japan','country_id' => '110'),\narray('id' => '5798','name' => '(TAK) - Takamatsu Airport, Takamatsu, Japan','country_id' => '110'),\narray('id' => '5799','name' => '(IWJ) - Iwami Airport, Masuda, Japan','country_id' => '110'),\narray('id' => '5800','name' => '(AOJ) - Aomori Airport, Aomori, Japan','country_id' => '110'),\narray('id' => '5801','name' => '(GAJ) - Yamagata Airport, Yamagata, Japan','country_id' => '110'),\narray('id' => '5802','name' => '(SDS) - Sado Airport, Sado, Japan','country_id' => '110'),\narray('id' => '5803','name' => '(FKS) - Fukushima Airport, Sukagawa, Japan','country_id' => '110'),\narray('id' => '5804','name' => '(HHE) - Hachinohe Airport, , Japan','country_id' => '110'),\narray('id' => '5805','name' => '(HNA) - Hanamaki Airport, , Japan','country_id' => '110'),\narray('id' => '5806','name' => '(AXT) - Akita Airport, Akita, Japan','country_id' => '110'),\narray('id' => '5807','name' => '(MSJ) - Misawa Air Base, Misawa, Japan','country_id' => '110'),\narray('id' => '5808','name' => '(KIJ) - Niigata Airport, Niigata, Japan','country_id' => '110'),\narray('id' => '5809','name' => '(ONJ) - Odate Noshiro Airport, Odate, Japan','country_id' => '110'),\narray('id' => '5810','name' => '(SDJ) - Sendai Airport, Sendai, Japan','country_id' => '110'),\narray('id' => '5811','name' => '(SYO) - Shonai Airport, Shonai, Japan','country_id' => '110'),\narray('id' => '5812','name' => '(NJA) - Atsugi Naval Air Facility, , Japan','country_id' => '110'),\narray('id' => '5813','name' => '(HAC) - Hachijojima Airport, Hachijojima, Japan','country_id' => '110'),\narray('id' => '5814','name' => '(OIM) - Oshima Airport, Izu Oshima, Japan','country_id' => '110'),\narray('id' => '5815','name' => '(MYE) - Miyakejima Airport, Miyakejima, Japan','country_id' => '110'),\narray('id' => '5816','name' => '(HND) - Tokyo International Airport, Tokyo, Japan','country_id' => '110'),\narray('id' => '5817','name' => '(QUT) - Utsunomiya Airport, , Japan','country_id' => '110'),\narray('id' => '5818','name' => '(OKO) - Yokota Air Base, Fussa, Japan','country_id' => '110'),\narray('id' => '5819','name' => '(MWX) - Muan International Airport, Muan, South Korea','country_id' => '118'),\narray('id' => '5820','name' => '(KWJ) - Gwangju Airport, Gwangju, South Korea','country_id' => '118'),\narray('id' => '5821','name' => '(KUV) - Kunsan Air Base, Kunsan, South Korea','country_id' => '118'),\narray('id' => '5822','name' => '(CHN) - Jeon Ju Airport, Jeon Ju, South Korea','country_id' => '118'),\narray('id' => '5823','name' => '(RSU) - Yeosu Airport, Yeosu, South Korea','country_id' => '118'),\narray('id' => '5824','name' => '(QUN) - A-306 Airport, Chun Chon City, South Korea','country_id' => '118'),\narray('id' => '5825','name' => '(SHO) - Sokcho Airport, , South Korea','country_id' => '118'),\narray('id' => '5826','name' => '(KAG) - Gangneung Airport, Gangneung, South Korea','country_id' => '118'),\narray('id' => '5827','name' => '(WJU) - Wonju Airport, Wonju, South Korea','country_id' => '118'),\narray('id' => '5828','name' => '(YNY) - Yangyang International Airport, Sokcho / Gangneung, South Korea','country_id' => '118'),\narray('id' => '5829','name' => '(CJU) - Jeju International Airport, Jeju City, South Korea','country_id' => '118'),\narray('id' => '5830','name' => '(JDG) - Jeongseok Airport, Jeju Island, South Korea','country_id' => '118'),\narray('id' => '5831','name' => '(CHF) - Jinhae Airport, Jinhae, South Korea','country_id' => '118'),\narray('id' => '5832','name' => '(PUS) - Gimhae International Airport, Busan, South Korea','country_id' => '118'),\narray('id' => '5833','name' => '(HIN) - Sacheon Air Base, Sacheon, South Korea','country_id' => '118'),\narray('id' => '5834','name' => '(USN) - Ulsan Airport, Ulsan, South Korea','country_id' => '118'),\narray('id' => '5835','name' => '(ICN) - Incheon International Airport, Seoul, South Korea','country_id' => '118'),\narray('id' => '5836','name' => '(SSN) - Seoul Air Base, , South Korea','country_id' => '118'),\narray('id' => '5837','name' => '(OSN) - Osan Air Base, , South Korea','country_id' => '118'),\narray('id' => '5838','name' => '(GMP) - Gimpo International Airport, Seoul, South Korea','country_id' => '118'),\narray('id' => '5839','name' => '(SWU) - Suwon Airport, , South Korea','country_id' => '118'),\narray('id' => '5840','name' => '(KPO) - Pohang Airport, Pohang, South Korea','country_id' => '118'),\narray('id' => '5841','name' => '(TAE) - Daegu Airport, Daegu, South Korea','country_id' => '118'),\narray('id' => '5842','name' => '(CJJ) - Cheongju International Airport, Cheongju, South Korea','country_id' => '118'),\narray('id' => '5843','name' => '(YEC) - Yecheon Airport, Yecheon, South Korea','country_id' => '118'),\narray('id' => '5844','name' => '(RKU) - Kairuku Airport, Yule Island, Papua New Guinea','country_id' => '172'),\narray('id' => '5845','name' => '(RKY) - Rokeby Airport, Rokeby, Australia','country_id' => '12'),\narray('id' => '5846','name' => '(RLP) - Rosella Plains Airport, Rosella Plains, Australia','country_id' => '12'),\narray('id' => '5847','name' => '(RMD) - Basanth Nagar Airport, Ramagundam, India','country_id' => '101'),\narray('id' => '5848','name' => '(RMU) - RegiAn de Murcia International Airport, Corvera, Spain','country_id' => '65'),\narray('id' => '5849','name' => '(OKA) - Naha Airport, Naha, Japan','country_id' => '110'),\narray('id' => '5850','name' => '(DNA) - Kadena Air Base, , Japan','country_id' => '110'),\narray('id' => '5851','name' => '(ISG) - Ishigaki Airport, Ishigaki, Japan','country_id' => '110'),\narray('id' => '5852','name' => '(UEO) - Kumejima Airport, , Japan','country_id' => '110'),\narray('id' => '5853','name' => '(KJP) - Kerama Airport, Kerama, Japan','country_id' => '110'),\narray('id' => '5854','name' => '(MMD) - Minami-Daito Airport, Minamidait, Japan','country_id' => '110'),\narray('id' => '5855','name' => '(MMY) - Miyako Airport, Miyako City, Japan','country_id' => '110'),\narray('id' => '5856','name' => '(AGJ) - Aguni Airport, Aguni, Japan','country_id' => '110'),\narray('id' => '5857','name' => '(IEJ) - Ie Jima Airport, Ie, Japan','country_id' => '110'),\narray('id' => '5858','name' => '(HTR) - Hateruma Airport, Hateruma, Japan','country_id' => '110'),\narray('id' => '5859','name' => '(KTD) - Kitadaito Airport, Kitadaitjima, Japan','country_id' => '110'),\narray('id' => '5860','name' => '(SHI) - Shimojishima Airport, Shimojishima, Japan','country_id' => '110'),\narray('id' => '5861','name' => '(TRA) - Tarama Airport, Tarama, Japan','country_id' => '110'),\narray('id' => '5862','name' => '(RNJ) - Yoron Airport, Yoronjima, Japan','country_id' => '110'),\narray('id' => '5863','name' => '(OGN) - Yonaguni Airport, , Japan','country_id' => '110'),\narray('id' => '5864','name' => '(SFS) - Subic Bay International Airport, Olongapo City, Philippines','country_id' => '173'),\narray('id' => '5865','name' => '(CRK) - Clark International Airport, Angeles City, Philippines','country_id' => '173'),\narray('id' => '5866','name' => '(LAO) - Laoag International Airport, Laoag City, Philippines','country_id' => '173'),\narray('id' => '5867','name' => '(MNL) - Ninoy Aquino International Airport, Manila, Philippines','country_id' => '173'),\narray('id' => '5868','name' => '(CYU) - Cuyo Airport, Cuyo, Philippines','country_id' => '173'),\narray('id' => '5869','name' => '(LGP) - Legazpi City International Airport, Legazpi City, Philippines','country_id' => '173'),\narray('id' => '5870','name' => '(SGL) - Danilo Atienza Air Base, Cavite City, Philippines','country_id' => '173'),\narray('id' => '5871','name' => '(LBX) - Lubang Airport, , Philippines','country_id' => '173'),\narray('id' => '5872','name' => '(AAV) - Allah Valley Airport, Surallah, Philippines','country_id' => '173'),\narray('id' => '5873','name' => '(CBO) - Awang Airport, Cotabato City, Philippines','country_id' => '173'),\narray('id' => '5874','name' => '(DVO) - Francisco Bangoy International Airport, Davao City, Philippines','country_id' => '173'),\narray('id' => '5875','name' => '(BXU) - Bancasi Airport, Butuan City, Philippines','country_id' => '173'),\narray('id' => '5876','name' => '(BPH) - Bislig Airport, , Philippines','country_id' => '173'),\narray('id' => '5877','name' => '(DPL) - Dipolog Airport, Dipolog City, Philippines','country_id' => '173'),\narray('id' => '5878','name' => '(CGM) - Camiguin Airport, , Philippines','country_id' => '173'),\narray('id' => '5879','name' => '(IGN) - Iligan Airport, , Philippines','country_id' => '173'),\narray('id' => '5880','name' => '(JOL) - Jolo Airport, , Philippines','country_id' => '173'),\narray('id' => '5881','name' => '(CGY) - Cagayan De Oro Airport, Cagayan De Oro City, Philippines','country_id' => '173'),\narray('id' => '5882','name' => '(MLP) - Malabang Airport, Malabang, Philippines','country_id' => '173'),\narray('id' => '5883','name' => '(SGS) - Sanga Sanga Airport, , Philippines','country_id' => '173'),\narray('id' => '5884','name' => '(OZC) - Labo Airport, Ozamiz City, Philippines','country_id' => '173'),\narray('id' => '5885','name' => '(PAG) - Pagadian Airport, Pagadian City, Philippines','country_id' => '173'),\narray('id' => '5886','name' => '(MXI) - Mati National Airport, , Philippines','country_id' => '173'),\narray('id' => '5887','name' => '(GES) - General Santos International Airport, General Santos, Philippines','country_id' => '173'),\narray('id' => '5888','name' => '(SUG) - Surigao Airport, Surigao City, Philippines','country_id' => '173'),\narray('id' => '5889','name' => '(CDY) - Cagayan de Sulu Airport, Mapun, Philippines','country_id' => '173'),\narray('id' => '5890','name' => '(IPE) - Ipil Airport, Ipil, Philippines','country_id' => '173'),\narray('id' => '5891','name' => '(TDG) - Tandag Airport, , Philippines','country_id' => '173'),\narray('id' => '5892','name' => '(ZAM) - Zamboanga International Airport, Zamboanga City, Philippines','country_id' => '173'),\narray('id' => '5893','name' => '(IAO) - Siargao Airport, Del Carmen, Philippines','country_id' => '173'),\narray('id' => '5894','name' => '(RZP) - Cesar Lim Rodriguez Airport, Taytay Airport, Sandoval Airport, Philippines','country_id' => '173'),\narray('id' => '5895','name' => '(BAG) - Loakan Airport, Baguio City, Philippines','country_id' => '173'),\narray('id' => '5896','name' => '(DTE) - Daet Airport, Daet, Philippines','country_id' => '173'),\narray('id' => '5897','name' => '(SJI) - San Jose Airport, San Jose, Philippines','country_id' => '173'),\narray('id' => '5898','name' => '(MBO) - Mamburao Airport, , Philippines','country_id' => '173'),\narray('id' => '5899','name' => '(WNP) - Naga Airport, Naga, Philippines','country_id' => '173'),\narray('id' => '5900','name' => '(BSO) - Basco Airport, Basco, Philippines','country_id' => '173'),\narray('id' => '5901','name' => '(BQA) - Dr.Juan C. Angara Airport, Baler, Philippines','country_id' => '173'),\narray('id' => '5902','name' => '(SFE) - San Fernando Airport, , Philippines','country_id' => '173'),\narray('id' => '5903','name' => '(TUG) - Tuguegarao Airport, Tuguegarao City, Philippines','country_id' => '173'),\narray('id' => '5904','name' => '(VRC) - Virac Airport, Virac, Philippines','country_id' => '173'),\narray('id' => '5905','name' => '(MRQ) - Marinduque Airport, Gasan, Philippines','country_id' => '173'),\narray('id' => '5906','name' => '(CYZ) - Cauayan Airport, Cauayan City, Philippines','country_id' => '173'),\narray('id' => '5907','name' => '(RPV) - Roper Valley Airport, Roper Valley, Australia','country_id' => '12'),\narray('id' => '5908','name' => '(TAC) - Daniel Z. Romualdez Airport, Tacloban City, Philippines','country_id' => '173'),\narray('id' => '5909','name' => '(BCD) - Bacolod-Silay City International Airport, Bacolod City, Philippines','country_id' => '173'),\narray('id' => '5910','name' => '(CYP) - Calbayog Airport, Calbayog City, Philippines','country_id' => '173'),\narray('id' => '5911','name' => '(DGT) - Sibulan Airport, Dumaguete City, Philippines','country_id' => '173'),\narray('id' => '5912','name' => '(MPH) - Godofredo P. Ramos Airport, Malay, Philippines','country_id' => '173'),\narray('id' => '5913','name' => '(CRM) - Catarman National Airport, Catarman, Philippines','country_id' => '173'),\narray('id' => '5914','name' => '(ILO) - Iloilo International Airport, Iloilo City, Philippines','country_id' => '173'),\narray('id' => '5915','name' => '(MBT) - Moises R. Espinosa Airport, Masbate, Philippines','country_id' => '173'),\narray('id' => '5916','name' => '(KLO) - Kalibo International Airport, Kalibo, Philippines','country_id' => '173'),\narray('id' => '5917','name' => '(CEB) - Mactan Cebu International Airport, Lapu-Lapu City, Philippines','country_id' => '173'),\narray('id' => '5918','name' => '(OMC) - Ormoc Airport, Ormoc City, Philippines','country_id' => '173'),\narray('id' => '5919','name' => '(PPS) - Puerto Princesa Airport, Puerto Princesa City, Philippines','country_id' => '173'),\narray('id' => '5920','name' => '(RXS) - Roxas Airport, Roxas City, Philippines','country_id' => '173'),\narray('id' => '5921','name' => '(EUQ) - Evelio Javier Airport, San Jose, Philippines','country_id' => '173'),\narray('id' => '5922','name' => '(TAG) - Tagbilaran Airport, Tagbilaran City, Philippines','country_id' => '173'),\narray('id' => '5923','name' => '(TBH) - Tugdan Airport, Tablas Island, Philippines','country_id' => '173'),\narray('id' => '5924','name' => '(USU) - Francisco B. Reyes Airport, Coron, Philippines','country_id' => '173'),\narray('id' => '5925','name' => '(RRM) - Marromeu Airport, Marromeu, Mozambique','country_id' => '155'),\narray('id' => '5926','name' => '(NGK) - Nogliki Airport, Nogliki-Sakhalin Island, Russia','country_id' => '187'),\narray('id' => '5927','name' => '(GRV) - Grozny North Airport, Grozny, Russia','country_id' => '187'),\narray('id' => '5928','name' => '(KDY) - Typliy Klyuch Airport, Khandyga, Russia','country_id' => '187'),\narray('id' => '5929','name' => '(LNX) - Smolensk South Airport, Smolensk, Russia','country_id' => '187'),\narray('id' => '5930','name' => '(VUS) - Velikiy Ustyug Airport, Velikiy Ustyug, Russia','country_id' => '187'),\narray('id' => '5931','name' => '(RUU) - Ruti Airport, Kawbenaberi, Papua New Guinea','country_id' => '172'),\narray('id' => '5932','name' => '(RVC) - River Cess Airport/Heliport, River Cess, Liberia','country_id' => '127'),\narray('id' => '5933','name' => '(LPS) - Lopez Island Airport, Lopez, United States','country_id' => '228'),\narray('id' => '5934','name' => '(MJR) - Miramar Airport, Miramar, Argentina','country_id' => '9'),\narray('id' => '5935','name' => '(COC) - Comodoro Pierrestegui Airport, Concordia, Argentina','country_id' => '9'),\narray('id' => '5936','name' => '(GHU) - Gualeguaychu Airport, Gualeguaychu, Argentina','country_id' => '9'),\narray('id' => '5937','name' => '(JNI) - Junin Airport, Junin, Argentina','country_id' => '9'),\narray('id' => '5938','name' => '(PRA) - General Urquiza Airport, Parana, Argentina','country_id' => '9'),\narray('id' => '5939','name' => '(ROS) - Islas Malvinas Airport, Rosario, Argentina','country_id' => '9'),\narray('id' => '5940','name' => '(SFN) - Sauce Viejo Airport, Santa Fe, Argentina','country_id' => '9'),\narray('id' => '5941','name' => '(AEP) - Jorge Newbery Airpark, Buenos Aires, Argentina','country_id' => '9'),\narray('id' => '5942','name' => '(LCM) - La Cumbre Airport, La Cumbre, Argentina','country_id' => '9'),\narray('id' => '5943','name' => '(COR) - Ingeniero Ambrosio Taravella Airport, Cordoba, Argentina','country_id' => '9'),\narray('id' => '5944','name' => '(FDO) - San Fernando Airport, San Fernando, Argentina','country_id' => '9'),\narray('id' => '5945','name' => '(LPG) - La Plata Airport, La Plata, Argentina','country_id' => '9'),\narray('id' => '5946','name' => '(EPA) - El Palomar Airport, El Palomar, Argentina','country_id' => '9'),\narray('id' => '5947','name' => '(EZE) - Ministro Pistarini International Airport, Buenos Aires, Argentina','country_id' => '9'),\narray('id' => '5948','name' => '(RAF) - Rafaela Airport, Rafaela, Argentina','country_id' => '9'),\narray('id' => '5949','name' => '(HOS) - Chos Malal Airport, Chos Malal, Argentina','country_id' => '9'),\narray('id' => '5950','name' => '(CVH) - Caviahue Airport, Lafontaine, Argentina','country_id' => '9'),\narray('id' => '5951','name' => '(GNR) - Dr. Arturo H. Illia Airport, General Roca, Argentina','country_id' => '9'),\narray('id' => '5952','name' => '(RDS) - Rincon De Los Sauces Airport, Rincon de los Sauces, Argentina','country_id' => '9'),\narray('id' => '5953','name' => '(APZ) - Zapala Airport, Zapala, Argentina','country_id' => '9'),\narray('id' => '5954','name' => '(SAM) - Salamo Airport, Salamo, Papua New Guinea','country_id' => '172'),\narray('id' => '5955','name' => '(MDZ) - El Plumerillo Airport, Mendoza, Argentina','country_id' => '9'),\narray('id' => '5956','name' => '(LGS) - Comodoro D.R. SalomAn Airport, Malargue, Argentina','country_id' => '9'),\narray('id' => '5957','name' => '(AFA) - Suboficial Ay Santiago Germano Airport, San Rafael, Argentina','country_id' => '9'),\narray('id' => '5958','name' => '(CTC) - Catamarca Airport, Catamarca, Argentina','country_id' => '9'),\narray('id' => '5959','name' => '(SDE) - Vicecomodoro Angel D. La Paz AragonAs Airport, Santiago del Estero, Argentina','country_id' => '9'),\narray('id' => '5960','name' => '(IRJ) - Capitan V A Almonacid Airport, La Rioja, Argentina','country_id' => '9'),\narray('id' => '5961','name' => '(RHD) - Termas de RAo Hondo international Airport, Termas de RAo Hondo, Argentina','country_id' => '9'),\narray('id' => '5962','name' => '(TUC) - Teniente Benjamin Matienzo Airport, San Miguel de TucumAn, Argentina','country_id' => '9'),\narray('id' => '5963','name' => '(UAQ) - Domingo Faustino Sarmiento Airport, San Juan, Argentina','country_id' => '9'),\narray('id' => '5964','name' => '(CRR) - Ceres Airport, Ceres, Argentina','country_id' => '9'),\narray('id' => '5965','name' => '(RCU) - Area De Material Airport, Rio Cuarto, Argentina','country_id' => '9'),\narray('id' => '5966','name' => '(VDR) - Villa Dolores Airport, Villa Dolores, Argentina','country_id' => '9'),\narray('id' => '5967','name' => '(VME) - Villa Reynolds Airport, Villa Mercedes, Argentina','country_id' => '9'),\narray('id' => '5968','name' => '(RLO) - Valle Del Conlara International Airport, Merlo, Argentina','country_id' => '9'),\narray('id' => '5969','name' => '(LUQ) - Brigadier Mayor D Cesar Raul Ojeda Airport, San Luis, Argentina','country_id' => '9'),\narray('id' => '5970','name' => '(CNQ) - Corrientes Airport, Corrientes, Argentina','country_id' => '9'),\narray('id' => '5971','name' => '(RES) - Resistencia International Airport, Resistencia, Argentina','country_id' => '9'),\narray('id' => '5972','name' => '(FMA) - Formosa Airport, Formosa, Argentina','country_id' => '9'),\narray('id' => '5973','name' => '(IGR) - Cataratas Del IguazAo International Airport, Puerto Iguazu, Argentina','country_id' => '9'),\narray('id' => '5974','name' => '(AOL) - Paso De Los Libres Airport, Paso de los Libres, Argentina','country_id' => '9'),\narray('id' => '5975','name' => '(MCS) - Monte Caseros Airport, Monte Caseros, Argentina','country_id' => '9'),\narray('id' => '5976','name' => '(PSS) - Libertador Gral D Jose De San Martin Airport, Posadas, Argentina','country_id' => '9'),\narray('id' => '5977','name' => '(SAS) - Salton Sea Airport, Salton City, United States','country_id' => '228'),\narray('id' => '5978','name' => '(SLA) - Martin Miguel De Guemes International Airport, Salta, Argentina','country_id' => '9'),\narray('id' => '5979','name' => '(JUJ) - Gobernador Horacio Guzman International Airport, San Salvador de Jujuy, Argentina','country_id' => '9'),\narray('id' => '5980','name' => '(ORA) - OrAn Airport, OrAn, Argentina','country_id' => '9'),\narray('id' => '5981','name' => '(TTG) - General Enrique Mosconi Airport, Tartagal, Argentina','country_id' => '9'),\narray('id' => '5982','name' => '(CLX) - Clorinda Airport, Clorinda, Argentina','country_id' => '9'),\narray('id' => '5983','name' => '(ELO) - El Dorado Airport, El Dorado, Argentina','country_id' => '9'),\narray('id' => '5984','name' => '(OYA) - Goya Airport, Goya, Argentina','country_id' => '9'),\narray('id' => '5985','name' => '(LLS) - Alferez Armando Rodriguez Airport, Las Lomitas, Argentina','country_id' => '9'),\narray('id' => '5986','name' => '(MDX) - Mercedes Airport, Mercedes, Argentina','country_id' => '9'),\narray('id' => '5987','name' => '(RCQ) - Reconquista Airport, Reconquista, Argentina','country_id' => '9'),\narray('id' => '5988','name' => '(UZU) - Curuzu Cuatia Airport, Curuzu Cuatia, Argentina','country_id' => '9'),\narray('id' => '5989','name' => '(EHL) - El Bolson Airport, El Bolson, Argentina','country_id' => '9'),\narray('id' => '5990','name' => '(CRD) - General E. Mosconi Airport, Comodoro Rivadavia, Argentina','country_id' => '9'),\narray('id' => '5991','name' => '(EMX) - El Maiten Airport, El Maiten, Argentina','country_id' => '9'),\narray('id' => '5992','name' => '(EQS) - Brigadier Antonio Parodi Airport, Esquel, Argentina','country_id' => '9'),\narray('id' => '5993','name' => '(LHS) - Las Heras Airport, Las Heras, Argentina','country_id' => '9'),\narray('id' => '5994','name' => '(IGB) - Cabo F.A.A. H. R. BordAn Airport, Ingeniero Jacobacci, Argentina','country_id' => '9'),\narray('id' => '5995','name' => '(OES) - Antoine De St Exupery Airport, San Antonio Oeste, Argentina','country_id' => '9'),\narray('id' => '5996','name' => '(MQD) - Maquinchao Airport, Maquinchao, Argentina','country_id' => '9'),\narray('id' => '5997','name' => '(ARR) - D. Casimiro Szlapelis Airport, Alto Rio Senguerr, Argentina','country_id' => '9'),\narray('id' => '5998','name' => '(SGV) - Sierra Grande Airport, Sierra Grande, Argentina','country_id' => '9'),\narray('id' => '5999','name' => '(REL) - Almirante Marco Andres Zar Airport, Rawson, Argentina','country_id' => '9'),\narray('id' => '6000','name' => '(VDM) - Gobernador Castello Airport, Viedma / Carmen de Patagones, Argentina','country_id' => '9'),\narray('id' => '6001','name' => '(PMY) - El Tehuelche Airport, Puerto Madryn, Argentina','country_id' => '9'),\narray('id' => '6002','name' => '(ING) - Lago Argentino Airport, El Calafate, Argentina','country_id' => '9'),\narray('id' => '6003','name' => '(FTE) - El Calafate Airport, El Calafate, Argentina','country_id' => '9'),\narray('id' => '6004','name' => '(PUD) - Puerto Deseado Airport, Puerto Deseado, Argentina','country_id' => '9'),\narray('id' => '6005','name' => '(RGA) - Hermes Quijada International Airport, Rio Grande, Argentina','country_id' => '9'),\narray('id' => '6006','name' => '(RGL) - Piloto Civil N. FernAndez Airport, Rio Gallegos, Argentina','country_id' => '9'),\narray('id' => '6007','name' => '(USH) - Malvinas Argentinas Airport, Ushuahia, Argentina','country_id' => '9'),\narray('id' => '6008','name' => '(ULA) - Capitan D Daniel Vazquez Airport, San Julian, Argentina','country_id' => '9'),\narray('id' => '6009','name' => '(ROY) - Rio Mayo Airport, Rio Mayo, Argentina','country_id' => '9'),\narray('id' => '6010','name' => '(PMQ) - Perito Moreno Airport, Perito Moreno, Argentina','country_id' => '9'),\narray('id' => '6011','name' => '(GGS) - Gobernador Gregores Airport, Gobernador Gregores, Argentina','country_id' => '9'),\narray('id' => '6012','name' => '(JSM) - Jose De San Martin Airport, Chubut, Argentina','country_id' => '9'),\narray('id' => '6013','name' => '(RYO) - 28 de Noviembre Airport, Rio Turbio, Argentina','country_id' => '9'),\narray('id' => '6014','name' => '(RZA) - Santa Cruz Airport, Santa Cruz, Argentina','country_id' => '9'),\narray('id' => '6015','name' => '(BHI) - Comandante Espora Airport, Bahia Blanca, Argentina','country_id' => '9'),\narray('id' => '6016','name' => '(CSZ) - Brigadier D.H.E. Ruiz Airport, Coronel Suarez, Argentina','country_id' => '9'),\narray('id' => '6017','name' => '(OVR) - Olavarria Airport, Olavarria, Argentina','country_id' => '9'),\narray('id' => '6018','name' => '(GPO) - General Pico Airport, General Pico, Argentina','country_id' => '9'),\narray('id' => '6019','name' => '(OYO) - Tres Arroyos Airport, Tres Arroyos, Argentina','country_id' => '9'),\narray('id' => '6020','name' => '(SST) - Santa Teresita Airport, Santa Teresita, Argentina','country_id' => '9'),\narray('id' => '6021','name' => '(MDQ) - Astor Piazzola International Airport, Mar del Plata, Argentina','country_id' => '9'),\narray('id' => '6022','name' => '(NQN) - Presidente Peron Airport, Neuquen, Argentina','country_id' => '9'),\narray('id' => '6023','name' => '(NEC) - Necochea Airport, Necochea, Argentina','country_id' => '9'),\narray('id' => '6024','name' => '(PEH) - Comodoro Pedro Zanni Airport, PehuajA, Argentina','country_id' => '9'),\narray('id' => '6025','name' => '(RSA) - Santa Rosa Airport, Santa Rosa, Argentina','country_id' => '9'),\narray('id' => '6026','name' => '(BRC) - San Carlos De Bariloche Airport, San Carlos de Bariloche, Argentina','country_id' => '9'),\narray('id' => '6027','name' => '(TDL) - HAroes De Malvinas Airport, Tandil, Argentina','country_id' => '9'),\narray('id' => '6028','name' => '(VLG) - Villa Gesell Airport, Villa Gesell, Argentina','country_id' => '9'),\narray('id' => '6029','name' => '(CUT) - Cutral-Co Airport, Cutral-Co, Argentina','country_id' => '9'),\narray('id' => '6030','name' => '(CPC) - Aviador C. Campos Airport, Chapelco/San Martin de los Andes, Argentina','country_id' => '9'),\narray('id' => '6031','name' => '(VIU) - Viru Harbour Airstrip, Viru, Solomon Islands','country_id' => '190'),\narray('id' => '6032','name' => '(CDJ) - ConceiAAo do Araguaia Airport, ConceiAAo Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6033','name' => '(AQA) - Araraquara Airport, Araraquara, Brazil','country_id' => '29'),\narray('id' => '6034','name' => '(AJU) - Santa Maria Airport, Aracaju, Brazil','country_id' => '29'),\narray('id' => '6035','name' => '(AFL) - Piloto Osvaldo Marques Dias Airport, Alta Floresta, Brazil','country_id' => '29'),\narray('id' => '6036','name' => '(ARU) - AraAatuba Airport, AraAatuba, Brazil','country_id' => '29'),\narray('id' => '6037','name' => '(AAX) - Romeu Zema Airport, AraxA, Brazil','country_id' => '29'),\narray('id' => '6038','name' => '(BEL) - Val de Cans/JAolio Cezar Ribeiro International Airport, BelAm, Brazil','country_id' => '29'),\narray('id' => '6039','name' => '(BGX) - Comandante Gustavo Kraemer Airport, BagA, Brazil','country_id' => '29'),\narray('id' => '6040','name' => '(PLU) - Pampulha - Carlos Drummond de Andrade Airport, Belo Horizonte, Brazil','country_id' => '29'),\narray('id' => '6041','name' => '(BFH) - Bacacheri Airport, Curitiba, Brazil','country_id' => '29'),\narray('id' => '6042','name' => '(BJP) - Aeroporto Estadual Arthur Siqueira Airport, BraganAa Paulista, Brazil','country_id' => '29'),\narray('id' => '6043','name' => '(QAK) - Major Brigadeiro Doorgal Borges Airport, Barbacena, Brazil','country_id' => '29'),\narray('id' => '6044','name' => '(BSB) - Presidente Juscelino Kubistschek International Airport, BrasAlia, Brazil','country_id' => '29'),\narray('id' => '6045','name' => '(BAT) - Chafei Amsei Airport, Barretos, Brazil','country_id' => '29'),\narray('id' => '6046','name' => '(BAU) - Bauru Airport, Bauru, Brazil','country_id' => '29'),\narray('id' => '6047','name' => '(BVB) - Atlas Brasil Cantanhede Airport, Boa Vista, Brazil','country_id' => '29'),\narray('id' => '6048','name' => '(BPG) - Barra do GarAas Airport, Barra Do GarAas, Brazil','country_id' => '29'),\narray('id' => '6049','name' => '(BZC) - Umberto Modiano Airport, Cabo Frio, Brazil','country_id' => '29'),\narray('id' => '6050','name' => '(CAC) - Cascavel Airport, Cascavel, Brazil','country_id' => '29'),\narray('id' => '6051','name' => '(CFB) - Cabo Frio Airport, Cabo Frio, Brazil','country_id' => '29'),\narray('id' => '6052','name' => '(CFC) - CaAador Airport, CaAador, Brazil','country_id' => '29'),\narray('id' => '6053','name' => '(CNF) - Tancredo Neves International Airport, Belo Horizonte, Brazil','country_id' => '29'),\narray('id' => '6054','name' => '(CGR) - Campo Grande Airport, Campo Grande, Brazil','country_id' => '29'),\narray('id' => '6055','name' => '(XAP) - Serafin Enoss Bertaso Airport, ChapecA, Brazil','country_id' => '29'),\narray('id' => '6056','name' => '(CLN) - Brig. Lysias Augusto Rodrigues Airport, Carolina, Brazil','country_id' => '29'),\narray('id' => '6057','name' => '(CKS) - CarajAs Airport, Parauapebas, Brazil','country_id' => '29'),\narray('id' => '6058','name' => '(CCM) - DiomAcio Freitas Airport, CriciAoma, Brazil','country_id' => '29'),\narray('id' => '6059','name' => '(CLV) - Nelson Ribeiro GuimarAes Airport, Caldas Novas, Brazil','country_id' => '29'),\narray('id' => '6060','name' => '(CAW) - Bartolomeu Lisandro Airport, Campos Dos Goytacazes, Brazil','country_id' => '29'),\narray('id' => '6061','name' => '(CMG) - CorumbA International Airport, CorumbA, Brazil','country_id' => '29'),\narray('id' => '6062','name' => '(CWB) - Afonso Pena Airport, Curitiba, Brazil','country_id' => '29'),\narray('id' => '6063','name' => '(CRQ) - Caravelas Airport, Caravelas, Brazil','country_id' => '29'),\narray('id' => '6064','name' => '(CXJ) - Hugo Cantergiani Regional Airport, Caxias Do Sul, Brazil','country_id' => '29'),\narray('id' => '6065','name' => '(CGB) - Marechal Rondon Airport, CuiabA, Brazil','country_id' => '29'),\narray('id' => '6066','name' => '(CZS) - Cruzeiro do Sul Airport, Cruzeiro Do Sul, Brazil','country_id' => '29'),\narray('id' => '6067','name' => '(BYO) - Bonito Airport, Bonito, Brazil','country_id' => '29'),\narray('id' => '6068','name' => '(PPB) - Presidente Prudente Airport, Presidente Prudente, Brazil','country_id' => '29'),\narray('id' => '6069','name' => '(MAO) - Eduardo Gomes International Airport, Manaus, Brazil','country_id' => '29'),\narray('id' => '6070','name' => '(JCR) - Jacareacanga Airport, Jacareacanga, Brazil','country_id' => '29'),\narray('id' => '6071','name' => '(ESI) - Espinosa Airport, Espinosa, Brazil','country_id' => '29'),\narray('id' => '6072','name' => '(IGU) - Cataratas International Airport, Foz Do IguaAu, Brazil','country_id' => '29'),\narray('id' => '6073','name' => '(FLN) - HercAlio Luz International Airport, FlorianApolis, Brazil','country_id' => '29'),\narray('id' => '6074','name' => '(FEN) - Fernando de Noronha Airport, Fernando De Noronha, Brazil','country_id' => '29'),\narray('id' => '6075','name' => '(FOR) - Pinto Martins International Airport, Fortaleza, Brazil','country_id' => '29'),\narray('id' => '6076','name' => '(GIG) - Rio GaleAo a\" Tom Jobim International Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6077','name' => '(GJM) - GuajarA-Mirim Airport, GuajarA-Mirim, Brazil','country_id' => '29'),\narray('id' => '6078','name' => '(GYN) - Santa Genoveva Airport, GoiAnia, Brazil','country_id' => '29'),\narray('id' => '6079','name' => '(GRU) - Guarulhos - Governador AndrA Franco Montoro International Airport, SAo Paulo, Brazil','country_id' => '29'),\narray('id' => '6080','name' => '(GPB) - Tancredo Thomas de Faria Airport, Guarapuava, Brazil','country_id' => '29'),\narray('id' => '6081','name' => '(GVR) - Coronel Altino Machado de Oliveira Airport, Governador Valadares, Brazil','country_id' => '29'),\narray('id' => '6082','name' => '(GUJ) - GuaratinguetA Airport, GuaratinguetA, Brazil','country_id' => '29'),\narray('id' => '6083','name' => '(ATM) - Altamira Airport, Altamira, Brazil','country_id' => '29'),\narray('id' => '6084','name' => '(ITA) - Itacoatiara Airport, Itacoatiara, Brazil','country_id' => '29'),\narray('id' => '6085','name' => '(ITB) - Itaituba Airport, Itaituba, Brazil','country_id' => '29'),\narray('id' => '6086','name' => '(IOS) - Bahia - Jorge Amado Airport, IlhAus, Brazil','country_id' => '29'),\narray('id' => '6087','name' => '(IPN) - Usiminas Airport, Ipatinga, Brazil','country_id' => '29'),\narray('id' => '6088','name' => '(ITR) - Francisco Vilela do Amaral Airport, Itumbiara, Brazil','country_id' => '29'),\narray('id' => '6089','name' => '(IMP) - Prefeito Renato Moreira Airport, Imperatriz, Brazil','country_id' => '29'),\narray('id' => '6090','name' => '(JJG) - Humberto Ghizzo Bortoluzzi Regional Airport, Jaguaruna, Brazil','country_id' => '29'),\narray('id' => '6091','name' => '(JDF) - Francisco de Assis Airport, Juiz De Fora, Brazil','country_id' => '29'),\narray('id' => '6092','name' => '(JPA) - Presidente Castro Pinto International Airport, JoAo Pessoa, Brazil','country_id' => '29'),\narray('id' => '6093','name' => '(JDO) - Orlando Bezerra de Menezes Airport, Juazeiro Do Norte, Brazil','country_id' => '29'),\narray('id' => '6094','name' => '(JOI) - Lauro Carneiro de Loyola Airport, Joinville, Brazil','country_id' => '29'),\narray('id' => '6095','name' => '(CPV) - Presidente JoAo Suassuna Airport, Campina Grande, Brazil','country_id' => '29'),\narray('id' => '6096','name' => '(VCP) - Viracopos International Airport, Campinas, Brazil','country_id' => '29'),\narray('id' => '6097','name' => '(LEC) - Coronel HorAcio de Mattos Airport, LenAAis, Brazil','country_id' => '29'),\narray('id' => '6098','name' => '(LAJ) - Lages Airport, Lages, Brazil','country_id' => '29'),\narray('id' => '6099','name' => '(LIP) - Lins Airport, Lins, Brazil','country_id' => '29'),\narray('id' => '6100','name' => '(LDB) - Governador JosA Richa Airport, Londrina, Brazil','country_id' => '29'),\narray('id' => '6101','name' => '(LAZ) - Bom Jesus da Lapa Airport, Bom Jesus Da Lapa, Brazil','country_id' => '29'),\narray('id' => '6102','name' => '(MAB) - JoAo Correa da Rocha Airport, MarabA, Brazil','country_id' => '29'),\narray('id' => '6103','name' => '(MQH) - MinaAu Airport, MinaAu, Brazil','country_id' => '29'),\narray('id' => '6104','name' => '(MEU) - Monte Dourado Airport, Almeirim, Brazil','country_id' => '29'),\narray('id' => '6105','name' => '(MEA) - MacaA Airport, MacaA, Brazil','country_id' => '29'),\narray('id' => '6106','name' => '(MGF) - Regional de MaringA - SAlvio Nane Junior Airport, MaringA, Brazil','country_id' => '29'),\narray('id' => '6107','name' => '(MOC) - MArio Ribeiro Airport, Montes Claros, Brazil','country_id' => '29'),\narray('id' => '6108','name' => '(MII) - Frank Miloye Milenkowichia\"MarAlia State Airport, MarAlia, Brazil','country_id' => '29'),\narray('id' => '6109','name' => '(PLL) - Ponta Pelada Airport, Manaus, Brazil','country_id' => '29'),\narray('id' => '6110','name' => '(MCZ) - Zumbi dos Palmares Airport, MaceiA, Brazil','country_id' => '29'),\narray('id' => '6111','name' => '(MCP) - Alberto Alcolumbre Airport, MacapA, Brazil','country_id' => '29'),\narray('id' => '6112','name' => '(MVF) - Dix-Sept Rosado Airport, MossorA, Brazil','country_id' => '29'),\narray('id' => '6113','name' => '(MNX) - ManicorA Airport, ManicorA, Brazil','country_id' => '29'),\narray('id' => '6114','name' => '(NVT) - Ministro Victor Konder International Airport, Navegantes, Brazil','country_id' => '29'),\narray('id' => '6115','name' => '(GEL) - Santo A\\'ngelo Airport, Santo A\\'ngelo, Brazil','country_id' => '29'),\narray('id' => '6116','name' => '(OYK) - Oiapoque Airport, Oiapoque, Brazil','country_id' => '29'),\narray('id' => '6117','name' => '(POA) - Salgado Filho Airport, Porto Alegre, Brazil','country_id' => '29'),\narray('id' => '6118','name' => '(PHB) - Prefeito Doutor JoAo Silva Filho Airport, ParnaAba, Brazil','country_id' => '29'),\narray('id' => '6119','name' => '(POO) - PoAos de Caldas - Embaixador Walther Moreira Salles Airport, PoAos De Caldas, Brazil','country_id' => '29'),\narray('id' => '6120','name' => '(PFB) - Lauro Kurtz Airport, Passo Fundo, Brazil','country_id' => '29'),\narray('id' => '6121','name' => '(PMW) - Brigadeiro Lysias Rodrigues Airport, Palmas, Brazil','country_id' => '29'),\narray('id' => '6122','name' => '(PET) - JoAo SimAes Lopes Neto International Airport, Pelotas, Brazil','country_id' => '29'),\narray('id' => '6123','name' => '(PNZ) - Senador Nilo Coelho Airport, Petrolina, Brazil','country_id' => '29'),\narray('id' => '6124','name' => '(PNB) - Porto Nacional Airport, Porto Nacional, Brazil','country_id' => '29'),\narray('id' => '6125','name' => '(PMG) - Ponta PorA Airport, Ponta PorA, Brazil','country_id' => '29'),\narray('id' => '6126','name' => '(BPS) - Porto Seguro Airport, Porto Seguro, Brazil','country_id' => '29'),\narray('id' => '6127','name' => '(PVH) - Governador Jorge Teixeira de Oliveira Airport, Porto Velho, Brazil','country_id' => '29'),\narray('id' => '6128','name' => '(VDC) - VitAria da Conquista Airport, VitAria Da Conquista, Brazil','country_id' => '29'),\narray('id' => '6129','name' => '(RBR) - PlAcido de Castro Airport, Rio Branco, Brazil','country_id' => '29'),\narray('id' => '6130','name' => '(REC) - Guararapes - Gilberto Freyre International Airport, Recife, Brazil','country_id' => '29'),\narray('id' => '6131','name' => '(SDU) - Santos Dumont Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6132','name' => '(RAO) - Leite Lopes Airport, RibeirAo Preto, Brazil','country_id' => '29'),\narray('id' => '6133','name' => '(BRB) - Barreirinhas Airport, , Brazil','country_id' => '29'),\narray('id' => '6134','name' => '(SNZ) - Santa Cruz Airport, Rio De Janeiro, Brazil','country_id' => '29'),\narray('id' => '6135','name' => '(NAT) - Governador AluAzio Alves International Airport, Natal, Brazil','country_id' => '29'),\narray('id' => '6136','name' => '(SJK) - Professor Urbano Ernesto Stumpf Airport, SAo JosA Dos Campos, Brazil','country_id' => '29'),\narray('id' => '6137','name' => '(SLZ) - Marechal Cunha Machado International Airport, SAo LuAs, Brazil','country_id' => '29'),\narray('id' => '6138','name' => '(RIA) - Santa Maria Airport, Santa Maria, Brazil','country_id' => '29'),\narray('id' => '6139','name' => '(STM) - Maestro Wilson Fonseca Airport, SantarAm, Brazil','country_id' => '29'),\narray('id' => '6140','name' => '(CGH) - Congonhas Airport, SAo Paulo, Brazil','country_id' => '29'),\narray('id' => '6141','name' => '(SJP) - Prof. Eribelto Manoel Reino State Airport, SAo JosA Do Rio Preto, Brazil','country_id' => '29'),\narray('id' => '6142','name' => '(SSZ) - Base AArea de Santos Airport, GuarujA, Brazil','country_id' => '29'),\narray('id' => '6143','name' => '(SSA) - Deputado Luiz Eduardo MagalhAes International Airport, Salvador, Brazil','country_id' => '29'),\narray('id' => '6144','name' => '(QHP) - Base de AviaAAo de TaubatA Airport, TaubatA, Brazil','country_id' => '29'),\narray('id' => '6145','name' => '(TMT) - Trombetas Airport, OriximinA, Brazil','country_id' => '29'),\narray('id' => '6146','name' => '(UNA) - Hotel TransamArica Airport, Una, Brazil','country_id' => '29'),\narray('id' => '6147','name' => '(TOW) - Toledo Airport, Toledo, Brazil','country_id' => '29'),\narray('id' => '6148','name' => '(THE) - Senador PetrAnio Portela Airport, Teresina, Brazil','country_id' => '29'),\narray('id' => '6149','name' => '(TFF) - TefA Airport, TefA, Brazil','country_id' => '29'),\narray('id' => '6150','name' => '(TRQ) - TarauacA Airport, TarauacA, Brazil','country_id' => '29'),\narray('id' => '6151','name' => '(TEC) - TelAamaco Borba Airport, TelAamaco Borba, Brazil','country_id' => '29'),\narray('id' => '6152','name' => '(TSQ) - Torres Airport, Torres, Brazil','country_id' => '29'),\narray('id' => '6153','name' => '(OBI) - TiriAs Airport, A\"bidos, Brazil','country_id' => '29'),\narray('id' => '6154','name' => '(TBT) - Tabatinga Airport, Tabatinga, Brazil','country_id' => '29'),\narray('id' => '6155','name' => '(TUR) - TucuruA Airport, TucuruA, Brazil','country_id' => '29'),\narray('id' => '6156','name' => '(SJL) - SAo Gabriel da Cachoeira Airport, SAo Gabriel Da Cachoeira, Brazil','country_id' => '29'),\narray('id' => '6157','name' => '(PAV) - Paulo Afonso Airport, Paulo Afonso, Brazil','country_id' => '29'),\narray('id' => '6158','name' => '(URG) - Rubem Berta Airport, Uruguaiana, Brazil','country_id' => '29'),\narray('id' => '6159','name' => '(UDI) - Ten. Cel. Aviador CAsar Bombonato Airport, UberlAndia, Brazil','country_id' => '29'),\narray('id' => '6160','name' => '(UBA) - MArio de Almeida Franco Airport, Uberaba, Brazil','country_id' => '29'),\narray('id' => '6161','name' => '(VAG) - Major Brigadeiro Trompowsky Airport, Varginha, Brazil','country_id' => '29'),\narray('id' => '6162','name' => '(BVH) - Brigadeiro CamarAo Airport, Vilhena, Brazil','country_id' => '29'),\narray('id' => '6163','name' => '(VIX) - Eurico de Aguiar Salles Airport, VitAria, Brazil','country_id' => '29'),\narray('id' => '6164','name' => '(QPS) - Campo Fontenelle Airport, Pirassununga, Brazil','country_id' => '29'),\narray('id' => '6165','name' => '(IZA) - Presidente Itamar Franco Airport, Juiz de Fora, Brazil','country_id' => '29'),\narray('id' => '6166','name' => '(ZUD) - Pupelde Airport, Ancud, Chile','country_id' => '43'),\narray('id' => '6167','name' => '(LOB) - San Rafael Airport, Los Andes, Chile','country_id' => '43'),\narray('id' => '6168','name' => '(WAP) - Alto Palena Airport, Alto Palena, Chile','country_id' => '43'),\narray('id' => '6169','name' => '(ARI) - Chacalluta Airport, Arica, Chile','country_id' => '43'),\narray('id' => '6170','name' => '(WPA) - Cabo 1A Juan RomAn Airport, Puerto Aysen, Chile','country_id' => '43'),\narray('id' => '6171','name' => '(CPO) - Desierto de Atacama Airport, Copiapo, Chile','country_id' => '43'),\narray('id' => '6172','name' => '(BBA) - Balmaceda Airport, Balmaceda, Chile','country_id' => '43'),\narray('id' => '6173','name' => '(TOQ) - Barriles Airport, Tocopilla, Chile','country_id' => '43'),\narray('id' => '6174','name' => '(CCH) - Chile Chico Airport, Chile Chico, Chile','country_id' => '43'),\narray('id' => '6175','name' => '(CJC) - El Loa Airport, Calama, Chile','country_id' => '43'),\narray('id' => '6176','name' => '(YAI) - Gral. Bernardo OAHiggins Airport, Chillan, Chile','country_id' => '43'),\narray('id' => '6177','name' => '(PUQ) - Pdte. carlos IbaAez del Campo Airport, Punta Arenas, Chile','country_id' => '43'),\narray('id' => '6178','name' => '(COW) - Tambillos Airport, Coquimbo, Chile','country_id' => '43'),\narray('id' => '6179','name' => '(GXQ) - Teniente Vidal Airport, Coyhaique, Chile','country_id' => '43'),\narray('id' => '6180','name' => '(IQQ) - Diego Aracena Airport, Iquique, Chile','country_id' => '43'),\narray('id' => '6181','name' => '(SCL) - Comodoro Arturo Merino BenAtez International Airport, Santiago, Chile','country_id' => '43'),\narray('id' => '6182','name' => '(ESR) - Ricardo GarcAa Posada Airport, El Salvador, Chile','country_id' => '43'),\narray('id' => '6183','name' => '(FRT) - El Avellano Airport, Frutillar, Chile','country_id' => '43'),\narray('id' => '6184','name' => '(ANF) - Cerro Moreno Airport, Antofagasta, Chile','country_id' => '43'),\narray('id' => '6185','name' => '(WPR) - Capitan Fuentes Martinez Airport Airport, Porvenir, Chile','country_id' => '43'),\narray('id' => '6186','name' => '(FFU) - FutaleufAo Airport, Futaleufu, Chile','country_id' => '43'),\narray('id' => '6187','name' => '(LSQ) - MarAa Dolores Airport, Los Angeles, Chile','country_id' => '43'),\narray('id' => '6188','name' => '(WPU) - Guardiamarina ZaAartu Airport, Puerto Williams, Chile','country_id' => '43'),\narray('id' => '6189','name' => '(LGR) - Cochrane Airport, Cochrane, Chile','country_id' => '43'),\narray('id' => '6190','name' => '(CCP) - Carriel Sur Airport, Concepcion, Chile','country_id' => '43'),\narray('id' => '6191','name' => '(IPC) - Mataveri Airport, Isla De Pascua, Chile','country_id' => '43'),\narray('id' => '6192','name' => '(ZOS) - CaAal Bajo Carlos - Hott Siebert Airport, Osorno, Chile','country_id' => '43'),\narray('id' => '6193','name' => '(VLR) - Vallenar Airport, Vallenar, Chile','country_id' => '43'),\narray('id' => '6194','name' => '(ZLR) - Municipal de Linares Airport, Linares, Chile','country_id' => '43'),\narray('id' => '6195','name' => '(PNT) - Tte. Julio Gallardo Airport, Puerto Natales, Chile','country_id' => '43'),\narray('id' => '6196','name' => '(OVL) - El Tuqui Airport, Ovalle, Chile','country_id' => '43'),\narray('id' => '6197','name' => '(ZPC) - PucAn Airport, Pucon, Chile','country_id' => '43'),\narray('id' => '6198','name' => '(MHC) - Mocopulli Airport, Dalcahue, Chile','country_id' => '43'),\narray('id' => '6199','name' => '(PUX) - El Mirador Airport, Puerto Varas, Chile','country_id' => '43'),\narray('id' => '6200','name' => '(ZCO) - La AraucanAa Airport, Temuco, Chile','country_id' => '43'),\narray('id' => '6201','name' => '(CNR) - ChaAaral Airport, ChaAaral, Chile','country_id' => '43'),\narray('id' => '6202','name' => '(VAP) - Rodelillo Airport, ViAa Del Mar, Chile','country_id' => '43'),\narray('id' => '6203','name' => '(QRC) - De La Independencia Airport, Rancagua, Chile','country_id' => '43'),\narray('id' => '6204','name' => '(TNM) - Teniente Rodolfo Marsh Martin Base, Isla Rey Jorge, Antarctica','country_id' => '8'),\narray('id' => '6205','name' => '(SMB) - Franco Bianco Airport, Cerro Sombrero, Chile','country_id' => '43'),\narray('id' => '6206','name' => '(LSC) - La Florida Airport, La Serena-Coquimbo, Chile','country_id' => '43'),\narray('id' => '6207','name' => '(SSD) - VActor LafAn Airport, San Felipe, Chile','country_id' => '43'),\narray('id' => '6208','name' => '(WCA) - Gamboa Airport, Castro, Chile','country_id' => '43'),\narray('id' => '6209','name' => '(PZS) - Maquehue Airport, Temuco, Chile','country_id' => '43'),\narray('id' => '6210','name' => '(PMC) - El Tepual Airport, Puerto Montt, Chile','country_id' => '43'),\narray('id' => '6211','name' => '(TLX) - Panguilemo Airport, Talca, Chile','country_id' => '43'),\narray('id' => '6212','name' => '(WCH) - ChaitAn Airport, Chaiten, Chile','country_id' => '43'),\narray('id' => '6213','name' => '(ZIC) - Victoria Airport, Victoria, Chile','country_id' => '43'),\narray('id' => '6214','name' => '(TTC) - Las Breas Airport, Taltal, Chile','country_id' => '43'),\narray('id' => '6215','name' => '(ZAL) - Pichoy Airport, Valdivia, Chile','country_id' => '43'),\narray('id' => '6216','name' => '(KNA) - ViAa del mar Airport, ViAa Del Mar, Chile','country_id' => '43'),\narray('id' => '6217','name' => '(CPQ) - Amarais Airport, Campinas, Brazil','country_id' => '29'),\narray('id' => '6218','name' => '(QCJ) - Botucatu - Tancredo de Almeida Neves Airport, Botucatu, Brazil','country_id' => '29'),\narray('id' => '6219','name' => '(OLC) - Senadora Eunice Micheles Airport, SAo Paulo De OlivenAa, Brazil','country_id' => '29'),\narray('id' => '6220','name' => '(SOD) - Sorocaba Airport, Sorocaba, Brazil','country_id' => '29'),\narray('id' => '6221','name' => '(QDC) - Dracena Airport, Dracena, Brazil','country_id' => '29'),\narray('id' => '6222','name' => '(SDI) - Saidor Airport, Saidor, Papua New Guinea','country_id' => '172'),\narray('id' => '6223','name' => '(JLS) - Jales Airport, Jales, Brazil','country_id' => '29'),\narray('id' => '6224','name' => '(QOA) - Mococa Airport, Mococa, Brazil','country_id' => '29'),\narray('id' => '6225','name' => '(QGC) - LenAAis Paulista Airport, LenAAis Paulista, Brazil','country_id' => '29'),\narray('id' => '6226','name' => '(QNV) - Aeroclube Airport, Nova IguaAu, Brazil','country_id' => '29'),\narray('id' => '6227','name' => '(OUS) - Ourinhos Airport, Ourinhos, Brazil','country_id' => '29'),\narray('id' => '6228','name' => '(OIA) - OurilAndia do Norte Airport, OurilAndia do Norte, Brazil','country_id' => '29'),\narray('id' => '6229','name' => '(QHB) - Piracicaba Airport, Piracicaba, Brazil','country_id' => '29'),\narray('id' => '6230','name' => '(QIQ) - Rio Claro Airport, Rio Claro, Brazil','country_id' => '29'),\narray('id' => '6231','name' => '(QVP) - AvarA-Arandu Airport, AvarA, Brazil','country_id' => '29'),\narray('id' => '6232','name' => '(REZ) - Resende Airport, Resende, Brazil','country_id' => '29'),\narray('id' => '6233','name' => '(QSC) - SAo Carlos Airport, SAo Carlos, Brazil','country_id' => '29'),\narray('id' => '6234','name' => '(UBT) - Ubatuba Airport, Ubatuba, Brazil','country_id' => '29'),\narray('id' => '6235','name' => '(ITP) - Itaperuna Airport, Itaperuna, Brazil','country_id' => '29'),\narray('id' => '6236','name' => '(QGS) - Alagoinhas Airport, Alagoinhas, Brazil','country_id' => '29'),\narray('id' => '6237','name' => '(VOT) - Votuporanga Airport, Votuporanga, Brazil','country_id' => '29'),\narray('id' => '6238','name' => '(QGB) - Limeira Airport, Limeira, Brazil','country_id' => '29'),\narray('id' => '6239','name' => '(IZA) - Zona da Mata Regional Airport, Juiz De Fora, Brazil','country_id' => '29'),\narray('id' => '6240','name' => '(ATF) - ChachoAn Airport, Ambato, Ecuador','country_id' => '60'),\narray('id' => '6241','name' => '(OCC) - Francisco De Orellana Airport, Coca, Ecuador','country_id' => '60'),\narray('id' => '6242','name' => '(CUE) - Mariscal Lamar Airport, Cuenca, Ecuador','country_id' => '60'),\narray('id' => '6243','name' => '(GPS) - Seymour Airport, Baltra, Ecuador','country_id' => '60'),\narray('id' => '6244','name' => '(GYE) - JosA JoaquAn de Olmedo International Airport, Guayaquil, Ecuador','country_id' => '60'),\narray('id' => '6245','name' => '(IBB) - General Villamil Airport, Isabela, Ecuador','country_id' => '60'),\narray('id' => '6246','name' => '(JIP) - Jipijapa Airport, Jipijapa, Ecuador','country_id' => '60'),\narray('id' => '6247','name' => '(LTX) - Cotopaxi International Airport, Latacunga, Ecuador','country_id' => '60'),\narray('id' => '6248','name' => '(MRR) - Jose Maria Velasco Ibarra Airport, MacarA, Ecuador','country_id' => '60'),\narray('id' => '6249','name' => '(XMS) - Coronel E Carvajal Airport, Macas, Ecuador','country_id' => '60'),\narray('id' => '6250','name' => '(MCH) - General Manuel Serrano Airport, Machala, Ecuador','country_id' => '60'),\narray('id' => '6251','name' => '(MEC) - Eloy Alfaro International Airport, Manta, Ecuador','country_id' => '60'),\narray('id' => '6252','name' => '(LGQ) - Nueva Loja Airport, Lago Agrio, Ecuador','country_id' => '60'),\narray('id' => '6253','name' => '(PYO) - Putumayo Airport, Puerto Putumayo, Ecuador','country_id' => '60'),\narray('id' => '6254','name' => '(PVO) - Reales Tamarindos Airport, Portoviejo, Ecuador','country_id' => '60'),\narray('id' => '6255','name' => '(UIO) - Mariscal Sucre International Airport, Quito, Ecuador','country_id' => '60'),\narray('id' => '6256','name' => '(ETR) - Santa Rosa International Airport, Santa Rosa, Ecuador','country_id' => '60'),\narray('id' => '6257','name' => '(SNC) - General Ulpiano Paez Airport, Salinas, Ecuador','country_id' => '60'),\narray('id' => '6258','name' => '(SUQ) - Sucua Airport, Sucua, Ecuador','country_id' => '60'),\narray('id' => '6259','name' => '(PTZ) - Rio Amazonas Airport, Shell Mera, Ecuador','country_id' => '60'),\narray('id' => '6260','name' => '(SCY) - San CristAbal Airport, San CristAbal, Ecuador','country_id' => '60'),\narray('id' => '6261','name' => '(BHA) - Los Perales Airport, BahAa de Caraquez, Ecuador','country_id' => '60'),\narray('id' => '6262','name' => '(TSC) - Taisha Airport, Taisha, Ecuador','country_id' => '60'),\narray('id' => '6263','name' => '(TPN) - Tiputini Airport, Tiputini, Ecuador','country_id' => '60'),\narray('id' => '6264','name' => '(LOH) - Camilo Ponce Enriquez Airport, La Toma (Catamayo), Ecuador','country_id' => '60'),\narray('id' => '6265','name' => '(ESM) - General Rivadeneira Airport, Tachina, Ecuador','country_id' => '60'),\narray('id' => '6266','name' => '(TPC) - Tarapoa Airport, Tarapoa, Ecuador','country_id' => '60'),\narray('id' => '6267','name' => '(TUA) - Teniente Coronel Luis a Mantilla Airport, TulcAn, Ecuador','country_id' => '60'),\narray('id' => '6268','name' => '(PSY) - Port Stanley Airport, Stanley, Falkland Islands','country_id' => '69'),\narray('id' => '6269','name' => '(SFU) - Safia Airport, Safia, Papua New Guinea','country_id' => '172'),\narray('id' => '6270','name' => '(ASU) - Silvio Pettirossi International Airport, AsunciAn, Paraguay','country_id' => '182'),\narray('id' => '6271','name' => '(AYO) - Juan De Ayolas Airport, Ayolas, Paraguay','country_id' => '182'),\narray('id' => '6272','name' => '(CIO) - Teniente Col Carmelo Peralta Airport, ConcepciAn, Paraguay','country_id' => '182'),\narray('id' => '6273','name' => '(ENO) - EncarnaciAn Airport, EncarnaciAn, Paraguay','country_id' => '182'),\narray('id' => '6274','name' => '(AGT) - Guarani International Airport, Ciudad del Este, Paraguay','country_id' => '182'),\narray('id' => '6275','name' => '(FLM) - Filadelfia Airport, Filadelfia, Paraguay','country_id' => '182'),\narray('id' => '6276','name' => '(ESG) - Dr. Luis Maria ArgaAa International Airport, Mariscal Estigarribia, Paraguay','country_id' => '182'),\narray('id' => '6277','name' => '(PIL) - Carlos Miguel Gimenez Airport, Pilar, Paraguay','country_id' => '182'),\narray('id' => '6278','name' => '(PJC) - Dr Augusto Roberto Fuster International Airport, Pedro Juan Caballero, Paraguay','country_id' => '182'),\narray('id' => '6279','name' => '(SIC) - San JosA Island Airport, Las Perlas, Panama','country_id' => '169'),\narray('id' => '6280','name' => '(LVR) - Municipal Bom Futuro Airport, Lucas do Rio Verde, Brazil','country_id' => '29'),\narray('id' => '6281','name' => '(FRC) - Franca Airport, Franca, Brazil','country_id' => '29'),\narray('id' => '6282','name' => '(SIZ) - Sissano Airport, Sissano, Papua New Guinea','country_id' => '172'),\narray('id' => '6283','name' => '(JUA) - InAcio LuAs do Nascimento Airport, Juara, Brazil','country_id' => '29'),\narray('id' => '6284','name' => '(CFO) - Confresa Airport, Confresa, Brazil','country_id' => '29'),\narray('id' => '6285','name' => '(RIG) - Rio Grande Airport, Rio Grande, Brazil','country_id' => '29'),\narray('id' => '6286','name' => '(JTC) - Bauru - Arealva Airport, Bauru, Brazil','country_id' => '29'),\narray('id' => '6287','name' => '(ARS) - AragarAas Airport, AragarAas, Brazil','country_id' => '29'),\narray('id' => '6288','name' => '(ARS) - Usina Santa Cruz Airport, Santa Cruz CabrAlia, Brazil','country_id' => '29'),\narray('id' => '6289','name' => '(ACM) - Arica Airport, Arica, Colombia','country_id' => '46'),\narray('id' => '6290','name' => '(ECO) - El Encanto Airport, El Encanto, Colombia','country_id' => '46'),\narray('id' => '6291','name' => '(ARO) - Arboletes Airport, Arboletes, Colombia','country_id' => '46'),\narray('id' => '6292','name' => '(JUO) - Jurado Airport, Jurado, Colombia','country_id' => '46'),\narray('id' => '6293','name' => '(SJR) - San Juan De Uraba Airport, San Juan De Uraba, Colombia','country_id' => '46'),\narray('id' => '6294','name' => '(NPU) - San Pedro Airport, San Pedro de UrabA, Colombia','country_id' => '46'),\narray('id' => '6295','name' => '(PCC) - Puerto Rico Airport, Puerto Rico, Colombia','country_id' => '46'),\narray('id' => '6296','name' => '(SQF) - Solano Airport, Solano, Colombia','country_id' => '46'),\narray('id' => '6297','name' => '(AYI) - Yari Airport, Yari, Colombia','country_id' => '46'),\narray('id' => '6298','name' => '(ACL) - Aguaclara Airport, Aguaclara, Colombia','country_id' => '46'),\narray('id' => '6299','name' => '(CUI) - Currillo Airport, Currillo, Colombia','country_id' => '46'),\narray('id' => '6300','name' => '(EUO) - Paratebueno Airport, Paratebueno, Colombia','country_id' => '46'),\narray('id' => '6301','name' => '(PRE) - Pore Airport, Pore, Colombia','country_id' => '46'),\narray('id' => '6302','name' => '(SQE) - San Luis De Palenque Airport, San Luis De Palenque, Colombia','country_id' => '46'),\narray('id' => '6303','name' => '(TAU) - Tauramena Airport, Tauramena, Colombia','country_id' => '46'),\narray('id' => '6304','name' => '(AYC) - Ayacucho Airport, Ayacucho, Colombia','country_id' => '46'),\narray('id' => '6305','name' => '(DZI) - Codazzi Airport, Hacienda Borrero, Colombia','country_id' => '46'),\narray('id' => '6306','name' => '(DZI) - Las Flores Airport, Codazzi, Colombia','country_id' => '46'),\narray('id' => '6307','name' => '(SJH) - San Juan Del CAsar Airport, San Juan Del CAsar, Colombia','country_id' => '46'),\narray('id' => '6308','name' => '(BHF) - Bahia Cupica Airport, BahAa Cupica, Colombia','country_id' => '46'),\narray('id' => '6309','name' => '(GGL) - Gilgal Airport, Villa Claret, Colombia','country_id' => '46'),\narray('id' => '6310','name' => '(UNC) - Unguia Airport, Arquia, Colombia','country_id' => '46'),\narray('id' => '6311','name' => '(AYA) - Ayapel Airport, Ayapel, Colombia','country_id' => '46'),\narray('id' => '6312','name' => '(NBB) - Barranco Minas Airport, Barranco Minas, Colombia','country_id' => '46'),\narray('id' => '6313','name' => '(MND) - Medina Airport, Medina, Colombia','country_id' => '46'),\narray('id' => '6314','name' => '(NAD) - Macanal Airport, Macanal, Colombia','country_id' => '46'),\narray('id' => '6315','name' => '(GCA) - Guacamayas Airport, Guacamayas, Colombia','country_id' => '46'),\narray('id' => '6316','name' => '(SRO) - Santana Ramos Airport, Santana Ramos, Colombia','country_id' => '46'),\narray('id' => '6317','name' => '(BAC) - Barranca De Upia Airport, Barranca De Upia, Colombia','country_id' => '46'),\narray('id' => '6318','name' => '(CQT) - Caquetania Airport, Caquetania, Colombia','country_id' => '46'),\narray('id' => '6319','name' => '(ELJ) - El Recreo Airport, Ruperto Polania, Colombia','country_id' => '46'),\narray('id' => '6320','name' => '(LMC) - El Refugio/La Macarena Airport, La Macarena, Colombia','country_id' => '46'),\narray('id' => '6321','name' => '(SOH) - Solita Airport, Solita, Colombia','country_id' => '46'),\narray('id' => '6322','name' => '(URI) - Uribe Airport, Uribe, Colombia','country_id' => '46'),\narray('id' => '6323','name' => '(ECR) - El Charco Airport, El Charco, Colombia','country_id' => '46'),\narray('id' => '6324','name' => '(ISD) - Santa BArbara Airport, IscuandA, Colombia','country_id' => '46'),\narray('id' => '6325','name' => '(AZT) - Zapatoca Airport, Zapatoca, Colombia','country_id' => '46'),\narray('id' => '6326','name' => '(HRR) - Herrera Airport, CampiAa, Colombia','country_id' => '46'),\narray('id' => '6327','name' => '(SQB) - Santa Ana Airport, Piedras, Colombia','country_id' => '46'),\narray('id' => '6328','name' => '(LPE) - La Primavera Airport, Costa Rica, Colombia','country_id' => '46'),\narray('id' => '6329','name' => '(ARF) - Acaricuara Airport, Acaricuara, Colombia','country_id' => '46'),\narray('id' => '6330','name' => '(MFB) - Monfort Airport, Monfort, Colombia','country_id' => '46'),\narray('id' => '6331','name' => '(MHF) - Morichal Airport, Morichal, Colombia','country_id' => '46'),\narray('id' => '6332','name' => '(CSR) - Casuarito Airport, Casuarito, Colombia','country_id' => '46'),\narray('id' => '6333','name' => '(LPE) - La Primavera Airport, La Primavera, Colombia','country_id' => '46'),\narray('id' => '6334','name' => '(ACR) - Araracuara Airport, Araracuara, Colombia','country_id' => '46'),\narray('id' => '6335','name' => '(ACD) - Alcides FernAndez Airport, AcandA, Colombia','country_id' => '46'),\narray('id' => '6336','name' => '(AFI) - Amalfi Airport, Amalfi, Colombia','country_id' => '46'),\narray('id' => '6337','name' => '(ADN) - Andes Airport, Andes, Colombia','country_id' => '46'),\narray('id' => '6338','name' => '(API) - Gomez Nino Apiay Air Base, Apiay, Colombia','country_id' => '46'),\narray('id' => '6339','name' => '(AXM) - El Eden Airport, Armenia, Colombia','country_id' => '46'),\narray('id' => '6340','name' => '(PUU) - Tres De Mayo Airport, Puerto AsAs, Colombia','country_id' => '46'),\narray('id' => '6341','name' => '(ELB) - Las Flores Airport, El Banco, Colombia','country_id' => '46'),\narray('id' => '6342','name' => '(BGA) - Palonegro Airport, Bucaramanga, Colombia','country_id' => '46'),\narray('id' => '6343','name' => '(BOG) - El Dorado International Airport, Bogota, Colombia','country_id' => '46'),\narray('id' => '6344','name' => '(BAQ) - Ernesto Cortissoz International Airport, Barranquilla, Colombia','country_id' => '46'),\narray('id' => '6345','name' => '(BSC) - JosA Celestino Mutis Airport, BahAa Solano, Colombia','country_id' => '46'),\narray('id' => '6346','name' => '(BUN) - Gerardo Tobar LApez Airport, Buenaventura, Colombia','country_id' => '46'),\narray('id' => '6347','name' => '(CPB) - CapurganA Airport, CapurganA, Colombia','country_id' => '46'),\narray('id' => '6348','name' => '(CUC) - Camilo Daza International Airport, CAocuta, Colombia','country_id' => '46'),\narray('id' => '6349','name' => '(COG) - Mandinga Airport, Condoto, Colombia','country_id' => '46'),\narray('id' => '6350','name' => '(CTG) - Rafael NuAez International Airport, Cartagena, Colombia','country_id' => '46'),\narray('id' => '6351','name' => '(CCO) - Carimagua Airport, Puerto LApez, Colombia','country_id' => '46'),\narray('id' => '6352','name' => '(CLO) - Alfonso Bonilla Aragon International Airport, Cali, Colombia','country_id' => '46'),\narray('id' => '6353','name' => '(CIM) - Cimitarra Airport, Cimitarra, Colombia','country_id' => '46'),\narray('id' => '6354','name' => '(RAV) - Cravo Norte Airport, Cravo Norte, Colombia','country_id' => '46'),\narray('id' => '6355','name' => '(TCO) - La Florida Airport, Tumaco, Colombia','country_id' => '46'),\narray('id' => '6356','name' => '(CUO) - CarurAo Airport, CarurAo, Colombia','country_id' => '46'),\narray('id' => '6357','name' => '(CAQ) - Juan H White Airport, Caucasia, Colombia','country_id' => '46'),\narray('id' => '6358','name' => '(CVE) - CoveAas Airport, CoveAas, Colombia','country_id' => '46'),\narray('id' => '6359','name' => '(CZU) - Las Brujas Airport, Corozal, Colombia','country_id' => '46'),\narray('id' => '6360','name' => '(EBG) - El Bagre Airport, El Bagre, Colombia','country_id' => '46'),\narray('id' => '6361','name' => '(EJA) - YariguAes Airport, Barrancabermeja, Colombia','country_id' => '46'),\narray('id' => '6362','name' => '(FLA) - Gustavo Artunduaga Paredes Airport, Florencia, Colombia','country_id' => '46'),\narray('id' => '6363','name' => '(FDA) - FundaciAn Airport, FundaciAn, Colombia','country_id' => '46'),\narray('id' => '6364','name' => '(LGT) - La Gaviota Airport, , Colombia','country_id' => '46'),\narray('id' => '6365','name' => '(GIR) - Santiago Vila Airport, Girardot, Colombia','country_id' => '46'),\narray('id' => '6366','name' => '(CRC) - Santa Ana Airport, Cartago, Colombia','country_id' => '46'),\narray('id' => '6367','name' => '(GPI) - Juan Casiano Airport, Guapi, Colombia','country_id' => '46'),\narray('id' => '6368','name' => '(CPL) - Chaparral Airport, Chaparral, Colombia','country_id' => '46'),\narray('id' => '6369','name' => '(HTZ) - Hato Corozal Airport, Hato Corozal, Colombia','country_id' => '46'),\narray('id' => '6370','name' => '(IBE) - Perales Airport, IbaguA, Colombia','country_id' => '46'),\narray('id' => '6371','name' => '(IGO) - ChigorodA Airport, ChigorodA, Colombia','country_id' => '46'),\narray('id' => '6372','name' => '(IPI) - San Luis Airport, Ipiales, Colombia','country_id' => '46'),\narray('id' => '6373','name' => '(APO) - Antonio Roldan Betancourt Airport, Carepa, Colombia','country_id' => '46'),\narray('id' => '6374','name' => '(LQM) - Caucaya Airport, Puerto LeguAzamo, Colombia','country_id' => '46'),\narray('id' => '6375','name' => '(MCJ) - Jorge Isaac Airport, La Mina-Maicao, Colombia','country_id' => '46'),\narray('id' => '6376','name' => '(LPD) - La Pedrera Airport, La Pedrera, Colombia','country_id' => '46'),\narray('id' => '6377','name' => '(LET) - Alfredo VAsquez Cobo International Airport, Leticia, Colombia','country_id' => '46'),\narray('id' => '6378','name' => '(EOH) - Enrique Olaya Herrera Airport, MedellAn, Colombia','country_id' => '46'),\narray('id' => '6379','name' => '(MFS) - Miraflores Airport, Miraflores, Colombia','country_id' => '46'),\narray('id' => '6380','name' => '(MGN) - Baracoa Airport, MaganguA, Colombia','country_id' => '46'),\narray('id' => '6381','name' => '(MTB) - Montelibano Airport, MontelAbano, Colombia','country_id' => '46'),\narray('id' => '6382','name' => '(MTR) - Los Garzones Airport, MonterAa, Colombia','country_id' => '46'),\narray('id' => '6383','name' => '(MVP) - Fabio Alberto Leon Bentley Airport, MitAo, Colombia','country_id' => '46'),\narray('id' => '6384','name' => '(MZL) - La Nubia Airport, Manizales, Colombia','country_id' => '46'),\narray('id' => '6385','name' => '(NCI) - Necocli Airport, Necocli, Colombia','country_id' => '46'),\narray('id' => '6386','name' => '(NQU) - Reyes Murillo Airport, NuquA, Colombia','country_id' => '46'),\narray('id' => '6387','name' => '(NVA) - Benito Salas Airport, Neiva, Colombia','country_id' => '46'),\narray('id' => '6388','name' => '(OCV) - Aguas Claras Airport, OcaAa, Colombia','country_id' => '46'),\narray('id' => '6389','name' => '(ORC) - Orocue Airport, Orocue, Colombia','country_id' => '46'),\narray('id' => '6390','name' => '(PCR) - German Olano Airport, Puerto CarreAo, Colombia','country_id' => '46'),\narray('id' => '6391','name' => '(PDA) - Obando Airport, Puerto InArida, Colombia','country_id' => '46'),\narray('id' => '6392','name' => '(PEI) - MatecaAa International Airport, Pereira, Colombia','country_id' => '46'),\narray('id' => '6393','name' => '(PTX) - Pitalito Airport, Pitalito, Colombia','country_id' => '46'),\narray('id' => '6394','name' => '(PLT) - Plato Airport, Plato, Colombia','country_id' => '46'),\narray('id' => '6395','name' => '(NAR) - Puerto Nare Airport, Armenia, Colombia','country_id' => '46'),\narray('id' => '6396','name' => '(PPN) - Guillermo LeAn Valencia Airport, PopayAn, Colombia','country_id' => '46'),\narray('id' => '6397','name' => '(PAL) - German Olano Air Base, La Dorada, Colombia','country_id' => '46'),\narray('id' => '6398','name' => '(PBE) - Puerto Berrio Airport, Puerto Berrio, Colombia','country_id' => '46'),\narray('id' => '6399','name' => '(PSO) - Antonio Narino Airport, Pasto, Colombia','country_id' => '46'),\narray('id' => '6400','name' => '(PVA) - El Embrujo Airport, Providencia, Colombia','country_id' => '46'),\narray('id' => '6401','name' => '(PZA) - Paz De Ariporo Airport, Paz De Ariporo, Colombia','country_id' => '46'),\narray('id' => '6402','name' => '(MQU) - Mariquita Airport, Mariquita, Colombia','country_id' => '46'),\narray('id' => '6403','name' => '(MDE) - Jose Maria CArdova International Airport, Rionegro, Colombia','country_id' => '46'),\narray('id' => '6404','name' => '(RCH) - Almirante Padilla Airport, Riohacha, Colombia','country_id' => '46'),\narray('id' => '6405','name' => '(RVE) - Los Colonizadores Airport, Saravena, Colombia','country_id' => '46'),\narray('id' => '6406','name' => '(SJE) - Jorge E. Gonzalez Torres Airport, San JosA Del Guaviare, Colombia','country_id' => '46'),\narray('id' => '6407','name' => '(SSL) - Santa Rosalia Airport, Santa Rosalia, Colombia','country_id' => '46'),\narray('id' => '6408','name' => '(SMR) - SimAn BolAvar International Airport, Santa Marta, Colombia','country_id' => '46'),\narray('id' => '6409','name' => '(SOX) - Alberto Lleras Camargo Airport, Sogamoso, Colombia','country_id' => '46'),\narray('id' => '6410','name' => '(ADZ) - Gustavo Rojas Pinilla International Airport, San AndrAs, Colombia','country_id' => '46'),\narray('id' => '6411','name' => '(SRS) - San Marcos Airport, San Marcos, Colombia','country_id' => '46'),\narray('id' => '6412','name' => '(SVI) - Eduardo Falla Solano Airport, San Vicente Del CaguAn, Colombia','country_id' => '46'),\narray('id' => '6413','name' => '(TIB) - TibAo Airport, TibAo, Colombia','country_id' => '46'),\narray('id' => '6414','name' => '(TDA) - Trinidad Airport, Trinidad, Colombia','country_id' => '46'),\narray('id' => '6415','name' => '(TLU) - Golfo de Morrosquillo Airport, TolAo, Colombia','country_id' => '46'),\narray('id' => '6416','name' => '(TME) - Gustavo Vargas Airport, Tame, Colombia','country_id' => '46'),\narray('id' => '6417','name' => '(TQS) - Tres Esquinas Air Base, Tres Esquinas, Colombia','country_id' => '46'),\narray('id' => '6418','name' => '(TRB) - Gonzalo MejAa Airport, Turbo, Colombia','country_id' => '46'),\narray('id' => '6419','name' => '(AUC) - Santiago Perez Airport, Arauca, Colombia','country_id' => '46'),\narray('id' => '6420','name' => '(UIB) - El CaraAo Airport, QuibdA, Colombia','country_id' => '46'),\narray('id' => '6421','name' => '(ULQ) - Heriberto GAl MartAnez Airport, TuluA, Colombia','country_id' => '46'),\narray('id' => '6422','name' => '(URR) - Urrao Airport, Urrao, Colombia','country_id' => '46'),\narray('id' => '6423','name' => '(VGZ) - Villa GarzAn Airport, Villa GarzAn, Colombia','country_id' => '46'),\narray('id' => '6424','name' => '(PYA) - VelAsquez Airport, Puerto BoyacA, Colombia','country_id' => '46'),\narray('id' => '6425','name' => '(VUP) - Alfonso LApez Pumarejo Airport, Valledupar, Colombia','country_id' => '46'),\narray('id' => '6426','name' => '(VVC) - Vanguardia Airport, Villavicencio, Colombia','country_id' => '46'),\narray('id' => '6427','name' => '(AYG) - Yaguara Airport, San Vicente Del CaguAn, Colombia','country_id' => '46'),\narray('id' => '6428','name' => '(EYP) - El Yopal Airport, El Yopal, Colombia','country_id' => '46'),\narray('id' => '6429','name' => '(MHW) - Monteagudo Airport, El BaAado, Bolivia','country_id' => '27'),\narray('id' => '6430','name' => '(APB) - Apolo Airport, Apolo, Bolivia','country_id' => '27'),\narray('id' => '6431','name' => '(ASC) - AscenciAn De Guarayos Airport, AscensiAn de Guarayos, Bolivia','country_id' => '27'),\narray('id' => '6432','name' => '(BJO) - Bermejo Airport, Bermejo, Bolivia','country_id' => '27'),\narray('id' => '6433','name' => '(CAM) - Camiri Airport, Camiri, Bolivia','country_id' => '27'),\narray('id' => '6434','name' => '(CBB) - Jorge Wilsterman International Airport, Cochabamba, Bolivia','country_id' => '27'),\narray('id' => '6435','name' => '(CIJ) - CapitAn AnAbal Arab Airport, Cobija, Bolivia','country_id' => '27'),\narray('id' => '6436','name' => '(CEP) - ConcepciAn Airport, ConcepciAn, Bolivia','country_id' => '27'),\narray('id' => '6437','name' => '(SRZ) - El Trompillo Airport, Santa Cruz, Bolivia','country_id' => '27'),\narray('id' => '6438','name' => '(GYA) - CapitAn de Av. Emilio BeltrAn Airport, GuayaramerAn, Bolivia','country_id' => '27'),\narray('id' => '6439','name' => '(BVK) - Huacaraje Airport, Itenes, Bolivia','country_id' => '27'),\narray('id' => '6440','name' => '(SLJ) - Solomon Aerodrome, , Australia','country_id' => '12'),\narray('id' => '6441','name' => '(SJS) - San JosA De Chiquitos Airport, San JosA de Chiquitos, Bolivia','country_id' => '27'),\narray('id' => '6442','name' => '(SJB) - San JoaquAn Airport, San JoaquAn, Bolivia','country_id' => '27'),\narray('id' => '6443','name' => '(SJV) - San Javier Airport, San Javier, Bolivia','country_id' => '27'),\narray('id' => '6444','name' => '(LPB) - El Alto International Airport, La Paz / El Alto, Bolivia','country_id' => '27'),\narray('id' => '6445','name' => '(MGD) - Magdalena Airport, Magdalena, Bolivia','country_id' => '27'),\narray('id' => '6446','name' => '(ORU) - Juan Mendoza Airport, Oruro, Bolivia','country_id' => '27'),\narray('id' => '6447','name' => '(POI) - Capitan Nicolas Rojas Airport, PotosA, Bolivia','country_id' => '27'),\narray('id' => '6448','name' => '(PUR) - Puerto Rico Airport, Puerto Rico/Manuripi, Bolivia','country_id' => '27'),\narray('id' => '6449','name' => '(PSZ) - CapitAn Av. Salvador Ogaya G. airport, Puerto SuArez, Bolivia','country_id' => '27'),\narray('id' => '6450','name' => '(SRD) - San RamAn Airport, San RamAn / MamorA, Bolivia','country_id' => '27'),\narray('id' => '6451','name' => '(RBO) - RoborA Airport, RoborA, Bolivia','country_id' => '27'),\narray('id' => '6452','name' => '(RIB) - CapitAn Av. Selin Zeitun Lopez Airport, Riberalta, Bolivia','country_id' => '27'),\narray('id' => '6453','name' => '(REY) - Reyes Airport, Reyes, Bolivia','country_id' => '27'),\narray('id' => '6454','name' => '(SBL) - Santa Ana Del Yacuma Airport, Santa Ana del Yacuma, Bolivia','country_id' => '27'),\narray('id' => '6455','name' => '(SRJ) - CapitAn Av. German Quiroga G. Airport, San Borja, Bolivia','country_id' => '27'),\narray('id' => '6456','name' => '(SNG) - CapitAn Av. Juan Cochamanidis S. Airport, San Ignacio de Velasco, Bolivia','country_id' => '27'),\narray('id' => '6457','name' => '(SNM) - San Ignacio de Moxos Airport, San Ignacio de Moxos, Bolivia','country_id' => '27'),\narray('id' => '6458','name' => '(SRB) - Santa Rosa De Yacuma Airport, Santa Rosa, Bolivia','country_id' => '27'),\narray('id' => '6459','name' => '(SRE) - Juana Azurduy De Padilla Airport, Sucre, Bolivia','country_id' => '27'),\narray('id' => '6460','name' => '(MQK) - San MatAas Airport, San MatAas, Bolivia','country_id' => '27'),\narray('id' => '6461','name' => '(TJA) - Capitan Oriel Lea Plaza Airport, Tarija, Bolivia','country_id' => '27'),\narray('id' => '6462','name' => '(TDD) - Teniente Av. Jorge Henrich Arauz Airport, Trinidad, Bolivia','country_id' => '27'),\narray('id' => '6463','name' => '(UYU) - Uyuni Airport, Quijarro, Bolivia','country_id' => '27'),\narray('id' => '6464','name' => '(VAH) - CapitAn Av. Vidal Villagomez Toledo Airport, Vallegrande, Bolivia','country_id' => '27'),\narray('id' => '6465','name' => '(VLM) - Teniente Coronel Rafael PabAn Airport, Villamontes, Bolivia','country_id' => '27'),\narray('id' => '6466','name' => '(VVI) - Viru Viru International Airport, Santa Cruz, Bolivia','country_id' => '27'),\narray('id' => '6467','name' => '(BYC) - Yacuiba Airport, YacuAba, Bolivia','country_id' => '27'),\narray('id' => '6468','name' => '(ABN) - Albina Airport, Albina, Suriname','country_id' => '202'),\narray('id' => '6469','name' => '(TOT) - Totness Airport, Totness, Suriname','country_id' => '202'),\narray('id' => '6470','name' => '(DRJ) - Drietabbetje Airport, Drietabbetje, Suriname','country_id' => '202'),\narray('id' => '6471','name' => '(SMH) - Sapmanga Airport, Sapmanga, Papua New Guinea','country_id' => '172'),\narray('id' => '6472','name' => '(PBM) - Johan Adolf Pengel International Airport, Zandery, Suriname','country_id' => '202'),\narray('id' => '6473','name' => '(MOJ) - Moengo Airstrip, Moengo, Suriname','country_id' => '202'),\narray('id' => '6474','name' => '(ICK) - Nieuw Nickerie Airport, Nieuw Nickerie, Suriname','country_id' => '202'),\narray('id' => '6475','name' => '(SMP) - Stockholm Airport, Stockholm, Papua New Guinea','country_id' => '172'),\narray('id' => '6476','name' => '(OEM) - Vincent Fayks Airport, Paloemeu, Suriname','country_id' => '202'),\narray('id' => '6477','name' => '(SMZ) - Stoelmanseiland Airport, Stoelmanseiland, Suriname','country_id' => '202'),\narray('id' => '6478','name' => '(AGI) - Wageningen Airstrip, Wageningen, Suriname','country_id' => '202'),\narray('id' => '6479','name' => '(ORG) - Zorg en Hoop Airport, Paramaribo, Suriname','country_id' => '202'),\narray('id' => '6480','name' => '(APY) - Alto ParnaAba Airport, Alto ParnaAba, Brazil','country_id' => '29'),\narray('id' => '6481','name' => '(APQ) - Arapiraca Airport, Arapiraca, Brazil','country_id' => '29'),\narray('id' => '6482','name' => '(AMJ) - Cirilo QueirAz Airport, Almenara, Brazil','country_id' => '29'),\narray('id' => '6483','name' => '(AIF) - Marcelo Pires Halzhausen Airport, Assis, Brazil','country_id' => '29'),\narray('id' => '6484','name' => '(BDC) - Barra do Corda Airport, Barra Do Corda, Brazil','country_id' => '29'),\narray('id' => '6485','name' => '(BVM) - Belmonte Airport, Belmonte, Brazil','country_id' => '29'),\narray('id' => '6486','name' => '(BRA) - Barreiras Airport, Barreiras, Brazil','country_id' => '29'),\narray('id' => '6487','name' => '(BSS) - Balsas Airport, Balsas, Brazil','country_id' => '29'),\narray('id' => '6488','name' => '(BMS) - SAcrates Mariani Bittencourt Airport, Brumado, Brazil','country_id' => '29'),\narray('id' => '6489','name' => '(BQQ) - Barra Airport, Barra, Brazil','country_id' => '29'),\narray('id' => '6490','name' => '(CTP) - Carutapera Airport, Carutapera, Brazil','country_id' => '29'),\narray('id' => '6491','name' => '(CPU) - Cururupu Airport, Cururupu, Brazil','country_id' => '29'),\narray('id' => '6492','name' => '(QCH) - Colatina Airport, Colatina, Brazil','country_id' => '29'),\narray('id' => '6493','name' => '(RDC) - RedenAAo Airport, RedenAAo, Brazil','country_id' => '29'),\narray('id' => '6494','name' => '(LEP) - Leopoldina Airport, Leopoldina, Brazil','country_id' => '29'),\narray('id' => '6495','name' => '(DTI) - Diamantina Airport, Diamantina, Brazil','country_id' => '29'),\narray('id' => '6496','name' => '(DIQ) - Brigadeiro Cabral Airport, DivinApolis, Brazil','country_id' => '29'),\narray('id' => '6497','name' => '(CNV) - SAcrates Rezende Airport, Canavieiras, Brazil','country_id' => '29'),\narray('id' => '6498','name' => '(SXX) - SAo FAlix do Xingu Airport, SAo FAlix Do Xingu, Brazil','country_id' => '29'),\narray('id' => '6499','name' => '(GUZ) - Guarapari Airport, Guarapari, Brazil','country_id' => '29'),\narray('id' => '6500','name' => '(GDP) - Guadalupe Airport, Guadalupe, Brazil','country_id' => '29'),\narray('id' => '6501','name' => '(GNM) - Guanambi Airport, Guanambi, Brazil','country_id' => '29'),\narray('id' => '6502','name' => '(GMS) - GuimarAes Airport, GuimarAes, Brazil','country_id' => '29'),\narray('id' => '6503','name' => '(QGP) - Garanhuns Airport, Garanhuns, Brazil','country_id' => '29'),\narray('id' => '6504','name' => '(IRE) - IrecAa Airport, IrecAa, Brazil','country_id' => '29'),\narray('id' => '6505','name' => '(QIG) - Iguatu Airport, Iguatu, Brazil','country_id' => '29'),\narray('id' => '6506','name' => '(QIT) - Itapetinga Airport, Itapetinga, Brazil','country_id' => '29'),\narray('id' => '6507','name' => '(IPU) - IpiaAo Airport, IpiaAo, Brazil','country_id' => '29'),\narray('id' => '6508','name' => '(JCM) - Jacobina Airport, Jacobina, Brazil','country_id' => '29'),\narray('id' => '6509','name' => '(FEC) - JoAo Durval Carneiro Airport, Feira De Santana, Brazil','country_id' => '29'),\narray('id' => '6510','name' => '(JEQ) - JequiA Airport, JequiA, Brazil','country_id' => '29'),\narray('id' => '6511','name' => '(JNA) - JanuAria Airport, JanuAria, Brazil','country_id' => '29'),\narray('id' => '6512','name' => '(JDR) - Prefeito OctAvio de Almeida Neves Airport, SAo JoAo Del Rei, Brazil','country_id' => '29'),\narray('id' => '6513','name' => '(CMP) - Santana do Araguaia Airport, Santana Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6514','name' => '(QDF) - Conselheiro Lafaiete Airport, Conselheiro Lafaiete, Brazil','country_id' => '29'),\narray('id' => '6515','name' => '(CDI) - Cachoeiro do Itapemirim Airport, Cachoeiro Do Itapemirim, Brazil','country_id' => '29'),\narray('id' => '6516','name' => '(QCP) - Currais Novos Airport, Currais Novos, Brazil','country_id' => '29'),\narray('id' => '6517','name' => '(SSO) - SAo LourenAo Airport, SAo LourenAo, Brazil','country_id' => '29'),\narray('id' => '6518','name' => '(MTE) - Monte Alegre Airport, Monte Alegre, Brazil','country_id' => '29'),\narray('id' => '6519','name' => '(MVS) - Mucuri Airport, Mucuri, Brazil','country_id' => '29'),\narray('id' => '6520','name' => '(SBJ) - SAo Mateus Airport, SAo Mateus, Brazil','country_id' => '29'),\narray('id' => '6521','name' => '(PTQ) - Porto de Moz Airport, Porto De Moz, Brazil','country_id' => '29'),\narray('id' => '6522','name' => '(NNU) - Nanuque Airport, Nanuque, Brazil','country_id' => '29'),\narray('id' => '6523','name' => '(QBX) - Sobral Airport, Sobral, Brazil','country_id' => '29'),\narray('id' => '6524','name' => '(PSW) - Municipal JosA Figueiredo Airport, Passos, Brazil','country_id' => '29'),\narray('id' => '6525','name' => '(FEJ) - FeijA Airport, FeijA, Brazil','country_id' => '29'),\narray('id' => '6526','name' => '(ORX) - OriximinA Airport, OriximinA, Brazil','country_id' => '29'),\narray('id' => '6527','name' => '(PCS) - Picos Airport, Picos, Brazil','country_id' => '29'),\narray('id' => '6528','name' => '(POJ) - Patos de Minas Airport, Patos De Minas, Brazil','country_id' => '29'),\narray('id' => '6529','name' => '(PIV) - Pirapora Airport, Pirapora, Brazil','country_id' => '29'),\narray('id' => '6530','name' => '(SNQ) - San QuintAn Military Airstrip, Military Camp Number 2-D, Mexico','country_id' => '153'),\narray('id' => '6531','name' => '(FLB) - Cangapara Airport, Floriano, Brazil','country_id' => '29'),\narray('id' => '6532','name' => '(PIV) - Fazenda Santo AndrA Airport, Pratinha, Brazil','country_id' => '29'),\narray('id' => '6533','name' => '(PDF) - Prado Airport, Prado, Brazil','country_id' => '29'),\narray('id' => '6534','name' => '(CAU) - Caruaru Airport, Caruaru, Brazil','country_id' => '29'),\narray('id' => '6535','name' => '(SFK) - Soure Airport, Soure, Brazil','country_id' => '29'),\narray('id' => '6536','name' => '(TXF) - 9 de Maio - Teixeira de Freitas Airport, Teixeira De Freitas, Brazil','country_id' => '29'),\narray('id' => '6537','name' => '(OBI) - A\"bidos Airport, A\"bidos, Brazil','country_id' => '29'),\narray('id' => '6538','name' => '(TFL) - Juscelino Kubitscheck Airport, TeAfilo Otoni, Brazil','country_id' => '29'),\narray('id' => '6539','name' => '(VAL) - ValenAa Airport, ValenAa, Brazil','country_id' => '29'),\narray('id' => '6540','name' => '(QID) - MAlio Viana Airport, TrAas CoraAAes, Brazil','country_id' => '29'),\narray('id' => '6541','name' => '(BVS) - Breves Airport, Breves, Brazil','country_id' => '29'),\narray('id' => '6542','name' => '(CMC) - Camocim Airport, Camocim, Brazil','country_id' => '29'),\narray('id' => '6543','name' => '(QXC) - Fazenda SAo Braz Airport, Barra De Santo Antonio, Brazil','country_id' => '29'),\narray('id' => '6544','name' => '(PHI) - Pinheiro Airport, Pinheiro, Brazil','country_id' => '29'),\narray('id' => '6545','name' => '(ITI) - AgropecuAria Castanhais Airport, Cumaru Do Norte, Brazil','country_id' => '29'),\narray('id' => '6546','name' => '(PPY) - Pouso Alegre Airport, Pouso Alegre, Brazil','country_id' => '29'),\narray('id' => '6547','name' => '(ITE) - ItuberA Airport, ItuberA, Brazil','country_id' => '29'),\narray('id' => '6548','name' => '(BXX) - Borama Airport, Borama, Somalia','country_id' => '201'),\narray('id' => '6549','name' => '(GTA) - Gatokae Airport, Gatokae, Solomon Islands','country_id' => '190'),\narray('id' => '6550','name' => '(SOA) - SAc TrAng Airport, SAc TrAng, Vietnam','country_id' => '236'),\narray('id' => '6551','name' => '(CAY) - Cayenne-Rochambeau Airport, Cayenne / Rochambeau, French Guiana','country_id' => '77'),\narray('id' => '6552','name' => '(GSI) - Grand-Santi Airport, Grand-Santi, French Guiana','country_id' => '77'),\narray('id' => '6553','name' => '(MPY) - Maripasoula Airport, Maripasoula, French Guiana','country_id' => '77'),\narray('id' => '6554','name' => '(OYP) - Saint-Georges-de-l\\'Oyapock Airport, Saint-Georges-de-l\\'Oyapock Airport, French Guiana','country_id' => '77'),\narray('id' => '6555','name' => '(LDX) - Saint-Laurent-du-Maroni Airport, Saint-Laurent-du-Maroni, French Guiana','country_id' => '77'),\narray('id' => '6556','name' => '(REI) - Regina Airport, Regina, French Guiana','country_id' => '77'),\narray('id' => '6557','name' => '(XAU) - SaAol Airport, SaAol, French Guiana','country_id' => '77'),\narray('id' => '6558','name' => '(SOR) - Al Thaurah Airport, Al Thaurah, Syria','country_id' => '207'),\narray('id' => '6559','name' => '(APE) - San Juan Aposento Airport, San Juan Aposento, Peru','country_id' => '170'),\narray('id' => '6560','name' => '(ALD) - Alerta Airport, Fortaleza, Peru','country_id' => '170'),\narray('id' => '6561','name' => '(AOP) - Alferez FAP Alfredo Vladimir Sara Bauer Airport, Andoas, Peru','country_id' => '170'),\narray('id' => '6562','name' => '(MBP) - Moyobamba Airport, Moyobamba, Peru','country_id' => '170'),\narray('id' => '6563','name' => '(BLP) - Huallaga Airport, Bellavista, Peru','country_id' => '170'),\narray('id' => '6564','name' => '(IBP) - Iberia Airport, Iberia, Peru','country_id' => '170'),\narray('id' => '6565','name' => '(PCL) - Cap FAP David Abenzur Rengifo International Airport, Pucallpa, Peru','country_id' => '170'),\narray('id' => '6566','name' => '(TDP) - Trompeteros Airport, Corrientes, Peru','country_id' => '170'),\narray('id' => '6567','name' => '(CHM) - Teniente FAP Jaime A De Montreuil Morales Airport, Chimbote, Peru','country_id' => '170'),\narray('id' => '6568','name' => '(TGI) - Tingo Maria Airport, Tingo Maria, Peru','country_id' => '170'),\narray('id' => '6569','name' => '(CIX) - Capitan FAP Jose A Quinones Gonzales International Airport, Chiclayo, Peru','country_id' => '170'),\narray('id' => '6570','name' => '(AYP) - Coronel FAP Alfredo Mendivil Duarte Airport, Ayacucho, Peru','country_id' => '170'),\narray('id' => '6571','name' => '(ANS) - Andahuaylas Airport, Andahuaylas, Peru','country_id' => '170'),\narray('id' => '6572','name' => '(ATA) - Comandante FAP German Arias Graziani Airport, Anta, Peru','country_id' => '170'),\narray('id' => '6573','name' => '(UMI) - Quince Air Base, Quince Mil, Peru','country_id' => '170'),\narray('id' => '6574','name' => '(LIM) - Jorge ChAvez International Airport, Lima, Peru','country_id' => '170'),\narray('id' => '6575','name' => '(SFK) - Satipo Airport, Satipo, Peru','country_id' => '170'),\narray('id' => '6576','name' => '(UCZ) - Uchiza Airport, Uchiza, Peru','country_id' => '170'),\narray('id' => '6577','name' => '(RIJ) - Juan Simons Vela Airport, Rioja, Peru','country_id' => '170'),\narray('id' => '6578','name' => '(JJI) - Juanjui Airport, JuanjuA, Peru','country_id' => '170'),\narray('id' => '6579','name' => '(JAU) - Francisco Carle Airport, Jauja, Peru','country_id' => '170'),\narray('id' => '6580','name' => '(JUL) - Inca Manco Capac International Airport, Juliaca, Peru','country_id' => '170'),\narray('id' => '6581','name' => '(SJA) - San Juan de Marcona Airport, San Juan de Marcona, Peru','country_id' => '170'),\narray('id' => '6582','name' => '(CJA) - Mayor General FAP Armando Revoredo Iglesias Airport, Cajamarca, Peru','country_id' => '170'),\narray('id' => '6583','name' => '(RIM) - San Nicolas Airport, Rodriguez de Mendoza, Peru','country_id' => '170'),\narray('id' => '6584','name' => '(ILQ) - Ilo Airport, Ilo, Peru','country_id' => '170'),\narray('id' => '6585','name' => '(TBP) - Capitan FAP Pedro Canga Rodriguez Airport, Tumbes, Peru','country_id' => '170'),\narray('id' => '6586','name' => '(SMG) - Santa Maria Airport, Santa MarAa, Peru','country_id' => '170'),\narray('id' => '6587','name' => '(YMS) - Moises Benzaquen Rengifo Airport, Yurimaguas, Peru','country_id' => '170'),\narray('id' => '6588','name' => '(HUU) - Alferez Fap David Figueroa Fernandini Airport, HuAnuco, Peru','country_id' => '170'),\narray('id' => '6589','name' => '(SQU) - Saposoa Airport, Plaza Saposoa, Peru','country_id' => '170'),\narray('id' => '6590','name' => '(SYC) - Shiringayoc/Hacienda Hda Mejia Airport, Leon Velarde, Peru','country_id' => '170'),\narray('id' => '6591','name' => '(CHH) - Chachapoyas Airport, Chachapoyas, Peru','country_id' => '170'),\narray('id' => '6592','name' => '(REQ) - Requena Airport, Requena, Peru','country_id' => '170'),\narray('id' => '6593','name' => '(IQT) - Coronel FAP Francisco Secada Vignetta International Airport, Iquitos, Peru','country_id' => '170'),\narray('id' => '6594','name' => '(AQP) - RodrAguez BallAn International Airport, Arequipa, Peru','country_id' => '170'),\narray('id' => '6595','name' => '(TRU) - Capitan FAP Carlos Martinez De Pinillos International Airport, Trujillo, Peru','country_id' => '170'),\narray('id' => '6596','name' => '(PIO) - CapitAn FAP RenAn ElAas Olivera International Airport, Pisco, Peru','country_id' => '170'),\narray('id' => '6597','name' => '(TPP) - Cadete FAP Guillermo Del Castillo Paredes Airport, Tarapoto, Peru','country_id' => '170'),\narray('id' => '6598','name' => '(SYC) - Shiringayoc Airport, Shiringayoc, Peru','country_id' => '170'),\narray('id' => '6599','name' => '(TCQ) - Coronel FAP Carlos Ciriani Santa Rosa International Airport, Tacna, Peru','country_id' => '170'),\narray('id' => '6600','name' => '(PEM) - Padre Aldamiz International Airport, Puerto Maldonado, Peru','country_id' => '170'),\narray('id' => '6601','name' => '(PIU) - CapitAn FAP Guillermo Concha Iberico International Airport, Piura, Peru','country_id' => '170'),\narray('id' => '6602','name' => '(TYL) - Capitan Montes Airport, Talara, Peru','country_id' => '170'),\narray('id' => '6603','name' => '(NZC) - Maria Reiche Neuman Airport, Nazca, Peru','country_id' => '170'),\narray('id' => '6604','name' => '(CUZ) - Alejandro Velasco Astete International Airport, Cusco, Peru','country_id' => '170'),\narray('id' => '6605','name' => '(SQD) - Sanqingshan Airport, Shangrao, China','country_id' => '45'),\narray('id' => '6606','name' => '(SQJ) - Shaxian Airport, Sanming, China','country_id' => '45'),\narray('id' => '6607','name' => '(SQT) - China Strait Airstrip, Samarai Island, Papua New Guinea','country_id' => '172'),\narray('id' => '6608','name' => '(AAJ) - Cayana Airstrip, Awaradam, Suriname','country_id' => '202'),\narray('id' => '6609','name' => '(KCB) - Tepoe Airstrip, Kasikasima, Suriname','country_id' => '202'),\narray('id' => '6610','name' => '(SRL) - Palo Verde Airport, Santa Rosalia, Mexico','country_id' => '153'),\narray('id' => '6611','name' => '(SRM) - Sandringham Airport, Sandringham Station, Australia','country_id' => '12'),\narray('id' => '6612','name' => '(SRV) - Stony River 2 Airport, Stony River, United States','country_id' => '228'),\narray('id' => '6613','name' => '(CZB) - Carlos Ruhl Airport, Cruz Alta, Brazil','country_id' => '29'),\narray('id' => '6614','name' => '(APU) - Apucarana Airport, Apucarana, Brazil','country_id' => '29'),\narray('id' => '6615','name' => '(BGV) - Aeroclube de Bento GonAalves Airport, Bento GonAalves, Brazil','country_id' => '29'),\narray('id' => '6616','name' => '(BNU) - Blumenau Airport, Blumenau, Brazil','country_id' => '29'),\narray('id' => '6617','name' => '(CCI) - ConcArdia Airport, ConcArdia, Brazil','country_id' => '29'),\narray('id' => '6618','name' => '(CSS) - CassilAndia Airport, CassilAndia, Brazil','country_id' => '29'),\narray('id' => '6619','name' => '(QCN) - Canela Airport, Canela, Brazil','country_id' => '29'),\narray('id' => '6620','name' => '(CKO) - CornAlio ProcApio Airport, CornAlio ProcApio, Brazil','country_id' => '29'),\narray('id' => '6621','name' => '(DOU) - Dourados Airport, Dourados, Brazil','country_id' => '29'),\narray('id' => '6622','name' => '(ERM) - Erechim Airport, Erechim, Brazil','country_id' => '29'),\narray('id' => '6623','name' => '(FBE) - Francisco BeltrAo Airport, Francisco BeltrAo, Brazil','country_id' => '29'),\narray('id' => '6624','name' => '(QGA) - GuaAra Airport, GuaAra, Brazil','country_id' => '29'),\narray('id' => '6625','name' => '(HRZ) - Walter BAndchen Airport, Horizontina, Brazil','country_id' => '29'),\narray('id' => '6626','name' => '(IJU) - IjuA Airport, IjuA, Brazil','country_id' => '29'),\narray('id' => '6627','name' => '(ITQ) - Itaqui Airport, Itaqui, Brazil','country_id' => '29'),\narray('id' => '6628','name' => '(JCB) - Santa Terezinha Airport, JoaAaba, Brazil','country_id' => '29'),\narray('id' => '6629','name' => '(CBW) - Campo MourAo Airport, Campo MourAo, Brazil','country_id' => '29'),\narray('id' => '6630','name' => '(QDB) - Cachoeira do Sul Airport, Cachoeira Do Sul, Brazil','country_id' => '29'),\narray('id' => '6631','name' => '(QCR) - Curitibanos Airport, Curitibanos, Brazil','country_id' => '29'),\narray('id' => '6632','name' => '(OAL) - Cacoal Airport, Cacoal, Brazil','country_id' => '29'),\narray('id' => '6633','name' => '(LOI) - Helmuth Baungarten Airport, Lontras, Brazil','country_id' => '29'),\narray('id' => '6634','name' => '(ALQ) - Alegrete Novo Airport, Alegrete, Brazil','country_id' => '29'),\narray('id' => '6635','name' => '(QMF) - Mafra Airport, Mafra, Brazil','country_id' => '29'),\narray('id' => '6636','name' => '(QGF) - Montenegro Airport, Montenegro, Brazil','country_id' => '29'),\narray('id' => '6637','name' => '(QHV) - Novo Hamburgo Airport, Novo Hamburgo, Brazil','country_id' => '29'),\narray('id' => '6638','name' => '(SQX) - SAo Miguel do Oeste Airport, SAo Miguel Do Oeste, Brazil','country_id' => '29'),\narray('id' => '6639','name' => '(APX) - Arapongas Airport, Arapongas, Brazil','country_id' => '29'),\narray('id' => '6640','name' => '(PTO) - Pato Branco Airport, Pato Branco, Brazil','country_id' => '29'),\narray('id' => '6641','name' => '(PNG) - ParanaguA Airport, ParanaguA, Brazil','country_id' => '29'),\narray('id' => '6642','name' => '(PVI) - ParanavaA Airport, ParanavaA, Brazil','country_id' => '29'),\narray('id' => '6643','name' => '(PBB) - ParanaAba Airport, ParanaAba, Brazil','country_id' => '29'),\narray('id' => '6644','name' => '(QAC) - Castro Airport, Castro, Brazil','country_id' => '29'),\narray('id' => '6645','name' => '(SQY) - SAo LourenAo do Sul Airport, SAo LourenAo Do Sul, Brazil','country_id' => '29'),\narray('id' => '6646','name' => '(SSS) - Siassi Airport, Siassi, Papua New Guinea','country_id' => '172'),\narray('id' => '6647','name' => '(QOJ) - SAo Borja Airport, SAo Borja, Brazil','country_id' => '29'),\narray('id' => '6648','name' => '(CSU) - Santa Cruz do Sul Airport, Santa Cruz Do Sul, Brazil','country_id' => '29'),\narray('id' => '6649','name' => '(TJL) - PlAnio Alarcom Airport, TrAas Lagoas, Brazil','country_id' => '29'),\narray('id' => '6650','name' => '(UMU) - Umuarama Airport, Umuarama, Brazil','country_id' => '29'),\narray('id' => '6651','name' => '(QVB) - UniAo da VitAria Airport, UniAo Da VitAria, Brazil','country_id' => '29'),\narray('id' => '6652','name' => '(SSV) - Siasi Airport, Siasi Island, Philippines','country_id' => '173'),\narray('id' => '6653','name' => '(VIA) - Videira Airport, Videira, Brazil','country_id' => '29'),\narray('id' => '6654','name' => '(CTQ) - Santa VitAria do Palmar Airport, Santa VitAria Do Palmar, Brazil','country_id' => '29'),\narray('id' => '6655','name' => '(AXE) - XanxerAa Airport, XanxerAa, Brazil','country_id' => '29'),\narray('id' => '6656','name' => '(AAG) - Arapoti Airport, Arapoti, Brazil','country_id' => '29'),\narray('id' => '6657','name' => '(SRA) - Santa Rosa Airport, Santa Rosa, Brazil','country_id' => '29'),\narray('id' => '6658','name' => '(PGZ) - Ponta Grossa Airport - Comandante Antonio Amilton Beraldo, Ponta Grossa, Brazil','country_id' => '29'),\narray('id' => '6659','name' => '(ATI) - Artigas International Airport, Artigas, Uruguay','country_id' => '229'),\narray('id' => '6660','name' => '(BUV) - Bella Union Airport, Bella Union, Uruguay','country_id' => '229'),\narray('id' => '6661','name' => '(CYR) - Laguna de Los Patos International Airport, Colonia del Sacramento, Uruguay','country_id' => '229'),\narray('id' => '6662','name' => '(DZO) - Santa Bernardina International Airport, Durazno, Uruguay','country_id' => '229'),\narray('id' => '6663','name' => '(PDP) - Capitan Corbeta CA Curbelo International Airport, Punta del Este, Uruguay','country_id' => '229'),\narray('id' => '6664','name' => '(MLZ) - Cerro Largo International Airport, Melo, Uruguay','country_id' => '229'),\narray('id' => '6665','name' => '(MVD) - Carrasco International /General C L Berisso Airport, Montevideo, Uruguay','country_id' => '229'),\narray('id' => '6666','name' => '(PDU) - Tydeo Larre Borges Airport, Paysandu, Uruguay','country_id' => '229'),\narray('id' => '6667','name' => '(RVY) - Presidente General Don Oscar D. Gestido International Airport, Rivera, Uruguay','country_id' => '229'),\narray('id' => '6668','name' => '(STY) - Nueva Hesperides International Airport, Salto, Uruguay','country_id' => '229'),\narray('id' => '6669','name' => '(TAW) - Tacuarembo Airport, Tacuarembo, Uruguay','country_id' => '229'),\narray('id' => '6670','name' => '(TYT) - Treinta y Tres Airport, Treinta y Tres, Uruguay','country_id' => '229'),\narray('id' => '6671','name' => '(VCH) - Vichadero Airport, Vichadero, Uruguay','country_id' => '229'),\narray('id' => '6672','name' => '(AGV) - Oswaldo Guevara Mujica Airport, Acarigua, Venezuela','country_id' => '233'),\narray('id' => '6673','name' => '(AAO) - Anaco Airport, Anaco, Venezuela','country_id' => '233'),\narray('id' => '6674','name' => '(LPJ) - Armando Schwarck Airport, Guayabal, Venezuela','country_id' => '233'),\narray('id' => '6675','name' => '(BLA) - General Jose Antonio Anzoategui International Airport, Barcelona, Venezuela','country_id' => '233'),\narray('id' => '6676','name' => '(BNS) - Barinas Airport, Barinas, Venezuela','country_id' => '233'),\narray('id' => '6677','name' => '(BRM) - Barquisimeto International Airport, Barquisimeto, Venezuela','country_id' => '233'),\narray('id' => '6678','name' => '(MYC) - Escuela Mariscal Sucre Airport, Maracay, Venezuela','country_id' => '233'),\narray('id' => '6679','name' => '(CBL) - Aeropuerto \"General Tomas de Heres\". Ciudad Bolivar, , Venezuela','country_id' => '233'),\narray('id' => '6680','name' => '(CXA) - Caicara del Orinoco Airport, , Venezuela','country_id' => '233'),\narray('id' => '6681','name' => '(CUV) - Casigua El Cubo Airport, Casigua El Cubo, Venezuela','country_id' => '233'),\narray('id' => '6682','name' => '(CLZ) - Calabozo Airport, Guarico, Venezuela','country_id' => '233'),\narray('id' => '6683','name' => '(CAJ) - Canaima Airport, Canaima, Venezuela','country_id' => '233'),\narray('id' => '6684','name' => '(VCR) - Carora Airport, Carora, Venezuela','country_id' => '233'),\narray('id' => '6685','name' => '(CUP) - General Francisco BermAodez Airport, CarAopano, Venezuela','country_id' => '233'),\narray('id' => '6686','name' => '(CZE) - JosA Leonardo Chirinos Airport, Coro, Venezuela','country_id' => '233'),\narray('id' => '6687','name' => '(CUM) - CumanA (Antonio JosA de Sucre) Airport, , Venezuela','country_id' => '233'),\narray('id' => '6688','name' => '(isl) - La Tortuga Punta Delgada Airport, Isla La Tortuga, Venezuela','country_id' => '233'),\narray('id' => '6689','name' => '(PPZ) - Puerto Paez Airport, Puerto Paez, Venezuela','country_id' => '233'),\narray('id' => '6690','name' => '(EOR) - El Dorado Airport, Bolivar, Venezuela','country_id' => '233'),\narray('id' => '6691','name' => '(EOZ) - Elorza Airport, , Venezuela','country_id' => '233'),\narray('id' => '6692','name' => '(GDO) - Guasdalito Airport, , Venezuela','country_id' => '233'),\narray('id' => '6693','name' => '(GUI) - Guiria Airport, , Venezuela','country_id' => '233'),\narray('id' => '6694','name' => '(GUQ) - Guanare Airport, Guanare, Venezuela','country_id' => '233'),\narray('id' => '6695','name' => '(HGE) - Higuerote Airport, Higuerote, Venezuela','country_id' => '233'),\narray('id' => '6696','name' => '(ICA) - IcabarAo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6697','name' => '(ICC) - AndrAs Miguel Salazar Marcano Airport, Isla de Coche, Venezuela','country_id' => '233'),\narray('id' => '6698','name' => '(LSP) - Josefa Camejo International Airport, ParaguanA, Venezuela','country_id' => '233'),\narray('id' => '6699','name' => '(KAV) - Kavanayen Airport, , Venezuela','country_id' => '233'),\narray('id' => '6700','name' => '(LFR) - La Fria Airport, , Venezuela','country_id' => '233'),\narray('id' => '6701','name' => '(MAR) - La Chinita International Airport, Maracaibo, Venezuela','country_id' => '233'),\narray('id' => '6702','name' => '(MRD) - Alberto Carnevalli Airport, MArida, Venezuela','country_id' => '233'),\narray('id' => '6703','name' => '(PMV) - Del Caribe Santiago MariAo International Airport, Isla Margarita, Venezuela','country_id' => '233'),\narray('id' => '6704','name' => '(CCS) - SimAn BolAvar International Airport, Caracas, Venezuela','country_id' => '233'),\narray('id' => '6705','name' => '(MUN) - MaturAn Airport, , Venezuela','country_id' => '233'),\narray('id' => '6706','name' => '(CBS) - Oro Negro Airport, Cabimas, Venezuela','country_id' => '233'),\narray('id' => '6707','name' => '(PYH) - Cacique Aramare Airport, Puerto Ayacucho, Venezuela','country_id' => '233'),\narray('id' => '6708','name' => '(PBL) - General Bartolome Salom International Airport, , Venezuela','country_id' => '233'),\narray('id' => '6709','name' => '(PDZ) - Pedernales Airport, , Venezuela','country_id' => '233'),\narray('id' => '6710','name' => '(PPH) - Perai Tepuy Airport, , Venezuela','country_id' => '233'),\narray('id' => '6711','name' => '(SCI) - Paramillo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6712','name' => '(PZO) - General Manuel Carlos Piar International Airport, Puerto Ordaz-Ciudad Guayana, Venezuela','country_id' => '233'),\narray('id' => '6713','name' => '(PTM) - Palmarito Airport, Palmarito, Venezuela','country_id' => '233'),\narray('id' => '6714','name' => '(LRV) - Los Roques Airport, Gran Roque Island, Venezuela','country_id' => '233'),\narray('id' => '6715','name' => '(SVS) - Stevens Village Airport, Stevens Village, United States','country_id' => '228'),\narray('id' => '6716','name' => '(SVZ) - San Antonio Del Tachira Airport, , Venezuela','country_id' => '233'),\narray('id' => '6717','name' => '(SBB) - Santa BArbara de Barinas Airport, Santa BArbara, Venezuela','country_id' => '233'),\narray('id' => '6718','name' => '(SNV) - Santa Elena de Uairen Airport, , Venezuela','country_id' => '233'),\narray('id' => '6719','name' => '(STD) - Mayor Buenaventura Vivas International Airport, Santo Domingo, Venezuela','country_id' => '233'),\narray('id' => '6720','name' => '(SNF) - Sub Teniente Nestor Arias Airport, San Felipe, Venezuela','country_id' => '233'),\narray('id' => '6721','name' => '(SFD) - San Fernando De Apure Airport, Inglaterra, Venezuela','country_id' => '233'),\narray('id' => '6722','name' => '(SOM) - San TomA Airport, El Tigre, Venezuela','country_id' => '233'),\narray('id' => '6723','name' => '(STB) - Santa BArbara del Zulia Airport, , Venezuela','country_id' => '233'),\narray('id' => '6724','name' => '(TUV) - Tucupita Airport, Tucupita, Venezuela','country_id' => '233'),\narray('id' => '6725','name' => '(TMO) - Tumeremo Airport, , Venezuela','country_id' => '233'),\narray('id' => '6726','name' => '(URM) - Uriman Airport, , Venezuela','country_id' => '233'),\narray('id' => '6727','name' => '(VLN) - Arturo Michelena International Airport, Valencia, Venezuela','country_id' => '233'),\narray('id' => '6728','name' => '(VIG) - Juan Pablo PArez Alfonso Airport, El VigAa, Venezuela','country_id' => '233'),\narray('id' => '6729','name' => '(VLV) - Dr. Antonio NicolAs BriceAo Airport, Valera, Venezuela','country_id' => '233'),\narray('id' => '6730','name' => '(VDP) - Valle de La Pascua Airport, , Venezuela','country_id' => '233'),\narray('id' => '6731','name' => '(BAZ) - Barcelos Airport, Barcelos, Brazil','country_id' => '29'),\narray('id' => '6732','name' => '(LCB) - Pontes e Lacerda Airport, Pontes e Lacerda, Brazil','country_id' => '29'),\narray('id' => '6733','name' => '(RBB) - Borba Airport, Borba, Brazil','country_id' => '29'),\narray('id' => '6734','name' => '(CAF) - Carauari Airport, Carauari, Brazil','country_id' => '29'),\narray('id' => '6735','name' => '(CQS) - Costa Marques Airport, Costa Marques, Brazil','country_id' => '29'),\narray('id' => '6736','name' => '(DMT) - Diamantino Airport, Diamantino, Brazil','country_id' => '29'),\narray('id' => '6737','name' => '(DNO) - DianApolis Airport, DianApolis, Brazil','country_id' => '29'),\narray('id' => '6738','name' => '(SWE) - Siwea Airport, Siwea, Papua New Guinea','country_id' => '172'),\narray('id' => '6739','name' => '(ERN) - EirunepA Airport, EirunepA, Brazil','country_id' => '29'),\narray('id' => '6740','name' => '(CQA) - Canarana Airport, Canarana, Brazil','country_id' => '29'),\narray('id' => '6741','name' => '(SXO) - SAo FAlix do Araguaia Airport, SAo FAlix Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6742','name' => '(SWG) - Satwag Airport, Satwag, Papua New Guinea','country_id' => '172'),\narray('id' => '6743','name' => '(GRP) - Gurupi Airport, Gurupi, Brazil','country_id' => '29'),\narray('id' => '6744','name' => '(AUX) - AraguaAna Airport, AraguaAna, Brazil','country_id' => '29'),\narray('id' => '6745','name' => '(HUW) - HumaitA Airport, HumaitA, Brazil','country_id' => '29'),\narray('id' => '6746','name' => '(IPG) - Ipiranga Airport, Santo AntAnio Do IAA, Brazil','country_id' => '29'),\narray('id' => '6747','name' => '(IDO) - Santa Izabel do Morro Airport, CristalAndia, Brazil','country_id' => '29'),\narray('id' => '6748','name' => '(JPR) - Ji-ParanA Airport, Ji-ParanA, Brazil','country_id' => '29'),\narray('id' => '6749','name' => '(JIA) - JuAna Airport, JuAna, Brazil','country_id' => '29'),\narray('id' => '6750','name' => '(JRN) - Juruena Airport, Juruena, Brazil','country_id' => '29'),\narray('id' => '6751','name' => '(JTI) - JataA Airport, JataA, Brazil','country_id' => '29'),\narray('id' => '6752','name' => '(CCX) - CAceres Airport, CAceres, Brazil','country_id' => '29'),\narray('id' => '6753','name' => '(CIZ) - Coari Airport, Coari, Brazil','country_id' => '29'),\narray('id' => '6754','name' => '(TLZ) - CatalAo Airport, CatalAo, Brazil','country_id' => '29'),\narray('id' => '6755','name' => '(LBR) - LAbrea Airport, LAbrea, Brazil','country_id' => '29'),\narray('id' => '6756','name' => '(RVD) - General Leite de Castro Airport, Rio Verde, Brazil','country_id' => '29'),\narray('id' => '6757','name' => '(MBZ) - MauAs Airport, MauAs, Brazil','country_id' => '29'),\narray('id' => '6758','name' => '(NVP) - Novo AripuanA Airport, Novo AripuanA, Brazil','country_id' => '29'),\narray('id' => '6759','name' => '(AQM) - Nova Vida Airport, Ariquemes, Brazil','country_id' => '29'),\narray('id' => '6760','name' => '(BCR) - Novo Campo Airport, Boca do Acre, Brazil','country_id' => '29'),\narray('id' => '6761','name' => '(NQL) - NiquelAndia Airport, NiquelAndia, Brazil','country_id' => '29'),\narray('id' => '6762','name' => '(APS) - AnApolis Airport, AnApolis, Brazil','country_id' => '29'),\narray('id' => '6763','name' => '(FBA) - Fonte Boa Airport, Fonte Boa, Brazil','country_id' => '29'),\narray('id' => '6764','name' => '(PBV) - Porto dos GaAochos Airport, Porto Dos GaAochos, Brazil','country_id' => '29'),\narray('id' => '6765','name' => '(PIN) - Parintins Airport, Parintins, Brazil','country_id' => '29'),\narray('id' => '6766','name' => '(PBQ) - Pimenta Bueno Airport, Pimenta Bueno, Brazil','country_id' => '29'),\narray('id' => '6767','name' => '(PBX) - Fazenda Piraguassu Airport, Porto Alegre Do Norte, Brazil','country_id' => '29'),\narray('id' => '6768','name' => '(SWR) - Silur Airport, Silur Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '6769','name' => '(AAI) - Arraias Airport, Arraias, Brazil','country_id' => '29'),\narray('id' => '6770','name' => '(ROO) - Maestro Marinho Franco Airport, RondonApolis, Brazil','country_id' => '29'),\narray('id' => '6771','name' => '(AIR) - AripuanA Airport, AripuanA, Brazil','country_id' => '29'),\narray('id' => '6772','name' => '(OPS) - Presidente JoAo Batista Figueiredo Airport, Sinop, Brazil','country_id' => '29'),\narray('id' => '6773','name' => '(STZ) - Santa Terezinha Airport, Santa Terezinha, Brazil','country_id' => '29'),\narray('id' => '6774','name' => '(IRZ) - Tapuruquara Airport, Santa Isabel Do Rio Negro, Brazil','country_id' => '29'),\narray('id' => '6775','name' => '(TGQ) - TangarA da Serra Airport, TangarA Da Serra, Brazil','country_id' => '29'),\narray('id' => '6776','name' => '(AZL) - Fazenda TucunarA Airport, Sapezal, Brazil','country_id' => '29'),\narray('id' => '6777','name' => '(QHN) - Taguatinga Airport, Taguatinga, Brazil','country_id' => '29'),\narray('id' => '6778','name' => '(SQM) - SAo Miguel do Araguaia Airport, SAo Miguel Do Araguaia, Brazil','country_id' => '29'),\narray('id' => '6779','name' => '(MTG) - Vila Bela da SantAssima Trindade Airport, Vila Bela Da SantAssima Trindade, Brazil','country_id' => '29'),\narray('id' => '6780','name' => '(VLP) - Vila Rica Airport, Vila Rica, Brazil','country_id' => '29'),\narray('id' => '6781','name' => '(MBK) - Regional Orlando Villas Boas Airport, MatupA, Brazil','country_id' => '29'),\narray('id' => '6782','name' => '(NOK) - Xavantina Airport, Nova Xavantina, Brazil','country_id' => '29'),\narray('id' => '6783','name' => '(SXH) - Sehulea Airport, Sehulea, Papua New Guinea','country_id' => '172'),\narray('id' => '6784','name' => '(SXP) - Sheldon Point Airport, Nunam Iqua, United States','country_id' => '228'),\narray('id' => '6785','name' => '(SXV) - SXV Salem , Tamil Nadu, India, Salem, India','country_id' => '101'),\narray('id' => '6786','name' => '(AHL) - Aishalton Airport, Aishalton, Guyana','country_id' => '91'),\narray('id' => '6787','name' => '(NAI) - Annai Airport, Annai, Guyana','country_id' => '91'),\narray('id' => '6788','name' => '(SYB) - Seal Bay Seaplane Base, Seal Bay, United States','country_id' => '228'),\narray('id' => '6789','name' => '(BMJ) - Baramita Airport, Baramita, Guyana','country_id' => '91'),\narray('id' => '6790','name' => '(GFO) - Bartica A Airport, Bartica, Guyana','country_id' => '91'),\narray('id' => '6791','name' => '(GEO) - Cheddi Jagan International Airport, Georgetown, Guyana','country_id' => '91'),\narray('id' => '6792','name' => '(OGL) - Ogle Airport, Ogle, Guyana','country_id' => '91'),\narray('id' => '6793','name' => '(IMB) - Imbaimadai Airport, Imbaimadai, Guyana','country_id' => '91'),\narray('id' => '6794','name' => '(KAR) - Kamarang Airport, Kamarang, Guyana','country_id' => '91'),\narray('id' => '6795','name' => '(KRM) - Karanambo Airport, Karanambo, Guyana','country_id' => '91'),\narray('id' => '6796','name' => '(KRG) - Karasabai Airport, Karasabai, Guyana','country_id' => '91'),\narray('id' => '6797','name' => '(KTO) - Kato Airport, Kato, Guyana','country_id' => '91'),\narray('id' => '6798','name' => '(KKG) - Konawaruk Airport, Konawaruk, Guyana','country_id' => '91'),\narray('id' => '6799','name' => '(LUB) - Lumid Pau Airport, Lumid Pau, Guyana','country_id' => '91'),\narray('id' => '6800','name' => '(LTM) - Lethem Airport, Lethem, Guyana','country_id' => '91'),\narray('id' => '6801','name' => '(USI) - Mabaruma Airport, Mabaruma, Guyana','country_id' => '91'),\narray('id' => '6802','name' => '(MHA) - Mahdia Airport, Mahdia, Guyana','country_id' => '91'),\narray('id' => '6803','name' => '(MYM) - Monkey Mountain Airport, Monkey Mountain, Guyana','country_id' => '91'),\narray('id' => '6804','name' => '(MWJ) - Matthews Ridge Airport, Matthews Ridge, Guyana','country_id' => '91'),\narray('id' => '6805','name' => '(SYN) - Stanton Airfield, Stanton, United States','country_id' => '228'),\narray('id' => '6806','name' => '(QSX) - New Amsterdam Airport, New Amsterdam, Guyana','country_id' => '91'),\narray('id' => '6807','name' => '(ORJ) - Orinduik Airport, Orinduik, Guyana','country_id' => '91'),\narray('id' => '6808','name' => '(PMT) - Paramakatoi Airport, Paramakatoi, Guyana','country_id' => '91'),\narray('id' => '6809','name' => '(PRR) - Paruma Airport, Paruma, Guyana','country_id' => '91'),\narray('id' => '6810','name' => '(SDC) - Sand Creek Airport, Sand Creek, Guyana','country_id' => '91'),\narray('id' => '6811','name' => '(SKM) - Skeldon Airport, Skeldon, Guyana','country_id' => '91'),\narray('id' => '6812','name' => '(SZN) - Santa Cruz Island Airport, Santa Barbara, United States','country_id' => '228'),\narray('id' => '6813','name' => '(SZP) - Santa Paula Airport, Santa Paula, United States','country_id' => '228'),\narray('id' => '6814','name' => '(ANU) - V.C. Bird International Airport, St. George, Antigua and Barbuda','country_id' => '3'),\narray('id' => '6815','name' => '(BBQ) - Codrington Airport, Codrington, Antigua and Barbuda','country_id' => '3'),\narray('id' => '6816','name' => '(TBE) - Timbunke Airport, Timbunke, Papua New Guinea','country_id' => '172'),\narray('id' => '6817','name' => '(BGI) - Sir Grantley Adams International Airport, Bridgetown, Barbados','country_id' => '16'),\narray('id' => '6818','name' => '(TBQ) - Tarabo Airport, Tarabo, Papua New Guinea','country_id' => '172'),\narray('id' => '6819','name' => '(TBV) - Tabal Airstrip, Tabal Island, Marshall Islands','country_id' => '139'),\narray('id' => '6820','name' => '(TCK) - Tinboli Airport, Tinboli, Papua New Guinea','country_id' => '172'),\narray('id' => '6821','name' => '(TCT) - Takotna Airport, Takotna, United States','country_id' => '228'),\narray('id' => '6822','name' => '(TDB) - Tetebedi Airport, Tetebedi, Papua New Guinea','country_id' => '172'),\narray('id' => '6823','name' => '(DCF) - Canefield Airport, Canefield, Dominica','country_id' => '57'),\narray('id' => '6824','name' => '(DOM) - Melville Hall Airport, Marigot, Dominica','country_id' => '57'),\narray('id' => '6825','name' => '(TDS) - Sasereme Airport, Sasereme, Papua New Guinea','country_id' => '172'),\narray('id' => '6826','name' => '(TEO) - Terapo Airport, Terapo Mission, Papua New Guinea','country_id' => '172'),\narray('id' => '6827','name' => '(TFB) - Tifalmin Airport, Tifalmin, Papua New Guinea','country_id' => '172'),\narray('id' => '6828','name' => '(DSD) - La DAsirade Airport, Grande Anse, Guadeloupe','country_id' => '84'),\narray('id' => '6829','name' => '(BBR) - Baillif Airport, Basse Terre, Guadeloupe','country_id' => '84'),\narray('id' => '6830','name' => '(SFC) - St-FranAois Airport, St-FranAois, Guadeloupe','country_id' => '84'),\narray('id' => '6831','name' => '(FDF) - Martinique AimA CAsaire International Airport, Fort-de-France, Martinique','country_id' => '146'),\narray('id' => '6832','name' => '(SFG) - L\\'EspArance Airport, Grand Case, Saint Martin','country_id' => '137'),\narray('id' => '6833','name' => '(SBH) - Gustaf III Airport, Gustavia, Saint BarthAlemy','country_id' => '24'),\narray('id' => '6834','name' => '(GBJ) - Les Bases Airport, Grand Bourg, Guadeloupe','country_id' => '84'),\narray('id' => '6835','name' => '(PTP) - Pointe-A-Pitre Le Raizet, Pointe-A-Pitre Le Raizet, Guadeloupe','country_id' => '84'),\narray('id' => '6836','name' => '(LSS) - Terre-de-Haut Airport, Les Saintes, Guadeloupe','country_id' => '84'),\narray('id' => '6837','name' => '(TFY) - Tarfaya Airport, Tarfaya, Morocco','country_id' => '133'),\narray('id' => '6838','name' => '(TGL) - Tagula Airport, Sudest Island, Papua New Guinea','country_id' => '172'),\narray('id' => '6839','name' => '(GND) - Point Salines International Airport, Saint George\\'s, Grenada','country_id' => '75'),\narray('id' => '6840','name' => '(CRU) - Lauriston Airport, Carriacou Island, Grenada','country_id' => '75'),\narray('id' => '6841','name' => '(STT) - Cyril E. King Airport, Charlotte Amalie, Harry S. Truman Airport, U.S. Virgin Islands','country_id' => '235'),\narray('id' => '6842','name' => '(STX) - Henry E Rohlsen Airport, Christiansted, U.S. Virgin Islands','country_id' => '235'),\narray('id' => '6843','name' => '(ARE) - Antonio Nery Juarbe Pol Airport, Arecibo, Puerto Rico','country_id' => '178'),\narray('id' => '6844','name' => '(BQN) - Rafael Hernandez Airport, Aguadilla, Puerto Rico','country_id' => '178'),\narray('id' => '6845','name' => '(TJC) - Ticantiki Airport, Ticantiqui, Panama','country_id' => '169'),\narray('id' => '6846','name' => '(CPX) - Benjamin Rivera Noriega Airport, Culebra Island, Puerto Rico','country_id' => '178'),\narray('id' => '6847','name' => '(FAJ) - Diego Jimenez Torres Airport, Fajardo, Puerto Rico','country_id' => '178'),\narray('id' => '6848','name' => '(SIG) - Fernando Luis Ribas Dominicci Airport, San Juan, Puerto Rico','country_id' => '178'),\narray('id' => '6849','name' => '(MAZ) - Eugenio Maria De Hostos Airport, Mayaguez, Puerto Rico','country_id' => '178'),\narray('id' => '6850','name' => '(PSE) - Mercedita Airport, Ponce, Puerto Rico','country_id' => '178'),\narray('id' => '6851','name' => '(NRR) - JosA Aponte de la Torre Airport, Ceiba, Puerto Rico','country_id' => '178'),\narray('id' => '6852','name' => '(SJU) - Luis Munoz Marin International Airport, San Juan, Puerto Rico','country_id' => '178'),\narray('id' => '6853','name' => '(VQS) - Antonio Rivera Rodriguez Airport, Vieques Island, Puerto Rico','country_id' => '178'),\narray('id' => '6854','name' => '(SKB) - Robert L. Bradshaw International Airport, Basseterre, Saint Kitts and Nevis','country_id' => '116'),\narray('id' => '6855','name' => '(NEV) - Vance W. Amory International Airport, Charlestown, Saint Kitts and Nevis','country_id' => '116'),\narray('id' => '6856','name' => '(TLP) - Tumolbil Airport, Tumolbil, Papua New Guinea','country_id' => '172'),\narray('id' => '6857','name' => '(SLU) - George F. L. Charles Airport, Castries, Saint Lucia','country_id' => '124'),\narray('id' => '6858','name' => '(UVF) - Hewanorra International Airport, Vieux Fort, Saint Lucia','country_id' => '124'),\narray('id' => '6859','name' => '(TLT) - Tuluksak Airport, Tuluksak, United States','country_id' => '228'),\narray('id' => '6860','name' => '(NBE) - Enfidha - Hammamet International Airport, Enfidha, Tunisia','country_id' => '218'),\narray('id' => '6861','name' => '(AUA) - Queen Beatrix International Airport, Oranjestad, Aruba','country_id' => '13'),\narray('id' => '6862','name' => '(BON) - Flamingo International Airport, Kralendijk, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6863','name' => '(CUR) - Hato International Airport, Willemstad, CuraAao','country_id' => '50'),\narray('id' => '6864','name' => '(EUX) - F. D. Roosevelt Airport, Sint Eustatius, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6865','name' => '(SXM) - Princess Juliana International Airport, Saint Martin, Sint Maarten','country_id' => '206'),\narray('id' => '6866','name' => '(SAB) - Juancho E. Yrausquin Airport, Saba, Caribbean Netherlands','country_id' => '28'),\narray('id' => '6867','name' => '(TNW) - Jumandy Airport, Tena, Ecuador','country_id' => '60'),\narray('id' => '6868','name' => '(TOK) - Torokina Airport, Torokina, Papua New Guinea','country_id' => '172'),\narray('id' => '6869','name' => '(PTA) - Port Alsworth Airport, Port Alsworth, United States','country_id' => '228'),\narray('id' => '6870','name' => '(TPT) - Tapeta Airport, Tapeta, Liberia','country_id' => '127'),\narray('id' => '6871','name' => '(AXA) - Wallblake Airport, The Valley, Anguilla','country_id' => '4'),\narray('id' => '6872','name' => '(BGG) - BingAl Aeltiksuyu Airport, BingAl, Turkey','country_id' => '220'),\narray('id' => '6873','name' => '(OGU) - Ordu Giresun Airport, Ordu, Turkey','country_id' => '220'),\narray('id' => '6874','name' => '(IGD) - IAdAr Airport, IAdAr, Turkey','country_id' => '220'),\narray('id' => '6875','name' => '(MNI) - John A. Osborne Airport, Gerald\\'s Park, Montserrat','country_id' => '148'),\narray('id' => '6876','name' => '(TSG) - Tanacross Airport, Tanacross, United States','country_id' => '228'),\narray('id' => '6877','name' => '(TSI) - Tsile Tsile Airport, Tsile Tsile, Papua New Guinea','country_id' => '172'),\narray('id' => '6878','name' => '(TAB) - Tobago-Crown Point Airport, Scarborough, Trinidad and Tobago','country_id' => '221'),\narray('id' => '6879','name' => '(POS) - Piarco International Airport, Port of Spain, Trinidad and Tobago','country_id' => '221'),\narray('id' => '6880','name' => '(TUE) - Tupile Airport, Isla Tupile, Panama','country_id' => '169'),\narray('id' => '6881','name' => '(TUJ) - Tum Airport, Tum, Ethiopia','country_id' => '66'),\narray('id' => '6882','name' => '(NGD) - Captain Auguste George Airport, Anegada, British Virgin Islands','country_id' => '234'),\narray('id' => '6883','name' => '(EIS) - Terrance B. Lettsome International Airport, Road Town, British Virgin Islands','country_id' => '234'),\narray('id' => '6884','name' => '(VIJ) - Virgin Gorda Airport, Spanish Town, British Virgin Islands','country_id' => '234'),\narray('id' => '6885','name' => '(BQU) - J F Mitchell Airport, Bequia, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6886','name' => '(CIW) - Canouan Airport, Canouan, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6887','name' => '(MQS) - Mustique Airport, Mustique Island, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6888','name' => '(UNI) - Union Island International Airport, Union Island, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6889','name' => '(SVD) - E. T. Joshua Airport, Kingstown, Saint Vincent and the Grenadines','country_id' => '232'),\narray('id' => '6890','name' => '(DSX) - Dongsha Island Airport, Pratas Island, Taiwan','country_id' => '223'),\narray('id' => '6891','name' => '(CMJ) - Chi Mei Airport, Chi Mei, Taiwan','country_id' => '223'),\narray('id' => '6892','name' => '(BDA) - L.F. Wade International International Airport, Hamilton, Bermuda','country_id' => '25'),\narray('id' => '6893','name' => '(TYE) - Tyonek Airport, Tyonek, United States','country_id' => '228'),\narray('id' => '6894','name' => '(GIT) - Mchauru Airport, Geita, Tanzania','country_id' => '224'),\narray('id' => '6895','name' => '(LUY) - Lushoto Airport, Lushoto, Tanzania','country_id' => '224'),\narray('id' => '6896','name' => '(DBS) - Dubois Municipal Airport, Dubois, United States','country_id' => '228'),\narray('id' => '6897','name' => '(OOX) - Melitopol Air Base, Melitopol, Ukraine','country_id' => '225'),\narray('id' => '6898','name' => '(MXR) - Myrhorod Air Base, Myrhorod, Ukraine','country_id' => '225'),\narray('id' => '6899','name' => '(KHU) - Kakhnovka Airfield, Kremenchuk, Ukraine','country_id' => '225'),\narray('id' => '6900','name' => '(ALA) - Almaty Airport, Almaty, Kazakhstan','country_id' => '121'),\narray('id' => '6901','name' => '(BXH) - Balkhash Airport, Balkhash, Kazakhstan','country_id' => '121'),\narray('id' => '6902','name' => '(BXJ) - Boralday Airport, Aima Ata, Kazakhstan','country_id' => '121'),\narray('id' => '6903','name' => '(TSE) - Astana International Airport, Astana, Kazakhstan','country_id' => '121'),\narray('id' => '6904','name' => '(KOV) - Kokshetau Airport, Kokshetau, Kazakhstan','country_id' => '121'),\narray('id' => '6905','name' => '(PPK) - Petropavlosk South Airport, Petropavlosk, Kazakhstan','country_id' => '121'),\narray('id' => '6906','name' => '(DMB) - Taraz Airport, Taraz, Kazakhstan','country_id' => '121'),\narray('id' => '6907','name' => '(UAE) - Mount Aue Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '6908','name' => '(FRU) - Manas International Airport, Bishkek, Kyrgyzstan','country_id' => '112'),\narray('id' => '6909','name' => '(OSS) - Osh Airport, Osh, Kyrgyzstan','country_id' => '112'),\narray('id' => '6910','name' => '(CIT) - Shymkent Airport, Shymkent, Kazakhstan','country_id' => '121'),\narray('id' => '6911','name' => '(DZN) - Zhezkazgan Airport, Zhezkazgan, Kazakhstan','country_id' => '121'),\narray('id' => '6912','name' => '(KGF) - Sary-Arka Airport, Karaganda, Kazakhstan','country_id' => '121'),\narray('id' => '6913','name' => '(KZO) - Kzyl-Orda Southwest Airport, Kzyl-Orda, Kazakhstan','country_id' => '121'),\narray('id' => '6914','name' => '(URA) - Uralsk Airport, Uralsk, Kazakhstan','country_id' => '121'),\narray('id' => '6915','name' => '(EKB) - Ekibastuz Airport, Ekibastuz, Kazakhstan','country_id' => '121'),\narray('id' => '6916','name' => '(SZI) - Zaysan Airport, Zaysan, Kazakhstan','country_id' => '121'),\narray('id' => '6917','name' => '(UKK) - Ust-Kamennogorsk Airport, Ust Kamenogorsk, Kazakhstan','country_id' => '121'),\narray('id' => '6918','name' => '(PWQ) - Pavlodar Airport, Pavlodar, Kazakhstan','country_id' => '121'),\narray('id' => '6919','name' => '(DLX) - Semipalatinsk Airport, Semey, Kazakhstan','country_id' => '121'),\narray('id' => '6920','name' => '(SCO) - Aktau Airport, Aktau, Kazakhstan','country_id' => '121'),\narray('id' => '6921','name' => '(GUW) - Atyrau Airport, Atyrau, Kazakhstan','country_id' => '121'),\narray('id' => '6922','name' => '(AKX) - Aktobe Airport, Aktyuinsk, Kazakhstan','country_id' => '121'),\narray('id' => '6923','name' => '(AYK) - Arkalyk North Airport, Arkalyk, Kazakhstan','country_id' => '121'),\narray('id' => '6924','name' => '(KSN) - Kostanay West Airport, Kostanay, Kazakhstan','country_id' => '121'),\narray('id' => '6925','name' => '(GYD) - Heydar Aliyev International Airport, Baku, Azerbaijan','country_id' => '14'),\narray('id' => '6926','name' => '(KVD) - Ganja Airport, Ganja, Azerbaijan','country_id' => '14'),\narray('id' => '6927','name' => '(LLK) - Lankaran International Airport, Lankaran, Azerbaijan','country_id' => '14'),\narray('id' => '6928','name' => '(NAJ) - Nakhchivan Airport, Nakhchivan, Azerbaijan','country_id' => '14'),\narray('id' => '6929','name' => '(GBB) - Gabala International Airport, Gabala, Azerbaijan','country_id' => '14'),\narray('id' => '6930','name' => '(ZTU) - Zaqatala International Airport, Zaqatala, Azerbaijan','country_id' => '14'),\narray('id' => '6931','name' => '(YLV) - Yevlakh Airport, Yevlakh, Azerbaijan','country_id' => '14'),\narray('id' => '6932','name' => '(UBI) - Buin Airport, Buin, Papua New Guinea','country_id' => '172'),\narray('id' => '6933','name' => '(LWN) - Gyumri Shirak Airport, Gyumri, Armenia','country_id' => '6'),\narray('id' => '6934','name' => '(EVN) - Zvartnots International Airport, Yerevan, Armenia','country_id' => '6'),\narray('id' => '6935','name' => '(BQJ) - Batagay Airport, Batagay, Russia','country_id' => '187'),\narray('id' => '6936','name' => '(SUK) - Sakkyryr Airport, Batagay-Alyta, Russia','country_id' => '187'),\narray('id' => '6937','name' => '(UKG) - Ust-Kuyga Airport, Ust-Kuyga, Russia','country_id' => '187'),\narray('id' => '6938','name' => '(ADH) - Aldan Airport, Aldan, Russia','country_id' => '187'),\narray('id' => '6939','name' => '(YKS) - Yakutsk Airport, Yakutsk, Russia','country_id' => '187'),\narray('id' => '6940','name' => '(NER) - Chulman Airport, Neryungri, Russia','country_id' => '187'),\narray('id' => '6941','name' => '(USR) - Ust-Nera Airport, Ust-Nera, Russia','country_id' => '187'),\narray('id' => '6942','name' => '(UMS) - Ust-Maya Airport, Ust-Maya, Russia','country_id' => '187'),\narray('id' => '6943','name' => '(VHV) - Verkhnevilyuisk Airport, Verkhnevilyuisk, Russia','country_id' => '187'),\narray('id' => '6944','name' => '(SUY) - Suntar Airport, Suntar, Russia','country_id' => '187'),\narray('id' => '6945','name' => '(VYI) - Vilyuisk Airport, Vilyuisk, Russia','country_id' => '187'),\narray('id' => '6946','name' => '(ULK) - Lensk Airport, Lensk, Russia','country_id' => '187'),\narray('id' => '6947','name' => '(PYJ) - Polyarny Airport, Yakutia, Russia','country_id' => '187'),\narray('id' => '6948','name' => '(MJZ) - Mirny Airport, Mirny, Russia','country_id' => '187'),\narray('id' => '6949','name' => '(SYS) - Saskylakh Airport, Saskylakh, Russia','country_id' => '187'),\narray('id' => '6950','name' => '(SEK) - Srednekolymsk Airport, Srednekolymsk, Russia','country_id' => '187'),\narray('id' => '6951','name' => '(CKH) - Chokurdakh Airport, Chokurdah, Russia','country_id' => '187'),\narray('id' => '6952','name' => '(CYX) - Cherskiy Airport, Cherskiy, Russia','country_id' => '187'),\narray('id' => '6953','name' => '(IKS) - Tiksi Airport, Tiksi, Russia','country_id' => '187'),\narray('id' => '6954','name' => '(ZKP) - Zyryanka Airport, Zyryanka, Russia','country_id' => '187'),\narray('id' => '6955','name' => '(OYG) - Moyo Airport, Moyo, Uganda','country_id' => '226'),\narray('id' => '6956','name' => '(UGB) - Ugashik Bay Airport, Pilot Point, United States','country_id' => '228'),\narray('id' => '6957','name' => '(KUT) - Kopitnari Airport, Kutaisi, Georgia','country_id' => '76'),\narray('id' => '6958','name' => '(BUS) - Batumi International Airport, Batumi, Georgia','country_id' => '76'),\narray('id' => '6959','name' => '(SUI) - Sukhumi Dranda Airport, Sukhumi, Georgia','country_id' => '76'),\narray('id' => '6960','name' => '(TBS) - Tbilisi International Airport, Tbilisi, Georgia','country_id' => '76'),\narray('id' => '6961','name' => '(BQS) - Ignatyevo Airport, Blagoveschensk, Russia','country_id' => '187'),\narray('id' => '6962','name' => '(GDG) - Magdagachi Airport, Magdagachi, Russia','country_id' => '187'),\narray('id' => '6963','name' => '(TYD) - Tynda Airport, Tynda, Russia','country_id' => '187'),\narray('id' => '6964','name' => '(KHV) - Khabarovsk-Novy Airport, Khabarovsk, Russia','country_id' => '187'),\narray('id' => '6965','name' => '(KXK) - Komsomolsk-on-Amur Airport, Komsomolsk-on-Amur, Russia','country_id' => '187'),\narray('id' => '6966','name' => '(GVN) - Maygatka Airport., Sovetskaya Gavan, Russia','country_id' => '187'),\narray('id' => '6967','name' => '(DYR) - Ugolny Airport, Anadyr, Russia','country_id' => '187'),\narray('id' => '6968','name' => '(PVS) - Provideniya Bay Airport, Chukotka, Russia','country_id' => '187'),\narray('id' => '6969','name' => '(GDX) - Sokol Airport, Magadan, Russia','country_id' => '187'),\narray('id' => '6970','name' => '(PWE) - Pevek Airport, Pevek, Russia','country_id' => '187'),\narray('id' => '6971','name' => '(BQG) - Bogorodskoye Airport, Bogorodskoye, Russia','country_id' => '187'),\narray('id' => '6972','name' => '(NLI) - Nikolayevsk-na-Amure Airport, Nikolayevsk-na-Amure Airport, Russia','country_id' => '187'),\narray('id' => '6973','name' => '(OHO) - Okhotsk Airport, Okhotsk, Russia','country_id' => '187'),\narray('id' => '6974','name' => '(PKC) - Yelizovo Airport, Petropavlovsk-Kamchatsky, Russia','country_id' => '187'),\narray('id' => '6975','name' => '(BVV) - Burevestnik Airport, Iturup Island, Russia','country_id' => '187'),\narray('id' => '6976','name' => '(OHH) - Okha Airport, Okha, Russia','country_id' => '187'),\narray('id' => '6977','name' => '(ITU) - Iturup Airport, Kurilsk, Russia','country_id' => '187'),\narray('id' => '6978','name' => '(EKS) - Shakhtyorsk Airport, Shakhtersk, Russia','country_id' => '187'),\narray('id' => '6979','name' => '(DEE) - Mendeleyevo Airport, Kunashir Island, Russia','country_id' => '187'),\narray('id' => '6980','name' => '(ZZO) - Zonalnoye Airport, Tymovskoye, Russia','country_id' => '187'),\narray('id' => '6981','name' => '(UUS) - Yuzhno-Sakhalinsk Airport, Yuzhno-Sakhalinsk, Russia','country_id' => '187'),\narray('id' => '6982','name' => '(KVR) - Kavalerovo Airport, Kavalerovo, Russia','country_id' => '187'),\narray('id' => '6983','name' => '(TLY) - Plastun Airport, Plastun, Russia','country_id' => '187'),\narray('id' => '6984','name' => '(VVO) - Vladivostok International Airport, Vladivostok, Russia','country_id' => '187'),\narray('id' => '6985','name' => '(HTA) - Chita-Kadala Airport, Chita, Russia','country_id' => '187'),\narray('id' => '6986','name' => '(BTK) - Bratsk Airport, Bratsk, Russia','country_id' => '187'),\narray('id' => '6987','name' => '(UIK) - Ust-Ilimsk Airport, Ust-Ilimsk, Russia','country_id' => '187'),\narray('id' => '6988','name' => '(IKT) - Irkutsk Airport, Irkutsk, Russia','country_id' => '187'),\narray('id' => '6989','name' => '(ODO) - Bodaybo Airport, Bodaybo, Russia','country_id' => '187'),\narray('id' => '6990','name' => '(ERG) - Yerbogachen Airport, Erbogachen, Russia','country_id' => '187'),\narray('id' => '6991','name' => '(KCK) - Kirensk Airport, Kirensk, Russia','country_id' => '187'),\narray('id' => '6992','name' => '(UKX) - Ust-Kut Airport, Ust-Kut, Russia','country_id' => '187'),\narray('id' => '6993','name' => '(UUD) - Ulan-Ude Airport (Mukhino), Ulan Ude, Russia','country_id' => '187'),\narray('id' => '6994','name' => '(UJE) - Ujae Atoll Airport, Ujae Atoll, Marshall Islands','country_id' => '139'),\narray('id' => '6995','name' => '(UJN) - Uljin Airport, Uljin, South Korea','country_id' => '118'),\narray('id' => '6996','name' => '(KBP) - Boryspil International Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '6997','name' => '(DOK) - Donetsk International Airport, Donetsk, Ukraine','country_id' => '225'),\narray('id' => '6998','name' => '(KRQ) - Kramatorsk Airport, Kramatorsk, Ukraine','country_id' => '225'),\narray('id' => '6999','name' => '(MPW) - Mariupol International Airport, Mariupol, Ukraine','country_id' => '225'),\narray('id' => '7000','name' => '(SEV) - Sievierodonetsk Airport, Sievierodonetsk, Ukraine','country_id' => '225'),\narray('id' => '7001','name' => '(VSG) - Luhansk International Airport, Luhansk, Ukraine','country_id' => '225'),\narray('id' => '7002','name' => '(ERD) - Berdyansk Airport, Berdyansk, Ukraine','country_id' => '225'),\narray('id' => '7003','name' => '(DNK) - Dnipropetrovsk International Airport, Dnipropetrovsk, Ukraine','country_id' => '225'),\narray('id' => '7004','name' => '(OZH) - Zaporizhzhia International Airport, Zaporizhia, Ukraine','country_id' => '225'),\narray('id' => '7005','name' => '(KWG) - Kryvyi Rih International Airport, Kryvyi Rih, Ukraine','country_id' => '225'),\narray('id' => '7006','name' => '(UKS) - Belbek Airport, Sevastopol, Ukraine','country_id' => '225'),\narray('id' => '7007','name' => '(SIP) - Simferopol International Airport, Simferopol, Ukraine','country_id' => '225'),\narray('id' => '7008','name' => '(KHC) - Kerch Airport, Kerch, Ukraine','country_id' => '225'),\narray('id' => '7009','name' => '(UKH) - Mukhaizna Airport, Mukhaizna Oil Field, Oman','country_id' => '168'),\narray('id' => '7010','name' => '(HRK) - Kharkiv International Airport, Kharkiv, Ukraine','country_id' => '225'),\narray('id' => '7011','name' => '(PLV) - Suprunovka Airport, Poltava, Ukraine','country_id' => '225'),\narray('id' => '7012','name' => '(UMY) - Sumy Airport, Sumy, Ukraine','country_id' => '225'),\narray('id' => '7013','name' => '(CKC) - Cherkasy International Airport, Cherkasy, Ukraine','country_id' => '225'),\narray('id' => '7014','name' => '(KGO) - Kirovograd Airport, Kirovograd, Ukraine','country_id' => '225'),\narray('id' => '7015','name' => '(IEV) - Kiev Zhuliany International Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '7016','name' => '(GML) - Gostomel Airport, Kiev, Ukraine','country_id' => '225'),\narray('id' => '7017','name' => '(ZTR) - Zhytomyr Airport, , Ukraine','country_id' => '225'),\narray('id' => '7018','name' => '(UCK) - Lutsk Airport, Lutsk, Ukraine','country_id' => '225'),\narray('id' => '7019','name' => '(HMJ) - Khmelnytskyi Airport, Khmelnytskyi, Ukraine','country_id' => '225'),\narray('id' => '7020','name' => '(IFO) - Ivano-Frankivsk International Airport, Ivano-Frankivsk, Ukraine','country_id' => '225'),\narray('id' => '7021','name' => '(LWO) - Lviv International Airport, Lviv, Ukraine','country_id' => '225'),\narray('id' => '7022','name' => '(CWC) - Chernivtsi International Airport, Chernivtsi, Ukraine','country_id' => '225'),\narray('id' => '7023','name' => '(RWN) - Rivne International Airport, Rivne, Ukraine','country_id' => '225'),\narray('id' => '7024','name' => '(TNL) - Ternopil International Airport, Ternopil, Ukraine','country_id' => '225'),\narray('id' => '7025','name' => '(UDJ) - Uzhhorod International Airport, Uzhhorod, Ukraine','country_id' => '225'),\narray('id' => '7026','name' => '(KHE) - Chernobayevka Airport, Kherson, Ukraine','country_id' => '225'),\narray('id' => '7027','name' => '(NLV) - Mykolaiv International Airport, Nikolayev, Ukraine','country_id' => '225'),\narray('id' => '7028','name' => '(ODS) - Odessa International Airport, Odessa, Ukraine','country_id' => '225'),\narray('id' => '7029','name' => '(VIN) - Vinnytsia/Gavyryshivka Airport, Vinnitsa, Ukraine','country_id' => '225'),\narray('id' => '7030','name' => '(ARH) - Talagi Airport, Archangelsk, Russia','country_id' => '187'),\narray('id' => '7031','name' => '(LDG) - Leshukonskoye Airport, Leshukonskoye, Russia','country_id' => '187'),\narray('id' => '7032','name' => '(NNM) - Naryan Mar Airport, Naryan Mar, Russia','country_id' => '187'),\narray('id' => '7033','name' => '(CSH) - Solovki Airport, Solovetsky Islands, Russia','country_id' => '187'),\narray('id' => '7034','name' => '(CEE) - Cherepovets Airport, Cherepovets, Russia','country_id' => '187'),\narray('id' => '7035','name' => '(AMV) - Amderma Airport, Amderma, Russia','country_id' => '187'),\narray('id' => '7036','name' => '(VRI) - Varandey Airport, Varandey, Russia','country_id' => '187'),\narray('id' => '7037','name' => '(ULH) - Majeed Bin Abdulaziz Airport, Al Ula, Saudi Arabia','country_id' => '189'),\narray('id' => '7038','name' => '(KSZ) - Kotlas Airport, Kotlas, Russia','country_id' => '187'),\narray('id' => '7039','name' => '(LED) - Pulkovo Airport, St. Petersburg, Russia','country_id' => '187'),\narray('id' => '7040','name' => '(KVK) - Kirovsk-Apatity Airport, Apatity, Russia','country_id' => '187'),\narray('id' => '7041','name' => '(MMK) - Murmansk Airport, Murmansk, Russia','country_id' => '187'),\narray('id' => '7042','name' => '(VLU) - Velikiye Luki Airport, Velikiye Luki, Russia','country_id' => '187'),\narray('id' => '7043','name' => '(PKV) - Pskov Airport, Pskov, Russia','country_id' => '187'),\narray('id' => '7044','name' => '(PES) - Petrozavodsk Airport, Petrozavodsk, Russia','country_id' => '187'),\narray('id' => '7045','name' => '(VGD) - Vologda Airport, Vologda, Russia','country_id' => '187'),\narray('id' => '7046','name' => '(BQT) - Brest Airport, Brest, Belarus','country_id' => '33'),\narray('id' => '7047','name' => '(GME) - Gomel Airport, Gomel, Belarus','country_id' => '33'),\narray('id' => '7048','name' => '(VTB) - Vitebsk Vostochny Airport, Vitebsk, Belarus','country_id' => '33'),\narray('id' => '7049','name' => '(KGD) - Khrabrovo Airport, Kaliningrad, Russia','country_id' => '187'),\narray('id' => '7050','name' => '(GNA) - Hrodna Airport, Hrodna, Belarus','country_id' => '33'),\narray('id' => '7051','name' => '(MHP) - Minsk 1 Airport, Minsk, Belarus','country_id' => '33'),\narray('id' => '7052','name' => '(MSQ) - Minsk National Airport, Minsk, Belarus','country_id' => '33'),\narray('id' => '7053','name' => '(MVQ) - Mogilev Airport, Mogilev, Belarus','country_id' => '33'),\narray('id' => '7054','name' => '(ABA) - Abakan Airport, Abakan, Russia','country_id' => '187'),\narray('id' => '7055','name' => '(BAX) - Barnaul Airport, Barnaul, Russia','country_id' => '187'),\narray('id' => '7056','name' => '(RGK) - Gorno-Altaysk Airport, Gorno-Altaysk, Russia','country_id' => '187'),\narray('id' => '7057','name' => '(KEJ) - Kemerovo Airport, Kemerovo, Russia','country_id' => '187'),\narray('id' => '7058','name' => '(EIE) - Yeniseysk Airport, Yeniseysk, Russia','country_id' => '187'),\narray('id' => '7059','name' => '(KJA) - Yemelyanovo Airport, Krasnoyarsk, Russia','country_id' => '187'),\narray('id' => '7060','name' => '(ACS) - Achinsk Airport, Achinsk, Russia','country_id' => '187'),\narray('id' => '7061','name' => '(KYZ) - Kyzyl Airport, Kyzyl, Russia','country_id' => '187'),\narray('id' => '7062','name' => '(OVB) - Tolmachevo Airport, Novosibirsk, Russia','country_id' => '187'),\narray('id' => '7063','name' => '(OMS) - Omsk Central Airport, Omsk, Russia','country_id' => '187'),\narray('id' => '7064','name' => '(SWT) - Strezhevoy Airport, Strezhevoy, Russia','country_id' => '187'),\narray('id' => '7065','name' => '(TOF) - Bogashevo Airport, Tomsk, Russia','country_id' => '187'),\narray('id' => '7066','name' => '(NOZ) - Spichenkovo Airport, Novokuznetsk, Russia','country_id' => '187'),\narray('id' => '7067','name' => '(DKS) - Dikson Airport, Dikson, Russia','country_id' => '187'),\narray('id' => '7068','name' => '(HTG) - Khatanga Airport, Khatanga, Russia','country_id' => '187'),\narray('id' => '7069','name' => '(IAA) - Igarka Airport, Igarka, Russia','country_id' => '187'),\narray('id' => '7070','name' => '(NSK) - Norilsk-Alykel Airport, Norilsk, Russia','country_id' => '187'),\narray('id' => '7071','name' => '(THX) - Turukhansk Airport, Turukhansk, Russia','country_id' => '187'),\narray('id' => '7072','name' => '(AAQ) - Anapa Vityazevo Airport, Anapa, Russia','country_id' => '187'),\narray('id' => '7073','name' => '(EIK) - Yeysk Airport, Yeysk, Russia','country_id' => '187'),\narray('id' => '7074','name' => '(GDZ) - Gelendzhik Airport, Gelendzhik, Russia','country_id' => '187'),\narray('id' => '7075','name' => '(KRR) - Krasnodar Pashkovsky International Airport, Krasnodar, Russia','country_id' => '187'),\narray('id' => '7076','name' => '(MCX) - Uytash Airport, Makhachkala, Russia','country_id' => '187'),\narray('id' => '7077','name' => '(MRV) - Mineralnyye Vody Airport, Mineralnyye Vody, Russia','country_id' => '187'),\narray('id' => '7078','name' => '(NAL) - Nalchik Airport, Nalchik, Russia','country_id' => '187'),\narray('id' => '7079','name' => '(OGZ) - Beslan Airport, Beslan, Russia','country_id' => '187'),\narray('id' => '7080','name' => '(IGT) - Magas Airport, Magas, Russia','country_id' => '187'),\narray('id' => '7081','name' => '(STW) - Stavropol Shpakovskoye Airport, Stavropol, Russia','country_id' => '187'),\narray('id' => '7082','name' => '(ROV) - Rostov-on-Don Airport, Rostov-on-Don, Russia','country_id' => '187'),\narray('id' => '7083','name' => '(TGK) - Taganrog Yuzhny Airport, Taganrog, Russia','country_id' => '187'),\narray('id' => '7084','name' => '(VLK) - Volgodonsk Airport, , Russia','country_id' => '187'),\narray('id' => '7085','name' => '(AER) - Sochi International Airport, Sochi, Russia','country_id' => '187'),\narray('id' => '7086','name' => '(ASF) - Astrakhan Airport, Astrakhan, Russia','country_id' => '187'),\narray('id' => '7087','name' => '(ESL) - Elista Airport, Elista, Russia','country_id' => '187'),\narray('id' => '7088','name' => '(VOG) - Volgograd International Airport, Volgograd, Russia','country_id' => '187'),\narray('id' => '7089','name' => '(RTL) - Spirit Lake Municipal Airport, Spirit Lake, United States','country_id' => '228'),\narray('id' => '7090','name' => '(CEK) - Chelyabinsk Balandino Airport, Chelyabinsk, Russia','country_id' => '187'),\narray('id' => '7091','name' => '(MQF) - Magnitogorsk International Airport, Magnitogorsk, Russia','country_id' => '187'),\narray('id' => '7092','name' => '(SLY) - Salekhard Airport, Salekhard, Russia','country_id' => '187'),\narray('id' => '7093','name' => '(YMK) - Mys Kamenny Airport, Mys Kamennyi, Russia','country_id' => '187'),\narray('id' => '7094','name' => '(KKQ) - Krasnoselkup Airport, Krasnoselkup, Russia','country_id' => '187'),\narray('id' => '7095','name' => '(TQL) - Tarko-Sale Airport, Tarko-Sale, Russia','country_id' => '187'),\narray('id' => '7096','name' => '(UEN) - Urengoy Airport, Urengoy, Russia','country_id' => '187'),\narray('id' => '7097','name' => '(EZV) - Berezovo Airport, , Russia','country_id' => '187'),\narray('id' => '7098','name' => '(HMA) - Khanty Mansiysk Airport, Khanty-Mansiysk, Russia','country_id' => '187'),\narray('id' => '7099','name' => '(IRM) - Igrim Airport, , Russia','country_id' => '187'),\narray('id' => '7100','name' => '(NYA) - Nyagan Airport, Nyagan, Russia','country_id' => '187'),\narray('id' => '7101','name' => '(OVS) - Sovetskiy Airport, Sovetskiy, Russia','country_id' => '187'),\narray('id' => '7102','name' => '(URJ) - Uray Airport, Uray, Russia','country_id' => '187'),\narray('id' => '7103','name' => '(EYK) - Beloyarskiy Airport, , Russia','country_id' => '187'),\narray('id' => '7104','name' => '(IJK) - Izhevsk Airport, Izhevsk, Russia','country_id' => '187'),\narray('id' => '7105','name' => '(KVX) - Pobedilovo Airport, Kirov, Russia','country_id' => '187'),\narray('id' => '7106','name' => '(NYM) - Nadym Airport, Nadym, Russia','country_id' => '187'),\narray('id' => '7107','name' => '(NUX) - Novy Urengoy Airport, Novy Urengoy, Russia','country_id' => '187'),\narray('id' => '7108','name' => '(NJC) - Nizhnevartovsk Airport, Nizhnevartovsk, Russia','country_id' => '187'),\narray('id' => '7109','name' => '(PEE) - Bolshoye Savino Airport, Perm, Russia','country_id' => '187'),\narray('id' => '7110','name' => '(KGP) - Kogalym International Airport, Kogalym, Russia','country_id' => '187'),\narray('id' => '7111','name' => '(NFG) - Nefteyugansk Airport, Nefteyugansk, Russia','country_id' => '187'),\narray('id' => '7112','name' => '(NOJ) - Noyabrsk Airport, Noyabrsk, Russia','country_id' => '187'),\narray('id' => '7113','name' => '(SGC) - Surgut Airport, Surgut, Russia','country_id' => '187'),\narray('id' => '7114','name' => '(SVX) - Koltsovo Airport, Yekaterinburg, Russia','country_id' => '187'),\narray('id' => '7115','name' => '(TOX) - Tobolsk Airport, Tobolsk, Russia','country_id' => '187'),\narray('id' => '7116','name' => '(TJM) - Roshchino International Airport, Tyumen, Russia','country_id' => '187'),\narray('id' => '7117','name' => '(KRO) - Kurgan Airport, Kurgan, Russia','country_id' => '187'),\narray('id' => '7118','name' => '(BKN) - Balkanabat Airport, Balkanabat, Turkmenistan','country_id' => '217'),\narray('id' => '7119','name' => '(GMV) - Monument Valley Airport, Goulding\\'s Lodge, United States','country_id' => '228'),\narray('id' => '7120','name' => '(ASB) - Ashgabat Airport, Ashgabat, Turkmenistan','country_id' => '217'),\narray('id' => '7121','name' => '(KRW) - Turkmenbashi Airport, Krasnovodsk, Turkmenistan','country_id' => '217'),\narray('id' => '7122','name' => '(MYP) - Mary Airport, Mary, Turkmenistan','country_id' => '217'),\narray('id' => '7123','name' => '(TAZ) - Daoguz Airport, Daoguz, Turkmenistan','country_id' => '217'),\narray('id' => '7124','name' => '(CRZ) - Turkmenabat Airport, TArkmenabat, Turkmenistan','country_id' => '217'),\narray('id' => '7125','name' => '(DYU) - Dushanbe Airport, Dushanbe, Tajikistan','country_id' => '214'),\narray('id' => '7126','name' => '(TJU) - Kulob Airport, Kulyab, Tajikistan','country_id' => '214'),\narray('id' => '7127','name' => '(LBD) - Khudzhand Airport, Khudzhand, Tajikistan','country_id' => '214'),\narray('id' => '7128','name' => '(KQT) - Qurghonteppa International Airport, Kurgan-Tyube, Tajikistan','country_id' => '214'),\narray('id' => '7129','name' => '(AZN) - Andizhan Airport, Andizhan, Uzbekistan','country_id' => '230'),\narray('id' => '7130','name' => '(FEG) - Fergana International Airport, Fergana, Uzbekistan','country_id' => '230'),\narray('id' => '7131','name' => '(NMA) - Namangan Airport, Namangan, Uzbekistan','country_id' => '230'),\narray('id' => '7132','name' => '(NCU) - Nukus Airport, Nukus, Uzbekistan','country_id' => '230'),\narray('id' => '7133','name' => '(UGC) - Urgench Airport, Urgench, Uzbekistan','country_id' => '230'),\narray('id' => '7134','name' => '(NVI) - Navoi Airport, Navoi, Uzbekistan','country_id' => '230'),\narray('id' => '7135','name' => '(BHK) - Bukhara Airport, Bukhara, Uzbekistan','country_id' => '230'),\narray('id' => '7136','name' => '(KSQ) - Karshi Khanabad Airport, Khanabad, Uzbekistan','country_id' => '230'),\narray('id' => '7137','name' => '(AFS) - Sugraly Airport, Zarafshan, Uzbekistan','country_id' => '230'),\narray('id' => '7138','name' => '(SKD) - Samarkand Airport, Samarkand, Uzbekistan','country_id' => '230'),\narray('id' => '7139','name' => '(TMJ) - Termez Airport, Termez, Uzbekistan','country_id' => '230'),\narray('id' => '7140','name' => '(TAS) - Tashkent International Airport, Tashkent, Uzbekistan','country_id' => '230'),\narray('id' => '7141','name' => '(UTU) - Ustupo Airport, Ustupo, Panama','country_id' => '169'),\narray('id' => '7142','name' => '(KMW) - Kostroma Sokerkino Airport, Kostroma, Russia','country_id' => '187'),\narray('id' => '7143','name' => '(KLF) - Grabtsevo Airport, Kaluga, Russia','country_id' => '187'),\narray('id' => '7144','name' => '(IWA) - Ivanovo South Airport, Ivanovo, Russia','country_id' => '187'),\narray('id' => '7145','name' => '(RYB) - Staroselye Airport, Rybinsk, Russia','country_id' => '187'),\narray('id' => '7146','name' => '(BZK) - Bryansk Airport, Bryansk, Russia','country_id' => '187'),\narray('id' => '7147','name' => '(ZIA) - Zhukovsky International Airport, Zhukovsky, Russia','country_id' => '187'),\narray('id' => '7148','name' => '(DME) - Domodedovo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7149','name' => '(IAR) - Tunoshna Airport, , Russia','country_id' => '187'),\narray('id' => '7150','name' => '(SVO) - Sheremetyevo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7151','name' => '(KLD) - Migalovo Air Base, Tver, Russia','country_id' => '187'),\narray('id' => '7152','name' => '(CKL) - Chkalovskiy Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7153','name' => '(EGO) - Belgorod International Airport, Belgorod, Russia','country_id' => '187'),\narray('id' => '7154','name' => '(URS) - Kursk East Airport, Kursk, Russia','country_id' => '187'),\narray('id' => '7155','name' => '(LPK) - Lipetsk Airport, Lipetsk, Russia','country_id' => '187'),\narray('id' => '7156','name' => '(VOZ) - Voronezh International Airport, Voronezh, Russia','country_id' => '187'),\narray('id' => '7157','name' => '(OEL) - Oryol Yuzhny Airport, Orel, Russia','country_id' => '187'),\narray('id' => '7158','name' => '(TBW) - Donskoye Airport, Tambov, Russia','country_id' => '187'),\narray('id' => '7159','name' => '(UUU) - Manumu Airport, Manumu, Papua New Guinea','country_id' => '172'),\narray('id' => '7160','name' => '(RZN) - Turlatovo Airport, Ryazan, Russia','country_id' => '187'),\narray('id' => '7161','name' => '(TYA) - Klokovo Airfield, Tula, Russia','country_id' => '187'),\narray('id' => '7162','name' => '(VKO) - Vnukovo International Airport, Moscow, Russia','country_id' => '187'),\narray('id' => '7163','name' => '(UCT) - Ukhta Airport, Ukhta, Russia','country_id' => '187'),\narray('id' => '7164','name' => '(INA) - Inta Airport, Inta, Russia','country_id' => '187'),\narray('id' => '7165','name' => '(PEX) - Pechora Airport, Pechora, Russia','country_id' => '187'),\narray('id' => '7166','name' => '(USK) - Usinsk Airport, Usinsk, Russia','country_id' => '187'),\narray('id' => '7167','name' => '(VKT) - Vorkuta Airport, Vorkuta, Russia','country_id' => '187'),\narray('id' => '7168','name' => '(UTS) - Ust-Tsylma Airport, Ust-Tsylma, Russia','country_id' => '187'),\narray('id' => '7169','name' => '(SCW) - Syktyvkar Airport, Syktyvkar, Russia','country_id' => '187'),\narray('id' => '7170','name' => '(GOJ) - Nizhny Novgorod Strigino International Airport, Nizhny Novgorod, Russia','country_id' => '187'),\narray('id' => '7171','name' => '(UUA) - Bugulma Airport, Bugulma, Russia','country_id' => '187'),\narray('id' => '7172','name' => '(KZN) - Kazan International Airport, Kazan, Russia','country_id' => '187'),\narray('id' => '7173','name' => '(NBC) - Begishevo Airport, Nizhnekamsk, Russia','country_id' => '187'),\narray('id' => '7174','name' => '(JOK) - Yoshkar-Ola Airport, Yoshkar-Ola, Russia','country_id' => '187'),\narray('id' => '7175','name' => '(CSY) - Cheboksary Airport, Cheboksary, Russia','country_id' => '187'),\narray('id' => '7176','name' => '(ZIX) - Zhigansk Airport, Zhigansk, Russia','country_id' => '187'),\narray('id' => '7177','name' => '(ULV) - Ulyanovsk Baratayevka Airport, Ulyanovsk, Russia','country_id' => '187'),\narray('id' => '7178','name' => '(ULY) - Ulyanovsk East Airport, Ulyanovsk, Russia','country_id' => '187'),\narray('id' => '7179','name' => '(REN) - Orenburg Central Airport, Orenburg, Russia','country_id' => '187'),\narray('id' => '7180','name' => '(OSW) - Orsk Airport, Orsk, Russia','country_id' => '187'),\narray('id' => '7181','name' => '(PEZ) - Penza Airport, Penza, Russia','country_id' => '187'),\narray('id' => '7182','name' => '(SKX) - Saransk Airport, Saransk, Russia','country_id' => '187'),\narray('id' => '7183','name' => '(BWO) - Balakovo Airport, Balakovo, Russia','country_id' => '187'),\narray('id' => '7184','name' => '(RTW) - Saratov Central Airport, Saratov, Russia','country_id' => '187'),\narray('id' => '7185','name' => '(BCX) - Beloretsk Airport, Beloretsk, Russia','country_id' => '187'),\narray('id' => '7186','name' => '(NEF) - Neftekamsk Airport, Neftekamsk, Russia','country_id' => '187'),\narray('id' => '7187','name' => '(OKT) - Oktyabrskiy Airport, Kzyl-Yar, Russia','country_id' => '187'),\narray('id' => '7188','name' => '(UFA) - Ufa International Airport, Ufa, Russia','country_id' => '187'),\narray('id' => '7189','name' => '(KUF) - Kurumoch International Airport, Samara, Russia','country_id' => '187'),\narray('id' => '7190','name' => '(FZB) - Fray Bentos Airport, Fray Bentos, Uruguay','country_id' => '229'),\narray('id' => '7191','name' => '(RCH) - Rocha Airport, Rocha, Uruguay','country_id' => '229'),\narray('id' => '7192','name' => '(UZM) - Hope Bay Aerodrome, Hope Bay, Canada','country_id' => '35'),\narray('id' => '7193','name' => '(UZR) - Urzhar Airport, Urzhar, Kazakhstan','country_id' => '121'),\narray('id' => '7194','name' => '(REW) - Chorhata Airport, Rewa, India','country_id' => '101'),\narray('id' => '7195','name' => '(DIU) - Diu Airport, Diu, India','country_id' => '101'),\narray('id' => '7196','name' => '(AMD) - Sardar Vallabhbhai Patel International Airport, Ahmedabad, India','country_id' => '101'),\narray('id' => '7197','name' => '(AKD) - Akola Airport, , India','country_id' => '101'),\narray('id' => '7198','name' => '(IXU) - Aurangabad Airport, Aurangabad, India','country_id' => '101'),\narray('id' => '7199','name' => '(BOM) - Chhatrapati Shivaji International Airport, Mumbai, India','country_id' => '101'),\narray('id' => '7200','name' => '(PAB) - Bilaspur Airport, , India','country_id' => '101'),\narray('id' => '7201','name' => '(BHJ) - Bhuj Airport, Bhuj, India','country_id' => '101'),\narray('id' => '7202','name' => '(IXG) - Belgaum Airport, Belgaum, India','country_id' => '101'),\narray('id' => '7203','name' => '(BDQ) - Vadodara Airport, Vadodara, India','country_id' => '101'),\narray('id' => '7204','name' => '(BHO) - Raja Bhoj International Airport, Bhopal, India','country_id' => '101'),\narray('id' => '7205','name' => '(BHU) - Bhavnagar Airport, Bhavnagar, India','country_id' => '101'),\narray('id' => '7206','name' => '(NMB) - Daman Airport, , India','country_id' => '101'),\narray('id' => '7207','name' => '(GUX) - Guna Airport, , India','country_id' => '101'),\narray('id' => '7208','name' => '(GOI) - Dabolim Airport, Vasco da Gama, India','country_id' => '101'),\narray('id' => '7209','name' => '(HBX) - Hubli Airport, Hubli, India','country_id' => '101'),\narray('id' => '7210','name' => '(IDR) - Devi Ahilyabai Holkar Airport, Indore, India','country_id' => '101'),\narray('id' => '7211','name' => '(JLR) - Jabalpur Airport, , India','country_id' => '101'),\narray('id' => '7212','name' => '(JGA) - Jamnagar Airport, Jamnagar, India','country_id' => '101'),\narray('id' => '7213','name' => '(IXY) - Kandla Airport, Kandla, India','country_id' => '101'),\narray('id' => '7214','name' => '(HJR) - Khajuraho Airport, Khajuraho, India','country_id' => '101'),\narray('id' => '7215','name' => '(KLH) - Kolhapur Airport, , India','country_id' => '101'),\narray('id' => '7216','name' => '(IXK) - Keshod Airport, , India','country_id' => '101'),\narray('id' => '7217','name' => '(NDC) - Nanded Airport, Nanded, India','country_id' => '101'),\narray('id' => '7218','name' => '(NAG) - Dr. Babasaheb Ambedkar International Airport, Naqpur, India','country_id' => '101'),\narray('id' => '7219','name' => '(ISK) - Ozar Airport, Nasik, India','country_id' => '101'),\narray('id' => '7220','name' => '(PNQ) - Pune Airport, Pune, India','country_id' => '101'),\narray('id' => '7221','name' => '(PBD) - Porbandar Airport, Porbandar, India','country_id' => '101'),\narray('id' => '7222','name' => '(RTC) - Ratnagiri Airport, , India','country_id' => '101'),\narray('id' => '7223','name' => '(RAJ) - Rajkot Airport, Rajkot, India','country_id' => '101'),\narray('id' => '7224','name' => '(RPR) - Raipur Airport, Raipur, India','country_id' => '101'),\narray('id' => '7225','name' => '(SSE) - Solapur Airport, Solapur, India','country_id' => '101'),\narray('id' => '7226','name' => '(STV) - Surat Airport, , India','country_id' => '101'),\narray('id' => '7227','name' => '(UDR) - Maharana Pratap Airport, Udaipur, India','country_id' => '101'),\narray('id' => '7228','name' => '(CMB) - Bandaranaike International Colombo Airport, Colombo, Sri Lanka','country_id' => '126'),\narray('id' => '7229','name' => '(ACJ) - Anuradhapura Air Force Base, Anuradhapura, Sri Lanka','country_id' => '126'),\narray('id' => '7230','name' => '(BTC) - Batticaloa Airport, Batticaloa, Sri Lanka','country_id' => '126'),\narray('id' => '7231','name' => '(RML) - Colombo Ratmalana Airport, Colombo, Sri Lanka','country_id' => '126'),\narray('id' => '7232','name' => '(ADP) - Ampara Airport, Ampara, Sri Lanka','country_id' => '126'),\narray('id' => '7233','name' => '(HIM) - Hingurakgoda Air Force Base, Polonnaruwa Town, Sri Lanka','country_id' => '126'),\narray('id' => '7234','name' => '(JAF) - Kankesanturai Airport, Jaffna, Sri Lanka','country_id' => '126'),\narray('id' => '7235','name' => '(KCT) - Koggala Airport, Galle, Sri Lanka','country_id' => '126'),\narray('id' => '7236','name' => '(KTY) - Katukurunda Air Force Base, Kalutara, Sri Lanka','country_id' => '126'),\narray('id' => '7237','name' => '(GIU) - Sigiriya Air Force Base, Sigiriya, Sri Lanka','country_id' => '126'),\narray('id' => '7238','name' => '(TRR) - China Bay Airport, Trincomalee, Sri Lanka','country_id' => '126'),\narray('id' => '7239','name' => '(WRZ) - Weerawila Airport, Weerawila, Sri Lanka','country_id' => '126'),\narray('id' => '7240','name' => '(HRI) - Mattala Rajapaksa International Airport, , Sri Lanka','country_id' => '126'),\narray('id' => '7241','name' => '(BBM) - Battambang Airport, Battambang, Cambodia','country_id' => '113'),\narray('id' => '7242','name' => '(KZC) - Kampong Chhnang Airport, Kampong Chhnang, Cambodia','country_id' => '113'),\narray('id' => '7243','name' => '(KKZ) - Kaoh Kong Airport, Kaoh Kong, Cambodia','country_id' => '113'),\narray('id' => '7244','name' => '(KTI) - Kratie Airport, Kratie, Cambodia','country_id' => '113'),\narray('id' => '7245','name' => '(PNH) - Phnom Penh International Airport, Phnom Penh, Cambodia','country_id' => '113'),\narray('id' => '7246','name' => '(RBE) - Ratanakiri Airport, Ratanakiri, Cambodia','country_id' => '113'),\narray('id' => '7247','name' => '(REP) - Siem Reap International Airport, Siem Reap, Cambodia','country_id' => '113'),\narray('id' => '7248','name' => '(TNX) - Stung Treng Airport, Stung Treng, Cambodia','country_id' => '113'),\narray('id' => '7249','name' => '(KOS) - Sihanoukville International Airport, Sihanukville, Cambodia','country_id' => '113'),\narray('id' => '7250','name' => '(KZD) - Krakor Airport, Krakor, Cambodia','country_id' => '113'),\narray('id' => '7251','name' => '(LGY) - Lagunillas Airport, Lagunillas, Venezuela','country_id' => '233'),\narray('id' => '7252','name' => '(KTV) - Kamarata Airport, Kamarata, Venezuela','country_id' => '233'),\narray('id' => '7253','name' => '(LAG) - La Guaira Airport, La Guaira, Venezuela','country_id' => '233'),\narray('id' => '7254','name' => '(SFX) - Macagua Airport, Ciudad Guayana, Venezuela','country_id' => '233'),\narray('id' => '7255','name' => '(SVV) - San Salvador de Paul Airport, San Salvador de Paul, Venezuela','country_id' => '233'),\narray('id' => '7256','name' => '(WOK) - Wonken Airport, Wonken, Venezuela','country_id' => '233'),\narray('id' => '7257','name' => '(IXV) - Along Airport, , India','country_id' => '101'),\narray('id' => '7258','name' => '(IXA) - Agartala Airport, Agartala, India','country_id' => '101'),\narray('id' => '7259','name' => '(IXB) - Bagdogra Airport, Siliguri, India','country_id' => '101'),\narray('id' => '7260','name' => '(RGH) - Balurghat Airport, Balurghat, India','country_id' => '101'),\narray('id' => '7261','name' => '(SHL) - Shillong Airport, Shillong, India','country_id' => '101'),\narray('id' => '7262','name' => '(BBI) - Biju Patnaik Airport, Bhubaneswar, India','country_id' => '101'),\narray('id' => '7263','name' => '(CCU) - Netaji Subhash Chandra Bose International Airport, Kolkata, India','country_id' => '101'),\narray('id' => '7264','name' => '(COH) - Cooch Behar Airport, , India','country_id' => '101'),\narray('id' => '7265','name' => '(DBD) - Dhanbad Airport, , India','country_id' => '101'),\narray('id' => '7266','name' => '(RDP) - Kazi Nazrul Islam Airport, Durgapur, India','country_id' => '101'),\narray('id' => '7267','name' => '(DEP) - Daporijo Airport, Daporijo, India','country_id' => '101'),\narray('id' => '7268','name' => '(GOP) - Gorakhpur Airport, Gorakhpur, India','country_id' => '101'),\narray('id' => '7269','name' => '(GAU) - Lokpriya Gopinath Bordoloi International Airport, Guwahati, India','country_id' => '101'),\narray('id' => '7270','name' => '(GAY) - Gaya Airport, , India','country_id' => '101'),\narray('id' => '7271','name' => '(IMF) - Imphal Airport, Imphal, India','country_id' => '101'),\narray('id' => '7272','name' => '(PYB) - Jeypore Airport, Jeypore, India','country_id' => '101'),\narray('id' => '7273','name' => '(IXW) - Jamshedpur Airport, , India','country_id' => '101'),\narray('id' => '7274','name' => '(JRH) - Jorhat Airport, Jorhat, India','country_id' => '101'),\narray('id' => '7275','name' => '(IXQ) - Kamalpur Airport, , India','country_id' => '101'),\narray('id' => '7276','name' => '(IXH) - Kailashahar Airport, , India','country_id' => '101'),\narray('id' => '7277','name' => '(IXS) - Silchar Airport, Silchar, India','country_id' => '101'),\narray('id' => '7278','name' => '(IXN) - Khowai Airport, Khowai, India','country_id' => '101'),\narray('id' => '7279','name' => '(AJL) - Lengpui Airport, Aizawl, India','country_id' => '101'),\narray('id' => '7280','name' => '(IXI) - North Lakhimpur Airport, Lilabari, India','country_id' => '101'),\narray('id' => '7281','name' => '(LDA) - Malda Airport, Malda, India','country_id' => '101'),\narray('id' => '7282','name' => '(DIB) - Dibrugarh Airport, Dibrugarh, India','country_id' => '101'),\narray('id' => '7283','name' => '(DMU) - Dimapur Airport, Dimapur, India','country_id' => '101'),\narray('id' => '7284','name' => '(MZU) - Muzaffarpur Airport, , India','country_id' => '101'),\narray('id' => '7285','name' => '(IXT) - Pasighat Airport, Pasighat, India','country_id' => '101'),\narray('id' => '7286','name' => '(PAT) - Lok Nayak Jayaprakash Airport, Patna, India','country_id' => '101'),\narray('id' => '7287','name' => '(IXR) - Birsa Munda Airport, Ranchi, India','country_id' => '101'),\narray('id' => '7288','name' => '(RRK) - Rourkela Airport, , India','country_id' => '101'),\narray('id' => '7289','name' => '(RUP) - Rupsi India Airport, , India','country_id' => '101'),\narray('id' => '7290','name' => '(TEZ) - Tezpur Airport, , India','country_id' => '101'),\narray('id' => '7291','name' => '(VTZ) - Vishakhapatnam Airport, Visakhapatnam, India','country_id' => '101'),\narray('id' => '7292','name' => '(ZER) - Zero Airport, , India','country_id' => '101'),\narray('id' => '7293','name' => '(BZL) - Barisal Airport, Barisal, Bangladesh','country_id' => '17'),\narray('id' => '7294','name' => '(CXB) - Cox\\'s Bazar Airport, Cox\\'s Bazar, Bangladesh','country_id' => '17'),\narray('id' => '7295','name' => '(CLA) - Comilla Airport, Comilla, Bangladesh','country_id' => '17'),\narray('id' => '7296','name' => '(CGP) - Shah Amanat International Airport, Chittagong, Bangladesh','country_id' => '17'),\narray('id' => '7297','name' => '(IRD) - Ishurdi Airport, Ishurdi, Bangladesh','country_id' => '17'),\narray('id' => '7298','name' => '(JSR) - Jessore Airport, Jashahor, Bangladesh','country_id' => '17'),\narray('id' => '7299','name' => '(LLJ) - Lalmonirhat Airport, Lalmonirhat, Bangladesh','country_id' => '17'),\narray('id' => '7300','name' => '(RJH) - Shah Mokhdum Airport, Rajshahi, Bangladesh','country_id' => '17'),\narray('id' => '7301','name' => '(SPD) - Saidpur Airport, Saidpur, Bangladesh','country_id' => '17'),\narray('id' => '7302','name' => '(TKR) - Thakurgaon Airport, Thakurgaon, Bangladesh','country_id' => '17'),\narray('id' => '7303','name' => '(ZHM) - Shamshernagar Airport, Shamshernagar, Bangladesh','country_id' => '17'),\narray('id' => '7304','name' => '(ZYL) - Osmany International Airport, Sylhet, Bangladesh','country_id' => '17'),\narray('id' => '7305','name' => '(DAC) - Dhaka / Hazrat Shahjalal International Airport, Dhaka, Bangladesh','country_id' => '17'),\narray('id' => '7306','name' => '(HKG) - Chek Lap Kok International Airport, Hong Kong, Hong Kong','country_id' => '92'),\narray('id' => '7307','name' => '(AGR) - Agra Airport, , India','country_id' => '101'),\narray('id' => '7308','name' => '(IXD) - Allahabad Airport, Allahabad, India','country_id' => '101'),\narray('id' => '7309','name' => '(ATQ) - Sri Guru Ram Dass Jee International Airport, Amritsar, India','country_id' => '101'),\narray('id' => '7310','name' => '(BKB) - Nal Airport, Bikaner, India','country_id' => '101'),\narray('id' => '7311','name' => '(VNS) - Lal Bahadur Shastri Airport, Varanasi, India','country_id' => '101'),\narray('id' => '7312','name' => '(KUU) - Kullu Manali Airport, , India','country_id' => '101'),\narray('id' => '7313','name' => '(BUP) - Bhatinda Air Force Station, , India','country_id' => '101'),\narray('id' => '7314','name' => '(BEK) - Bareilly Air Force Station, Bareilly, India','country_id' => '101'),\narray('id' => '7315','name' => '(IXC) - Chandigarh Airport, Chandigarh, India','country_id' => '101'),\narray('id' => '7316','name' => '(DED) - Dehradun Airport, Dehradun, India','country_id' => '101'),\narray('id' => '7317','name' => '(DEL) - Indira Gandhi International Airport, New Delhi, India','country_id' => '101'),\narray('id' => '7318','name' => '(DHM) - Kangra Airport, , India','country_id' => '101'),\narray('id' => '7319','name' => '(GWL) - Gwalior Airport, Gwalior, India','country_id' => '101'),\narray('id' => '7320','name' => '(HSS) - Hissar Airport, , India','country_id' => '101'),\narray('id' => '7321','name' => '(JDH) - Jodhpur Airport, Jodhpur, India','country_id' => '101'),\narray('id' => '7322','name' => '(JAI) - Jaipur International Airport, Jaipur, India','country_id' => '101'),\narray('id' => '7323','name' => '(JSA) - Jaisalmer Airport, , India','country_id' => '101'),\narray('id' => '7324','name' => '(IXJ) - Jammu Airport, Jammu, India','country_id' => '101'),\narray('id' => '7325','name' => '(KNU) - Kanpur Airport, , India','country_id' => '101'),\narray('id' => '7326','name' => '(KTU) - Kota Airport, Kota, India','country_id' => '101'),\narray('id' => '7327','name' => '(LUH) - Ludhiana Airport, , India','country_id' => '101'),\narray('id' => '7328','name' => '(IXL) - Leh Kushok Bakula Rimpochee Airport, Leh, India','country_id' => '101'),\narray('id' => '7329','name' => '(LKO) - Chaudhary Charan Singh International Airport, Lucknow, India','country_id' => '101'),\narray('id' => '7330','name' => '(IXP) - Pathankot Air Force Station, , India','country_id' => '101'),\narray('id' => '7331','name' => '(PGH) - Pantnagar Airport, Pantnagar, India','country_id' => '101'),\narray('id' => '7332','name' => '(SLV) - Shimla Airport, , India','country_id' => '101'),\narray('id' => '7333','name' => '(SXR) - Sheikh ul Alam Airport, Srinagar, India','country_id' => '101'),\narray('id' => '7334','name' => '(TNI) - Satna Airport, , India','country_id' => '101'),\narray('id' => '7335','name' => '(VIV) - Vivigani Airfield, Vivigani, Papua New Guinea','country_id' => '172'),\narray('id' => '7336','name' => '(VJQ) - Gurue Airport, Gurue, Mozambique','country_id' => '155'),\narray('id' => '7337','name' => '(AOU) - Attopeu Airport, Attopeu, Laos','country_id' => '122'),\narray('id' => '7338','name' => '(HOE) - Ban Huoeisay Airport, Huay Xai, Laos','country_id' => '122'),\narray('id' => '7339','name' => '(LPQ) - Luang Phabang International Airport, Luang Phabang, Laos','country_id' => '122'),\narray('id' => '7340','name' => '(LXG) - Luang Namtha Airport, Luang Namtha, Laos','country_id' => '122'),\narray('id' => '7341','name' => '(ODY) - Oudomsay Airport, Oudomsay, Laos','country_id' => '122'),\narray('id' => '7342','name' => '(PKZ) - Pakse International Airport, Pakse, Laos','country_id' => '122'),\narray('id' => '7343','name' => '(ZBY) - Sayaboury Airport, Sainyabuli, Laos','country_id' => '122'),\narray('id' => '7344','name' => '(ZVK) - Savannakhet Airport, , Laos','country_id' => '122'),\narray('id' => '7345','name' => '(NEU) - Sam Neua Airport, , Laos','country_id' => '122'),\narray('id' => '7346','name' => '(VNA) - Saravane Airport, Saravane, Laos','country_id' => '122'),\narray('id' => '7347','name' => '(THK) - Thakhek Airport, Thakhek, Laos','country_id' => '122'),\narray('id' => '7348','name' => '(VTE) - Wattay International Airport, Vientiane, Laos','country_id' => '122'),\narray('id' => '7349','name' => '(XKH) - Xieng Khouang Airport, Xieng Khouang, Laos','country_id' => '122'),\narray('id' => '7350','name' => '(XIE) - Xienglom Airport, Xienglom, Laos','country_id' => '122'),\narray('id' => '7351','name' => '(VMI) - Dr Juan Plate Airport, Puerto Vallemi, Paraguay','country_id' => '182'),\narray('id' => '7352','name' => '(MFM) - Macau International Airport, Taipa, Macau','country_id' => '144'),\narray('id' => '7353','name' => '(VDH) - Dong Hoi Airport, Dong Hoi, Vietnam','country_id' => '236'),\narray('id' => '7354','name' => '(KON) - Kontum Airport, Kontum, Vietnam','country_id' => '236'),\narray('id' => '7355','name' => '(BJH) - Bajhang Airport, Bajhang, Nepal','country_id' => '164'),\narray('id' => '7356','name' => '(BHP) - Bhojpur Airport, Bhojpur, Nepal','country_id' => '164'),\narray('id' => '7357','name' => '(BGL) - Baglung Airport, Baglung, Nepal','country_id' => '164'),\narray('id' => '7358','name' => '(BHR) - Bharatpur Airport, Bharatpur, Nepal','country_id' => '164'),\narray('id' => '7359','name' => '(BJU) - Bajura Airport, Bajura, Nepal','country_id' => '164'),\narray('id' => '7360','name' => '(BIT) - Baitadi Airport, Baitadi, Nepal','country_id' => '164'),\narray('id' => '7361','name' => '(BWA) - Gautam Buddha Airport, Bhairawa, Nepal','country_id' => '164'),\narray('id' => '7362','name' => '(BDP) - Bhadrapur Airport, Bhadrapur, Nepal','country_id' => '164'),\narray('id' => '7363','name' => '(DNP) - Tulsipur Airport, Dang, Nepal','country_id' => '164'),\narray('id' => '7364','name' => '(DHI) - Dhangarhi Airport, Dhangarhi, Nepal','country_id' => '164'),\narray('id' => '7365','name' => '(DAP) - Darchula Airport, Darchula, Nepal','country_id' => '164'),\narray('id' => '7366','name' => '(DOP) - Dolpa Airport, Dolpa, Nepal','country_id' => '164'),\narray('id' => '7367','name' => '(SIH) - Silgadi Doti Airport, Silgadi Doti, Nepal','country_id' => '164'),\narray('id' => '7368','name' => '(GKH) - Palungtar Airport, Gorkha, Nepal','country_id' => '164'),\narray('id' => '7369','name' => '(JIR) - Jiri Airport, Jiri, Nepal','country_id' => '164'),\narray('id' => '7370','name' => '(JUM) - Jumla Airport, Jumla, Nepal','country_id' => '164'),\narray('id' => '7371','name' => '(JKR) - Janakpur Airport, Janakpur, Nepal','country_id' => '164'),\narray('id' => '7372','name' => '(JMO) - Jomsom Airport, Jomsom, Nepal','country_id' => '164'),\narray('id' => '7373','name' => '(KTM) - Tribhuvan International Airport, Kathmandu, Nepal','country_id' => '164'),\narray('id' => '7374','name' => '(LDN) - Lamidanda Airport, Lamidanda, Nepal','country_id' => '164'),\narray('id' => '7375','name' => '(LUA) - Lukla Airport, Lukla, Nepal','country_id' => '164'),\narray('id' => '7376','name' => '(LTG) - Langtang Airport, Langtang, Nepal','country_id' => '164'),\narray('id' => '7377','name' => '(NGX) - Manang Airport, Ngawal, Nepal','country_id' => '164'),\narray('id' => '7378','name' => '(MEY) - Meghauli Airport, Meghauli, Nepal','country_id' => '164'),\narray('id' => '7379','name' => '(XMG) - Mahendranagar Airport, Mahendranagar, Nepal','country_id' => '164'),\narray('id' => '7380','name' => '(KEP) - Nepalgunj Airport, Nepalgunj, Nepal','country_id' => '164'),\narray('id' => '7381','name' => '(PKR) - Pokhara Airport, Pokhara, Nepal','country_id' => '164'),\narray('id' => '7382','name' => '(PPL) - Phaplu Airport, Phaplu, Nepal','country_id' => '164'),\narray('id' => '7383','name' => '(RJB) - Rajbiraj Airport, Rajbiraj, Nepal','country_id' => '164'),\narray('id' => '7384','name' => '(RHP) - Ramechhap Airport, Ramechhap, Nepal','country_id' => '164'),\narray('id' => '7385','name' => '(RUK) - Rukumkot Airport, Rukumkot, Nepal','country_id' => '164'),\narray('id' => '7386','name' => '(RPA) - Rolpa Airport, Rolpa, Nepal','country_id' => '164'),\narray('id' => '7387','name' => '(RUM) - Rumjatar Airport, Rumjatar, Nepal','country_id' => '164'),\narray('id' => '7388','name' => '(SYH) - Syangboche Airport, Namche Bazaar, Nepal','country_id' => '164'),\narray('id' => '7389','name' => '(SIF) - Simara Airport, Simara, Nepal','country_id' => '164'),\narray('id' => '7390','name' => '(SKH) - Surkhet Airport, Surkhet, Nepal','country_id' => '164'),\narray('id' => '7391','name' => '(FEB) - Sanfebagar Airport, Sanfebagar, Nepal','country_id' => '164'),\narray('id' => '7392','name' => '(IMK) - Simikot Airport, Simikot, Nepal','country_id' => '164'),\narray('id' => '7393','name' => '(TPJ) - Taplejung Airport, Taplejung, Nepal','country_id' => '164'),\narray('id' => '7394','name' => '(TPU) - Tikapur Airport, Tikapur, Nepal','country_id' => '164'),\narray('id' => '7395','name' => '(TMI) - Tumling Tar Airport, Tumling Tar, Nepal','country_id' => '164'),\narray('id' => '7396','name' => '(BIR) - Biratnagar Airport, Biratnagar, Nepal','country_id' => '164'),\narray('id' => '7397','name' => '(LTU) - Murod Kond Airport, Latur, India','country_id' => '101'),\narray('id' => '7398','name' => '(AGX) - Agatti Airport, , India','country_id' => '101'),\narray('id' => '7399','name' => '(BEP) - Bellary Airport, Bellary, India','country_id' => '101'),\narray('id' => '7400','name' => '(BLR) - Kempegowda International Airport, Bangalore, India','country_id' => '101'),\narray('id' => '7401','name' => '(VGA) - Vijayawada Airport, , India','country_id' => '101'),\narray('id' => '7402','name' => '(CJB) - Coimbatore International Airport, Coimbatore, India','country_id' => '101'),\narray('id' => '7403','name' => '(COK) - Cochin International Airport, Cochin, India','country_id' => '101'),\narray('id' => '7404','name' => '(CCJ) - Calicut International Airport, Calicut, India','country_id' => '101'),\narray('id' => '7405','name' => '(CDP) - Cuddapah Airport, , India','country_id' => '101'),\narray('id' => '7406','name' => '(CBD) - Car Nicobar Air Force Station, , India','country_id' => '101'),\narray('id' => '7407','name' => '(HYD) - Rajiv Gandhi International Airport, Hyderabad, India','country_id' => '101'),\narray('id' => '7408','name' => '(BPM) - Begumpet Airport, Hyderabad, India','country_id' => '101'),\narray('id' => '7409','name' => '(IXM) - Madurai Airport, Madurai, India','country_id' => '101'),\narray('id' => '7410','name' => '(IXE) - Mangalore International Airport, Mangalore, India','country_id' => '101'),\narray('id' => '7411','name' => '(MAA) - Chennai International Airport, Chennai, India','country_id' => '101'),\narray('id' => '7412','name' => '(MYQ) - Mysore Airport, Mysore, India','country_id' => '101'),\narray('id' => '7413','name' => '(IXZ) - Vir Savarkar International Airport, Port Blair, India','country_id' => '101'),\narray('id' => '7414','name' => '(PNY) - Pondicherry Airport, , India','country_id' => '101'),\narray('id' => '7415','name' => '(PUT) - Sri Sathya Sai Airport, Puttaparthi, India','country_id' => '101'),\narray('id' => '7416','name' => '(RMD) - Basanth Nagar Airport, Ramagundam, India','country_id' => '101'),\narray('id' => '7417','name' => '(RJA) - Rajahmundry Airport, Rajahmundry, India','country_id' => '101'),\narray('id' => '7418','name' => '(SXV) - Salem Airport, Salem, India','country_id' => '101'),\narray('id' => '7419','name' => '(TJV) - Tanjore Air Force Base, Thanjavur, India','country_id' => '101'),\narray('id' => '7420','name' => '(TIR) - Tirupati Airport, Tirupati, India','country_id' => '101'),\narray('id' => '7421','name' => '(TRZ) - Tiruchirapally Civil Airport Airport, Tiruchirappally, India','country_id' => '101'),\narray('id' => '7422','name' => '(TRV) - Trivandrum International Airport, Thiruvananthapuram, India','country_id' => '101'),\narray('id' => '7423','name' => '(WGC) - Warangal Airport, Warrangal, India','country_id' => '101'),\narray('id' => '7424','name' => '(YON) - Yongphulla Airport, Tashigang, Bhutan','country_id' => '31'),\narray('id' => '7425','name' => '(BUT) - Bathpalathang Airport, Jakar, Bhutan','country_id' => '31'),\narray('id' => '7426','name' => '(GLU) - Gelephu Airport, Gelephu, Bhutan','country_id' => '31'),\narray('id' => '7427','name' => '(PBH) - Paro Airport, Paro, Bhutan','country_id' => '31'),\narray('id' => '7428','name' => '(IFU) - Ifuru Airport, Ifuru Island, Maldives','country_id' => '151'),\narray('id' => '7429','name' => '(DRV) - Dharavandhoo Airport, Baa Atoll, Maldives','country_id' => '151'),\narray('id' => '7430','name' => '(FVM) - Fuvahmulah Airport, Fuvahmulah Island, Maldives','country_id' => '151'),\narray('id' => '7431','name' => '(GAN) - Gan International Airport, Gan, Maldives','country_id' => '151'),\narray('id' => '7432','name' => '(HAQ) - Hanimaadhoo Airport, Haa Dhaalu Atoll, Maldives','country_id' => '151'),\narray('id' => '7433','name' => '(KDO) - Kadhdhoo Airport, Kadhdhoo, Maldives','country_id' => '151'),\narray('id' => '7434','name' => '(MLE) - MalA International Airport, MalA, Maldives','country_id' => '151'),\narray('id' => '7435','name' => '(GKK) - Kooddoo Airport, Huvadhu Atoll, Maldives','country_id' => '151'),\narray('id' => '7436','name' => '(KDM) - Kaadedhdhoo Airport, Huvadhu Atoll, Maldives','country_id' => '151'),\narray('id' => '7437','name' => '(VAM) - Villa Airport, Maamigili, Maldives','country_id' => '151'),\narray('id' => '7438','name' => '(TMF) - Thimarafushi Airport, Thimarafushi, Maldives','country_id' => '151'),\narray('id' => '7439','name' => '(DMK) - Don Mueang International Airport, Bangkok, Thailand','country_id' => '213'),\narray('id' => '7440','name' => '(KKM) - Sa Pran Nak Airport, , Thailand','country_id' => '213'),\narray('id' => '7441','name' => '(KDT) - Kamphaeng Saen Airport, Nakhon Pathom, Thailand','country_id' => '213'),\narray('id' => '7442','name' => '(TDX) - Trat Airport, , Thailand','country_id' => '213'),\narray('id' => '7443','name' => '(BKK) - Suvarnabhumi Airport, Bangkok, Thailand','country_id' => '213'),\narray('id' => '7444','name' => '(UTP) - U-Tapao International Airport, Rayong, Thailand','country_id' => '213'),\narray('id' => '7445','name' => '(CNX) - Chiang Mai International Airport, Chiang Mai, Thailand','country_id' => '213'),\narray('id' => '7446','name' => '(HGN) - Mae Hong Son Airport, , Thailand','country_id' => '213'),\narray('id' => '7447','name' => '(PYY) - Mae Hong Son Airport, Mae Hong Son, Thailand','country_id' => '213'),\narray('id' => '7448','name' => '(LPT) - Lampang Airport, , Thailand','country_id' => '213'),\narray('id' => '7449','name' => '(NNT) - Nan Airport, , Thailand','country_id' => '213'),\narray('id' => '7450','name' => '(PRH) - Phrae Airport, , Thailand','country_id' => '213'),\narray('id' => '7451','name' => '(CEI) - Chiang Rai International Airport, Chiang Rai, Thailand','country_id' => '213'),\narray('id' => '7452','name' => '(BAO) - Udorn Air Base, Ban Mak Khaen, Thailand','country_id' => '213'),\narray('id' => '7453','name' => '(PHY) - Phetchabun Airport, , Thailand','country_id' => '213'),\narray('id' => '7454','name' => '(HHQ) - Hua Hin Airport, Hua Hin, Thailand','country_id' => '213'),\narray('id' => '7455','name' => '(TKH) - Takhli Airport, , Thailand','country_id' => '213'),\narray('id' => '7456','name' => '(MAQ) - Mae Sot Airport, , Thailand','country_id' => '213'),\narray('id' => '7457','name' => '(THS) - Sukhothai Airport, , Thailand','country_id' => '213'),\narray('id' => '7458','name' => '(PHS) - Phitsanulok Airport, , Thailand','country_id' => '213'),\narray('id' => '7459','name' => '(TKT) - Tak Airport, , Thailand','country_id' => '213'),\narray('id' => '7460','name' => '(UTR) - Uttaradit Airport, Uttaradit, Thailand','country_id' => '213'),\narray('id' => '7461','name' => '(URT) - Surat Thani Airport, Surat Thani, Thailand','country_id' => '213'),\narray('id' => '7462','name' => '(NAW) - Narathiwat Airport, , Thailand','country_id' => '213'),\narray('id' => '7463','name' => '(CJM) - Chumphon Airport, , Thailand','country_id' => '213'),\narray('id' => '7464','name' => '(NST) - Nakhon Si Thammarat Airport, Nakhon Si Thammarat, Thailand','country_id' => '213'),\narray('id' => '7465','name' => '(KBV) - Krabi Airport, Krabi, Thailand','country_id' => '213'),\narray('id' => '7466','name' => '(SGZ) - Songkhla Airport, , Thailand','country_id' => '213'),\narray('id' => '7467','name' => '(PAN) - Pattani Airport, , Thailand','country_id' => '213'),\narray('id' => '7468','name' => '(USM) - Samui Airport, Na Thon (Ko Samui Island), Thailand','country_id' => '213'),\narray('id' => '7469','name' => '(HKT) - Phuket International Airport, Phuket, Thailand','country_id' => '213'),\narray('id' => '7470','name' => '(UNN) - Ranong Airport, , Thailand','country_id' => '213'),\narray('id' => '7471','name' => '(HDY) - Hat Yai International Airport, Hat Yai, Thailand','country_id' => '213'),\narray('id' => '7472','name' => '(TST) - Trang Airport, , Thailand','country_id' => '213'),\narray('id' => '7473','name' => '(UTH) - Udon Thani Airport, Udon Thani, Thailand','country_id' => '213'),\narray('id' => '7474','name' => '(SNO) - Sakon Nakhon Airport, , Thailand','country_id' => '213'),\narray('id' => '7475','name' => '(PXR) - Surin Airport, Surin, Thailand','country_id' => '213'),\narray('id' => '7476','name' => '(KKC) - Khon Kaen Airport, Khon Kaen, Thailand','country_id' => '213'),\narray('id' => '7477','name' => '(LOE) - Loei Airport, , Thailand','country_id' => '213'),\narray('id' => '7478','name' => '(BFV) - Buri Ram Airport, , Thailand','country_id' => '213'),\narray('id' => '7479','name' => '(NAK) - Nakhon Ratchasima Airport, , Thailand','country_id' => '213'),\narray('id' => '7480','name' => '(UBP) - Ubon Ratchathani Airport, Ubon Ratchathani, Thailand','country_id' => '213'),\narray('id' => '7481','name' => '(ROI) - Roi Et Airport, , Thailand','country_id' => '213'),\narray('id' => '7482','name' => '(KOP) - Nakhon Phanom Airport, , Thailand','country_id' => '213'),\narray('id' => '7483','name' => '(VUU) - Mvuu Camp Airport, Liwonde National Park, Malawi','country_id' => '152'),\narray('id' => '7484','name' => '(BMV) - Buon Ma Thuot Airport, Buon Ma Thuot, Vietnam','country_id' => '236'),\narray('id' => '7485','name' => '(VCL) - Chu Lai International Airport, Dung Quat Bay, Vietnam','country_id' => '236'),\narray('id' => '7486','name' => '(HPH) - Cat Bi International Airport, Haiphong, Vietnam','country_id' => '236'),\narray('id' => '7487','name' => '(CAH) - CA Mau Airport, Ca Mau City, Vietnam','country_id' => '236'),\narray('id' => '7488','name' => '(CXR) - Cam Ranh Airport, Nha Trang, Vietnam','country_id' => '236'),\narray('id' => '7489','name' => '(VCS) - Co Ong Airport, Con Ong, Vietnam','country_id' => '236'),\narray('id' => '7490','name' => '(VCA) - Can Tho International Airport, Can Tho, Vietnam','country_id' => '236'),\narray('id' => '7491','name' => '(DIN) - Dien Bien Phu Airport, Dien Bien Phu, Vietnam','country_id' => '236'),\narray('id' => '7492','name' => '(DLI) - Lien Khuong Airport, Dalat, Vietnam','country_id' => '236'),\narray('id' => '7493','name' => '(DAD) - Da Nang International Airport, Da Nang, Vietnam','country_id' => '236'),\narray('id' => '7494','name' => '(VVN) - Las Malvinas/Echarate Airport, Las Malvinas, Peru','country_id' => '170'),\narray('id' => '7495','name' => '(HAN) - Noi Bai International Airport, Hanoi, Vietnam','country_id' => '236'),\narray('id' => '7496','name' => '(SQH) - Na-San Airport, Son-La, Vietnam','country_id' => '236'),\narray('id' => '7497','name' => '(NHA) - Nha Trang Air Base, Nha Trang, Vietnam','country_id' => '236'),\narray('id' => '7498','name' => '(HUI) - Phu Bai Airport, Hue, Vietnam','country_id' => '236'),\narray('id' => '7499','name' => '(UIH) - Phu Cat Airport, Quy Nohn, Vietnam','country_id' => '236'),\narray('id' => '7500','name' => '(PXU) - Pleiku Airport, Pleiku, Vietnam','country_id' => '236'),\narray('id' => '7501','name' => '(PQC) - Phu Quoc International Airport, Phu Quoc Island, Vietnam','country_id' => '236'),\narray('id' => '7502','name' => '(PHA) - Phan Rang Airport, Phan Rang, Vietnam','country_id' => '236'),\narray('id' => '7503','name' => '(PHH) - Phan Thiet Airport, Phan Thiet, Vietnam','country_id' => '236'),\narray('id' => '7504','name' => '(VKG) - Rach Gia Airport, Rach Gia, Vietnam','country_id' => '236'),\narray('id' => '7505','name' => '(TBB) - Dong Tac Airport, Tuy Hoa, Vietnam','country_id' => '236'),\narray('id' => '7506','name' => '(SGN) - Tan Son Nhat International Airport, Ho Chi Minh City, Vietnam','country_id' => '236'),\narray('id' => '7507','name' => '(VII) - Vinh Airport, Vinh, Vietnam','country_id' => '236'),\narray('id' => '7508','name' => '(VTG) - Vung Tau Airport, Vung Tau, Vietnam','country_id' => '236'),\narray('id' => '7509','name' => '(NYU) - Bagan Airport, Nyaung U, Burma','country_id' => '142'),\narray('id' => '7510','name' => '(BMO) - Banmaw Airport, Banmaw, Burma','country_id' => '142'),\narray('id' => '7511','name' => '(VBP) - Bokpyinn Airport, Bokpyinn, Burma','country_id' => '142'),\narray('id' => '7512','name' => '(TVY) - Dawei Airport, Dawei, Burma','country_id' => '142'),\narray('id' => '7513','name' => '(NYT) - Naypyidaw Airport, Pyinmana, Burma','country_id' => '142'),\narray('id' => '7514','name' => '(GAW) - Gangaw Airport, Gangaw, Burma','country_id' => '142'),\narray('id' => '7515','name' => '(GWA) - Gwa Airport, Gwa, Burma','country_id' => '142'),\narray('id' => '7516','name' => '(HEH) - Heho Airport, Heho, Burma','country_id' => '142'),\narray('id' => '7517','name' => '(HOX) - Hommalinn Airport, Hommalinn, Burma','country_id' => '142'),\narray('id' => '7518','name' => '(TIO) - Tilin Airport, Tilin, Burma','country_id' => '142'),\narray('id' => '7519','name' => '(KET) - Kengtung Airport, Kengtung, Burma','country_id' => '142'),\narray('id' => '7520','name' => '(KHM) - Kanti Airport, Kanti, Burma','country_id' => '142'),\narray('id' => '7521','name' => '(KMV) - Kalay Airport, Kalemyo, Burma','country_id' => '142'),\narray('id' => '7522','name' => '(KYP) - Kyaukpyu Airport, Kyaukpyu, Burma','country_id' => '142'),\narray('id' => '7523','name' => '(KAW) - Kawthoung Airport, Kawthoung, Burma','country_id' => '142'),\narray('id' => '7524','name' => '(KYT) - Kyauktu Airport, Kyauktu, Burma','country_id' => '142'),\narray('id' => '7525','name' => '(LIW) - Loikaw Airport, Loikaw, Burma','country_id' => '142'),\narray('id' => '7526','name' => '(LSH) - Lashio Airport, Lashio, Burma','country_id' => '142'),\narray('id' => '7527','name' => '(MDL) - Mandalay International Airport, Mandalay, Burma','country_id' => '142'),\narray('id' => '7528','name' => '(MGZ) - Myeik Airport, Mkeik, Burma','country_id' => '142'),\narray('id' => '7529','name' => '(MYT) - Myitkyina Airport, Myitkyina, Burma','country_id' => '142'),\narray('id' => '7530','name' => '(MNU) - Mawlamyine Airport, Mawlamyine, Burma','country_id' => '142'),\narray('id' => '7531','name' => '(MGU) - Manaung Airport, Manaung, Burma','country_id' => '142'),\narray('id' => '7532','name' => '(MOE) - Momeik Airport, , Burma','country_id' => '142'),\narray('id' => '7533','name' => '(MOG) - Mong Hsat Airport, Mong Hsat, Burma','country_id' => '142'),\narray('id' => '7534','name' => '(MGK) - Mong Tong Airport, Mong Tong, Burma','country_id' => '142'),\narray('id' => '7535','name' => '(MWQ) - Magway Airport, Magway, Burma','country_id' => '142'),\narray('id' => '7536','name' => '(NMS) - Namsang Airport, Namsang, Burma','country_id' => '142'),\narray('id' => '7537','name' => '(NMT) - Namtu Airport, Namtu, Burma','country_id' => '142'),\narray('id' => '7538','name' => '(PAA) - Hpa-N Airport, Hpa-N, Burma','country_id' => '142'),\narray('id' => '7539','name' => '(PAU) - Pauk Airport, Pauk, Burma','country_id' => '142'),\narray('id' => '7540','name' => '(BSX) - Pathein Airport, Pathein, Burma','country_id' => '142'),\narray('id' => '7541','name' => '(PPU) - Hpapun Airport, Pa Pun, Burma','country_id' => '142'),\narray('id' => '7542','name' => '(PBU) - Putao Airport, Putao, Burma','country_id' => '142'),\narray('id' => '7543','name' => '(PKK) - Pakhokku Airport, Pakhokku, Burma','country_id' => '142'),\narray('id' => '7544','name' => '(PRU) - Pyay Airport, Pye, Burma','country_id' => '142'),\narray('id' => '7545','name' => '(AKY) - Sittwe Airport, Sittwe, Burma','country_id' => '142'),\narray('id' => '7546','name' => '(SNW) - Thandwe Airport, Thandwe, Burma','country_id' => '142'),\narray('id' => '7547','name' => '(THL) - Tachileik Airport, Tachileik, Burma','country_id' => '142'),\narray('id' => '7548','name' => '(XYE) - Ye Airport, Ye, Burma','country_id' => '142'),\narray('id' => '7549','name' => '(RGN) - Yangon International Airport, Yangon, Burma','country_id' => '142'),\narray('id' => '7550','name' => '(RCE) - Roche Harbor Airport, Roche Harbor, United States','country_id' => '228'),\narray('id' => '7551','name' => '(TQQ) - Maranggo Airport, Waha-Tomea Island, Indonesia','country_id' => '97'),\narray('id' => '7552','name' => '(UPG) - Hasanuddin International Airport, Ujung Pandang-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7553','name' => '(MJU) - Tampa Padang Airport, Mamuju-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7554','name' => '(BIK) - Frans Kaisiepo Airport, Biak-Supiori Island, Indonesia','country_id' => '97'),\narray('id' => '7555','name' => '(ONI) - Moanamani Airport, Moanamani-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7556','name' => '(WET) - Wagethe Airport, Wagethe-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7557','name' => '(NBX) - Nabire Airport, Nabire-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7558','name' => '(ILA) - Illaga Airport, Illaga-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7559','name' => '(KOX) - Kokonau Airport, Kokonau-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7560','name' => '(ZRI) - Serui Airport, Serui-Japen Island, Indonesia','country_id' => '97'),\narray('id' => '7561','name' => '(TIM) - Moses Kilangin Airport, Timika-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7562','name' => '(EWI) - Enarotali Airport, Enarotali-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7563','name' => '(WAD) - Andriamena Airport, Andriamena, Madagascar','country_id' => '138'),\narray('id' => '7564','name' => '(AMI) - Selaparang Airport, Mataram-Lombok Island, Indonesia','country_id' => '97'),\narray('id' => '7565','name' => '(BMU) - Muhammad Salahuddin Airport, Bima-Sumbawa Island, Indonesia','country_id' => '97'),\narray('id' => '7566','name' => '(DPS) - Ngurah Rai (Bali) International Airport, Denpasar-Bali Island, Indonesia','country_id' => '97'),\narray('id' => '7567','name' => '(LOP) - Lombok International Airport, Mataram, Indonesia','country_id' => '97'),\narray('id' => '7568','name' => '(SWQ) - Sumbawa Besar Airport, Sumbawa Island, Indonesia','country_id' => '97'),\narray('id' => '7569','name' => '(TMC) - Tambolaka Airport, Waikabubak-Sumba Island, Indonesia','country_id' => '97'),\narray('id' => '7570','name' => '(WGP) - Waingapu Airport, Waingapu-Sumba Island, Indonesia','country_id' => '97'),\narray('id' => '7571','name' => '(ARJ) - Arso Airport, Arso-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7572','name' => '(BUI) - Bokondini Airport, Bokondini, Indonesia','country_id' => '97'),\narray('id' => '7573','name' => '(ZRM) - Sarmi Airport, Sarmi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7574','name' => '(DJJ) - Sentani Airport, Jayapura-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7575','name' => '(LHI) - Lereh Airport, Lereh-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7576','name' => '(LII) - Mulia Airport, Mulia-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7577','name' => '(OKL) - Oksibil Airport, Oksibil-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7578','name' => '(WAR) - Waris Airport, Swach, Indonesia','country_id' => '97'),\narray('id' => '7579','name' => '(SEH) - Senggeh Airport, Senggeh, Indonesia','country_id' => '97'),\narray('id' => '7580','name' => '(UBR) - Ubrub Airport, Ubrub-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7581','name' => '(WMX) - Wamena Airport, Wamena-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7582','name' => '(MDP) - Mindiptana Airport, Mindiptana-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7583','name' => '(BXD) - Bade Airport, Bade-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7584','name' => '(MKQ) - Mopah Airport, Merauke-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7585','name' => '(OKQ) - Okaba Airport, Okaba-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7586','name' => '(KEI) - Kepi Airport, Kepi-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7587','name' => '(TMH) - Tanah Merah Airport, Tanah Merah-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7588','name' => '(TJS) - Tanjung Harapan Airport, Tanjung Selor-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7589','name' => '(DTD) - Datadawai Airport, Datadawai-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7590','name' => '(BEJ) - Barau(Kalimaru) Airport, Tanjung Redep-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7591','name' => '(BPN) - Sultan Aji Muhamad Sulaiman Airport, Kotamadya Balikpapan, Indonesia','country_id' => '97'),\narray('id' => '7592','name' => '(TRK) - Juwata Airport, Tarakan Island, Indonesia','country_id' => '97'),\narray('id' => '7593','name' => '(SRI) - Temindung Airport, Samarinda, Indonesia','country_id' => '97'),\narray('id' => '7594','name' => '(TSX) - Tanjung Santan Airport, Santan-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7595','name' => '(BYQ) - Bunyu Airport, Bunju Island, Indonesia','country_id' => '97'),\narray('id' => '7596','name' => '(GLX) - Gamarmalamo Airport, Galela-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7597','name' => '(GTO) - Jalaluddin Airport, Gorontalo-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7598','name' => '(NAH) - Naha Airport, Tahuna-Sangihe Island, Indonesia','country_id' => '97'),\narray('id' => '7599','name' => '(TLI) - Sultan Bantilan Airport, Toli Toli-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7600','name' => '(GEB) - Gebe Airport, Gebe Island, Indonesia','country_id' => '97'),\narray('id' => '7601','name' => '(KAZ) - Kao Airport, Kao-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7602','name' => '(PLW) - Mutiara Airport, Palu-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7603','name' => '(MDC) - Sam Ratulangi Airport, Manado-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7604','name' => '(MNA) - Melangguane Airport, Karakelong Island, Indonesia','country_id' => '97'),\narray('id' => '7605','name' => '(PSJ) - Kasiguncu Airport, Poso-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7606','name' => '(OTI) - Pitu Airport, Gotalalamo-Morotai Island, Indonesia','country_id' => '97'),\narray('id' => '7607','name' => '(TTE) - Sultan Khairun Babullah Airport, Sango-Ternate Island, Indonesia','country_id' => '97'),\narray('id' => '7608','name' => '(LUW) - Bubung Airport, Luwok-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7609','name' => '(UOL) - Buol Airport, Buol-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7610','name' => '(WAN) - Waverney Airport, Waverney, Australia','country_id' => '12'),\narray('id' => '7611','name' => '(BTW) - Batu Licin Airport, Batu Licin-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7612','name' => '(PKN) - Iskandar Airport, Pangkalanbun-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7613','name' => '(KBU) - Stagen Airport, Laut Island, Indonesia','country_id' => '97'),\narray('id' => '7614','name' => '(TJG) - Warukin Airport, Tanta-Tabalong-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7615','name' => '(BDJ) - Syamsudin Noor Airport, Banjarmasin-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7616','name' => '(PKY) - Tjilik Riwut Airport, Palangkaraya-Kalimantan Tengah, Indonesia','country_id' => '97'),\narray('id' => '7617','name' => '(SMQ) - Sampit(Hasan) Airport, Sampit-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7618','name' => '(AHI) - Amahai Airport, Amahai-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7619','name' => '(NDA) - Bandanaira Airport, Banda-Naira Island, Indonesia','country_id' => '97'),\narray('id' => '7620','name' => '(DOB) - Rar Gwamar Airport, Dobo-Warmar Island, Indonesia','country_id' => '97'),\narray('id' => '7621','name' => '(MAL) - Mangole Airport, Falabisahaya, Mangole Island, Indonesia','country_id' => '97'),\narray('id' => '7622','name' => '(NRE) - Namrole Airport, Namrole-Buru Island, Indonesia','country_id' => '97'),\narray('id' => '7623','name' => '(LAH) - Oesman Sadik Airport, Labuha, Labuha-Halmahera Island, Indonesia','country_id' => '97'),\narray('id' => '7624','name' => '(SXK) - Saumlaki/Olilit Airport, Saumlaki-Yamdena Island, Indonesia','country_id' => '97'),\narray('id' => '7625','name' => '(BJK) - Nangasuri Airport, Maikoor Island, Indonesia','country_id' => '97'),\narray('id' => '7626','name' => '(LUV) - Dumatumbun Airport, Langgur-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7627','name' => '(SQN) - Emalamo Sanana Airport, Sanana-Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7628','name' => '(AMQ) - Pattimura Airport, Ambon, Ambon, Indonesia','country_id' => '97'),\narray('id' => '7629','name' => '(NAM) - Namlea Airport, Namlea-Buru Island, Indonesia','country_id' => '97'),\narray('id' => '7630','name' => '(TAX) - Taliabu Island Airport, Tikong-Taliabu Island, Indonesia','country_id' => '97'),\narray('id' => '7631','name' => '(WBA) - Wahai,Seram Island, Seram Island, Indonesia','country_id' => '97'),\narray('id' => '7632','name' => '(MLG) - Abdul Rachman Saleh Airport, Malang-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7633','name' => '(CPF) - Ngloram Airport, Tjepu-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7634','name' => '(JOG) - Adi Sutjipto International Airport, Yogyakarta-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7635','name' => '(SOC) - Adi Sumarmo Wiryokusumo Airport, Sukarata(Solo)-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7636','name' => '(SUB) - Juanda International Airport, Surabaya, Indonesia','country_id' => '97'),\narray('id' => '7637','name' => '(SRG) - Achmad Yani Airport, Semarang-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7638','name' => '(SUP) - Trunojoyo Airport, Sumenep-Madura Island, Indonesia','country_id' => '97'),\narray('id' => '7639','name' => '(KWB) - Dewadaru - Kemujan Island, Karimunjawa, Indonesia','country_id' => '97'),\narray('id' => '7640','name' => '(NTI) - Stenkol Airport, Bintuni, Indonesia','country_id' => '97'),\narray('id' => '7641','name' => '(RSK) - Abresso Airport, Ransiki-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7642','name' => '(KEQ) - Kebar Airport, Kebar-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7643','name' => '(FKQ) - Fakfak Airport, Fakfak-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7644','name' => '(INX) - Inanwatan Airport, Inanwatan Airport-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7645','name' => '(KNG) - Kaimana Airport, Kaimana-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7646','name' => '(RDE) - Merdei Airport, Merdei-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7647','name' => '(BXB) - Babo Airport, Babo-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7648','name' => '(MKW) - Rendani Airport, Manokwari-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7649','name' => '(TXM) - Teminabuan Airport, Atinjoe-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7650','name' => '(WSR) - Wasior Airport, Wasior-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7651','name' => '(BJW) - Bajawa Soa Airport, Bajawa, Indonesia','country_id' => '97'),\narray('id' => '7652','name' => '(MOF) - Maumere(Wai Oti) Airport, Maumere-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7653','name' => '(ENE) - Ende (H Hasan Aroeboesman) Airport, Ende-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7654','name' => '(RTG) - Frans Sales Lega Airport, Satar Tacik-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7655','name' => '(ARD) - Mali Airport, Alor Island, Indonesia','country_id' => '97'),\narray('id' => '7656','name' => '(LBJ) - Komodo (Mutiara II) Airport, Labuan Bajo-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7657','name' => '(KOE) - El Tari Airport, Kupang-Timor Island, Indonesia','country_id' => '97'),\narray('id' => '7658','name' => '(BUW) - Betoambari Airport, Bau Bau-Butung Island, Indonesia','country_id' => '97'),\narray('id' => '7659','name' => '(MXB) - Andi Jemma Airport, Masamba-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7660','name' => '(SQR) - Soroako Airport, Soroako-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7661','name' => '(TTR) - Pongtiku Airport, Makale, Indonesia','country_id' => '97'),\narray('id' => '7662','name' => '(KDI) - Wolter Monginsidi Airport, Kendari-Celebes Island, Indonesia','country_id' => '97'),\narray('id' => '7663','name' => '(SOQ) - Dominique Edward Osok Airport, Sorong-Papua Island, Indonesia','country_id' => '97'),\narray('id' => '7664','name' => '(WBB) - Stebbins Airport, Stebbins, United States','country_id' => '228'),\narray('id' => '7665','name' => '(WBC) - Wapolu Airport, Wapolu, Papua New Guinea','country_id' => '172'),\narray('id' => '7666','name' => '(BTU) - Bintulu Airport, Bintulu, Malaysia','country_id' => '154'),\narray('id' => '7667','name' => '(BLG) - Belaga Airport, Belaga, Malaysia','country_id' => '154'),\narray('id' => '7668','name' => '(LSM) - Long Semado Airport, Long Semado, Malaysia','country_id' => '154'),\narray('id' => '7669','name' => '(LGL) - Long Lellang Airport, Long Datih, Malaysia','country_id' => '154'),\narray('id' => '7670','name' => '(KCH) - Kuching International Airport, Kuching, Malaysia','country_id' => '154'),\narray('id' => '7671','name' => '(ODN) - Long Seridan Airport, Long Seridan, Malaysia','country_id' => '154'),\narray('id' => '7672','name' => '(LMN) - Limbang Airport, Limbang, Malaysia','country_id' => '154'),\narray('id' => '7673','name' => '(MKM) - Mukah Airport, Mukah, Malaysia','country_id' => '154'),\narray('id' => '7674','name' => '(LKH) - Long Akah Airport, Long Akah, Malaysia','country_id' => '154'),\narray('id' => '7675','name' => '(MUR) - Marudi Airport, Marudi, Malaysia','country_id' => '154'),\narray('id' => '7676','name' => '(BSE) - Sematan Airport, Sematan, Malaysia','country_id' => '154'),\narray('id' => '7677','name' => '(KPI) - Kapit Airport, Kapit, Malaysia','country_id' => '154'),\narray('id' => '7678','name' => '(BKM) - Bakalalan Airport, Bakalalan, Malaysia','country_id' => '154'),\narray('id' => '7679','name' => '(MYY) - Miri Airport, Miri, Malaysia','country_id' => '154'),\narray('id' => '7680','name' => '(SBW) - Sibu Airport, Sibu, Malaysia','country_id' => '154'),\narray('id' => '7681','name' => '(TGC) - Tanjung Manis Airport, Tanjung Manis, Malaysia','country_id' => '154'),\narray('id' => '7682','name' => '(LSU) - Long Sukang Airport, Long Sukang, Malaysia','country_id' => '154'),\narray('id' => '7683','name' => '(LWY) - Lawas Airport, Lawas, Malaysia','country_id' => '154'),\narray('id' => '7684','name' => '(BBN) - Bario Airport, Bario, Malaysia','country_id' => '154'),\narray('id' => '7685','name' => '(SMM) - Semporna Airport, Semporna, Malaysia','country_id' => '154'),\narray('id' => '7686','name' => '(LDU) - Lahad Datu Airport, Lahad Datu, Malaysia','country_id' => '154'),\narray('id' => '7687','name' => '(TEL) - Telupid Airport, Telupid, Malaysia','country_id' => '154'),\narray('id' => '7688','name' => '(KGU) - Keningau Airport, Keningau, Malaysia','country_id' => '154'),\narray('id' => '7689','name' => '(SXS) - Sahabat [Sahabat 16] Airport, Sahabat, Malaysia','country_id' => '154'),\narray('id' => '7690','name' => '(BKI) - Kota Kinabalu International Airport, Kota Kinabalu, Malaysia','country_id' => '154'),\narray('id' => '7691','name' => '(LBU) - Labuan Airport, Labuan, Malaysia','country_id' => '154'),\narray('id' => '7692','name' => '(TMG) - Tomanggong Airport, Tomanggong, Malaysia','country_id' => '154'),\narray('id' => '7693','name' => '(GSA) - Long Pasia Airport, Long Miau, Malaysia','country_id' => '154'),\narray('id' => '7694','name' => '(SPE) - Sepulot Airport, Sepulot, Malaysia','country_id' => '154'),\narray('id' => '7695','name' => '(PAY) - Pamol Airport, Pamol, Malaysia','country_id' => '154'),\narray('id' => '7696','name' => '(RNU) - Ranau Airport, Ranau, Malaysia','country_id' => '154'),\narray('id' => '7697','name' => '(SDK) - Sandakan Airport, Sandakan, Malaysia','country_id' => '154'),\narray('id' => '7698','name' => '(KUD) - Kudat Airport, Kudat, Malaysia','country_id' => '154'),\narray('id' => '7699','name' => '(TWU) - Tawau Airport, Tawau, Malaysia','country_id' => '154'),\narray('id' => '7700','name' => '(MZV) - Mulu Airport, Mulu, Malaysia','country_id' => '154'),\narray('id' => '7701','name' => '(BWN) - Brunei International Airport, Bandar Seri Begawan, Brunei','country_id' => '26'),\narray('id' => '7702','name' => '(WEA) - Parker County Airport, Weatherford, United States','country_id' => '228'),\narray('id' => '7703','name' => '(WED) - Wedau Airport, Wedau, Papua New Guinea','country_id' => '172'),\narray('id' => '7704','name' => '(WHL) - Welshpool Airport, Welshpool, Australia','country_id' => '12'),\narray('id' => '7705','name' => '(TKG) - Radin Inten II (Branti) Airport, Bandar Lampung-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7706','name' => '(PKU) - Sultan Syarif Kasim Ii (Simpang Tiga) Airport, Pekanbaru-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7707','name' => '(DUM) - Pinang Kampai Airport, Dumai-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7708','name' => '(RKO) - Rokot Airport, Sipora Island, Indonesia','country_id' => '97'),\narray('id' => '7709','name' => '(SEQ) - Sungai Pakning Bengkalis Airport, Bengkalis-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7710','name' => '(TJB) - Sei Bati Airport, Tanjung Balai-Karinmunbesar Island, Indonesia','country_id' => '97'),\narray('id' => '7711','name' => '(BDO) - Husein Sastranegara International Airport, Bandung-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7712','name' => '(CBN) - Penggung Airport, Cirebon-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7713','name' => '(TSY) - Cibeureum Airport, Tasikmalaya-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7714','name' => '(BTH) - Hang Nadim International Airport, Batam Island, Indonesia','country_id' => '97'),\narray('id' => '7715','name' => '(PPR) - Pasir Pangaraan Airport, Pasir Pengarayan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7716','name' => '(TNJ) - Raja Haji Fisabilillah International Airport, Tanjung Pinang-Bintan Island, Indonesia','country_id' => '97'),\narray('id' => '7717','name' => '(SIQ) - Dabo Airport, Pasirkuning-Singkep Island, Indonesia','country_id' => '97'),\narray('id' => '7718','name' => '(HLP) - Halim Perdanakusuma International Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7719','name' => '(CXP) - Tunggul Wulung Airport, Cilacap-Java Island, Indonesia','country_id' => '97'),\narray('id' => '7720','name' => '(PCB) - Pondok Cabe Air Base, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7721','name' => '(CGK) - Soekarno-Hatta International Airport, Jakarta, Indonesia','country_id' => '97'),\narray('id' => '7722','name' => '(GNS) - Binaka Airport, Gunung Sitoli-Nias Island, Indonesia','country_id' => '97'),\narray('id' => '7723','name' => '(AEG) - Aek Godang Airport, Padang Sidempuan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7724','name' => '(PDG) - Tabing Airport, Padang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7725','name' => '(MES) - Soewondo Air Force Base, Medan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7726','name' => '(KNO) - Kualanamu International Airport, , Indonesia','country_id' => '97'),\narray('id' => '7727','name' => '(DTB) - Silangit Airport, Siborong-Borong, Indonesia','country_id' => '97'),\narray('id' => '7728','name' => '(SIW) - Sibisa Airport, Parapat-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7729','name' => '(TJQ) - Buluh Tumbang (H A S Hanandjoeddin) Airport, Tanjung Pandan-Belitung Island, Indonesia','country_id' => '97'),\narray('id' => '7730','name' => '(NPO) - Nanga Pinoh Airport, Nanga Pinoh-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7731','name' => '(KTG) - Ketapang(Rahadi Usman) Airport, Ketapang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7732','name' => '(MWK) - Tarempa Airport, Matak Island, Indonesia','country_id' => '97'),\narray('id' => '7733','name' => '(NTX) - Ranai Airport, Ranai-Natuna Besar Island, Indonesia','country_id' => '97'),\narray('id' => '7734','name' => '(PNK) - Supadio Airport, Pontianak-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7735','name' => '(PSU) - Pangsuma Airport, Putussibau-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7736','name' => '(SQG) - Sintang(Susilo) Airport, Sintang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7737','name' => '(DJB) - Sultan Thaha Airport, Jambi-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7738','name' => '(PGK) - Pangkal Pinang (Depati Amir) Airport, Pangkal Pinang-Palaubangka Island, Indonesia','country_id' => '97'),\narray('id' => '7739','name' => '(BKS) - Fatmawati Soekarno Airport, Bengkulu-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7740','name' => '(PLM) - Sultan Mahmud Badaruddin II Airport, Palembang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7741','name' => '(PDO) - Pendopo Airport, Talang Gudang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7742','name' => '(RGT) - Japura Airport, Rengat-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7743','name' => '(PDG) - Minangkabau Airport, Ketaping/Padang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7744','name' => '(MPC) - Muko Muko Airport, Muko Muko-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7745','name' => '(KLQ) - Keluang Airport, Keluang-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7746','name' => '(TPK) - Teuku Cut Ali Airport, Tapak Tuan-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7747','name' => '(SBG) - Maimun Saleh Airport, Sabang-We Island, Indonesia','country_id' => '97'),\narray('id' => '7748','name' => '(MEQ) - Seunagan Airport, Peureumeue-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7749','name' => '(LSX) - Lhok Sukon Airport, Lhok Sukon-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7750','name' => '(LSW) - Malikus Saleh Airport, Lhok Seumawe-Sumatra Island, Indonesia','country_id' => '97'),\narray('id' => '7751','name' => '(BTJ) - Sultan Iskandar Muda International Airport, Banda Aceh, Indonesia','country_id' => '97'),\narray('id' => '7752','name' => '(SXT) - Sungai Tiang Airport, Taman Negara, Malaysia','country_id' => '154'),\narray('id' => '7753','name' => '(MEP) - Mersing Airport, Mersing, Malaysia','country_id' => '154'),\narray('id' => '7754','name' => '(SWY) - Sitiawan Airport, Sitiawan, Malaysia','country_id' => '154'),\narray('id' => '7755','name' => '(TPG) - Taiping (Tekah) Airport, Taiping, Malaysia','country_id' => '154'),\narray('id' => '7756','name' => '(TOD) - Pulau Tioman Airport, Pulau Tioman, Malaysia','country_id' => '154'),\narray('id' => '7757','name' => '(AOR) - Sultan Abdul Halim Airport, Alor Satar, Malaysia','country_id' => '154'),\narray('id' => '7758','name' => '(BWH) - Butterworth Airport, Butterworth, Malaysia','country_id' => '154'),\narray('id' => '7759','name' => '(KBR) - Sultan Ismail Petra Airport, Kota Baharu, Malaysia','country_id' => '154'),\narray('id' => '7760','name' => '(KUA) - Kuantan Airport, Kuantan, Malaysia','country_id' => '154'),\narray('id' => '7761','name' => '(KTE) - Kerteh Airport, Kerteh, Malaysia','country_id' => '154'),\narray('id' => '7762','name' => '(IPH) - Sultan Azlan Shah Airport, Ipoh, Malaysia','country_id' => '154'),\narray('id' => '7763','name' => '(JHB) - Senai International Airport, Senai, Malaysia','country_id' => '154'),\narray('id' => '7764','name' => '(KUL) - Kuala Lumpur International Airport, Kuala Lumpur, Malaysia','country_id' => '154'),\narray('id' => '7765','name' => '(LGK) - Langkawi International Airport, Langkawi, Malaysia','country_id' => '154'),\narray('id' => '7766','name' => '(MKZ) - Malacca Airport, Malacca, Malaysia','country_id' => '154'),\narray('id' => '7767','name' => '(TGG) - Sultan Mahmud Airport, Kuala Terengganu, Malaysia','country_id' => '154'),\narray('id' => '7768','name' => '(PEN) - Penang International Airport, Penang, Malaysia','country_id' => '154'),\narray('id' => '7769','name' => '(PKG) - Pulau Pangkor Airport, Pangkor Island, Malaysia','country_id' => '154'),\narray('id' => '7770','name' => '(RDN) - LTS Pulau Redang Airport, Redang, Malaysia','country_id' => '154'),\narray('id' => '7771','name' => '(SZB) - Sultan Abdul Aziz Shah International Airport, Subang, Malaysia','country_id' => '154'),\narray('id' => '7772','name' => '(DTR) - Decatur Shores Airport, Decatur, United States','country_id' => '228'),\narray('id' => '7773','name' => '(WNU) - Wanuma Airport, Wanuma, Papua New Guinea','country_id' => '172'),\narray('id' => '7774','name' => '(AUT) - Atauro Airport, Atauro, Timor-Leste','country_id' => '216'),\narray('id' => '7775','name' => '(UAI) - Suai Airport, Suai, Timor-Leste','country_id' => '216'),\narray('id' => '7776','name' => '(DIL) - Presidente Nicolau Lobato International Airport, Dili, Timor-Leste','country_id' => '216'),\narray('id' => '7777','name' => '(BCH) - Cakung Airport, Baucau, Timor-Leste','country_id' => '216'),\narray('id' => '7778','name' => '(MPT) - Maliana Airport, Maliana, Timor-Leste','country_id' => '216'),\narray('id' => '7779','name' => '(OEC) - Oecussi Airport, Oecussi-Ambeno, Timor-Leste','country_id' => '216'),\narray('id' => '7780','name' => '(VIQ) - Viqueque Airport, Viqueque, Timor-Leste','country_id' => '216'),\narray('id' => '7781','name' => '(ABU) - Haliwen Airport, Atambua-Timor Island, Indonesia','country_id' => '97'),\narray('id' => '7782','name' => '(BJW) - Pahdameleda Airport, Bajawa-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7783','name' => '(LKA) - Gewayentana Airport, Larantuka-Flores Island, Indonesia','country_id' => '97'),\narray('id' => '7784','name' => '(RTI) - David C. Saudale - Rote Airport, Namodale-Rote Island, Indonesia','country_id' => '97'),\narray('id' => '7785','name' => '(SAU) - Sabu-Tardanu Airport, Sabu-Sawu Island, Indonesia','country_id' => '97'),\narray('id' => '7786','name' => '(SGQ) - Sanggata/Sangkimah Airport, Sanggata/Sangkimah, Indonesia','country_id' => '97'),\narray('id' => '7787','name' => '(LBW) - Long Bawan Airport, Long Bawan-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7788','name' => '(BXT) - Bontang Airport, Bontang-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7789','name' => '(NNX) - Nunukan Airport, Nunukan-Nunukan Island, Indonesia','country_id' => '97'),\narray('id' => '7790','name' => '(TNB) - Tanah Grogot Airport, Tanah Grogot-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7791','name' => '(LPU) - Long Apung Airport, Long Apung-Borneo Island, Indonesia','country_id' => '97'),\narray('id' => '7792','name' => '(WSA) - Wasua Airport, Wasua, Papua New Guinea','country_id' => '172'),\narray('id' => '7793','name' => '(QPG) - Paya Lebar Air Base, , Singapore','country_id' => '194'),\narray('id' => '7794','name' => '(TGA) - Tengah Air Base, , Singapore','country_id' => '194'),\narray('id' => '7795','name' => '(WSM) - Wiseman Airport, Wiseman, United States','country_id' => '228'),\narray('id' => '7796','name' => '(XSP) - Seletar Airport, Seletar, Singapore','country_id' => '194'),\narray('id' => '7797','name' => '(SIN) - Singapore Changi Airport, Singapore, Singapore','country_id' => '194'),\narray('id' => '7798','name' => '(WTT) - Wantoat Airport, Wantoat, Papua New Guinea','country_id' => '172'),\narray('id' => '7799','name' => '(WUV) - Wuvulu Island Airport, Wuvulu Island, Papua New Guinea','country_id' => '172'),\narray('id' => '7800','name' => '(GWV) - Glendale Fokker Field, Glendale, United States','country_id' => '228'),\narray('id' => '7801','name' => '(XBN) - Biniguni Airport, Biniguni, Papua New Guinea','country_id' => '172'),\narray('id' => '7802','name' => '(XIG) - Xinguara Municipal Airport, Xinguara, Brazil','country_id' => '29'),\narray('id' => '7803','name' => '(XMA) - Maramag Airport, Maramag, Philippines','country_id' => '173'),\narray('id' => '7804','name' => '(XVL) - Vinh Long Airfield, Vinh Long, Vietnam','country_id' => '236'),\narray('id' => '7805','name' => '(UKN) - Waukon Municipal Airport, Waukon, United States','country_id' => '228'),\narray('id' => '7806','name' => '(ALH) - Albany Airport, Albany, Australia','country_id' => '12'),\narray('id' => '7807','name' => '(ABG) - Abingdon Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7808','name' => '(AWN) - Alton Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7809','name' => '(AUD) - Augustus Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7810','name' => '(MRP) - Marla Airport, , Australia','country_id' => '12'),\narray('id' => '7811','name' => '(AXL) - Alexandria Homestead Airport, , Australia','country_id' => '12'),\narray('id' => '7812','name' => '(AXC) - Aramac Airport, , Australia','country_id' => '12'),\narray('id' => '7813','name' => '(ADO) - Andamooka Airport, , Australia','country_id' => '12'),\narray('id' => '7814','name' => '(AMX) - Ammaroo Airport, , Australia','country_id' => '12'),\narray('id' => '7815','name' => '(AMT) - Amata Airport, , Australia','country_id' => '12'),\narray('id' => '7816','name' => '(WLP) - West Angelas Airport, , Australia','country_id' => '12'),\narray('id' => '7817','name' => '(AYL) - Anthony Lagoon Airport, , Australia','country_id' => '12'),\narray('id' => '7818','name' => '(ABH) - Alpha Airport, Alpha, Australia','country_id' => '12'),\narray('id' => '7819','name' => '(ARY) - Ararat Airport, , Australia','country_id' => '12'),\narray('id' => '7820','name' => '(GYL) - Argyle Airport, , Australia','country_id' => '12'),\narray('id' => '7821','name' => '(ARM) - Armidale Airport, Armidale, Australia','country_id' => '12'),\narray('id' => '7822','name' => '(AAB) - Arrabury Airport, , Australia','country_id' => '12'),\narray('id' => '7823','name' => '(AUU) - Aurukun Airport, Aurukun, Australia','country_id' => '12'),\narray('id' => '7824','name' => '(AWP) - Austral Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7825','name' => '(AVG) - Auvergne Airport, , Australia','country_id' => '12'),\narray('id' => '7826','name' => '(AYQ) - Ayers Rock Connellan Airport, Ayers Rock, Australia','country_id' => '12'),\narray('id' => '7827','name' => '(AYR) - Ayr Airport, , Australia','country_id' => '12'),\narray('id' => '7828','name' => '(ACF) - Brisbane Archerfield Airport, Brisbane, Australia','country_id' => '12'),\narray('id' => '7829','name' => '(ABM) - Northern Peninsula Airport, Bamaga, Australia','country_id' => '12'),\narray('id' => '7830','name' => '(BCI) - Barcaldine Airport, Barcaldine, Australia','country_id' => '12'),\narray('id' => '7831','name' => '(ASP) - Alice Springs Airport, Alice Springs, Australia','country_id' => '12'),\narray('id' => '7832','name' => '(BDD) - Badu Island Airport, , Australia','country_id' => '12'),\narray('id' => '7833','name' => '(BKP) - Barkly Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7834','name' => '(BBE) - Big Bell Airport, Big Bell, Australia','country_id' => '12'),\narray('id' => '7835','name' => '(BNE) - Brisbane International Airport, Brisbane, Australia','country_id' => '12'),\narray('id' => '7836','name' => '(OOL) - Gold Coast Airport, Gold Coast, Australia','country_id' => '12'),\narray('id' => '7837','name' => '(BKQ) - Blackall Airport, Blackall, Australia','country_id' => '12'),\narray('id' => '7838','name' => '(CNS) - Cairns International Airport, Cairns, Australia','country_id' => '12'),\narray('id' => '7839','name' => '(CTL) - Charleville Airport, Charleville, Australia','country_id' => '12'),\narray('id' => '7840','name' => '(BDW) - Bedford Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7841','name' => '(BXG) - Bendigo Airport, , Australia','country_id' => '12'),\narray('id' => '7842','name' => '(BVI) - Birdsville Airport, , Australia','country_id' => '12'),\narray('id' => '7843','name' => '(BXF) - Bellburn Airstrip, Pumululu National Park, Australia','country_id' => '12'),\narray('id' => '7844','name' => '(BTX) - Betoota Airport, , Australia','country_id' => '12'),\narray('id' => '7845','name' => '(BEE) - Beagle Bay Airport, Beagle Bay, Australia','country_id' => '12'),\narray('id' => '7846','name' => '(OCM) - Boolgeeda, , Australia','country_id' => '12'),\narray('id' => '7847','name' => '(BQW) - Balgo Hill Airport, Balgo, Australia','country_id' => '12'),\narray('id' => '7848','name' => '(BHQ) - Broken Hill Airport, Broken Hill, Australia','country_id' => '12'),\narray('id' => '7849','name' => '(HTI) - Hamilton Island Airport, Hamilton Island, Australia','country_id' => '12'),\narray('id' => '7850','name' => '(BEU) - Bedourie Airport, , Australia','country_id' => '12'),\narray('id' => '7851','name' => '(BIW) - Billiluna Airport, , Australia','country_id' => '12'),\narray('id' => '7852','name' => '(BZP) - Bizant Airport, Lakefield National Park, Australia','country_id' => '12'),\narray('id' => '7853','name' => '(BRK) - Bourke Airport, , Australia','country_id' => '12'),\narray('id' => '7854','name' => '(BUC) - Burketown Airport, , Australia','country_id' => '12'),\narray('id' => '7855','name' => '(BLN) - Benalla Airport, , Australia','country_id' => '12'),\narray('id' => '7856','name' => '(LCN) - Balcanoona Airport, , Australia','country_id' => '12'),\narray('id' => '7857','name' => '(BLS) - Bollon Airport, , Australia','country_id' => '12'),\narray('id' => '7858','name' => '(BQB) - Busselton Regional Airport, , Australia','country_id' => '12'),\narray('id' => '7859','name' => '(ISA) - Mount Isa Airport, Mount Isa, Australia','country_id' => '12'),\narray('id' => '7860','name' => '(MCY) - Sunshine Coast Airport, Maroochydore, Australia','country_id' => '12'),\narray('id' => '7861','name' => '(BFC) - Bloomfield River Airport, , Australia','country_id' => '12'),\narray('id' => '7862','name' => '(MKY) - Mackay Airport, Mackay, Australia','country_id' => '12'),\narray('id' => '7863','name' => '(BNK) - Ballina Byron Gateway Airport, Ballina, Australia','country_id' => '12'),\narray('id' => '7864','name' => '(BSJ) - Bairnsdale Airport, , Australia','country_id' => '12'),\narray('id' => '7865','name' => '(GIC) - Boigu Airport, , Australia','country_id' => '12'),\narray('id' => '7866','name' => '(OKY) - Oakey Airport, , Australia','country_id' => '12'),\narray('id' => '7867','name' => '(BQL) - Boulia Airport, , Australia','country_id' => '12'),\narray('id' => '7868','name' => '(BMP) - Brampton Island Airport, , Australia','country_id' => '12'),\narray('id' => '7869','name' => '(PPP) - Proserpine Whitsunday Coast Airport, Proserpine, Australia','country_id' => '12'),\narray('id' => '7870','name' => '(ROK) - Rockhampton Airport, Rockhampton, Australia','country_id' => '12'),\narray('id' => '7871','name' => '(BOX) - Borroloola Airport, , Australia','country_id' => '12'),\narray('id' => '7872','name' => '(BME) - Broome International Airport, Broome, Australia','country_id' => '12'),\narray('id' => '7873','name' => '(BZD) - Balranald Airport, , Australia','country_id' => '12'),\narray('id' => '7874','name' => '(BTD) - Brunette Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7875','name' => '(BWQ) - Brewarrina Airport, , Australia','country_id' => '12'),\narray('id' => '7876','name' => '(BYP) - Barimunya Airport, , Australia','country_id' => '12'),\narray('id' => '7877','name' => '(BHS) - Bathurst Airport, Bathurst, Australia','country_id' => '12'),\narray('id' => '7878','name' => '(BRT) - Bathurst Island Airport, , Australia','country_id' => '12'),\narray('id' => '7879','name' => '(TSV) - Townsville Airport, Townsville, Australia','country_id' => '12'),\narray('id' => '7880','name' => '(BLT) - Blackwater Airport, , Australia','country_id' => '12'),\narray('id' => '7881','name' => '(BVW) - Batavia Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7882','name' => '(BDB) - Bundaberg Airport, Bundaberg, Australia','country_id' => '12'),\narray('id' => '7883','name' => '(BUY) - Bunbury Airport, , Australia','country_id' => '12'),\narray('id' => '7884','name' => '(BIP) - Bulimba Airport, , Australia','country_id' => '12'),\narray('id' => '7885','name' => '(ZBO) - Bowen Airport, , Australia','country_id' => '12'),\narray('id' => '7886','name' => '(WEI) - Weipa Airport, Weipa, Australia','country_id' => '12'),\narray('id' => '7887','name' => '(BCK) - Bolwarra Airport, , Australia','country_id' => '12'),\narray('id' => '7888','name' => '(WTB) - Brisbane West Wellcamp Airport, Wellcamp, Australia','country_id' => '12'),\narray('id' => '7889','name' => '(BWB) - Barrow Island Airport, , Australia','country_id' => '12'),\narray('id' => '7890','name' => '(BVZ) - Beverley Springs Airport, , Australia','country_id' => '12'),\narray('id' => '7891','name' => '(CTR) - Cattle Creek Airport, , Australia','country_id' => '12'),\narray('id' => '7892','name' => '(CGV) - Caiguna Airport, , Australia','country_id' => '12'),\narray('id' => '7893','name' => '(CLH) - Coolah Airport, , Australia','country_id' => '12'),\narray('id' => '7894','name' => '(CVQ) - Carnarvon Airport, Carnarvon, Australia','country_id' => '12'),\narray('id' => '7895','name' => '(CSI) - Casino Airport, , Australia','country_id' => '12'),\narray('id' => '7896','name' => '(CAZ) - Cobar Airport, , Australia','country_id' => '12'),\narray('id' => '7897','name' => '(COJ) - Coonabarabran Airport, , Australia','country_id' => '12'),\narray('id' => '7898','name' => '(CBY) - Canobie Airport, Canobie, Australia','country_id' => '12'),\narray('id' => '7899','name' => '(CBI) - Cape Barren Island Airport, , Australia','country_id' => '12'),\narray('id' => '7900','name' => '(CPD) - Coober Pedy Airport, , Australia','country_id' => '12'),\narray('id' => '7901','name' => '(CRB) - Collarenebri Airport, , Australia','country_id' => '12'),\narray('id' => '7902','name' => '(CCL) - Chinchilla Airport, , Australia','country_id' => '12'),\narray('id' => '7903','name' => '(CNC) - Coconut Island Airport, , Australia','country_id' => '12'),\narray('id' => '7904','name' => '(CNJ) - Cloncurry Airport, Cloncurry, Australia','country_id' => '12'),\narray('id' => '7905','name' => '(CBX) - Condobolin Airport, , Australia','country_id' => '12'),\narray('id' => '7906','name' => '(CUD) - Caloundra Airport, , Australia','country_id' => '12'),\narray('id' => '7907','name' => '(CED) - Ceduna Airport, , Australia','country_id' => '12'),\narray('id' => '7908','name' => '(CVC) - Cleve Airport, , Australia','country_id' => '12'),\narray('id' => '7909','name' => '(CFI) - Camfield Airport, , Australia','country_id' => '12'),\narray('id' => '7910','name' => '(CFH) - Clifton Hills Airport, Clifton Hills, Australia','country_id' => '12'),\narray('id' => '7911','name' => '(CQP) - Cape Flattery Airport, , Australia','country_id' => '12'),\narray('id' => '7912','name' => '(LLG) - Chillagoe Airport, , Australia','country_id' => '12'),\narray('id' => '7913','name' => '(CRH) - Cherrabah Airport, Cherrabah Homestead Resort, Australia','country_id' => '12'),\narray('id' => '7914','name' => '(CKW) - Graeme Rowley Aerodrome, Christmas Creek Mine, Australia','country_id' => '12'),\narray('id' => '7915','name' => '(CXT) - Charters Towers Airport, , Australia','country_id' => '12'),\narray('id' => '7916','name' => '(DCN) - RAAF Base Curtin, , Australia','country_id' => '12'),\narray('id' => '7917','name' => '(CKI) - Croker Island Airport, , Australia','country_id' => '12'),\narray('id' => '7918','name' => '(CTN) - Cooktown Airport, , Australia','country_id' => '12'),\narray('id' => '7919','name' => '(CMQ) - Clermont Airport, , Australia','country_id' => '12'),\narray('id' => '7920','name' => '(CMA) - Cunnamulla Airport, , Australia','country_id' => '12'),\narray('id' => '7921','name' => '(CML) - Camooweal Airport, , Australia','country_id' => '12'),\narray('id' => '7922','name' => '(NIF) - Camp Nifty Airport, , Australia','country_id' => '12'),\narray('id' => '7923','name' => '(CES) - Cessnock Airport, , Australia','country_id' => '12'),\narray('id' => '7924','name' => '(CNB) - Coonamble Airport, , Australia','country_id' => '12'),\narray('id' => '7925','name' => '(ODL) - Cordillo Downs Airport, Cordillo Downs, Australia','country_id' => '12'),\narray('id' => '7926','name' => '(CUQ) - Coen Airport, Coen, Australia','country_id' => '12'),\narray('id' => '7927','name' => '(CIE) - Collie Airport, Collie, Australia','country_id' => '12'),\narray('id' => '7928','name' => '(OOM) - Cooma Snowy Mountains Airport, Cooma, Australia','country_id' => '12'),\narray('id' => '7929','name' => '(CDA) - Cooinda Airport, , Australia','country_id' => '12'),\narray('id' => '7930','name' => '(CWW) - Corowa Airport, , Australia','country_id' => '12'),\narray('id' => '7931','name' => '(CFP) - Carpentaria Downs Airport, Carpentaria Downs, Australia','country_id' => '12'),\narray('id' => '7932','name' => '(CYG) - Corryong Airport, , Australia','country_id' => '12'),\narray('id' => '7933','name' => '(CXQ) - Christmas Creek Station Airport, Christmas Creek, Australia','country_id' => '12'),\narray('id' => '7934','name' => '(CDQ) - Croydon Airport, , Australia','country_id' => '12'),\narray('id' => '7935','name' => '(KCE) - Collinsville Airport, , Australia','country_id' => '12'),\narray('id' => '7936','name' => '(CMD) - Cootamundra Airport, , Australia','country_id' => '12'),\narray('id' => '7937','name' => '(CUG) - Cudal Airport, , Australia','country_id' => '12'),\narray('id' => '7938','name' => '(CUY) - Cue Airport, , Australia','country_id' => '12'),\narray('id' => '7939','name' => '(CJF) - Coondewanna Airport, Coondewanna, Australia','country_id' => '12'),\narray('id' => '7940','name' => '(CWR) - Cowarie Airport, , Australia','country_id' => '12'),\narray('id' => '7941','name' => '(CCW) - Cowell Airport, , Australia','country_id' => '12'),\narray('id' => '7942','name' => '(CWT) - Cowra Airport, , Australia','country_id' => '12'),\narray('id' => '7943','name' => '(COY) - Coolawanyah Airport, Coolawanyah Station, Australia','country_id' => '12'),\narray('id' => '7944','name' => '(DJR) - Dajarra Airport, , Australia','country_id' => '12'),\narray('id' => '7945','name' => '(DBY) - Dalby Airport, , Australia','country_id' => '12'),\narray('id' => '7946','name' => '(DRN) - Dirranbandi Airport, , Australia','country_id' => '12'),\narray('id' => '7947','name' => '(DNB) - Dunbar Airport, , Australia','country_id' => '12'),\narray('id' => '7948','name' => '(DRB) - Derby Airport, , Australia','country_id' => '12'),\narray('id' => '7949','name' => '(DFP) - Drumduff Airport, Drumduff, Australia','country_id' => '12'),\narray('id' => '7950','name' => '(DGD) - Dalgaranga Gold Mine Airport, , Australia','country_id' => '12'),\narray('id' => '7951','name' => '(DNG) - Doongan Airport, , Australia','country_id' => '12'),\narray('id' => '7952','name' => '(DXD) - Dixie Airport, New Dixie, Australia','country_id' => '12'),\narray('id' => '7953','name' => '(DKI) - Dunk Island Airport, Dunk Island, Australia','country_id' => '12'),\narray('id' => '7954','name' => '(DLK) - Dulkaninna Airport, Dulkaninna, Australia','country_id' => '12'),\narray('id' => '7955','name' => '(DNQ) - Deniliquin Airport, Deniliquin, Australia','country_id' => '12'),\narray('id' => '7956','name' => '(DDN) - Delta Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7957','name' => '(DLV) - Delissaville Airport, , Australia','country_id' => '12'),\narray('id' => '7958','name' => '(DYW) - Daly Waters Airport, Daly Waters, Australia','country_id' => '12'),\narray('id' => '7959','name' => '(DMD) - Doomadgee Airport, , Australia','country_id' => '12'),\narray('id' => '7960','name' => '(DVR) - Daly River Airport, , Australia','country_id' => '12'),\narray('id' => '7961','name' => '(NLF) - Darnley Island Airport, Darnley Island, Australia','country_id' => '12'),\narray('id' => '7962','name' => '(DRD) - Dorunda Airport, Dorunda Outstation, Australia','country_id' => '12'),\narray('id' => '7963','name' => '(DVP) - Davenport Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7964','name' => '(DPO) - Devonport Airport, Devonport, Australia','country_id' => '12'),\narray('id' => '7965','name' => '(DOX) - Dongara Airport, , Australia','country_id' => '12'),\narray('id' => '7966','name' => '(DRY) - Drysdale River Airport, , Australia','country_id' => '12'),\narray('id' => '7967','name' => '(DHD) - Durham Downs Airport, , Australia','country_id' => '12'),\narray('id' => '7968','name' => '(DRR) - Durrie Airport, , Australia','country_id' => '12'),\narray('id' => '7969','name' => '(SRR) - Dunwich Airport, Stradbroke Island, Australia','country_id' => '12'),\narray('id' => '7970','name' => '(DKV) - Docker River Airport, , Australia','country_id' => '12'),\narray('id' => '7971','name' => '(DYA) - Dysart Airport, , Australia','country_id' => '12'),\narray('id' => '7972','name' => '(WDA) - Wadi Ain Airport, Wadi Ain, Yemen','country_id' => '241'),\narray('id' => '7973','name' => '(ECH) - Echuca Airport, , Australia','country_id' => '12'),\narray('id' => '7974','name' => '(EUC) - Eucla Airport, , Australia','country_id' => '12'),\narray('id' => '7975','name' => '(ETD) - Etadunna Airport, Etadunna, Australia','country_id' => '12'),\narray('id' => '7976','name' => '(ENB) - Eneabba Airport, Eneabba, Australia','country_id' => '12'),\narray('id' => '7977','name' => '(EIH) - Einasleigh Airport, Einasleigh, Australia','country_id' => '12'),\narray('id' => '7978','name' => '(ELC) - Elcho Island Airport, Elcho Island, Australia','country_id' => '12'),\narray('id' => '7979','name' => '(EKD) - Elkedra Airport, , Australia','country_id' => '12'),\narray('id' => '7980','name' => '(EMD) - Emerald Airport, Emerald, Australia','country_id' => '12'),\narray('id' => '7981','name' => '(YEQ) - Yenkis(Yankisa) Airport, , Papua New Guinea','country_id' => '172'),\narray('id' => '7982','name' => '(EDD) - Erldunda Airport, , Australia','country_id' => '12'),\narray('id' => '7983','name' => '(ERB) - Ernabella Airport, , Australia','country_id' => '12'),\narray('id' => '7984','name' => '(ERQ) - Elrose Airport, Elrose Mine, Australia','country_id' => '12'),\narray('id' => '7985','name' => '(EPR) - Esperance Airport, Esperance, Australia','country_id' => '12'),\narray('id' => '7986','name' => '(EVD) - Eva Downs Airport, Eva Downs, Australia','country_id' => '12'),\narray('id' => '7987','name' => '(EVH) - Evans Head Aerodrome, , Australia','country_id' => '12'),\narray('id' => '7988','name' => '(EXM) - Exmouth Airport, , Australia','country_id' => '12'),\narray('id' => '7989','name' => '(FRB) - Forbes Airport, Forbes,, Australia','country_id' => '12'),\narray('id' => '7990','name' => '(KFE) - Fortescue - Dave Forrest Aerodrome, Cloudbreak Village, Australia','country_id' => '12'),\narray('id' => '7991','name' => '(FLY) - Finley Airport, , Australia','country_id' => '12'),\narray('id' => '7992','name' => '(FLS) - Flinders Island Airport, Flinders Island, Australia','country_id' => '12'),\narray('id' => '7993','name' => '(FVL) - Flora Valley Airport, , Australia','country_id' => '12'),\narray('id' => '7994','name' => '(FIK) - Finke Airport, Finke, Australia','country_id' => '12'),\narray('id' => '7995','name' => '(FOS) - Forrest Airport, , Australia','country_id' => '12'),\narray('id' => '7996','name' => '(FVR) - Oombulgurri Airport, Forrest River Mission, Australia','country_id' => '12'),\narray('id' => '7997','name' => '(FOT) - Forster (Wallis Is) Airport, , Australia','country_id' => '12'),\narray('id' => '7998','name' => '(FIZ) - Fitzroy Crossing Airport, , Australia','country_id' => '12'),\narray('id' => '7999','name' => '(GBP) - Gamboola Airport, , Australia','country_id' => '12'),\narray('id' => '8000','name' => '(GAH) - Gayndah Airport, , Australia','country_id' => '12'),\narray('id' => '8001','name' => '(GBL) - South Goulburn Is Airport, , Australia','country_id' => '12'),\narray('id' => '8002','name' => '(GUH) - Gunnedah Airport, , Australia','country_id' => '12'),\narray('id' => '8003','name' => '(GOO) - Goondiwindi Airport, , Australia','country_id' => '12'),\narray('id' => '8004','name' => '(GDD) - Gordon Downs Airport, Gordon Downs, Australia','country_id' => '12'),\narray('id' => '8005','name' => '(GGD) - Gregory Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8006','name' => '(GTS) - Granite Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8007','name' => '(GET) - Geraldton Airport, Geraldton, Australia','country_id' => '12'),\narray('id' => '8008','name' => '(GFN) - Grafton Airport, , Australia','country_id' => '12'),\narray('id' => '8009','name' => '(GBV) - Gibb River Airport, , Australia','country_id' => '12'),\narray('id' => '8010','name' => '(GKL) - Great Keppel Is Airport, Great Keppel Island, Australia','country_id' => '12'),\narray('id' => '8011','name' => '(GLT) - Gladstone Airport, Gladstone, Australia','country_id' => '12'),\narray('id' => '8012','name' => '(GUL) - Goulburn Airport, , Australia','country_id' => '12'),\narray('id' => '8013','name' => '(GLG) - Glengyle Airport, , Australia','country_id' => '12'),\narray('id' => '8014','name' => '(GEX) - Geelong Airport, , Australia','country_id' => '12'),\narray('id' => '8015','name' => '(GLI) - Glen Innes Airport, , Australia','country_id' => '12'),\narray('id' => '8016','name' => '(GLM) - Glenormiston Airport, , Australia','country_id' => '12'),\narray('id' => '8017','name' => '(GFE) - Grenfell Airport, Grenfell, Australia','country_id' => '12'),\narray('id' => '8018','name' => '(GVP) - Greenvale Airport, , Australia','country_id' => '12'),\narray('id' => '8019','name' => '(GPD) - Mount Gordon Airport, Mount Gordon Mine, Australia','country_id' => '12'),\narray('id' => '8020','name' => '(GPN) - Garden Point Airport, , Australia','country_id' => '12'),\narray('id' => '8021','name' => '(GSC) - Gascoyne Junction Airport, Gascoyne Junction, Australia','country_id' => '12'),\narray('id' => '8022','name' => '(GTE) - Groote Eylandt Airport, Groote Eylandt, Australia','country_id' => '12'),\narray('id' => '8023','name' => '(GFF) - Griffith Airport, Griffith, Australia','country_id' => '12'),\narray('id' => '8024','name' => '(GTT) - Georgetown Airport, , Australia','country_id' => '12'),\narray('id' => '8025','name' => '(GEE) - Georgetown (Tas) Airport, , Australia','country_id' => '12'),\narray('id' => '8026','name' => '(GYP) - Gympie Airport, , Australia','country_id' => '12'),\narray('id' => '8027','name' => '(HWK) - Wilpena Pound Airport, Hawker, Australia','country_id' => '12'),\narray('id' => '8028','name' => '(HXX) - Hay Airport, , Australia','country_id' => '12'),\narray('id' => '8029','name' => '(HVB) - Hervey Bay Airport, Hervey Bay, Australia','country_id' => '12'),\narray('id' => '8030','name' => '(HUB) - Humbert River Airport, , Australia','country_id' => '12'),\narray('id' => '8031','name' => '(HRY) - Henbury Airport, , Australia','country_id' => '12'),\narray('id' => '8032','name' => '(HIP) - Headingly Airport, , Australia','country_id' => '12'),\narray('id' => '8033','name' => '(HIG) - Highbury Airport, , Australia','country_id' => '12'),\narray('id' => '8034','name' => '(HID) - Horn Island Airport, Horn Island, Australia','country_id' => '12'),\narray('id' => '8035','name' => '(HLL) - Hillside Airport, Hillside, Australia','country_id' => '12'),\narray('id' => '8036','name' => '(HCQ) - Halls Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8037','name' => '(HMG) - Hermannsburg Airport, , Australia','country_id' => '12'),\narray('id' => '8038','name' => '(HLT) - Hamilton Airport, , Australia','country_id' => '12'),\narray('id' => '8039','name' => '(HOK) - Hooker Creek Airport, Lajamanu, Australia','country_id' => '12'),\narray('id' => '8040','name' => '(MHU) - Mount Hotham Airport, Mount Hotham, Australia','country_id' => '12'),\narray('id' => '8041','name' => '(HTU) - Hopetoun Airport, , Australia','country_id' => '12'),\narray('id' => '8042','name' => '(HPE) - Hope Vale Airport, Hope Vale, Australia','country_id' => '12'),\narray('id' => '8043','name' => '(HSM) - Horsham Airport, , Australia','country_id' => '12'),\narray('id' => '8044','name' => '(HAT) - Heathlands Airport, , Australia','country_id' => '12'),\narray('id' => '8045','name' => '(HGD) - Hughenden Airport, , Australia','country_id' => '12'),\narray('id' => '8046','name' => '(IDK) - Indulkana Airport, , Australia','country_id' => '12'),\narray('id' => '8047','name' => '(IFL) - Innisfail Airport, , Australia','country_id' => '12'),\narray('id' => '8048','name' => '(IFF) - Iffley Airport, , Australia','country_id' => '12'),\narray('id' => '8049','name' => '(IGH) - Ingham Airport, , Australia','country_id' => '12'),\narray('id' => '8050','name' => '(IKP) - Inkerman Airport, , Australia','country_id' => '12'),\narray('id' => '8051','name' => '(INJ) - Injune Airport, Injune, Australia','country_id' => '12'),\narray('id' => '8052','name' => '(INM) - Innamincka Airport, , Australia','country_id' => '12'),\narray('id' => '8053','name' => '(IVW) - Inverway Airport, Inverway, Australia','country_id' => '12'),\narray('id' => '8054','name' => '(ISI) - Isisford Airport, , Australia','country_id' => '12'),\narray('id' => '8055','name' => '(IVR) - Inverell Airport, Inverell, Australia','country_id' => '12'),\narray('id' => '8056','name' => '(JAB) - Jabiru Airport, , Australia','country_id' => '12'),\narray('id' => '8057','name' => '(JUN) - Jundah Airport, , Australia','country_id' => '12'),\narray('id' => '8058','name' => '(QJD) - Jindabyne Airport, , Australia','country_id' => '12'),\narray('id' => '8059','name' => '(JCK) - Julia Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8060','name' => '(JUR) - Jurien Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8061','name' => '(UBU) - Kalumburu Airport, , Australia','country_id' => '12'),\narray('id' => '8062','name' => '(KDB) - Kambalda Airport, Kambalda, Australia','country_id' => '12'),\narray('id' => '8063','name' => '(KAX) - Kalbarri Airport, Kalbarri, Australia','country_id' => '12'),\narray('id' => '8064','name' => '(KBY) - Streaky Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8065','name' => '(KBJ) - Kings Canyon Airport, Kings Canyon Resort, Australia','country_id' => '12'),\narray('id' => '8066','name' => '(KCS) - Kings Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8067','name' => '(KRA) - Kerang Airport, , Australia','country_id' => '12'),\narray('id' => '8068','name' => '(KNS) - King Island Airport, , Australia','country_id' => '12'),\narray('id' => '8069','name' => '(KBB) - Kirkimbie Station Airport, Kirkimbie, Australia','country_id' => '12'),\narray('id' => '8070','name' => '(KFG) - Kalkgurung Airport, , Australia','country_id' => '12'),\narray('id' => '8071','name' => '(KOH) - Koolatah Airport, , Australia','country_id' => '12'),\narray('id' => '8072','name' => '(KKP) - Koolburra Airport, Koolburra, Australia','country_id' => '12'),\narray('id' => '8073','name' => '(KRB) - Karumba Airport, , Australia','country_id' => '12'),\narray('id' => '8074','name' => '(KML) - Kamileroi Airport, , Australia','country_id' => '12'),\narray('id' => '8075','name' => '(KPS) - Kempsey Airport, , Australia','country_id' => '12'),\narray('id' => '8076','name' => '(KNI) - Katanning Airport, , Australia','country_id' => '12'),\narray('id' => '8077','name' => '(KWM) - Kowanyama Airport, Kowanyama, Australia','country_id' => '12'),\narray('id' => '8078','name' => '(KPP) - Kalpowar Airport, Kalpower, Australia','country_id' => '12'),\narray('id' => '8079','name' => '(KGY) - Kingaroy Airport, , Australia','country_id' => '12'),\narray('id' => '8080','name' => '(KGC) - Kingscote Airport, , Australia','country_id' => '12'),\narray('id' => '8081','name' => '(KUG) - Kubin Airport, Moa Island, Australia','country_id' => '12'),\narray('id' => '8082','name' => '(KRD) - Kurundi Airport, Kurundi Station, Australia','country_id' => '12'),\narray('id' => '8083','name' => '(LWH) - Lawn Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8084','name' => '(LGH) - Leigh Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8085','name' => '(LNO) - Leonora Airport, Leonora, Australia','country_id' => '12'),\narray('id' => '8086','name' => '(LEL) - Lake Evella Airport, , Australia','country_id' => '12'),\narray('id' => '8087','name' => '(LFP) - Lakefield Airport, Lakefield, Australia','country_id' => '12'),\narray('id' => '8088','name' => '(LDH) - Lord Howe Island Airport, Lord Howe Island, Australia','country_id' => '12'),\narray('id' => '8089','name' => '(IRG) - Lockhart River Airport, Lockhart River, Australia','country_id' => '12'),\narray('id' => '8090','name' => '(LTP) - Lyndhurst Airport, Lyndhurst, Australia','country_id' => '12'),\narray('id' => '8091','name' => '(LIB) - Limbunya Airport, Limbunya, Australia','country_id' => '12'),\narray('id' => '8092','name' => '(LDC) - Lindeman Island Airport, Lindeman Island, Australia','country_id' => '12'),\narray('id' => '8093','name' => '(LSY) - Lismore Airport, Lismore, Australia','country_id' => '12'),\narray('id' => '8094','name' => '(LNH) - Lake Nash Airport, Alpurrurulam, Australia','country_id' => '12'),\narray('id' => '8095','name' => '(BBL) - Ballera Airport, , Australia','country_id' => '12'),\narray('id' => '8096','name' => '(LKD) - Lakeland Airport, Lakeland Downs, Australia','country_id' => '12'),\narray('id' => '8097','name' => '(LOC) - Lock Airport, Lock, Australia','country_id' => '12'),\narray('id' => '8098','name' => '(LOA) - Lorraine Airport, , Australia','country_id' => '12'),\narray('id' => '8099','name' => '(LTV) - Lotus Vale Airport, Lotus Vale, Australia','country_id' => '12'),\narray('id' => '8100','name' => '(YLP) - Mingan Airport, Mingan, Canada','country_id' => '35'),\narray('id' => '8101','name' => '(LUU) - Laura Airport, , Australia','country_id' => '12'),\narray('id' => '8102','name' => '(LHG) - Lightning Ridge Airport, , Australia','country_id' => '12'),\narray('id' => '8103','name' => '(LRE) - Longreach Airport, Longreach, Australia','country_id' => '12'),\narray('id' => '8104','name' => '(LUT) - New Laura Airport, , Australia','country_id' => '12'),\narray('id' => '8105','name' => '(LER) - Leinster Airport, , Australia','country_id' => '12'),\narray('id' => '8106','name' => '(LVO) - Laverton Airport, , Australia','country_id' => '12'),\narray('id' => '8107','name' => '(TGN) - Latrobe Valley Airport, Morwell, Australia','country_id' => '12'),\narray('id' => '8108','name' => '(LZR) - Lizard Island Airport, , Australia','country_id' => '12'),\narray('id' => '8109','name' => '(UBB) - Mabuiag Island Airport, Mabuiag Island, Australia','country_id' => '12'),\narray('id' => '8110','name' => '(AVV) - Avalon Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8111','name' => '(ABX) - Albury Airport, Albury, Australia','country_id' => '12'),\narray('id' => '8112','name' => '(MRG) - Mareeba Airport, , Australia','country_id' => '12'),\narray('id' => '8113','name' => '(MBB) - Marble Bar Airport, , Australia','country_id' => '12'),\narray('id' => '8114','name' => '(XMC) - Mallacoota Airport, , Australia','country_id' => '12'),\narray('id' => '8115','name' => '(MFP) - Manners Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8116','name' => '(MLR) - Millicent Airport, , Australia','country_id' => '12'),\narray('id' => '8117','name' => '(DGE) - Mudgee Airport, Mudgee, Australia','country_id' => '12'),\narray('id' => '8118','name' => '(MQA) - Mandora Airport, Mandora, Australia','country_id' => '12'),\narray('id' => '8119','name' => '(MNW) - Macdonald Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8120','name' => '(MKR) - Meekatharra Airport, , Australia','country_id' => '12'),\narray('id' => '8121','name' => '(MEB) - Melbourne Essendon Airport, , Australia','country_id' => '12'),\narray('id' => '8122','name' => '(MIM) - Merimbula Airport, Merimbula, Australia','country_id' => '12'),\narray('id' => '8123','name' => '(MLV) - Merluna Airport, Merluna, Australia','country_id' => '12'),\narray('id' => '8124','name' => '(MGT) - Milingimbi Airport, Milingimbi Island, Australia','country_id' => '12'),\narray('id' => '8125','name' => '(MNG) - Maningrida Airport, Maningrida, Australia','country_id' => '12'),\narray('id' => '8126','name' => '(GSN) - Mount Gunson Airport, Mount Gunson, Australia','country_id' => '12'),\narray('id' => '8127','name' => '(MGV) - Margaret River (Station) Airport, , Australia','country_id' => '12'),\narray('id' => '8128','name' => '(MQZ) - Margaret River Airport, , Australia','country_id' => '12'),\narray('id' => '8129','name' => '(MVU) - Musgrave Airport, Musgrave, Australia','country_id' => '12'),\narray('id' => '8130','name' => '(HBA) - Hobart International Airport, Hobart, Australia','country_id' => '12'),\narray('id' => '8131','name' => '(MHO) - Mount House Airport, , Australia','country_id' => '12'),\narray('id' => '8132','name' => '(MCV) - McArthur River Mine Airport, McArthur River Mine, Australia','country_id' => '12'),\narray('id' => '8133','name' => '(MQL) - Mildura Airport, Mildura, Australia','country_id' => '12'),\narray('id' => '8134','name' => '(XML) - Minlaton Airport, , Australia','country_id' => '12'),\narray('id' => '8135','name' => '(MIH) - Mitchell Plateau Airport, Mitchell Plateau, Australia','country_id' => '12'),\narray('id' => '8136','name' => '(MTQ) - Mitchell Airport, , Australia','country_id' => '12'),\narray('id' => '8137','name' => '(MJP) - Manjimup Airport, , Australia','country_id' => '12'),\narray('id' => '8138','name' => '(WLE) - Miles Airport, , Australia','country_id' => '12'),\narray('id' => '8139','name' => '(LST) - Launceston Airport, Launceston, Australia','country_id' => '12'),\narray('id' => '8140','name' => '(MBW) - Melbourne Moorabbin Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8141','name' => '(MEL) - Melbourne International Airport, Melbourne, Australia','country_id' => '12'),\narray('id' => '8142','name' => '(MMM) - Middlemount Airport, , Australia','country_id' => '12'),\narray('id' => '8143','name' => '(MTL) - Maitland Airport, , Australia','country_id' => '12'),\narray('id' => '8144','name' => '(WME) - Mount Keith Airport, , Australia','country_id' => '12'),\narray('id' => '8145','name' => '(ONR) - Monkira Airport, , Australia','country_id' => '12'),\narray('id' => '8146','name' => '(OXY) - Morney Airport, , Australia','country_id' => '12'),\narray('id' => '8147','name' => '(MMG) - Mount Magnet Airport, , Australia','country_id' => '12'),\narray('id' => '8148','name' => '(OOR) - Mooraberree Airport, , Australia','country_id' => '12'),\narray('id' => '8149','name' => '(MRZ) - Moree Airport, Moree, Australia','country_id' => '12'),\narray('id' => '8150','name' => '(MET) - Moreton Airport, Moreton, Australia','country_id' => '12'),\narray('id' => '8151','name' => '(MIN) - Minnipa Airport, , Australia','country_id' => '12'),\narray('id' => '8152','name' => '(MQE) - Marqua Airport, Marqua, Australia','country_id' => '12'),\narray('id' => '8153','name' => '(MOV) - Moranbah Airport, Moranbah, Australia','country_id' => '12'),\narray('id' => '8154','name' => '(RRE) - Marree Airport, , Australia','country_id' => '12'),\narray('id' => '8155','name' => '(MWB) - Morawa Airport, , Australia','country_id' => '12'),\narray('id' => '8156','name' => '(MYA) - Moruya Airport, Moruya, Australia','country_id' => '12'),\narray('id' => '8157','name' => '(MTD) - Mount Sanford Station Airport, , Australia','country_id' => '12'),\narray('id' => '8158','name' => '(MIY) - Mittebah Airport, , Australia','country_id' => '12'),\narray('id' => '8159','name' => '(UTB) - Muttaburra Airport, , Australia','country_id' => '12'),\narray('id' => '8160','name' => '(MGB) - Mount Gambier Airport, , Australia','country_id' => '12'),\narray('id' => '8161','name' => '(ONG) - Mornington Island Airport, , Australia','country_id' => '12'),\narray('id' => '8162','name' => '(MNQ) - Monto Airport, , Australia','country_id' => '12'),\narray('id' => '8163','name' => '(MUQ) - Muccan Station Airport, Muccan Station, Australia','country_id' => '12'),\narray('id' => '8164','name' => '(MNE) - Mungeranie Airport, Mungeranie, Australia','country_id' => '12'),\narray('id' => '8165','name' => '(MYI) - Murray Island Airport, Murray Island, Australia','country_id' => '12'),\narray('id' => '8166','name' => '(MVK) - Mulka Airport, Mulka, Australia','country_id' => '12'),\narray('id' => '8167','name' => '(MUP) - Mulga Park Airport, , Australia','country_id' => '12'),\narray('id' => '8168','name' => '(MKV) - Mount Cavenagh Airport, , Australia','country_id' => '12'),\narray('id' => '8169','name' => '(MXU) - Mullewa Airport, , Australia','country_id' => '12'),\narray('id' => '8170','name' => '(MWT) - Moolawatana Airport, Moolawatana Station, Australia','country_id' => '12'),\narray('id' => '8171','name' => '(MXD) - Marion Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8172','name' => '(MBH) - Maryborough Airport, , Australia','country_id' => '12'),\narray('id' => '8173','name' => '(RTY) - Merty Merty Airport, , Australia','country_id' => '12'),\narray('id' => '8174','name' => '(NMR) - Nappa Merrie Airport, , Australia','country_id' => '12'),\narray('id' => '8175','name' => '(NRA) - Narrandera Airport, Narrandera, Australia','country_id' => '12'),\narray('id' => '8176','name' => '(NAA) - Narrabri Airport, Narrabri, Australia','country_id' => '12'),\narray('id' => '8177','name' => '(RPM) - Ngukurr Airport, , Australia','country_id' => '12'),\narray('id' => '8178','name' => '(NBH) - Nambucca Heads Airport, Nambucca Heads, Australia','country_id' => '12'),\narray('id' => '8179','name' => '(NLS) - Nicholson Airport, , Australia','country_id' => '12'),\narray('id' => '8180','name' => '(NKB) - Noonkanbah Airport, , Australia','country_id' => '12'),\narray('id' => '8181','name' => '(NMP) - New Moon Airport, Basalt, Australia','country_id' => '12'),\narray('id' => '8182','name' => '(NPP) - Napperby Airport, Napperby, Australia','country_id' => '12'),\narray('id' => '8183','name' => '(NAC) - Naracoorte Airport, , Australia','country_id' => '12'),\narray('id' => '8184','name' => '(NRG) - Narrogin Airport, Narrogin, Australia','country_id' => '12'),\narray('id' => '8185','name' => '(QRM) - Narromine Airport, , Australia','country_id' => '12'),\narray('id' => '8186','name' => '(RVT) - Ravensthorpe Airport, , Australia','country_id' => '12'),\narray('id' => '8187','name' => '(NSV) - Noosa Airport, , Australia','country_id' => '12'),\narray('id' => '8188','name' => '(NSM) - Norseman Airport, , Australia','country_id' => '12'),\narray('id' => '8189','name' => '(NTN) - Normanton Airport, Normanton, Australia','country_id' => '12'),\narray('id' => '8190','name' => '(NUR) - Nullabor Motel Airport, , Australia','country_id' => '12'),\narray('id' => '8191','name' => '(NLL) - Nullagine Airport, , Australia','country_id' => '12'),\narray('id' => '8192','name' => '(NUB) - Numbulwar Airport, , Australia','country_id' => '12'),\narray('id' => '8193','name' => '(UTD) - Nutwood Downs Airport, Nutwood Downs, Australia','country_id' => '12'),\narray('id' => '8194','name' => '(ZNE) - Newman Airport, Newman, Australia','country_id' => '12'),\narray('id' => '8195','name' => '(NYN) - Nyngan Airport, , Australia','country_id' => '12'),\narray('id' => '8196','name' => '(OPI) - Oenpelli Airport, , Australia','country_id' => '12'),\narray('id' => '8197','name' => '(YOI) - Opinaca Aerodrome, AlAonore Mine, Canada','country_id' => '35'),\narray('id' => '8198','name' => '(XCO) - Colac Airport, , Australia','country_id' => '12'),\narray('id' => '8199','name' => '(OLP) - Olympic Dam Airport, Olympic Dam, Australia','country_id' => '12'),\narray('id' => '8200','name' => '(ONS) - Onslow Airport, , Australia','country_id' => '12'),\narray('id' => '8201','name' => '(ODD) - Oodnadatta Airport, , Australia','country_id' => '12'),\narray('id' => '8202','name' => '(MOO) - Moomba Airport, , Australia','country_id' => '12'),\narray('id' => '8203','name' => '(RBS) - Orbost Airport, , Australia','country_id' => '12'),\narray('id' => '8204','name' => '(OAG) - Orange Airport, Orange, Australia','country_id' => '12'),\narray('id' => '8205','name' => '(ODR) - Ord River Airport, Ord River, Australia','country_id' => '12'),\narray('id' => '8206','name' => '(OSO) - Osborne Mine Airport, , Australia','country_id' => '12'),\narray('id' => '8207','name' => '(OYN) - Ouyen Airport, , Australia','country_id' => '12'),\narray('id' => '8208','name' => '(ADL) - Adelaide International Airport, Adelaide, Australia','country_id' => '12'),\narray('id' => '8209','name' => '(PUG) - Port Augusta Airport, , Australia','country_id' => '12'),\narray('id' => '8210','name' => '(PMK) - Palm Island Airport, , Australia','country_id' => '12'),\narray('id' => '8211','name' => '(PBO) - Paraburdoo Airport, Paraburdoo, Australia','country_id' => '12'),\narray('id' => '8212','name' => '(CCK) - Cocos (Keeling) Islands Airport, Cocos (Keeling) Islands, Cocos (Keeling) Islands','country_id' => '36'),\narray('id' => '8213','name' => '(PDN) - Parndana Airport, Kangaroo Island, Australia','country_id' => '12'),\narray('id' => '8214','name' => '(PDE) - Pandie Pandie Airport, , Australia','country_id' => '12'),\narray('id' => '8215','name' => '(DRW) - Darwin International Airport, Darwin, Australia','country_id' => '12'),\narray('id' => '8216','name' => '(PRD) - Pardoo Airport, Pardoo, Australia','country_id' => '12'),\narray('id' => '8217','name' => '(BEO) - Lake Macquarie Airport, , Australia','country_id' => '12'),\narray('id' => '8218','name' => '(GOV) - Gove Airport, Nhulunbuy, Australia','country_id' => '12'),\narray('id' => '8219','name' => '(PPI) - Port Pirie Airport, , Australia','country_id' => '12'),\narray('id' => '8220','name' => '(JAD) - Perth Jandakot Airport, Perth, Australia','country_id' => '12'),\narray('id' => '8221','name' => '(KTA) - Karratha Airport, Karratha, Australia','country_id' => '12'),\narray('id' => '8222','name' => '(KGI) - Kalgoorlie Boulder Airport, Kalgoorlie, Australia','country_id' => '12'),\narray('id' => '8223','name' => '(PKE) - Parkes Airport, Parkes, Australia','country_id' => '12'),\narray('id' => '8224','name' => '(PKT) - Port Keats Airport, , Australia','country_id' => '12'),\narray('id' => '8225','name' => '(KNX) - Kununurra Airport, Kununurra, Australia','country_id' => '12'),\narray('id' => '8226','name' => '(PLO) - Port Lincoln Airport, Port Lincoln, Australia','country_id' => '12'),\narray('id' => '8227','name' => '(LEA) - Learmonth Airport, Exmouth, Australia','country_id' => '12'),\narray('id' => '8228','name' => '(PXH) - Prominent Hill Airport, OZ Minerals Prominent Hill Mine, Australia','country_id' => '12'),\narray('id' => '8229','name' => '(EDR) - Pormpuraaw Airport, Pormpuraaw, Australia','country_id' => '12'),\narray('id' => '8230','name' => '(PQQ) - Port Macquarie Airport, Port Macquarie, Australia','country_id' => '12'),\narray('id' => '8231','name' => '(PEY) - Penong Airport, Penong, Australia','country_id' => '12'),\narray('id' => '8232','name' => '(PTJ) - Portland Airport, , Australia','country_id' => '12'),\narray('id' => '8233','name' => '(PHE) - Port Hedland International Airport, Port Hedland, Australia','country_id' => '12'),\narray('id' => '8234','name' => '(PER) - Perth International Airport, Perth, Australia','country_id' => '12'),\narray('id' => '8235','name' => '(PEA) - Penneshaw Airport, Ironstone, Australia','country_id' => '12'),\narray('id' => '8236','name' => '(KTR) - Tindal Airport, , Australia','country_id' => '12'),\narray('id' => '8237','name' => '(UMR) - Woomera Airfield, Woomera, Australia','country_id' => '12'),\narray('id' => '8238','name' => '(XCH) - Christmas Island Airport, Christmas Island, Christmas Island','country_id' => '51'),\narray('id' => '8239','name' => '(UIR) - Quirindi Airport, , Australia','country_id' => '12'),\narray('id' => '8240','name' => '(ULP) - Quilpie Airport, , Australia','country_id' => '12'),\narray('id' => '8241','name' => '(UEE) - Queenstown Airport, , Australia','country_id' => '12'),\narray('id' => '8242','name' => '(RRV) - Robinson River Airport, , Australia','country_id' => '12'),\narray('id' => '8243','name' => '(YRD) - Dean River Airport, Kimsquit Valley, Canada','country_id' => '35'),\narray('id' => '8244','name' => '(RMK) - Renmark Airport, , Australia','country_id' => '12'),\narray('id' => '8245','name' => '(RCM) - Richmond Airport, , Australia','country_id' => '12'),\narray('id' => '8246','name' => '(RAM) - Ramingining Airport, , Australia','country_id' => '12'),\narray('id' => '8247','name' => '(ROH) - Robinhood Airport, , Australia','country_id' => '12'),\narray('id' => '8248','name' => '(RBU) - Roebourne Airport, Roebourne, Australia','country_id' => '12'),\narray('id' => '8249','name' => '(RBC) - Robinvale Airport, , Australia','country_id' => '12'),\narray('id' => '8250','name' => '(RMA) - Roma Airport, Roma, Australia','country_id' => '12'),\narray('id' => '8251','name' => '(RPB) - Roper Bar Airport, Roper Bar, Australia','country_id' => '12'),\narray('id' => '8252','name' => '(RSB) - Roseberth Airport, , Australia','country_id' => '12'),\narray('id' => '8253','name' => '(RTS) - Rottnest Island Airport, , Australia','country_id' => '12'),\narray('id' => '8254','name' => '(RTP) - Rutland Plains Airport, , Australia','country_id' => '12'),\narray('id' => '8255','name' => '(RHL) - Roy Hill Station Airport, , Australia','country_id' => '12'),\narray('id' => '8256','name' => '(NDS) - Sandstone Airport, Sandstone, Australia','country_id' => '12'),\narray('id' => '8257','name' => '(BWU) - Sydney Bankstown Airport, Sydney, Australia','country_id' => '12'),\narray('id' => '8258','name' => '(CBR) - Canberra International Airport, Canberra, Australia','country_id' => '12'),\narray('id' => '8259','name' => '(CFS) - Coffs Harbour Airport, Coffs Harbour, Australia','country_id' => '12'),\narray('id' => '8260','name' => '(CDU) - Camden Airport, , Australia','country_id' => '12'),\narray('id' => '8261','name' => '(NSO) - Scone Airport, , Australia','country_id' => '12'),\narray('id' => '8262','name' => '(SQC) - Southern Cross Airport, , Australia','country_id' => '12'),\narray('id' => '8263','name' => '(DBO) - Dubbo City Regional Airport, Dubbo, Australia','country_id' => '12'),\narray('id' => '8264','name' => '(SGO) - St George Airport, , Australia','country_id' => '12'),\narray('id' => '8265','name' => '(SIX) - Singleton Airport, Singleton, Australia','country_id' => '12'),\narray('id' => '8266','name' => '(ZGL) - South Galway Airport, , Australia','country_id' => '12'),\narray('id' => '8267','name' => '(SGP) - Shay Gap Airport, Shay Gap, Australia','country_id' => '12'),\narray('id' => '8268','name' => '(MJK) - Shark Bay Airport, Denham, Australia','country_id' => '12'),\narray('id' => '8269','name' => '(JHQ) - Shute Harbour Airport, , Australia','country_id' => '12'),\narray('id' => '8270','name' => '(SHT) - Shepparton Airport, , Australia','country_id' => '12'),\narray('id' => '8271','name' => '(SBR) - Saibai Island Airport, Saibai Island, Australia','country_id' => '12'),\narray('id' => '8272','name' => '(SIO) - Smithton Airport, , Australia','country_id' => '12'),\narray('id' => '8273','name' => '(SHU) - Smith Point Airport, , Australia','country_id' => '12'),\narray('id' => '8274','name' => '(STH) - Strathmore Airport, , Australia','country_id' => '12'),\narray('id' => '8275','name' => '(SNB) - Snake Bay Airport, , Australia','country_id' => '12'),\narray('id' => '8276','name' => '(NLK) - Norfolk Island International Airport, Burnt Pine, Norfolk Island','country_id' => '159'),\narray('id' => '8277','name' => '(NOA) - Nowra Airport, , Australia','country_id' => '12'),\narray('id' => '8278','name' => '(SNH) - Stanthorpe Airport, , Australia','country_id' => '12'),\narray('id' => '8279','name' => '(SCG) - Spring Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8280','name' => '(SHQ) - Southport Airport, , Australia','country_id' => '12'),\narray('id' => '8281','name' => '(KSV) - Springvale Airport, , Australia','country_id' => '12'),\narray('id' => '8282','name' => '(XRH) - RAAF Base Richmond, Richmond, Australia','country_id' => '12'),\narray('id' => '8283','name' => '(SRN) - Strahan Airport, , Australia','country_id' => '12'),\narray('id' => '8284','name' => '(SYD) - Sydney Kingsford Smith International Airport, Sydney, Australia','country_id' => '12'),\narray('id' => '8285','name' => '(HLS) - St Helens Airport, , Australia','country_id' => '12'),\narray('id' => '8286','name' => '(TMW) - Tamworth Airport, Tamworth, Australia','country_id' => '12'),\narray('id' => '8287','name' => '(SSP) - Silver Plains Airport, Silver Plains, Australia','country_id' => '12'),\narray('id' => '8288','name' => '(WGA) - Wagga Wagga City Airport, Wagga Wagga, Australia','country_id' => '12'),\narray('id' => '8289','name' => '(SWH) - Swan Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8290','name' => '(SWC) - Stawell Airport, , Australia','country_id' => '12'),\narray('id' => '8291','name' => '(XTR) - Tara Airport, , Australia','country_id' => '12'),\narray('id' => '8292','name' => '(TBL) - Tableland Homestead Airport, , Australia','country_id' => '12'),\narray('id' => '8293','name' => '(XTO) - Taroom Airport, , Australia','country_id' => '12'),\narray('id' => '8294','name' => '(TAQ) - Tarcoola Airport, Tarcoola, Australia','country_id' => '12'),\narray('id' => '8295','name' => '(PYX) - Pattaya Airpark, Pattaya, Thailand','country_id' => '213'),\narray('id' => '8296','name' => '(TBK) - Timber Creek Airport, , Australia','country_id' => '12'),\narray('id' => '8297','name' => '(TDR) - Theodore Airport, , Australia','country_id' => '12'),\narray('id' => '8298','name' => '(TQP) - Trepell Airport, Trepell, Australia','country_id' => '12'),\narray('id' => '8299','name' => '(TEF) - Telfer Airport, , Australia','country_id' => '12'),\narray('id' => '8300','name' => '(TEM) - Temora Airport, , Australia','country_id' => '12'),\narray('id' => '8301','name' => '(TAN) - Tangalooma Airport, , Australia','country_id' => '12'),\narray('id' => '8302','name' => '(XTG) - Thargomindah Airport, , Australia','country_id' => '12'),\narray('id' => '8303','name' => '(TDN) - Theda Station Airport, Theda Station, Australia','country_id' => '12'),\narray('id' => '8304','name' => '(TYG) - Thylungra Airport, , Australia','country_id' => '12'),\narray('id' => '8305','name' => '(TYB) - Tibooburra Airport, , Australia','country_id' => '12'),\narray('id' => '8306','name' => '(TKY) - Turkey Creek Airport, Turkey Creek, Australia','country_id' => '12'),\narray('id' => '8307','name' => '(PHQ) - The Monument Airport, Phosphate Hill, Australia','country_id' => '12'),\narray('id' => '8308','name' => '(TUM) - Tumut Airport, , Australia','country_id' => '12'),\narray('id' => '8309','name' => '(TYP) - Tobermorey Airport, Tobermorey, Australia','country_id' => '12'),\narray('id' => '8310','name' => '(TXR) - Tanbar Airport, Tanbar Station, Australia','country_id' => '12'),\narray('id' => '8311','name' => '(THG) - Thangool Airport, Biloela, Australia','country_id' => '12'),\narray('id' => '8312','name' => '(TCA) - Tennant Creek Airport, Tennant Creek, Australia','country_id' => '12'),\narray('id' => '8313','name' => '(TCW) - Tocumwal Airport, , Australia','country_id' => '12'),\narray('id' => '8314','name' => '(TRO) - Taree Airport, Taree, Australia','country_id' => '12'),\narray('id' => '8315','name' => '(TTX) - Truscott-Mungalalu Airport, Anjo Peninsula, Australia','country_id' => '12'),\narray('id' => '8316','name' => '(TWB) - Toowoomba Airport, , Australia','country_id' => '12'),\narray('id' => '8317','name' => '(UDA) - Undara Airport, , Australia','country_id' => '12'),\narray('id' => '8318','name' => '(CZY) - Cluny Airport, , Australia','country_id' => '12'),\narray('id' => '8319','name' => '(USL) - Useless Loop Airport, , Australia','country_id' => '12'),\narray('id' => '8320','name' => '(VCD) - Victoria River Downs Airport, , Australia','country_id' => '12'),\narray('id' => '8321','name' => '(VNR) - Vanrook Station Airport, , Australia','country_id' => '12'),\narray('id' => '8322','name' => '(WLA) - Wallal Airport, Wallal, Australia','country_id' => '12'),\narray('id' => '8323','name' => '(WAV) - Wave Hill Airport, , Australia','country_id' => '12'),\narray('id' => '8324','name' => '(WMB) - Warrnambool Airport, , Australia','country_id' => '12'),\narray('id' => '8325','name' => '(SYU) - Warraber Island Airport, Sue Islet, Australia','country_id' => '12'),\narray('id' => '8326','name' => '(WIO) - Wilcannia Airport, , Australia','country_id' => '12'),\narray('id' => '8327','name' => '(WLC) - Walcha Airport, , Australia','country_id' => '12'),\narray('id' => '8328','name' => '(WAZ) - Warwick Airport, , Australia','country_id' => '12'),\narray('id' => '8329','name' => '(WND) - Windarra Airport, , Australia','country_id' => '12'),\narray('id' => '8330','name' => '(WNR) - Windorah Airport, , Australia','country_id' => '12'),\narray('id' => '8331','name' => '(WON) - Wondoola Airport, Wondoola, Australia','country_id' => '12'),\narray('id' => '8332','name' => '(MFL) - Mount Full Stop Airport, Wando Vale, Australia','country_id' => '12'),\narray('id' => '8333','name' => '(WGT) - Wangaratta Airport, , Australia','country_id' => '12'),\narray('id' => '8334','name' => '(WYA) - Whyalla Airport, Whyalla, Australia','country_id' => '12'),\narray('id' => '8335','name' => '(WSY) - Whitsunday Island Airport, , Australia','country_id' => '12'),\narray('id' => '8336','name' => '(WIT) - Wittenoom Airport, , Australia','country_id' => '12'),\narray('id' => '8337','name' => '(WKB) - Warracknabeal Airport, , Australia','country_id' => '12'),\narray('id' => '8338','name' => '(WGE) - Walgett Airport, , Australia','country_id' => '12'),\narray('id' => '8339','name' => '(NTL) - Newcastle Airport, Williamtown, Australia','country_id' => '12'),\narray('id' => '8340','name' => '(WUN) - Wiluna Airport, , Australia','country_id' => '12'),\narray('id' => '8341','name' => '(WPK) - Wrotham Park Airport, , Australia','country_id' => '12'),\narray('id' => '8342','name' => '(WDI) - Wondai Airport, , Australia','country_id' => '12'),\narray('id' => '8343','name' => '(WOL) - Wollongong Airport, , Australia','country_id' => '12'),\narray('id' => '8344','name' => '(WLL) - Wollogorang Airport, , Australia','country_id' => '12'),\narray('id' => '8345','name' => '(QRR) - Warren Airport, , Australia','country_id' => '12'),\narray('id' => '8346','name' => '(SXE) - West Sale Airport, Sale, Australia','country_id' => '12'),\narray('id' => '8347','name' => '(WLO) - Waterloo Airport, , Australia','country_id' => '12'),\narray('id' => '8348','name' => '(WIN) - Winton Airport, , Australia','country_id' => '12'),\narray('id' => '8349','name' => '(WUD) - Wudinna Airport, , Australia','country_id' => '12'),\narray('id' => '8350','name' => '(WEW) - Wee Waa Airport, , Australia','country_id' => '12'),\narray('id' => '8351','name' => '(WRW) - Warrawagine Airport, , Australia','country_id' => '12'),\narray('id' => '8352','name' => '(WWI) - Woodie Woodie Airport, Woodie Woodie, Australia','country_id' => '12'),\narray('id' => '8353','name' => '(WWY) - West Wyalong Airport, West Wyalong, Australia','country_id' => '12'),\narray('id' => '8354','name' => '(WYN) - Wyndham Airport, , Australia','country_id' => '12'),\narray('id' => '8355','name' => '(BWT) - Wynyard Airport, Burnie, Australia','country_id' => '12'),\narray('id' => '8356','name' => '(YLG) - Yalgoo Airport, Yalgoo, Australia','country_id' => '12'),\narray('id' => '8357','name' => '(OKR) - Yorke Island Airport, Yorke Island, Australia','country_id' => '12'),\narray('id' => '8358','name' => '(KYF) - Yeelirrie Airport, , Australia','country_id' => '12'),\narray('id' => '8359','name' => '(XMY) - Yam Island Airport, Yam Island, Australia','country_id' => '12'),\narray('id' => '8360','name' => '(YUE) - Yuendumu Airport, , Australia','country_id' => '12'),\narray('id' => '8361','name' => '(NGA) - Young Airport, , Australia','country_id' => '12'),\narray('id' => '8362','name' => '(ORR) - Yorketown Airport, , Australia','country_id' => '12'),\narray('id' => '8363','name' => '(KYI) - Yalata Mission Airport, Yalata Mission, Australia','country_id' => '12'),\narray('id' => '8364','name' => '(KKI) - Akiachak Airport, Akiachak, United States','country_id' => '228'),\narray('id' => '8365','name' => '(BCC) - Bear Creek 3 Airport, Bear Creek, United States','country_id' => '228'),\narray('id' => '8366','name' => '(KBC) - Birch Creek Airport, Birch Creek, United States','country_id' => '228'),\narray('id' => '8367','name' => '(CZC) - Copper Center 2 Airport, Copper Center, United States','country_id' => '228'),\narray('id' => '8368','name' => '(ULX) - Ulusaba Airport, Ulusaba, South Africa','country_id' => '243'),\narray('id' => '8369','name' => '(TDT) - Tanda Tula Airport, Welverdiend, South Africa','country_id' => '243'),\narray('id' => '8370','name' => '(HZV) - Hazyview Airport, Hazyview, South Africa','country_id' => '243'),\narray('id' => '8371','name' => '(KHO) - Khoka Moya Airport, Khoka Moya, South Africa','country_id' => '243'),\narray('id' => '8372','name' => '(MBM) - Mkambati Airport, Mkambati, South Africa','country_id' => '243'),\narray('id' => '8373','name' => '(INY) - Inyati Airport, Inyati, South Africa','country_id' => '243'),\narray('id' => '8374','name' => '(TSD) - Tshipise Airport, Tshipise, South Africa','country_id' => '243'),\narray('id' => '8375','name' => '(KIG) - Koingnaas Airport, Koingnaas, South Africa','country_id' => '243'),\narray('id' => '8376','name' => '(PEK) - Beijing Capital International Airport, Beijing, China','country_id' => '45'),\narray('id' => '8377','name' => '(CIF) - Chifeng Airport, Chifeng, China','country_id' => '45'),\narray('id' => '8378','name' => '(CIH) - Changzhi Airport, Changzhi, China','country_id' => '45'),\narray('id' => '8379','name' => '(BPE) - Qinhuangdao Beidaihe Airport, Qinhuangdao, China','country_id' => '45'),\narray('id' => '8380','name' => '(DSN) - Ordos Ejin Horo Airport, Ordos, China','country_id' => '45'),\narray('id' => '8381','name' => '(DAT) - Datong Airport, Datong, China','country_id' => '45'),\narray('id' => '8382','name' => '(ERL) - Erenhot Saiwusu International Airport, Erenhot,, China','country_id' => '45'),\narray('id' => '8383','name' => '(YIE) - Arxan Yi\\'ershi Airport, Arxan, China','country_id' => '45'),\narray('id' => '8384','name' => '(HDG) - Handan Airport, Handan, China','country_id' => '45'),\narray('id' => '8385','name' => '(HET) - Baita International Airport, Hohhot, China','country_id' => '45'),\narray('id' => '8386','name' => '(ZBK) - abljak Airport, abljak Airport, Montenegro','country_id' => '136'),\narray('id' => '8387','name' => '(HLD) - Dongshan Airport, Hailar, China','country_id' => '45'),\narray('id' => '8388','name' => '(NAY) - Beijing Nanyuan Airport, Beijing, China','country_id' => '45'),\narray('id' => '8389','name' => '(BAV) - Baotou Airport, Baotou, China','country_id' => '45'),\narray('id' => '8390','name' => '(SJW) - Shijiazhuang Daguocun International Airport, Shijiazhuang, China','country_id' => '45'),\narray('id' => '8391','name' => '(TSN) - Tianjin Binhai International Airport, Tianjin, China','country_id' => '45'),\narray('id' => '8392','name' => '(TGO) - Tongliao Airport, Tongliao, China','country_id' => '45'),\narray('id' => '8393','name' => '(WUA) - Wuhai Airport, Wuhai, China','country_id' => '45'),\narray('id' => '8394','name' => '(HLH) - Ulanhot Airport, Ulanhot, China','country_id' => '45'),\narray('id' => '8395','name' => '(XIL) - Xilinhot Airport, Xilinhot, China','country_id' => '45'),\narray('id' => '8396','name' => '(XNT) - Xingtai Dalian Airport, Xingtai, China','country_id' => '45'),\narray('id' => '8397','name' => '(YCU) - Yuncheng Guangong Airport, Yuncheng, China','country_id' => '45'),\narray('id' => '8398','name' => '(TYN) - Taiyuan Wusu Airport, Taiyuan, China','country_id' => '45'),\narray('id' => '8399','name' => '(RLK) - Bayannur Tianjitai Airport, Bavannur, China','country_id' => '45'),\narray('id' => '8400','name' => '(ZDY) - Delma Airport, Delma Island, United Arab Emirates','country_id' => '1'),\narray('id' => '8401','name' => '(ZEN) - Zenag Airport, Zenag, Papua New Guinea','country_id' => '172'),\narray('id' => '8402','name' => '(BHY) - Beihai Airport, Beihai, China','country_id' => '45'),\narray('id' => '8403','name' => '(CGD) - Changde Airport, Changde, China','country_id' => '45'),\narray('id' => '8404','name' => '(HJJ) - Zhijiang Airport, Huaihua, China','country_id' => '45'),\narray('id' => '8405','name' => '(DYG) - Dayong Airport, Dayong, China','country_id' => '45'),\narray('id' => '8406','name' => '(CAN) - Guangzhou Baiyun International Airport, Guangzhou, China','country_id' => '45'),\narray('id' => '8407','name' => '(CSX) - Changsha Huanghua International Airport, Changsha, China','country_id' => '45'),\narray('id' => '8408','name' => '(HCJ) - Hechi Jinchengjiang Airport, Hechi, China','country_id' => '45'),\narray('id' => '8409','name' => '(SHF) - Huayuan Airport, Shihezi, China','country_id' => '45'),\narray('id' => '8410','name' => '(HNY) - Hengyang Nanyue Airport, Hengyang, China','country_id' => '45'),\narray('id' => '8411','name' => '(KWL) - Guilin Liangjiang International Airport, Guilin City, China','country_id' => '45'),\narray('id' => '8412','name' => '(LLF) - Lingling Airport, Yongzhou, China','country_id' => '45'),\narray('id' => '8413','name' => '(MXZ) - Meixian Airport, Meixian, China','country_id' => '45'),\narray('id' => '8414','name' => '(NNG) - Nanning Wuxu Airport, Nanning, China','country_id' => '45'),\narray('id' => '8415','name' => '(SWA) - Jieyang Chaoshan International Airport, Shantou, China','country_id' => '45'),\narray('id' => '8416','name' => '(ZUH) - Zhuhai Jinwan Airport, Zhuhai, China','country_id' => '45'),\narray('id' => '8417','name' => '(SZX) - Shenzhen Bao\\'an International Airport, Shenzhen, China','country_id' => '45'),\narray('id' => '8418','name' => '(WUZ) - Wuzhou Changzhoudao Airport, Wuzhou, China','country_id' => '45'),\narray('id' => '8419','name' => '(XIN) - Xingning Airport, Xingning, China','country_id' => '45'),\narray('id' => '8420','name' => '(LZH) - Liuzhou Bailian Airport, Liuzhou, China','country_id' => '45'),\narray('id' => '8421','name' => '(ZHA) - Zhanjiang Airport, Zhanjiang, China','country_id' => '45'),\narray('id' => '8422','name' => '(AYN) - Anyang Airport, Anyang, China','country_id' => '45'),\narray('id' => '8423','name' => '(CGO) - Zhengzhou Xinzheng International Airport, Zhengzhou, China','country_id' => '45'),\narray('id' => '8424','name' => '(ENH) - Enshi Airport, Enshi, China','country_id' => '45'),\narray('id' => '8425','name' => '(LHK) - Guangzhou MR Air Base, Guanghua, China','country_id' => '45'),\narray('id' => '8426','name' => '(WUH) - Wuhan Tianhe International Airport, Wuhan, China','country_id' => '45'),\narray('id' => '8427','name' => '(LYA) - Luoyang Airport, Luoyang, China','country_id' => '45'),\narray('id' => '8428','name' => '(NNY) - Nanyang Jiangying Airport, Nanyang, China','country_id' => '45'),\narray('id' => '8429','name' => '(SHS) - Shashi Airport, Shashi, China','country_id' => '45'),\narray('id' => '8430','name' => '(WDS) - Shiyan Wudangshan Airport, Shiyan, China','country_id' => '45'),\narray('id' => '8431','name' => '(XFN) - Xiangyang Liuji Airport, Xiangfan, China','country_id' => '45'),\narray('id' => '8432','name' => '(YIH) - Yichang Sanxia Airport, Yichang, China','country_id' => '45'),\narray('id' => '8433','name' => '(HAK) - Haikou Meilan International Airport, Haikou, China','country_id' => '45'),\narray('id' => '8434','name' => '(SYX) - Sanya Phoenix International Airport, Sanya, China','country_id' => '45'),\narray('id' => '8435','name' => '(FNJ) - Pyongyang Sunan International Airport, Pyongyang, North Korea','country_id' => '117'),\narray('id' => '8436','name' => '(DSO) - Sondok Airport, Sndng-ni, North Korea','country_id' => '117'),\narray('id' => '8437','name' => '(WOS) - Wonsan Kalma International Airport, Wonsan, North Korea','country_id' => '117'),\narray('id' => '8438','name' => '(AKA) - Ankang Wulipu Airport, Ankang, China','country_id' => '45'),\narray('id' => '8439','name' => '(DNH) - Dunhuang Airport, Dunhuang, China','country_id' => '45'),\narray('id' => '8440','name' => '(HXD) - Delingha Airport, Delingha, China','country_id' => '45'),\narray('id' => '8441','name' => '(GOQ) - Golmud Airport, Golmud, China','country_id' => '45'),\narray('id' => '8442','name' => '(GYU) - Guyuan Liupanshan Airport, Guyuan, China','country_id' => '45'),\narray('id' => '8443','name' => '(HTT) - Huatugou Airport, Mengnai, China','country_id' => '45'),\narray('id' => '8444','name' => '(HZG) - Hanzhong Chenggu Airport, Hanzhong, China','country_id' => '45'),\narray('id' => '8445','name' => '(INC) - Yinchuan Airport, Yinchuan, China','country_id' => '45'),\narray('id' => '8446','name' => '(JNG) - Jining Qufu Airport, Jining, China','country_id' => '45'),\narray('id' => '8447','name' => '(JGN) - Jiayuguan Airport, Jiayuguan, China','country_id' => '45'),\narray('id' => '8448','name' => '(LHW) - Lanzhou Zhongchuan Airport, Lanzhou, China','country_id' => '45'),\narray('id' => '8449','name' => '(IQN) - Qingyang Airport, Qingyang, China','country_id' => '45'),\narray('id' => '8450','name' => '(SIA) - Xi\\'an Xiguan Airport, Xi\\'an, China','country_id' => '45'),\narray('id' => '8451','name' => '(GXH) - Gannan Xiahe Airport, Xiahe, China','country_id' => '45'),\narray('id' => '8452','name' => '(XNN) - Xining Caojiabu Airport, Xining, China','country_id' => '45'),\narray('id' => '8453','name' => '(XIY) - Xi\\'an Xianyang International Airport, Xianyang, China','country_id' => '45'),\narray('id' => '8454','name' => '(ENY) - Yan\\'an Ershilipu Airport, Yan\\'an, China','country_id' => '45'),\narray('id' => '8455','name' => '(UYN) - Yulin Yuyang Airport, Yulin, China','country_id' => '45'),\narray('id' => '8456','name' => '(ZHY) - Zhongwei Shapotou Airport, Zhongwei, China','country_id' => '45'),\narray('id' => '8457','name' => '(AVK) - Arvaikheer Airport, Arvaikheer, Mongolia','country_id' => '143'),\narray('id' => '8458','name' => '(LTI) - Altai Airport, Altai, Mongolia','country_id' => '143'),\narray('id' => '8459','name' => '(BYN) - Bayankhongor Airport, Bayankhongor, Mongolia','country_id' => '143'),\narray('id' => '8460','name' => '(UGA) - Bulgan Airport, Bulgan, Mongolia','country_id' => '143'),\narray('id' => '8461','name' => '(UGT) - Bulagtai Resort Airport, Umnugobitour, Mongolia','country_id' => '143'),\narray('id' => '8462','name' => '(HBU) - Bulgan Sum Airport, Bulgan, Mongolia','country_id' => '143'),\narray('id' => '8463','name' => '(UUN) - Baruun Urt Airport, , Mongolia','country_id' => '143'),\narray('id' => '8464','name' => '(COQ) - Choibalsan Airport, , Mongolia','country_id' => '143'),\narray('id' => '8465','name' => '(ZMD) - Sena Madureira Airport, Sena Madureira, Brazil','country_id' => '29'),\narray('id' => '8466','name' => '(ULZ) - Donoi Airport, Uliastai, Mongolia','country_id' => '143'),\narray('id' => '8467','name' => '(DLZ) - Dalanzadgad Airport, Dalanzadgad, Mongolia','country_id' => '143'),\narray('id' => '8468','name' => '(KHR) - Kharkhorin Airport, , Mongolia','country_id' => '143'),\narray('id' => '8469','name' => '(HJT) - Khujirt Airport, Khujirt, Mongolia','country_id' => '143'),\narray('id' => '8470','name' => '(HVD) - Khovd Airport, Khovd, Mongolia','country_id' => '143'),\narray('id' => '8471','name' => '(MXV) - MArAn Airport, MArAn, Mongolia','country_id' => '143'),\narray('id' => '8472','name' => '(TSZ) - Tselserleg Airport, Tselserleg, Mongolia','country_id' => '143'),\narray('id' => '8473','name' => '(TNZ) - Tosontsengel Airport, Tosontsengel, Mongolia','country_id' => '143'),\narray('id' => '8474','name' => '(ULN) - Chinggis Khaan International Airport, Ulan Bator, Mongolia','country_id' => '143'),\narray('id' => '8475','name' => '(ULO) - Ulaangom Airport, Ulaangom, Mongolia','country_id' => '143'),\narray('id' => '8476','name' => '(ULG) - Ulgii Mongolei Airport, , Mongolia','country_id' => '143'),\narray('id' => '8477','name' => '(ZNC) - Nyac Airport, Nyac, United States','country_id' => '228'),\narray('id' => '8478','name' => '(DLU) - Dali Airport, Xiaguan, China','country_id' => '45'),\narray('id' => '8479','name' => '(DIG) - Diqing Airport, Shangri-La, China','country_id' => '45'),\narray('id' => '8480','name' => '(JHG) - Xishuangbanna Gasa Airport, Jinghong, China','country_id' => '45'),\narray('id' => '8481','name' => '(LJG) - Lijiang Airport, Lijiang, China','country_id' => '45'),\narray('id' => '8482','name' => '(LUM) - Mangshi Airport, Luxi, China','country_id' => '45'),\narray('id' => '8483','name' => '(KMG) - Kunming Changshui International Airport, Kunming, China','country_id' => '45'),\narray('id' => '8484','name' => '(SYM) - Pu\\'er Simao Airport, Pu\\'er, China','country_id' => '45'),\narray('id' => '8485','name' => '(WNH) - Wenshan Puzhehei Airport, Wenshan, China','country_id' => '45'),\narray('id' => '8486','name' => '(ZAT) - Zhaotong Airport, Zhaotong, China','country_id' => '45'),\narray('id' => '8487','name' => '(XMN) - Xiamen Gaoqi International Airport, Xiamen, China','country_id' => '45'),\narray('id' => '8488','name' => '(AQG) - Anqing Tianzhushan Airport, Anqing, China','country_id' => '45'),\narray('id' => '8489','name' => '(BFU) - Bengbu Airport, Bengbu, China','country_id' => '45'),\narray('id' => '8490','name' => '(CZX) - Changzhou Benniu Airport, Changzhou, China','country_id' => '45'),\narray('id' => '8491','name' => '(KHN) - Nanchang Changbei International Airport, Nanchang, China','country_id' => '45'),\narray('id' => '8492','name' => '(FUG) - Fuyang Xiguan Airport, Fuyang, China','country_id' => '45'),\narray('id' => '8493','name' => '(FOC) - Fuzhou Changle International Airport, Fuzhou, China','country_id' => '45'),\narray('id' => '8494','name' => '(KOW) - Ganzhou Airport, Ganzhou, China','country_id' => '45'),\narray('id' => '8495','name' => '(HGH) - Hangzhou Xiaoshan International Airport, Hangzhou, China','country_id' => '45'),\narray('id' => '8496','name' => '(JDZ) - Jingdezhen Airport, Jingdezhen, China','country_id' => '45'),\narray('id' => '8497','name' => '(JIU) - Jiujiang Lushan Airport, Jiujiang, China','country_id' => '45'),\narray('id' => '8498','name' => '(TNA) - Yaoqiang Airport, Jinan, China','country_id' => '45'),\narray('id' => '8499','name' => '(JUZ) - Quzhou Airport, Quzhou, China','country_id' => '45'),\narray('id' => '8500','name' => '(LCX) - Longyan Guanzhishan Airport, Longyan, China','country_id' => '45'),\narray('id' => '8501','name' => '(LYG) - Lianyungang Airport, Lianyungang, China','country_id' => '45'),\narray('id' => '8502','name' => '(HYN) - Huangyan Luqiao Airport, Huangyan, China','country_id' => '45'),\narray('id' => '8503','name' => '(LYI) - Shubuling Airport, Linyi, China','country_id' => '45'),\narray('id' => '8504','name' => '(NGB) - Ningbo Lishe International Airport, Ningbo, China','country_id' => '45'),\narray('id' => '8505','name' => '(NKG) - Nanjing Lukou Airport, Nanjing, China','country_id' => '45'),\narray('id' => '8506','name' => '(HFE) - Hefei Luogang International Airport, Hefei, China','country_id' => '45'),\narray('id' => '8507','name' => '(PVG) - Shanghai Pudong International Airport, Shanghai, China','country_id' => '45'),\narray('id' => '8508','name' => '(TAO) - Liuting Airport, Qingdao, China','country_id' => '45'),\narray('id' => '8509','name' => '(JJN) - Quanzhou Jinjiang International Airport, Quanzhou, China','country_id' => '45'),\narray('id' => '8510','name' => '(RUG) - Rugao Air Base, Rugao, China','country_id' => '45'),\narray('id' => '8511','name' => '(SHA) - Shanghai Hongqiao International Airport, Shanghai, China','country_id' => '45'),\narray('id' => '8512','name' => '(SZV) - Suzhou Guangfu Airport, Suzhou, China','country_id' => '45'),\narray('id' => '8513','name' => '(TXN) - Tunxi International Airport, Huangshan, China','country_id' => '45'),\narray('id' => '8514','name' => '(WEF) - Weifang Airport, Weifang, China','country_id' => '45'),\narray('id' => '8515','name' => '(WEH) - Weihai Airport, Weihai, China','country_id' => '45'),\narray('id' => '8516','name' => '(WHU) - Wuhu Air Base, Wuhu, China','country_id' => '45'),\narray('id' => '8517','name' => '(WUX) - Sunan Shuofang International Airport, Wuxi, China','country_id' => '45'),\narray('id' => '8518','name' => '(WUS) - Nanping Wuyishan Airport, Wuyishan, China','country_id' => '45'),\narray('id' => '8519','name' => '(WNZ) - Wenzhou Yongqiang Airport, Wenzhou, China','country_id' => '45'),\narray('id' => '8520','name' => '(XUZ) - Xuzhou Guanyin Airport, Xuzhou, China','country_id' => '45'),\narray('id' => '8521','name' => '(YTY) - Yangzhou Taizhou Airport, Yangzhou and Taizhou, China','country_id' => '45'),\narray('id' => '8522','name' => '(YIC) - Yichun Mingyueshan Airport, Yichun, China','country_id' => '45'),\narray('id' => '8523','name' => '(YNZ) - Yancheng Airport, Yancheng, China','country_id' => '45'),\narray('id' => '8524','name' => '(YNT) - Yantai Laishan Airport, Yantai, China','country_id' => '45'),\narray('id' => '8525','name' => '(YIW) - Yiwu Airport, Yiwu, China','country_id' => '45'),\narray('id' => '8526','name' => '(HSN) - Zhoushan Airport, Zhoushan, China','country_id' => '45'),\narray('id' => '8527','name' => '(NGQ) - Ngari Gunsa Airport, Shiquanhe, China','country_id' => '45'),\narray('id' => '8528','name' => '(AVA) - Anshun Huangguoshu Airport, Anshun, China','country_id' => '45'),\narray('id' => '8529','name' => '(BPX) - Qamdo Bangda Airport, Bangda, China','country_id' => '45'),\narray('id' => '8530','name' => '(BFJ) - Bijie Feixiong Airport, Bijie, China','country_id' => '45'),\narray('id' => '8531','name' => '(CKG) - Chongqing Jiangbei International Airport, Chongqing, China','country_id' => '45'),\narray('id' => '8532','name' => '(DAX) - Dachuan Airport, Dazhou, China','country_id' => '45'),\narray('id' => '8533','name' => '(GHN) - Guanghan Airport, Civil Aviation Flight University of China, China','country_id' => '45'),\narray('id' => '8534','name' => '(GYS) - Guangyuan Airport, Guangyuan, China','country_id' => '45'),\narray('id' => '8535','name' => '(KWE) - Longdongbao Airport, Guiyang, China','country_id' => '45'),\narray('id' => '8536','name' => '(JZH) - Jiuzhai Huanglong Airport, Jiuzhaigou, China','country_id' => '45'),\narray('id' => '8537','name' => '(KJH) - Kaili Airport, Huangping, China','country_id' => '45'),\narray('id' => '8538','name' => '(LIA) - Liangping Airport, Liangping, China','country_id' => '45'),\narray('id' => '8539','name' => '(LXA) - Lhasa Gonggar Airport, Lhasa, China','country_id' => '45'),\narray('id' => '8540','name' => '(LZO) - Luzhou Airport, Luzhou, China','country_id' => '45'),\narray('id' => '8541','name' => '(UNR) - A-ndArkhaan Airport, A-ndArkhaan, Mongolia','country_id' => '143'),\narray('id' => '8542','name' => '(MIG) - Mianyang Airport, Mianyang, China','country_id' => '45'),\narray('id' => '8543','name' => '(NAO) - Nanchong Airport, Nanchong, China','country_id' => '45'),\narray('id' => '8544','name' => '(HZH) - Liping Airport, Liping, China','country_id' => '45'),\narray('id' => '8545','name' => '(LZY) - Nyingchi Airport, Nyingchi, China','country_id' => '45'),\narray('id' => '8546','name' => '(TCZ) - Tengchong Tuofeng Airport, Tengchong, China','country_id' => '45'),\narray('id' => '8547','name' => '(TEN) - Tongren Fenghuang Airport, , China','country_id' => '45'),\narray('id' => '8548','name' => '(CTU) - Chengdu Shuangliu International Airport, Chengdu, China','country_id' => '45'),\narray('id' => '8549','name' => '(WXN) - Wanxian Airport, Wanxian, China','country_id' => '45'),\narray('id' => '8550','name' => '(XIC) - Xichang Qingshan Airport, Xichang, China','country_id' => '45'),\narray('id' => '8551','name' => '(YBP) - Yibin Caiba Airport, Yibin, China','country_id' => '45'),\narray('id' => '8552','name' => '(ACX) - Xingyi Airport, Xingyi, China','country_id' => '45'),\narray('id' => '8553','name' => '(ZYI) - Zunyi Xinzhou Airport, Zunyi, China','country_id' => '45'),\narray('id' => '8554','name' => '(AKU) - Aksu Airport, Aksu, China','country_id' => '45'),\narray('id' => '8555','name' => '(BPL) - Alashankou Bole (Bortala) airport, Bole, China','country_id' => '45'),\narray('id' => '8556','name' => '(IQM) - Qiemo Airport, Qiemo, China','country_id' => '45'),\narray('id' => '8557','name' => '(HMI) - Hami Airport, Hami, China','country_id' => '45'),\narray('id' => '8558','name' => '(KCA) - Kuqa Airport, Kuqa, China','country_id' => '45'),\narray('id' => '8559','name' => '(KRL) - Korla Airport, Korla, China','country_id' => '45'),\narray('id' => '8560','name' => '(KRY) - Karamay Airport, Karamay, China','country_id' => '45'),\narray('id' => '8561','name' => '(KJI) - Kanas Airport, Burqin, China','country_id' => '45'),\narray('id' => '8562','name' => '(NLT) - Xinyuan Nalati Airport, Xinyuan County, China','country_id' => '45'),\narray('id' => '8563','name' => '(KHG) - Kashgar Airport, Kashgar, China','country_id' => '45'),\narray('id' => '8564','name' => '(SXJ) - Shanshan Airport, Shanshan, China','country_id' => '45'),\narray('id' => '8565','name' => '(TCG) - Tacheng Airport, Tacheng, China','country_id' => '45'),\narray('id' => '8566','name' => '(HTN) - Hotan Airport, Hotan, China','country_id' => '45'),\narray('id' => '8567','name' => '(TLQ) - Turpan Jiaohe Airport, Turpan, China','country_id' => '45'),\narray('id' => '8568','name' => '(URC) - ArAmqi Diwopu International Airport, ArAmqi, China','country_id' => '45'),\narray('id' => '8569','name' => '(YIN) - Yining Airport, Yining, China','country_id' => '45'),\narray('id' => '8570','name' => '(AOG) - Anshan Air Base, Anshan, China','country_id' => '45'),\narray('id' => '8571','name' => '(CGQ) - Longjia Airport, Changchun, China','country_id' => '45'),\narray('id' => '8572','name' => '(CNI) - Changhai Airport, Changhai, China','country_id' => '45'),\narray('id' => '8573','name' => '(CHG) - Chaoyang Airport, Chaoyang, China','country_id' => '45'),\narray('id' => '8574','name' => '(FYJ) - Dongji Aiport, Fuyuan, China','country_id' => '45'),\narray('id' => '8575','name' => '(HRB) - Taiping Airport, Harbin, China','country_id' => '45'),\narray('id' => '8576','name' => '(HEK) - Heihe Airport, Heihe, China','country_id' => '45'),\narray('id' => '8577','name' => '(JIL) - Jilin Airport, Jilin, China','country_id' => '45'),\narray('id' => '8578','name' => '(JMU) - Jiamusi Airport, Jiamusi, China','country_id' => '45'),\narray('id' => '8579','name' => '(JXA) - Jixi Xingkaihu Airport, Jixi, China','country_id' => '45'),\narray('id' => '8580','name' => '(JNZ) - Jinzhou Airport, Jinzhou, China','country_id' => '45'),\narray('id' => '8581','name' => '(LDS) - Lindu Airport, Yichun, China','country_id' => '45'),\narray('id' => '8582','name' => '(YUS) - Yushu Batang Airport, Yushu, China','country_id' => '45'),\narray('id' => '8583','name' => '(MDG) - Mudanjiang Hailang International Airport, Mudanjiang, China','country_id' => '45'),\narray('id' => '8584','name' => '(OHE) - Gu-Lian Airport, Mohe, China','country_id' => '45'),\narray('id' => '8585','name' => '(NDG) - Qiqihar Sanjiazi Airport, Qiqihar, China','country_id' => '45'),\narray('id' => '8586','name' => '(DLC) - Zhoushuizi Airport, Dalian, China','country_id' => '45'),\narray('id' => '8587','name' => '(TNH) - Tonghua Sanyuanpu Airport, Tonghua, China','country_id' => '45'),\narray('id' => '8588','name' => '(SHE) - Taoxian Airport, Shenyang, China','country_id' => '45'),\narray('id' => '8589','name' => '(YNJ) - Yanji Chaoyangchuan Airport, Yanji, China','country_id' => '45'),\narray('id' => '8590','name' => '(YKH) - Yingkou Lanqi Airport, Yingkou, China','country_id' => '45')\n);\n\n \n DB::table('airports')->insert( $airports );\n \n }",
"public function index()\n\t{\n\t\t$airports = $this->airport->all();\n\n\t\treturn View::make('airports.index', compact('airports'));\n\t}",
"public function index()\n {\n if (\\Request::exists('all')) {\n return $this->service\n ->with(['persons'])\n ->filters($this->filter)\n ->select('id', 'name')\n ->get();\n }\n\n $order = Str::contains(\\Request::get('orderBy'), ['asc', 'desc'])\n ? \\Request::get('orderBy')\n : 'desc';\n\n return $this->service\n ->showAll()\n ->orderBy('updated_at', $order)\n ->filters($this->filter)\n ->paginate(\n request(\n 'per_page',\n \\Request::get('per_page') ?? 15\n )\n );\n }",
"public function getAnnunciLavoroCittaPage($city)\n {\n $client = App::make('client.api');\n\n\n if ($city) {\n\n $response = $client->request('GET', \"/api/vacancy/searchbylocation?key=\" . $city);\n $res = $response->getBody()->getContents();\n $res = json_decode($res, true);\n\n\n $numVacancies = 0;\n $pagine = 0;\n\n if (isset($res)) {\n\n $numVacancies = count($res);\n\n $pagine = round($numVacancies / 20);\n\n\n $tagName = ucfirst($city);\n\n\n if (isset($res)) {\n foreach ($res as $key2 => $vacancy) {\n\n if ($vacancy['is_visible'] == false) {\n unset($res[$key2]);\n }\n }\n }\n\n $client = App::make('client.api');\n $response = $client->request('GET', \"/api/tags/category/JOBFUNCTION\");\n\n\n $jobFunctions = json_decode($response->getBody()->getContents(), true);\n\n\n $categories = [];\n\n foreach ($jobFunctions as $jobFunction) {\n\n if ($jobFunction['has_vacancy']) {\n $name = $jobFunction['name'];\n $link = \"/job-opportunities/\" . $city . \"/\" . $jobFunction['permalink_en'];\n\n\n if (\\Illuminate\\Support\\Facades\\App::getLocale() == \"it\") {\n $link = \"/annunci-lavoro/\" . $city . \"/\" . $jobFunction['permalink_it'];\n $name = $jobFunction['name_it'];\n\n }\n\n $categories[] = [\n \"name\" => $name,\n \"link\" => $link\n ];\n }\n\n }\n\n\n $description = \"Trova annunci di lavoro in \" . $tagName . \" per mettere a frutto il tuo talento. In tutto il mondo.\";\n\n\n if (\\Illuminate\\Support\\Facades\\App::getLocale() != \"it\") {\n $description = \"Find jobs in \" . $tagName . \" to nurture your talent. Worldwide.\";\n }\n if (!empty($res)) {\n usort($res, array($this, 'date_compare'));\n $res = array_reverse($res);\n }\n return View::make('vacancy-city', [\"categories\" => $categories, \"tag\" => $tagName, \"route\" => \"vacancy-category\", \"numVacancies\" => $numVacancies, \"customClass\" => \"jobs\", \"pagine\" => $pagine, \"vacancies\" => $res, \"key\" => $tagName, \"title\" => \"Annunci Lavoro \" . $tagName, \"tagName\" => $tagName, \"description\" => $description]);\n\n }\n\n\n }\n\n\n return Redirect::to('/');\n }",
"public function index()\n {\n return response(Internship::paginate(10));\n }",
"public function getPaginated();",
"public function airportList(Request $request)\n {\n if ($request->has('code')) {\n \t\t\t$airports = Airport::where('code', '!=', $request['code'])->get();\n \t\t\treturn $airports;\n\n\t\t}\n $airports = Airport::all();\n\n return $airports;\n }",
"public function showAllPaginateActionGet() : object\n {\n $title = \"Show, paginate movies\";\n\n $this->app->db->connect();\n\n //Number of hits, check input\n $hits = $this->checkForNumberOfHits();\n\n // Get max number of pages\n $sql = \"SELECT COUNT(id) AS max FROM movie;\";\n $max = $this->app->db->executeFetchAll($sql);\n $max = ceil($max[0]->max / $hits);\n\n // Get current page, check input\n $page = $this->checkForPage($hits, $max);\n $offset = $hits * ($page - 1);\n\n // Incoming matches valid value sets\n $orderBy = $this->checkOrderByValue();\n $order = $this->checkOrderValue();\n\n $sql = \"SELECT * FROM movie ORDER BY $orderBy $order LIMIT $hits OFFSET $offset;\";\n $res = $this->app->db->executeFetchAll($sql);\n\n $this->app->page->add(\"movie/show-all-paginate\", [\n \"res\" => $res,\n \"max\" => $max,\n ]);\n\n return $this->app->page->render([\n \"title\" => $title,\n ]);\n }",
"public function index()\n {\n $Plannings = Planning::paginate(15);\n\n \n return PlanningResource::collection($Plannings);\n }",
"function getAllAirport() {\n global $airportManager;\n\n $result = [];\n\n // Get All the Airport in the database\n $airports = $airportManager->getAllAirport();\n\n // if not empty, need to transform all object to associative Array\n if ( count( $airports ) ) {\n foreach ( $airports as $airport ) {\n $result[] = [\n \"id\" => $airport->getId(),\n \"code\" => $airport->getCode(),\n \"cityCode\" => $airport->getCityCode(),\n \"name\" => $airport->getName(),\n \"city\" => $airport->getCity(),\n \"countryCode\" => $airport->getCountryCode(),\n \"regionCode\" => $airport->getRegionCode(),\n \"latitude\" => $airport->getlatitude(),\n \"longitude\" => $airport->getLongittude(),\n \"timezone\" => $airport->getTimezone(),\n ];\n }\n } else {\n $result = $airports;\n }\n\n echo json_encode( $result );\n}",
"public function findAllSportNamePaginated($page = 1)\n {\n $countQueryBuilder = $this->querySportNameAll()\n ->select('COUNT(DISTINCT sn.Sport_Name_ID) AS total_results')\n ->setMaxResults(self::NUM_ITEMS);\n\n\n\n $paginator = new Paginator($this->querySportNameAll(), $countQueryBuilder);\n $paginator->setCurrentPage($page);\n $paginator->setMaxPerPage(self::NUM_ITEMS);\n\n\n\n return $paginator->getCurrentPageResults();\n }",
"function getAllPlayersOrderBy($field){\n\t$query = \"SELECT * FROM aquigaza_fsutt_local.players ORDER by \".$field;\n $resource = runQuery($query);\n\treturn ozRunQuery($resource);\n}",
"public function index()\n {\n return new PlancomptasResource(Plancompta::paginate());\n }",
"public function index()\n {\n return Country::orderBy('name', 'ASC')->paginate();\n }",
"public function index()\n {\n $airports = $this->airports->getOneAirport('4343');\n $list_airports = $this->airports->all();\n return view('airports.index',[\n 'airports' => $airports,\n 'list_airports' => $list_airports\n ]);\n\n }",
"public function index()\n {\n return Pizza::paginate(50);\n }",
"public function index()\n {\n return Airplaneseat::all();\n }"
] |
[
"0.64853996",
"0.6376665",
"0.62168247",
"0.5884127",
"0.5882249",
"0.580195",
"0.5746828",
"0.57272285",
"0.5688539",
"0.5676591",
"0.56658274",
"0.5651591",
"0.55192053",
"0.55150527",
"0.55064225",
"0.54912204",
"0.5487007",
"0.5476406",
"0.5453814",
"0.54529387",
"0.54514647",
"0.5446376",
"0.54371244",
"0.54310125",
"0.54160476",
"0.540593",
"0.5399139",
"0.53759927",
"0.53737766",
"0.5370888"
] |
0.72658294
|
0
|
Create matrix for test result Creates a new TestValues model. If creation is successful, the browser will be redirected to the 'view' page.
|
public function actionCreatematrix(){
if(Yii::$app->request->post('DynamicModel')){
$questionH = Question::findOne(Yii::$app->request->post('DynamicModel')['question_horizontal_id']);
$questionV = Question::findOne(Yii::$app->request->post('DynamicModel')['question_vertical_id']);
$cntAnswersH = count($questionH->answers);
$cntAnswersOffsetH = (int)($cntAnswersH/4);
$cntAnswersV = count($questionV->answers);
$cntAnswersOffsetV = (int)($cntAnswersV/4);
for($i=$cntAnswersOffsetV; $i<$cntAnswersV; $i++){
for($j=$cntAnswersOffsetH; $j<$cntAnswersH; $j++){
$ownModel["{$questionV->answers[$i]->getAttribute('value')}"]["{$questionH->answers[$j]->getAttribute('value')}"]=0;
}
}
return $this->render('creatematrix', [
'ownModel' => $ownModel,
'questionH' => $questionH,
'questionV' => $questionV,
'testValues' => TestValues::getTestValues($questionH->getAttribute('test_id')),
]);
}
//creating and save matrix
if(Yii::$app->request->post('TestValuesMatrix')){
$testValuesMatrix = new TestValuesMatrix();
//var_dump(Yii::$app->request->post('TestValuesMatrix'));
$myPost['TestValuesMatrix'] = Yii::$app->request->post('TestValuesMatrix');
$myPost['TestValuesMatrix']['serialize'] = serialize($myPost['TestValuesMatrix']['serialize']);
//check if it's a first matrix for test
$Allmatrixes = TestValuesMatrix::find()->where(['and', "test_id=" . $myPost['TestValuesMatrix']['test_id']])->all();
$model = new TestValuesMatrix();
if(!$Allmatrixes){
$model->setAttribute('active_flag', 1);
}
if ($model->load($myPost) && $model->save()) {
return $this->redirect(['create', 'id' => $model->test_id]);
} else {
$questionH = Question::findOne(Yii::$app->request->post('TestValuesMatrix')['question_horizontal_id']);
$questionV = Question::findOne(Yii::$app->request->post('TestValuesMatrix')['question_vertical_id']);
return $this->render('creatematrix', [
'ownModel' => Yii::$app->request->post('TestValuesMatrix')['serialize'],
'questionH' => $questionH,
'questionV' => $questionV,
'testValues' => TestValues::getTestValues($questionH->getAttribute('test_id')),
]);
}
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function create()\n {\n //\n// return $this->getTestGroupStudents();\n $center = Center::findOrFail(Session('center_id'));\n $tests = $center->tests;\n return view('testResult.test-result-add',compact('tests'));\n }",
"public function actionCreate()\n {\n $model = new Test();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->id]);\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionCreate() {\n $model = new Test();\n\n if ($model->load(Yii::$app->request->post())) {\n $this->dateformat($model, $_POST['Test']);\n $model->save();\n return $this->redirect(['view', 'id' => $model->id]);\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionCreate()\n\t{\n\t\t$model=new EstudianteEvaluacion;\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t// $this->performAjaxValidation($model);\n\n\t\tif(isset($_POST['EstudianteEvaluacion']))\n\t\t{\n\t\t\t$model->attributes=$_POST['EstudianteEvaluacion'];\n\t\t\tif($model->save())\n\t\t\t\t$this->redirect(array('view','id'=>$model->id_evaluacion_estudiante));\n\t\t}\n\n\t\t$this->render('create',array(\n\t\t\t'model'=>$model,\n\t\t));\n\t}",
"public function createAction()\n {\n $record = new \\SmartQuestions\\Entity\\Results();\n\n $form = $this->resultsService->getCreateResultForm();\n\n if ($this->request->isPost()) {\n $form->setData($this->request->getPost());\n if ($form->isValid()) {\n \t$data = $form->getData();\n \t\n \t$record->setStatus($data->getStatus());\n \t$record->setCustomerId($data->getCustomerId());\n \t$record->setQuestionId($data->getQuestionId());\n \t$record->setDisabled($data->getDisabled());\n \t\n $this->resultsService->createResult($record, $this->identity());\n\n $this->flashMessenger()->setNamespace('success')\n ->addMessage('You have successfullly created a new Result.');\n\n return $this->redirect()->toRoute('rocket-admin/education/results');\n } else {\n $this->flashMessenger()->setNamespace('error')\n ->addMessage('There was an error trying to create a new Result.');\n }\n }\n\n $uri = $this->getRequest()->getUri();\n $base = sprintf('%s://%s', $uri->getScheme(), $uri->getHost());\n $this->viewHelperManager->get('HeadScript')\n ->appendFile($base . '/assets/rocket-admin/ckeditor/ckeditor.js');\n $this->viewHelperManager->get('InlineScript')\n ->appendScript(\"$(function () {CKEDITOR.replace('result-fieldset[html]');});\", 'text/javascript');\n\n return new ViewModel(array(\n 'record' => $record,\n 'form' => $form,\n ));\n }",
"public function actionCreate()\n {\n $model = new Evaluation();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->id]);\n }\n\n return $this->render('create', [\n 'model' => $model,\n ]);\n }",
"public function actionCreate()\n\t{\n\t\t$model=new TestContext;\n\t\t$model->id_user = Yii::app()->user->getId();\n\n\t\t$modelsApps= App::model()->findAll();\n\t\t$appsArray = CHtml::listData($modelsApps, 'id', 'name');\n\n\t\t$modelsPlatforms= Platforms::model()->findAll();\n\t\t$platformsArray = CHtml::listData($modelsPlatforms, 'id', 'name');\n\n\t\t$user_name = Yii::app()->user->getName();\n\n\t\t$users = Users::model()->findAllByAttributes(\n\t\t\tarray('user_name'=>$user_name)\n\t\t);\n\n\t\t$name=\"\";\n\t\tforeach ($users as $user) {\n\t\t\t$name = $user->name;\n\t\t}\n\n\t\t$devicesArray = array();\n\t\t\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t\n\t\tif (isset($_POST['buttonCancel'])) {\n\t\t\t\t\n\t\t\t\t$this->redirect(array('admin'/*,'id'=>$model->ID*/));\n\t }\n\n\t\tif (isset($_POST['TestContext'])) {\n\t\t\t\n\n\t\t\t//$_SESSION['flag-test-context-form']=null;\n\t\t\t$model->attributes=$_POST['TestContext'];\n\t\t\tif ($model->save()) {\n\t\t\t\tYii::app()->user->setState('idTestContext', $model->id);\n\t\t\t\tYii::app()->user->setState('idDevice', $model->id_device);\n\t\t\t\t\n\t\t\t\t$this->redirect(\"/mtcontrool/index.php/elementInst/create1\");\n\t\t\t}\n\n\t\t}\n\t\t\t \n\t\t$this->render('create',array(\n\t\t\t'model'=>$model,\n\t\t\t'appsArray'=>$appsArray,\n\t\t\t'platformsArray'=>$platformsArray,\n\t\t\t'devicesArray'=>$devicesArray,\n\t\t\t'name'=>$name\n\t\t));\n\t}",
"public function createAction() {\n\n $this->validateUser();\n\n $form = new Yourdelivery_Form_Testing_Create();\n if ($this->getRequest()->isPost()) {\n if ($form->isValid($this->getRequest()->getPost())) {\n if ($form->getValue('tag') && $this->getRequest()->getParam('proceed') == 'false') {\n $tags = Yourdelivery_Model_Testing_TestCase::searchForTags($form->getValue('tag'));\n\n if ($tags) {\n foreach ($tags as $tag) {\n $ids .= sprintf('<a href=\"/testing_cms/overview/id/%s\" target=\"blank\">%s</a> ', $tag['id'], $tag['id']);\n }\n $this->warn('Tag already in use for testcase ' . $ids);\n $this->_redirect(vsprintf('testing_cms/create/title/%s/author/%s/description/%s/priority/%s/tag/%s/proceed/true', $form->getValues()));\n }\n }\n\n $testCase = new Yourdelivery_Model_Testing_TestCase();\n $testCase->setData($form->getValues());\n $id = $testCase->save();\n $this->success('Testcase successfully created.');\n $this->_redirect('testing_cms/add/id/' . $id);\n } else {\n $this->error($form->getMessages());\n }\n }\n $this->view->post = $this->getRequest()->getParams();\n }",
"public function create()\n {\n $data['labels'] = Label::all();\n $data['users'] = User::all();\n $data['students'] = Student::all();\n $data['subjects'] = Subject::all();\n $data['exams'] = Exam::all();\n return view('admin.result.create',$data);\n }",
"public function actionCreate() {\n $model = new TabellePlattform();\n\n if ($model->loadAll(Yii::$app->request->post())) {\n if ($model->saveAll()) {\n// $this->success = 2; // 2->insert erfolgreich\n \n// $model = $this->findModel($model->id);\n// $model->setIsNewRecord(false);\n \n return $this->redirect(['update','id'=>$model->id,'mySuccess' => 2]);\n// return $this->render('update', [\n// 'model' => $model,\n// ]);\n// $this->redirect(\\Yii::$app->urlManager->createUrl(\"test/show\"));\n } else {\n $this->success = -1; // -1->insert Fehler\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function create()\n\t{\n\t \n\t \n\t return view('admin.test1.create');\n\t}",
"public function actionCreate() {\n $test = $this->tests->add($this->user->id);\n $values['test_id'] = $test->id;\n $this->questions->add($values);\n $this->redirect('Test:edit', $test->id);\n }",
"public function create()\n {\n $samples = samples::select('sample_id','patient_id', 'specimen_id')->get();\n $sites = sites::select('id','site_name')->get();\n\n $users = User::select('id','name')->get();\n\n return view('add_specimenresult')->with(['samples'=>$samples, 'users'=>$users,'sites'=>$sites]);\n \n }",
"public function create()\n {\n\n $students = DB::table('students')\n ->where('results', 0)\n ->get();\n\n return view('results/create')\n ->with('students', $students);\n\n \n // // fetch records from students results table\n // $results = Result::all();\n // foreach ($results as $key => $value) {\n\n // // $results2 = Result::find($value->id);\n\n // // fetch records from students results table\n // $students = Student::where('adm_no', $value->adm_no)->get();\n\n // } \n\n // fetch all students records from students table\n // $students = DB::table('students')\n // ->leftjoin('results','results.adm_no','=','students.adm_no')\n // ->get();\n\n // return view('results/create')\n // ->with('students', $students);\n }",
"public function actionCreate()\n {\n $model = new MintaData();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->id]);\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionCreate()\n {\n $model = new Data();\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->no]);\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function create()\n {\n return view('admin.medical-tests.create');\n }",
"public function create()\n {\n return view('backoffice/testi/create');\n }",
"public function create()\n {\n\t\t$sorted = array();\n $categories = TestsCategory::all()->toArray();\n\n foreach ($categories as $category) {\n if ( 0 == $category['parent_id'] ) {\n $sorted[0][$category['id']] = $category;\n } else {\n $sorted[$category['parent_id']][$category['id']] = $category;\n }\n }\n\n return view('tests.create', array(\n 'title' => 'Sukurti testą',\n 'current' => 'tests/create',\n 'categories' => $sorted,\n 'selected' => 0\n ));\n }",
"public function actionCreate()\n {\n $this->setUpLayout('form');\n\n $this->model = new ProjectsMeasure();\n\n if ($this->model->load(Yii::$app->request->post()) && $this->model->validate()) {\n if ($this->model->save()) {\n Yii::$app->getSession()->addFlash('success', Module::t('amoscore', 'Elemento creato correttamente.'));\n return $this->redirect(['update', 'id' => $this->model->id]);\n } else {\n Yii::$app->getSession()->addFlash('danger', Module::t('amoscore', 'Elemento non creato, verificare i dati inseriti.'));\n }\n }\n\n return $this->render('create', [\n 'model' => $this->model,\n 'fid' => null,\n 'dataField' => null,\n 'dataEntity' => null,\n ]);\n }",
"public function create()\n {\n $results = results::all();\n return view('admin.results.create');\n }",
"public function actionCreate()\n\t{\n\t\t$model=new UserMeasurements;\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t// $this->performAjaxValidation($model);\n\n\t\tif (isset($_POST['UserMeasurements'])) {\n\t\t\t$model->attributes=$_POST['UserMeasurements'];\n\t\t\tif ($model->save()) {\n\t\t\t\t$this->redirect(array('view','id'=>$model->id));\n\t\t\t}\n\t\t}\n\n\t\t$this->render('create',array(\n\t\t\t'model'=>$model,\n\t\t));\n\t}",
"public function create()\n {\n return view('all-section.student.result.create');\n }",
"public function create()\n {\n //\n $MW = null;\n $arrw = array();\n $arrv = array();\n \n\n for($i = 0; $i < 5; $i++){\n $arrw[$i] = null;\n }\n\n for($i = 0; $i < 5; $i++){\n $arrv[$i] = null;\n }\n\n $res = 0;\n $id = 0;\n $ans = array();\n return view('index',compact('MW','arrw','arrv','res','ans','id'));\n }",
"public function create()\n {\n return view('results.create');\n }",
"public function actionCreate() {\n $model = new TabelleRelease();\n\n if ($model->loadAll(Yii::$app->request->post())) {\n if ($model->saveAll()) {\n\n return $this->redirect(['update', 'id' => $model->id, 'mySuccess' => 2]);\n } else {\n $this->success = -1; // -1->insert Fehler\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n } else {\n return $this->render('create', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionCreate()\n {\n $this->isCreateView = true;\n $modelClass = $this->_getModelClass();\n $model = new $modelClass;\n return $this->_renderView($model);\n }",
"public function actionCreate()\n {\n $model = new Examination();\n\n if ($model->load(Yii::$app->request->post())) {\n $userId = \\Yii::$app->user->id;\n $this->saveResult($model->result, $userId);\n return $this->redirect('index');\n }\n\n return $this->render('create', [\n 'model' => $model,\n ]);\n }",
"public function create()\n { \n $matieres= Matiere::all();\n $users= User::all();\n return view('evaluations.create',compact('matieres','users'));\n }",
"public function create()\n\t{\n\t\treturn view('test.create');\n\t}"
] |
[
"0.69018227",
"0.68505263",
"0.6685028",
"0.6513121",
"0.6357439",
"0.63458854",
"0.6313883",
"0.6307654",
"0.6235553",
"0.61881953",
"0.61789",
"0.6165783",
"0.616029",
"0.6145352",
"0.61278343",
"0.61251026",
"0.61092365",
"0.60715127",
"0.6066046",
"0.6050319",
"0.603671",
"0.60343546",
"0.6032838",
"0.6031665",
"0.60233784",
"0.6016006",
"0.60054153",
"0.5993509",
"0.59909004",
"0.5987207"
] |
0.7198255
|
0
|
Updates an existing TestValuesMatrix model. If update is successful, the browser will be redirected to the 'create' page.
|
public function actionUpdate($id)
{
$model = $this->findModelMatrix($id);
if (Yii::$app->request->post()) {
//if ($model->load(Yii::$app->request->post()) && $model->save())
$myPost['TestValuesMatrix'] = Yii::$app->request->post('TestValuesMatrix');
$myPost['TestValuesMatrix']['serialize'] = serialize($myPost['TestValuesMatrix']['serialize']);
if ($model->load($myPost) && $model->save()) {
return $this->redirect(['create', 'id' => $model->test_id]);
} else {
return $this->render('updatematrix', [
'ownModel' => Yii::$app->request->post('TestValuesMatrix')['serialize'],
'questionH' => $model->questionHorizontal,
'questionV' => $model->questionVertical,
'testValues' => TestValues::getTestValues($questionH->getAttribute('test_id')),
]);
}
} else {
return $this->render('updatematrix', [
'ownModel' => unserialize($model->getAttribute('serialize')),
'questionH' => $model->questionHorizontal,
'questionV' => $model->questionVertical,
'testValues' => TestValues::getTestValues($model->getAttribute('test_id')),
]);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function actionCreatematrix(){ \n if(Yii::$app->request->post('DynamicModel')){\n $questionH = Question::findOne(Yii::$app->request->post('DynamicModel')['question_horizontal_id']);\n $questionV = Question::findOne(Yii::$app->request->post('DynamicModel')['question_vertical_id']);\n\n $cntAnswersH = count($questionH->answers);\n $cntAnswersOffsetH = (int)($cntAnswersH/4);\n $cntAnswersV = count($questionV->answers);\n $cntAnswersOffsetV = (int)($cntAnswersV/4);\n\n for($i=$cntAnswersOffsetV; $i<$cntAnswersV; $i++){\n for($j=$cntAnswersOffsetH; $j<$cntAnswersH; $j++){\n $ownModel[\"{$questionV->answers[$i]->getAttribute('value')}\"][\"{$questionH->answers[$j]->getAttribute('value')}\"]=0;\n }\n }\n\n return $this->render('creatematrix', [\n 'ownModel' => $ownModel,\n 'questionH' => $questionH,\n 'questionV' => $questionV,\n 'testValues' => TestValues::getTestValues($questionH->getAttribute('test_id')),\n ]);\n }\n\n //creating and save matrix\n if(Yii::$app->request->post('TestValuesMatrix')){\n $testValuesMatrix = new TestValuesMatrix();\n\n //var_dump(Yii::$app->request->post('TestValuesMatrix'));\n $myPost['TestValuesMatrix'] = Yii::$app->request->post('TestValuesMatrix');\n $myPost['TestValuesMatrix']['serialize'] = serialize($myPost['TestValuesMatrix']['serialize']);\n \n //check if it's a first matrix for test\n $Allmatrixes = TestValuesMatrix::find()->where(['and', \"test_id=\" . $myPost['TestValuesMatrix']['test_id']])->all();\n \n $model = new TestValuesMatrix();\n \n if(!$Allmatrixes){\n $model->setAttribute('active_flag', 1);\n }\n \n if ($model->load($myPost) && $model->save()) {\n return $this->redirect(['create', 'id' => $model->test_id]);\n } else {\n $questionH = Question::findOne(Yii::$app->request->post('TestValuesMatrix')['question_horizontal_id']);\n $questionV = Question::findOne(Yii::$app->request->post('TestValuesMatrix')['question_vertical_id']);\n return $this->render('creatematrix', [\n 'ownModel' => Yii::$app->request->post('TestValuesMatrix')['serialize'],\n 'questionH' => $questionH,\n 'questionV' => $questionV,\n 'testValues' => TestValues::getTestValues($questionH->getAttribute('test_id')),\n ]);\n }\n }\n }",
"public function updateAction() {\n $model = new Application_Model_Compromisso();\n //passo para a model os dados a serem upados\n $model->update($this->_getAllParams());\n //redireciono para a view\n $this->_redirect('compromisso/index');\n }",
"public function actionUpdate() //update value from default page to DB\n {\n\n\n $model = $this->findModel($_POST['ExamRoomDetail']['rooms_detail_date'],\n $_POST['ExamRoomDetail']['rooms_detail_time'],\n $_POST['ExamRoomDetail']['rooms_id']\n );\n if(isset($_POST)) {\n $model->load(Yii::$app->request->post());\n $update = $model;\n $update->exam_room_status = $_POST['ExamRoomDetail']['exam_room_status'];\n $update->save();\n }\n\n }",
"public function actionUpdate($id)\n\t{\n\t\t$model=$this->loadModel($id);\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t// $this->performAjaxValidation($model);\n\n\t\tif (isset($_POST['UserMeasurements'])) {\n\t\t\t$model->attributes=$_POST['UserMeasurements'];\n\t\t\tif ($model->save()) {\n\t\t\t\t$this->redirect(array('view','id'=>$model->id));\n\t\t\t}\n\t\t}\n\n\t\t$this->render('update',array(\n\t\t\t'model'=>$model,\n\t\t));\n\t}",
"public function actionUpdate($id)\n\t{\n\t\t$model=$this->loadModel($id);\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t// $this->performAjaxValidation($model);\n\n\t\tif(isset($_POST['EstudianteEvaluacion']))\n\t\t{\n\t\t\t$model->attributes=$_POST['EstudianteEvaluacion'];\n\t\t\tif($model->save())\n\t\t\t\t$this->redirect(array('view','id'=>$model->id_evaluacion_estudiante));\n\t\t}\n\n\t\t$this->render('update',array(\n\t\t\t'model'=>$model,\n\t\t));\n\t}",
"public function actionUpdate()\n {\n $model = $this->findModel(Yii::$app->request->post('id'));\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $model;\n }\n return $model->errors;\n }",
"public function testUpdate()\n {\n $model = $this->makeFactory();\n $model->save();\n\n $newModel = $this->makeFactory();\n\n $this->json('PUT', static::ROUTE . '/' . $model->id, $newModel->toArray(), [\n 'Authorization' => 'Token ' . self::getToken()\n ])\n ->seeStatusCode(JsonResponse::HTTP_OK) \n ->seeJson($newModel->toArray());\n }",
"public function actionUpdate($id)\n {\n $estimate_id = $this->findModel($id)->estimate_id;\n $modelTranslation = Translation::find()->where([\n 'estimate_id' => $estimate_id\n ])->all();\n\n $model = $modelTranslation[0];\n $modelForm = [];\n foreach ($modelTranslation as $i => $translation) {\n $modelForm[$i] = new TranslationForm();\n $modelForm[$i]->value = $translation->value;\n $modelForm[$i]->gender = $translation->gender;\n $temp = $translation->condition_eval;\n\n $matches = null;\n $pattern = '/(?P<result1>\\w+)(?P<lower>[>=<!]+)(?P<lower_val>[+-]?\\d+.?\\d+)(\\s*[&|]{2}\\s*(?P<result2>\\w+)(?P<upper>[>=<!]+)(?P<upper_val>[+-]?\\d+.?\\d+))?/';\n if(preg_match($pattern,$temp,$matches)){\n $modelForm[$i]->attributes = $matches;\n }\n else{\n /*handle error pattern*/\n }\n\n }\n\n $postData = Yii::$app->request->post('TranslationForm');\n\n if($postData){\n $translationForms = [];\n $modelTranslationSave = [];\n foreach ($postData as $i => $post) {\n if(isset($modelForm[$i])){\n $translationForms[$i] = $modelForm[$i];\n $modelTranslationSave[$i] = $modelTranslation[$i];\n }\n else{\n $translationForms[$i] = new TranslationForm();\n $modelTranslationSave[$i] = new Translation();\n }\n }\n\n if (Model::loadMultiple($translationForms,Yii::$app->request->post()) && Model::validateMultiple($translationForms)) {\n\n $this->saveFormToTranslation($translationForms,$modelTranslationSave,$estimate_id);\n\n /* After update tests less than before */\n $lenTranslation = count($modelTranslation);\n $lenPost = count(Yii::$app->request->post('TranslationForm'));\n\n for ($i = $lenPost; $i<$lenTranslation; $i++){\n $modelTranslation[$i]->delete();\n }\n return $this->redirect(['view', 'id' => $modelTranslation[0]->id]);\n }\n else{\n /*handle error forms*/\n }\n }\n else {\n return $this->render('update', [\n 'model' => $model,\n 'modelForm' => $modelForm\n ]);\n }\n }",
"public function actionUpdate($id)\n\t{\n\t\t$model=$this->loadModel($id);\n\n\t\t$sql = \"SELECT COUNT(*) FROM test_context_seq WHERE id_test_context = \".$id;\n\t\t$numSeqs = Yii::app()->db->createCommand($sql)->queryScalar();\n\t\t//echo $numSeqs;\n\n $user_name = Yii::app()->user->getName();\n\n\t\t$users = Users::model()->findAllByAttributes(\n\t\t\tarray('user_name'=>$user_name)\n\t\t);\n\n\t\t$name=\"\";\n\t\tforeach ($users as $user) {\n\t\t\t$name = $user->name;\n\t\t}\n\n\t\t$modelsApps= App::model()->findAll();\n\t\t$appsArray = CHtml::listData($modelsApps, 'id', 'name');\n\n\t\t$modelsPlatforms= Platforms::model()->findAll();\n\t\t$platformsArray = CHtml::listData($modelsPlatforms, 'id', 'name');\n\n\t\t$modelsDevice= Device::model()->findAll(array(\n\t\t 'select'=>'id,description',\n\t\t 'condition'=>\"id_platform='$model->id_platform'\"\n\t\t ));\n\t\t$devicesArray = CHtml::listData($modelsDevice, 'id', 'description');\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t\n\t\tif (isset($_POST['buttonCancel'])) {\n\t\t\t\n\t\t\t$this->redirect(array('admin'));\n\t\t}\n\n\t\tif (isset($_POST['TestContext'])) {\n\t\t\t\n\t\t\t$model->attributes=$_POST['TestContext'];\n\t\t\tif ($model->save()) {\n\t\t\t\t\n\t\t\t\tYii::app()->user->setState('idTestContext', $model->id);\n\t\t\t\tYii::app()->user->setState('idDevice', $model->id_device);\n\t\t\t\t\t\t\t\t\n\t\t\t\t$this->redirect(\"/mtcontrool/index.php/elementInst/update1\");\n\t\t\t}\n\t\t}\n\t\t\n\t if($numSeqs==0){\n\t \t$this->render('update',array(\n\t\t\t\t'model'=>$model,\n\t\t\t\t'appsArray'=>$appsArray,\n\t\t\t\t'platformsArray'=>$platformsArray,\n\t\t\t\t'devicesArray'=>$devicesArray,\n\t\t\t\t'name'=>$name\n\t\t\t));\n\t }else{\n\t \t$this->redirect(\"/mtcontrool/index.php/testContext/inidashboard?idTestContext=\".$id);\n\t }\n\t\t\n\t}",
"public function updateunitmodelAction() {\n\t\t$id = $this->getRequest()->getParam('modelId');\n\t\tif ( !empty ($id) ) {\n\t\t\t$model = new Unit_Model_UnitModel();\n\t\t\t$modelData = $model->findById($id);\n\t\t\tif ( $modelData!==null ) {\n\t\t\t\t$form = new Unit_Form_CreateUnitModel();\n\n\t\t\t\t//\tPopulate the data\n\t\t\t\t$form->setLegend( 'updateUnitModel' ); // set legend text since this form is shared with create\n\t\t\t\t$form->setForm();\n\t\t\t\t$form->setDefaults( $modelData->toArray() );\n\n\t\t\t\t$ua = new Unit_Model_UnitModelAmenity();\n\t\t\t\t$ua->setUnitModelId( $id );\n\t\t\t\t$uaData = $ua->getUnitModelAmenities();\n\t\t\t\t// Populate Amenity Checkboxes\n\t\t\t\tif( isset($uaData) && $form->getElement('amenityId') ){\n\t\t\t\t $form->getElement('amenityId')->setValue( array_keys($uaData) );\n\t\t\t\t} \n\t\t\t\t$this->view->form = $form;\n\n\t\t\t\t// Saving form\n\t\t\t\tif ( $this->getRequest()->isPost() and $form->isValid($this->getRequest()->getParams()) ) {\n\t\t\t\t\t$newData = $form->getValues();\n\t\t\t\t\t$modelData = new Unit_Model_UnitModel( $newData );\n\t\t\t\t\t$modelData->setId( $id );\n\t\t\t\t\t$modelData->setName( $form->getValue('name') );\n\t\t\t\t\t$saved = $modelData->saveUnitModel($form->getValue('amenityId') );\n\n\t\t\t\t\tif ($saved) {\n\t\t\t\t\t\t$this->setFlashMessage('recordUpdatedSuccessfully');\n\t\t\t\t\t\t$this->_helper->redirector('viewallunitmodels', 'unitmodel', 'unit');\n\t\t\t\t\t} else {\n\t\t\t\t\t $this->view->msg = $this->getMessage($modelData->getMessageState());\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\t\t\t\t\n\t\t\t\t$this->view->msg = $this->getMessage('noRecordFound');\n\t\t\t}\n\t\t} else {\t\t\t\n\t\t\t$this->view->msg = $this->getMessage('noRecordFound');\n\t\t}\n\t}",
"function update(){\n session_start();\n $id=$_SESSION['id_alumno'];\n $nombre= $_POST['nombre'];\n $apellido= $_POST['apellido'];\n $telefono= $_POST['telefono'];\n \n unset($_SESSION['id_alumno']);\n $this->model->update(['id'=>$id,'nombre'=>$nombre,'apellido'=>$apellido,'telefono'=>$telefono]);\n \n $url= constant('URL').\"alumno\";\n header(\"Location: $url\");\n\n // $this->index();\n\n // if ($this->model->update(['id'=>$id,'nombre'=>$nombre , 'apellido'=>$apellido,'telefono'=>$telefono])) {\n // $alumno = new Alumnos();\n // $alumno->id=$id;\n // $alumno->nombre=$nombre;\n // $alumno->apellido=$apellido;\n // $alumno->telefono=$telefono;\n // $this->view->alumno=$alumno;\n // $this->render();\n\n\n // }else{\n // $this->view->render('errors/index');\n // }\n // $url= constant('URL').\"alumno\";\n // header(\"Location: $url\");\n }",
"public function update($model) :bool;",
"public function actionUpdate()\n {\n if (!$model = $this->findModel()) {\n Yii::$app->session->setFlash(\"error\", Yii::t('modules/user', \"You are not logged in.\"));\n $this->goHome();\n } else if ($model->load(Yii::$app->request->post()) && $model->save()) {\n Yii::$app->session->setFlash(\"success\", Yii::t('modules/user', \"Changes has been saved.\"));\n $this->refresh();\n } else {\n return $this->render('update', ['model' => $model,]);\n }\n }",
"function update(){\n\t\t$this->model->update();\n\t}",
"public function actionUpdate()\n {\n $post = Yii::$app->request->post();\n\n $model = $this->findModel($post['InsightsDef']['name']);\n $content = InsightsContent::findOne($post['InsightsContent']['id']);\n\n if ($model->load($post)) {\n $priorityCounter = 0;\n foreach ($post['InsightsDef'] as $key => $value) {\n if (!in_array($key, ['id', 'id_category', 'priority', 'hospitals', 'units', 'specialities', 'name']) && $value != '') {\n $priorityCounter++;\n }\n }\n $model->priority = $priorityCounter;\n $model->save();\n $content->load($post);\n $content->save();\n }\n return $this->redirect(['create', 'idCategory' => $model->id_category, 'id' => $model->id]);\n }",
"abstract protected function updateModel();",
"public function actionUpdate()\r\n {\r\n $this->_userAutehntication();\r\n\r\n /*\r\n * Receive all the PUT parameters\r\n */\r\n parse_str(file_get_contents('php://input'), $put_params);\r\n\r\n switch($_GET['model'])\r\n {\r\n /* Find respective model */\r\n case 'posts': \r\n $model = Post::model()->findByPk($_GET['id']); \r\n break; \r\n default: \r\n $this->_sendResponse(501, sprintf('Error: Mode <b>update</b> is not implemented for model <b>%s</b>',$_GET['model']) );\r\n exit; \r\n }\r\n if(is_null($model))\r\n $this->_sendResponse(400, sprintf(\"Error: Didn't find any model <b>%s</b> with ID <b>%s</b>.\",$_GET['model'], $_GET['id']) );\r\n \r\n /*\r\n * assign PUT parameters to attributes\r\n */ \r\n foreach($put_params as $var=>$value) {\r\n /*\r\n * Check if the model have this attribute\r\n */ \r\n if($model->hasAttribute($var)) {\r\n $model->$var = $value;\r\n } else {\r\n /* Error : model don't have this attribute */\r\n $this->_sendResponse(500, sprintf('Parameter <b>%s</b> is not allowed for model <b>%s</b>', $var, $_GET['model']) );\r\n }\r\n }\r\n /*\r\n *save the model\r\n */\r\n if($model->save()) {\r\n $this->_sendResponse(200, sprintf('The model <b>%s</b> with id <b>%s</b> has been updated.', $_GET['model'], $_GET['id']) );\r\n } else {\r\n $message = \"<h1>Error</h1>\";\r\n $message .= sprintf(\"Couldn't update model <b>%s</b>\", $_GET['model']);\r\n $message .= \"<ul>\";\r\n foreach($model->errors as $attribute=>$attribute_errors) {\r\n $message .= \"<li>Attribute: $attribute</li>\";\r\n $message .= \"<ul>\";\r\n foreach($attribute_errors as $attr_error) {\r\n $message .= \"<li>$attr_error</li>\";\r\n } \r\n $message .= \"</ul>\";\r\n }\r\n $message .= \"</ul>\";\r\n $this->_sendResponse(500, $message );\r\n }\r\n }",
"public function actionUpdate()\n {\n\t\t\t$id=7;\n $model = $this->findModel($id);\n $model->slug = \"asuransi\";\n $model->waktu_update = date(\"Y-m-d H:i:s\");\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['update']);\n } else {\n return $this->render('update', [\n 'model' => $model,\n ]);\n }\n }",
"public function update()\n {\n\t $dataArr = array(\n\t\t'id' => $this->input->post('id'),\n\t\t'paper_code' => $this->input->post('paper_code'),\n\t\t'subject' => $this->input->post('subject'),\n\t\t'min_marks' => $this->input->post('min_marks'),\n\t\t'max_marks' => $this->input->post('max_marks')\n\t\t);\n\t $SetUp=new SetUpModel;\n $SetUp->update_product($dataArr);\n redirect(base_url('index.php/SetUp'));\n }",
"public function actionUpdate()\n {\n $model = $this->loadModel();\n\n if (isset($_POST['User']))\n {\n $model->attributes = $_POST['User'];\n\n if ($model->save())\n {\n Yii::app()->user->setFlash(YFlashMessages::NOTICE_MESSAGE, Yii::t('user', 'Данные обновлены!'));\n\n $this->redirect(array('view', 'id' => $model->id));\n }\n }\n\n $this->render('update', array(\n 'model' => $model,\n ));\n }",
"public function actionUpdate($id)\n {\n $model = $this->findModel($id);\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n return $this->redirect(['view', 'id' => $model->RA_NUM]);\n } else {\n return $this->render('update', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionUpdate()\n\t{\n\t\t$es = new EditableSaver('PointValueTb');\n\t\n\t try {\n\n\t \t$es->update();\n\t \n\t } catch(CException $e) {\n\t \techo CJSON::encode(array('success' => false, 'msg' => $e->getMessage()));\n\t \treturn;\n\t }\n\t echo CJSON::encode(array('success' => true));\n\t}",
"public function actionUpdate() {\n $json = file_get_contents('php://input'); //$GLOBALS['HTTP_RAW_POST_DATA'] is not preferred: http://www.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data\n $put_vars = CJSON::decode($json, true); //true means use associative array\n switch ($_GET['model']) {\n // Find respective model\n case 'Order':\n $model = Order::model()->findByPk($_GET['id']);\n break;\n case 'Users':\n $model = Users::model()->findByPk($_GET['id']);\n break;\n case 'Product':\n $model = Product::model()->findByPk($_GET['id']);\n break;\n case 'Vendor':\n $model = Vendor::model()->findByPk($_GET['id']);\n break;\n case 'FavoriteProduct':\n $model = FavoriteProduct::model()->findByPk($_GET['id']);\n break;\n case 'Rating':\n $model = Rating::model()->findByPk($_GET['id']);\n break;\n case 'Review':\n $model = Review::model()->findByPk($_GET['id']);\n break;\n case 'UserAddress':\n $model = UserAddress::model()->findByPk($_GET['id']);\n break;\n case 'OrderDetail':\n $model = OrderDetail::model()->findByPk($_GET['id']);\n break;\n default:\n $this->_sendResponse(0, sprintf('Error: Mode update is not implemented for model ', $_GET['model']));\n Yii::app()->end();\n }\n // Did we find the requested model? If not, raise an error\n if ($model === null)\n $this->_sendResponse(0, sprintf(\"Error: Didn't find any model with ID .\", $_GET['model'], $_GET['id']));\n\n // Try to assign PUT parameters to attributes\n unset($_POST['id']);\n foreach ($_POST as $var => $value) {\n // Does model have this attribute? If not, raise an error\n if ($model->hasAttribute($var))\n $model->$var = $value;\n else {\n $this->_sendResponse(0, sprintf('Parameter %s is not allowed for model ', $var, $_GET['model']));\n }\n }\n // Try to save the model\n if ($model->update())\n $this->_sendResponse(1, '', $model);\n else\n $this->_sendResponse(0, $msg);\n // prepare the error $msg\n // see actionCreate\n // ...\n }",
"public function actionUpdate($id) {\n $model = $this->findModel($id);\n $model->scenario = 'create_update';\n\n if ($model->load(Yii::$app->request->post()) && $model->save()) {\n Yii::$app->getSession()->setFlash(\n 'success', 'Data Successfully Updated!'\n );\n return $this->redirect(['index']);\n } else {\n return $this->render('update', [\n 'model' => $model,\n ]);\n }\n }",
"public function actionUpdate() {\n $data = $this->data;\n $model = $this->findModel($data['employee_id']);\n if ($model) {\n $model->employee_code = $data['employee_code'];\n $model->employee_name = $data['employee_name'];\n $model->employee_email = $data['employee_email'];\n $model->status = $data['status'];\n $model->department_id = $data['department_id'];\n\n $errors = $this->EmpDetailsvalidate($data['address']);\n if ($model->validate() && empty($errors)) {\n $model->save();\n $this->InsertUpdateEmpAddress($model->id, $data['address']);\n echo $this->messageReturn(\"success\", 200);\n exit;\n } else {\n $error = $model->getErrors();\n echo $this->messageReturn(\"error\", 404, \"\", $error);\n exit;\n }\n } else {\n echo $this->messageReturn(\"failed\", 201, \"\", \"Please sent correct parameter\");\n exit;\n }\n }",
"public function update(){\n\t\t\t$matk = $_POST['matk'];\n\t\t\t$tentk = $_POST['tentk'];\n\t\t\t$pass = $_POST['pass'];\n\t\t\t$fullname = $_POST['fullname'];\n\n\t\t\t$post = array(\n\t\t\t\t'matk' => $matk,\n\t\t\t\t'tentk' => $tentk,\n\t\t\t\t'pass' => $pass,\n\t\t\t\t'fullname' => $fullname,\n\t\t\t);\n\n\t\t\trequire_once('model/model.php');\n\t\t\t$Model = new Model();\n\t\t\t$update = $Model -> updateData($post);\n\n\t\t\trequire_once('view/View.php');\n\t\t\t$View = new View();\n\t\t\t$View ->alertupdate($update);\n\t\t}",
"public function actionUpdate($id)\n\t{\n\t\t$model=$this->loadModel($id);\n\n\t\t// Uncomment the following line if AJAX validation is needed\n\t\t// $this->performAjaxValidation($model);\n\t\t\n\t\t$_brands = Brands::model()->findAll(array(\n\t\t\t'select'=>'BrandId, BrandName', 'condition'=>'status=\\'ACTIVE\\''));\n\t\t$brands = array();\n\t\tforeach($_brands as $row) {\n\t\t\t$brands[$row->BrandId] = $row->BrandName;\n\n\t\t}\n\t\t\n\t\t$_campaigns = Campaigns::model()->findAll(array(\n\t\t\t'select'=>'CampaignId, BrandId, CampaignName', 'condition'=>'status=\\'ACTIVE\\''));\n\t\t$campaigns = array();\n\t\tforeach($_campaigns as $row) {\n\t\t\t$campaigns[$row->CampaignId] = $row->CampaignName;\n\n\t\t}\n\t\t\n\t\t$_channels = Channels::model()->findAll(array(\n\t\t\t'select'=>'ChannelId, BrandId, CampaignId, ChannelName', 'condition'=>'status=\\'ACTIVE\\''));\n\t\t$channels = array();\n\t\tforeach($_channels as $row) {\n\t\t\t$channels[$row->ChannelId] = $row->ChannelName;\n\n\t\t}\n\t\t\n\t\t$_rewardslist = RewardsList::model()->findAll(array(\n\t\t\t'select'=>'RewardId, Title', 'condition'=>'status=\\'ACTIVE\\''));\n\t\t$rewardslist = array();\n\t\tforeach($_rewardslist as $row) {\n\t\t\t$rewardslist[$row->RewardId] = $row->Title;\n\n\t\t}\n\n\t\tif(isset($_POST['Points']))\n\t\t{\n\t\t\t$model->attributes=$_POST['Points'];\n\t\t\t$model->setAttribute(\"DateUpdated\", new CDbExpression('NOW()'));\n\t\t\t$model->setAttribute(\"UpdatedBy\", Yii::app()->user->id);\n\t\t\tif($model->save())\n\t\t\t{\n\t\t\t\t$utilLog = new Utils;\n\t\t\t\t$utilLog->saveAuditLogs();\n\t\t\t\t$this->redirect(array('view','id'=>$model->PointsId));\n\t\t\t}\n\t\t}\n\n\t\t$this->render('update',array(\n\t\t\t'model'=>$model,\n\t\t\t'brand_id'=>$brands,\n\t\t\t'channel_id'=>$channels,\n\t\t\t'campaign_id'=>$campaigns,\n\t\t\t'rewardlist_id'=>$rewardslist,\n\t\t));\n\t}",
"public function actionUpdate($id){\n $model = $this->findModel($id);\n\n if ($model->load(Yii::$app->request->post())) {\n $model->date_submitted=NULL;\n $model->save();\n $applicationid=$model->application_id;\n $application = MgfApplication::findOne($applicationid);\n $application->application_status='Updated';\n $application->is_active=1;\n $application->date_submitted=NULL;\n if ($application->save()) {\n Yii::$app->session->setFlash('success', 'Saved successfully.');\n MgfApplication::updateAll(['is_active' => 0], 'id!='.$applicationid);\n return $this->redirect(['view', 'id' => $model->id]);\n }else{\n Yii::$app->session->setFlash('error', 'NOT Saved.');\n return $this->render('update', ['model' => $model,]);\n }\n }\n\n return $this->render('update', ['model' => $model,]);\n }",
"public function actionUpdate($id) {\n\t\t$model = $this->loadModel($id);\n\t\tif (isset($_POST['Adminuser'])) {\n\t\t\t($_POST['Adminuser']['reset_password']==1) ? $model->setScenario('scenarioUpdateAll') : $model->setScenario('scenarioNoPasswordUpdate');\n\t\t\t$model->attributes = $_POST['Adminuser'];\n\t\t\tif ($_POST['Adminuser']['reset_password']==1) {\n\t\t\t\tif ($_POST['Adminuser']['password'] == $_POST['Adminuser']['confirm_password']) {\n\t\t\t\t\t$model->reset_password = $_POST['Adminuser']['reset_password'];\n\t\t\t\t\t$model->confirm_password = $_POST['Adminuser']['confirm_password'];\n\t\t\t\t\tif ($model->validate()) { // validation is called. Here model applies the validation rules.\n\t\t\t\t\t\tif ($model->resetPasswordOrUpdateOthers($model->reset_password)) {\n\t\t\t\t\t\t\tYii::app()->user->setFlash('actionUpdate','Database was updated successfully');\n\t\t\t\t\t\t\t$this->redirect(array('index'));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t} \n\t\t\t\telse { \n\t\t\t\t\t$model->addError('reset_password','Passwords do not match'); \n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\telse if ($model->validate()) { // validation is called. Here model applies the validation rules.\n\t\t\t\tif($model->saveAttributes(array('username_email', 'name','adminuser_groupid'))) {\n\t\t\t\t\tYii::app()->user->setFlash('actionUpdate','Database was updated successfully');\n\t\t\t\t\t$this->redirect(array('index'));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\t$this->render('update',array(\n\t\t\t'model'=>$model,\n\t\t));\n\t}",
"public function actionUpdate()\r\n {\r\n $model=Settings::findOne(1);\r\n\r\n \r\n if ($model->load(Yii::$app->request->post())) \r\n {\r\n $model->code=strtolower($model->code);\r\n if($model->save())\r\n {\r\n Yii::$app->session->setFlash('success','Account Updated');\r\n return $this->redirect(['/site/index']);\r\n }\r\n else\r\n {\r\n print_r($model->errors); exit;\r\n }\r\n } \r\n else \r\n {\r\n Yii::$app->view->title=\"Update Account Info\";\r\n return $this->render('update', [\r\n 'model' => $model,\r\n ]);\r\n }\r\n \r\n\r\n }"
] |
[
"0.65320134",
"0.6054743",
"0.5745793",
"0.5728957",
"0.57205325",
"0.57133836",
"0.5653941",
"0.56486744",
"0.56306803",
"0.55988383",
"0.55599993",
"0.5551773",
"0.55468607",
"0.5517817",
"0.5473484",
"0.546903",
"0.5445727",
"0.5413719",
"0.5406519",
"0.53956854",
"0.5361662",
"0.53585285",
"0.5355085",
"0.5329861",
"0.5314885",
"0.52924293",
"0.5292179",
"0.5290723",
"0.52893937",
"0.52831644"
] |
0.76898384
|
0
|
Finds the TestValues model based on its primary key value. If the model is not found, a 404 HTTP exception will be thrown.
|
protected function findModel($id)
{
if (($model = TestValues::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public abstract function find($primary_key, $model);",
"private function findModel($key)\n {\n if (null === $key) {\n throw new BadRequestHttpException('Key parameter is not defined in findModel method.');\n }\n\n $modelObject = $this->getNewModel();\n\n if (!method_exists($modelObject, 'findOne')) {\n $class = (new\\ReflectionClass($modelObject));\n throw new UnknownMethodException('Method findOne does not exists in ' . $class->getNamespaceName() . '\\\\' .\n $class->getShortName().' class.');\n }\n\n $result = call_user_func([\n $modelObject,\n 'findOne',\n ], $key);\n\n if ($result !== null) {\n return $result;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"public function find($primaryValue);",
"public function find($pk)\r\n {\r\n $row = $this->getTable()->find($pk);\r\n if(!$row){\r\n return false;\r\n }\r\n $sampleModel = new SampleModel();\r\n $this->_map($sampleModel, $row);\r\n return $sampleModel;\r\n }",
"public function find($id){\n\t\t$db = static::getDatabaseConnection();\n\t\t//Create a select query\n\t\t$query = \"SELECT \" . implode(\",\" , static::$columns).\" FROM \" . static::$tableName . \" WHERE id = :id\";\n\t\t//prepare the query\n\t\t$statement = $db->prepare($query);\n\t\t//bind the column id with :id\n\t\t$statement->bindValue(\":id\", $id);\n\t\t//Run the query\n\t\t$statement->execute();\n\n\t\t//Put the associated row into a variable\n\t\t$record = $statement->fetch(PDO::FETCH_ASSOC);\n\n\t\t//If there is not a row in the database with that id\n\t\tif(! $record){\n\t\t\tthrow new ModelNotFoundException();\n\t\t}\n\n\t\t//put the record into the data variable\n\t\t$this->data = $record;\n\t}",
"protected function findModel($id) {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public function getModelByPrimaryKey($action = null, $keyValue = null)\n {\n $keyName = $this->model->getKeyName();\n\n if ($keyValue == '_') {\n if ($this->request()->has(\"data.primaryKey.{$keyName}\")) {\n $keyValue = $this->request()->input(\"data.primaryKey.{$keyName}\");\n } elseif ($this->request()->has(\"data.old.{$keyName}\")) {\n $keyValue = $this->request()->input(\"data.old.{$keyName}\");\n } elseif ($this->request()->has('data.items')) {\n $items = $this->request()->input('data.items');\n if (Arr::has($items, $keyName)) {\n $keyValue = Arr::get($items, $keyName);\n } else {\n $first = Arr::first($items);\n if (Arr::has($first, $keyName)) {\n $keyValue = Arr::get($first, $keyName);\n }\n }\n }\n }\n\n $data = [$keyName => $keyValue];\n\n $r = $this->validateData($data, null, 'primaryKey', $action, [$keyName => ['includeUniqueRules' => false]]);\n if ($r !== true) {\n return $r;\n }\n\n $modelClass = get_class($this->model);\n if ($model = $modelClass::find($data[$keyName])) {\n return $model;\n }\n\n return CrudJsonResponse::error(CrudHttpErrors::TARGET_DATA_MODEL_NOT_FOUND, null, [\n 'action' => 'primaryKey',\n 'parent_action' => $action,\n 'target' => $data,\n ]);\n }",
"public function loadModel($id)\n\t{\n\t\t$model=TestContext::model()->findByPk($id);\n\t\tif ($model===null) {\n\t\t\tthrow new CHttpException(404,'The requested page does not exist.');\n\t\t}\n\t\treturn $model;\n\t}",
"protected function findModel($id)\n\t{\n if (($model = CoreSettings::findOne($id)) !== null) {\n return $model;\n }\n\n\t\tthrow new \\yii\\web\\NotFoundHttpException(Yii::t('app', 'The requested page does not exist.'));\n\t}",
"protected function findSpecModel($id)\r\n {\r\n if (($model = Attr::findOne($id)) !== null) {\r\n return $model;\r\n } else {\r\n throw new NotFoundHttpException('The requested page does not exist.');\r\n }\r\n }",
"public static function find( $primaryKey )\n\t{\n\t\tself::init();\n\t\t\n\t\t// Select one item by primary key in Database\n\t\t$result = Database::selectOne(\"SELECT * FROM `\" . static::$table . \"` WHERE `\" . static::$primaryKey . \"` = ?\", $primaryKey);\t\t\n\t\tif( $result == null )\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t// Create & return new object of Model\n\t\treturn self::newItem($result);\n\t}",
"protected function findModel($id) {\n if (($model = Parameter::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public function findById($primaryKeyValue){\n //Select* From employers Where $this->primaryKey(noemp)=$primaryKeyValue(1000)\n $array = $this->findWhere($this->primaryKey. \"=$primaryKeyValue\");\n if (count($array) != 1 ) die (\"The ID $primaryKeyValue is not valid\");\n return $array[0];\n }",
"protected function findModel($id)\n {\n if (($model = Menu::findOne([ 'id' => $id ])) !== null)\n {\n return $model;\n }\n else\n {\n throw new HttpException(404, Yii::t('backend', 'The requested page does not exist.'));\n }\n }",
"protected function findModel($id)\n {\n if (($model = PaidEmployment::findOne($id)) !== null) {\n return $model;\n } else {\n throw new HttpException(404);\n }\n }",
"public static function findModel($id='')\n {\n $model = static::find()->where(['id' => $id])->one();\n if ($model == null) {\n throw new \\yii\\web\\NotFoundHttpException(Yii::t('app',\"Page not found!\"));\n }\n return $model;\n }",
"protected function findModel($id)\n {\n if (($model = Offer::findOne($id)) !== null) {\n return $model;\n } else {\n throw new HttpException(404, 'The requested page does not exist.');\n }\n }",
"public function find($id){\n return $this->model->query()->findOrFail($id);\n }",
"protected function findModel($id)\n\t{\n\t\tif (($model = Trailer::findOne($id)) !== null) {\n\t\t\treturn $model;\n\t\t} else {\n\t\t\tthrow new HttpException(404, 'The requested page does not exist.');\n\t\t}\n\t}",
"protected function findModel($id)\n {\n if (($model = Valoraciones::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"public function loadModel($id)\n\t{\n\t\t$model=Results::model()->findByPk($id);\n\t\tif($model===null)\n\t\t\tthrow new CHttpException(404,'The requested page does not exist.');\n\t\treturn $model;\n\t}",
"public function loadModel($id)\n\t{\n\t\t$model=EstudianteEvaluacion::model()->findByPk($id);\n\t\tif($model===null)\n\t\t\tthrow new CHttpException(404,'The requested page does not exist.');\n\t\treturn $model;\n\t}",
"public function findBy($field, $value)\n {\n return $this->model->where($field, $value)->firstOrFail();\n }",
"protected function findModel($id): Parameter\n {\n if (($model = Parameter::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException(\\Yii::t('multipage', 'zapis ne sushestvuet'));\n }",
"protected function findModel($id)\n {\n\t\t$p = $this->primaryModel;\n if (($model = $p::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($key)\n {\n if (($model = NotificationsTemplate::find()->andWhere(['key'=>$key])->one()) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public function getOneBy(string $field, $value) : ActiveRecordInterface\n\t{\n\t\ttry\n\t\t{\n\t\t\t$requireByField = 'requireOneBy' . ucfirst($field);\n\n\t\t\treturn $this->$requireByField($value);\n\t\t}\n\t\tcatch (EntityNotFoundException $e)\n\t\t{\n\t\t\tthrow new ResourceNotFoundException(($this->getTableMap())->getName() . ' with id ' . $id);\n\t\t}\n\t}",
"protected function findModel($id)\n {\n if (($model = IptvUrlResolution::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }"
] |
[
"0.63313544",
"0.6305225",
"0.62891734",
"0.61487806",
"0.6141882",
"0.6094192",
"0.6036553",
"0.6036553",
"0.6010077",
"0.59350985",
"0.58373386",
"0.5790524",
"0.57898533",
"0.57464314",
"0.57357",
"0.57353526",
"0.5718107",
"0.570626",
"0.5655058",
"0.56472254",
"0.56410205",
"0.5638898",
"0.5632991",
"0.5629057",
"0.5628348",
"0.56125116",
"0.5602262",
"0.55994064",
"0.5597414",
"0.55957866"
] |
0.6881417
|
0
|
Finds the TestValuesMatrix model based on its primary key value. If the model is not found, a 404 HTTP exception will be thrown.
|
protected function findModelMatrix($id)
{
if (($model = TestValuesMatrix::findOne($id)) !== null) {
return $model;
} else {
throw new NotFoundHttpException('The requested page does not exist.');
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function findModel($key)\n {\n if (null === $key) {\n throw new BadRequestHttpException('Key parameter is not defined in findModel method.');\n }\n\n $modelObject = $this->getNewModel();\n\n if (!method_exists($modelObject, 'findOne')) {\n $class = (new\\ReflectionClass($modelObject));\n throw new UnknownMethodException('Method findOne does not exists in ' . $class->getNamespaceName() . '\\\\' .\n $class->getShortName().' class.');\n }\n\n $result = call_user_func([\n $modelObject,\n 'findOne',\n ], $key);\n\n if ($result !== null) {\n return $result;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"protected function findModel($id)\n {\n if (($model = TestValues::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public abstract function find($primary_key, $model);",
"public function find($id){\n\t\t$db = static::getDatabaseConnection();\n\t\t//Create a select query\n\t\t$query = \"SELECT \" . implode(\",\" , static::$columns).\" FROM \" . static::$tableName . \" WHERE id = :id\";\n\t\t//prepare the query\n\t\t$statement = $db->prepare($query);\n\t\t//bind the column id with :id\n\t\t$statement->bindValue(\":id\", $id);\n\t\t//Run the query\n\t\t$statement->execute();\n\n\t\t//Put the associated row into a variable\n\t\t$record = $statement->fetch(PDO::FETCH_ASSOC);\n\n\t\t//If there is not a row in the database with that id\n\t\tif(! $record){\n\t\t\tthrow new ModelNotFoundException();\n\t\t}\n\n\t\t//put the record into the data variable\n\t\t$this->data = $record;\n\t}",
"public function find($pk)\r\n {\r\n $row = $this->getTable()->find($pk);\r\n if(!$row){\r\n return false;\r\n }\r\n $sampleModel = new SampleModel();\r\n $this->_map($sampleModel, $row);\r\n return $sampleModel;\r\n }",
"public function getModelByPrimaryKey($action = null, $keyValue = null)\n {\n $keyName = $this->model->getKeyName();\n\n if ($keyValue == '_') {\n if ($this->request()->has(\"data.primaryKey.{$keyName}\")) {\n $keyValue = $this->request()->input(\"data.primaryKey.{$keyName}\");\n } elseif ($this->request()->has(\"data.old.{$keyName}\")) {\n $keyValue = $this->request()->input(\"data.old.{$keyName}\");\n } elseif ($this->request()->has('data.items')) {\n $items = $this->request()->input('data.items');\n if (Arr::has($items, $keyName)) {\n $keyValue = Arr::get($items, $keyName);\n } else {\n $first = Arr::first($items);\n if (Arr::has($first, $keyName)) {\n $keyValue = Arr::get($first, $keyName);\n }\n }\n }\n }\n\n $data = [$keyName => $keyValue];\n\n $r = $this->validateData($data, null, 'primaryKey', $action, [$keyName => ['includeUniqueRules' => false]]);\n if ($r !== true) {\n return $r;\n }\n\n $modelClass = get_class($this->model);\n if ($model = $modelClass::find($data[$keyName])) {\n return $model;\n }\n\n return CrudJsonResponse::error(CrudHttpErrors::TARGET_DATA_MODEL_NOT_FOUND, null, [\n 'action' => 'primaryKey',\n 'parent_action' => $action,\n 'target' => $data,\n ]);\n }",
"public function find($key, array $columns = ['*']): ?Model;",
"protected function findModel($masterlist_id)\n\t{\n\t\tif (($model = WiMasterlist::findOne($masterlist_id)) !== null) {\n\t\t\treturn $model;\n\t\t} else {\n\t\t\tthrow new HttpException(404, 'The requested page does not exist.');\n\t\t}\n\t}",
"public static function find($id, $columns = ['*'])\n {\n $keyName = (new static)->getKeyName();\n if (is_array($keyName)) {\n $row = static::where($id)->first($columns);\n } else {\n $row = static::where($keyName, '=', $id)->first($columns);\n }\n\n// if (!$row) {\n// throw new NotFound('Cannot found model '.static::class);\n// }\n return $row;\n }",
"protected function findModel($id)\n {\n if (($model = SoSheet::findOne($id)) !== null) { \n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = Menu::findOne([ 'id' => $id ])) !== null)\n {\n return $model;\n }\n else\n {\n throw new HttpException(404, Yii::t('backend', 'The requested page does not exist.'));\n }\n }",
"protected function findModel($id) {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public function findModel($clz, $key);",
"protected function findModel($id)\n {\n if (($model = Cluster::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"public function loadModel($id)\n\t{\n\t\t$model=EstudianteEvaluacion::model()->findByPk($id);\n\t\tif($model===null)\n\t\t\tthrow new CHttpException(404,'The requested page does not exist.');\n\t\treturn $model;\n\t}",
"public static function find( $primaryKey )\n\t{\n\t\tself::init();\n\t\t\n\t\t// Select one item by primary key in Database\n\t\t$result = Database::selectOne(\"SELECT * FROM `\" . static::$table . \"` WHERE `\" . static::$primaryKey . \"` = ?\", $primaryKey);\t\t\n\t\tif( $result == null )\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t// Create & return new object of Model\n\t\treturn self::newItem($result);\n\t}",
"public function model($key)\n {\n Argument::i()->test(1, 'string');\n\n $class = $this->rootNameSpace.'\\\\Model\\\\' . ucwords($key) . '\\\\Index';\n\n if(!class_exists($class)) {\n throw new Exception(sprintf(self::NO_MODEL, $key));\n }\n\n //remove starting \\\\\n $class = substr($class, 1);\n\n return $this->$class();\n }",
"protected function findModel($id) {\n if (($model = learnerscoring::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"protected function findModel($id)\n {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = Test::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = Excel::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"public static function find(string $column, $value):? ModelInterface\n {\n return self::get()->where($column, '=', $value)->one();\n }",
"public static function findModel($id='')\n {\n $model = static::find()->where(['id' => $id])->one();\n if ($model == null) {\n throw new \\yii\\web\\NotFoundHttpException(Yii::t('app',\"Page not found!\"));\n }\n return $model;\n }",
"protected function findModel($id)\n {\n if (($model = PublicNum::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"protected function findModel($key)\n {\n if (($model = NotificationsTemplate::find()->andWhere(['key'=>$key])->one()) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = WorksystemContentinfo::findOne($id)) !== null) {\n return $model;\n } else {\n throw new NotFoundHttpException('The requested page does not exist.');\n }\n }",
"protected function findModel($id)\n {\n if (($model = StoreKasir::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }",
"function find($id)\n{\n\t$model = $this->newModel(null);\n\treturn $model->find($id);\n}",
"public static function Get($key) {\r\n\t\t$cls = get_called_class();\r\n\t\t$model = new $cls();\r\n\t\t$primary = $model->index('primary');\r\n\t\tif (is_null($primary)) {\r\n\t\t\tthrow new Exception(\"The schema for {$cls} does not identify a primary key\");\r\n\t\t}\r\n\t\tif (!is_array($key)) {\r\n\t\t\tif (count($primary['fields']) > 1) {\r\n\t\t\t\tthrow new Exception(\"The schema for {$cls} has more than one field in its primary key\");\r\n\t\t\t}\r\n\t\t\t$key = array(\r\n\t\t\t\t$primary['fields'][0] => $key\r\n\t\t\t);\r\n\t\t}\r\n\t\tforeach ($primary['fields'] as $field) {\r\n\t\t\tif (!isset($key[$field])) {\r\n\t\t\t\tthrow new Exception(\"No value provided for the {$field} field in the primary key for \" . get_called_class());\r\n\t\t\t}\r\n\t\t\t$model->where(\"{$field} = ?\", $key[$field]);\r\n\t\t}\r\n\t\t//$src = Dbi_Source::GetModelSource($model);\r\n\t\t$result = $model->select();\r\n\t\tif ($result->count()) {\r\n\t\t\tif ($result->count() > 1) {\r\n\t\t\t\tthrow new Exception(\"{$cls} returned multiple records for primary key {$id}\");\r\n\t\t\t}\r\n\t\t\t$record = $result[0];\r\n\t\t} else {\r\n\t\t\t$record = new Dbi_Record($model, null);\r\n\t\t\t$record->setArray($key, false);\r\n\t\t}\r\n\t\treturn $record;\r\n\t}",
"protected function findModel($id)\n {\n if (($model = Valoraciones::findOne($id)) !== null) {\n return $model;\n }\n\n throw new NotFoundHttpException('The requested page does not exist.');\n }"
] |
[
"0.627486",
"0.6201906",
"0.6049104",
"0.60311925",
"0.58044755",
"0.57273513",
"0.56731874",
"0.5666507",
"0.56318474",
"0.56163037",
"0.5605847",
"0.5605481",
"0.560042",
"0.5600358",
"0.560014",
"0.55869466",
"0.5573753",
"0.55636",
"0.55394346",
"0.55394346",
"0.55200493",
"0.5514037",
"0.54882836",
"0.54824924",
"0.54484516",
"0.5437292",
"0.54330796",
"0.54299146",
"0.5428905",
"0.54194874"
] |
0.71741223
|
0
|
No cache for admin related parts, where we should not cache responses
|
private function setCacheHeadersForAdminRelatedParts() : void {
if (
stripos($_SERVER['REQUEST_URI'], '/wp-admin') !== false
|| stripos($_SERVER['REQUEST_URI'], '/wp-login') !== false
|| stripos($_SERVER['REQUEST_URI'], 'preview=true') !== false
|| stripos($_SERVER['REQUEST_URI'], '/service-worker.js') !== false
) {
$this->disableCache($private = true);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function preflightCache() {\n\t\t$moduleDir = (isset($this->bean->module_dir) && !empty($this->bean->module_dir)) ? $this->bean->module_dir : \"General\";\n\t\t$this->rulesCache = sugar_cached(\"routing/{$moduleDir}\");\n\n\t\tif(!file_exists($this->rulesCache)) {\n\t\t\tmkdir_recursive($this->rulesCache);\n\t\t}\n\t}",
"public function beforeCacheResponse()\n {\n return true;\n }",
"protected function disableCache() {}",
"public function _AllowCache()\n {\n return true;\n }",
"public function maybe_run_ajax_cache()\n {\n }",
"public function realPageCacheContent() {}",
"public function isCacheEnabled(){\n return(false);\n }",
"private function setup_cache() {\n // Set up non-persistent object caching groups\n wp_cache_add_non_persistent_groups( [ '_np_pedestal' ] );\n }",
"public function setUpCache();",
"public function get_test_page_cache()\n {\n }",
"public function useCache()\n {\n return false;\n }",
"public function set_cache_exceptions() {\r\n\t\t\r\n\t\t// Check for flow or authorization pages which shouldnt be cached\r\n\t\tif ( strpos( $_SERVER['REQUEST_URI'],'/patreon-flow/' ) !== false \r\n\t\t\tOR strpos( $_SERVER['REQUEST_URI'], '/patreon-authorization/' ) !== false\r\n\t\t) {\r\n\t\t\t\r\n\t\t\t// We are in either of these pages. Set do not cache page constant\r\n\t\t\tdefine( 'DONOTCACHEPAGE', true );\r\n\t\t\t// This constant is used in many plugins - wp super cache, w3 total cache, woocommerce etc and it should disable caching for this page\r\n\t\t\r\n\t\t}\r\n\t}",
"protected function _loadCache()\n {\n return false;\n }",
"public function adminOnly();",
"public function adminOnly();",
"public function index()\n {\n //\n\n// cache()->remember('artists', now()->addSeconds(4), function (){\n// $artists=Artist::with('songs')->paginate();\n// return ArtistIndexResource::collection($artists);\n// });\n// if ($response=cache()->pull('artists')){\n\n // return $response;}\n $artists=Artist::with('songs')->paginate();\n $response= ArtistIndexResource::collection($artists);\n cache()->put('artists',$response,now()->addSeconds(10));\n return $response;\n }",
"public function ignoreCache()\n {\n $this->ignoreCache = true;\n }",
"public function isCacheEnabled(){\n return(true);\n }",
"public function isCacheEnabled(){\n return(true);\n }",
"public function disableCoreCache() {}",
"public function test_page_cache()\n {\n }",
"function _oembed_rest_pre_serve_request($served, $result, $request, $server)\n {\n }",
"public function tempPageCacheContent() {}",
"function disable_caching() {\n\t/**\n\t * Stub to simulate cache misses, so that the tests always get fresh results\n\t *\n\t * @return false\n\t */\n\tfunction wp_cache_get( $key, $group = '', $force = false, &$found = null ) {\n\t\treturn false;\n\t}\n\n\t/**\n\t * Stub to avoid setting production object cache values while testing.\n\t */\n\tfunction wp_cache_set( $key, $data, $group = '', $expire = 0 ) {\n\t\t// Intentionally empty\n\t}\n}",
"public function cacheGet() {\n }",
"protected function getCacheManager() {}",
"function _can_cache() {\n\t\treturn true;\n\t}",
"protected function getCacheManager() {}",
"function disable_no_cache_headers_on_admin_ajax_nopriv() {\n\tif ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX || is_user_logged_in() ) {\n\t\treturn;\n\t}\n\tarray_map( 'header_remove', array_keys( wp_get_nocache_headers() ) );\n}",
"public function test_doesnt_cache_disallowed_route()\n {\n $this->doRequest('/logger')->assertResponseOk()->assertNotHeaderKeys(['X-Cache', 'X-Cache-ID']);\n\n $this->assertFalse($this->di('redis')->exists($this->cacheMw->getLastKey()));\n\n // req #2 still not cached\n $this->doRequest('/logger')->assertResponseOk()->assertNotHeaderKeys(['X-Cache', 'X-Cache-ID']);\n\n $this->assertFalse($this->di('redis')->exists($this->cacheMw->getLastKey()));\n }"
] |
[
"0.61793053",
"0.60393375",
"0.59539634",
"0.5940335",
"0.59163874",
"0.5874851",
"0.5825831",
"0.58056444",
"0.57849157",
"0.5767272",
"0.5714576",
"0.56919",
"0.56796366",
"0.56776977",
"0.56776977",
"0.5672908",
"0.5657083",
"0.5649253",
"0.5649253",
"0.5640367",
"0.56351966",
"0.56241244",
"0.56079376",
"0.5588561",
"0.5586449",
"0.55793697",
"0.5577842",
"0.55772877",
"0.5565727",
"0.55511165"
] |
0.7094765
|
0
|
No cache for feed instapage.com/feed
|
private function setCacheHeadersForRssFeed() : void {
$feedSlugRegex = '#^/feed/?$#';
if (preg_match($feedSlugRegex, $_SERVER['REQUEST_URI']) === 1) {
$this->disableCache();
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function wprss_do_not_cache_feeds( &$feed ) {\n $feed->enable_cache( false );\n }",
"public function get_feed()\n {\n }",
"function aggregator_refresh($feed) {\n global $channel, $image, $db;\n\n // Generate conditional GET headers.\n $headers = array();\n if ($feed->etag) {\n $headers['If-None-Match'] = $feed->etag;\n }\n if ($feed->modified) {\n $headers['If-Modified-Since'] = gmdate('D, d M Y H:i:s', $feed->modified) .' GMT';\n }\n\n // Request feed.\n $result = http_request($feed->category_feed, $headers);\n\n // Process HTTP response code.\n switch ($result->code) {\n case 304:\n // No new syndicated content from site\n $db->query('UPDATE feed_data SET checked = ' . time() . ' WHERE id = '. $feed->id);\n break;\n case 301:\n // Updated URL for feed\n $feed->category_feed = $result->redirect_url;\n $db->query(\"UPDATE feed_data SET category_feed='\" . $feed->category_feed . \"' WHERE category_id=\" . $feed->id);\n break;\n\n case 200:\n case 302:\n case 307:\n // Filter the input data:\n if (aggregator_parse_feed($result->data, $feed)) {\n\n if ($result->headers['Last-Modified']) {\n $modified = strtotime($result->headers['Last-Modified']);\n }\n\n /*\n ** Prepare the channel data:\n */\n\n foreach ($channel as $key => $value) {\n $channel[$key] = trim(strip_tags($value));\n }\n\n /*\n ** Prepare the image data (if any):\n */\n\n foreach ($image as $key => $value) {\n $image[$key] = trim($value);\n }\n\n if ($image['LINK'] && $image['URL'] && $image['TITLE']) {\n $image = '<a href=\"'. $image['LINK'] .'\"><img src=\"'. $image['URL'] .'\" alt=\"'. $image['TITLE'] .'\" /></a>';\n }\n else {\n $image = NULL;\n }\n\n /*\n ** Update the feed data:\n */\n\n $db->query(\"UPDATE feed_data SET checked = \". time() .\", link = '\". $channel['LINK'] .\"', description = '\". $channel['DESCRIPTION'] .\"', image = '\". $image .\"', etag = '\". $result->headers['ETag'] .\"', modified = '\". $modified .\"' WHERE id = \". $feed->id);\n\n }\n break;\n default:\n echo 'Failed to parse RSS feed ' . $feed->category_name . ' : ' . $result->code .' '. $result->error . \"\\n\";\n }\n}",
"function do_feed_rss()\n {\n }",
"public function getFeed()\n {\n return ($this->useCache() ? $this->getCachedFeed() : $this->makeFeed());\n }",
"function prefix_set_feed_cache_time( $seconds ) {\n return 1;\n}",
"private function getCachedFeed()\n {\n if (file_exists($this->getCache())) {\n $cache = json_decode(file_get_contents($this->getCache()), true);\n }\n\n if (isset($cache) && count($cache) >= $this->getCount()) {\n if (count($cache) > $this->getCount()) {\n return array_slice($cache, 0, $this->getCount());\n } else {\n return $cache;\n }\n } else {\n return $this->makeFeed();\n }\n }",
"public function getRss()\n {\n if(!get_section_enabled_status('news')){\n App::abort(404, 'Sekcija obavijesti nije pronađena.');\n }\n\n //generate feed and cache for 60 min\n $feed = Feed::make();\n $feed->setCache(60, getenv('RSS_CACHE_KEY'));\n\n //check if there is cached version\n if(!$feed->isCached()) {\n //grab news data from database\n $news_data = News::orderBy('id', 'DESC')->take(5)->get();\n //check if there are news\n if ($news_data == true) {\n //set feed parameters\n $feed->title = getenv('WEB_NAME').' :: RSS';\n $feed->description = 'Najnovije vijesti na '.getenv('WEB_NAME').'';\n $feed->logo = URL::to('css/assets/images/logo_main_small.png');\n $feed->link = URL::to('rss');\n $feed->setDateFormat('datetime');\n $feed->pubdate = $news_data[0]->created_at;\n $feed->lang = getenv('APP_LOCALE');\n $feed->setShortening(true);\n $feed->setTextLimit(500);\n foreach ($news_data as $news) {\n $feed->add($news->news_title, 'admin', URL::to(route('news-show', $news->slug)), $news->created_at, (new BBCParser)->unparse($news->news_body), '');\n }\n }\n else{\n return Redirect::to(route('news'))->withErrors('Trenutno nema vijesti. RSS je isključen.');\n }\n }\n\n return $feed->render('atom');\n }",
"function fetch_rss ($url, $cache_age) {\n \t// initialize constants\n \tinit();\n \n \tif ( !isset($url) ) {\n \t\t// error(\"fetch_rss called without a url\");\n \t\treturn false;\n \t}\n \n \t// if cache is disabled\n \tif ( !MAGPIE_CACHE_ON ) {\n \t\t// fetch file, and parse it\n \t\t$resp = _fetch_remote_file( $url );\n \t\tif ( is_success( $resp->status ) ) {\n \t\t\treturn _response_to_rss( $resp );\n \t\t}\n \t\telse {\n \t\t\t// error(\"Failed to fetch $url and cache is off\");\n \t\t\treturn false;\n \t\t}\n \t}\n \t// else cache is ON\n \telse {\n \t\t// Flow\n \t\t// 1. check cache\n \t\t// 2. if there is a hit, make sure its fresh\n \t\t// 3. if cached obj fails freshness check, fetch remote\n \t\t// 4. if remote fails, return stale object, or error\n \n $cache_age = isset($cache_age) ? $cache_age : MAGPIE_CACHE_AGE;\n \n \t\t$cache = new RSSCache( MAGPIE_CACHE_DIR, $cache_age);\n \n \t\tif (MAGPIE_DEBUG and $cache->ERROR) {\n \t\t\tdebug($cache->ERROR, E_USER_WARNING);\n \t\t}\n \n \t\t$cache_status \t = 0;\t\t// response of check_cache\n \t\t$request_headers = array(); // HTTP headers to send with fetch\n \t\t$rss \t\t\t = 0;\t\t// parsed RSS object\n \t\t$errormsg\t\t = 0;\t\t// errors, if any\n \n \t\tif (!$cache->ERROR) {\n \t\t\t// return cache HIT, MISS, or STALE\n \t\t\t$cache_status = $cache->check_cache( $url );\n \t\t}\n \n \t\t// if object cached, and cache is fresh, return cached obj\n \t\tif ( $cache_status == 'HIT' ) {\n \t\t\t$rss = $cache->get( $url );\n \t\t\t\n \t\t\tif ( isset($rss) and $rss ) {\n \t\t\t\n $rss->from_cache = 1;\n \t\t\t\tif ( MAGPIE_DEBUG > 1) {\n \t\t\t\t debug(\"MagpieRSS: Cache HIT\", E_USER_NOTICE);\n }\n \n \t\t\t\treturn $rss;\n \t\t\t}\n \t\t}\n\n \t\t// else attempt a conditional get\n \n \t\t// setup headers\n \t\tif ( $cache_status == 'STALE' ) {\n \t\t\t$rss = $cache->get( $url );\n \t\t\tif ( $rss->etag and $rss->last_modified ) {\n \t\t\t\t$request_headers['If-None-Match'] = $rss->etag;\n \t\t\t\t$request_headers['If-Last-Modified'] = $rss->last_modified;\n \t\t\t}\n \t\t}\n \t\t\n\n \n \t\t$resp = _fetch_remote_file( $url, $request_headers );\n \n \t\tif (isset($resp) and $resp) {\n \t\t\tif ($resp->status == '304' ) {\n \t\t\t\t// we have the most current copy\n \t\t\t\tif ( MAGPIE_DEBUG > 1) {\n \t\t\t\t\tdebug(\"Got 304 for $url\");\n \t\t\t\t}\n \t\t\t\t// reset cache on 304 (at minutillo insistent prodding)\n \t\t\t\t$cache->set($url, $rss);\n \t\t\t\treturn $rss;\n \t\t\t}\n \t\t\telseif ( is_success( $resp->status ) ) {\n \t\t\t\t$rss = _response_to_rss( $resp );\n \t\t\t\tif ( $rss ) {\n \t\t\t\t\tif (MAGPIE_DEBUG > 1) {\n \t\t\t\t\t\tdebug(\"Fetch successful\");\n \t\t\t\t\t}\n \t\t\t\t\t// add object to cache\n \t\t\t\t\t$cache->set( $url, $rss );\n \t\t\t\t\treturn $rss;\n \t\t\t\t}\n \t\t\t}\n \t\t\telse {\n \t\t\t\t$errormsg = \"Failed to fetch $url. \";\n \t\t\t\tif ( $resp->error ) {\n \t\t\t\t\t# compensate for Snoopy's annoying habbit to tacking\n \t\t\t\t\t# on '\\n'\n \t\t\t\t\t$http_error = substr($resp->error, 0, -2);\n \t\t\t\t\t$errormsg .= \"(HTTP Error: $http_error)\";\n \t\t\t\t}\n \t\t\t\telse {\n \t\t\t\t\t$errormsg .= \"(HTTP Response: \" . $resp->response_code .')';\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\telse {\n \t\t\t$errormsg = \"Unable to retrieve RSS file for unknown reasons.\";\n \t\t}\n \n \t\t// else fetch failed\n \n \t\t// attempt to return cached object\n \t\tif ($rss) {\n \t\t\tif ( MAGPIE_DEBUG ) {\n \t\t\t\tdebug(\"Returning STALE object for $url\");\n \t\t\t}\n \t\t\treturn $rss;\n \t\t}\n \n \t\t// else we totally failed\n \t\t// error( $errormsg );\n \n \t\treturn false;\n \n \t} // end if ( !MAGPIE_CACHE_ON ) {\n }",
"function full_feed() {\n\tadd_filter('pre_option_rss_use_excerpt', '__return_zero');\n\tload_template( ABSPATH . WPINC . '/feed-rss2.php' );\n}",
"function do_feed()\n {\n }",
"function fetch_ua_faculty_jobs_feed( $refresh = false ) {\n\n\t// Will refresh the cache lifetime to update the feed\n\tif ( $refresh ) {\n\t\tadd_filter( 'wp_feed_cache_transient_lifetime', function ( $lifetime ) { return 0; } );\n\t}\n\n\treturn fetch_feed( 'https://facultyjobs.ua.edu/all_jobs.atom' );\n\n}",
"public function getFeed()\n {\n return (new Instagram($this))->getFeed();\n }",
"public function generate_feed(){\n\n\t\t$ics = new EasyPeasyICS();\n\n\t\t$args = array(\n\t\t\t'post_status' => array( 'publish', 'future' ),\n\t\t\t'posts_per_page' => -1\n\t\t);\n\n\t\t// use the author param if it's set\n\t\tif ( isset( $_GET['wpttauthor'] ) ){\n\t\t\t$args = $this->filter_by_author( $args, $_GET['wpttauthor'] );\n\t\t}\n\n\t\t$timezone_string = $this->get_timezone_string();\n\n\t\tdate_default_timezone_set( $timezone_string );\n\n\t\tadd_filter( 'posts_where', array( $this, 'two_months' ) );\n\n\t\t$feed = new WP_Query( $args );\n\n\t\tremove_filter( 'posts_where', array( $this, 'two_months' ) );\n\n\t\tif ( $feed->have_posts() ) : while ( $feed->have_posts() ) : $feed->the_post();\n\n\t\t\t$starttime = get_the_time( 'U' );\n\t\t\t$endtime = strtotime( '+10 minutes', $starttime );\n\t\t\t$summary = get_the_title( get_the_ID() );\n\t\t\t$description = get_the_excerpt();\n\t\t\t$url = get_permalink( get_the_ID() );\n\n\t\t\t$ics->addEvent( $starttime, $endtime, $summary, $description, $url );\n\n\t\tendwhile; else:\n\n\t\tendif;\n\n\t\twp_reset_postdata();\n\n\t\t$ics->render();\n\n\t}",
"function fww_news_rss( $rssUrlNews, $id ) {\n // Do we have this information in our transients already?\n $transient_news = get_transient( 'tna_rss_news_transient' . $id );\n // Yep! Just return it and we're done.\n if( ! empty( $transient_news ) ) {\n echo $transient_news ;\n // Nope! We gotta make a call.\n } else {\n // Get feed source.\n $content = file_get_contents( $rssUrlNews );\n if ( $content !== false ) {\n $x = new SimpleXmlElement( $content );\n $n = 0;\n // Loop through each feed item and display each item\n foreach ( $x->channel->item as $item ) :\n if ( $n == 1 ) {\n break;\n }\n $enclosure = $item->enclosure['url'];\n $pubDate = $item->pubDate;\n $pubDate = date( \"l d M Y\", strtotime( $pubDate ) );\n $img = str_replace( home_url(), '', get_stylesheet_directory_uri() ) . '/img/thumb-news.jpg';\n $link = str_replace( 'livelb', 'www', $item->link );\n $html = '<div class=\"col-sm-6\"><div class=\"card clearfix\">';\n if ( $enclosure ) {\n $html .= '<a href=\"' . $link . '\" title=\"' . $item->title . '\">';\n $html .= '<div class=\"entry-thumbnail\" style=\"background: url(' . $enclosure . ') no-repeat center center;background-size: cover;\">';\n // $html .= '<img src=\"' . $enclosure . '\" class=\"img-responsive\" alt=\"' . $item->title . '\">';\n $html .= '</div></a>';\n }\n if ( !$enclosure ) {\n $html .= '<a href=\"' . $link . '\" title=\"' . $item->title . '\">';\n $html .= '<div class=\"entry-thumbnail\" style=\"background: url(' . $img . ') no-repeat center center;background-size: cover;\">';\n // $html .= '<img src=\"' . $img . '\" class=\"img-responsive\" alt=\"' . $item->title . '\">';\n $html .= '</div></a>';\n }\n $html .= '<div class=\"entry-content\"><small>News</small><h2><a href=\"' . $link . '\">';\n $html .= $item->title;\n $html .= '</a></h2>';\n $html .= '<small>' . $pubDate . '</small>';\n preg_match( \"/<p>(.*)<\\/p>/\", $item->description, $matches );\n $intro = strip_tags($matches[1]);\n $html .= '<p>' . first_sentence( $intro ) . '</p><ul class=\"child\"><li><a href=\"http://www.nationalarchives.gov.uk/about/news/?news-tag=first-world-war&news-view=child\" title=\"Read more news\">More news</a></li></ul></div>';\n $html .= '</div></div>';\n $n ++;\n endforeach;\n set_transient( 'tna_rss_news_transient' . $id, $html, HOUR_IN_SECONDS );\n echo $html;\n }\n else {\n echo '<div class=\"col-md-6\"><div class=\"card\"><div class=\"entry-content\"><h2>First World War news</h2><ul class=\"child\"><li><a href=\"http://www.nationalarchives.gov.uk/about/news/?news-tag=first-world-war&news-view=child\">Join us on our news page</a></li></ul></div></div></div>';\n }\n }\n}",
"public function feed()\n {\n $feed = \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\"?>\\n\"\n . \"<feed xmlns=\\\"http://www.w3.org/2005/Atom\\\">\\n\"\n . \" <title>\" . env('APP_NAME') . \"</title>\\n\"\n . \" <link href=\\\"\" . route('home') . \"\\\"></link>\\n\"\n . \" <link href=\\\"\" . route('blog.feed') . \"\\\" rel=\\\"self\\\"/>\\n\"\n . \" <id>\" . route('home') . \"</id>\\n\"\n . \" <author><name>\" . env('APP_AUTHOR') . \"</name></author>\\n\"\n . \" <updated>\" . date(\"c\") . \"</updated>\\n\";\n\n $posts = Post::query()\n ->where('published_at', '<=', Carbon::now())\n ->orderBy('published_at', 'desc')\n ->get();\n foreach ($posts as $post) {\n $feed = $feed . $post->feedItem();\n }\n\n $feed = $feed . \"</feed>\";\n return response($feed)->withHeaders([\n 'Content-Type' => 'text/xml'\n ]);\n }",
"function addFeed($feed,$url,$return=true);",
"public function getFeed()\n\t{ \n // Set a default feed.\n $feed = 'http://api.flickr.com/services/feeds/photos_public.gne'; \n \n switch ($this->get('params')->get('source'))\n {\n case 'recent_photos':\n $feed = 'http://api.flickr.com/services/feeds/photos_public.gne';\n break;\n case 'user_photos':\n if ($this->get('params')->get('flickruser')) return 'http://api.flickr.com/services/feeds/photos_public.gne?id='.$this->nameToId($this->get('params')->get('flickruser'));\n break; \n case 'group_photos':\n if ($this->get('params')->get('flickrgroup')) return 'http://api.flickr.com/services/feeds/groups_pool.gne?id='.$this->nameToId($this->get('params')->get('flickrgroup'));\n break; \n case 'friends_photos':\n if ($this->get('params')->get('flickruser')) return 'http://api.flickr.com/services/feeds/photos_friends.gne?user_id='.$this->nameToId($this->get('params')->get('flickruser'));\n break; \n case 'keyword_photos':\n if ($this->get('params')->get('keywords')) return 'http://api.flickr.com/services/feeds/photos_public.gne?tags='.$this->get('params')->get('keywords');\n break;\n case 'set_photos':\n if ($this->get('params')->get('flickrset')) return 'http://api.flickr.com/services/feeds/photoset.gne?set='.$this->get('params')->get('flickrset').'&nsid='.$this->nameToId($this->get('params')->get('flickruser'));\n break; \n }\n \n return $feed;\n\t}",
"function lastcomments_rssfeed() {\r\n\r\n\tglobal $SUPRESS_TEMPLATE_SHOW, $SUPRESS_MAINBLOCK_SHOW, $CurrentHandler;\r\n\t// Action if rssfeed is enabled\r\n\tif (pluginGetVariable('lastcomments', 'rssfeed') && !(checkLinkAvailable('lastcomments', 'rss') && $CurrentHandler['handlerParams']['value']['pluginName'] == 'core')) {\r\n\t\t// Hide Template\r\n\t\t$SUPRESS_TEMPLATE_SHOW = true;\r\n\t\t$SUPRESS_MAINBLOCK_SHOW = true;\r\n\t\t// Disable index actions\r\n\t\tactionDisable(\"index\");\r\n\t\tactionDisable(\"index_pre\");\r\n\t\tactionDisable(\"index_post\");\r\n\t\t// launch rss\r\n\t\techo lastcomments(2);\r\n\t} else {\r\n\t\terror404();\r\n\t}\r\n}",
"function rss_simplepie_show_feed() {\r\n}",
"public function getFeed()\n\t{\n\t\ttry {\n\t\t\t$facebook_client = new Client('https://graph.facebook.com/v2.0');\n\t\t\t$request = $facebook_client->get($this->credentials['facebook_page_id'] . '/feed');\n\t\t\t$request->getQuery()->set('date_format', 'U');\n\t\t\t$request->getQuery()->set('access_token', $this->credentials['facebook_app_token']);\n\t\t\t$response = $request->send();\n\t\t\t$feed = json_decode($response->getBody());\n\t\t\t$this->feed = $feed->data;\n\t\t} catch (\\Exception $e) {\n\t\t\tError::create(['time' => date(\"Y-m-d H:i:s\"), 'message' => $e->getMessage()]);\n\t\t\treturn false;\n\t\t}\n\t}",
"function Sandy_RSS_List($feed, $filter, $num, $ltime, $list, $target, $pubdate, $pubtime, $dformat, $tformat, $pubauthor, $excerpt, $charex, $chartle, $sort, $cachefeed) {\r\n\r\n\tinclude_once(ABSPATH . WPINC . '/feed.php');\r\n\r\n\t// set cache recreation frequency (in seconds)\r\n\tadd_filter( 'wp_feed_cache_transient_lifetime' , create_function( '$a', 'return '.$cachefeed.';' ) );\r\n\r\n\t// unset cache recreation frequency\r\n\t// remove_filter( 'wp_feed_cache_transient_lifetime' , create_function( '$a', 'return 42300;' ) );\r\n\r\n\t// decoding needed when you use a shortcode as URLs are encoded by the shortcode\r\n\t$feed = html_entity_decode($feed); \r\n\r\n\t// fetch feed using simplepie. Returns a standard simplepie object\r\n\t$rss = fetch_feed($feed);\r\n\r\n\t// Checks that the object is created correctly \r\n\tif (is_wp_error( $rss )) \r\n\t\t$flist = \"<br />Ooops...this plugin cannot read your feed at this time. The error message is: <b><i>\" . $rss->get_error_message() . \"</i></b>.<br>It might be temp. not available or - if you use it for the first time - you might have mistyped the url or a misformatted RSS or Atom feed is present.<br>Please, check if your browser can read it instead: <a target='_blank' href='$feed'>$feed</a>.<br> If yes, contact me at stefonthenet AT gmail DOT com with your RSS or Atom feed URL and the shortcode or widget params you want to use it with; if not, contact the feed URL provider.<br>\";\r\n\r\n\telse {\r\n\r\n \t\t// Figure out how many total items there are, but limit it to the given param $num. \r\n\r\n\t\t$nitems = $rss->get_item_quantity($num);\r\n\r\n\t\tif ($nitems == 0) $flist = \"<li>No items found in feed URL: $feed.</li>\";\r\n\r\n\t\telse {\r\n\r\n\r\n\t\t// Build an array of all the items, starting with element 0 (first element).\r\n\r\n\t\t$rss_items = $rss->get_items(0, $nitems); \r\n\r\n\r\n\r\n\t\t// Sort by title\r\n\r\n\t\tif (filter_var($sort, FILTER_VALIDATE_BOOLEAN)) asort($rss_items); \r\n\r\n\t\t$flist = \"<$list>\";\r\n\r\n\t\tforeach ( $rss_items as $item ) {\r\n\r\n\t\t\t// get title from feed\r\n\r\n\t\t\t$title = esc_html( $item->get_title() );\r\n\r\n\t\t\t$exclude = false;\r\n\r\n\t\t\t$include = 0;\r\n\r\n\t\t\t$includetest = false;\r\n\r\n\t\t\tif ($filter) {\r\n\r\n\t\t\t\t$aword = explode( ' ' , $filter );\r\n\r\n\t\t\t\t// count occurences of each $ainclude element in $title\r\n\r\n\t\t\t\tforeach ( $aword as $word ) {\r\n\r\n\t\t\t\t\tif ( substr($word,0,1) == \"-\" ) {\r\n\r\n\t\t\t\t\t\t// this word needs to be excluded as it starts with a -\r\n\r\n\t\t\t\t\t\tstripos( $title, substr($word,1) )===false?$exclude=false:$exclude=true;\r\n\r\n\t\t\t\t\t\t// if it finds the word that excludes the item, then breaks the loop\r\n\r\n\t\t\t\t\t\tif ($exclude) break;\r\n\r\n\r\n\r\n\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t$includetest=true;\r\n\r\n\t\t\t\t\t\t// this word needs to be included\r\n\r\n\t\t\t\t\t\tif ( stripos( $title, $word )!==false) $include++;\r\n\r\n\t\t\t\t\t\t// if it finds the word that includes the item, then set the nclusion variable\r\n\r\n\t\t\t\t\t\t// i cannot break the look as i might still find exclusion words \r\n\r\n\t\t\t\t\t}\r\n\r\n \t\t\t\t}\r\n\r\n\t\t\t} // if ($filter)\r\n\r\n\r\n\t\t\t// either (at least one occurrence of searched words is found AND no excluded words is found)\r\n\r\n\t\t\tif ( !$exclude AND ($includetest===false or $include>0) ) {\r\n\t\t\tif ( $ltime==='' OR ($ltime>'' AND (time() < strtotime(\"+$ltime minutes\", strtotime($item->get_date()))) ) ) \t\t{\r\n\r\n\t\t\t\t// get description from feed\r\n\t\t\t\t$desc = esc_html( $item->get_description() );\r\n\t\t\t\t$flist .= '<li> ';\r\n\r\n\t\t\t\t// get title from feed\r\n\t\t\t\t$title = cdataize( $item->get_title() );\r\n\r\n\t\t\t\t// get description from feed\r\n\t\t\t\t$desc = cdataize( $item->get_description() );\r\n\r\n\t\t\t\t// sanitize title and description\r\n\t\t\t\t$title = sanitxt( $title );\r\n\r\n\t\t\t\t$desc = sanitxt( $desc );\r\n\r\n\t\t\t\tif ($chartle>=1) $title=substr($title, 0, $chartle).'...';\r\n\r\n\t\t\t\tif ( $title || $desc ) {\r\n\r\n\t\t\t\t\tif ( $item->get_permalink() ) {\r\n\r\n\t\t\t\t\t$permalink = esc_url( $item->get_permalink() );\r\n\r\n\t\t\t\t \t$motext = isset( $desc ) ? $desc : $title;\r\n\r\n\t\t\t\t \t// writes the link\r\n\t\t\t\t\t$flist .= \"<p class='rss-headline'><a target='$target' href='$permalink'\";\r\n\t\t\t\t\tif (!filter_var($excerpt, FILTER_VALIDATE_BOOLEAN)) $flist .= \" title='\".substr($motext,0,400).\"...'\";\r\n\t\t\t\t\t$flist .= \">\";\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// writes the title\r\n\t\t\t\t\t$flist .= isset( $title ) ? $title : $motext;\r\n\r\n\t\t\t\t\t// end the link (anchor tag)\r\n\t\t\t\t\tif ( $permalink ) $flist .= '</a></p>'; \r\n\r\n\t\t\t\t\tif ( $item->get_date() ) {\r\n\t\t\t\t\t\t$datim = strtotime( $item->get_date() );\r\n\t\t\t\t\t\tif ( filter_var($pubdate, FILTER_VALIDATE_BOOLEAN) ) {\r\n\r\n\t\t\t\t\t\t\tif (empty($dformat)) $dformat = get_option('date_format');\r\n\r\n\t\t\t\t\t\t\t// $flist .= ' - ' . date( $dformat, $datim );\r\n\t\t\t\t\t\t\t$flist .= '<p><time>' . date_i18n( $dformat, $datim ) . '</time></p>';\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\r\n\r\n \t\t\t\tif ( filter_var($pubtime, FILTER_VALIDATE_BOOLEAN) ) {\r\n\r\n\t\t\t\t\t\t\tif (empty($tformat)) $tformat = get_option('time_format');\r\n\r\n\t\t\t\t\t\t\t$flist .= ' at ' . date ( $tformat, $datim ); \r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\r\n\r\n\r\n\t\t\t\t\tif ($desc && filter_var($excerpt, FILTER_VALIDATE_BOOLEAN)) {\r\n\r\n\t\t\t\t\t\tif ( $charex >= 1 && $charex<strlen($desc) ) { \r\n\r\n\t\t\t\t\t\t\t$flist .= '<p class=\"rss-meta\">' . substr($motext, 0, $charex) . \" [<a target='$target' href='$permalink'>...</a>]</p>\";\r\n\r\n\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t$flist .= '' . $motext;\r\n\r\n\t\t\t\t\t\t}\t\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\t$flist .= '<li>No standard <item> in file.';\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\t$flist .= '</li>';\r\n\t\t\t} // if ($ltime...)\r\n\t\t\t} // if ($exclude...)\r\n\r\n\t\t} // foreach\r\n\r\n\t\t$flist .= \"</$list>\\n\";\r\n\r\n\t\t} // else of if ($nitems == 0)\r\n\r\n\t} // else of if (is_wp_error( $rss ))\r\n\r\n \t// if pubauthor has been selected\r\n\r\n\tif ( filter_var($pubauthor, FILTER_VALIDATE_BOOLEAN) ) {\r\n\r\n\t\t$flist .= '';\r\n\r\n\t}\r\n\r\n\treturn $flist;\r\n\r\n}",
"public function refreshFeed(): array;",
"private function _initCache($type) {\n $feed = false;\n try {\n $this->cache = new apiFileCache($this->api_name, $type, $this->cache_length, $this->cache_path);\n } catch (Exception $e) {\n echo $e->getMessage(), \"\\n\";\n exit();\n }\n return $feed;\n }",
"private function queryFeed()\n\t{\n\t\t$api_endpoint = $this->supported_sites->getKey('facebook', 'api_endpoint');\t\t\n\t\t$client = new Client(['base_url' => $api_endpoint]);\n\t\ttry {\n\t\t\t$response = $client->get($this->id, [\n\t\t\t\t'query' => [\n\t\t\t\t\t'access_token' => $this->credentials['app_token']\n\t\t\t\t]\n\t\t\t]);\n\t\t\t$feed = json_decode($response->getBody());\n\t\t\t$this->feed = $feed;\n\t\t} catch (\\Exception $e){\n\t\t\tthrow new \\Exception($e->getMessage());\n\t\t}\n\t}",
"function fww_rss( $rssUrl, $id ) {\n // Do we have this information in our transients already?\n $transient = get_transient( 'tna_rss_blog_transient' . $id );\n // Yep! Just return it and we're done.\n if( ! empty( $transient ) ) {\n echo $transient ;\n // Nope! We gotta make a call.\n } else {\n // Get feed source.\n $content = file_get_contents( $rssUrl );\n if ( $content !== false ) {\n $x = new SimpleXmlElement( $content );\n $n = 0;\n // Loop through each feed item and display each item\n foreach ( $x->channel->item as $item ) :\n if ( $n == 1 ) {\n break;\n }\n $enclosure = $item->enclosure['url'];\n $namespaces = $item->getNameSpaces( true );\n $dc = $item->children( $namespaces['dc'] );\n $pubDate = $item->pubDate;\n $pubDate = date( \"l d M Y\", strtotime( $pubDate ) );\n $html = '<div class=\"col-sm-6\"><div class=\"card clearfix\">';\n if ( $enclosure ) {\n $html .= '<a href=\"' . $item->link . '\" title=\"' . $item->title . '\">';\n $html .= '<div class=\"entry-thumbnail\" style=\"background: url(' . $enclosure . ') no-repeat center center;background-size: cover;\">';\n // $html .= '<img src=\"' . $enclosure . '\" class=\"img-responsive\" alt=\"' . $item->title . '\">';\n $html .= '</div></a>';\n }\n $html .= '<div class=\"entry-content\"><small>Blog</small><h2><a href=\"' . $item->link . '\">';\n $html .= $item->title;\n $html .= '</a></h2>';\n $html .= '<small>' . $dc->creator . ' | ' . $pubDate . '</small>';\n $html .= '<p>' . $item->description . '</p><ul class=\"child\"><li><a href=\"http://blog.nationalarchives.gov.uk/blog/tag/first-world-war/\">Join us on our blog</a></li></ul></div>';\n $html .= '</div></div>';\n $n ++;\n endforeach;\n set_transient( 'tna_rss_blog_transient' . $id, $html, HOUR_IN_SECONDS );\n echo $html;\n }\n else {\n echo '<div class=\"col-md-6\"><div class=\"card\"><div class=\"entry-content\"><h2>First World War blog</h2><ul class=\"child\"><li><a href=\"http://blog.nationalarchives.gov.uk/blog/tag/first-world-war/\">Join us on our blog</a></li></ul></div></div></div>';\n }\n }\n}",
"private function makeFeed()\n {\n $half = round($this->getCount() / 2, PHP_ROUND_HALF_UP);\n $twitter = (new Twitter($half))->getFeed();\n $instagram = (new Instagram($half))->getFeed();\n\n $feed = $this->sortFeed($twitter, $instagram);\n\n if ($this->useCache()) {\n if (!file_exists($this->getCache()) || filemtime($this->getCache()) + $this->getCacheTime() < time()) {\n file_put_contents(\n $this->getCache(),\n json_encode(array_slice($feed, 0, $this->getCacheAmount()))\n );\n }\n }\n\n if (count($feed) > $this->getCount()) {\n $feed = array_slice($feed, 0, $this->getCount());\n }\n\n return $feed;\n }",
"public function isFeed()\n {\n if (($is = &$this->staticKey(__FUNCTION__)) !== null) {\n return $is; // Already cached this.\n }\n if (isset($_REQUEST['feed'])) {\n return $is = true;\n } elseif (!empty($_SERVER['REQUEST_URI']) && preg_match('/\\/feed(?:[\\/?]|$)/', $_SERVER['REQUEST_URI'])) {\n return $is = true;\n }\n return $is = false;\n }",
"public function latest()\n {\n $result = $this->cache->remember('feeds', 720, function () {\n try {\n $xml = simplexml_load_string((new Client())->get($this->url, [\n 'headers' => ['Accept' => 'application/rss+xml', 'User-Agent' => defined('CACHET_VERSION') ? 'cachet/'.constant('CACHET_VERSION') : 'cachet'],\n ])->getBody()->getContents(), null, LIBXML_NOCDATA);\n\n return json_decode(json_encode($xml));\n } catch (Exception $e) {\n return self::FAILED;\n }\n });\n\n return $result === self::FAILED ? null : $result;\n }",
"function includeRSS( $url, $cache_file, $rss_function, $cache_refresh = false, $cache_lifetime = 3600) {\n $cache_dir = 'cache';\n $cache_file = $cache_dir.'/'.$cache_file;\n \n /* check if cache file does not exist or has a modification time that is older than cache lifetime */\n if ( $cache_refresh && \n (!file_exists( $cache_file) \n\t|| (time() - filemtime ($cache_file)) >= $cache_lifetime))\n {\n $rss_parser = new RSSParser();\n $item_array = $rss_parser->parse( $url);\n\n if ($item_array != null && count($item_array) != 0)\n\t{\n\t if (!file_exists( $cache_dir))\n\t mkdir ( $cache_dir);\n\n\t $out = fopen( $cache_file, \"w\");\n \n\t call_user_func( $rss_function, $item_array, $out);\n \n\t fclose( $out);\n\t}\n }\n\n include( $cache_file);\n}"
] |
[
"0.7896343",
"0.6463914",
"0.6330086",
"0.62529516",
"0.6182273",
"0.6067501",
"0.6061596",
"0.6060495",
"0.6048291",
"0.6040027",
"0.5984196",
"0.5948891",
"0.5946925",
"0.5899024",
"0.58525795",
"0.5813691",
"0.57946163",
"0.5792868",
"0.57878685",
"0.57849735",
"0.57827884",
"0.57815933",
"0.5781399",
"0.5780309",
"0.57545525",
"0.5736742",
"0.57358027",
"0.5720178",
"0.5717154",
"0.56920856"
] |
0.6563607
|
1
|
Generate State Machine from a DSL file, now in Yaml.
|
public static function fromFile($file)
{
if(!\file_exists($file)) {
throw new \Exception("Cannot found file {$file}");
}
$lex = \yaml_parse(file_get_contents($file));
return self::_generateFromLex($lex);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function load()\n {\n $this->rootStep = $this->stepFactory->create('Root');\n\n if (file_exists($this->getStateFile()) && ($data = file_get_contents($this->getStateFile()))) {\n $data = $this->serializer->unserialize($data);\n $this->filename = $data['filename'];\n $this->isTestMode = $data['isTestMode'];\n $this->createdAt = $data['createdAt'];\n\n $this->rootStep->fromArray($data);\n }\n\n return $this;\n }",
"public function main() {\n\n $fs = new Filesystem();\n\n $fs->touch($this->getTargetFile());\n\n $seedProperties = Yaml::parse(file_get_contents($this->getSeedFile()));\n $generatedProperties = [];\n\n $generatedProperties['label'] = $seedProperties['project_label'];\n $generatedProperties['machineName'] = $seedProperties['project_name'];\n $generatedProperties['group'] = $seedProperties['project_group'];\n $generatedProperties['basePath'] = '${current.basePath}';\n $generatedProperties['type'] = $seedProperties['project_type'];\n $generatedProperties['repository']['main'] = $seedProperties['project_git_repository'];\n $generatedProperties['php'] = $seedProperties['project_php_version'];\n\n // Add platform information.\n if (isset($generatedProperties['platform'])) {\n $generatedProperties['platform'] = $seedProperties['platform'];\n }\n\n $fs->dumpFile($this->getTargetFile(), Yaml::dump($generatedProperties, 5, 2));\n }",
"function load($input) {\n\t// See what type of input we're talking about\n\t// If it's not a file, assume it's a string\n\tif (!empty($input) && (strpos($input, \"\\n\") === false)\n\t\t&& file_exists($input)) {\n\t\t$yaml = file($input);\n\t} else {\n\t\t$yaml = explode(\"\\n\",$input);\n\t}\n\t// Initiate some objects and values\n\t$base = new YAMLNode (1);\n\t$base->indent = 0;\n\t$this->_lastIndent = 0;\n\t$this->_lastNode = $base->id;\n\t$this->_inBlock = false;\n\t$this->_isInline = false;\n\t$this->_nodeId = 2;\n\n\tforeach ($yaml as $linenum => $line) {\n\t\t$ifchk = trim($line);\n\n\t\t// If the line starts with a tab (instead of a space), throw a fit.\n\t\tif (preg_match('/^(\\t)+(\\w+)/', $line)) {\n\t\t$err = 'ERROR: Line '. ($linenum + 1) .' in your input YAML begins'.\n\t\t\t\t' with a tab. YAML only recognizes spaces. Please reformat.';\n\t\tdie($err);\n\t\t}\n\n\t\tif ($this->_inBlock === false && empty($ifchk)) {\n\t\tcontinue;\n\t\t} elseif ($this->_inBlock == true && empty($ifchk)) {\n\t\t$last =& $this->_allNodes[$this->_lastNode];\n\t\t$last->data[key($last->data)] .= \"\\n\";\n\t\t} elseif ($ifchk{0} != '#' && substr($ifchk,0,3) != '---') {\n\t\t// Create a new node and get its indent\n\t\t$node = new YAMLNode ($this->_nodeId);\n\t\t$this->_nodeId++;\n\n\t\t$node->indent = $this->_getIndent($line);\n\n\t\t// Check where the node lies in the hierarchy\n\t\tif ($this->_lastIndent == $node->indent) {\n\t\t\t// If we're in a block, add the text to the parent's data\n\t\t\tif ($this->_inBlock === true) {\n\t\t\t$parent =& $this->_allNodes[$this->_lastNode];\n\t\t\t$parent->data[key($parent->data)] .= trim($line).$this->_blockEnd;\n\t\t\t} else {\n\t\t\t// The current node's parent is the same as the previous node's\n\t\t\tif (isset($this->_allNodes[$this->_lastNode])) {\n\t\t\t\t$node->parent = $this->_allNodes[$this->_lastNode]->parent;\n\t\t\t}\n\t\t\t}\n\t\t} elseif ($this->_lastIndent < $node->indent) {\n\t\t\tif ($this->_inBlock === true) {\n\t\t\t$parent =& $this->_allNodes[$this->_lastNode];\n\t\t\t$parent->data[key($parent->data)] .= trim($line).$this->_blockEnd;\n\t\t\t} elseif ($this->_inBlock === false) {\n\t\t\t// The current node's parent is the previous node\n\t\t\t$node->parent = $this->_lastNode;\n\n\t\t\t// If the value of the last node's data was > or | we need to\n\t\t\t// start blocking i.e. taking in all lines as a text value until\n\t\t\t// we drop our indent.\n\t\t\t$parent =& $this->_allNodes[$node->parent];\n\t\t\t$this->_allNodes[$node->parent]->children = true;\n\t\t\tif (is_array($parent->data)) {\n\t\t\t\t$chk = '';\n\t\t\t\tif (isset ($parent->data[key($parent->data)]))\n\t\t\t\t\t$chk = $parent->data[key($parent->data)];\n\t\t\t\tif ($chk === '>') {\n\t\t\t\t$this->_inBlock = true;\n\t\t\t\t$this->_blockEnd = ' ';\n\t\t\t\t$parent->data[key($parent->data)] =\n\t\t\t\t\t\tstr_replace('>','',$parent->data[key($parent->data)]);\n\t\t\t\t$parent->data[key($parent->data)] .= trim($line).' ';\n\t\t\t\t$this->_allNodes[$node->parent]->children = false;\n\t\t\t\t$this->_lastIndent = $node->indent;\n\t\t\t\t} elseif ($chk === '|') {\n\t\t\t\t$this->_inBlock = true;\n\t\t\t\t$this->_blockEnd = \"\\n\";\n\t\t\t\t$parent->data[key($parent->data)] =\n\t\t\t\t\t\tstr_replace('|','',$parent->data[key($parent->data)]);\n\t\t\t\t$parent->data[key($parent->data)] .= trim($line).\"\\n\";\n\t\t\t\t$this->_allNodes[$node->parent]->children = false;\n\t\t\t\t$this->_lastIndent = $node->indent;\n\t\t\t\t}\n\t\t\t}\n\t\t\t}\n\t\t} elseif ($this->_lastIndent > $node->indent) {\n\t\t\t// Any block we had going is dead now\n\t\t\tif ($this->_inBlock === true) {\n\t\t\t$this->_inBlock = false;\n\t\t\tif ($this->_blockEnd = \"\\n\") {\n\t\t\t\t$last =& $this->_allNodes[$this->_lastNode];\n\t\t\t\t$last->data[key($last->data)] =\n\t\t\t\t\ttrim($last->data[key($last->data)]);\n\t\t\t}\n\t\t\t}\n\n\t\t\t// We don't know the parent of the node so we have to find it\n\t\t\t// foreach ($this->_allNodes as $n) {\n\t\t\tforeach ($this->_indentSort[$node->indent] as $n) {\n\t\t\tif ($n->indent == $node->indent) {\n\t\t\t\t$node->parent = $n->parent;\n\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($this->_inBlock === false) {\n\t\t\t// Set these properties with information from our current node\n\t\t\t$this->_lastIndent = $node->indent;\n\t\t\t// Set the last node\n\t\t\t$this->_lastNode = $node->id;\n\t\t\t// Parse the YAML line and return its data\n\t\t\t$node->data = $this->_parseLine($line);\n\t\t\t// Add the node to the master list\n\t\t\t$this->_allNodes[$node->id] = $node;\n\t\t\t// Add a reference to the parent list\n\t\t\t$this->_allParent[intval($node->parent)][] = $node->id;\n\t\t\t// Add a reference to the node in an indent array\n\t\t\t$this->_indentSort[$node->indent][] =& $this->_allNodes[$node->id];\n\t\t\t// Add a reference to the node in a References array if this node\n\t\t\t// has a YAML reference in it.\n\t\t\tif (\n\t\t\t( (is_array($node->data)) &&\n\t\t\t\tisset($node->data[key($node->data)]) &&\n\t\t\t\t(!is_array($node->data[key($node->data)])) )\n\t\t\t&&\n\t\t\t( (preg_match('/^&([^ ]+)/',$node->data[key($node->data)]))\n\t\t\t\t||\n\t\t\t\t(preg_match('/^\\*([^ ]+)/',$node->data[key($node->data)])) )\n\t\t\t) {\n\t\t\t\t$this->_haveRefs[] =& $this->_allNodes[$node->id];\n\t\t\t} elseif (\n\t\t\t( (is_array($node->data)) &&\n\t\t\t\tisset($node->data[key($node->data)]) &&\n\t\t\t\t(is_array($node->data[key($node->data)])) )\n\t\t\t) {\n\t\t\t// Incomplete reference making code. Ugly, needs cleaned up.\n\t\t\tforeach ($node->data[key($node->data)] as $d) {\n\t\t\t\tif ( !is_array($d) &&\n\t\t\t\t( (preg_match('/^&([^ ]+)/',$d))\n\t\t\t\t\t||\n\t\t\t\t\t(preg_match('/^\\*([^ ]+)/',$d)) )\n\t\t\t\t) {\n\t\t\t\t\t$this->_haveRefs[] =& $this->_allNodes[$node->id];\n\t\t\t\t}\n\t\t\t}\n\t\t\t}\n\t\t}\n\t\t}\n\t}\n\tunset($node);\n\n\t// Here we travel through node-space and pick out references (& and *)\n\t$this->_linkReferences();\n\n\t// Build the PHP array out of node-space\n\t$trunk = $this->_buildArray();\n\treturn $trunk;\n\t}",
"private function load($file) {\n $yml = new \\Yaml($file);\n $data = $yml->parse();\n\n $this->name = \\a::get($data, 'name', NULL);\n $this->theme = \\a::get($data, 'theme', \\c::get('theme', 'grass'));\n $this->eventdate = \\a::get($data, 'eventdate', NULL);\n $this->intro = \\a::get($data, 'intro', NULL);\n $this->storeFields(\\a::get($data, 'fields', FALSE));\n $this->action = \\a::get($data, 'action', NULL);\n }",
"public function createStateMachine($name)\n {\n $node = $this->getNode(sprintf('//state-machine[@name=\\'%s\\']', $name));\n if (!$node) {\n throw new EInvalidConfiguration(\"StateMachine '{$name}' not found\");\n }\n\n $name = $this->getAttr($node, 'name');\n\n // Determine class type of StateMachine\n $class = $this->getAttr($node, 'class', $this->defaultStateMachineClass);\n\n $sm = new $class($this->createSubtreeProvider($node));\n if (!$sm instanceof IStateMachine) {\n throw new EInvalidConfiguration(\"StateMachine '{$name}' class '{$class}' is not instance of IStateMachine.\");\n }\n\n $sm->setName($name);\n $sm->setInitialStateValue($this->getAttr($node, 'initialState'));\n\n return $sm;\n }",
"public function run()\n {\n $subjectStates = [\n [\n 'state' => 'Mandatory',\n 'description' => 'Must be taken by student to move onto next form',\n ],\n [\n 'state' => 'Optional',\n 'description' => 'Student can select this subject or an equivalent subject type',\n ]\n ];\n\n foreach ($subjectStates as $subjectState) {\n SubjectState::create($subjectState);\n };\n }",
"private function load()\n {\n if ($this->sites) {\n return;\n }\n $data = Yaml::parse(file_get_contents($this->file));\n $this->sites = $data['sites'];\n }",
"function YAMLLoad($input) {\n\t\t$spyc = new Spyc;\n\t\treturn $spyc->load($input);\n\t}",
"function yml_parse_file($ymlFile)\n {\n return yml::parseFile($ymlFile);\n }",
"public function testParseGoodYAMLImport()\n {\n $importer = new WorkflowDefinitionImporter();\n $source = <<<'EOD'\n---\nName: exportedworkflow\n---\nSilverStripe\\Core\\Injector\\Injector:\n ExportedWorkflow:\n class: Symbiote\\AdvancedWorkflow\\Templates\\WorkflowTemplate\n constructor:\n - 'My Workflow 4 20/02/2014 03-12-55'\n - 'Exported from localhost on 20/02/2014 03-12-55 by joe bloggs using SilverStripe versions Framework 4.0.0-beta3'\n - 0.2\n - 0\n - 3\n properties:\n structure:\n 'Step One':\n type: Symbiote\\AdvancedWorkflow\\DataObjects\\WorkflowAction\n transitions:\n - Step One T1: 'Step Two'\n 'Step Two':\n type: Symbiote\\AdvancedWorkflow\\DataObjects\\WorkflowAction\n Symbiote\\AdvancedWorkflow\\Services\\WorkflowService:\n properties:\n templates:\n - '%$ExportedWorkflow'\nEOD;\n\n $this->assertNotEmpty($importer->parseYAMLImport($source));\n }",
"public function run()\n {\n $this->command->line('Seeding States from JSON file');\n $json = File::get('database/json/states.json');\n // $json = file_get_contents('https://gist.githubusercontent.com/Dhaneshmonds/1b0ca257b1c34e4842528dcb826ee880/raw/bf0632f3b2a613ac5cb80b9f1dfcf7ff16b7c373/IndianStatesDistricts.json');\n $data = json_decode($json);\n foreach($data as $obj) {\n foreach($obj as $state) {\n $state_find = States::where('code', $state->code)->first();\n if(!$state_find) {\n $db_state = new States;\n $db_state->name = $state->name;\n $db_state->code = $state->code;\n $db_state->capital = $state->capital;\n $db_state->districts = count($state->districts);\n $db_state->type = strtolower(str_replace(' ', '-', $state->type));\n $db_state->created_at = now()->toDateTimeString();\n $db_state->updated_at = now()->toDateTimeString();\n $db_state->save();\n $this->command->info($state->name.' ['.$state->type.'] was added');\n } else {\n $this->command->error($state->name.' - ['.$state->type.'] already exists in the DB');\n }\n\n if(count($state->districts) > 0) {\n $this->command->info(' == ' . count($state->districts).' districts found for '.$state->name .' == ');\n foreach($state->districts as $district) {\n $district_find = Districts::where('name', $district->name)->first();\n if(!$district_find > 0) {\n $db_district = new Districts;\n $db_district->name = $district->name;\n $db_district->code = $state->code;\n $db_district->state = $state->name;\n $db_district->created_at = now()->toDateTimeString();\n $db_district->updated_at = now()->toDateTimeString();\n $db_district->save();\n $this->command->info($district->name.' [DISTRICT] was added');\n } else {\n $this->command->error($district->name.' [DISTRICT] already exists in the DB');\n }\n }\n }\n }\n }\n\n $this->command->line('States were successfully seeded.');\n }",
"public static function fromYaml($file)\n {\n if (! file_exists($file)) {\n return new self();\n }\n\n $values = Yaml::parse(file_get_contents($file));\n\n $config = new self();\n\n if (! is_array($values)) {\n return $config;\n }\n\n if (array_key_exists('exclude', $values)) {\n $config->exclude = (array) $values['exclude'];\n }\n if (array_key_exists('directory', $values)) {\n $config->directory = trim($values['directory']);\n }\n if (array_key_exists('baseUrl', $values)) {\n $config->baseUrl = rtrim(trim($values['baseUrl']), '/');\n }\n if (array_key_exists('before', $values)) {\n $config->before = (array) $values['before'];\n }\n if (array_key_exists('after', $values)) {\n $config->after = (array) $values['after'];\n }\n\n return $config;\n }",
"public function run()\n {\n $state =\n [\n [\n 'name'=>'Andaman and Nicobar Islands',\n\n ],\n [\n 'name'=>'Andhra Pradesh',\n \n ],\n ];\n foreach ($state as $key => $value) {\n State::create($value);\n }\n }",
"public function from($file) {\n $this->codegen->source= $file ?? '(unknown)';\n return $this;\n }",
"public function loadYamlConfig($filepath);",
"function yml_parse($yml)\n {\n return yml::parse($yml);\n }",
"protected function loadMappingFile($file)\n {\n return Yaml::parse(file_get_contents($file));\n }",
"protected function loadFile($file)\n {\n if (!stream_is_local($file)) {\n throw new InvalidArgumentException(sprintf('This is not a local file \"%s\".', $file));\n }\n\n if (!file_exists($file)) {\n throw new InvalidArgumentException(sprintf('The service file \"%s\" is not valid.', $file));\n }\n\n return Yaml::parse(file_get_contents($file));\n }",
"private function generateYmlFormat(string $file_path)\n {\n $class_name = $this->getOnlyName($file_path, true);\n $formated[$class_name]['class'] = $this->transFormPathToNameSapace($file_path);\n $injections = $this->getInjectionsFromFile($file_path);\n\n if ( $injections ) {\n $injections = explode(',', $injections);\n foreach ($injections as $injection) {\n $cleaned_injection = explode('$', str_replace(['Interface', ' ', \"\\n\", \"\\t\"], '', $injection));\n $formated[$class_name]['neededClass'][]= \"@\".$cleaned_injection[0];\n }\n }\n return $formated;\n }",
"public function parse($input) {\r\n try {\r\n $output = sfYaml::load($input);\r\n }\r\n catch(InvalidArgumentException $ex) {\r\n self::_throwException($ex->getMessage());\r\n } \r\n return $output; \r\n }",
"public function run()\n {\n $items = [\n [\n \t'title' => 'English',\n 'understanding' => 'C1',\n 'speach' => 'C1',\n 'writing' => 'C1'\n ],\n [\n 'title' => 'German',\n 'understanding' => 'A1',\n 'speach' => 'A1',\n 'writing' => 'A2'\n ]\n ];\n\n foreach($items as $item) \n {\n Language::create($item);\n }\n }",
"public function getStateMachine();",
"function loadFixture($fixtureFile) {\n\t\t$parser = new Spyc();\n\t\t$fixtureContent = $parser->load(Director::baseFolder().'/'.$fixtureFile);\n\t\t\n\t\t$this->fixture = new YamlFixture($fixtureFile);\n\t\t$this->fixture->saveIntoDatabase();\n\t}",
"public function generateYaml($file) {\n $spl = new \\SplFileObject($this->getConfig()->cwd() . DIRECTORY_SEPARATOR . $file, 'r');\n $spl->next();\n $headers = $spl->fgetcsv();\n\n $source_headers = [];\n foreach ($headers as $header) {\n $source_headers[] = [$header => $header];\n }\n\n $yml = Yaml::encode($source_headers);\n $this->output()->write($yml);\n }",
"public function testParseBadYAMLMalformedImport()\n {\n $importer = new WorkflowDefinitionImporter();\n $this->expectException(ValidationException::class);\n $this->expectExceptionMessage('Invalid YAML format. Unable to parse.');\n $source = <<<'EOD'\n---\nName: exportedworkflow\n---\n# Missing colon on line below\nSilverStripe\\Core\\Injector\\Injector\n ExportedWorkflow:\n class: Symbiote\\AdvancedWorkflow\\Templates\\WorkflowTemplate\n constructor:\n - 'My Workflow 4 20/02/2014 03-12-55'\n - 'Exported from localhost on 20/02/2014 03-12-55 by joe bloggs using SilverStripe versions Framework 4.0.0-beta3'\n - 0.2\n - 0\n - 3\n properties:\n structure:\n 'Step One'\n type: Symbiote\\AdvancedWorkflow\\DataObjects\\WorkflowAction\n transitions:\n - Step One T1: 'Step Two'\n 'Step Two':\n type: Symbiote\\AdvancedWorkflow\\DataObjects\\WorkflowAction\n Symbiote\\AdvancedWorkflow\\Services\\WorkflowService:\n properties:\n templates:\n - '%$ExportedWorkflow'\nEOD;\n\n $importer->parseYAMLImport($source);\n }",
"public function run()\n {\n State::create(array(\n 'id' => 'MG',\n 'name'=>'Minas Gerais' \n ));\n }",
"public function run() {\n foreach ($this->data as $key => $value) {\n State::create($value);\n }\n }",
"public function setupMachine1()\n {\n\n $this->state1->addTransition('event1-2', $this->state2);\n $this->state2->addTransition('event2-1', $this->state1);\n $this->state2->addTransition('event2-3', $this->state3);\n\n $this->stateMachine->addState($this->state1);\n $this->stateMachine->addState($this->state2);\n $this->stateMachine->addState($this->state3);\n }",
"public function run()\n {\n $state = new State();\n $state->description = 'Em aberto';\n $state->save();\n\n $state = new State();\n $state->description = 'Finalizado';\n $state->save();\n\n $state = new State();\n $state->description = 'Cancelado';\n $state->save();\n\n $state = new State();\n $state->description = 'Inválido';\n $state->save();\n }",
"function stateMachine() {\n\t\tif ($_SESSION['order_condition'] == 'RW') {\n\t\t\tswitch($_SESSION['state']) {\n\t\t\t\tcase \"START\":\t\n\t\t\t\t\t$_SESSION['section_order'] = 1;\n\t\t\t\t\t$_SESSION['section_total'] = 27;\n\t\t\t\t\tstateTransition('pages/ethics.html', 'DEMOGRAPHICS');\n\t\t\t\t\t//stateTransition('pages/ethics.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"DEMOGRAPHICS\":\n\t\t\t\t\tstateTransition('pages/demographics.html', 'INSTR_EXPOSURE1');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE1\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE1\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_SCRIPT');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_SCRIPT\":\n\t\t\t\t\tstateTransition('pages/before_learn_letters.html', 'SCRIPT');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"SCRIPT\":\n\t\t\t\t\tstateTransition('pages/learn_letters.html', 'INSTR_R_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_R_TR1\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR1\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_W_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TR1\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR1\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_EXPOSURE2');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE2\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE2\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_R_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_R_TR2\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR2\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_W_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TR2\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR2\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_EXPOSURE3');\n\t\t\t\t\tbreak;\t\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE3\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE3\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_R_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_R_TR3\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR3\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_W_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TR3\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR3\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_R_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_R_TEST\":\n\t\t\t\t\tstateTransition('pages/before_reading_test.html', 'R_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TEST\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_W_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TEST\":\n\t\t\t\t\tstateTransition('pages/before_writing_test.html', 'W_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TEST\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'QUESTIONNAIRE');\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tcase \"QUESTIONNAIRE\":\n\t\t\t\t\tstateTransition('pages/questionnaire.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"END\":\n\t\t\t\t\tstateTransition('pages/end.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} else {\n\t\t\tswitch($_SESSION['state']) {\n\t\t\t\tcase \"START\":\t\n\t\t\t\t\t$_SESSION['section_order'] = 1;\n\t\t\t\t\t$_SESSION['section_total'] = 27;\n\t\t\t\t\tstateTransition('pages/ethics.html', 'DEMOGRAPHICS');\n\t\t\t\t\t//stateTransition('pages/ethics.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"DEMOGRAPHICS\":\n\t\t\t\t\tstateTransition('pages/demographics.html', 'INSTR_EXPOSURE1');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE1\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE1\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_SCRIPT');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_SCRIPT\":\n\t\t\t\t\tstateTransition('pages/before_learn_letters.html', 'SCRIPT');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"SCRIPT\":\n\t\t\t\t\tstateTransition('pages/learn_letters.html', 'INSTR_W_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_W_TR1\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR1\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_R_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_R_TR1\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR1');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR1\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_EXPOSURE2');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE2\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE2\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_W_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TR2\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR2\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_R_TR2');\n\t\t\t\t\tbreak;\t\n\t\t\t\tcase \"INSTR_R_TR2\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR2');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR2\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_EXPOSURE3');\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_EXPOSURE3\":\n\t\t\t\t\tstateTransition('pages/before_exposure.html', 'EXPOSURE3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"EXPOSURE3\":\n\t\t\t\t\tstateTransition('pages/learn_words.html', 'INSTR_W_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_W_TR3\":\n\t\t\t\t\tstateTransition('pages/before_writing_practice.html', 'W_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TR3\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_R_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_R_TR3\":\n\t\t\t\t\tstateTransition('pages/before_reading_practice.html', 'R_TR3');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TR3\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'INSTR_W_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\tcase \"INSTR_W_TEST\":\n\t\t\t\t\tstateTransition('pages/before_writing_test.html', 'W_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"W_TEST\":\n\t\t\t\t\tstateTransition('pages/writing.html', 'INSTR_R_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"INSTR_R_TEST\":\n\t\t\t\t\tstateTransition('pages/before_reading_test.html', 'R_TEST');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"R_TEST\":\n\t\t\t\t\tstateTransition('pages/reading.html', 'QUESTIONNAIRE');\n\t\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tcase \"QUESTIONNAIRE\":\n\t\t\t\t\tstateTransition('pages/questionnaire.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"END\":\n\t\t\t\t\tstateTransition('pages/end.html', 'END');\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\t// switch end\n\t\t}\t// condition end\n\t}"
] |
[
"0.58855885",
"0.50790024",
"0.50741863",
"0.5065637",
"0.5034357",
"0.50340956",
"0.5012956",
"0.4967341",
"0.49287495",
"0.49249062",
"0.49219248",
"0.4788028",
"0.47790393",
"0.4743927",
"0.47425535",
"0.47260374",
"0.46620196",
"0.4650631",
"0.4638105",
"0.46371222",
"0.46087107",
"0.4596061",
"0.459461",
"0.4587475",
"0.45832446",
"0.45593977",
"0.45587867",
"0.45341247",
"0.45323518",
"0.451853"
] |
0.52147615
|
1
|
Initialize DB object, create db, tables if it doesn't exist, else return db instance.
|
private static function initialize_db() {
if ( ! defined( 'WP_CLI_SNAPSHOT_DB' ) ) {
define( 'WP_CLI_SNAPSHOT_DB', Utils\trailingslashit( WP_CLI_SNAPSHOT_DIR ) . 'wp_snapshot.db' );
}
if ( ! ( file_exists( WP_CLI_SNAPSHOT_DB ) ) ) {
self::create_tables();
return;
}
// phpcs:ignore PHPCompatibility.Extensions.RemovedExtensions.sqliteRemoved -- False positive.
self::$dbo = new \SQLite3( WP_CLI_SNAPSHOT_DB );
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected function _setupDb()\n {\n // First, delete the DB if it exists\n $this->_teardownDb();\n \n // Then, set up a clean new DB and return it\n list ($host, $port, $db) = $this->_getUrlParts();\n $db = trim($db, '/');\n \n return Sopha_Db::createDb($db, $host, $port);\n }",
"public static function init()\n {\n $connection = new Connection(\"mysql:host={$_ENV['DB_HOST']};dbname={$_ENV['DB_NAME']}\", $_ENV['DB_USER'], $_ENV['DB_PASS']);\n return new Database($connection);\n }",
"abstract protected function initDB();",
"private function setupDatabase()\n {\n try {\n $db = new PDO(sprintf('mysql:host=%s;dbname=%s', $this->host, $this->dbName), $this->userName, $this->password);\n\n } catch (PDOException $e) {\n\n if (false != strpos($e->getMessage(), 'Unknown database')) {\n $db = new PDO(sprintf('mysql:host=%s', $this->host), $this->userName, $this->password);\n $db->exec(\"CREATE DATABASE IF NOT EXISTS `$this->dbName` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;\") or die(print_r($db->errorInfo(), true));\n\n } else {\n die('DB ERROR: ' . $e->getMessage());\n }\n\n $db = new PDO(sprintf('mysql:host=%s;dbname=%s', $this->host, $this->dbName), $this->userName, $this->password);\n }\n $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\n return $db;\n }",
"private final function _createDbStructure()\n {\n if ($conn = $this->_getConnection()) {\n $installer = new lib_Install('install');\n try {\n $installer->install();\n } catch (Exception $e) {\n app::log($e->getMessage(), app::LOG_LEVEL_ERROR);\n }\n }\n }",
"private function init_db()\n {\n /**\n * If we've set that we want to use the database, initialize it.\n * Or we may use our parent's\n *\n * Inicializa a base de dados se esse app estiver configurado pra usar a base\n * de dados. Ou usa do nosso parent\n */\n\n if (isset($this->parent->db)) {\n $this->db = $this->parent->db;\n } else {\n $this->load->db('mysql');\n }\n\n }",
"protected function createDatabaseStructure() {}",
"private static function setupDB() {\n\t\t$tbl = self::$table;\n\t\t$dbw = wfGetDB( DB_MASTER );\n\t\twfDebugLog( __METHOD__, \"\\tCreating tables\\n\" );\n\t\t$dbw->query(\n\t\t\t\"CREATE TABLE IF NOT EXISTS $tbl ( pathway varchar(255), day varchar(50) )\", DB_MASTER\n\t\t);\n\t\twfDebugLog( __METHOD__, \"\\tDone!\\n\" );\n\t}",
"protected static function setupDb()\n\t{\n\t\tif (is_object(self::$db)) {\n\t\t\treturn self::$db;\n\t\t}\n\n\t\t$config = Config::getInstance();\n\t\t$driver = $config->getDatabaseDriver();\n\t\t$host = $config->getDatabaseHostname();\n\t\t$user = $config->getDatabaseUsername();\n\t\t$pass = $config->getDatabasePassword();\n\t\t$dbname = $config->getDatabaseName();\n\t\t$file = $config->getDatabaseFile();\n\n\t\ttry {\n\t\t\tswitch ($driver) {\n\t\t\t\tcase 'sqlite':\n\t\t\t\t\tself::$db = new PDO('sqlite:'.$file);\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\tcase 'mysql':\n\t\t\t\t\tself::$db = new PDO($driver.':dbname='.$dbname.';host='.$host,\n\t\t\t\t\t $user, $pass,array(PDO::ATTR_PERSISTENT => true));\n\t\t\t}\n\t\t\tself::$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\t\t} catch (PDOException $e) {\n\t\t\tthrow new Exception(\"Kunde inte etablera anslutning till databasen. (\".\n\t\t\t $e->getMessage().')');\n\t\t}\n\t}",
"public static function createDatabaseInstance()\n {\n if (class_exists('TYPO3\\\\CMS\\\\Core\\\\Database\\\\ConnectionPool')) {\n $connection = GeneralUtility::makeInstance('TYPO3\\\\CMS\\\\Core\\\\Database\\\\ConnectionPool')\n ->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);\n\n return new Database($connection);\n }\n\n return new OldDatabase($GLOBALS['TYPO3_DB']);\n }",
"private static function initDatabase() {\n\t\t\tif (self::Config('use_db')) {\n\t\t\t\t$host = self::Config('mysql_host');\n\t\t\t\t$user = self::Config('mysql_user');\n\t\t\t\t$pass = self::Config('mysql_password');\n\t\t\t\t$name = self::Config('mysql_dbname');\n\t\t\t\tDBManager::init($host, $user, $pass, $name);\n\t\t\t}\n\t\t}",
"static public function get_db_object()\n {\n return new Database(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);\n }",
"protected function createDatabase()\n {\n\n $databaseFileName = strtolower(str::plural($this->moduleName));\n\n // Create Schema only in monogo database\n $databaseDriver = config('database.default');\n if ($databaseDriver == 'mongodb') {\n $this->createSchema($databaseFileName);\n }\n }",
"protected function _initDb()\n {\n $this->bootstrap('configs');\n \n // combine application.ini & config.ini database settings\n $options = $this->getOptions();\n $dbSettings = $options['resources']['db'];\n $dbParams = Zend_Registry::get('config.config')->db->toArray();\n $dbSettings['params'] = array_merge($dbSettings['params'], $dbParams);\n \n $db = Zend_Db::factory($dbSettings['adapter'], $dbSettings['params']);\n if(!empty($dbSettings['isDefaultTableAdapter'])\n && (bool)$dbSettings['isDefaultTableAdapter']\n ) {\n Zend_Db_Table::setDefaultAdapter($db);\n }\n }",
"protected function _initDb()\n {\n /**\n * Boot the cache initialisation for use her.\n */\n $this->bootstrap('Cache');\n $this->_cache = $this->getResource('Cache');\n\n /**\n * Only attempt to cache the metadata if we have a cache available\n */\n if (!is_null($this->_cache)) {\n try {\n Zend_Db_Table_Abstract::setDefaultMetadataCache($this->_cache);\n } catch(Zend_Db_Table_Exception $e) {\n print $e->getMessage();\n }\n }\n\n $db = $this->getPluginResource('db')->getDbAdapter();\n\n /**\n * Set the default fetch mode to object throughout the application\n */\n $db->setFetchMode(Zend_Db::FETCH_OBJ);\n\n /**\n * Force the initial connection to handle error relating to caching etc.\n */\n try {\n $db->getConnection();\n } catch (Zend_Db_Adapter_Exception $e) {\n // perhaps a failed login credential, or perhaps the RDBMS is not running\n } catch (Zend_Exception $e) {\n // perhaps factory() failed to load the specified Adapter class\n }\n\n Zend_Db_Table::setDefaultAdapter($db);\n Zend_Registry::set('db', $db);\n\n return $db;\n }",
"function check_db(){\n if( ! $this->database_exists() ){\n $this->create_table();\n }\n }",
"public function db_init() {\n global $CFG;\n\n require_once($CFG->libdir.'/adodb/adodb.inc.php');\n\n // Connect to the external database (forcing new connection).\n $extdb = ADONewConnection($this->get_config('dbtype'));\n if ($this->get_config('debugdb')) {\n $extdb->debug = true;\n ob_start(); // Start output buffer to allow later use of the page headers.\n }\n\n // The dbtype my contain the new connection URL, so make sure we are not connected yet.\n if (!$extdb->IsConnected()) {\n $result = $extdb->Connect($this->get_config('dbhost'),\n $this->get_config('dbuser'),\n $this->get_config('dbpass'),\n $this->get_config('dbname'), true);\n if (!$result) {\n return null;\n }\n }\n\n $extdb->SetFetchMode(ADODB_FETCH_ASSOC);\n if ($this->get_config('dbsetupsql')) {\n $extdb->Execute($this->get_config('dbsetupsql'));\n }\n return $extdb;\n }",
"public function db_init() {\n global $CFG;\n\n require_once($CFG->libdir.'/adodb/adodb.inc.php');\n\n // Connect to the external database (forcing new connection).\n $extdb = ADONewConnection($this->get_config('dbtype'));\n if ($this->get_config('debugdb')) {\n $extdb->debug = true;\n ob_start(); // Start output buffer to allow later use of the page headers.\n }\n\n // The dbtype my contain the new connection URL, so make sure we are not connected yet.\n if (!$extdb->IsConnected()) {\n $result = $extdb->Connect($this->get_config('dbhost'),\n $this->get_config('dbuser'),\n $this->get_config('dbpass'),\n $this->get_config('dbname'), true);\n if (!$result) {\n return null;\n }\n }\n\n $extdb->SetFetchMode(ADODB_FETCH_ASSOC);\n if ($this->get_config('dbsetupsql')) {\n $extdb->Execute($this->get_config('dbsetupsql'));\n }\n return $extdb;\n }",
"public static function init() {\n\t\tself::$_db = Storage::get('objects.database');\n\t}",
"private function initDatabase() {\n \n \n \n }",
"public function init()\n {\n $this->_db = Instance::ensure($this->_db, Connection::class);\n }",
"public function init()\n {\n $this->logger->info('DBService : init');\n\n $this->connect();\n $this->createTable( $this->pdo );\n }",
"private function initDB(){\n $sql = \"\n CREATE SCHEMA IF NOT EXISTS `\".$this->_database.\"` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;\n USE `\".$this->_database.\"` ;\n \";\n try {\n $dbh = new PDO(\"mysql:host=$this->_host\", $this->_username, $this->_password,array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'));\n $dbh->exec($sql)\n or die(print_r($dbh->errorInfo(), true));\n } catch (PDOException $e) {\n $err_data = array('stmt'=>'on init');\n Helper_Error::setError( Helper_Error::ERROR_TYPE_DB , $e->getMessage() , $err_data , $e->getCode() );\n die(\"DB init ERROR: \". $e->getMessage());\n }\n }",
"protected function _initDbConnection() {\n\t\tif (!empty($this->db)) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// Create a new connection\n\t\tif (empty($this->config['datasource'])) {\n\t\t\tdie(\"FeedAggregatorPdoStorage: no datasource configured\\n\");\n\t\t}\n\n\t\t// Initialise a new database connection and associated schema.\n\t\t$db = new PDO($this->config['datasource']); \n\t\t$this->_initDbSchema();\n\t\t\n\t\t// Check the database tables exist\n\t\t$this->_initDbTables($db);\n\n\t\t// Database successful, make it ready to use\n\t\t$this->db = $db;\n\t}",
"private function make_db() {\n ee()->load->dbforge();\n $fields = array(\n 'id' => array('type' => 'varchar', 'constraint' => '32'),\n 'access' => array('type' => 'integer', 'constraint' => '10', 'unsigned' => true),\n 'data' => array('type' => 'text')\n );\n ee()->dbforge->add_field($fields);\n ee()->dbforge->add_key('id', true);\n ee()->dbforge->create_table($this->table_name);\n\n return true;\n }",
"private function openDb() {\n if(!$this->db) {\n $this->db = new Db();\n }\n }",
"protected function _initDb()\r\n { \r\n if ( $this->_db === null ) {\r\n $file = APPLICATION_PATH . '/configs/database.php';\r\n if(file_exists($file) && filesize($file) > 100) {\r\n $database = require_once($file);\r\n $this->_db = Zend_Db::factory($database['database']['adapter'], \r\n $database['database']['params']);\r\n Zend_Db_Table::setDefaultAdapter($this->_db);\r\n } else {\r\n //Go to install script url\r\n header('Location: /install');\r\n }\r\n }\r\n }",
"private function initDatabase()\n {\n $defaults = [\n 'user' => 'root',\n 'password' => '',\n 'prefix' => '',\n 'options' => [\n \\PDO::ATTR_PERSISTENT => true,\n \\PDO::ATTR_ERRMODE => 2,\n \\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',\n \\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => 1,\n \\PDO::ATTR_EMULATE_PREPARES => false\n ]\n ];\n\n if (empty($this->settings['db'])) {\n error_log('No DB data set in Settings.php');\n Throw new FrameworkException('Error on DB access');\n }\n\n if (empty($this->settings['db']['default'])) {\n error_log('No DB \"default\" data set in Settings.php');\n Throw new FrameworkException('Error on DB access');\n }\n\n foreach ($this->settings['db'] as $name => &$settings) {\n\n $prefix = 'db.' . $name;\n\n // Check for databasename\n if (empty($settings['dsn'])) {\n Throw new \\PDOException(sprintf('No DSN specified for \"%s\" db connection. Please add correct DSN for this connection in Settings.php', $name));\n }\n\n // Check for DB defaults and map values\n foreach ($defaults as $key => $default) {\n\n // Append default options to settings\n if ($key == 'options') {\n\n if (empty($settings['options'])) {\n $settings['options'] = [];\n }\n\n foreach ($defaults['options'] as $option => $value) {\n\n if (array_key_exists($option, $settings['options'])) {\n continue;\n }\n\n $settings[$key][$option] = $value;\n }\n }\n\n if (empty($settings[$key])) {\n $settings[$key] = $default;\n }\n }\n\n foreach ($settings as $key => $value) {\n $this->di->mapValue($prefix . '.conn.' . $key, $value);\n }\n\n $this->di->mapService($prefix . '.conn', '\\Core\\Data\\Connectors\\Db\\Connection', [\n $prefix . '.conn.dsn',\n $prefix . '.conn.user',\n $prefix . '.conn.password',\n $prefix . '.conn.options'\n ]);\n $this->di->mapFactory($prefix, '\\Core\\Data\\Connectors\\Db\\Db', [\n $prefix . '.conn',\n $settings['prefix']\n ]);\n }\n }",
"static function getDB()\n\t{\n\t\tif( self::$cached_db !== NULL )\n\t\t\treturn self::$cached_db;\n\t\ttry {\n\t\t\t// Regular direct access to existing database:\n\t\t\tself::$cached_db = new \\it\\icosaedro\\sql\\mysql\\Driver(array(\"localhost\", \"root\", \"\", \"icodb\"));\n\t\t}\n\t\tcatch(SQLException $e){\n\t\t\t// Try again checking and possibly creating the database:\n\t\t\tself::$cached_db = DBManagement::checkAll();\n\t\t}\n\t\treturn self::$cached_db;\n\t}",
"function dbInit()\n {\n if ( $this->IsConnected == false )\n {\n $this->Database = eZDB::globalDatabase();\n $this->IsConnected = true;\n }\n }"
] |
[
"0.77911323",
"0.7282946",
"0.7077956",
"0.7071444",
"0.69913006",
"0.6916428",
"0.6884709",
"0.68699175",
"0.6855566",
"0.6795767",
"0.67753154",
"0.6773127",
"0.67419994",
"0.6729964",
"0.6700847",
"0.668744",
"0.6678362",
"0.6678362",
"0.6654968",
"0.6651526",
"0.66319525",
"0.6617271",
"0.6604362",
"0.6593252",
"0.6571593",
"0.65673935",
"0.6547976",
"0.6526336",
"0.65251017",
"0.6506704"
] |
0.7401107
|
1
|
Create a table to hold snapshot information.
|
private static function create_tables() {
// phpcs:ignore PHPCompatibility.Extensions.RemovedExtensions.sqliteRemoved -- False positive.
self::$dbo = new \SQLite3( WP_CLI_SNAPSHOT_DB );
// Create snapshots table.
$snapshots_table_query = 'CREATE TABLE IF NOT EXISTS snapshots (
id INTEGER,
name VARCHAR,
created_at DATETIME,
backup_type INTEGER DEFAULT 0,
backup_zip_size VARCHAR,
PRIMARY KEY (id)
);';
self::$dbo->exec( $snapshots_table_query );
// Create snapshot_extra_info table.
$extra_info_table_query = 'CREATE TABLE IF NOT EXISTS snapshot_extra_info (
id INTEGER,
info_key VARCHAR,
info_value VARCHAR,
snapshot_id INTEGER,
PRIMARY KEY (id)
);';
self::$dbo->exec( $extra_info_table_query );
// Create storage_credentials table.
$storage_credentials_table_query = 'CREATE TABLE IF NOT EXISTS snapshot_storage_credentials (
id INTEGER,
storage_service VARCHAR,
info_key VARCHAR,
info_value VARCHAR,
PRIMARY KEY (id)
);';
self::$dbo->exec( $storage_credentials_table_query );
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function create_table() {\n\n\t\tglobal $wpdb;\n\n\t\t$table_name \t = $this->table_name;\n\t\t$charset_collate = $wpdb->get_charset_collate();\n\n\t\t$query = \"CREATE TABLE {$table_name} (\n\t\t\tid bigint(10) NOT NULL AUTO_INCREMENT,\n\t\t\tname text NOT NULL,\n\t\t\tdate_created datetime NOT NULL,\n\t\t\tdate_modified datetime NOT NULL,\n\t\t\tstatus text NOT NULL,\n\t\t\tical_hash text NOT NULL,\n\t\t\tPRIMARY KEY id (id)\n\t\t) {$charset_collate};\";\n\n\t\trequire_once( ABSPATH . 'wp-admin/includes/upgrade.php' );\n\t\tdbDelta( $query );\n\n\t}",
"protected function createMigrationTable()\n {\n $migration_table = $this->config_file->getMigrationTable();\n\n $resource = $this->db_adapter->query(\"\n CREATE TABLE $this->migration_table (\n file VARCHAR PRIMARY KEY,\n ran_at TIMESTAMP DEFAULT NOW()\n );\n \");\n }",
"protected function createMigrationHistoryTable()\n {\n $tableName = $this->db->schema->getRawTableName($this->migrationTable);\n $this->stdout(\"Creating migration history table \\\"$tableName\\\"...\", Console::FG_YELLOW);\n\n $this->db->createCommand()->createTable($this->migrationTable, [\n 'version' => 'String',\n 'apply_time' => 'DateTime',\n ], 'ENGINE = MergeTree() PRIMARY KEY (version) ORDER BY (version)')->execute();\n\n $this->addMigrationHistory(self::BASE_MIGRATION);\n\n $this->stdout(\"Done.\\n\", Console::FG_GREEN);\n }",
"public static function table () {\n\t\tglobal $pdo_handler;\n\t\t$pdo_handler->query( \"\n\t\t\tCREATE TABLE IF NOT EXISTS `etc_texts_history` (\n\t\t\t `text_id` int(11) NOT NULL,\n\t\t\t `user_id` int(11) NOT NULL,\n\t\t\t `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\t\t `text` mediumtext COLLATE utf8_unicode_ci NOT NULL,\n\t\t\t PRIMARY KEY (`text_id`,`user_id`,`timestamp`)\n\t\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;\n\t\t\" );\n\t}",
"public function createTable()\n\t{\n\t\tphpCAS::traceBegin();\n\n\t\t// initialize the PDO object for this method\n\t\t$pdo = $this->getPdo();\n\t\t$this->setErrorMode();\n\n\t\ttry {\n\t\t\t$pdo->beginTransaction();\n\n\t\t\t$query = $pdo->query($this->_createTableSQL());\n\t\t\t$query->closeCursor();\n\n\t\t\t$pdo->commit();\n\t\t}\n\t\tcatch(PDOException $e) {\n\t\t\t// attempt rolling back the transaction before throwing a phpCAS error\n\t\t\ttry {\n\t\t\t\t$pdo->rollBack();\n\t\t\t}\n\t\t\tcatch(PDOException $e) {}\n\t\t\tphpCAS::error('error creating PGT storage table: ' . $e->getMessage());\n\t\t}\n\n\t\t// reset the PDO object\n\t\t$this->resetErrorMode();\n\n\t\tphpCAS::traceEnd();\n\t}",
"protected abstract function createTestTable();",
"public function create_table() {\n\n\t\tglobal $wpdb;\n\n\t\trequire_once( ABSPATH . 'wp-admin/includes/upgrade.php' );\n\n\t\tif ( $wpdb->get_var( \"SHOW TABLES LIKE '$this->table_name'\" ) == $this->table_name ) {\n\t\t\treturn;\n\t\t}\n\n\t\t$sql = \"CREATE TABLE \" . $this->table_name . \" (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT,\n\t\tuser_id bigint(20) NOT NULL,\n\t\tusername varchar(50) NOT NULL,\n\t\temail varchar(50) NOT NULL,\n\t\tname mediumtext NOT NULL,\n\t\tproduct_count bigint(20) NOT NULL,\n\t\tsales_value mediumtext NOT NULL,\n\t\tsales_count bigint(20) NOT NULL,\n\t\tstatus mediumtext NOT NULL,\n\t\tnotes longtext NOT NULL,\n\t\tdate_created datetime NOT NULL,\n\t\tPRIMARY KEY (id),\n\t\tUNIQUE KEY email (email),\n\t\tKEY user (user_id)\n\t\t) CHARACTER SET utf8 COLLATE utf8_general_ci;\";\n\n\t\tdbDelta( $sql );\n\n\t\tupdate_option( $this->table_name . '_db_version', $this->version );\n\t}",
"private function newTrackingTable () {\n\t\t//set timezone for timestamps\n\t\tdate_default_timezone_set('America/Toronto');\n\t\t$query = \n\t\t\t\"CREATE TABLE IF NOT EXISTS a2_tracking (id INTEGER AUTO_INCREMENT, hostname VARCHAR(100), url VARCHAR(100), timestamp VARCHAR(20), sequence INTEGER, increment INTEGER, count INTEGER, PRIMARY KEY (id))\";\n\t\t$this->sendQuery($query);\n\t}",
"public function createSchemaTable();",
"private function createDummyTable() {}",
"public function createTable()\n {\n $sql = \"\n CREATE TABLE IF NOT EXISTS `\".self::TABLE.\"`(\n `migration` VARCHAR(20) NOT NULL,\n `up` VARCHAR(1000) NOT NULL,\n `down` VARCHAR(1000) NOT NULL\n ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;\n \";\n\n $this->adapter->query($sql, Adapter::QUERY_MODE_EXECUTE);\n }",
"public static function createGooglePlayPaymentHistoryTable()\n\t{\n\t\treturn TDOTableManager::createGenericTable(\"CREATE TABLE tdo_googleplay_payment_history(userid VARCHAR(36) NOT NULL, product_id VARCHAR(128) NOT NULL, purchase_timestamp INT NOT NULL DEFAULT 0, expiration_timestamp INT NOT NULL DEFAULT 0, INDEX tdo_googleplay_payment_history_userid (userid))\");\n\t}",
"private function createDBTable() {\n\t\tglobal $wpdb;\n\n\t\tif ( $wpdb->get_var( \"SHOW TABLES LIKE '\" . $this->debug_table . \"'\" ) !== $this->debug_table ) {\n\t\t\t$sql = 'CREATE TABLE `' . $this->debug_table . '` (\n\t\t\t\t`id` INT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\t\t\t`timestamp` TIMESTAMP NOT NULL,\n\t\t\t\t`blog` INT(9) NOT NULL,\n\t\t\t\t`message` text NOT NULL\n\t\t\t);';\n\t\t\trequire_once( ABSPATH . 'wp-admin/includes/upgrade.php' );\n\t\t\tdbDelta( $sql );\n\t\t}\n\t}",
"function table_creation(){\n\t\tglobal $wpdb;\n\t\t\t$table = $wpdb->prefix.'wiki';\n\t\t\t$sql = \"CREATE TABLE IF NOT EXISTS `$table`(\n\t\t\t\t`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n\t\t\t\t`post_id` bigint(20) NOT NULL,\n\t\t\t\t`author_id` bigint(20) NOT NULL,\t\n\t\t\t\t`post_content` longtext collate utf8_general_ci,\n\t\t\t\t`percent` int(100),\n\t\t\t\t`matched_keys` longtext collate utf8_general_ci,\n\t\t\t\t`time` TIMESTAMP,\t\t\t\t\n\t\t\t\tPRIMARY KEY(id)\n\t\t\t\t\n\t\t\t\t)\";\n\t\t\t//loading the dbDelta function manually\n\t\t\tif(!function_exists('dbDelta')) :\n\t\t\t\trequire_once(ABSPATH.'wp-admin/includes/upgrade.php');\n\t\t\tendif;\n\t\t\tdbDelta($sql);\n\t}",
"public function create()\n {\n parent::create();\n\n $sheet = $this->add_sheet();\n\n $this->add_table($sheet, $this->database, $this->generate_table());\n }",
"public static function create_table() {\r\n global $wpdb;\r\n $charset_collate = $wpdb->get_charset_collate();\r\n // myhome_locations store locations. It helps when filtering properties by locations (lat/lng)\r\n $table_name = $wpdb->prefix . 'myhome_locations';\r\n\r\n $query = \"CREATE TABLE $table_name (\r\n\t\t\tid bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,\r\n\t\t\tpost_id bigint(20) UNSIGNED NOT NULL,\r\n\t\t\tlat decimal(10, 8) NOT NULL,\r\n\t\t\tlng decimal(11, 8) NOT NULL,\r\n\t\t\tPRIMARY KEY (id)\r\n\t\t\t) $charset_collate;\";\r\n\r\n require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );\r\n dbDelta( $query );\r\n }",
"public function initTable()\n\t{\n\t\t$this->db->exec(\"\n\t\t\tCREATE TABLE `cache` (\n\t\t\t `id` varbinary(255) NOT NULL,\n\t\t\t `data` longblob NOT NULL,\n\t\t\t `date_expire` datetime DEFAULT NULL,\n\t\t\t INDEX date_expire_idx (date_expire),\n\t\t\t PRIMARY KEY (`id`)\n\t\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\t\t\");\n\t}",
"private function _createTable() {\n $query = \"\n CREATE TABLE `seo_metadata` (\n `metadata_id` int(11) NOT NULL auto_increment,\n `seo_id` char(60) NOT NULL,\n `seo_title` varchar(255) NOT NULL,\n `seo_description` varchar(255) NOT NULL,\n `seo_keyword` varchar(255) NOT NULL,\n PRIMARY KEY (`metadata_id`),\n KEY `id_idx` (`id`)\n )\";\n $this->getAdapter()->query( $query );\n }",
"abstract public function createTable();",
"private function createNewTable() {\n //generate the create table statement\n $sql = \"create table $this->tableName(\";\n $comma = \"\";\n $keyNameList = [];\n foreach ($this->columns as $column /* @var $column DbColumn */) {\n $sql .= \" $comma $column->columnName $column->dataType $column->extraStuff\";\n $comma = \",\";\n if ($column->primaryKey === true) {\n $keyNameList[] = $column->columnName;\n }\n }\n //generate the primary key list, if any are present\n $primaryKeySql = \"\";\n if (count($keyNameList) > 0) {\n $primaryKeySql = \"primary key(\";\n $comma = \"\";\n foreach ($keyNameList as $keyName) {\n $primaryKeySql = \"$primaryKeySql $comma $keyName\";\n $comma = \",\";\n }\n $primaryKeySql = \",$primaryKeySql)\";\n }\n\n //constraints\n $cSql = \"\";\n //we are assuming that there is at least one table. otherwise, the query would fail anyway.\n $comma = \",\";\n foreach ($this->constraints as $c) {\n $cSql .= \" $comma\";\n switch ($c->constraintType) {\n case \"foreign key\":\n $cSql .= \" FOREIGN KEY($c->columnName) REFERENCES $c->referencesTableName($c->referencesColumnName)\";\n break;\n }\n }\n $sql = \"$sql $primaryKeySql $cSql)\";\n return DbManager::nonQuery($sql);\n }",
"public function initialize()\n {\n $schema = new Schema();\n\n $snapshotsTable = $schema->createTable(self::SNAPSHOTS_TABLE);\n $snapshotsTable->addColumn('id', 'integer', ['autoincrement' => true]);\n $snapshotsTable->addColumn('aggregate_type', 'string');\n $snapshotsTable->addColumn('aggregate_id', 'string');\n $snapshotsTable->addColumn('type', 'string');\n $snapshotsTable->addColumn('version', 'integer');\n $snapshotsTable->addColumn('snapshot', 'text');\n $snapshotsTable->setPrimaryKey(['id']);\n\n $queries = $schema->toSql($this->connection->getDatabasePlatform());\n $this->connection->transactional(function(Connection $connection) use ($queries) {\n foreach ($queries as $query) {\n $connection->exec($query);\n }\n });\n }",
"static private function create_tables(){\n require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );\n self::create_views_table();\n }",
"function createTable() {\n print \"\\nCreate table: \".$dbtable.\"\\n\";\n if (createDB()) {\n print \"OK\\n\";\n }\n interceptExit();\n }",
"function create_table(){\n global $wpdb;\n\n require_once(ABSPATH . \"wp-admin\" . '/includes/upgrade.php');\n\n $table_name = $wpdb->base_prefix . $this->table;\n\n $sql = \"CREATE TABLE IF NOT EXISTS $table_name (\n id bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n post_id bigint(20) unsigned,\n blog_id mediumint(9) NOT NULL,\n post_author bigint(20) unsigned,\n post_date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,\n post_date_gmt datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,\n post_content longtext,\n post_title text,\n post_excerpt text,\n post_status varchar(20) DEFAULT 'post_status',\n post_type varchar(20) DEFAULT 'post',\n post_modified_gmt datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,\n post_modified datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,\n guid varchar(255),\n UNIQUE KEY id (id)\n );\";\n\n dbDelta( $sql );\n }",
"public static function create_table()\n {\n require_once ABSPATH.'wp-admin/includes/upgrade.php';\n\n // Access to Wordpress Database\n global $wpdb;\n\n // Query for creating Keys Table\n $sql = \"CREATE TABLE IF NOT EXISTS `bitpay_transactions` (\n `id` int(11) not null auto_increment,\n `lead_id` varchar(1000) not null,\n `buyer_email` varchar(1000) not null,\n PRIMARY KEY (`id`)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;\";\n\n try {\n // execute SQL statement\n dbDelta($sql);\n } catch (\\Exception $e) {\n error_log('[Error] In GFBitPayAdmin::create_table() function on line ' . $e->getLine() . ', with the error \"' . $e->getMessage() . '\" .');\n throw $e;\n }\n }",
"public function createTable()\n {\n $this->dbInstance->query(\"CREATE TABLE IF NOT EXISTS Image\n (\n ImageID int NOT NULL AUTO_INCREMENT,\n Name varchar(255) NOT NULL,\n File varchar(255) NOT NULL,\n Thumb varchar(255) NOT NULL,\n uploadDate DATETIME DEFAULT CURRENT_TIMESTAMP,\n UserFK int,\n PRIMARY KEY (ImageID),\n FOREIGN KEY (UserFK) REFERENCES User(UserID) ON DELETE CASCADE\n )\n \");\n }",
"public function create_table()\n\t{\n\t\tglobal $wpdb;\n\n\t\t$charset_collate = '';\n\t\tif ( version_compare( mysql_get_server_info(), '4.1.0', '>=' ) )\n\t\t{\n\t\t\tif ( ! empty( $wpdb->charset ) )\n\t\t\t{\n\t\t\t\t$charset_collate = \"DEFAULT CHARACTER SET {$wpdb->charset}\";\n\t\t\t}//end if\n\n\t\t\tif ( ! empty( $wpdb->collate ) )\n\t\t\t{\n\t\t\t\t$charset_collate .= \" COLLATE {$wpdb->collate}\";\n\t\t\t}//end if\n\t\t}//end if\n\n\t\trequire_once ABSPATH . 'wp-admin/upgrade-functions.php';\n\t\t$sql = \"\n\t\t\tCREATE TABLE {$this->table} (\n\t\t\t\t`id` int unsigned NOT NULL auto_increment,\n\t\t\t\t`date` DATE NOT NULL,\n\t\t\t\t`property` varchar(20) NOT NULL,\n\t\t\t\t`url` varchar(255) NOT NULL,\n\t\t\t\t`post_id` int NOT NULL DEFAULT 0,\n\t\t\t\t`views` mediumint unsigned NOT NULL DEFAULT 0,\n\t\t\t\t`added_timestamp` timestamp DEFAULT 0,\n\t\t\t\tPRIMARY KEY (id),\n\t\t\t\tKEY `date` (`date`),\n\t\t\t\tKEY `post_id` (`post_id`),\n\t\t\t\tKEY `url` (`url`)\n\t\t\t) ENGINE=InnoDB $charset_collate\n\t\t\";\n\n\t\tdbDelta( $sql );\n\t}",
"public function create()\n {\n $db = XenForo_Application::get('db');\n $db->query('CREATE TABLE `' . self::DB_TABLE . '`\n (`threema_id` CHAR(8) NOT NULL PRIMARY KEY,\n `public_key` CHAR(64) NOT NULL)\n ');\n }",
"public static function stucture($table)\n {\n $drop = \"DROP TABLE IF EXISTS `$table`;\";\n $res = Driver::read('SHOW CREATE TABLE '.$table);\n $struct = $res[0]['Create Table'];\n //\n return \"\\n\\n-- $table\\n\\n-- '$table' Table Structure\\n$drop\\n\".$struct.\";\\n\\n\";\n }",
"private function create_table($table) {\n\t global $wpdb;\n\t require_once (ABSPATH . 'wp-admin/includes/upgrade.php');\n\t switch ($table) {\n\t \n\t case \"$wpdb->prefix\" . \"tr_ratting_data\" :\n\t $sql = \"CREATE TABLE `\" . $wpdb->prefix . \"tr_ratting_data`(\n\t\t\t\t\t\t `id` INT(200) NOT NULL AUTO_INCREMENT,\n\t\t\t\t\t\t `owner_id` INT(100) NOT NULL COMMENT 'references a char from chars table',\n\t\t\t\t\t\t `date_acquired` DATETIME NOT NULL COMMENT 'when char gets its ticks ingame',\n\t\t\t\t\t\t `amount` FLOAT NOT NULL,\n `system_id` INT(20) NULL,\n `npc_kills` INT(20) NULL COMMENT 'total amount of npc kills within the tick',\n `ref_id` VARCHAR(100) NOT NULL,\n\t\t\t\t\t\t PRIMARY KEY(`id`),\n UNIQUE (`ref_id`)\n\t\t\t\t\t\t) ENGINE = InnoDB;\";\n\t \n\t dbDelta ( $sql );\n\t break;\n\t case \"$wpdb->prefix\" . \"tr_characters\" :\n\t $sql = \"CREATE TABLE `\" . $wpdb->prefix . \"tr_characters`(\n\t\t\t\t\t\t `id` INT(200) NOT NULL AUTO_INCREMENT,\n `corp_id` INT(10) NOT NULL,\n\t\t\t\t\t\t `owner_id` INT(100) NOT NULL,\n\t\t\t\t\t\t `ownerName2` VARCHAR(200) NOT NULL,\n\t\t\t\t\t\t PRIMARY KEY(`id`),\n\t\t\t\t\t\t UNIQUE (`owner_id`)\n\t\t\t\t\t\t) ENGINE = InnoDB;\";\n\t \n\t dbDelta ( $sql );\n\t break;\n\t case \"$wpdb->prefix\" . \"tr_structures_income\" :\n\t $sql = \"CREATE TABLE `\" . $wpdb->prefix . \"tr_structures_income`(\n\t\t\t\t\t\t `id` INT(250) NOT NULL AUTO_INCREMENT,\n\t\t\t\t\t\t `ref_id` VARCHAR(100) NOT NULL,\n\t\t\t\t\t\t `date_acquired` DATETIME NOT NULL,\n\t\t\t\t\t\t `amount` FLOAT NOT NULL,\n `ref_type` VARCHAR(100) NOT NULL,\n\t\t\t\t\t\t PRIMARY KEY(`id`)\n\t\t\t\t\t\t) ENGINE = InnoDB;\";\n\t \n\t dbDelta ( $sql );\n\t break;\n\t \n\t case \"$wpdb->prefix\" . \"tr_pvp_chars_kills\" :\n\t $sql = \"CREATE TABLE `\" . $wpdb->prefix . \"tr_pvp_chars_kills`(\n\t\t\t\t\t\t `id` INT(250) NOT NULL AUTO_INCREMENT,\n\t\t\t\t\t\t `char_id` VARCHAR(250) NOT NULL,\n\t\t\t\t\t\t `corp_id` VARCHAR(250) NOT NULL,\n\t\t\t\t\t\t `kill_id` VARCHAR(225) NOT NULL,\n\t\t\t\t\t\t `timestamp` DATETIME NOT NULL,\n\t\t\t\t\t\t PRIMARY KEY(`id`),\n\t\t\t\t\t\t UNIQUE KEY `character_kills` (`char_id`,`kill_id`)\n\t\t\t\t\t\t) ENGINE = InnoDB;\";\n\t \n\t dbDelta ( $sql );\n\t break;\n\t case \"$wpdb->prefix\" . \"tr_users_chars\" :\n\t $sql = \"CREATE TABLE `\" . $wpdb->prefix . \"tr_users_chars`(\n\t\t\t\t\t\t`uc_id` INT(10) NOT NULL AUTO_INCREMENT ,\n\t\t\t\t\t\t`user_id` INT(10) NOT NULL ,\n\t\t\t\t\t\t`char_id` INT(10) NOT NULL ,\n\t\t\t\t\t\t`is_main_char` INT(1) NOT NULL ,\n\t\t\t\t\t\tPRIMARY KEY (`uc_id`)\n\t\t\t\t\t\t) ENGINE = InnoDB;\";\n\t \n\t dbDelta ( $sql );\n\t break;\n\t }\n\t}"
] |
[
"0.66499627",
"0.66125643",
"0.65199023",
"0.65078014",
"0.63635045",
"0.6335155",
"0.6324319",
"0.6307785",
"0.6246677",
"0.623937",
"0.6201642",
"0.6147202",
"0.6125693",
"0.61248225",
"0.6120119",
"0.6104153",
"0.6096735",
"0.6096077",
"0.6079459",
"0.6066584",
"0.6065976",
"0.6061956",
"0.60555685",
"0.60397136",
"0.594778",
"0.5908171",
"0.58801866",
"0.5873826",
"0.5866861",
"0.58221376"
] |
0.74774563
|
0
|
Get extra information on the given snapshot.
|
public function get_extra_snapshot_info( $snapshot_id ) {
if ( ! empty( $snapshot_id ) ) {
$data = [];
$result = self::$dbo->query( "SELECT * FROM snapshot_extra_info WHERE snapshot_id = $snapshot_id" );
while ( $row = $result->fetchArray() ) {
$data[ $row['info_key'] ] = $row['info_value'];
}
return $data;
}
return false;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getExtraInfo()\n {\n return $this->extra;\n }",
"public function getExtraInformation() {\n return $this->extra;\n }",
"public function extraInfo();",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getAdditionalInformation() {}",
"public function getExtra();",
"abstract public function getSnapshot();",
"public function getExtra()\n {\n return $this->extra;\n }",
"public function getExtra()\n {\n return $this->extra;\n }",
"public function getExtra()\n {\n return json_decode($this->extra);\n }",
"public function getEventAdditionalInfo() {\n\t\treturn ($this->eventAdditionalInfo);\n\t}",
"public function getExtra($key);",
"public function getExtraData();",
"public function getAdditionalInformation()\n {\n return $this->additionalInformation;\n }",
"public function getSnapshot();",
"public function getAdditionalInformation()\n {\n if (array_key_exists(\"additionalInformation\", $this->_propDict)) {\n return $this->_propDict[\"additionalInformation\"];\n } else {\n return null;\n }\n }",
"private function _get_extra_info()\n {\n if (parent::is_cached('album_extra', $this->id)) {\n return parent::get_from_cache('album_extra', $this->id);\n }\n\n $sql = \"SELECT \" .\n \"COUNT(DISTINCT(`song`.`artist`)) AS `artist_count`, \" .\n \"COUNT(`song`.`id`) AS `song_count`, \" .\n \"SUM(`song`.`time`) as `total_duration`,\" .\n \"`song`.`catalog` as `catalog_id`,\".\n \"`artist`.`name` AS `artist_name`, \" .\n \"`artist`.`prefix` AS `artist_prefix`, \" .\n \"`artist`.`id` AS `artist_id` \" .\n \"FROM `song` INNER JOIN `artist` \" .\n \"ON `artist`.`id`=`song`.`artist` \";\n\n if (AmpConfig::get('catalog_disable')) {\n $sql .= \"LEFT JOIN `catalog` ON `catalog`.`id` = `song`.`catalog` \";\n }\n\n $suite_array = $this->album_suite;\n if (!count($suite_array)) {\n $suite_array[] = $this->id;\n }\n\n $idlist = '(' . implode(',', $suite_array) . ')';\n $sql .= \"WHERE `song`.`album` IN $idlist \";\n\n if (AmpConfig::get('catalog_disable')) {\n $sql .= \"AND `catalog`.`enabled` = '1' \";\n }\n if (!count($this->album_suite)) {\n $sql .= \"GROUP BY `song`.`album`\";\n } else {\n $sql .= \"GROUP BY `song`.`artist`\";\n }\n\n debug_event(\"Album\", \"$sql\", \"6\");\n\n $db_results = Dba::read($sql);\n\n $results = Dba::fetch_assoc($db_results);\n\n $art = new Art($this->id, 'album');\n $art->get_db();\n $results['has_art'] = make_bool($art->raw);\n $results['has_thumb'] = make_bool($art->thumb);\n\n if (AmpConfig::get('show_played_times')) {\n $results['object_cnt'] = Stats::get_object_count('album', $this->id);\n }\n\n parent::add_to_cache('album_extra',$this->id,$results);\n\n return $results;\n\n }",
"public function getExtraFields()\n {\n return isset($this->extraFields) ? $this->extraFields : null;\n }",
"public function getExtraPageData();",
"public function extra();",
"public function getAdditionalInformation()\n {\n return isset($this->AdditionalInformation) ? $this->AdditionalInformation : null;\n }",
"public function getSnapshotData() {}",
"public function get_additional_info()\n {\n return array();\n }"
] |
[
"0.6767775",
"0.6689729",
"0.6672918",
"0.6311579",
"0.6311579",
"0.6311285",
"0.6311285",
"0.6311285",
"0.6311285",
"0.631104",
"0.631104",
"0.631104",
"0.62568164",
"0.60623014",
"0.60447097",
"0.60447097",
"0.580286",
"0.5760969",
"0.5753105",
"0.5750081",
"0.5731442",
"0.56863314",
"0.55927575",
"0.5583104",
"0.556122",
"0.55507016",
"0.55130076",
"0.55096006",
"0.5509221",
"0.5453422"
] |
0.7201986
|
0
|
Get backup info by name, useful for backups with custom name.
|
public function get_backup_by_name( $name = '' ) {
if ( ! empty( $name ) ) {
return self::$dbo->querySingle( "SELECT * FROM snapshots WHERE name LIKE '$name'", true );
}
return false;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getFromName($name)\n\t{\n\t\treturn $this->zipArchive->getFromName($name);\n\t}",
"public function getInfo($name) {}",
"function get_by_name($name)\n\t{\n \t\t$this->db->where('CMS_BucketsName', $name);\n\t\treturn $this->db->get($this->table)->row_array();\n\t}",
"public function getBackupData()\n {\n return $this->repository->getBackupData();\n }",
"function DNUI_get_backup() {\r\n $basePlugin = plugin_dir_path(__FILE__) . '../backup/';\r\n $urlBase = plugin_dir_url(__FILE__) . '../backup/';\r\n\r\n $out = array();\r\n $backups = DNUI_scan_dir($basePlugin);\r\n foreach ($backups as $backup) {\r\n $file = DNUI_scan_dir($basePlugin . $backup);\r\n array_push($out, array('id' => $backup, 'urlBase' => $urlBase, 'files' => $file));\r\n }\r\n return $out;\r\n}",
"public function get($name) {\n\t\tif(isset($name) && strlen($name) >= 1) {\n\t\t\t$banner = $this -> Banner -> findByName($name);\n\t\t\treturn $banner['Banner']['content'];\n\t\t} else {\n\t\t\treturn array();\n\t\t}\n\t}",
"public function getHabboByName($name);",
"public function getBackupConfig()\n {\n return $this->backup_config;\n }",
"public function getBackupKind()\n {\n return $this->backup_kind;\n }",
"public function getLBInfo( $name = null ) {\n\t\tif ( is_null( $name ) ) {\n\t\t\treturn $this->mLBInfo;\n\t\t} else {\n\t\t\tif ( array_key_exists( $name, $this->mLBInfo ) ) {\n\t\t\t\treturn $this->mLBInfo[$name];\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t}",
"public function actionBackup($name){\n /* 所有数据表 */\n $alltables = Yii::$app->db->createCommand('SHOW TABLE STATUS')->queryAll();\n $alltables = array_map('array_change_key_case', $alltables);\n $alltables = ArrayHelper::getColumn($alltables, 'name');\n\n $name = trim($name,',');\n if ($name == 'all') {\n /* 备份所有数据 */\n $tables = $alltables;\n } else if(strpos($name, ',')){\n /* 备份部分数据表 */\n $tables = explode(',', $name);\n } else {\n /* 备份一个数据表 */\n $tables = [$name];\n }\n /* 检查表是否存在 */\n foreach ($tables as $table) {\n if (!in_array($table,$alltables)) {\n $this->stdout($table.\" table no find ...\\n\", Console::FG_RED);\n die();\n }\n }\n /* 创建migration */\n foreach ($tables as $table) {\n //$migrate = new MigrateCreate();\n $migrate = Yii::createObject([\n 'class' => 'e282486518\\migration\\components\\MigrateCreate',\n 'migrationPath' => '@app/migrations'\n ]);\n $migrate->create($table);\n unset($migrate);\n }\n\n $this->stdout(\"backup success.\\n\", Console::FG_GREEN);\n }",
"public function getInfo() {\n\t\t\t$rec = array(\n\t\t\t\t'ff' => array(\n\t\t\t\t\t'name' => 'Firefox',\n\t\t\t\t\t'href' => 'https://www.mozilla.org/en-US/firefox/new/',\n\t\t\t\t\t'ttl' => 'Open the Firefox download page.'\n\t\t\t\t),\n\t\t\t\t'gc' => array(\n\t\t\t\t\t'name' => 'Google Chrome',\n\t\t\t\t\t'href' => 'http://www.google.com/chrome/eula.html',\n\t\t\t\t\t'ttl' => 'Open the Google Chrome EULA page.'\n\t\t\t\t)\n\t\t\t);\n\t\t\t\n\t\t\t$isValid = false;\n\t\t\t\n\t\t\tforeach ($rec as $key => $value) {\n\t\t\t\tif ($this->bc == $key) {\n\t\t\t\t\t$isValid = true;\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif (!$isValid) {\n\t\t\t\t$this->bc = 'ff';\n\t\t\t}\n\t\t\t\n\t\t\t$info = array(\n\t\t\t\t'name' => $rec[$this->bc]['name'],\n\t\t\t\t'href' => $rec[$this->bc]['href'],\n\t\t\t\t'ttl' => $rec[$this->bc]['ttl']\n\t\t\t);\n\t\t\t\n\t\t\treturn $info;\n\t\t}",
"public function getBackups() : array\n {\n return $this->backups;\n }",
"public function getVolumeBackup()\n {\n return $this->volume_backup;\n }",
"public function getWallet($name = null);",
"function getFtpAccount($name) {\n\treturn ZFtp::getFtpAccount($name);\n}",
"public function getByName($name) {\n $select_sql = \"SELECT * FROM works WHERE `name`='$name' LIMIT 1\";\n $query = mysqli_query($this->database, $select_sql);\n\n return mysqli_fetch_assoc($query);\n }",
"public static function fetch_name($name) {\n\t\tpreg_match('/\\!name\\=\\\"(.*?)\\\"/', $name, $output);\n\t\treturn $output[1];\n\t}",
"public function getName(){\n\n return $this->nameInsideZip;\n }",
"function getParam( $name ) {\n\t\t$db = JFactory::getDbo();\n\t\t$db->setQuery('SELECT manifest_cache FROM #__extensions WHERE name = \"com_mapyandex\"');\n\t\t$manifest = json_decode( $db->loadResult(), true );\n\t\treturn $manifest[ $name ];\n\t}",
"public function getName()\n {\n return $this->nameInsideZip;\n }",
"protected function get($name)\n {\n return isset($this->disks[$name]) ? $this->disks[$name] : $this->resolve($name);\n }",
"public function getMemberInfo($name) {\n\t\tif (\\array_key_exists($name, $this->_members))\n\t\t\treturn $this->_members[$name];\n\t}",
"public function getBackupsList() {\n $config = $this->getConfig();\n $pattern = '/(backup_([0-9_-]*)_id([0-9]+))\\.(zip|sql)/ui';\n $backups = array();\n\n $dir = @scandir($config['warehouse']);\n\n if (!is_array($dir) || empty($dir)) {\n return array();\n }\n\n foreach ($dir as $file) {\n $backupInfo = $this->getBackupInfoByFilename($file);\n\n if (!empty($backupInfo)) {\n\n $backups[$backupInfo['id']]['ftp'][strtolower($backupInfo['ext'])] = array(\n 'id' => $backupInfo['id'],\n 'name' => $backupInfo['name'],\n 'raw' => $backupInfo['raw'],\n 'ext' => $backupInfo['ext'],\n 'date' => $backupInfo['date'],\n 'time' => $backupInfo['time'],\n );\n }\n }\n krsort($backups);\n return $backups;\n }",
"public function getPart($name)\n {\n if (array_key_exists($name, $this->parts)) {\n return $this->parts[$name];\n }\n }",
"public function getVersion($name) {\n\t\t\treturn $this->versions[$name];\n }",
"protected function get($name)\n\t{\n\t\treturn isset($this->disks[$name]) ? $this->disks[$name] : $this->resolve($name);\n\t}",
"private function getObject($name){\n return $this->cache->get($name);\n }",
"public function get(string $name)\n {\n return $this->disks[$name] ?? $this->resolve($name);\n }",
"public function getByName(string $name)\n {\n $params = [\n \"app_name\" => $name\n ];\n\n return $this->http->request(HttpMethods::GET, $this->endpoint, [], $params);\n }"
] |
[
"0.5987822",
"0.5954465",
"0.5503365",
"0.54000646",
"0.53937894",
"0.5367266",
"0.5339992",
"0.52756876",
"0.5262413",
"0.5219241",
"0.5182651",
"0.5180365",
"0.5124772",
"0.5110148",
"0.5036652",
"0.4968623",
"0.49651083",
"0.4948448",
"0.4948179",
"0.4944381",
"0.4939399",
"0.49287435",
"0.49260524",
"0.49224052",
"0.49125972",
"0.49057937",
"0.4892081",
"0.48912117",
"0.48839414",
"0.4881725"
] |
0.743041
|
0
|
Test booting up a new kernel
|
public function testBoot()
{
Kernel::boot();
$this->addToAssertionCount(1);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"abstract public function boot();",
"abstract public function boot();",
"abstract public function boot();",
"abstract public function boot();",
"public function bootstrapSystem() {}",
"public function bootstrapSystem() {}",
"private function booted()\n {\n }",
"abstract protected function initializeBasicKernel();",
"abstract protected static function boot();",
"public function boot(): void;",
"abstract protected function initializeExtendedKernel();",
"public static function boot();",
"public function boot() : void;",
"protected function setUp()\n {\n parent::setUp();\n $this->kernel = new TestKernel();\n $this->kernel->boot();\n }",
"public static function setUpBeforeClass(): void\n {\n // boot kernel, so we have access to self::$kernel\n self::bootKernel();\n }",
"private function requireKernel()\n {\n $kernelClass = getenv('KERNEL_CLASS');\n\n if ($kernelClass) {\n if (!class_exists($kernelClass)) {\n throw new \\InvalidArgumentException(sprintf(\n 'Could not find test kernel class \"%s\"',\n implode('\", \"', $kernelClass)\n ));\n }\n\n return;\n }\n\n if ($kernelPath = getenv('KERNEL_DIR')) {\n $kernelPaths = [$kernelPath . '/AppKernel.php'];\n } else {\n $kernelPaths = [\n sprintf('%s/Tests/app/AppKernel.php', getcwd()), // bundle test kernel\n sprintf('%s/app/AppKernel.php', getcwd()), // sulu/sulu test kernel\n ];\n }\n\n $found = false;\n\n foreach ($kernelPaths as $kernelPath) {\n if (file_exists($kernelPath)) {\n $found = true;\n require_once $kernelPath;\n break;\n }\n }\n\n if (false === $found) {\n throw new \\InvalidArgumentException(sprintf(\n 'Could not find test kernel in paths \"%s\"',\n implode('\", \"', $kernelPaths)\n ));\n }\n }",
"public function testSetBootstrap(): void\n {\n // The foobar_bootstrap defines a single class which is used by FoobarBench\n $process = $this->phpbench(\n 'run --bootstrap=bootstrap/foobar.bootstrap benchmarks/set2/FoobarBench.php'\n );\n\n $this->assertExitCode(0, $process);\n }",
"public function test_user_module_serivce_provider_boot(){\r\n// $test = $user_module_service_provider->boot();\r\n// $this->assertInstanceOf(UserModuleLoader::class, $test);\r\n }",
"protected static function booting()\n {\n //\n }",
"public function boot():void\n {\n //\n }",
"protected static function booted()\n {\n //\n }",
"protected static function booted()\n {\n //\n }",
"public static function booted()\n {\n }",
"public static function booted()\n {\n }",
"public function boot();",
"public function boot();",
"public function boot();",
"public function boot();",
"public static function setUpBeforeClass()\n {\n if (null !== static::$kernel) {\n static::$kernel->shutdown();\n }\n\n static::$kernel = static::createKernel();\n static::$kernel->boot();\n\n self::$container = self::$kernel->getContainer();\n\n }",
"public function boot(): void\n {\n }"
] |
[
"0.62427896",
"0.62427896",
"0.62427896",
"0.62427896",
"0.62374365",
"0.6236309",
"0.6225032",
"0.6125681",
"0.61174965",
"0.6070961",
"0.60629433",
"0.6017778",
"0.5936357",
"0.5890677",
"0.58821505",
"0.58413327",
"0.58366257",
"0.5835953",
"0.5806686",
"0.5779184",
"0.5697048",
"0.5697048",
"0.5668065",
"0.5668065",
"0.5662625",
"0.5662625",
"0.5662625",
"0.5662625",
"0.56386787",
"0.56228524"
] |
0.74598885
|
0
|
Returns the search object used in the generation of these templates.
|
public function getSearchObject()
{
if ($this->search === null)
{
$this->setSearchObject('XmlJs');
}
return $this->search;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function voyage_mikado_load_search_template() {\n\t\tglobal $voyage_mikado_IconCollections;\n\n\t\t$search_type = voyage_mikado_options()->getOptionValue('search_type');\n\n\t\t$search_icon = '';\n\t\tif(voyage_mikado_options()->getOptionValue('search_icon_pack') !== '') {\n\t\t\t$search_icon = $voyage_mikado_IconCollections->getSearchIcon(voyage_mikado_options()->getOptionValue('search_icon_pack'), true);\n\t\t}\n\n\t\t$parameters = array(\n\t\t\t'search_in_grid' => voyage_mikado_options()->getOptionValue('search_in_grid') == 'yes' ? true : false,\n\t\t\t'search_icon' => $search_icon,\n\t\t);\n\n\t\tvoyage_mikado_get_module_template_part('templates/types/'.$search_type, 'search', '', $parameters);\n\n\t}",
"function voyage_mikado_get_search() {\n\n\t\tif(voyage_mikado_active_widget(false, false, 'mkd_search_opener')) {\n\n\t\t\t$search_type = voyage_mikado_options()->getOptionValue('search_type');\n\n\t\t\tvoyage_mikado_load_search_template();\n\n\t\t}\n\t}",
"function fluid_edge_get_search() {\n fluid_edge_load_search_template();\n }",
"function ydgdict_search_template( $template ) \n{\n if ( is_tax( 'word_type' ) )\n {\n return locate_template( \"taxonomy-word_type\" );\n }\n else if ( is_post_type_archive ( 'entry' ) ) \n {\n return locate_template( \"archive-entry\" );\n }\n\n return $template;\n}",
"public function getSearch()\n {\n return $this->get(self::_SEARCH);\n }",
"public function get_search_template( $search_template ) {\n\n\t\tif ( get_query_var( 'post_type' ) === $this->post_type ) {\n\t\t\t$search_template = $this->path . '/' . $this->archive_file;\n\t\t}\n\n\t\treturn $search_template;\n\n\t}",
"function get_search_form() {\n $form = '';\n locate_template('/templates/searchform.php', true, false);\n return $form;\n}",
"public function search_template() {\n\n\t\tif( empty( $_GET['s'] ) )\n\t\t\treturn;\n\n\t\tif( empty( $_GET['s_type'] ) )\n\t\t\treturn;\n\n\t\tif( 'images' == $_GET['s_type'] && ! isset( $_GET['cgc-search'] ) ) {\n\t\t\t$args = array(\n\t\t\t\t's_post_type' => 'images',\n\t\t\t\t's_type' => 'images',\n\t\t\t\t's' => $_GET['s'],\n\t\t\t\t'cgc-search' => '1'\n\t\t\t);\n\t\t\twp_redirect( add_query_arg( $args, home_url() ) ); exit;\n\t\t}\n\n\t\tif( 'members' != $_GET['s_type'] )\n\t\t\treturn;\n\n\t\t// Check child theme\n\t\tif ( file_exists( trailingslashit( get_stylesheet_directory() ) . 'search-members.php' ) ) {\n\t\t\t$located = trailingslashit( get_stylesheet_directory() ) . 'search-members.php';\n\n\t\t// Check parent theme next\n\t\t} elseif ( file_exists( trailingslashit( get_template_directory() ) . 'search-members.php' ) ) {\n\t\t\t$located = trailingslashit( get_template_directory() ) . 'search-members.php';\n\t\t}\n\t\t//echo $located;\n\t\tif( ! empty( $located ) ) {\n\t\t\t$templates = array( 'search-members.php' );\n\t\t\tlocate_template( $templates, true, true );\n\t\t\texit;\n\t\t}\n\n\t}",
"function PREFIX_search_page_template( $template ) {\n\tif ( is_search() ) {\n\t\t$new_template = locate_template( array( 'searchpage.php' ) );\n\n\t\tif ( '' != $new_template ) {\n\t\t\treturn $new_template ;\n\t\t}\n\t}\n\n\treturn $template;\n}",
"public static function getInstance()\n {\n if (!self::$search_obj) {\n self::$search_obj = new Search();\n }\n\n return self::$search_obj;\n }",
"protected function getSearchInstance () {\n $search = Search::getInstance($this->data['attrs']['source_id']);\n\n if ($this->displayNotices($search->getErrors())) {\n return false;\n }\n $this->displayNotices($search->getWarnings(), true);\n\n return $search;\n }",
"public static function search()\n {\n return new DIndexSearch(get_called_class());\n }",
"public function get() {\n\n\t\treturn $this->search;\n\n\t}",
"public function getSearch()\n {\n return $this->search;\n }",
"public function getSearch()\n {\n return $this->search;\n }",
"public function search()\n\t{\n\t\treturn self::extraSearch($this);\n\t}",
"public function getSearch();",
"public function search()\n {\n return Search::i();\n }",
"function roots_get_search_form($form) {\n $form = '';\n locate_template('/templates/searchform.php', true, false);\n return $form;\n}",
"public function findTemplate() {\n\n\t\t$templatePath = $this->_template;\n\n\t\tif (empty($templatePath)) {\n\n\t\t\t$templateFolders = array();\n\n\t\t\tif (strlen($tmp = $this->_Model->templatePath)) {\n\t\t\t\t$templateFolders[] = \\Finder::joinPath(APP_ROOT, $tmp);\n\t\t\t}\n\t\t\t// bubble up for template path\n\t\t\telseif (strlen($tmp = $this->_Model->getBubbler()->templatePath)) {\n\t\t\t\t$templateFolders[] = \\Finder::joinPath(APP_ROOT, $tmp);\n\t\t\t}\n\t\t\t// I should add the root page model's template path if exists\n\t\t\t$templateFolders[] = NINJA_ROOT . '/src/ninja/Mod/' . $this->_Module->getModName() . '/template';\n\n\t\t\t$templateFolders = array_unique($templateFolders);\n\n\t\t\t$templateNames = array();\n\t\t\t// I respect what's set in the model, and it should not be invalid\n\t\t\tif (strlen($templateName = $this->_Model->template)) {\n\t\t\t\t$templateNames[]= $templateName;\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$Module = $this->_Module;\n\t\t\t\t$modName = $Module->getModName();\n\n\t\t\t\t$a = $Module::moduleNameByClassname(get_class($this->_Model));\n\t\t\t\t$templateNames[] = \\Finder::joinPath($modName, \\Finder::classToPath($a));\n\t\t\t\t$b = $Module::moduleNameByClassname(get_class($this->_Module));\n\t\t\t\t$templateNames[] = \\Finder::joinPath($modName, \\Finder::classToPath($b));\n\t\t\t}\n\n\t\t\t$extension = '.html.mustache';\n\n\t\t\t// for debug\n\t\t\t//echop($templateFolders); echop($templateNames); die;\n\n\t\t\t$templatePath = \\Finder::fileByFolders($templateFolders, $templateNames, $extension);\n\n\t\t}\n\n\t\treturn $templatePath;\n\n\t}",
"static function get_query_resulsts_template(){\n\t\treturn HOTWPSEARCH_DIR . '/templates/query-results.php';\n\t}",
"function fluid_edge_load_search_template() {\n fluid_edge_get_module_template_part('templates/types/fullscreen', 'search');\n }",
"public function getSearch()\n {\n /** @var WebApplication|ConsoleApplication $this */\n return $this->get('search');\n }",
"public function search() {\n\n\t\t$criteria = $this->getDbCriteria();\n\n\t\t$criteria->compare('id', $this->id);\n\t\t$criteria->compare('subject', $this->subject, true);\n\t\t$criteria->compare('status', $this->status);\n\t\t$criteria->compare('template.name', $this->template_id, true);\n\n\t\t$sort = new CSort;\n\t\t$sort->defaultOrder = 'id DESC';\n\n\t\treturn new NActiveDataProvider($this, array(\n\t\t\t\t\t'criteria' => $criteria,\n\t\t\t\t\t'sort' => $sort,\n\t\t\t\t\t'pagination' => array(\n\t\t\t\t\t\t'pageSize' => 20,\n\t\t\t\t\t),\n\t\t\t\t));\n\t}",
"public function search() {\n\n $this->entity = $this->name;\n $this->conditions = $this->_getSearchConditions();\n $this->joins = $this->_getSearchJoins();\n $this->orders = $this->_getSearchOrder();\n $this->limit = $this->_getSearchLimit();\n $this->maxLimit = $this->_getSearchMaxLimit();\n $this->offset = $this->_getSearchOffset();\n $this->fields = $this->_getSearchFields();\n $this->group = $this->_getSearchGroup();\n\n// $this->setVar('entity', $this->name);\n// $this->setVar('conditions', $this->_getSearchConditions());\n// $this->setVar('joins', $this->_getSearchJoins());\n// $this->setVar('orders', $this->_getSearchOrder());\n// $this->setVar('limit', $this->_getSearchLimit());\n// $this->setVar('maxLimit', $this->_getSearchMaxLimit());\n// $this->setVar('offset', $this->_getSearchOffset());\n// $this->setVar('fields', $this->_getSearchFields());\n// $this->setVar('group', $this->_getSearchGroup());\n//\n// $this->setVar('baseAdditionalElements', $this->additionalElements);\n $this->getFieldsForSearchFunction = '_extractSearchFields';\n\n return $this->baseSearch();\n }",
"function wheels_get_search_form( $form ) {\n\t$form = '';\n\tlocate_template( '/templates/searchform.php', true, false );\n\n\treturn $form;\n}",
"public function getParam () { return $this->search; }",
"protected function search()\n\t{\n\t\treturn Phpfox::getLib('search');\t\n\t}",
"public static function getInstance() {\n if (self::$search_instance === NULL) {\n self::$search_instance = new static();\n self::$search_instance->init();\n }\n\n return self::$search_instance;\n }",
"public function getSearchObject()\n {\n $searchObject = new simpleForumTopicSearch();\n $searchObject->setState( $this->toArray() );\n return $searchObject;\n }"
] |
[
"0.6993619",
"0.6943222",
"0.69355035",
"0.66830784",
"0.6633889",
"0.6620411",
"0.6611461",
"0.651686",
"0.6505045",
"0.6455214",
"0.639906",
"0.63544047",
"0.6264046",
"0.6262883",
"0.6262883",
"0.6262648",
"0.6257046",
"0.6250885",
"0.6226637",
"0.6222568",
"0.61927927",
"0.61599475",
"0.61591643",
"0.61567736",
"0.61365056",
"0.6129383",
"0.6099108",
"0.6087446",
"0.6083837",
"0.6038811"
] |
0.74282306
|
0
|
Sets the type of search and initializes a Search object.
|
public function setSearchObject($type)
{
if (is_string($type))
{
if (strtolower($type) == "none")
{
$this->search = false;
return;
}
$class_name = 'DocBlox_Writer_Xslt_Search_'.$type;
if (!class_exists($class_name))
{
throw new Exception('Search type "'.$type.'" does not exist');
}
$this->search = new $class_name($this->getTarget());
return;
}
$this->search = $type;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setSearchType($search_type)\n {\n # Set the variable.\n $this->search_type = $search_type;\n }",
"function init_search($type, &$search, &$error)\n\t{\n\t\tglobal $phpbb_root_path, $phpEx, $user, $auth, $config, $db, $table_prefix;\n\n\t\tif (!class_exists($type) || !method_exists($type, 'keyword_search'))\n\t\t{\n\t\t\t$error = $user->lang['NO_SUCH_SEARCH_MODULE'];\n\t\t\treturn $error;\n\t\t}\n\n\t\t$error = false;\n\t\t$search = new $type($auth, $config, $db, $user, $table_prefix, $phpbb_root_path, $phpEx);\n\n\t\treturn $error;\n\t}",
"public function setType(SearchType $type)\n {\n return $this->setProperty('type', $type);\n }",
"function setSearch(&$search)\n {\n $this->_search = $search;\n }",
"public function setSearchType($searchType)\n {\n $allowedTypes = array(\n self::SEARCH_RECORDS,\n self::SEARCH_STORIES,\n self::SEARCH_STORIES_LIGHT\n );\n\n if (! in_array($searchType, $allowedTypes, true)) {\n throw new \\InvalidArgumentException('Search type must be one of the SEARCH_* values');\n }\n\n $this->searchType = $searchType;\n\n return $this;\n }",
"public function setSearch($var)\n {\n GPBUtil::checkString($var, True);\n $this->search = $var;\n\n return $this;\n }",
"private function instantiate_search_page() {\n // Build the search_types_fields and search_types_label arrays out of post_types_defs\n $search_types_fields = array();\n $search_types_label = array();\n foreach ( $this->post_type_defs as $post_type ) {\n $search_types_fields[ $post_type[ 'slug' ] ] = $post_type[ 'fields' ];\n $search_types_label[ $post_type[ 'slug' ] ] = $post_type[ 'plural_name' ];\n }\n $this->search_page = new HRHS_Search( array(\n // Using the default slug and title for now\n 'search_types_fields' => $search_types_fields,\n 'search_types_label' => $search_types_label\n ) );\n }",
"public function setSearch($search)\n {\n $this->search = $search;\n return $this;\n }",
"public function getSearchType()\n {\n return $this->search_type;\n }",
"public function getSearchType() {}",
"public function getSearchType() {}",
"public function setType(string $type): ISearchOption;",
"public function setSearchEnabled($search) {}",
"function setSearchString($search_string) {\n $this->search_string = $search_string;\n }",
"public function set_search($param)\n\t{\n\t\t$this->search = (bool)$param;\n\t\treturn $this;\n\t}",
"public function getSearchObject()\n {\n if ($this->search === null)\n {\n $this->setSearchObject('XmlJs');\n }\n\n return $this->search;\n }",
"public function __construct( ){\n parent::__construct();\n // Get and set search options.\n $this->searchOptions = new stdClass();\n $this->searchOptions->searchDescription = \"false\"; // Should we search in the description? [true,false]\n $this->searchOptions->entriesPerPage = 10; // [Min: 1. Max: 100. Default: 100.]\n $this->searchOptions->pageToGet = 1; // [Min: 1. Max: 100. Default: 1.]\n $this->searchOptions->filters = array(); // Filter our search - Array(array('name' => 'filtername','value' => 'filtervalue','paramName' => 'name','paramValue' => 'value'));\n $this->searchOptions->aspects = array(); // Aspect filter - Array(\"aspectName1\" => array(\"value1\", \"value2\", \"value3\"...),\"aspectName2\" => array(\"value1\", \"value2\", \"value3\"...)...)\n $this->searchOptions->categories = array(); // Categories for the search - Array(\"categoryID1\", \"categoryID2\", \"categoryID3\"...)\n $this->searchOptions->sortOrder = \"BestMatch\"; // Search results sorting order. [BestMatch, PricePlusShippingHighest, PricePlusShippingLowest]\n $this->searchOptions->searchQuery = \"\"; // Our search query.\n\n // Default comms header.\n $this->headers = array();\n $this->_setDefaultHeaders();\n }",
"public function processSearch($search_type)\n {\n # Loop through search types.\n foreach ($search_type as $type) {\n switch ($type) {\n case \"users\":\n # Set the fields to the data member.\n $this->setFields(array('ID', 'display', 'username', 'title', 'fname', 'lname', 'email'));\n # Set the tables to the data member.\n $this->setTables('users');\n # Perform search.\n $this->searchUsers();\n break;\n case \"subcontent\":\n # Set the fields to the data member.\n $this->setFields(array(\n 'id',\n 'title',\n 'link',\n 'file',\n 'availability',\n 'visibility',\n 'date',\n 'premium',\n 'branch',\n 'institution',\n 'publisher',\n 'text_language',\n 'text',\n 'trans_language',\n 'text_trans',\n 'hide',\n 'image',\n 'contributor'\n ));\n # Set the tables to the data member.\n $this->setTables('subcontent');\n # Perform search.\n $this->searchSubContent();\n break;\n /*\n case \"videos\":\n # Set the fields to the data member.\n $this->setFields(array('title'));\n # Set the tables to the data member.\n $this->setTables('videos');\n # Perform search.\n $this->searchVideos();\n break;\n */\n case \"all\":\n # NOTE! Not finished yet.\n # Search entire site.\n break;\n }\n }\n }",
"public function setSearch()\n\t{\n\t\t$this->search_term = $this->credentials['facebook_page_id'];\n\t}",
"function search_index_search($search_for, $type, $user, $page = 1, $per_page = 30) {\n \treturn call_user_func_array(array(SEARCH_ENGINE, 'search'), array($search_for, $type, $user, $page, $per_page));\n }",
"public function setSearchString(?string $searchString) : self\n {\n $this->initialized['searchString'] = true;\n $this->searchString = $searchString;\n return $this;\n }",
"public static function search()\n {\n return new DIndexSearch(get_called_class());\n }",
"public static function getInstance()\n {\n if (!self::$search_obj) {\n self::$search_obj = new Search();\n }\n\n return self::$search_obj;\n }",
"function search( $searchText, $params = array(), $searchTypes = array() )\n {\t\n \n $cl = new SphinxClient();\n\t \t$cl->SetServer( $this->SphinxServerHost, $this->SphinxServerPort );\n\t \t\n\t \t// Match mode\n\t \t$matchModes = array(\n\t \t\t'SPH_MATCH_ANY' => SPH_MATCH_ANY,\n\t \t\t'SPH_MATCH_ALL' => SPH_MATCH_ALL,\n\t \t\t'SPH_MATCH_PHRASE' => SPH_MATCH_PHRASE,\n\t \t\t'SPH_MATCH_BOOLEAN' => SPH_MATCH_BOOLEAN,\n\t \t\t'SPH_MATCH_EXTENDED' => SPH_MATCH_EXTENDED,\n\t \t\t'SPH_MATCH_FULLSCAN' => SPH_MATCH_FULLSCAN,\n\t \t\t'SPH_MATCH_EXTENDED2' => SPH_MATCH_EXTENDED2,\n\t \t);\t \t\n\t \t$cl->SetMatchMode((isset($params['MatchType']) and key_exists($params['MatchType'],$matchModes)) ? $matchModes[$params['MatchType']] : SPH_MATCH_ANY);\n\t \t\n\t \t \n\t \t// Perhaps anyone have an idea how to implement this type checking in Sphinx ?\n\t \t// (ezcontentobject.section_id in (1)) OR (ezcontentobject.contentclass_id in (1, 19, 20, 27, 29, 30, 31, 32, 33, 34, 40, 44, 47, 48, 50, 51, 52, 57, 59, 61) AND ezcontentobject.section_id in (3))\n\t \t// At this moment it can be implemented directly in sphinx configuration query.\n\t \t/*$limitation = false;\n if ( isset( $params['Limitation'] ) )\n {\n $limitation = $params['Limitation'];\n }\n $limitationList = eZContentObjectTreeNode::getLimitationList( $limitation );\n $sqlPermissionChecking = eZContentObjectTreeNode::createPermissionCheckingSQL( $limitationList );*/\n \n\t \t\n\t \t// Set limit, offset\t \t\n\t\t$cl->SetLimits((int)$params['SearchOffset'],(int)$params['SearchLimit']);\n\t\t\t \n\t\t// Language filter, eZFind copied and changed a little bit :D\n\t\t$ini = eZINI::instance();\n $languages = $ini->variable( 'RegionalSettings', 'SiteLanguageList' );\n $mainLanguage = $languages[0]; \n $cl->SetFilter( 'language_code',array(abs(crc32($mainLanguage))));\n \n // Fetch only not deleted records\n\t\t$cl->SetFilter( 'is_deleted',array(0));\n\t\t\n\t\t\t\n\t \t// Build section filter\n\t \t$searchSectionID = $params['SearchSectionID'];\n\t \tif ( is_numeric( $searchSectionID ) and $searchSectionID > 0 )\n { \n $cl->SetFilter( 'section_id', array( (int)$searchSectionID ) );\n }\n else if ( is_array( $searchSectionID ) )\n {\n \t$cl->SetFilter( 'section_id',$searchSectionID);\n }\n \n // Build class filter \n $searchContentClassID = isset($params['SearchContentClassID']) ? $params['SearchContentClassID'] : 0 ; \n if ( is_numeric( $searchContentClassID ) and $searchContentClassID > 0 )\n {\n \t $cl->SetFilter( 'contentclass_id', array((int)$searchContentClassID));\n }\n else if ( is_array( $searchContentClassID ) )\n { \n $cl->SetFilter( 'contentclass_id',$searchContentClassID);\n }\n \n // Build parent node filter\n $searchParentNodeID = isset($params['ParentNodeID']) ? $params['ParentNodeID'] : 0 ; \n if ( is_numeric( $searchParentNodeID ) and $searchParentNodeID > 0 )\n {\n \t $cl->SetFilter( 'parent_node_id', array((int)$searchParentNodeID));\n }\n else if ( is_array( $searchParentNodeID ) )\n { \n $cl->SetFilter( 'parent_node_id',$searchParentNodeID);\n }\n \n // Build subtree filter\n $searchSubtreeNodeID = isset($params['SearchSubTreeArray']) ? $params['SearchSubTreeArray'] : 0 ; \n if ( is_numeric( $searchSubtreeNodeID ) and $searchSubtreeNodeID > 0 )\n {\n \t $cl->SetFilter( 'pathnodes', array((int)$searchSubtreeNodeID));\n }\n else if ( is_array( $searchSubtreeNodeID ) and count( $searchSubtreeNodeID ) )\n { \n $cl->SetFilter( 'pathnodes',$searchSubtreeNodeID);\n }\n \n \n // Visibility check\n $ignoreVisibility = $params['IgnoreVisibility'] == 'true' ? true : false;\n if (!$ignoreVisibility)\n {\n \t\t$cl->SetFilter( 'is_invisible',array(0));\n } \n \n // Publish date,timestamp date filter, borrowed from ezsearchengine plugin. :) \n if ( isset( $params['SearchDate'] ) )\n \t$searchDate = $params['SearchDate'];\n\t else\n\t\t $searchDate = -1;\n\t\t\n\t if ( isset( $params['SearchTimestamp'] ) )\n\t\t $searchTimestamp = $params['SearchTimestamp'];\n\t else\n\t\t $searchTimestamp = false;\n \t\t \n \n if ( ( is_numeric( $searchDate ) and $searchDate > 0 ) or\n $searchTimestamp )\n {\n $date = new eZDateTime();\n $timestamp = $date->timeStamp();\n $day = $date->attribute('day');\n $month = $date->attribute('month');\n $year = $date->attribute('year');\n $publishedDateStop = false;\n if ( $searchTimestamp )\n {\n if ( is_array( $searchTimestamp ) )\n {\n $publishedDate = $searchTimestamp[0];\n $publishedDateStop = $searchTimestamp[1];\n }\n else\n $publishedDate = $searchTimestamp;\n }\n else\n {\n switch ( $searchDate )\n {\n case 1:\n {\n $adjustment = 24*60*60; //seconds for one day\n $publishedDate = $timestamp - $adjustment;\n } break;\n case 2:\n {\n $adjustment = 7*24*60*60; //seconds for one week\n $publishedDate = $timestamp - $adjustment;\n } break;\n case 3:\n {\n $adjustment = 31*24*60*60; //seconds for one month\n $publishedDate = $timestamp - $adjustment;\n } break;\n case 4:\n {\n $adjustment = 3*31*24*60*60; //seconds for three months\n $publishedDate = $timestamp - $adjustment;\n } break;\n case 5:\n {\n $adjustment = 365*24*60*60; //seconds for one year\n $publishedDate = $timestamp - $adjustment;\n } break;\n default:\n {\n $publishedDate = $date->timeStamp();\n }\n }\n }\n \n if ($publishedDateStop)\n {\n \t$cl->SetFilterRange('published', $publishedDate, $publishedDateStop); // Range type\n } else {\n \t$cl->SetFilterRange('published', 0, $publishedDate, true); // > type\n }\n }\n \n if ( isset( $params['SortBy'] ) )\n $sortArray = $params['SortBy'];\n else\n $sortArray = array(); \n \n // Build sort params \n \t$sortString = $this->buildSort($sortArray); \t\n \tif ($sortString != '')\n \t{\n \t\t$cl->SetSortMode(SPH_SORT_EXTENDED, $sortString); // During sorting we set extended sort mode\n \t}\n \n \n \t\n // Filter , Partly based on ezpersistenobject eZPersistentObject::conditionTextByRow() method \t\n\t\t$fitlerRanges = isset($params['Filter']) ? $params['Filter'] : null;\n\t\tif ( is_array( $fitlerRanges ) and\n count( $fitlerRanges ) > 0 )\n {\n \t\n \tforeach ($fitlerRanges as $id => $cond)\n \t{ \t\t\n \t\tif ( is_array( $cond ) )\n {\n if ( is_array( $cond[0] ) ) // = operator behaviour\n {\n \t$cl->SetFilter( 'attr_srch_int_pos'.$this->getPositionClassAttribute($id) , (int)$cond[0] ); \n }\n else if ( is_array( $cond[1] ) ) // Betweeen range\n { \n $range = $cond[1];\n $cl->SetFilterRange('attr_srch_int_pos'.$this->getPositionClassAttribute($id), (int)$range[0], (int)$range[1], $cond[0] == 'true' ); \t\n }\n else\n {\n switch ( $cond[0] )\n {\n case '>=': \n case '>': \n {\n \t $cl->SetFilterRange( 'attr_srch_int_pos'.$this->getPositionClassAttribute($id) ,0, (int)$cond[1], true );\n \n } break;\n \n case '<=': \n case '<': \n {\n \t $cl->SetFilterRange( 'attr_srch_int_pos'.$this->getPositionClassAttribute($id),0, (int)$cond[1], false );\n \n } break;\n \n \n default:\n {\n eZDebug::writeError( \"Conditional operator '$cond[0]' is not supported.\",'eZSphinx::search()' );\n } break;\n }\n\n }\n } else {\n \t$cl->SetFilter( 'attr_srch_int_pos'.$this->getPositionClassAttribute($id) , array($cond) ); \t\n }\n \t}\n }\n\t\t\n // Sphinx field weightning\n if (isset($params['FieldWeight']) and is_array($params['FieldWeight']) and count($params['FieldWeight']) > 0)\n {\n \t$tmpFields = array();\n \tforeach ($params['FieldWeight'] as $classAttributeID => $weight)\n \t{\n \t\t$tmpFields['attr_srch_pos'.$this->getPositionClassAttribute($classAttributeID)] = $weight;\n \t} \n \t$cl->SetFieldWeights($tmpFields);\n \tunset($tmpFields);\n }\n \n \n // this will work only if SPH_MATCH_EXTENDED mode is set\n $AppendExtendQuery = '';\n if (isset($params['MatchType']) and key_exists($params['MatchType'],$matchModes) and $matchModes[$params['MatchType']] == SPH_MATCH_EXTENDED)\n {\n \t$searchClassAttributeID = isset($params['SearchClassAttributeID']) ? $params['SearchClassAttributeID'] : 0 ; \n\t if ( is_numeric( $searchClassAttributeID ) and $searchClassAttributeID > 0 )\n\t {\n\t \t $AppendExtendQuery = '@attr_srch_pos'.$this->getPositionClassAttribute((int)$searchClassAttributeID).' ';\n\t }\n\t else if ( is_array( $searchClassAttributeID ) )\n\t { \n\t \n\t $SubElements = array();\n\t foreach ($searchClassAttributeID as $ClassAttributeID)\n\t {\n\t \t$SubElements[] = 'attr_srch_pos'.$this->getPositionClassAttribute($ClassAttributeID);\n\t }\n\t \t$AppendExtendQuery = '@('.implode(',',$SubElements).') ';\t \n\t }\n }\n \n // Transofrm without special characters like i understood. Actualy in sphinx it's not needed. But like indexing converts them to normalized text, it will be changed in futher versions..\n $trans = eZCharTransform::instance();\n $searchText = $trans->transformByGroup( $searchText, 'search' ); \n\t \t$result = $cl->Query( $AppendExtendQuery.trim($searchText) , isset($params['IndexName']) ? $params['IndexName'] : $this->SphinxIndexName );\n\t \t\t\n\t \t// If nothing found return immediately \t\n\t \tif ($result['total_found'] == 0)\n\t \t{\t \t\n\t\t \treturn array( \"SearchResult\" => array(),\n\t \"SearchCount\" => 0,\n\t \"StopWordArray\" => array() );\n\t \t} \n\t \t\n\t \t$NodeIDList = array();\n\t \n\t \t$SingleNodeID = null;\n\t \t\n\t \tif ($result['total_found'] > 1)\n\t \t{\n\t\t \t// Build nodes ID's\n\t\t \tforeach ($result['matches'] as $match)\n\t\t \t{ \t\t\n\t\t \t\t$NodeIDList[$match['attrs']['node_id']] = $match['attrs']['node_id'];\n\t\t \t}\n\t \t} else {\n\t \t\t\tforeach ($result['matches'] as $match)\n\t\t\t \t{\t \t\t\n\t\t\t \t\t$NodeIDList = $match['attrs']['node_id'];\n\t\t\t \t\t$SingleNodeID = $match['attrs']['node_id'];\n\t\t\t \t}\n\t \t}\n\t \t\n\t \t\n\t \t$nodeRowList = array();\n \t\t$tmpNodeRowList = eZContentObjectTreeNode::fetch( $NodeIDList, false, isset($params['AsObjects']) ? $params['AsObjects'] : true );\n \t\t \t\n // Workaround for eZContentObjectTreeNode::fetch behaviour\n if ( count( $tmpNodeRowList ) === 1 )\n {\n $tmpNodeRowList = array( $tmpNodeRowList ); \n unset($NodeIDList); \n $NodeIDList = array();\n $NodeIDList[$SingleNodeID] = $SingleNodeID;\n }\n \n // If fetched objects, keeps fetched sorting as Sphinx returned it\n if (!isset($params['AsObjects']) || $params['AsObjects'] === true)\n { \n\t\t\tforeach ($tmpNodeRowList as $node)\n\t\t\t{\n\t\t\t\t$NodeIDList[$node->attribute('node_id')] = $node;\n\t\t\t}\n } else { // If fetched array\n \tforeach ($tmpNodeRowList as $node)\n\t\t\t{\n\t\t\t\t$NodeIDList[$node['node_id']] = $node;\n\t\t\t}\n } \n \tunset($tmpNodeRowList);\n \t \t\n\t \t$searchResult = array(\n\t \t\t'SearchCount' => $result['total_found'],\n\t \t\t'SearchResult' => $NodeIDList,\n\t \t\t'SearchTook' => $result['time'],\n\t \t\t\"StopWordArray\" => array() // Perhaps anyone nows how to set this ? :)\n\t \t);\n \n return $searchResult; \n }",
"public function makeSearch() \n {\n $this->setSelect($this->qb);\n $this->setAssociations($this->qb);\n $this->setWhere($this->qb);\n $this->setOrderBy($this->qb);\n $this->setLimit($this->qb);\n\n return $this;\n }",
"protected function _initSearch()\n {\n $this->where['is_del'] = array('eq', 1);\n $this->order = 'create_time desc';\n }",
"protected function _initSearch()\n {\n $this->where['is_del'] = array('eq', 0);\n $this->order = 'create_time desc';\n }",
"public function search($searchText) {\n\t\t$this->searchTerm = $searchText;\n\t\treturn $this;\n\t}",
"public function testSetSearch() {\n\n $obj = new DataTablesRequest();\n\n $obj->setSearch($this->dtSearch);\n $this->assertSame($this->dtSearch, $obj->getSearch());\n }",
"function aecom_use_search_types( $query ) {\n\n // if this isn't one of our custom searches, then who cares?\n if ( ! $search_type = $query->get( 'search_type' ) ) return;\n\n switch ( $search_type ) {\n /* *********** DEACTIVATED WHILE IT IS COMPLETED: it is missing to format results in global search\n case 'offices':\n //search of offices are performed in the universal site only, so change blog temporally\n switch_to_blog(aecom_get_uni_blog_id());\n $query->set( 'post_type', 'office' );\n break;*/\n case 'markets':\n $query->set( 'post_type', 'market' );\n break;\n case 'solutions':\n $query->set( 'post_type', 'service' );\n break;\n case 'projects':\n $query->set( 'post_type', 'project' );\n break;\n case 'insights':\n if ( $documents_page = get_page_by_path( 'documents' ) )\n $query->set( 'post_parent', $documents_page->ID );\n break;\n case 'careers':\n // TODO\n break;\n case 'press-releases':\n $query->set( 'post_type', 'press-release' );\n break;\n }\n}"
] |
[
"0.75809956",
"0.72857475",
"0.7180885",
"0.7157324",
"0.68691045",
"0.6808849",
"0.67999744",
"0.66960067",
"0.66441387",
"0.6505143",
"0.6505143",
"0.643067",
"0.6407976",
"0.639957",
"0.6329203",
"0.6270409",
"0.6241372",
"0.6240079",
"0.6218261",
"0.6203847",
"0.61737823",
"0.61696553",
"0.61681646",
"0.6162343",
"0.6157798",
"0.61345804",
"0.61176556",
"0.60523313",
"0.6042698",
"0.60426646"
] |
0.7879659
|
0
|
Unsuspends an existing account from the server.
|
public function unsuspendAccount($username)
{
$params = [
'user' => $username,
'action' => 'unsp'
];
return $this->apiRequest('account', $params);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function suspendAccount($username)\n {\n $params = [\n 'user' => $username,\n 'action' => 'susp'\n ];\n return $this->apiRequest('account', $params);\n }",
"public function unlinkAccount()\n {\n }",
"public function suspend(): void\n {\n $this->tonClient->request(\n 'net.suspend'\n )->wait();\n }",
"public function unsuspendUser($username)\n {\n $conn = new DBConnect();\n $dbObj = $conn->getDBConnect();\n $this->DAO = new SecurityDAO($dbObj);\n return $this->DAO->unsuspendUser($username);\n }",
"public function unimpersonateUser()\n {\n $realId = $this->session->remove('__realId');\n if ($realId !== null) {\n $this->user->identity->remove();\n $this->session->set($this->user->idParam, $realId);\n $identity = User::findOne($realId);\n $this->user->setIdentity($identity);\n $this->restoreBackedUpToken();\n }\n }",
"public function suspend_user(User $user){\n //If the user is active suspend them if not reinstate them\n if ($user->active == 1) {\n $user->active = 0;\n $user->save();\n session()->flash('status', $user->username . ' was successfully suspended');\n return redirect()->back();\n }\n $user->active = 1;\n $user->save();\n session()->flash('status', $user->username . ' was successfully reinstated');\n return redirect()->back();\n }",
"function unblock(Request $request)\n {\n DB::table('users')\n ->where('id', $request->id)\n ->update([\n 'active' => '1',\n ]);\n\n //insert into auditrail\n AuditTrail::create(['user_id' => Auth::user()->id,\n 'username' => Auth::user()->username,\n 'form_name' => 'Account',\n 'activity' => 'Unlocked ' . 'Account ' . $request->username, \n ]);\n\n return redirect()->back();\n }",
"public function reject()\n {\n if ($this->withdrawal->status == Withdrawal::STATUS_CREATED) {\n // update withdrawal model\n $this->withdrawal->status = Withdrawal::STATUS_REJECTED;\n $this->withdrawal->save();\n // create a credit transaction on user account to return funds\n $accountService = new AccountService($this->withdrawal->account);\n $accountService->transaction($this->withdrawal, $this->withdrawal->amount);\n }\n }",
"public static function deactivate()\n {\n // Do nothing\n }",
"public function stopImpersonateUser(): void\n {\n $this->impersonateUser = null;\n }",
"static function unlock_account() {\n $model = \\Auth::$model;\n\n # hash GET param exists\n if ($hash = data('hash')) {\n\n # verificando se ha algum usuário com a hash.\n $user = $model::first(array(\n 'fields' => 'id, hash_unlock_account',\n 'where' => \"hash_unlock_account = '$hash'\"\n ));\n\n if (!empty($user)) {\n $user->hash_unlock_account = '';\n $user->login_attempts = 0;\n\n $user->edit() ?\n flash('Sua conta foi desbloqueada.') :\n flash('Algo ocorreu errado. Tente novamente mais tarte.', 'error');\n }\n }\n\n go('/');\n }",
"public function unlock()\r\n {\r\n frameEbbs::_()->getModule('backup')->unlock();\r\n }",
"public static function deactivate() {\n\t\t\t// Do nothing\n\t\t}",
"public function resumeContextAccess(AccountInterface $account);",
"public function suspendUser($username)\n {\n $conn = new DBConnect();\n $dbObj = $conn->getDBConnect();\n $this->DAO = new SecurityDAO($dbObj);\n return $this->DAO->suspendUser($username);\n }",
"static function momentDisconect()\r\n {\r\n $user = self::getCurrentUser();\r\n\r\n if ($user !== NULL)\r\n {\r\n $user->setOffline(1);\r\n self::updateUser($user);\r\n }\r\n }",
"public function disable($accountid) {\n\t\t$req = $this->api->client->delete('/account/' . $accountid);\n\t\t\n\t\ttry {\n\t\t\t$this->api->execute($req);\n\t\t}\n\t\tcatch(iGivefirst_HttpError $e) {\n\t\t\tthrow new iGivefirst_AccountNotUpdated($e);\n\t\t}\n\t}",
"public static function deactivate() {\n\t\t// Do nothing.\n\t}",
"public static function deactivate()\n\t\t{\n\t\t\t// Do nothing\n\t\t}",
"public static function deactivate()\n\t\t{\n\t\t\t// Do nothing\n\t\t}",
"public function deactivate();",
"public function unPause() {\n $this->setRunningPaused( true, false );\n $this->totalPauseTime = $this->getCurrentTime() - $this->pauseTime;\n $this->pauseTime = 0;\n }",
"public function desactivar()\n {\n $this->estatus = 0;\n $this->save();\n }",
"public function unconfirmed_account() {\n \n // Check if the current user is admin and if session exists\n $this->check_session();\n \n if ( $this->user_status == 1 ) {\n \n redirect('/user/app/dashboard');\n \n }\n \n // Show unconfirmed account page\n $this->load->view('user/unconfirmed-account');\n \n }",
"protected function resetPasswordSessionDeactivate()\n {\n Session::forget('scm_reset_password');\n }",
"public function suspend()\n {\n if ($this->getState()->getMode() == View\\StateInterface::MODE_ENABLED) {\n $state = $this->getState();\n $state->setVersionId($this->getChangelog()->getVersion());\n $state->setStatus(View\\StateInterface::STATUS_SUSPENDED);\n $state->save();\n }\n }",
"public static function deactivate(){\n // Do nothing\n }",
"public function deactivate()\n {\n $project = $this->getProject();\n $recovery_plan_id = $this->request->getIntegerParam('recovery_plan_id', 0);\n\n\n $this->response->html($this->template->render('status:recoveryPlanDetail/makeInactive', array(\n 'title' => t('Remove recovery plan'),\n 'project_id' => $project['id'],\n 'values' => array('id' => $recovery_plan_id)\n )));\n }",
"function disableAccount($accountId)\n\t\t{\n\t\t\tmysql_query(\"UPDATE argus_accounts SET status = 'DISABLED' WHERE account_id = '\".$accountId.\"' AND status = 'ENABLED'\") or die(mysql_error());\n\t\t\t\n\t\t\treturn;\n\t\t}",
"public function suspend($id) {\n\t\treturn $this->updateUser(array('suspended' => true));\n\t}"
] |
[
"0.6605031",
"0.612818",
"0.60809803",
"0.6017725",
"0.58476853",
"0.5694209",
"0.5642619",
"0.5635298",
"0.5626997",
"0.5586081",
"0.5558417",
"0.55547017",
"0.5538467",
"0.553596",
"0.5527395",
"0.54794484",
"0.5467812",
"0.54646444",
"0.5456399",
"0.5456399",
"0.5453621",
"0.54475605",
"0.54438025",
"0.5423099",
"0.5419221",
"0.54025203",
"0.54005486",
"0.53909206",
"0.53762007",
"0.5375838"
] |
0.6959611
|
0
|
Gets query for [[NoMobil]].
|
public function getNoMobil()
{
return $this->hasOne(Mobil::className(), ['no_mobil' => 'no_mobil']);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function getMobileNoiBat()\n {\n $query = \"select * from {$this->table} where Theloai_idTheloai = 6 and visibleOnHome = 1 limit 4 \";\n $pre = $this->db->prepare($query);\n $pre->execute();\n $data = $pre->fetchAll(PDO::FETCH_ASSOC);\n $pre->closeCursor();\n return $data;\n }",
"public function emptyQuery()\n {\n return Image::query();\n }",
"public function emptyQuery()\n {\n return Content::query();\n }",
"protected function sourceQuery(){\n $query = parent::sourceQuery();\n $query->condition('i.field_name', array_keys($this->getFieldNameMappings()), 'NOT IN');\n return $query;\n }",
"public function getMedicaments(){\n\t\t$req = \"select * from medicament order by MED_NOMCOMMERCIAL\";\n\t\t$rs = PdoGsb::$monPdo->query($req);\n\t\t$ligne = $rs->fetchAll();\n\t\treturn $ligne;\n\t}",
"public static function getImmobili()\n {\n $db=FDataBase::getInstance();\n $db_result = $db->loadAll(self::class);\n $immobili = array();\n foreach ($db_result as &$item)\n $immobili[] = self::unBindImmobile($item);\n return $immobili;\n }",
"public function getDefaultQuery()\n {\n return $this->model->newQuery()->where(function ($q) {\n $q->whereNull('team_id');\n $q->orWhere('team_id', app(ActiveTeam::class)->get()->id);\n });\n }",
"public function noForm()\n\t{\n\t\treturn $this->db->query(\"SELECT no_formulir FROM `wajib_pajak` ORDER BY no_formulir DESC LIMIT 1\");\n\t}",
"public function getNegocio();",
"public function cari_nonper(){\n\t\t$judul = $this->input->GET('judul', TRUE);\n\t\t$pengarang = $this->input->GET('pengarang_katalog', TRUE);\n\t\t$penerbit = $this->input->GET('penerbit_katalog', TRUE);\n\t\t$kota = $this->input->GET('kota_katalog', TRUE);\n\t\t$tahun = $this->input->GET('tahun_katalog', TRUE);\n\t\t\n\t\t$data = $this->db->query(\"\n\t\t\tSELECT * FROM tb_nonperaturan \n\t\t\tWHERE judul LIKE '%$judul%' \n\t\t\tAND pengarang_katalog LIKE '%$pengarang%' \n\t\t\tAND penerbit_katalog LIKE '%$penerbit%' \n\t\t\tAND kota_katalog LIKE '%$kota%' \n\t\t\tAND tahun_katalog LIKE '%$tahun%'\"\n\t\t);\n\t\t\n\t\treturn $data->result();\n\t}",
"public static function findWithoutLinkAndCodeNotNull()\r\n {\r\n $sql = \"SELECT * FROM \" . static::TABLE . \"\r\n WHERE link_allocine NOT LIKE '%http%' AND movie_code IS NOT NULL LIMIT 100\";\r\n $q = self::getPDO()->query($sql);\r\n $q->execute();\r\n $data = $q->fetchAll(PDO::FETCH_ASSOC);\r\n return self::map($data);\r\n }",
"protected function getFormTypeQuery()\n {\n return \"(`uf`.`form` NOT IN (\" . implode(', ', array_fill(0, count(self::SHOWING_OR_SELLING_FORMS), '?')) . \")\"\n . \" AND (`uf`.`form` != 'IDX Inquiry'\"\n . \" OR (`uf`.`data` NOT LIKE '%s:12:\\\"inquire_type\\\";s:16:\\\"Property Showing\\\";%' AND `uf`.`data` NOT LIKE '%s:12:\\\"inquire_type\\\";s:7:\\\"Selling\\\";%')))\";\n }",
"public function Filter_Not() {\r\n\t\treturn array(\r\n\t\t\t'where' => '0'\r\n\t\t);\r\n\t}",
"public function getExcludeQueryPart() {}",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function getQuery();",
"public function newQueryWithoutRelationships();",
"public function noes()\n {\n return $this->dummy->noes();\n }",
"public function queryAll($campos=\"*\",$criterio=\"\"){\n\t\t$sql = 'SELECT '.$campos.' FROM negociacao_contas '.$criterio.'';\n\t\t$sqlQuery = new SqlQuery($sql);\n\t\treturn $this->getList($sqlQuery);\n\t}",
"public function getAllUnidadNegocio()\r\n {\r\n $sql = \"SELECT id_unidad_negocio, nombre, url_logo, url_imagen, descripcion FROM tbl_unidad_negocio\";\r\n $query = $this->db->prepare($sql);\r\n\r\n $query->execute();\r\n\r\n return $query->fetchAll();\r\n }",
"public function getQueryFrom() {\n return '';\n }",
"public function get_item_notnull()\n {\n $this->db->select(\"komoku_id,kubun,komoku_name_1\");\n $this->db->from('m_komoku');\n $this->db->where('del_flg','0');\n $this->db->where('kubun','000');\n $this->db->order_by('komoku_name_1', 'ASC');\n // $this->db->order_by('kubun', 'ASC');\n\n $query = $this->db->get();\n $result = $query->result_array();\n if (sizeof($result) > 0) {\n return $result;\n }\n return null;\n }",
"function get_muebles()\n {\n $query = $this->db->get_where('productos', array('eliminado' => 'NO', 'id_categoria' => '2'));\n\n if($query->num_rows()>0) {\n return $query;\n } else {\n return FALSE;\n }\n }"
] |
[
"0.59275293",
"0.5460148",
"0.5414108",
"0.5305854",
"0.51194507",
"0.50407386",
"0.503743",
"0.503396",
"0.49976152",
"0.49647358",
"0.4964578",
"0.49634677",
"0.49541798",
"0.49512592",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.4940892",
"0.49090654",
"0.49069262",
"0.49062353",
"0.49050218",
"0.48909453",
"0.48812184",
"0.48688352"
] |
0.7280557
|
0
|
Gets query for [[NoNota]].
|
public function getNoNota()
{
return $this->hasOne(Sewa::className(), ['no_nota' => 'no_nota']);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getNota(){\n\t\treturn $this->nota;\n\t}",
"public function getNota(){\n return $this->nota;\n }",
"function consultarNotas(){ \n $cadena_sql=$this->cadena_sql(\"notas\",$this->codProyecto);\n $estudiantes=$this->funcionGeneral->ejecutarSQL($this->configuracion, $this->accesoOracle, $cadena_sql,\"busqueda\" );\n return $estudiantes;\n }",
"public function getNegocio();",
"public function getDocNove($idn,$con)\n { \n // $id : Id documento de novedades\n // $tipo : tipo ('1','2','3')\n\n $result=$this->adapter->query(\"select a.idNom,a.dias,b.id,b.horas,d.nombre,e.formula,d.tipo,d.valor,b.idCcos,b.devengado,b.deducido\n ,d.id as idCon,c.id as idEmp,d.idFor,b.horDias, a.diasVac, b.saldoPact, b.idCpres \n from n_nomina_e a \n inner join n_nomina_e_d b on a.id=b.idInom\n inner join a_empleados c on c.id=a.idEmp\n inner join n_conceptos d on d.id=b.idConc\n inner join n_formulas e on e.id=d.idFor\n where b.idInom=\".$idn.\" \".$con.\" order by d.tipo \" ,Adapter::QUERY_MODE_EXECUTE);\n $datos=$result->toArray();\n return $datos; \n }",
"public function noes()\n {\n return $this->dummy->noes();\n }",
"public function notas()\n \t\t{\n \t\t\treturn $this->hasMany(Nota::class);\n \t\t}",
"function getDatosNota_num()\n {\n $nom_tabla = $this->getNomTabla();\n $oDatosCampo = new core\\DatosCampo(array('nom_tabla' => $nom_tabla, 'nom_camp' => 'nota_num'));\n $oDatosCampo->setEtiqueta(_(\"nota num\"));\n return $oDatosCampo;\n }",
"function getDatosNota_num()\n {\n $nom_tabla = $this->getNomTabla();\n $oDatosCampo = new core\\DatosCampo(array('nom_tabla' => $nom_tabla, 'nom_camp' => 'nota_num'));\n $oDatosCampo->setEtiqueta(_(\"nota num\"));\n return $oDatosCampo;\n }",
"public function notFlag($not = null)\n {\n if(null === $not)\n {\n return $this->property('not');\n }\n return $this->property('not', (bool) $not);\n }",
"function listar_nao_inscrito($id) {\n \n /* Sub Query */\n $this->db->distinct ('distinct evento.id_evento');\n\t\t$this->db->select ( 'evento.id_evento' );\n\t\t$this->db->from ( 'evento,participacao,usuario' );\n\t\t$this->db->where ( 'participacao.id_evento = evento.id_evento' );\n\t\t$this->db->where ( 'participacao.id_face = usuario.id_face' );\n\t\t$this->db->where ( 'participacao.id_face = ' . \"'\" . $id . \"'\" );\n $subQuery = $this->db->get_compiled_select();\n \n /* Query */\n $this->db->select ( 'evento.*' );\n $this->db->from ( 'evento' );\n $this->db->where ( 'evento.id_evento NOT IN ' . \"(\" . $subQuery . \")\");\n\n\n $query = $this->db->get ();\n\t\treturn $query->result ();\n \n\t\t/*$query = $this->db->get ();\n\t\n\t\tif ($query->num_rows () != 0) {\n\t\t\treturn $query->result ();\n\t\t} else {\n\t\t\treturn false;\n\t\t}*/\n\t}",
"public function getDocNoveN($idn,$con)\n { \n // $id : Id documento de novedades\n // $tipo : tipo ('1','2','3')\n\n $result=$this->adapter->query(\"select count(b.id) as num \n from n_nomina_e a \n inner join n_nomina_e_d b on a.id=b.idInom\n inner join a_empleados c on c.id=a.idEmp\n inner join n_conceptos d on d.id=b.idConc\n inner join n_formulas e on e.id=d.idFor\n where b.idInom=\".$idn.\" \".$con.\" order by d.tipo \" ,Adapter::QUERY_MODE_EXECUTE);\n $datos=$result->current();\n return $datos; \n }",
"public function createNot()\n {\n $o = new NotSelector();\n $this->appendSelector($o);\n\n return $o;\n }",
"public function Filter_Not() {\r\n\t\treturn array(\r\n\t\t\t'where' => '0'\r\n\t\t);\r\n\t}",
"public function setNota($nota)\n {\n $this->nota = $nota;\n\n return $this;\n }",
"public function getNewsNotCheck()\n {\n $news = $this->_model->where('news_is_check', '=', '0')->get();\n\n return $news;\n }",
"public function TipoNotaEnNotas($tipoNId){\n $origen=TipoNota::with(['notas',\n 'indicadores.materias_has_periodos.materias_has_niveles.niveles_has_anios.alumnos'])\n ->find($tipoNId);\n $alumnos=$origen->indicadores->materias_has_periodos->materias_has_niveles->niveles_has_anios->alumnos;\n $comparado=$origen->notas;\n $res='Se han rellenado Notas con: ';\n foreach ($alumnos as $val) {\n $encontrado=false;\n foreach ($origen->notas as $nota) {\n if ($nota->alumnos_id == $val->id) {\n $encontrado=true;\n }\n }\n if (!$encontrado) {\n $obj=new Notas;\n $obj->alumnos_id=$val->id;\n $obj->tipo_nota_id=$tipoNId;\n $obj->calificacion=0;\n $obj->save();\n $res.='; Notas ID: '.$obj->id.', Alumnos ID: '.$val->id.', TipoNota ID: '.$tipoNId.', Cal: 0';\n // Actualiza el promedio si hay modificaciones\n $alumind=new AlumInd;\n $alumind->addActProm($obj->alumnos_id,$origen->indicadores->id,'NUEVO');\n }\n }\n return $res;\n }",
"public function getAllUnidadNegocio()\r\n {\r\n $sql = \"SELECT id_unidad_negocio, nombre, url_logo, url_imagen, descripcion FROM tbl_unidad_negocio\";\r\n $query = $this->db->prepare($sql);\r\n\r\n $query->execute();\r\n\r\n return $query->fetchAll();\r\n }",
"public function neq(): WhereCondition\n {\n\n $this->_op = self::OP_TYPE_NEQ;\n\n return $this;\n\n }",
"function consultarNotaAprobatoria() {\r\n\r\n $variables=array('codProyectoEstudiante'=> $this->datosEstudiante['CARRERA'] \r\n );\r\n $cadena_sql = $this->sql->cadena_sql(\"nota_aprobatoria\", $variables);\r\n $resultado = $this->ejecutarSQL($this->configuracion, $this->accesoOracle, $cadena_sql, \"busqueda\");\r\n return $resultado[0][0];\r\n }",
"public static function getAlunosNotas($idAvaliacao){\n\t\t\t//cria a query\n\t\t\t$query = \"SELECT * FROM Nota WHERE Avaliacao_Id = {$idAvaliacao};\";\n\n\t\t\t//executa\n\t\t\treturn ProcessaQuery::consultarQuery($query);\n\t\t}",
"public function noForm()\n\t{\n\t\treturn $this->db->query(\"SELECT no_formulir FROM `wajib_pajak` ORDER BY no_formulir DESC LIMIT 1\");\n\t}",
"public function nonRenewing(): AccountChargebeeQueryContract\n {\n return $this->whereStatus($this->getModel()::NON_RENEWING);\n }",
"function getNotificacion($Parametros) {\r\n $consulta = $this->db->get_where('vw_Notificaciones', $Parametros);\r\n if ($consulta->num_rows() > 0) {\r\n return $consulta;\r\n }\r\n else{\r\n return FALSE;\r\n }\r\n }",
"public function whereNotEq()\n {\n \n list($field, $value) = $this->extractQueryToFieldAndValue(func_get_args());\n $this->_conditions[self::WHERENOT][$field] = [self::OPERATORS['ne'] => $value];\n return $this;\n }",
"function listar_noticias() {\n\t\n\t\t$query = \"SELECT *\n\t\tFROM noticias\n\t\tORDER BY id_noticia desc\";\n\n\t\t$connection = mysql_connect($this->HOST, $this->USERNAME, $this->PASSWORD);\n\n\t\t$SelectedDB = mysql_select_db($this->DBNAME);\n\t\t$result = mysql_query($query); \n\t\t\n\t\t$numrows = mysql_num_rows($result);\n\t\tmysql_close($connection);\n\t\t// COMPROBAMOS QUE HAYA RESULTADOS\n\t\t// SI EL NUMERO DE RESULTADOS ES 0 SIGNIFICA QUE NO HAY REGISTROS CON ESOS DATOS\n\t\tif ($numrows == 0) {\n\t\t\treturn $result;\n\t\t}\n\t\telse {\n\t\t\treturn $result;\n\t\t}\n\t}",
"public function cari_nonper(){\n\t\t$judul = $this->input->GET('judul', TRUE);\n\t\t$pengarang = $this->input->GET('pengarang_katalog', TRUE);\n\t\t$penerbit = $this->input->GET('penerbit_katalog', TRUE);\n\t\t$kota = $this->input->GET('kota_katalog', TRUE);\n\t\t$tahun = $this->input->GET('tahun_katalog', TRUE);\n\t\t\n\t\t$data = $this->db->query(\"\n\t\t\tSELECT * FROM tb_nonperaturan \n\t\t\tWHERE judul LIKE '%$judul%' \n\t\t\tAND pengarang_katalog LIKE '%$pengarang%' \n\t\t\tAND penerbit_katalog LIKE '%$penerbit%' \n\t\t\tAND kota_katalog LIKE '%$kota%' \n\t\t\tAND tahun_katalog LIKE '%$tahun%'\"\n\t\t);\n\t\t\n\t\treturn $data->result();\n\t}",
"public function setNota($nota){\n $this->nota = $nota;\n }",
"public function isNot(): WhereCondition\n {\n\n $this->_op = self::OP_TYPE_ISN;\n\n return $this;\n\n }",
"public function isNot()\n {\n return $this->not;\n }"
] |
[
"0.6493409",
"0.64301914",
"0.62033314",
"0.61404973",
"0.6137133",
"0.6049094",
"0.60363704",
"0.59160286",
"0.59160286",
"0.5911838",
"0.5904467",
"0.58599347",
"0.58517295",
"0.5847793",
"0.58139056",
"0.57566124",
"0.5696386",
"0.56912017",
"0.56717443",
"0.56615514",
"0.56527627",
"0.5647202",
"0.56195605",
"0.5597111",
"0.55891544",
"0.5548693",
"0.5539241",
"0.55287284",
"0.5516407",
"0.5491111"
] |
0.71736246
|
0
|
Static method to handle REST requests. This includes loading the request controller, calling the right action for the HTTP verb, creating a response and rendering it with the appropriate output handler. \param $request REST request from client
|
public static function handleRequest($request)
{
// Load controller for requested resource
$controllerName = ucfirst($request->getRessourcePath()) . 'Controller';
if (class_exists($controllerName))
{
$controller = new $controllerName();
// Get requested action within controller
$actionName = strtolower($request->getHTTPVerb()) . 'Action';
if (method_exists($controller, $actionName))
{
// Do the action!
$result = $controller->$actionName($request);
// Send REST response to client
$outputHandlerName = ucfirst($request->getFormat()) . 'OutputHandler';
if (class_exists($outputHandlerName))
{
$outputHandler = new $outputHandlerName();
$outputHandler->render($result);
}
}
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function handleRequest($request)\n {\n list ($route, $params) = $request->resolve();\n $this->requestedRoute = $route;\n $result = $this->runAction($route, $params);\n\n if ($result instanceof Response) {\n return $result;\n } elseif ($result instanceof Looper){\n $result->loop();\n\n $response = $this->getResponse();\n $response->exitStatus = 0;\n\n return $response;\n } else {\n $response = $this->getResponse();\n $response->exitStatus = $result;\n\n return $response;\n }\n }",
"public function handle($request)\n {\n $this->setRouter($this->app->compose('Cygnite\\Base\\Router\\Router', $request), $request);\n\n try {\n $response = $this->sendRequestThroughRouter($request);\n /*\n * Check whether return value is a instance of Response,\n * otherwise we will try to fetch the response form container,\n * create a response and return to the browser.\n *\n */\n if (!$response instanceof ResponseInterface && !is_array($response)) {\n $r = $this->app->has('response') ? $this->app->get('response') : '';\n $response = Response::make($r);\n }\n } catch (\\Exception $e) {\n $this->handleException($e);\n } catch (Throwable $e) {\n $this->handleException($e);\n }\n\n return $response;\n }",
"public function handleAction($request) {\n\t\t$action = str_replace(\"-\",\"_\",$request->param('Action'));\n\t\tif(!$this->action) $this->action = 'index';\n\t\t\n\t\tif($this->checkAccessAction($action)) {\n\t\t\tif($this->hasMethod($action)) {\n\t\t\t\t$result = $this->$action($request);\n\t\t\t\n\t\t\t\t// Method returns an array, that is used to customise the object before rendering with a template\n\t\t\t\tif(is_array($result)) {\n\t\t\t\t\treturn $this->getViewer($action)->process($this->customise($result));\n\t\t\t\t\n\t\t\t\t// Method returns a string / object, in which case we just return that\n\t\t\t\t} else {\n\t\t\t\t\treturn $result;\n\t\t\t\t}\n\t\t\t\n\t\t\t// There is no method, in which case we just render this object using a (possibly alternate) template\n\t\t\t} else {\n\t\t\t\treturn $this->getViewer($action)->process($this);\n\t\t\t}\n\t\t} else {\n\t\t\treturn $this->httpError(403, \"Action '$action' isn't allowed on class $this->class\");\n\t\t}\t\t\n\t}",
"function route($request) {\n\t\t$controller = $request->uri(0);\n\t\t$action = $request->uri(1);\n\n\t\tif(!class_exists($controller) || !is_callable([$controller, $action])){\n\t\t\t$controller = 'BadRequest';\n\t\t\t$action = 'not_found';\n\t\t}\n\n\t\t$c = new $controller($request);\n\t\tcall_user_func_array([$c, $action], []);\n\t}",
"public function invoke(Request $request) : Response\r\n {\r\n $class = $this->container->make($this->class);\r\n\r\n return call_user_func([\r\n $class,\r\n $this->method\r\n ], $request);\r\n }",
"public function handle(Request $request)\n {\n $route_params = $this->_router->match($request->getUri());\n $route = $route_params['route'];\n $params = $route_params['params'];\n\n $func = reset($route) . self::CONTROLLER_METHOD_SUFIX;\n $class_name = key($route);\n $controller = new $class_name($request);\n\n $response = call_user_func_array(\n [\n $controller,\n $func,\n ],\n [$params]\n );\n\n if ($response instanceof Response) {\n return $response;\n } else {\n throw new InvalidHttpResponseException();\n }\n }",
"public function requestAction(Request $request){\n return new Response('You are doing a ' . $request->getMethod() . ' HTTP request');\n }",
"public function HandleRequest(Request $request)\r\n {\r\n $command = $this->_commandResolver->GetCommand($request);\t// Create command object for Request\r\n $response = $command->Execute($request);\t\t\t\t\t// Execute the command to get response\r\n $view = ApplicationController::GetView($response);\t\t\t\t\t// Send response to the appropriate view for display\r\n $view->Render();\t\t\t\t\t\t\t\t\t\t\t// Display the view\r\n }",
"public function run($request=null) {\n if (is_null($request)) {\n $request = $_SERVER['REQUEST_URI'];\n }\n\n if (!is_array($request)) {\n $regex = '/\\//';\n $request = preg_split($regex, $request, -1, PREG_SPLIT_NO_EMPTY);\n }\n\n $controller_name = array_shift($request);\n if (is_null($controller_name)) {\n $controller_name = $this->default_controller;\n }\n\n $view_name = array_shift($request);\n if (is_null($view_name)) {\n $view_name = $this->default_view;\n }\n\n $controller_name = ucfirst(strtolower($controller_name)) .'Controller';\n if (!class_exists($controller_name)) {\n // no such controller\n self::handleError(404);\n exit;\n }\n\n $view_name = strtolower($view_name) .'View';\n try {\n $controller = new $controller_name($request);\n $controller->$view_name($request);\n } catch (\\Exception $err) {\n // an exception inside a controller occurred\n self::handleException($err);\n exit;\n }\n }",
"protected function routeRequest(Request $request) {\r\n \r\n if ($routeAction = $this->router->getRouteAction($request)) {\r\n \r\n $controllerPath = Config::get('PUNYMVC_APPLICATION_CONTROLLER_DIR') . ltrim($routeAction->path, '/') . '.php';\r\n\r\n if ($this->validController($controllerPath)) {\r\n \r\n require $controllerPath;\r\n\r\n if (class_exists($routeAction->class) &&\r\n method_exists($routeAction->class, $routeAction->method)) {\r\n \r\n $controllerClass = $routeAction->class;\r\n \r\n $controllerInstance = new $controllerClass($request, new Response());\r\n \r\n call_user_func_array(array($controllerInstance, $routeAction->method), $routeAction->params);\r\n return;\r\n }\r\n }\r\n }\r\n \r\n $response = new Response();\r\n $response->setStatus(404);\r\n $response->setBody('Not Found');\r\n $response->send();\r\n }",
"abstract public function handleRequest($request);",
"public function process(Aloi_Serphlet_Application_HttpRequest $request, Aloi_Serphlet_Application_HttpResponse $response) {\r\n\r\n\t\ttry {\r\n\t\t\t// Identify the path component we will use to select a mapping\r\n\t\t\t$path = $this->processPath($request, $response);\r\n\t\t\tif (is_null($path)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (self::$log->isDebugEnabled()) {\r\n\t\t\t\tself::$log->debug('Processing a \"' . $request->getMethod() . '\" for path \"' . $path . '\"');\r\n\t\t\t}\r\n\r\n\t\t\t// Select a Locale for the current user if requested\r\n\t\t\t$this->processLocale($request, $response);\r\n\r\n\t\t\t// Set the content type and no-caching headers if requested\r\n\t\t\t$this->processContent($request, $response);\r\n\t\t\t$this->processNoCache($request, $response);\r\n\r\n\t\t\t// General purpose preprocessing hook\r\n\t\t\tif (!$this->processPreprocess($request, $response)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t//Identify the mapping for this request\r\n\t\t\t$mapping = $this->processMapping($request, $response, $path);\r\n\t\t\tif (is_null($mapping)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Check for any role required to perform this action\r\n\t\t\tif (!$this->processRoles($request, $response, $mapping)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Process any ActionForm bean related to this request\r\n\t\t\t$form = $this->processActionForm($request, $response, $mapping);\r\n\t\t\t$this->processPopulate($request, $response, $form, $mapping);\r\n\t\t\tif (!$this->processValidate($request, $response, $form, $mapping)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Process a forward or include specified by this mapping\r\n\t\t\tif (!$this->processForward($request, $response, $mapping)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (!$this->processInclude($request, $response, $mapping)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Create or acquire the Action instance to process this request\r\n\t\t\t$action = $this->processActionCreate($request, $response, $mapping);\r\n\t\t\tif (is_null($action)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Call the Action instance itself\r\n\t\t\t$forward = $this->processActionPerform($request, $response, $action, $form, $mapping);\r\n\r\n\t\t\t// Process the returned ActionForward instance\r\n\t\t\t$this->processForwardConfig($request, $response, $forward);\r\n\t\t} catch (ServletException $e) {\r\n\t\t\tthrow $e;\r\n\t\t}\r\n\t}",
"public function handle(ServerRequestInterface $request): ResponseInterface\n {\n $routeResult = $request->getAttribute(RouteResult::class, false);\n if (! $routeResult || ! $routeResult->isSuccess()) {\n throw new Exception\\RouterResultNotFoundException(\n \"Must be a valid \\\"Tlumx\\Router\\Result\\\" objrct in the request attriute\"\n );\n }\n\n $handler = $routeResult->getRouteHandler();\n $this->controllerNamecontainer = isset($handler['controller']) ? $handler['controller'] : 'index';\n $this->action = isset($handler['action']) ? $handler['action'] : 'index';\n $action = $this->action . 'Action';\n if (!method_exists($this, $action)) {\n throw new Exception\\ActionNotFoundException(sprintf('Action \"%s\" not found.', $this->action));\n }\n\n $layout = $this->getContainer()->get('config')->get('layout');\n if (is_string($layout) && $layout) {\n $this->setLayout($layout);\n }\n\n $actionResponse = $this->$action($request);\n if ($actionResponse instanceof ResponseInterface) {\n return $actionResponse;\n }\n\n if ($this->enableLayout()) {\n $layoutFile = $this->getContainer()->get('templates_manager')->getTemplate($this->getLayout());\n $this->getView()->content = $actionResponse;\n $actionResponse = $this->getView()->renderFile($layoutFile);\n }\n\n $response = $this->getContainer()->get('response');\n $response->getBody()->write($actionResponse);\n return $response;\n }",
"public function dispatch(Request $request)\n\t{\n\t\t// Before we handle the requests we need to make sure the application has been\n\t\t// booted up. The boot process will call the \"boot\" method on each service\n\t\t// provider giving them all a chance to register any application events.\n\t\tif ( ! $this->booted)\n\t\t{\n\t\t\t$this->boot();\n\t\t}\n\n\t\t$this->prepareRequest($request);\n\n\t\t// First we will call the \"before\" global middlware, which we'll give a chance\n\t\t// to override the normal requests process when a response is returned by a\n\t\t// middlewares. Otherwise we'll call the route just like a normal reuqest.\n\t\t$response = $this->callGlobalMiddleware('before');\n\n\t\tif ( ! is_null($response))\n\t\t{\n\t\t\treturn $this->prepareResponse($response, $request);\n\t\t}\n\n\t\t$route = $this['router']->dispatch($request);\n\n\t\t// Once we have the route and before middlewares, we will iterate through them\n\t\t// and call each one. If a given filter returns a response we will let that\n\t\t// value override the rest of the request cycle and return the Responses.\n\t\t$before = $this->getBeforeMiddlewares($route, $request);\n\n\t\tforeach ($before as $middleware)\n\t\t{\n\t\t\t$response = $this->callMiddleware($middleware);\n\t\t}\n\n\t\t// If none of the before middlewares returned a response, we will just execute\n\t\t// the route that matched the request, then call the after filters for this\n\t\t// and return the responses back out and they'll get sent to the clients.\n\t\tif ( ! isset($response))\n\t\t{\n\t\t\t$response = $route->run();\n\t\t}\n\n\t\t$response = $this->prepareResponse($response, $request);\n\n\t\t// Once all of the \"after\" middlewares are called we should be able to return\n\t\t// the completed response object back to the consumers so it will be given\n\t\t// to the client as a response. The Responses should be final and ready.\n\t\tforeach ($route->getAfterMiddlewares() as $middleware)\n\t\t{\n\t\t\t$this->callMiddleware($middleware, array($response));\n\t\t}\n\n\t\t$this->callAfterMiddleware($response);\n\n\t\treturn $response;\n\t}",
"public static function dispatch(Request $request) {\n\t\t\t$route = self::findRouteForRequest($request);\n\t\t\tif ($route) {\n\n\t\t\t\t$controllerName = $route->controller;\n\t\t\t\t$controller = new $controllerName($request);\n\n\t\t\t\tif ($route->hasUrlParams()) {\n\t\t\t\t\t$actionParams = self::getUrlParams($request, $route);\n\t\t\t\t\tcall_user_func_array(array($controller, $route->action), $actionParams);\n\t\t\t\t} else {\n\t\t\t\t\tcall_user_func(array($controller, $route->action));\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Defer to the response class to send a 404 error.\n\t\t\t\tResponse::fourOhFour($request);\n\t\t\t}\n\n\t\t}",
"private function handleRequest(Request $request): Response\n {\n try {\n $configuration = new Configuration($this->configFile, $request);\n $urlGenerator = new UrlGenerator($configuration, $request);\n\n $requestedDirectory = DataHandling::formatDirectory($configuration->getRoot(), $request->getPathInfo());\n\n $accessible = $configuration->isDirectoryAccessible($requestedDirectory, $reason);\n\n // Show a page not found page when the directory does not exist or is not accessible\n if (!$accessible) {\n return new Response($this->getTwig($configuration, $urlGenerator)->render(\"not-found.html.twig\"), Response::HTTP_NOT_FOUND);\n }\n\n $directory = $configuration->getDirectory($requestedDirectory);\n\n $archiver = new Archiver($configuration, $directory, $urlGenerator);\n\n if ($request->query->has(\"prepare-download\")) {\n return $this->prepareDownload($archiver, $urlGenerator);\n } else {\n // Delete expired archives only when we are not preparing one, so that we are not deleting an archive that is to be used just moments after\n $archiver->deleteExpiredArchives();\n }\n\n return $this->showListing($configuration, $urlGenerator, $directory, $archiver);\n } catch (Exception $exception) {\n error_log($exception);\n return new Response(\"<html><body><h1>Internal Server Error</h1><p>An internal server error occurred.</p></body></html>\", Response::HTTP_INTERNAL_SERVER_ERROR);\n }\n }",
"public function handle($request);",
"public function handleRequest()\n {\n $router = new Router();\n $controllerClass = $router->resolve()->getController();\n $controllerAction = $router->getAction();\n\n \n\n if(!class_exists($controllerClass)\n || !method_exists($controllerClass,$controllerAction)\n ){\n header('Not found', true, 404);\n exit;\n }\n\n $controller = new $controllerClass();\n call_user_func([$controller, $controllerAction]);\n\n }",
"public function handleRequest(Request $request)\n {\n try {\n // Extract segments from request\n $segments = $this->segments($request);\n\n // Get method of request\n $method = strtolower($request->method());\n\n // if $segments[0] is 'module' we need to forward request to module ApiController\n if ($segments[0] === 'module') {\n\n unset($segments[0]);\n\n $result = $this->forwardRequest($request, array_values($segments), $method);\n\n // else we need to find controller and run method\n } else {\n\n $controllerName = 'Core\\Http\\Controllers\\Api\\Manage' . str_replace('_', '', Str::title($segments[0])) . 'ApiController';\n\n $controller = app()->make($controllerName);\n\n $methodName = $method . str_replace('_', '', Str::title($segments[1]));\n\n unset($segments[1], $segments[0]);\n\n $result = $controller->$methodName($request, array_values($segments));\n\n }\n } catch (Exception $e) {\n $result = response()\n ->json(['message' => $e->getMessage() . ' at line ' . $e->getLine() . ' in ' . $e->getFile()], 500);\n }\n\n return $result;\n }",
"abstract public function handleRequest(Request $request);",
"public function _dispatch($request)\n\t{\n\t\t$this->_data = $_POST;\n\t\t$args = array();\n\t\t\n\t\ttry {\n\t\t\t$method = new ReflectionMethod($this, $request['action']);\n\t\t\tif (!$method->isPublic()) {\n\t\t\t\tAtomik::trigger404();\n\t\t\t}\n\t\t\t\n\t\t\t$docBlock = $method->getDocComment();\n\t\t\tif (preg_match_all('/@route (.+)$/m', $docBlock, $matches)) {\n\t\t\t\t/* default route parameters */\n\t\t\t\t$default = array(\n\t\t\t\t\t'controller' => $request['controller'], \n\t\t\t\t\t'action' => $request['action']\n\t\t\t\t);\n\t\t\t\t/* fetching optional parameters to the method to add them to\n\t\t\t\t * the default array */\n\t\t\t\tforeach ($method->getParameters() as $param) {\n\t\t\t\t\tif ($param->isOptional()) {\n\t\t\t\t\t\t$default[$param->getName()] = $param->getDefaultValue();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* route base */\n\t\t\t\t$base = $request['controller'] . '/' . $request['action'] . '/';\n\t\t\t\t\n\t\t\t\t/* building routes */\n\t\t\t\t$routes = array();\n\t\t\t\tfor ($i = 0, $c = count($matches[0]); $i < $c; $i++) {\n\t\t\t\t\t$routes[$base . $matches[1][$i]] = $default;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* re-routing request */\n\t\t\t\tif (($request = Atomik::route(Atomik::get('request_uri'), $_GET, $routes)) === false) {\n\t\t\t\t\tAtomik::trigger404();\n\t\t\t\t}\n\t\t\t}\n\t\t\n\t\t\t/* building method parameters using request params */\n\t\t\tforeach ($method->getParameters() as $param) {\n\t\t\t\tif (array_key_exists($param->getName(), $request)) {\n\t\t\t\t\t$args[] = $request[$param->getName()];\n\t\t\t\t} else if (!$param->isOptional()) {\n\t\t\t\t\tthrow new Exception('Missing parameter ' . $param->getName());\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch (Exception $e) {\n\t\t\t/* do not stop if __call() exist, so it allows us to trap method calls */\n\t\t\tif (!method_exists($this, '__call')) {\n\t\t\t\tAtomik::trigger404();\n\t\t\t}\n\t\t}\n\t\t\n\t\t$this->_params = $request;\n\t\t\n\t\t$this->_before();\n\t\tcall_user_func_array(array($this, $request['action']), $args);\n\t\t$this->_after();\n\t\t\n\t\t/* gets the instance properties and sets them in the global scope for the view */\n\t\t$vars = array();\n\t\tforeach (get_object_vars($this) as $name => $value) {\n\t\t\tif (substr($name, 0, 1) != '_') {\n\t\t\t\t$vars[$name] = $value;\n\t\t\t}\n\t\t}\n\t\treturn $vars;\n\t}",
"public function handleRequest()\n {\n $route = $this->router->match();\n\n if ($route) {\n $controllerName = $route['target']['controllerName'];\n $methodName = $route['target']['methodName'];\n\n $controller = new $controllerName();\n\n $controller->$methodName($route['params']);\n } else {\n header(\"HTTP:1.0 404 not Found\");\n echo json_encode([\n \"error_code\" => 404,\n \"reason\" => \"page not found\"\n ]);\n }\n }",
"public function dispatch(Request $request)\n {\n $this->currentRoute = null;\n\n $this->container->instance(Request::class, $request);\n\n $this->routesDispatched++;\n\n try {\n $response = $this->adapter->dispatch($request, $request->version());\n } catch (Exception $exception) {\n if ($request instanceof InternalRequest) {\n throw $exception;\n }\n\n $this->exception->report($exception);\n\n $response = $this->exception->handle($exception);\n }\n\n return $this->prepareResponse($response, $request, $request->format());\n }",
"function rest_do_request( $request ) {\n\tglobal $wp_rest_server;\n\t$request = rest_ensure_request( $request );\n\treturn $wp_rest_server->dispatch( $request );\n}",
"public function handle(Request $request)\n {\n $handler = $this->router->match($request);\n if (!$handler) {\n echo \"Could not find your resource!\\n\";\n return;\n }\n\n return $handler();\n }",
"function rest_dispatch_requests( $response, $request ) {\n\t$attributes = $request->get_attributes();\n\tlist( $callback_class, $callback_func ) = ( ! empty( $attributes['callback'] ) ) ? $attributes['callback'] : [];\n\n\t// If the request is using the WP_REST_Posts_Controller, call the same callback from our custom controller.\n\tif (\n\t\tis_object( $callback_class )\n\t\t&& get_class( $callback_class ) === 'WP_REST_Posts_Controller'\n\t\t&& ( $callback_func === 'create_item' || $callback_func === 'update_item' )\n\t) {\n\t\t$controller = new REST_Posts_Controller( get_post_type( $request->get_params()['id'] ) );\n\n\t\treturn call_user_func( [ $controller, $callback_func ], $request );\n\t}\n\n\treturn $response;\n}",
"public function doRequest($request)\n {\n $redirector = \\Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');\n $redirector->setExit(false);\n\n // json helper should not exit\n $json = \\Zend_Controller_Action_HelperBroker::getStaticHelper('json');\n $json->suppressExit = true;\n\n $zendRequest = new \\Zend_Controller_Request_HttpTestCase();\n $zendRequest->setMethod($request->getMethod());\n $zendRequest->setCookies($request->getCookies());\n $zendRequest->setParams($request->getParameters());\n $zendRequest->setRawBody($request->getContent());\n $zendRequest->setRequestUri(str_replace('http://localhost','',$request->getUri()));\n $zendRequest->setHeaders(\n $this->getNormalizedHeadersUsing($request->getServer())\n );\n $_FILES = $request->getFiles();\n $_SERVER = array_merge($_SERVER, $request->getServer());\n\n $zendResponse = new \\Zend_Controller_Response_HttpTestCase;\n $this->front->setRequest($zendRequest)->setResponse($zendResponse);\n\n ob_start();\n $this->bootstrap->run();\n ob_end_clean();\n\n $this->zendRequest = $zendRequest;\n\n $response = new Response(\n $zendResponse->getBody(),\n $zendResponse->getHttpResponseCode(),\n $this->getKeyValueHeaders($zendResponse)\n );\n return $response;\n }",
"public function run($request = null)\n {\n return $response = $this->dispatch($request);\n// if ($response instanceof Response) {\n// $response->send();\n// } else {\n// echo (string)$response;\n// }\n }",
"public function dispatch(Request $request)\r\n\t{\r\n\t global $rpgws_config;\r\n\t $controller = $request->get_uri_string();\r\n\t $action = $request->get_uri_string();\r\n\t if(empty($action)) $action = \"index\";\r\n\t \r\n\t $cont_class = \"User_\" . $controller . \"_Controller\";\r\n\t $action_method = $action . \"_action\";\r\n\t \r\n\t $view_file = dirname(__FILE__) . \"/view/\" . $controller . \"_\" . $action . \".php\";\r\n\t $this->m_View->set_layout(RPGWS_LAYOUT_PATH . \"/\" . $rpgws_config['layout']['default']);\r\n\t $this->m_View->set_content($view_file);\r\n\t $this->m_View->set_menu(new Menu());\r\n\t \r\n\t $cont = new $cont_class();\r\n\t if(!method_exists($cont, $action_method)) $action_method = \"index_action\";\r\n\t $cont->registerView($this->m_View);\r\n\t $cont->registerRequest($request);\r\n\t $cont->$action_method();\r\n\t}",
"public function processRequest() {\r\n switch($this->requestMethod) {\r\n case 'GET':\r\n if($this->id) {\r\n $response = $this->get($this->id);\r\n }\r\n else {\r\n $response = $this->getAll();\r\n }\r\n break;\r\n case 'POST':\r\n $response = $this->create();\r\n break;\r\n case 'PUT':\r\n $response = $this->update($this->id);\r\n break;\r\n case 'DELETE':\r\n $response = $this->delete($this->id);\r\n break;\r\n case 'OPTIONS':\r\n break;\r\n default:\r\n $response = $this->notFoundResponse();\r\n break;\r\n }\r\n\r\n header($response['status_code_header']);\r\n\r\n // If there is a body then echo it\r\n if($response['body']) {\r\n echo $response['body'];\r\n }\r\n }"
] |
[
"0.72546685",
"0.68382555",
"0.68194103",
"0.66777164",
"0.66543925",
"0.66270715",
"0.66252303",
"0.66074914",
"0.65637064",
"0.6553161",
"0.65027833",
"0.650012",
"0.64163685",
"0.63848525",
"0.63255",
"0.6319653",
"0.6317182",
"0.631194",
"0.6291518",
"0.6284705",
"0.62591815",
"0.6241908",
"0.6231739",
"0.6218092",
"0.6209572",
"0.61662304",
"0.61522144",
"0.6101163",
"0.6081734",
"0.6070835"
] |
0.8144727
|
0
|
Render admin Questions page
|
public function execute()
{
return $this->renderMyQuestionsAdminPage(__('Questions'));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function question_content() {\r\n $this->check_permission(19);\r\n $content_data['add'] = $this->check_page_action(19, 'add');\r\n\r\n $this->quick_page_setup(Settings_model::$db_config['adminpanel_theme'], 'adminpanel', $this->lang->line('question_content'), 'operation/question_content', 'header', 'footer', '', $content_data);\r\n }",
"public function ViewQuestionsForAdmin($QuestionnaireID) {\r\n //string to hold the HTML code for output\r\n $questions = $this->Wrapper->listQuestion($QuestionnaireID);\r\n $Questionnaire = $this->Wrapper->getQuestionnaire($QuestionnaireID);\r\n\t $PublishedFlag=$Questionnaire[0]->get_PublishFlag();\r\n\r\n if ($questions == false) {\r\n echo' <h2> <a class=\"add-new-h2\" \r\n\t\t\thref=\"' . add_query_arg(\r\n array('page' => 'GWU_add-Questionnaire-page',\r\n 'id' => 'new', 'Qid' => $QuestionnaireID,\r\n 'type' => 'multipleS'), admin_url('admin.php'))\r\n . '\">Add New Question</a></h2>';\r\n return;\r\n }\r\n\r\n include_once dirname(__FILE__) . '/views/QuestionViewAdmin.php';\r\n }",
"public function questions ( ) {\n $hooks = hooks::all();\n\n $title = \"Questions\";\n return view('pages.questions')->with([\n 'title' => $title,\n 'hooks' => $hooks\n ]);\n }",
"public function render()\n {\n $sondages = $this->model->getSondages();\n $questions = $this->model->getQuestions();\n $reponses = $this->model->getReponses();\n\n require ROOT . \"/App/view/admin/admin.php\";\n }",
"function questionAction() {\n // Get question parameter\n $id = $this->_getParam('id');\n if (! $id) {\n // Redirect back to stats when no ID is found\n $this->_redirect(\"/index/stats\");\n return;\n }\n\n // Fetch question\n $mapper = new Model_Question_Mapper();\n $question = $mapper->findByPk($id);\n if (! $question instanceof Model_Question_Entity) {\n $this->render(\"question/notfound\");\n return;\n }\n \n $this->view->question = $question;\n\n switch ($question->getStatus()) {\n case \"moderation\" :\n $this->render(\"question/moderation\");\n break;\n case \"pending\" :\n $this->render(\"question/pending\");\n break;\n case \"active\" :\n $this->render(\"question/active\");\n break;\n case \"done\" :\n $this->render(\"question/done\");\n break;\n default :\n $this->render(\"question/notfound\");\n break;\n }\n }",
"public function viewQuestionsAction() {\n\n $all = $this->comments->findAll();\n\n $res = [];\n foreach ($all as $value) {\n if ($this->commentanswer->isAnswer($value->id) == null) {\n $res[] = $value;\n }\n }\n\n /**\n * Alter object by connecting comment tags, adding user information from the database and filtering markdown on the comment object.\n */\n $res = $this->doAll($res);\n\n /**\n * Prepare the view.\n */\n $this->views->add('comment/commentsdb', [\n 'comments' => $res,\n 'title' => 'Browse Discussions',\n 'content' => \"\",\n ]);\n }",
"public function getQuestions()\n {\n $title = \"Questions\";\n $subtitle = \"Here you will find all the questions!\";\n $view = $this->di->get(\"view\");\n $pageRender = $this->di->get(\"pageRender\");\n\n // Get all the questions\n $questions = $this->di->get(\"questionModel\")->getQuestions();\n\n // Get number of answers\n $answers = [];\n foreach ($questions as $question) {\n $ans = $this->di->get(\"answerModel\")->getAnswersWhere(\"questionId\", $question->id);\n $answers[$question->id] = count($ans);\n }\n\n $data = [\n \"questions\" => $questions,\n \"subtitle\" => $subtitle,\n \"noOfAnswers\" => $answers,\n ];\n\n $view->add(\"pages/questions\", $data);\n $pageRender->renderPage([\"title\" => $title]);\n }",
"public function index()\n {\n $questions=Question::latest()->get();\n $data=SetInformationLang(auth()->user(),$this->defaultPosition,$this->defaultCode);\n\n $trans=$data['trans'];\n $code=$data['code'];\n $position=$data['position'];\n return view(\"admin.question.questions\",compact(\"questions\",\"position\",\"code\",\"trans\"));\n }",
"public function adminFaq()\n {\n $faqManager = new FaqManager();\n $showQuestion = $faqManager->findAllFaq();\n\n\n View::show(\"admin/adminFaq.php\", \"List FAQ page\", ['showQuestion'=>$showQuestion]);\n }",
"public function getQuestions()\n {\n $title = \"Questions\";\n $view = $this->di->get(\"view\");\n $pageRender = $this->di->get(\"pageRender\");\n $post = new Post($this->di->get(\"db\"));\n $user = new User($this->di->get(\"db\"));\n $tag = $this->di->get(\"tag\");\n\n $questions = $post->getQuestions();\n foreach ($questions as $question) {\n $question->tags = $tag->getPostTags($question->id);\n $question->user = $user->findAllWhere(\"id = ?\", [$question->userId])[0];//$user->find(\"id\", $question->userId);\n }\n\n $pag = $this->getPagination($questions);\n $view->add(\"comment/question-list\", [\n \"questions\" => array_slice($questions, $pag[\"offset\"], $pag[\"length\"], true),\n \"pag\" => $pag,\n ]);\n return $pageRender->renderPage([\"title\" => $title]);\n }",
"public function render_graphiql_admin_page()\n {\n }",
"function showQuestions()\n {\n if($this->TotalQuestions > 0)\n {#be certain there are questions\n foreach($this->aQuestion as $question)\n {#print data for each \n\n echo '\n\n <div class=\"panel panel-primary\">\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\">' . $question->Text . '</h3>\n </div>\n <div class=\"panel-body\">\n <p>' . $question->Description . '</p>\n ' . $question->showAnswers() . ' \n </div>\n </div>\n\n ';\n\n }\n }else{\n echo \"There are currently no questions for this survey.\";\t\n } \n\t}",
"function learn_press_single_quiz_questions() {\n\t\tlearn_press_get_template( 'content-quiz/questions.php' );\n\t}",
"public function index(){\n return view('frontend.questions.index');\n }",
"public function index()\n\t{\n\t\t$this->showLayoutWithTitle(\n\t\t\tView::make('questions.index')->with('questions', Question::ByUser(Auth::User()->id)),\n\t\t\t'Questions',\n\t\t\t$this->pageTitles['index']\n\t\t);\n\t}",
"public function showQuizDetails(): Response\n {\n //TODO modify after injecting the Session class in Controller\n return $this->renderer->renderView(\"admin-quiz-details.phtml\", [\n 'questions' => $quizzes = $this->repositoryManager->getRepository(QuestionTemplate::class)->getFilteredEntities(new Filter()),\n 'username' => $this->quizTemplateService->getName(),\n 'path' => 'create',\n ]);\n }",
"public function index()\n\t{\n\t\t$questions = Question::latest()->paginate(10);\n return view('admin.question.index', compact('questions'));\n\t}",
"function admin()\n{\n global $app;\n\n $app->render('admin.html', [\n 'page' => mkPage(getMessageString('admin'), 0, 1),\n 'isadmin' => is_admin()]);\n}",
"public function test_all_questions_and_answers_route_when_questioner_is_admin() {\n // create a user\n $user = $this->getDataGenerator()->create_user();\n\n // create a course\n $course = $this->getDataGenerator()->create_course();\n\n // enrolment\n $this->getDataGenerator()->enrol_user($user->id, $course->id);\n\n // create a course module\n $videoquanda = $this->getDataGenerator()->create_module('videoquanda', array(\n 'course' => $course->id\n ));\n\n $now = time();\n\n $this->loadDataSet($this->createArrayDataSet(array(\n 'videoquanda_questions' => array(\n array('id', 'instanceid', 'userid', 'timecreated', 'timemodified' ,'seconds', 'text'),\n array(1, $videoquanda->id, 2, $now, $now + 1, 2, 'dummy text'),\n array(2, $videoquanda->id, $user->id, $now, $now + 1, 2, 'dummy text')\n )\n )));\n\n $this->setAdminUser();\n $client = new Client($this->_app);\n $client->request('GET', '/api/v1/' . $videoquanda->id . '/questions');\n $json = $client->getResponse()->getContent();\n $this->assertEquals(200, $client->getResponse()->getStatusCode());\n $array = (array) json_decode($json);\n $this->assertCount(2, $array);\n }",
"public function show(AdminQuestionStore $question)\n {\n //\n }",
"public function index()\n {\n $q = Question::where('status' , 1)->get();\n return view('admin.questions.index' , compact('q'));\n }",
"public function actionFaq()\n {\n return $this->render('faq');\n }",
"public function actionQuestions($id) {\n\n $questions = new Questions();\n\n\n\n return $this->render('questions', [\n 'questions' => $questions,\n ]);\n }",
"public function index()\n {\n //\n $questions = Question::all();\n\n return view('admin.questions.all', ['questions' => $questions]);\n }",
"public function faqAction()\n {\n return $this->render('BerkmanSlideshowBundle:FAQ:show.html.twig');\n }",
"public function index() \n {\n\t if($this->session->get(\"has_set_a\") == '0') url::redirect('questionnaire_selection');\n \n\t\t$question = new TblQuestions();\n \n\t\t$get_total_question = $question->get_total(\"client_project_planner\");\n\t\n\t if($this->input->post()) $this->get_answers_page_1();\n\t\n\t\t$this->template->content = new View(\"creative_page_one\");\n\t\t$this->template->content->question = $get_total_question->execute();\n }",
"public function questions()\n {\n\n $client = new \\GuzzleHttp\\Client();\n\n $request = $client->get('http://localhost/quizci/questions');\n $response = $request->getBody()->getContents();\n\n $res_json_decode = json_decode($response);\n $data_collection = collect($res_json_decode->questions);\n //dd($data_collect);\n\n return View('admin.pages.questions', compact('data_collection'));\n }",
"public function actionFaq() {\n // using the default layout 'protected/views/layouts/main.php'\n $model = Faq::model()->findAll();\n $this->render('faq', array('faqs' => $model,));\n }",
"public function addQuestionGet(){\n\n return View('admin.question');\n }",
"private function viewQuestion() : void\n {\n $allQuestions = $this->questionRepository->list(['id', 'question']);\n\n if( $this->questionRepository->hasUnAnsweredQuestions() ) {\n\n $this->transformQuestionsList($allQuestions);\n $this->chooseQuestionToAnswer();\n\n } elseIf(!$allQuestions->count()) {\n\n $this->console->info( 'No questions added. Add new question to start answering');\n\n } else {\n $this->showProgress();\n }\n }"
] |
[
"0.7025636",
"0.6870104",
"0.68191624",
"0.6767262",
"0.66515154",
"0.6601215",
"0.6594949",
"0.6573678",
"0.6568403",
"0.655745",
"0.65571916",
"0.6536682",
"0.6510067",
"0.64717185",
"0.6422405",
"0.63998485",
"0.6349373",
"0.63421255",
"0.63408595",
"0.6334741",
"0.63316166",
"0.63310724",
"0.63292783",
"0.62850803",
"0.62819463",
"0.6280688",
"0.62693584",
"0.62379724",
"0.6230853",
"0.62227505"
] |
0.7563258
|
0
|
/ Return Products of Category with Filters
|
public function getCategoryProductWithFilter($categoryId , $filters = []) {
$prefix = config('database.connections.mysql.prefix');
$sql = "Select p.id
FROM {$prefix}products as p
INNER JOIN {$prefix}category_product as cp on p.id = cp.product_id ";
foreach ($filters as $type => $filterArray) {
if('property' == $type) {
foreach ($filterArray as $identifier => $value) {
$property = $this->findPropertyByIdentifier($identifier);
if("INTEGER" == $property->data_type) {
$sql .= "INNER JOIN {$prefix}product_property_integer_values as ppiv ON p.id = ppiv.product_id ";
}
}
}
if('attribute' == $type) {
foreach ($filterArray as $identifier => $value) {
$attribute = $this->findAttributeByIdentifier($identifier);
$sql .= "INNER JOIN {$prefix}product_attribute_integer_values as paiv ON p.id = paiv.product_id ";
}
}
}
$sql .= "WHERE cp.category_id = ? ";
foreach ($filters as $type => $filterArray) {
if('property' == $type) {
foreach ($filterArray as $identifier => $value) {
$property = $this->findPropertyByIdentifier($identifier);
if("INTEGER" == $property->data_type) {
$sql .= "AND ppiv.property_id = {$property->id} AND ppiv.value={$value}";
}
}
}
}
foreach ($filters as $type => $filterArray) {
if('attribute' == $type) {
foreach ($filterArray as $identifier => $value) {
$attribute = $this->findAttributeByIdentifier($identifier);
$sql .= "AND paiv.attribute_id = {$attribute->id} AND paiv.value={$value}";
}
}
}
$products = DB::select($sql, [$categoryId]);
$collect = Collection::make([]);
foreach ($products as $productArray) {
$product = $this->findProductById($productArray->id);
if($product->type == "VARIABLE_PRODUCT") {
$collect->push(($product->getVariableMainProduct()));
} else {
$collect->push($this->findProductById($productArray->id));
}
}
return $collect;
/**
* FROM avored_products as p
*
*
*
*
* where ppiv.property_id = 1 AND
*/
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function get_product_category_filters($data) {\n $category_id = $data['category_id'];\n // Return category filters object\n return (object) [\n 'attributes' => get_product_category_attribute_terms($category_id),\n 'subcategories' => get_product_category_subcategories($category_id),\n 'price' => get_product_category_price_min_max($category_id)\n ];\n}",
"function getProductListWithFilter($results6, $category_id)\n{\n if (!empty($category_id)) {\n foreach ($results6 as $key => $value) {\n echo '<div id = \"product\"><a href =\"index.php?action=product&id=' . $value['product_id'] . '\">' . $value['name'] . ' ' .\n $value['model'] . '<br><img src=' . $value['picture'] . '><br><br>' . $value['price'] . '</a><br><br></div>';\n }\n }\n}",
"public function filter(Request $request)\n {\n if (@$_COOKIE['filter']) {\n $filter = unserialize(@$_COOKIE['filter']);\n if (is_array($filter['categories'])) {\n if (!in_array($request->get('value'), $filter['categories'])) {\n $filter['categories'][$request->get('value')] = $request->get('value');\n }else{\n unset($filter['categories'][$request->get('value')]);\n }\n }\n setcookie('filter', serialize($filter), time() + 10000000, '/');\n $filterId = $filter;\n }\n\n $products = $this->_getProductList($filterId, $request->get('category_id'));\n $brands = $this->_getBrandsList($filterId);\n $subcategories = ProductCategory::where('parent_id', $request->get('category_id'))->get();\n $properties = $this->getProperties($request->get('category_id'));\n $category = ProductCategory::where('id', $request->get('category_id'))->first();\n\n self::$productList = $products->pluck('id')->toArray();\n $products = $this->getProductsByParams($filter);\n\n $data['products'] = view('front.filters.productToFilter', compact('products'))->render();\n $data['filter'] = view('front.filters.categoryFilter', compact('subcategories', 'brands', 'category', 'filter', 'properties', 'products'))->render();\n $data['url'] = http_build_query($filter, 'myvar_');\n\n return json_encode($data);\n }",
"public function getAllProducts() {\n $searchCondition .= \"searchCriteria[filter_groups][0][filters][0][field]=category_id&\";\n $searchCondition .= \"searchCriteria[filter_groups][0][filters][0][value]=25&\";\n $searchCondition .= \"searchCriteria[filter_groups][0][filters][0][condition_type]=eq&\";\n $searchCondition .= \"searchCriteria[filter_groups][1][filters][0][field]=sku&\";\n $searchCondition .= \"searchCriteria[filter_groups][1][filters][0][value]=%25case%25&\";\n $searchCondition .= \"searchCriteria[filter_groups][1][filters][0][condition_type]=nlike\";\n\n $this->products = $this->cUrlRequest($this->url . '/rest/V1/products?fields=items[name,price,custom_attributes,sku]&'.$searchCondition.'&searchCriteria[pageSize]=' . $this->items, $this->getToken());\n\n return $this->products;\n }",
"public function productsBasedOnCategory($category_id){\n $now=Carbon::now();\n $date=$now->toDateString();\n $products=Product::where([['status',1],['sell_by_date','>',$date],['category_id',$category_id]])->get();\n\n /*to be populated in dashboard*/\n $categories=Category::all();\n\n $category=Category::find($category_id);\n return view('products.filter.byCategory',compact('products','categories','category'));\n }",
"function get_product_by_filter($category_id,$brand_id){\n $this->db->select(\"tp.name as product_name,\n pp.prod_id,\n pp.prod_price_id,\n pp.sold_as,\n pp.attributes_value,\n pp.price,\n pp.tax_rate\")\n ->from('tbl_products as tp')\n ->join('tbl_product_price as pp','pp.prod_id=tp.prod_id','left')\n ->join('tbl_product_attributes as tpa','tpa.attributes_id=pp.attributes_id','left')\n ->where(array(\"tp.category_id\"=>$category_id,\"tp.is_deleted\"=>\"0\",\"tp.brand_id\"=>$brand_id));\n return $this->db->get()->result();\n }",
"public function render_products_category()\r\n {\r\n if ($_REQUEST['product_cat'] !== '') {\r\n wc_product_dropdown_categories(\r\n array(\r\n 'option_select_text' => __('Filter by category', 'woocommerce'),\r\n 'hide_empty' => 0,\r\n 'selected' => $_REQUEST['product_cat']\r\n )\r\n );\r\n } else {\r\n wc_product_dropdown_categories(\r\n array(\r\n 'option_select_text' => __('Filter by category', 'woocommerce'),\r\n 'hide_empty' => 0,\r\n )\r\n );\r\n }\r\n }",
"public function test_products_can_be_filtered_by_category()\n {\n $products = factory(Product::class, 2)->create();\n \n // and the first proudct has a category\n $products->first()->categories()->save($category = factory(Category::class)->create());\n\n // if we hit our endpoint querying for that category, the product with that category will be returned\n // but the other product will not be present\n $this->json('get', route('products.index', ['category' => $category->slug]))\n ->assertJsonFragment(['slug' => $products->first()->slug])\n ->assertJsonMissing(['name' => $products->last()->name]);\n }",
"private function filterCategory()\n {\n if(empty($this->category) || $this->category === static::FILTER_CATEGORY_NONE) {\n return;\n }\n\n if($this->category === static::FILTER_CATEGORY_OTHER) {\n $this->query->andWhere(['LIKE', 'category', 'yii\\\\']);\n return;\n }\n\n $this->query->andWhere(['category' => $this->category]);\n }",
"public function prod_list_by_category() {\n $url_cate = get_raw_app_uri();\n if (!empty($url_cate)) {\n $Product = new Product();\n $info = $Product->getProductByCategory($url_cate);\n $data['content'] = 'list_product'; \n $data['product'] = $info['product'];\n $data['paging'] = $info['paging'];\n $data['selected'] = $url_cate;\n \n //seo\n \n $Category = new ProductCategory();\n $list_cate = $Category->getCategoryByLink($url_cate);\n if ($list_cate->countRows() > 0){\n $list_cate->fetchNext();\n $data['title_page'] = $list_cate->get_prod_cate_name();\n $data['description'] = $list_cate->get_prod_cate_meta_description();\n $data['keywords'] = $list_cate->get_prod_cate_keywords();\n }else{\n $data['title_page'] = '';\n $data['description'] = '';\n $data['keywords'] = '';\n }\n \n $array_menus = array();\n $filter = array();\n $filter['parent_id'] = 0;\n Menu::getMenuTree($array_menus, $filter);\n $data['array_menus'] = $array_menus;\n \n $this->load->view('temp', $data);\n } else {\n redirect(Variable::getDefaultPageString());\n }\n }",
"protected function _getProductList($filterId, $catId){\n $products = Product::when(count($filterId['categories']) > 0, function ($query) use ($filterId) {\n $subcats = ProductCategory::whereIn('parent_id', $filterId['categories'])->pluck('id')->toArray();\n $subcatsLast = ProductCategory::whereIn('parent_id', $subcats)->pluck('id')->toArray();\n $cats = array_merge($subcats, $filterId['categories'], $subcatsLast);\n return $query->whereIn('category_id', array_filter($cats));\n })\n ->when(count($filterId['categories']) == 0, function ($query) use ($catId) {\n $subcats = ProductCategory::where('parent_id', $catId)->pluck('id')->toArray();\n $subcatsLast = ProductCategory::whereIn('parent_id', $subcats)->pluck('id')->toArray();\n $cats = array_merge($subcats, $subcatsLast, [$catId]);\n return $query->whereIn('category_id', array_filter($cats));\n })\n ->when(count($filterId['price']) > 0, function ($query) use ($filterId) {\n return $query->where('actual_price_lei', '>=', $filterId['price']['from'])->where('actual_price_lei', '<=', $filterId['price']['to']);\n })\n ->when(count($filterId['limit']) > 0, function ($query) use ($filterId) {\n return $query->limit($filterId['limit']);\n })\n ->get();\n\n return $products;\n }",
"function filter($_search, $_category, $_sort){\n\t\tinclude('mysql_r_db_connect.php');\n\t\t\n\t\t//Create dynamically OREDER BY\n\t\tswitch ($_sort){\n\t\t\tcase 1:\n\t\t\t\t$_sort = 'ORDER BY fldIdProduct DESC';\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\t$_sort = 'ORDER BY fldPrice ASC';\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\t$_sort = 'ORDER BY fldPrice DESC';\n\t\t\t\tbreak;\n\t\t}\n\t\t\n\t\t$_search = '%' . $_search . '%';\n\t\t\n\t\t//Check if such product exists \n\t\t$sql = \"SELECT COUNT(fldIdProduct) FROM tblProducts WHERE fldProduct LIKE '$_search'\";\n\t\t$quantity = $handle -> prepare($sql);\n\t\t$quantity->execute();\n\t\t$row = $quantity->fetchColumn();\n\t\t\n\t\tif ($row != 0){\n\t\t\t\n\t\t\t//Check if to search in specific category or in all\n\t\t\t$sql = \"SELECT COUNT(fldIdCategory) FROM tblCategorys WHERE fldCategoryShort LIKE '$_category'\";\n\t\t\t$quantity = $handle -> prepare($sql);\n\t\t\t$quantity->execute();\n\t\t\t$row = $quantity->fetchColumn();\n\t\t\t\n\t\t\tif ($row == 0){\n\t\t\t\n\t\t\t\t//SQL query to show the wanted Products\n\t\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldPrice, fldImage FROM tblProducts WHERE fldProduct LIKE '$_search' AND fldEnabled <> false $_sort\";\n\t\t\t\t$stmt = $handle->query($sql);\n\t\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\techo '\n\t\t\t\t\t\t<!-- Begin of product content-->\n\t\t\t\t\t\t<div class=\"col m6\">\n\t\t\t\t\t\t\t<!-- Beginn of product-->\n\t\t\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t\t\t<div class=\"card-image\">\n\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\">\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<a class=\"btn-floating halfway-fab waves-effect waves-light red modal-trigger\" href=\"#' . $row->fldIdProduct . '\"><i class=\"material-icons\">add</i></a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"card-content center\">\n\t\t\t\t\t\t\t\t\t<p>' . $row->fldProduct . '</p>\n\t\t\t\t\t\t\t\t\t<h4>' . $row->fldPrice . ' CHF</h4>\n\t\t\t\t\t\t\t\t\t<br/>';\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//SQL query to get FK of Tag\n\t\t\t\t\t\t\t\t\t$sql_fk_tag = \"SELECT fldFkTag FROM tblProductsToTags WHERE fldFkProduct LIKE '$row->fldIdProduct'\";\n\t\t\t\t\t\t\t\t\t$stmt_fk_tag = $handle->query($sql_fk_tag);\n\t\t\t\t\t\t\t\t\twhile($row_fk_tag = $stmt_fk_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//SQL query to get Tag\n\t\t\t\t\t\t\t\t\t\t$sql_tag = \"SELECT fldTag FROM tblTags WHERE fldIdTag LIKE '$row_fk_tag->fldFkTag'\";\n\t\t\t\t\t\t\t\t\t\t$stmt_tag = $handle->query($sql_tag);\n\t\t\t\t\t\t\t\t\t\twhile($row_tag = $stmt_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\techo '<div class=\"chip\"><a href=\"filter.php?search='.$row_tag->fldTag.'&category=All&sort=1&start_search=Suchen\">' . $row_tag->fldTag . '</a></div>';\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\techo '</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!-- End of product-->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- End of product content-->\n\t\t\t\t\t';\n\t\t\t\t}\t\n\t\t\t\techo '\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t\t';\n\t\t\t\t\n\t\t\t//SQL query to create modal for shown Products\n\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldDescription, fldPrice, fldImage, fldFkSoldBy FROM tblProducts WHERE fldProduct LIKE '$_search' AND fldEnabled <> false $_sort\";\n\t\t\t$stmt = $handle->query($sql);\n\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t//SQL query to get seller\n\t\t\t\t$sql_seller = \"SELECT fldUsername FROM tblUsers WHERE fldIdUser LIKE '$row->fldFkSoldBy'\";\n\t\t\t\t$stmt_seller = $handle->query($sql_seller);\n\t\t\t\twhile($row_seller = $stmt_seller->fetchObject()){\n\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\techo '\n\t\t\t\t\t\t<div id=\"' . $row->fldIdProduct . '\" class=\"modal\">\n\t\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t\t<h4>' . $row->fldProduct . '</h4>\n\t\t\t\t\t\t\t\t<div class=\"clearfix float-my-children\">\n\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\" class=\"imagepadding\">\n\t\t\t\t\t\t\t\t\t<!-- Modal details container-->\n\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t<p class=\"DescTitle\">Produkt Beschreibung:</p>\n\t\t\t\t\t\t\t\t\t\t<p class=\"Description\">' . $row->fldDescription . '</p>\n\t\t\t\t\t\t\t\t\t\t<p class=\"DescPrice\">\n\t\t\t\t\t\t\t\t\t\tPreis: ' . $row->fldPrice . ' CHF\n\t\t\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t\t\t\t<!-- Buy informations button/link-->\n\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"buy.php?product=' . $row->fldIdProduct . '\" class=\"waves-effect waves-light btn\">Jetzt Kaufen</a>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescVerkaufer\">Verkaufer: <a href=\"userprof.php?user=' . $row->fldFkSoldBy . '\">' . $row_seller->fldUsername . '</a></p>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<!-- End of buy informations-->\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<!-- End of details container-->\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<!-- Modal bottom button-->\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"modal-footer\">\n\t\t\t\t\t\t\t\t<a class=\"modal-action modal-close waves-effect waves-teal lighten-2 btn-flat\">Schliessen</a>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!-- End of bottom button-->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- End of modal-->\n\t\t\t\t\t';\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\t//Search for entries in specific category\n\t\t\t\t$sql_cat = \"SELECT fldIdCategory FROM tblCategorys WHERE fldCategoryShort LIKE '$_category'\";\n\t\t\t\t$stmt_cat = $handle->query($sql_cat);\n\t\t\t\t$row_cat = $stmt_cat->fetchObject();\n\t\t\t\t\n\t\t\t\t//SQL query to show wanted Products\n\t\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldPrice, fldImage FROM tblProducts WHERE fldProduct LIKE '$_search' AND fldFkCategory LIKE '$row_cat->fldIdCategory' AND fldEnabled <> false $_sort\";\n\t\t\t\t$stmt = $handle->query($sql);\n\t\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\techo '\n\t\t\t\t\t\t<!-- Begin of product content-->\n\t\t\t\t\t\t<div class=\"col m6\">\n\t\t\t\t\t\t\t<!-- Beginn of product-->\n\t\t\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t\t\t<div class=\"card-image\">\n\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\">\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<a class=\"btn-floating halfway-fab waves-effect waves-light red modal-trigger\" href=\"#' . $row->fldIdProduct . '\"><i class=\"material-icons\">add</i></a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"card-content center\">\n\t\t\t\t\t\t\t\t\t<p>' . $row->fldProduct . '</p>\n\t\t\t\t\t\t\t\t\t<h4>' . $row->fldPrice . ' CHF</h4>\n\t\t\t\t\t\t\t\t\t<br/>';\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//SQL query to get FK of Tag\n\t\t\t\t\t\t\t\t\t$sql_fk_tag = \"SELECT fldFkTag FROM tblProductsToTags WHERE fldFkProduct LIKE '$row->fldIdProduct'\";\n\t\t\t\t\t\t\t\t\t$stmt_fk_tag = $handle->query($sql_fk_tag);\n\t\t\t\t\t\t\t\t\twhile($row_fk_tag = $stmt_fk_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//SQL query to get Tag\n\t\t\t\t\t\t\t\t\t\t$sql_tag = \"SELECT fldTag FROM tblTags WHERE fldIdTag LIKE '$row_fk_tag->fldFkTag'\";\n\t\t\t\t\t\t\t\t\t\t$stmt_tag = $handle->query($sql_tag);\n\t\t\t\t\t\t\t\t\t\twhile($row_tag = $stmt_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\techo '<div class=\"chip\"><a href=\"filter.php?search='.$row_tag->fldTag.'&category=All&sort=1&start_search=Suchen\">' . $row_tag->fldTag . '</a></div>';\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\techo '</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!-- End of product-->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- End of product content-->\n\t\t\t\t\t';\n\t\t\t\t}\n\t\t\t\techo '\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t';\t\n\t\t\t\t//SQL query to create modal for shown Products\n\t\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldDescription, fldPrice, fldImage, fldFkSoldBy FROM tblProducts WHERE fldProduct LIKE '$_search' $_sort\";\n\t\t\t\t$stmt = $handle->query($sql);\n\t\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t\t//SQL query to get seller\n\t\t\t\t\t$sql_seller = \"SELECT fldUsername FROM tblUsers WHERE fldIdUser LIKE '$row->fldFkSoldBy'\";\n\t\t\t\t\t$stmt_seller = $handle->query($sql_seller);\n\t\t\t\t\twhile($row_seller = $stmt_seller->fetchObject()){\n\t\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\t\techo '\n\t\t\t\t\t\t\t<div id=\"' . $row->fldIdProduct . '\" class=\"modal\">\n\t\t\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t\t\t<h4>' . $row->fldProduct . '</h4>\n\t\t\t\t\t\t\t\t\t<div class=\"clearfix float-my-children\">\n\t\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\" class=\"imagepadding\">\n\t\t\t\t\t\t\t\t\t\t<!-- Modal details container-->\n\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescTitle\">Produkt Beschreibung:</p>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"Description\">' . $row->fldDescription . '</p>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescPrice\">\n\t\t\t\t\t\t\t\t\t\t\tPreis: ' . $row->fldPrice . ' CHF\n\t\t\t\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t\t\t\t\t<!-- Buy informations button/link-->\n\t\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"buy.php?product=' . $row->fldIdProduct . '\" class=\"waves-effect waves-light btn\">Jetzt Kaufen</a>\n\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescVerkaufer\">Verkaufer: <a href=\"userprof.php?user=' . $row->fldFkSoldBy . '\">' . $row_seller->fldUsername . '</a></p>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t<!-- End of buy informations-->\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<!-- End of details container-->\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<!-- Modal bottom button-->\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"modal-footer\">\n\t\t\t\t\t\t\t\t\t<a class=\"modal-action modal-close waves-effect waves-teal lighten-2 btn-flat\">Schliessen</a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<!-- End of bottom button-->\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- End of modal-->\n\t\t\t\t\t\t';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\t//Search for tags with the same words like the user input\n\t\t\t$sql = \"SELECT COUNT(fldIdTag) FROM tblTags WHERE fldTag LIKE '$_search'\";\n\t\t\t$quantity = $handle -> prepare($sql);\n\t\t\t$quantity->execute();\n\t\t\t$row = $quantity->fetchColumn();\n\t\t\t\n\t\t\tif ($row != 0){\n\t\t\t\t//Get ID of Tag\n\t\t\t\t$sql_tag = \"SELECT fldIdTag FROM tblTags WHERE fldTag LIKE '$_search'\";\n\t\t\t\t$stmt_tag = $handle->query($sql_tag);\n\t\t\t\t$row_tag = $stmt_tag->fetchObject();\t\n\t\t\t\t\n\t\t\t\t//Get FK of Tag from in between table\n\t\t\t\t$sql_pro = \"SELECT fldFkProduct FROM tblProductsToTags WHERE fldFkTag LIKE '$row_tag->fldIdTag'\";\n\t\t\t\t$stmt_pro = $handle->query($sql_pro);\n\t\t\t\t$row_pro = $stmt_pro->fetchObject();\n\t\t\t\t\n\t\t\t\t//SQL query to show the wanted Products\n\t\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldPrice, fldImage FROM tblProducts WHERE fldIdProduct LIKE '$row_pro->fldFkProduct' $_sort\";\n\t\t\t\t$stmt = $handle->query($sql);\n\t\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\techo '\n\t\t\t\t\t\t<!-- Begin of product content-->\n\t\t\t\t\t\t<div class=\"col m6\">\n\t\t\t\t\t\t\t<!-- Beginn of product-->\n\t\t\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t\t\t<div class=\"card-image\">\n\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\">\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<a class=\"btn-floating halfway-fab waves-effect waves-light red modal-trigger\" href=\"#' . $row->fldIdProduct . '\"><i class=\"material-icons\">add</i></a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"card-content center\">\n\t\t\t\t\t\t\t\t\t<p>' . $row->fldProduct . '</p>\n\t\t\t\t\t\t\t\t\t<h4>' . $row->fldPrice . ' CHF</h4>\n\t\t\t\t\t\t\t\t\t<br/>';\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//SQL query to get FK of Tag\n\t\t\t\t\t\t\t\t\t$sql_fk_tag = \"SELECT fldFkTag FROM tblProductsToTags WHERE fldFkProduct LIKE '$row->fldIdProduct'\";\n\t\t\t\t\t\t\t\t\t$stmt_fk_tag = $handle->query($sql_fk_tag);\n\t\t\t\t\t\t\t\t\twhile($row_fk_tag = $stmt_fk_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t//SQL query to get Tag\n\t\t\t\t\t\t\t\t\t\t$sql_tag = \"SELECT fldTag FROM tblTags WHERE fldIdTag LIKE '$row_fk_tag->fldFkTag'\";\n\t\t\t\t\t\t\t\t\t\t$stmt_tag = $handle->query($sql_tag);\n\t\t\t\t\t\t\t\t\t\twhile($row_tag = $stmt_tag->fetchObject()){\n\t\t\t\t\t\t\t\t\t\t\techo '<div class=\"chip\"><a href=\"filter.php?search='.$row_tag->fldTag.'&category=All&sort=1&start_search=Suchen\">' . $row_tag->fldTag . '</a></div>';\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\techo '</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!-- End of product-->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<!-- End of product content-->\n\t\t\t\t\t';\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//SQL query to create modal for shown Products\n\t\t\t\t$sql = \"SELECT fldIdProduct, fldProduct, fldDescription, fldPrice, fldImage, fldFkSoldBy FROM tblProducts WHERE fldIdProduct LIKE '$row_pro->fldFkProduct' $_sort\";\n\t\t\t\t$stmt = $handle->query($sql);\n\t\t\t\twhile($row = $stmt->fetchObject()){\n\t\t\t\t\t//SQL query to get seller\n\t\t\t\t\t$sql_seller = \"SELECT fldUsername FROM tblUsers WHERE fldIdUser LIKE '$row->fldFkSoldBy'\";\n\t\t\t\t\t$stmt_seller = $handle->query($sql_seller);\n\t\t\t\t\twhile($row_seller = $stmt_seller->fetchObject()){\n\t\t\t\t\t\t//Auto generated HTML for display Products\n\t\t\t\t\t\techo '\n\t\t\t\t\t\t\t<div id=\"' . $row->fldIdProduct . '\" class=\"modal\">\n\t\t\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t\t\t<h4>' . $row->fldProduct . '</h4>\n\t\t\t\t\t\t\t\t\t<div class=\"clearfix float-my-children\">\n\t\t\t\t\t\t\t\t\t\t<img src=\"img/products/' . $row->fldImage . '\" class=\"imagepadding\">\n\t\t\t\t\t\t\t\t\t\t<!-- Modal details container-->\n\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescTitle\">Produkt Beschreibung:</p>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"Description\">' . $row->fldDescription . '</p>\n\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescPrice\">\n\t\t\t\t\t\t\t\t\t\t\tPreis: ' . $row->fldPrice . ' CHF\n\t\t\t\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t\t\t\t\t<!-- Buy informations button/link-->\n\t\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"buy.php?product=' . $row->fldIdProduct . '\" class=\"waves-effect waves-light btn\">Jetzt Kaufen</a>\n\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"DescVerkaufer\">Verkaufer: <a href=\"userprof.php?user=' . $row->fldFkSoldBy . '\">' . $row_seller->fldUsername . '</a></p>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t<!-- End of buy informations-->\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<!-- End of details container-->\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<!-- Modal bottom button-->\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"modal-footer\">\n\t\t\t\t\t\t\t\t\t<a class=\"modal-action modal-close waves-effect waves-teal lighten-2 btn-flat\">Schliessen</a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<!-- End of bottom button-->\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<!-- End of modal-->\n\t\t\t\t\t\t';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\techo '</div></div>';\n\t\t\t\t}\n\t\t\telse{\n\t\t\t\techo 'Es tut uns leid, aber es konnten keine Produkte mit diesen Suchkriterien gefunden werden</div></div>';\n\t\t\t}\n\t\t}\n\t}",
"public function getFilterProducts()\n {\n return $this->filterProducts;\n }",
"private function _get_filters_section_settings() {\r\n\r\n // Get all product categories\r\n $termArgs = array(\r\n 'taxonomy' => 'product_cat',\r\n 'hide_empty' => false\r\n );\r\n $productTermsObject = get_terms( $termArgs );\r\n $productTerms = array();\r\n\r\n if ( !is_wp_error( $productTermsObject ) ) {\r\n\r\n foreach( $productTermsObject as $term )\r\n $productTerms[ $term->slug ] = $term->name;\r\n\r\n }\r\n\r\n foreach ( WWOF_Product_Listing_Helper::get_all_products( 'ID , post_title' ) as $post ){\r\n $product = wc_get_product( $post->ID );\r\n $allProducts[ WWOF_Functions::wwof_get_product_id( $product ) ] = '[ID : ' . WWOF_Functions::wwof_get_product_id( $product ) . '] ' . $post->post_title;\r\n }\r\n\r\n // Add \"None\" category selection for \"no default\" option\r\n $productTerms2 = array_merge( array ('none' => __( 'No Default' , 'woocommerce-wholesale-order-form' ) ), $productTerms );\r\n\r\n return array(\r\n\r\n array(\r\n 'title' => __( 'Filters Options', 'woocommerce-wholesale-order-form' ),\r\n 'type' => 'title',\r\n 'desc' => '',\r\n 'id' => 'wwof_filters_main_title'\r\n ),\r\n\r\n array(\r\n 'title' => __( 'Product Category Filter' , 'woocommerce-wholesale-order-form' ),\r\n 'type' => 'multiselect',\r\n 'desc' => __( 'Only display products belonging to the selected category' , 'woocommerce-wholesale-order-form' ),\r\n 'desc_tip' => true,\r\n 'id' => 'wwof_filters_product_category_filter',\r\n 'class' => 'chosen_select',\r\n 'css' => 'min-width:300px;',\r\n 'custom_attributes' => array(\r\n 'multiple' => 'multiple',\r\n 'data-placeholder' => __( 'Select Some Product Categories...' , 'woocommerce-wholesale-order-form' )\r\n ),\r\n 'options' => $productTerms\r\n ),\r\n\r\n array(\r\n 'title' => __( 'Exclude Product Filter' , 'woocommerce-wholesale-order-form' ),\r\n 'type' => 'multiselect',\r\n 'desc' => __( 'Exclude selected products' , 'woocommerce-wholesale-order-form' ),\r\n 'desc_tip' => true,\r\n 'id' => 'wwof_filters_exclude_product_filter',\r\n 'class' => 'chosen_select',\r\n 'css' => 'min-width:300px;',\r\n 'custom_attributes' => array(\r\n 'multiple' => 'multiple',\r\n 'data-placeholder' => __( 'Select Some Products...' , 'woocommerce-wholesale-order-form' )\r\n ),\r\n 'options' => $allProducts\r\n ),\r\n\r\n array(\r\n 'title' => __( 'Default Product Category on Search Filter' , 'woocommerce-wholesale-order-form' ),\r\n 'type' => 'select',\r\n 'desc' => __( 'Select a product category to which product are under will be loaded by default in the order form.' , 'woocommerce-wholesale-order-form' ),\r\n 'desc_tip' => true,\r\n 'id' => 'wwof_general_default_product_category_search_filter',\r\n 'class' => 'chosen_select',\r\n 'options' => $productTerms2,\r\n 'default' => 'none'\r\n ),\r\n\r\n array(\r\n 'type' => 'sectionend',\r\n 'id' => 'wwof_filters_sectionend'\r\n )\r\n\r\n );\r\n\r\n }",
"protected function render_filters() {\n\t\t$categories_count = (int) wp_count_terms( 'product_cat' );\n\n\t\tif ( $categories_count <= apply_filters( 'woocommerce_product_category_filter_threshold', 100 ) ) {\n\t\t\twc_product_dropdown_categories(\n\t\t\t\tarray(\n\t\t\t\t\t'option_select_text' => __( 'Filter by category', 'woocommerce' ),\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\t$current_category_slug = isset( $_GET['product_cat'] ) ? wc_clean( wp_unslash( $_GET['product_cat'] ) ) : false; // WPCS: input var ok, CSRF ok.\n\t\t\t$current_category = $current_category_slug ? get_term_by( 'slug', $current_category_slug, 'product_cat' ) : false;\n\t\t\t?>\n\t\t\t<select class=\"wc-category-search\" name=\"product_cat\" data-placeholder=\"<?php esc_attr_e( 'Filter by category', 'woocommerce' ); ?>\" data-allow_clear=\"true\">\n\t\t\t\t<?php if ( $current_category_slug && $current_category ) : ?>\n\t\t\t\t\t<option value=\"<?php echo esc_attr( $current_category_slug ); ?>\" selected=\"selected\"><?php echo esc_html( $current_category->name ); ?><option>\n\t\t\t\t<?php endif; ?>\n\t\t\t</select>\n\t\t\t<?php\n\t\t}\n\n\t\t$current_product_type = isset( $_REQUEST['product_type'] ) ? wc_clean( wp_unslash( $_REQUEST['product_type'] ) ) : false; // WPCS: input var ok, sanitization ok.\n\t\t$terms = get_terms( 'product_type' );\n\t\t$output = '<select name=\"product_type\" id=\"dropdown_product_type\"><option value=\"\">' . __( 'Filter by product type', 'woocommerce' ) . '</option>';\n\n\t\tforeach ( $terms as $term ) {\n\t\t\t$output .= '<option value=\"' . sanitize_title( $term->name ) . '\" ';\n\t\t\t$output .= selected( $term->slug, $current_product_type, false );\n\t\t\t$output .= '>';\n\n\t\t\tswitch ( $term->name ) {\n\t\t\t\tcase 'grouped':\n\t\t\t\t\t$output .= __( 'Grouped product', 'woocommerce' );\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'external':\n\t\t\t\t\t$output .= __( 'External/Affiliate product', 'woocommerce' );\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'variable':\n\t\t\t\t\t$output .= __( 'Variable product', 'woocommerce' );\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'simple':\n\t\t\t\t\t$output .= __( 'Simple product', 'woocommerce' );\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t// Assuming that we have other types in future.\n\t\t\t\t\t$output .= ucfirst( $term->name );\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t$output .= '</option>';\n\n\t\t\tif ( 'simple' === $term->name ) {\n\n\t\t\t\t$output .= '<option value=\"downloadable\" ';\n\t\t\t\t$output .= selected( 'downloadable', $current_product_type, false );\n\t\t\t\t$output .= '> ' . ( is_rtl() ? '←' : '→' ) . ' ' . __( 'Downloadable', 'woocommerce' ) . '</option>';\n\n\t\t\t\t$output .= '<option value=\"virtual\" ';\n\t\t\t\t$output .= selected( 'virtual', $current_product_type, false );\n\t\t\t\t$output .= '> ' . ( is_rtl() ? '←' : '→' ) . ' ' . __( 'Virtual', 'woocommerce' ) . '</option>';\n\t\t\t}\n\t\t}\n\n\t\t$output .= '</select>';\n\n\t\t$current_stock_status = isset( $_REQUEST['stock_status'] ) ? wc_clean( wp_unslash( $_REQUEST['stock_status'] ) ) : false; // WPCS: input var ok, sanitization ok.\n\t\t$stock_statuses = wc_get_product_stock_status_options();\n\t\t$output .= '<select name=\"stock_status\"><option value=\"\">' . esc_html__( 'Filter by stock status', 'woocommerce' ) . '</option>';\n\n\t\tforeach ( $stock_statuses as $status => $label ) {\n\t\t\t$output .= '<option ' . selected( $status, $current_stock_status, false ) . ' value=\"' . esc_attr( $status ) . '\">' . esc_html( $label ) . '</option>';\n\t\t}\n\n\t\t$output .= '</select>';\n\n\t\techo apply_filters( 'woocommerce_product_filters', $output ); // WPCS: XSS ok.\n\t}",
"function productList() {\n\t$categoryIds = array_merge ( [ \n\t\t\t$this->id \n\t], $this->subcategoryIds () );\n\tprint_r ( $categoryIds );\n\t// Find all products that match the retrieved category IDs\n\treturn Product::whereIn ( 'cate_id', $categoryIds )->get ();\n}",
"function getProductsByCategory()\n\t{\n\t\tglobal $con;\n\t\tif (isset($_GET['cat'])){\n\t\t\t$cat_id = $_GET['cat'];\n\t\t\t$get_products = \"select * from products where prod_cat='$cat_id'\";\n\t\t\t$run_products = mysqli_query($con, $get_products);\n\t\t\t$count = mysqli_num_rows($run_products);\n\t\t\t\n\t\t\tif ($count == 0)\n\t\t\t\techo \"<h2>No Products in this category</h2>\";\n\t\t\t\n\t\t\twhile($row = mysqli_fetch_array($run_products)) {\n\t\t\t\t$prod_id = $row['prod_id'];\n\t\t\t\t$prod_cat = $row['prod_cat'];\n\t\t\t\t$prod_brand = $row['prod_brand'];\n\t\t\t\t$prod_price = $row['prod_price'];\n\t\t\t\t$prod_image = $row['prod_img'];\n\n\t\t\techo \"\n\t\t\t\t<div class='single_product'>\n\t\t\t\t\t<h3>$prod_title</h3>\n\t\t\t\t\t<img src='admin_area/product_images/$prod_image'>\t\n\t\t\t\t\t<h2>$prod_price</h2>\n\t\t\t\t\t<a href='details.php?pro_id=$prod_id' style='float:left;'>Details</a>\n\t\t\t\t\t<a href='index.php?add_cart=$prod_id'><button>Add to Cart</button></a>\n\t\t\t\t</div>\n\t\t\t\t\";\n\t\t\t}\n\t\t}\n\t}",
"public function getFilteredSubCategoriesForListing(ProductCategory $product_category);",
"public function index() {\n\n // Get all categories with at least one product\n $products = Product::all();\n $category_ids = array();\n\n foreach($products as $product){\n\n if (!in_array($product->category_id.'', $category_ids)){\n\n $category_ids[] = $product->category_id;\n }\n\n }\n\n // Get all categories\n $categories = \\DB::table('categories')->whereNull('parent_id')->get();\n\n // Get all sub categories\n foreach($categories as $category) {\n $subCategories[$category->id] = \\DB::table('categories')->where('parent_id', '=', $category->id)->get();\n }\n\n // Check if category has products\n /*$i=0;\n foreach($categories as $category){\n\n $used = false;\n foreach($subCategories as $subCategory){\n if($subCategory->parent_id === $category->id){\n $used = true;\n }\n }\n if(!$used){\n unset($categories[$i]);\n }\n $i++;\n }*/\n\n // Check if filter exists\n if (session()->has('filter')) {\n\n $products = Product::whereIn('category_id', session()->get('filter'))->get();\n\n }else {\n\n $products = Product::all();\n\n }\n\n // Pass data to view\n return view('products.index', compact('products', 'categories', 'subCategories'));\n }",
"public function filter(Request $request)\n {\n \\Log::debug($request);\n // get the values from the form\n $keyword = $request->input('keyword');\n $keyword = empty($keyword) ? '' : $keyword .'%';\n\n $category = $request->input('category');\n $category = empty($category) || $category === 'all' ? 'null' : $category;\n \n $subcategory = $request->input('subcategory');\n $subcategory = empty($subcategory) || $subcategory === 'all' ? 'null' : $subcategory;\n\n $state = $request->input('state');\n $state = empty($state) ? 'null' : $state;\n\n $condition = $request->input('condition');\n $condition = empty($condition) ? 'null' : $condition;\n\n // switch ($request->input('price')) {\n // case 'high':\n // $priceOrder = 'DESC';\n // break;\n // case 'low':\n // $priceOrder = 'ASC';\n // break;\n // default:\n // $priceOrder = null;\n // break;\n // }\n \n $products = Product::with(['images'])\n ->where('user_id', \\Auth::id())\n ->where(function($query) use ($keyword) {\n $query\n ->where('title', 'LIKE', '%'. $keyword)\n ->orWhere('description', 'LIKE', '%'. $keyword);\n })\n ->where(function($query) use ($category) {\n $query\n ->where('category_id', $category)\n ->orWhereRaw($category .' IS NULL');\n })\n ->where(function($query) use ($subcategory) {\n $query\n ->where('subcategory_id', $subcategory)\n ->orWhereRaw($subcategory .' IS NULL');\n })\n ->where(function($query) use ($state) {\n $query\n ->where('state_id', $state)\n ->orWhereRaw($state .' IS NULL');\n })\n ->where(function($query) use ($condition) {\n $query\n ->where('condition_id', $condition)\n ->orWhereRaw($condition .' IS NULL');\n })\n // ->dump()->get()->dump();\n ->get();\n\n // return the response as json\n // send the subcategories of the category\n return response()->json([\n 'products' => $products,\n ]);\n }",
"public function index()\n {\n $request = request();\n $category_id = $request->input('category_id');\n $keyword = $request->input('q');\n\n $products = Product::when($category_id, function($query, $category_id) {\n return $query->where('category_id', $category_id);\n })\n ->when($keyword, function($query, $keyword) {\n return $query->where('name', 'LIKE', \"%$keyword%\")\n ->orWhere('description', 'LIKE', \"%$keyword%\");\n })\n ->with('category')\n ->paginate();\n\n return $products;\n }",
"public function productByCategoryAction()\n {\n $category = $this->route['category'];\n $vars['products'] = $this->model->getProductsByCategory($category);\n $this->view->render('Riding Gear', $vars);\n }",
"public function getProductsByCategory($id){ \n $products = Product::where('category_id',$id)->get(); \n return $products;\n }",
"function wcfmu_products_filter_menu() {\r\n\tglobal $WCFM, $WCFMu, $wp_query;\r\n\t\r\n\t$wcfmu_products_menus = apply_filters( 'wcfmu_products_menus', array( 'all' => __( 'All', 'wc-frontend-manager-ultimate'), \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'publish' => __( 'Published', 'wc-frontend-manager-ultimate'),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'draft' => __( 'Draft', 'wc-frontend-manager-ultimate'),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'pending' => __( 'Pending', 'wc-frontend-manager-ultimate')\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) );\r\n\t\r\n\t$product_status = ! empty( $_GET['product_status'] ) ? sanitize_text_field( $_GET['product_status'] ) : 'all';\r\n\t$count_products = wp_count_posts( 'product' );\r\n\t$count_products->all = $count_products->publish + $count_products->pending + $count_products->draft;\r\n\t?>\r\n\t<ul class=\"wcfm_products_menus\">\r\n\t\t<?php\r\n\t\t$is_first = true;\r\n\t\tforeach( $wcfmu_products_menus as $wcfmu_products_menu_key => $wcfmu_products_menu) {\r\n\t\t\t?>\r\n\t\t\t<li class=\"wcfm_products_menu_item\">\r\n\t\t\t\t<?php\r\n\t\t\t\tif($is_first) $is_first = false;\r\n\t\t\t\telse echo \" | \";\r\n\t\t\t\t?>\r\n\t\t\t\t<a class=\"<?php echo ( $wcfmu_products_menu_key == $product_status ) ? 'active' : ''; ?>\" href=\"<?php echo get_wcfm_products_url( $wcfmu_products_menu_key ); ?>\"><?php echo $wcfmu_products_menu . ' ('. $count_products->$wcfmu_products_menu_key .')'; ?></a>\r\n\t\t\t</li>\r\n\t\t\t<?php\r\n\t\t}\r\n\t\t?>\r\n\t</ul>\r\n\t\r\n\t<div class=\"wcfm_products_filter_wrap wcfm_filters_wrap\">\r\n\t<?php\t\r\n\t// Category Filtering\r\n\t$product_categories = get_terms( 'product_cat', 'orderby=name&hide_empty=0&parent=0' );\r\n\t$categories = array();\r\n\t\r\n\techo '<select id=\"dropdown_product_cat\" name=\"dropdown_product_cat\" class=\"dropdown_product_cat\" style=\"width: 150px;\">';\r\n\t echo '<option value=\"\" selected=\"selected\">' . __( 'Select a category', 'wc-frontend-manager-ultimate' ) . '</option>';\r\n\t\tif ( $product_categories ) {\r\n\t\t\t$WCFM->library->generateTaxonomyHTML( 'product_cat', $product_categories, $categories );\r\n\t\t}\r\n\techo '</select>';\r\n\t\r\n\t// Type filtering\r\n\t$product_types = apply_filters( 'wcfm_product_types', array('simple' => __('Simple Product', 'wc-frontend-manager'), 'variable' => __('Variable Product', 'wc-frontend-manager'), 'grouped' => __('Grouped Product', 'wc-frontend-manager'), 'external' => __('External/Affiliate Product', 'wc-frontend-manager') ) );\r\n\t$output = '<select name=\"product_type\" id=\"dropdown_product_type\" style=\"width: 160px;\">';\r\n\t$output .= '<option value=\"\">' . __( 'Show all product types', 'wc-frontend-manager-ultimate' ) . '</option>';\r\n\t\r\n\tforeach ( $product_types as $product_type_name => $product_type_label ) {\r\n\t\t$output .= '<option value=\"' . $product_type_name . '\">' . $product_type_label . '</option>';\r\n\t\r\n\t\tif ( 'simple' == $product_type_name ) {\r\n\t\t\t\r\n\t\t\t$product_type_options = apply_filters( 'wcfm_non_allowd_product_type_options', array( 'virtual' => 'virtual', 'downloadable' => 'downloadable' ) ); \r\n\t\t\t\r\n\t\t\tif( !empty( $product_type_options['downloadable'] ) ) {\r\n\t\t\t\t$output .= '<option value=\"downloadable\" > → ' . __( 'Downloadable', 'wc-frontend-manager-ultimate' ) . '</option>';\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif( !empty( $product_type_options['virtual'] ) ) {\r\n\t\t\t\t$output .= '<option value=\"virtual\" > → ' . __( 'Virtual', 'wc-frontend-manager-ultimate' ) . '</option>';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\t$output .= '</select>';\r\n\t\r\n\techo apply_filters( 'woocommerce_product_filters', $output );\r\n\t\r\n\t\r\n\t$is_marketplace = wcfm_is_marketplace();\r\n\t$user_arr = array( '' => __('All Vendors', 'wc-frontend-manager' ) );\r\n\tif( $is_marketplace ) {\r\n\t\tif( !wcfm_is_vendor() ) {\r\n\t\t\tif( $is_marketplace == 'wcpvendors' ) {\r\n\t\t\t\t$vendors = WC_Product_Vendors_Utils::get_vendors();\r\n\t\t\t\tif( !empty( $vendors ) ) {\r\n\t\t\t\t\tforeach ( $vendors as $vendor ) {\r\n\t\t\t\t\t\t$user_arr[$vendor->term_id] = esc_html( $vendor->name );\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t$args = array(\r\n\t\t\t\t\t'role__in' => array( 'dc_vendor', 'vendor' ),\r\n\t\t\t\t\t'orderby' => 'login',\r\n\t\t\t\t\t'order' => 'ASC',\r\n\t\t\t\t\t'count_total' => false,\r\n\t\t\t\t\t'fields' => array( 'ID', 'display_name' )\r\n\t\t\t\t ); \r\n\t\t\t\t$all_users = get_users( $args );\r\n\t\t\t\tif( !empty( $all_users ) ) {\r\n\t\t\t\t\tforeach( $all_users as $all_user ) {\r\n\t\t\t\t\t\t$user_arr[$all_user->ID] = $all_user->display_name;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\r\n\t\t\t$WCFM->wcfm_fields->wcfm_generate_form_field( array(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"dropdown_vendor\" => array( 'type' => 'select', 'options' => $user_arr, 'attributes' => array( 'style' => 'width: 150px;' ) )\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) );\r\n\t\t}\r\n\t}\r\n\t\r\n\techo '</div>';\r\n}",
"public function filterProducts(Request $request) {\n\t\t$genre_id = $request->genreId;\n\t\t$author_id = $request->authorId;\n\n\t\t$filtered_products = Product::where('author_id', $author_id)\n\t\t ->where('genre_id', $genre_id)\n\t\t ->orderBy('created_at', 'desc')\n\t\t ->with('image')\n\t\t\t\t\t\t\t\t\t ->where( 'amount', '>', 0 )\n\t\t\t\t\t\t\t\t\t ->get();\n\t\treturn $filtered_products;\n\t}",
"public function categories(Request $request)\n {\n $idsCategories = [];\n if (isset($request['categories'])) {\n foreach ($request['categories'] as $idCategory) {\n if ((int) $idCategory != 0) {\n $idsCategories[] = (int) $idCategory;\n }\n }\n }\n $marketId = '0';\n if (isset($request['marketid'])) {\n $marketId = $request['marketid'];\n }\n $promo = '0';\n if (isset($request['promo'])) {\n $promo = $request['promo'];\n }\n try {\n if (count($idsCategories) != 0) {\n $request['categories'] = ['0'];\n }\n $this->productRepository->pushCriteria(new RequestCriteria($request));\n $this->productRepository->pushCriteria(new LimitOffsetCriteria($request));\n $this->productRepository->pushCriteria(new ProductsOfFieldsCriteria($request));\n $this->productRepository->pushCriteria(new ProductsOfCategoriesCriteria($request));\n\n $products = $this->productRepository->all();\n } catch (RepositoryException $e) {\n return $this->sendError($e->getMessage());\n }\n\n // return $this->sendResponse($products->toArray(), 'Products retrieved successfully');\n $productsFinal = [];\n\n $productsArray = $products->toArray();\n if (!isset($request['no_filter'])) {\n if ($promo) {\n return $this->sendResponse($productsArray, 'Promos enviados');\n } else {\n\n if (count($idsCategories) > 0) {\n $idMarket = $marketId;\n $valueActiveCategory = DB::table('categoriesproducts')->where('market_id', '=', $idMarket)->whereIn('category_id', $idsCategories)->pluck('active', 'category_id');\n $idsProducts = DB::table('products')->where('market_id', '=', $idMarket)->get(['featured', 'id'])->toArray();\n $algo = [];\n foreach ($idsProducts as $idP) {\n if ($idP->featured) {\n $algo[] = $idP->id;\n }\n }\n $datosProductosRaw = DB::table('product_categories')->whereIn('category_id', $idsCategories)->whereIn('product_id', $algo)->where('active', '1')->get();\n $idsProducts = [];\n foreach ($datosProductosRaw as $idPR) {\n if ($idPR->active) {\n $idsProducts[] = $idPR->product_id;\n }\n }\n $productsFilter = $this->productRepository->whereIn('id', $idsProducts)->get();\n $productsFinal = $productsFilter;\n } else if (count($productsArray) != 0) {\n\n $idMarket = $productsArray[0]['market_id'];\n $valueActiveCategory = DB::table('categoriesproducts')->where('market_id', '=', $idMarket)->pluck('active', 'category_id');\n $idsCategory = [];\n foreach ($valueActiveCategory as $categoryID => $id) {\n $idsCategory[] = $categoryID;\n }\n $productsTmp = [];\n foreach ($productsArray as $product) {\n $valueActiveProduct = DB::table('product_categories')->whereIn('category_id', $idsCategory)->where('product_id', '=', $product['id'])->pluck('active');\n foreach ($valueActiveProduct as $value) {\n if ($value) {\n $productsTmp[] = $product;\n }\n }\n }\n\n $productsFinal = $productsTmp;\n }\n }\n } else {\n $productsFinal = $productsArray;\n }\n\n return $this->sendResponse($productsFinal, 'Productos filtrados enviados');\n }",
"function getProductByCategory(){\n $return = array(); \n $pids = array();\n \n $products = Mage::getResourceModel ( 'catalog/product_collection' );\n \n foreach ($products->getItems() as $key => $_product){\n $arr_categoryids[$key] = $_product->getCategoryIds();\n \n if($this->_config['catsid']){ \n if(stristr($this->_config['catsid'], ',') === FALSE) {\n $arr_catsid[$key] = array(0 => $this->_config['catsid']);\n }else{\n $arr_catsid[$key] = explode(\",\", $this->_config['catsid']);\n }\n \n $return[$key] = $this->inArray($arr_catsid[$key], $arr_categoryids[$key]);\n }\n }\n \n foreach ($return as $k => $v){ \n if($v==1) $pids[] = $k;\n } \n \n return $pids; \n }",
"public function getAllProductsForFiltersCategory(\n $currentCategory,\n $categoryProductsLimit,\n $categoryProductsOffset,\n $language,\n $userTypeId,\n $model\n )\n {\n $orderByRaw = 'priority desc, name';\n\n if ($model->sort == 'popularity')\n {\n $orderByRaw = 'rating desc, priority desc, name';\n }\n elseif ($model->sort == 'new')\n {\n $orderByRaw = 'created_at desc, priority desc, name';\n }\n elseif ($model->sort == 'price-asc')\n {\n $orderByRaw = 'price asc, priority desc, name';\n }\n elseif ($model->sort == 'price-desc')\n {\n $orderByRaw = 'price desc, priority desc, name';\n }\n\n $query = Product::query();\n\n $query->with([\n 'images' => function ($query) {\n $query->orderByRaw('priority desc');\n },\n 'color' => function ($query) use ($language) {\n $query->select([\n 'colors.id',\n \"colors.name_$language as name\",\n 'colors.slug',\n 'colors.html_code'\n ]);\n },\n 'product_group.products.color' => function ($query) use ($language) {\n $query->select([\n 'id',\n \"name_$language as name\",\n 'slug',\n 'html_code'\n ]);\n },\n 'sizes' => function ($query) use ($language) {\n $query->select([\n 'sizes.id',\n \"sizes.name_$language as name\",\n 'sizes.slug',\n 'sizes.priority'\n ])->orderByRaw('sizes.priority desc');\n },\n 'price' => function ($query) use ($language, $userTypeId) {\n $query->select([\n 'product_prices.id',\n 'product_prices.product_id',\n 'product_prices.user_type_id',\n 'product_prices.price',\n 'product_prices.old_price',\n 'product_prices.discount'\n ])->whereUserTypeId($userTypeId);\n },\n 'product_sizes.stocks' => function ($query) use ($userTypeId) {\n $query->whereUserTypeId($userTypeId);\n },\n 'promotions' => function ($query) {\n $query->orderByRaw('promotions.priority desc');\n },\n 'properties' => function ($query) use ($language) {\n $query->select([\n 'properties.id',\n 'properties.product_id',\n 'properties.property_name_id',\n 'properties.property_value_id',\n 'properties.priority',\n 'property_names.id',\n 'property_values.id',\n 'property_names.slug',\n \"property_names.name_$language as property_name\",\n \"property_values.name_$language as property_value\",\n ]);\n $query->join('property_names', function ($join) {\n $join->on('properties.property_name_id', '=', 'property_names.id');\n });\n $query->join('property_values', function ($join) {\n $join->on('properties.property_value_id', '=', 'property_values.id');\n });\n }\n ]);\n\n if ($model->priceMin && $model->priceMax)\n {\n $query->whereHas('price', function ($q) use ($model) {\n $q->whereUserTypeId($model->userTypeId);\n $q->whereBetween('price', [$model->priceMin, $model->priceMax]);\n });\n }\n\n foreach ($model->parsedFilters as $name => $values) {\n $query->whereHas('properties', function ($query) use ($name, $values) {\n $query->whereHas('property_names', function ($query) use ($name) {\n $query->whereIn('slug', [$name]);\n })->whereHas('property_values', function ($query) use ($values) {\n $query->whereIn('slug', $values);\n });\n });\n }\n\n $query->join('product_prices', function ($join) use ($userTypeId) {\n $join->on('products.id', '=', 'product_prices.product_id')\n ->where('product_prices.user_type_id', '=', $userTypeId);\n });\n\n $query->orderByRaw($orderByRaw)\n ->join('product_category', function ($query) use ($currentCategory) {\n $query->on('products.id', '=', 'product_category.product_id')\n ->where('product_category.category_id', '=', \"$currentCategory->id\");\n })\n ->whereHas('price')\n ->whereIsVisible(true)\n ->offset($categoryProductsOffset)\n ->limit($categoryProductsLimit);\n\n\n return $query->whereIsVisible(true)->get([\n 'products.id',\n \"name_$language as name\",\n 'slug',\n 'color_id',\n 'group_id',\n 'products.category_id',\n 'breadcrumb_category_id',\n \"description_$language as description\",\n 'products.priority',\n 'vendor_code',\n 'rating',\n 'number_of_views',\n 'products.created_at'\n ]);\n }",
"function ajarFilterProducts() {\n $args = array(\n 'post_type' => 'producto',\n 'posts_per_page' => -1, /* REcibir todos los productos */\n 'order' => 'ASC',\n 'orderby' => 'title',\n \n );\n\n if ($_POST['categoria']) {\n $args['tax_query'] = array(\n array(\n 'taxonomy' => 'categoria-productos',\n 'field' => 'slug',\n 'terms' => $_POST['categoria']\n )\n );\n }\n\n $products = new WP_Query($args);\n $return = array();\n if ($products->have_posts()) {\n\n while ($products->have_posts()) {\n $products->the_post();\n $return[] = array(\n 'imagen' => get_the_post_thumbnail(get_the_id(), 'large'),\n 'link' => get_the_permalink(),\n 'titulo' => get_the_title(),\n );\n }\n\n }\n wp_send_json($return);\n}",
"protected function export_categoryless_products()\n {\n $table = $this->getTableName(\"catalog_product_entity\");\n $categoryProductsTable = $this->getTableName(\"catalog_category_product\");\n $catalogProductWebsite = $this->getTableName(\"catalog_product_website\");\n $rootCategoryId = $this->_fStore->getRootCategoryId();\n $sql = \"SELECT DISTINCT(entity_id), type_id, sku FROM {$table}\n LEFT JOIN (`{$categoryProductsTable}`) ON ({$table}.`entity_id` = `{$categoryProductsTable}`.`product_id`)\n LEFT JOIN (`{$catalogProductWebsite}`) ON ({$table}.`entity_id` = `{$catalogProductWebsite}`.`product_id`)\n WHERE (`{$categoryProductsTable}`.`product_id` IS NULL OR `{$categoryProductsTable}`.`category_id` NOT IN ({$this->_getCategoriesForStore()}))\n AND {$table}.entity_type_id = {$this->_product_entity_type_id}\n AND `{$catalogProductWebsite}`.`website_id` = \" . $this->getWebsiteId($this->_fStore_id); \n \n return $this->export_products($sql, 'categoryless_products');\n }"
] |
[
"0.74786514",
"0.7233414",
"0.71061814",
"0.7100857",
"0.69405234",
"0.69228876",
"0.6877753",
"0.68517095",
"0.6739836",
"0.671493",
"0.66795635",
"0.6678482",
"0.6670057",
"0.6643792",
"0.6633571",
"0.6632781",
"0.662614",
"0.66051364",
"0.6565093",
"0.6540056",
"0.6520262",
"0.6512662",
"0.6474317",
"0.6469654",
"0.6464066",
"0.6437283",
"0.64299405",
"0.64277464",
"0.6406645",
"0.6371733"
] |
0.7470918
|
1
|
Check if the user1 and user2 is register in a edition
|
private function isUsersRegisteredInThisEdition(User $user1, User $user2, $editionId)
{
$em = $this->getDoctrine()->getManager();
$is_user1_has_a_team = true;
$is_user1_has_a_team = true;
try
{
$team1 = $em->getRepository('PouceTeamBundle:Team')->findOneTeamByEditionAndUsers($editionId, $user1->getId())->getSingleResult();
}
catch(NoResultException $e)
{
$is_user1_has_a_team = false;
}
try
{
$team2 = $em->getRepository('PouceTeamBundle:Team')->findOneTeamByEditionAndUsers($editionId, $user2->getId())->getSingleResult();
}
catch(NoResultException $e)
{
$is_user2_has_a_team = false;
}
if($is_user1_has_a_team == true or $is_user2_has_a_team == true)
{
$response = true;
}
else
{
$response = false;
}
return $response;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"static function users_have_added_them_both($user1, $user2) {\n global $con;\n $sql = \"SELECT COUNT(`id`) AS 'count' \n FROM `relationship` \n WHERE `user1` = \".$user1.\" AND `user2` = \".$user2.\" AND `relationship`.`type` = 1 OR \n `user2` = \".$user1.\" AND `user1` = \".$user2.\" AND `relationship`.`type` = 1;\";\n $query = mysqli_query($con, $sql);\n return (mysqli_fetch_object($query)->count == 2);\n }",
"public function can_object1_edit_object2() {\n\t\tif ( $this->object1->can_user_edit( $this->object2->get_wp_id() ) )\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}",
"static function user_has_added_user($user1, $user2) {\n global $con;\n $sql = \"SELECT COUNT(`id`) AS 'count' \n FROM `relationship` \n WHERE `user1` = \".$user1.\" AND `user2` = \".$user2.\" AND `relationship`.`type` = 1;\";\n $query = mysqli_query($con, $sql);\n return (mysqli_fetch_object($query)->count == 1);\n }",
"function check_user() {\n\treturn false; // update allowed\n\treturn true; //no update allowed\n}",
"public function can_object2_edit_object1() {\n\t\tif ( $this->object2->can_user_edit( $this->object1->get_wp_id() ) )\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}",
"function can_message_each_other($user_id1, $user_id2) {\n\n\tif (user_is_at_least_role(ROLE_ADMIN, $user_id1) || user_is_at_least_role(ROLE_ADMIN, $user_id2)) {\n\t\t// Everyone can talk to an admin\n\t\treturn true;\n\t} else if (get_relationship($user_id1, $user_id2) == LIKE && get_relationship($user_id2, $user_id1) == LIKE) {\n\t\t// If they like each other mutually\n\t\treturn true;\n\t}\n\n\treturn false;\n}",
"public function hasUser();",
"function checkedituser()\n\t{\n\t\t$query1 = $this->db->query('select * from admin where username = \"'.$this->input->post('username').'\" AND id != \"'.$this->input->post('id').'\" ') or die(mysql_error());\n\t\t\n\t\t//echo 'Coint:'.$query1->num_rows();\texit;\n\t\tif($query1->num_rows() == 0)\n\t\t {\t\t\t\n\t\t\t\techo '0';\t\n\t\t }\n\t\t else\t\t \n\t\t {\n\t\t\t\techo '1';\n\t\t\t}\n\t\t \n\t\t\n\t}",
"function testUserRoles($d1, $d2) {\n\n\t\t// The public role (defined in initial db data)\n\t\t$pr = new stdClass;\n\t\t$pr->id = self::PUBLIC_ROLE_ID;\n\t\t$pr->isPublisher = false;\n\n\t\t// The editor role (defined in initial db data)\n\t\t$er = new \\Scrivo\\UserRole(self::$context);\n\t\t$er->isPublisher = true;\n\t\t$er->type = \\Scrivo\\Role::EDITOR_ROLE;\n\t\t$er->insert();\n\n\t\t// Create a user with the public role.\n\t\t$u1 = new \\Scrivo\\User(self::$context);\n\t\t$u1->userCode = new \\Scrivo\\Str(\"userrole1\");\n\t\t$u1->password = new \\Scrivo\\Str(\"\");\n\t\t$u1->insert();\n\t\t$u1->assignRoles(array($pr));\n\n\t\t// Create a user with the editor role.\n\t\t$u2 = new \\Scrivo\\User(self::$context);\n\t\t$u2->userCode = new \\Scrivo\\Str(\"userrole2\");\n\t\t$u2->password = new \\Scrivo\\Str(\"\");\n\t\t$u2->insert();\n\t\t$u2->assignRoles(array($er, $pr));\n\n\t\t// Load the edit user...\n\t\t$u3 = \\Scrivo\\User::fetch(self::$context, $u2->id);\n\n\t\t// ... and check its roles.\n\t\t$this->assertFalse($u3->roles[self::PUBLIC_ROLE_ID]->isPublisher);\n\t\t$this->assertTrue($u3->roles[$er->id]->isPublisher);\n\t}",
"function compairUser($d1,$d2) {\n if (!isset($d1[\"user\"]) || !isset($d2[\"user\"]))\n return false;\n return strtolower($d1[\"user\"])==strtolower($d2[\"user\"]);\n}",
"static function user_already_has_a_relationship_with($user1, $user2) {\n global $con;\n\n $sql = \"SELECT COUNT(`id`) AS 'count' FROM `relationship` WHERE `user1` = \".$user1.\" AND `user2` = \".$user2.\";\";\n $query = mysqli_query($con, $sql);\n if (mysqli_fetch_object($query)->count == 0) {\n return false;\n }\n return true;\n }",
"public function isUserOrGroupSet() {}",
"function user_can_edit_user($user_id, $other_user)\n {\n }",
"function auth_book_admin($user, $room)\n{\n return (authGetUserLevel($user) >= 2);\n}",
"public function checkPrivileges($name='',$right=''){\n\t\t$prev = '0';\n\t\t$privileges = $this->session->userdata(APPNAMES.'_session_admin_privileges');\n\t\textract($privileges);\n\t\t$userName = $this->session->userdata(APPNAMES.'_session_admin_name');\n\t\t$adminName = $this->config->item('admin_name');\n\t\tif (isset(${$name}) && is_array(${$name}) && in_array($right, ${$name})){\n\t\t\t$prev = '1';\n\t\t}\n\t\tif ($userName == $adminName){\n\t\t\t$prev = '1';\n\t\t}\n\t\tif ($prev == '1'){\n\t\t\treturn TRUE;\n\t\t}else {\n\t\t\treturn FALSE;\n\t\t}\n\t}",
"function checkRights(&$db,&$user)\r\n{\r\n\treturn $user->hasRight($db,\"testplan_execute\") && $user->hasRight($db,\"exec_edit_notes\");\r\n}",
"function sontAmis($id1, $id2) {\n\t\t$selectPrepa = self::$bdd -> prepare(\"SELECT * FROM etreamis WHERE (idUtilisateur1 = '$id1' AND idUtilisateur2 = '$id2') OR (idUtilisateur1 = '$id2' AND idUtilisateur2 = '$id1')\");\n\t\t$selectPrepa -> execute();\n\t\t$result = $selectPrepa -> rowCount();\n\t\treturn ($result) ? true : false;\n\t}",
"private function _validate_user() {\n\t\treturn (current_user_can(\"edit_posts\") && current_user_can(\"edit_pages\") && !empty($this->buttons));\n\t}",
"public function checkIfAvailable(){\n $user_check_query = self::$connection->db->prepare(\"SELECT * FROM users WHERE name = ? OR email = ?\");\n $user_check_query->bind_param(\"ss\", self::$signUpName, self::$signUpEmail);\n $user_check_query->execute();\n $users = $user_check_query->get_result()->fetch_assoc();\n $user_check_query->close();\n $nameError = false;\n $emailError = false;\n $_POST = array();\n if (isset($users)) {\n foreach($users as $key=>$value) {\n if (strtolower($users['name']) === strtolower(self::$signUpName) && !$nameError) {\n self::addError(\"signUp\", \"Name already exists.\");\n $nameError = true;\n Auth::CreateView('Auth');\n };\n if ($users['email'] === self::$signUpEmail && !$emailError) {\n self::addError(\"signUp\", \"Email already exists.\");\n $emailError = true;\n Auth::CreateView('Auth');\n };\n }\n } else if(count(self::$signUpErrors) === 0){\n $this->registering();\n return true;\n }\n }",
"function checkUserIdBL() {\n\t $isExisting = false;\n\t // If the user exists\n\t if ( checkUserIdDAL($_POST['userId']) )\n\t {\n\t\t $isExisting = true;\n\t }\n\t return $isExisting;\n }",
"public function loginUserConditionMatchesMultipleLoggedInUsers() {}",
"function hasPermission($user1, $user2, $level)\n\t{\n\t\tglobal $mysqli;\n\t\t\n\t\trestartMysqli();\n\t\tif (($user1 == $user2) || ($level == 'everyone')) {\n\t\t\treturn TRUE;\n\t\t}\n\t\tif ($level == \"FOFs\") {\n\t\t\t$query = sprintf(\"CALL isFOFsOf('%s', '%s');\", $user1, $user2);\n\t\t\t$result = $mysqli->query($query);\n\t\t\tif ($result->num_rows > 0) {\n\t\t\t\treturn TRUE;\n\t\t\t}\n\t\t} elseif ($level == \"friends\") {\n\t\t\t$query = sprintf(\"CALL isFriendsOf('%s', '%s')\", $user1, $user2);\n\t\t\t$result = $mysqli->query($query);\n\t\t\tif ($result->num_rows > 0) {\n\t\t\t\treturn TRUE;\n\t\t\t}\n\t\t} elseif ($level == \"nutritionists\") {\n\t\t\t$query = sprintf(\"select * from user where type = 'nutritionist' and username = '%s'\", $user1);\n\t\t\t$result = $mysqli->query($query);\n\t\t\tif ($result->num_rows > 0) {\n\t\t\t\treturn TRUE;\n\t\t\t}\n\t\t} elseif ($level == \"me\") {\n\t\t\tif ($user1 == $user2) {\n\t\t\t\treturn TRUE;\n\t\t\t}\n\t\t}\n\t\treturn FALSE;\n\t}",
"public function loginUserConditionMatchesMultipleLoggedInUsers() {}",
"public function check_access_type() {\n // get users\n $user_list = $this->get_user->get_all_users();\n // check user is in access table\n foreach($user_list as $user) {\n // check if user exists\n $user_access = $this->get_user->user_level($user->user_id);\n // inserts new user into table\n if ($user_access == NULL && $user_access == '') {\n $this->get_user->insert_access($user->user_id,'student');\n } \n // generates new password if default value of 'password' is found\n $this->generate_new_passwords(); \n }\n }",
"function validaAcceso($idUs,$idMod){\n$sec = mysql_query(\"SELECT * FROM security WHERE users_id = '$idUs' AND modules_id = '$idMod'\");\n$sec_val = mysql_num_rows($sec);\n\nif ($sec_val == 1){\n\treturn true;\n}else{\n\treturn false;\n}\n}",
"public function check()\n {\n if($this->user_provider->retrieveById($this->user_provider->getAuthIdentifier()))\n return true;\n\n return false;\n }",
"function isOrgEditor($wpUser){\n for($i = 0; $i < count($wpUser->roles); $i++){\n if(strpos($wpUser->roles[$i], SARON_ROLE_PREFIX . SARON_ROLE_ORG) !== FALSE){ // CHECK IF THE USER IS A MEMBER OF THE GROUP (test)saron_edit\n return true;\n }\n } \n return false; \n }",
"public function adminUserConditionMatchesAdminUser() {}",
"private function _checkValidUser()\n\t{\n\t\t$user = $this->getUser();\n\t\tif(NULL == $user->getFirstname()) return $this->redirect('/logout');\n\t\tif(NULL <> $user->getEmployerId()) return $this->redirect('/admin');\n\t}",
"function userRoleCheck($user_data) {\n if(!empty($user_data['email'])){\n $user_email = $user_data['email'];\n $userTable = TableRegistry::get('Users');\n $query = $userTable->find('all')->where(['email' => $user_email]);\n if(!empty($query->first()->role_id) and ($query->first()->role_id == 2 or $query->first()->role_id == 1) ){ // Doctor = 2 and Admin = 1\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n }"
] |
[
"0.64063305",
"0.62936825",
"0.62454104",
"0.6149972",
"0.6075068",
"0.6049593",
"0.5971735",
"0.59232986",
"0.5895942",
"0.58407533",
"0.5826329",
"0.5815471",
"0.580385",
"0.5782941",
"0.57645833",
"0.5762647",
"0.5747968",
"0.5741924",
"0.5713705",
"0.5709905",
"0.5703739",
"0.57027847",
"0.570213",
"0.5688375",
"0.5686924",
"0.568511",
"0.5677607",
"0.5675865",
"0.56499344",
"0.56436944"
] |
0.73668784
|
0
|
SELECT users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM users LEFT JOIN client_cat ON client_cat.client_cat_id = users.client_cat_id
|
public function get_all_registerd_details() {
$query = $this->db->prepare("SELECT users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM users LEFT JOIN client_cat ON client_cat.client_cat_id = users.client_cat_id");
try{
$query->execute();
$result = $query->fetchAll();
return $result;
}catch(PDOException $e){
die($e->getMessage());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function get_all_registerd_cat() {\n\t\t\n\t\t$query = $this->db->prepare(\"SELECT client_cat.client_cat_id, users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id\");\n\t\t\t\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\t$query->execute();\n\t\t\t$result = $query->fetchAll();\n\t\t\treturn $result;\n\t\t}catch(PDOException $e){\n\n\t\t\tdie($e->getMessage());\n\t\t}\n\t}",
"public function getAllCustomers(){\n\t\t$sql=\"select a.id,a.name,a.cust_type,a.cust_cat,b.name as customer_type_name, c.user_name \n\t\tfrom customers a, customer_type b, users c where b.id=a.cust_type and a.deleted<>1 and c.id=a.created_by order by a.id desc\";\n\t\t$result=$this->db->query($sql);\n\t\treturn $result->result();\n\t}",
"function clientListing()\n {\n $this->db->select('BaseTbl.userId , BaseTbl.email , BaseTbl.nom , BaseTbl.raisonSocial , BaseTbl.prenom , BaseTbl.cin , BaseTbl.ville , BaseTbl.mobile,BaseTbl.mobile2, BaseTbl.createdDtm, Role.role');\n $this->db->from('tbl_users as BaseTbl');\n $this->db->join('tbl_roles as Role', 'Role.roleId = BaseTbl.roleId','left');\n $this->db->where('BaseTbl.roleId =',4 );\n $this->db->order_by('BaseTbl.userId', 'DESC');\n $query = $this->db->get();\n \n $result = $query->result(); \n return $result;\n }",
"public function show(Client $client)\n {\n\n \n $res = User::find($client->id);\n $res2 = Client::find(1)->userClient;\n // user found\n\n \n /*;*/\n \n /* $res = DB::table('clients')\n ->select('users.id AS userId', 'clients.id AS clientId')\n ->join('users', 'users.id', 'FK_user')\n ->where('FK_user',$client->FK_user )\n ->get();\n}\n}\n*/\n \n /* return view('client.show', compact('res'));*/\n \n echo $res ;\n \n\n \n }",
"function getAllRegistrationClient()\n {\n $this->db->select('id, user_id, country, website, first_name, last_name, work_phone, home_phone, work_email, home_email, birthday, gender, user_bio, user_profile_img');\n $this->db->from(' tank_user_profiles');\n //$this->db->where('roleId !=', 0);\n $query = $this->db->get();\n \n return $query->result_array();\n }",
"public function clients()\n {\n $users = DB::table('users')\n ->where('user_type' ,'=','client')\n ->get();\n\n return view('users.clientlist',compact('users'));\n }",
"function getClientInfo($clientID)\n {\n $this->db->select('*');\n $this->db->from('tbl_users as BaseTbl');\n $this->db->join('tbl_roles as Role', 'Role.roleId = BaseTbl.roleId','left');\n //$this->db->where('BaseTbl.roleId =',4 );\n $this->db->where('BaseTbl.userId =',$clientID );\n $this->db->order_by('BaseTbl.userId', 'DESC');\n $query = $this->db->get();\n \n return $query->row();\n }",
"function client_index($clientId=null)\n\t{\n\t\tif($clientId == ''){\n\t\t\t// Get the logged-in client ID\n\t\t\t$clientId = $this->Auth->user('id');\n\t\t\t$this->set('chain_user','0');\n\t\t}else{\n\t\t\t$this->set('chain_user','1');\n\t\t}\n\n\t\t$clientArray = $this->User->getChildHotelsArray($clientId);\n\t\t$clientStr = implode(',', $clientArray);\n\t\t\n\t\tif ($this->data['User']['value']) {\n\t\t\t//debug($this->data);\n\t\t\t$search = trim($this->data['User']['value']);\n\n\t\t\t$this->set('search',$search);\n\n\t\t\t$condition = \"((User.username LIKE '%$search%') OR (User.firstname LIKE '%$search%') OR (User.lastname LIKE '%$search%')) AND (User.client_id IN ($clientStr) and User.status='1')\";\n\t\t\t$conditions = array(\n\t\t\t\t\t\t\t'OR' => array('User.username LIKE' => \"%$search%\", 'User.firstname LIKE' => \"%$search%\", 'User.lastname LIKE' => \"%$search%\"), \n\t\t\t\t\t\t\t'AND' => array('User.client_id IN' => $clientId)\n\t\t\t\t\t\t );\n\t\t} else {\n\t\t\t$condition = \"User.client_id IN ($clientStr) and User.status='1'\";\n\t\t\t$conditions = array('User.client_id IN' => $clientId);\n\t\t}\n\t\t// Find the paginated list of users\n\t\t$this->User->recursive = -1;\n $this->paginate['conditions'] = $condition;\n $users = $this->paginate();\n \n $child_data = $this->User->Client->find('list',\n array('conditions'=>\n array('OR'=>array('Client.parent_id'=>$clientId,'Client.id'=>$clientId),'Client.status'=>1)\n ,'fields'=>'id,hotelname','recursive'=>'0'));\n\n\t if(!empty($users)){\n\t\t$dep_user_obj = ClassRegistry::init('DepartmentsUser');\n\t\tfor($i=0;$i<count($users);$i++){\n\t\t $dept_data = $dep_user_obj->find('all',array('fields'=>'DepartmentsUser.department_name','conditions'=>array('DepartmentsUser.user_id'=>$users[$i]['User']['id'])));\n\t\t foreach($dept_data as $dept){\n\t\t\t $users[$i]['Department'][] = $dept['DepartmentsUser']['department_name'];\n\t\t }\t\t \n\t\t}\n\t }\n\n\t\t$this->set(compact('users','child_data'));\n\t}",
"function obtenerClientes($conexion){\n\n $sql = \"SELECT c.customer_id,\n c.store_id,\n c.first_name,\n c.last_name,\n CONCAT(c.first_name, ' ', c.last_name) AS name,\n LOWER(c.email) AS email,\n c.address_id,\n c.create_date,\n DATE_FORMAT(c.create_date, '%d/%m/%Y %l:%i %p') AS fecha,\n a.address,\n /*CASE c.active WHEN 1 THEN 'Si' ELSE 'No' END AS active*/\n IF(c.active = 1, 'Si', 'No') AS active\n FROM customer AS c\n LEFT JOIN store AS s ON c.store_id = s.store_id\n LEFT JOIN address AS a ON c.address_id = a.address_id\n ORDER BY c.first_name ASC;\";\n\n return $conexion->query($sql)->fetchAll();\n\n}",
"public function getEnseignants(){\n return DB::table('users')->join('course_user','course_user.user_id', '=', 'users.id')\n ->join('courses','course_user.course_id', '=', 'courses.id')\n ->select('users.id','users.user_name', 'users.user_contact',\n 'users.user_last_name', 'courses.course_name'\n )->get();\n\n \n }",
"function getCustOther($db_link){\n\t\t$sql_custother = \"SELECT * FROM customer LEFT JOIN custsex ON custsex.custsex_id = customer.custsex_id WHERE cust_id NOT IN (0, $_SESSION[cust_id]) ORDER BY cust_id\";\n\t\t$query_custother = mysqli_query($db_link, $sql_custother);\n\t\tcheckSQL($db_link, $query_custother, $db_link);\n\n\t\treturn $query_custother;\n\t}",
"public function get_all_registerd_modal($user_id) {\n\t\t\n\t\t$query = $this->db->prepare(\"SELECT categories.cat_id, categories.cat_name, company_info.info_logo, company_info.info_address, users.user_id, users.user_confirmed, users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name\nFROM client_cat\nLEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id\nRIGHT JOIN company_info ON company_info.user_id = users.user_id\nLEFT JOIN categories ON categories.cat_id = company_info.cat_id WHERE users.user_id=?\");\n\t\t\t\n\t\t\t$query->bindValue(1,$user_id);\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\t$query->execute();\n\t\t\t$result = $query->fetch();\n\t\t\treturn $result;\n\t\t}catch(PDOException $e){\n\n\t\t\tdie($e->getMessage());\n\t\t}\n\t}",
"public function index()\n { \n $branchId=Auth::user()->fk_branch_id;\n $companyId=Auth::user()->fk_company_id;\n $query = InventoryClient::leftJoin('inventory_branch','inventory_clients.fk_branch_id','inventory_branch.id')->orderBy('inventory_clients.id','desc')->select('inventory_clients.*','branch_name');\n if(Auth::user()->isRole('administrator')){\n $getClientData=$query->paginate(50);\n }else{\n $getClientData=$query->where(['fk_branch_id'=>$branchId,'fk_company_id'=>$companyId])->paginate(50);\n }\n return view('pos.clients.viewClients', compact('getClientData'));\n \n }",
"function get_client_name($id){\n $answer=$GLOBALS['connect']->query(\"SELECT name, firstName FROM USERS WHERE id='$id'\");\n $data=$answer->fetch();\n return $data[\"name\"].\" \".$data[\"firstName\"];\n\n }",
"function rel_cliente_ag(){\r\n\t\t$db = banco();\r\n\t\t\r\n\t\t$query =\"SELECT user.cod, user.name, user.cpf, cliente.fone, especialidade.nom_espec, consulta.dt_consul, consulta.aprovado, consulta.presente\r\n\t\t\t\tFROM user, cliente, consulta, especialidade\r\n\t\t\t\tWHERE user.cod = cliente.cod_clien AND\r\n\t\t\t\t\t user.cod = consulta.cod_clien AND\r\n\t\t\t\t\t consulta.cd_esp = especialidade.cod_espec\r\n\t\t\t\t\t \r\n\t\t\t\t\";\r\n\t\t$row = $db->query($query);\r\n\t\t$db->close();\r\n\t\treturn $row;\t\r\n\t}",
"function get_comments($post_id){\n include('../../common/database/config.php');\n\n $sql = 'SELECT c.id,c.content,c.created_time,u.name FROM comments as c \n LEFT JOIN users as u on c.user_id = u.id\n where c.post_id = \"'.$post_id.'\"';\n $res = mysqli_query($conn,$sql);\n\n $res_array = mysqli_fetch_all($res, MYSQLI_ASSOC);\n\n return $res_array;\n}",
"public static function getAll(){\n $rows = DB::table('clients')\n ->join('client_deals', 'clients.id', '=', 'client_deals.client_id')\n ->join('deal_details', 'client_deals.id', '=', 'deal_details.client_deal_id')\n ->orderby('hour')->get(array('clients.id as cid','client_deals.id as cdid','clients.*','deal_details.*','client_deals.*'));\n return $rows;\n }",
"function getUsers($user_type){\r\n global $pdo;\r\n\t\t\t$select = $pdo->prepare(\"SELECT * ,users.id AS userId \r\n FROM users \r\n\t\t\tLEFT JOIN user_types ON users.type = user_types.id\r\n\t\t\tWHERE user_types.type = ?\");\r\n\t\t\t//$res = mysql_query($select);\r\n $select->execute(array($user_type));\r\n\t\t return $select->fetchAll(PDO::FETCH_ASSOC);\r\n\t\t}",
"function allClientList(){\n\t $this->db->select('');\t \n\t $this->db->from('r_administrator');\n $this->db->order_by('vFirstName','asc');\n\t $this->db->where('iRoleId',2);\n $this->db->where('eStatus','Active');\n\t $query = $this->db->get();\n\t return $query->result_array();\t \n\t \n }",
"function get_user($limit)\r\n {\r\n //$query=$this->db->query(\"SELECT *FROM user INNER JOIN division ON user.storeid=division.storeid WHERE \");\r\n/*$this->db->select('user.first_name,user.last_name,user.emailid,user.phone,user.fax,user.userid,user.storeid,user.isactive,\r\ndivision.store_name,division.division_type,division.divisionid');\r\n $this->db->from('user,division,user_division');\r\n $this->db->where('(user.userid=user_division.userid)');\r\n $this->db->where('(user.storeid=division.storeid)');\r\n $this->db->WHERE ('(user.storeid !=123456)');\r\n $this->db->group_by('user_division.userid');\r\n //$this->db->limit($limit);\r\n \r\n $query = $this->db->get();\r\necho $this->db->last_query();*/\r\n$query=$this->db->query(\"SELECT *FROM user INNER join division ON user.storeid=division.storeid $limit\");\r\n\r\n return $query->result_array(); \r\n }",
"public function getUsers(){\n $users = DB::table('users')\n ->select(['users.created_at','users.email','users.id','users.name','users.tele','villes.nomVille'])\n ->join('villes', 'villes.idVille', '=', 'users.ville_idVille')\n ->orderBy('id', 'asc')\n ->get();\n\n\n\n\n\n\n return Response()->json(['users'=>$users]);\n }",
"public function get_profile_details($user_id)\n {\n $sql = \"SELECT u.id as user_id, \n u.profile_code,\n u.bio_info,\n u.created_at as register_date,\n u.email,\n u.last_name,\n u.first_name,\n ub.middlename,\n u.fullname_last_edited,\n uc.address,\n rc.name as country,\n (case u.gender\n when 'N' then CONCAT('Others','',u.gender_custom)\n when 'F' then 'Female'\n when 'M' then 'Male'\n else ''\n end) 'gender',\n u.gender_num_times_edited,\n ub.birthday,\n u.birthyear,\n u.birthdate_num_times_edited,\n ub.politics as political_view,\n ub.religion,\n rb.name as bloodtype,\n uc.contact1,\n uc.contact2,\n uc.contact3,\n uc.webtitle1, \n uc.weblink1, \n uc.webtitle2, \n uc.weblink2,\n uc.webtitle3, \n uc.weblink3,\n coalesce(a.comments,0) + coalesce(b.discussion,0)as total_comments,\n coalesce(m.friends,0) as total_friends,\n coalesce(n.followers,0) as total_followers,\n coalesce(o.following,0) as total_following,\n coalesce(c.post,0) as total_post,\n coalesce(c.image,0) as total_images,\n coalesce(c.poll,0) as total_poll,\n coalesce(c.question,0) as total_question,\n coalesce(c.article,0) as total_article,\n (coalesce(d.yaycontent,0) + coalesce(e.yaycomment,0) + coalesce(f.yayreply,0) + coalesce(g.yayreplyl2,0) + coalesce(h.yayreplyl3,0) + coalesce(i.yaydiscussion,0) + coalesce(j.yaytopicreply,0) + coalesce(k.yaytopicreplyl2,0) + coalesce(l.yaytopicreplyl3,0)) as totalyayreceived,\n (coalesce(d.naycontent,0) + coalesce(e.naycomment,0) + coalesce(f.nayreply,0) + coalesce(g.nayreplyl2,0) + coalesce(h.nayreplyl3,0) + coalesce(i.naydiscussion,0) + coalesce(j.naytopicreply,0) + coalesce(k.naytopicreplyl2,0) + coalesce(l.naytopicreplyl3,0)) as totalnayreceived,\n us.credential_type,\n us.credential_refid,\n (case us.credential_type\n when 1 then ugen.general_info\n when 2 then CONCAT(ucol.course, ', ', ucol.schoolname)\n when 3 then CONCAT(uwork.position, ', ', uwork.companyname,', ',uwork.location)\n end) 'credential',\n\t (coalesce(ugen2.total,0) + coalesce(ucol2.total,0) + coalesce(uwork2.total,0)) as total_credentials\n FROM users u\n LEFT JOIN userbasicinfo ub ON u.id = ub.user_id\n LEFT JOIN usercontactinfo uc ON uc.user_id = u.id\n LEFT JOIN refcountry rc ON rc.id = uc.country \n LEFT JOIN refbloodtype rb ON rb.id = ub.bloodtype\n LEFT OUTER JOIN(SELECT po.user_id, \n count(*) comments\n FROM postopinion po\n WHERE po.deleted_at IS NULL AND po.mask= 0\n GROUP BY po.user_id) as a ON a.user_id = u.id\t\n LEFT OUTER JOIN(SELECT top_o.user_id,\n count(*) discussion\n FROM topicopinion top_o\n WHERE top_o.deleted_at IS NULL AND top_o.mask=0\n GROUP BY top_o.user_id) as b ON b.user_id = u.id \n LEFT OUTER JOIN (select pc.user_id,\n sum(Case when type = 'F' then 1 else 0 end) image,\n sum(Case when type = 'Q' then 1 else 0 end) question,\n sum(Case when type = 'A' then 1 else 0 end) article,\n sum(Case when type = 'P' then 1 else 0 end) poll,\n count(*) post\n FROM postcontent pc\n WHERE pc.deleted_at IS NULL and pc.mask=0\n GROUP BY pc.user_id) as c ON c.user_id = u.id \n LEFT OUTER JOIN (select pca.postcontent_id, pc.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycontent,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naycontent\n FROM postcontentapprovalrate pca\n LEFT JOIN postcontent pc ON pc.id=pca.postcontent_id\n WHERE pc.deleted_at IS NULL AND pc.mask=0\n GROUP BY pc.user_id) as d ON d.user_id = u.id\n LEFT OUTER JOIN (select poa.postopinion_id, po.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycomment,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naycomment\n FROM postopinionapprovalrate poa\n LEFT JOIN postopinion po ON po.id = poa.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL AND po.mask=0\n GROUP BY po.user_id) as e ON e.user_id = u.id\n LEFT OUTER JOIN (select pra.postreply_id, pra.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreply,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreply\n FROM postreplyapprovalrate pra\n LEFT JOIN postreply pr ON pr.id = pra.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr.mask=0\n GROUP BY pr.user_id) as f ON f.user_id = u.id\n LEFT OUTER JOIN (select pral2.postreplyL2_id, pral2.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreplyl2,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreplyl2\n FROM postreplyL2approvalrate pral2\n LEFT JOIN postreplyL2 pr2 ON pr2.id = pral2.postreplyL2_id\n LEFT JOIN postreply pr ON pr.id = pr2.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr2.deleted_at AND pr2.mask=0\n GROUP BY pr2.user_id) as g ON g.user_id = u.id\n LEFT OUTER JOIN (select pral3.postreplyL3_id, pral3.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreplyl3,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreplyl3\n FROM postreplyL3approvalrate pral3\n LEFT JOIN postreplyL3 pr3 ON pr3.id = pral3.postreplyL3_id\n LEFT JOIN postreplyL2 pr2 ON pr2.id = pr3.postreplyL2_id\n LEFT JOIN postreply pr ON pr.id = pr2.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr2.deleted_at \n AND pr3.deleted_at IS NULL AND pr3.mask=0\n GROUP BY pr3.user_id) as h ON h.user_id = u.id\n LEFT OUTER JOIN (select toa.topicopinion_id, ton.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaydiscussion,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naydiscussion\n FROM topicopinionapprovalrate toa\n LEFT JOIN topicopinion ton ON ton.id = toa.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL AND ton.mask=0\n GROUP BY ton.user_id) as i ON i.user_id = u.id\n LEFT OUTER JOIN (select tra.topicreply_id, tra.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreply,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreply\n FROM topicreplyapprovalrate tra\n LEFT JOIN topicreply tr ON tr.id = tra.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr.mask=0\n GROUP BY tr.user_id) as j ON j.user_id = u.id\n LEFT OUTER JOIN (select tral2.topicreplyl2_id, tral2.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreplyl2,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreplyl2\n FROM topicreplyl2approvalrate tral2\n LEFT JOIN topicreplyl2 tr2 ON tr2.id = tral2.topicreplyl2_id\n LEFT JOIN topicreply tr ON tr.id = tr2.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr2.deleted_at IS NULL AND tr2.mask=0\n GROUP BY tr2.user_id) as k ON k.user_id = u.id\n LEFT OUTER JOIN (select tral3.topicreplyl3_id, tral3.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreplyl3,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreplyl3\n FROM topicreplyl3approvalrate tral3\n LEFT JOIN topicreplyl3 tr3 ON tr3.id = tral3.topicreplyl3_id\n LEFT JOIN topicreplyl2 tr2 ON tr2.id = tr3.topicreplyl2_id\n LEFT JOIN topicreply tr ON tr.id = tr2.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr2.deleted_at IS NULL \n AND tr3.deleted_at IS NULL AND tr3.mask=0\n GROUP BY tr3.user_id) as l ON l.user_id = u.id\n LEFT OUTER JOIN(SELECT uf.user_one_id, \n count(*) friends\n FROM userfriends uf\n WHERE uf.status=1\n GROUP BY uf.user_one_id) as m ON m.user_one_id = u.id\t\n LEFT OUTER JOIN(SELECT ua.user_two_id, \n count(*) followers\n FROM useracquiantances ua\n WHERE ua.status=1\n GROUP BY ua.user_two_id) as n ON n.user_two_id = u.id\n LEFT OUTER JOIN(SELECT ua2.user_one_id, \n count(*) following\n FROM useracquiantances ua2\n WHERE ua2.status=1\n GROUP BY ua2.user_one_id) as o ON o.user_one_id = u.id\n LEFT JOIN usersettings us on us.user_id = u.id\n LEFT JOIN usergeneralinfo ugen ON ugen.user_id = us.user_id AND ugen.id = us.credential_refid\n LEFT JOIN usereduccollege ucol ON ucol.user_id = us.user_id AND ucol.id = us.credential_refid\n LEFT JOIN userworkhistory uwork ON uwork.user_id = us.user_id AND uwork.id = us.credential_refid\n LEFT OUTER JOIN (SELECT usergeneralinfo.user_id,\n COUNT(*) total\n FROM usergeneralinfo\n GROUP BY usergeneralinfo.user_id) as ugen2 ON ugen2.user_id = u.id\n LEFT OUTER JOIN (SELECT usereduccollege.user_id,\n COUNT(*) total\n FROM usereduccollege\n GROUP BY usereduccollege.user_id) as ucol2 ON ucol2.user_id = u.id\n LEFT OUTER JOIN (SELECT userworkhistory.user_id,\n COUNT(*) total\n FROM userworkhistory\n GROUP BY userworkhistory.user_id) as uwork2 ON uwork2.user_id = u.id\n WHERE u.id = {$user_id}\";\n \n return DB::select(DB::raw($sql));\n }",
"public function user()\n {\n return $this->belongsTo(User::class); //, 'client_id', 'id');\n }",
"public function get_all(){\n $query = $this->db->select('*')\n ->from('tbl_assigned')\n ->join('tbl_customer', 'tbl_assigned.building_permit_number_link = tbl_customer.building_permit_number' ,'inner')\n ->join('tbl_users' , 'tbl_assigned.user_id_link = tbl_users.user_id' ,'inner')\n ->order_by('assigned_id')\n ->get();\n\n return $query->result();\n }",
"function afficherclient()\r\n\t{\r\n\t\t$sql=\"SElECT * From user\";\r\n\t\t$db = config::getConnexion();\r\n\t\ttry\r\n\t\t{\r\n\t\t$liste=$db->query($sql);\r\n\t\treturn $liste;\r\n\t\t}\r\n catch (Exception $e)\r\n {\r\n die('Erreur: '.$e->getMessage());\r\n }\r\n\t}",
"function complaint_msg_list($ads,$user_id,$chat_user){\n $query=$this->db->query(\"SELECT tc.*,ml.lbcontactId,ml.title FROM `table_complaint` tc INNER JOIN module_lbcontacts ml on ml.lbcontactId=tc.cmp_adsid WHERE ((cmp_adsuser='$user_id' and `cmp_userid`='$chat_user') or (cmp_adsuser='$chat_user' and `cmp_userid`='$user_id')) and cmp_adsid='$ads' GROUP by cmp_id ORDER BY cmp_id asc\")->result();\n // return $this->db->last_query();\n \n return $query;\n }",
"public function clients()\n {\n return $this->belongsToMany(User::class, 'client_agents', 'agent_id', 'user_id')\n ->withPivot('lead')->wherePivot('lead', 'customer');\n }",
"public function getAllDonations(){\n $result=$this->con->query(\"SELECT user.firstname AS firstname, user.lastname AS lastname, station.name AS name, donation.time AS time FROM donation JOIN station ON donation.station_idstation=station.idstation JOIN user ON donation.user_iduser=user.iduser;\");\n\n return $result;\n }",
"function afficherclients(){\r\n\t\t$sql=\"SElECT * From clients\";\r\n\t\t$db = config::getConnexion();\r\n\t\ttry{\r\n\t\t$liste=$db->query($sql);\r\n\t\treturn $liste;\r\n\t\t}\r\n catch (Exception $e){\r\n die('Erreur: '.$e->getMessage());\r\n }\t\r\n\t}",
"public function getNewsByClient()\n\t{\n\t\tif(isset($_SESSION['admin'])){\n\n\t\t\t$empresas = $this->empresasRepo->all();\n\t\t\t$dev_path = \"\";\n\t\t\t $js = \"\n\t\t\t \t\t<script src='{$dev_path}/admin/js/jquery.tabledit.js' ></script>\n\t\t\t \t\t<script src='https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.js'></script>\n\t\t\t \t\t\";\n \t\t$this->renderViewAdmin('showNewsSent', 'Asignación - Noticias a Clientes - ',\n \t\t\t\tcompact('empresas'), null, $js \n \t\t);\n\t\t}else{\n header( \"Location: https://{$_SERVER[\"HTTP_HOST\"]}/panel/login\");\n }\n\t}"
] |
[
"0.6638526",
"0.59916055",
"0.59769046",
"0.5948773",
"0.5668212",
"0.56389785",
"0.56173044",
"0.55356395",
"0.544589",
"0.5431717",
"0.54200774",
"0.5415352",
"0.5392886",
"0.53819597",
"0.5374273",
"0.5354058",
"0.5350248",
"0.5333138",
"0.53132284",
"0.53127927",
"0.5301982",
"0.52929854",
"0.52782077",
"0.5276112",
"0.52578413",
"0.52470887",
"0.52448356",
"0.52439034",
"0.52406496",
"0.52372223"
] |
0.63493234
|
1
|
SELECT users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id
|
public function get_all_registerd_cat() {
$query = $this->db->prepare("SELECT client_cat.client_cat_id, users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id");
try{
$query->execute();
$result = $query->fetchAll();
return $result;
}catch(PDOException $e){
die($e->getMessage());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function get_all_registerd_details() {\n\t\t\n\t\t$query = $this->db->prepare(\"SELECT users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM users LEFT JOIN client_cat ON client_cat.client_cat_id = users.client_cat_id\");\n\t\t\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\t$query->execute();\n\t\t\t$result = $query->fetchAll();\n\t\t\treturn $result;\n\t\t}catch(PDOException $e){\n\n\t\t\tdie($e->getMessage());\n\t\t}\n\t}",
"public function getAllCustomers(){\n\t\t$sql=\"select a.id,a.name,a.cust_type,a.cust_cat,b.name as customer_type_name, c.user_name \n\t\tfrom customers a, customer_type b, users c where b.id=a.cust_type and a.deleted<>1 and c.id=a.created_by order by a.id desc\";\n\t\t$result=$this->db->query($sql);\n\t\treturn $result->result();\n\t}",
"function clientListing()\n {\n $this->db->select('BaseTbl.userId , BaseTbl.email , BaseTbl.nom , BaseTbl.raisonSocial , BaseTbl.prenom , BaseTbl.cin , BaseTbl.ville , BaseTbl.mobile,BaseTbl.mobile2, BaseTbl.createdDtm, Role.role');\n $this->db->from('tbl_users as BaseTbl');\n $this->db->join('tbl_roles as Role', 'Role.roleId = BaseTbl.roleId','left');\n $this->db->where('BaseTbl.roleId =',4 );\n $this->db->order_by('BaseTbl.userId', 'DESC');\n $query = $this->db->get();\n \n $result = $query->result(); \n return $result;\n }",
"public function show(Client $client)\n {\n\n \n $res = User::find($client->id);\n $res2 = Client::find(1)->userClient;\n // user found\n\n \n /*;*/\n \n /* $res = DB::table('clients')\n ->select('users.id AS userId', 'clients.id AS clientId')\n ->join('users', 'users.id', 'FK_user')\n ->where('FK_user',$client->FK_user )\n ->get();\n}\n}\n*/\n \n /* return view('client.show', compact('res'));*/\n \n echo $res ;\n \n\n \n }",
"function getAllRegistrationClient()\n {\n $this->db->select('id, user_id, country, website, first_name, last_name, work_phone, home_phone, work_email, home_email, birthday, gender, user_bio, user_profile_img');\n $this->db->from(' tank_user_profiles');\n //$this->db->where('roleId !=', 0);\n $query = $this->db->get();\n \n return $query->result_array();\n }",
"function getClientInfo($clientID)\n {\n $this->db->select('*');\n $this->db->from('tbl_users as BaseTbl');\n $this->db->join('tbl_roles as Role', 'Role.roleId = BaseTbl.roleId','left');\n //$this->db->where('BaseTbl.roleId =',4 );\n $this->db->where('BaseTbl.userId =',$clientID );\n $this->db->order_by('BaseTbl.userId', 'DESC');\n $query = $this->db->get();\n \n return $query->row();\n }",
"public function clients()\n {\n $users = DB::table('users')\n ->where('user_type' ,'=','client')\n ->get();\n\n return view('users.clientlist',compact('users'));\n }",
"function client_index($clientId=null)\n\t{\n\t\tif($clientId == ''){\n\t\t\t// Get the logged-in client ID\n\t\t\t$clientId = $this->Auth->user('id');\n\t\t\t$this->set('chain_user','0');\n\t\t}else{\n\t\t\t$this->set('chain_user','1');\n\t\t}\n\n\t\t$clientArray = $this->User->getChildHotelsArray($clientId);\n\t\t$clientStr = implode(',', $clientArray);\n\t\t\n\t\tif ($this->data['User']['value']) {\n\t\t\t//debug($this->data);\n\t\t\t$search = trim($this->data['User']['value']);\n\n\t\t\t$this->set('search',$search);\n\n\t\t\t$condition = \"((User.username LIKE '%$search%') OR (User.firstname LIKE '%$search%') OR (User.lastname LIKE '%$search%')) AND (User.client_id IN ($clientStr) and User.status='1')\";\n\t\t\t$conditions = array(\n\t\t\t\t\t\t\t'OR' => array('User.username LIKE' => \"%$search%\", 'User.firstname LIKE' => \"%$search%\", 'User.lastname LIKE' => \"%$search%\"), \n\t\t\t\t\t\t\t'AND' => array('User.client_id IN' => $clientId)\n\t\t\t\t\t\t );\n\t\t} else {\n\t\t\t$condition = \"User.client_id IN ($clientStr) and User.status='1'\";\n\t\t\t$conditions = array('User.client_id IN' => $clientId);\n\t\t}\n\t\t// Find the paginated list of users\n\t\t$this->User->recursive = -1;\n $this->paginate['conditions'] = $condition;\n $users = $this->paginate();\n \n $child_data = $this->User->Client->find('list',\n array('conditions'=>\n array('OR'=>array('Client.parent_id'=>$clientId,'Client.id'=>$clientId),'Client.status'=>1)\n ,'fields'=>'id,hotelname','recursive'=>'0'));\n\n\t if(!empty($users)){\n\t\t$dep_user_obj = ClassRegistry::init('DepartmentsUser');\n\t\tfor($i=0;$i<count($users);$i++){\n\t\t $dept_data = $dep_user_obj->find('all',array('fields'=>'DepartmentsUser.department_name','conditions'=>array('DepartmentsUser.user_id'=>$users[$i]['User']['id'])));\n\t\t foreach($dept_data as $dept){\n\t\t\t $users[$i]['Department'][] = $dept['DepartmentsUser']['department_name'];\n\t\t }\t\t \n\t\t}\n\t }\n\n\t\t$this->set(compact('users','child_data'));\n\t}",
"public function getEnseignants(){\n return DB::table('users')->join('course_user','course_user.user_id', '=', 'users.id')\n ->join('courses','course_user.course_id', '=', 'courses.id')\n ->select('users.id','users.user_name', 'users.user_contact',\n 'users.user_last_name', 'courses.course_name'\n )->get();\n\n \n }",
"function get_client_name($id){\n $answer=$GLOBALS['connect']->query(\"SELECT name, firstName FROM USERS WHERE id='$id'\");\n $data=$answer->fetch();\n return $data[\"name\"].\" \".$data[\"firstName\"];\n\n }",
"public function get_all_registerd_modal($user_id) {\n\t\t\n\t\t$query = $this->db->prepare(\"SELECT categories.cat_id, categories.cat_name, company_info.info_logo, company_info.info_address, users.user_id, users.user_confirmed, users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name\nFROM client_cat\nLEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id\nRIGHT JOIN company_info ON company_info.user_id = users.user_id\nLEFT JOIN categories ON categories.cat_id = company_info.cat_id WHERE users.user_id=?\");\n\t\t\t\n\t\t\t$query->bindValue(1,$user_id);\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\t$query->execute();\n\t\t\t$result = $query->fetch();\n\t\t\treturn $result;\n\t\t}catch(PDOException $e){\n\n\t\t\tdie($e->getMessage());\n\t\t}\n\t}",
"function getCustOther($db_link){\n\t\t$sql_custother = \"SELECT * FROM customer LEFT JOIN custsex ON custsex.custsex_id = customer.custsex_id WHERE cust_id NOT IN (0, $_SESSION[cust_id]) ORDER BY cust_id\";\n\t\t$query_custother = mysqli_query($db_link, $sql_custother);\n\t\tcheckSQL($db_link, $query_custother, $db_link);\n\n\t\treturn $query_custother;\n\t}",
"function get_user($limit)\r\n {\r\n //$query=$this->db->query(\"SELECT *FROM user INNER JOIN division ON user.storeid=division.storeid WHERE \");\r\n/*$this->db->select('user.first_name,user.last_name,user.emailid,user.phone,user.fax,user.userid,user.storeid,user.isactive,\r\ndivision.store_name,division.division_type,division.divisionid');\r\n $this->db->from('user,division,user_division');\r\n $this->db->where('(user.userid=user_division.userid)');\r\n $this->db->where('(user.storeid=division.storeid)');\r\n $this->db->WHERE ('(user.storeid !=123456)');\r\n $this->db->group_by('user_division.userid');\r\n //$this->db->limit($limit);\r\n \r\n $query = $this->db->get();\r\necho $this->db->last_query();*/\r\n$query=$this->db->query(\"SELECT *FROM user INNER join division ON user.storeid=division.storeid $limit\");\r\n\r\n return $query->result_array(); \r\n }",
"public function index()\n { \n $branchId=Auth::user()->fk_branch_id;\n $companyId=Auth::user()->fk_company_id;\n $query = InventoryClient::leftJoin('inventory_branch','inventory_clients.fk_branch_id','inventory_branch.id')->orderBy('inventory_clients.id','desc')->select('inventory_clients.*','branch_name');\n if(Auth::user()->isRole('administrator')){\n $getClientData=$query->paginate(50);\n }else{\n $getClientData=$query->where(['fk_branch_id'=>$branchId,'fk_company_id'=>$companyId])->paginate(50);\n }\n return view('pos.clients.viewClients', compact('getClientData'));\n \n }",
"function rel_cliente_ag(){\r\n\t\t$db = banco();\r\n\t\t\r\n\t\t$query =\"SELECT user.cod, user.name, user.cpf, cliente.fone, especialidade.nom_espec, consulta.dt_consul, consulta.aprovado, consulta.presente\r\n\t\t\t\tFROM user, cliente, consulta, especialidade\r\n\t\t\t\tWHERE user.cod = cliente.cod_clien AND\r\n\t\t\t\t\t user.cod = consulta.cod_clien AND\r\n\t\t\t\t\t consulta.cd_esp = especialidade.cod_espec\r\n\t\t\t\t\t \r\n\t\t\t\t\";\r\n\t\t$row = $db->query($query);\r\n\t\t$db->close();\r\n\t\treturn $row;\t\r\n\t}",
"function obtenerClientes($conexion){\n\n $sql = \"SELECT c.customer_id,\n c.store_id,\n c.first_name,\n c.last_name,\n CONCAT(c.first_name, ' ', c.last_name) AS name,\n LOWER(c.email) AS email,\n c.address_id,\n c.create_date,\n DATE_FORMAT(c.create_date, '%d/%m/%Y %l:%i %p') AS fecha,\n a.address,\n /*CASE c.active WHEN 1 THEN 'Si' ELSE 'No' END AS active*/\n IF(c.active = 1, 'Si', 'No') AS active\n FROM customer AS c\n LEFT JOIN store AS s ON c.store_id = s.store_id\n LEFT JOIN address AS a ON c.address_id = a.address_id\n ORDER BY c.first_name ASC;\";\n\n return $conexion->query($sql)->fetchAll();\n\n}",
"public function getUsers(){\n $users = DB::table('users')\n ->select(['users.created_at','users.email','users.id','users.name','users.tele','villes.nomVille'])\n ->join('villes', 'villes.idVille', '=', 'users.ville_idVille')\n ->orderBy('id', 'asc')\n ->get();\n\n\n\n\n\n\n return Response()->json(['users'=>$users]);\n }",
"function getUsers($user_type){\r\n global $pdo;\r\n\t\t\t$select = $pdo->prepare(\"SELECT * ,users.id AS userId \r\n FROM users \r\n\t\t\tLEFT JOIN user_types ON users.type = user_types.id\r\n\t\t\tWHERE user_types.type = ?\");\r\n\t\t\t//$res = mysql_query($select);\r\n $select->execute(array($user_type));\r\n\t\t return $select->fetchAll(PDO::FETCH_ASSOC);\r\n\t\t}",
"function allClientList(){\n\t $this->db->select('');\t \n\t $this->db->from('r_administrator');\n $this->db->order_by('vFirstName','asc');\n\t $this->db->where('iRoleId',2);\n $this->db->where('eStatus','Active');\n\t $query = $this->db->get();\n\t return $query->result_array();\t \n\t \n }",
"function complaint_msg_list($ads,$user_id,$chat_user){\n $query=$this->db->query(\"SELECT tc.*,ml.lbcontactId,ml.title FROM `table_complaint` tc INNER JOIN module_lbcontacts ml on ml.lbcontactId=tc.cmp_adsid WHERE ((cmp_adsuser='$user_id' and `cmp_userid`='$chat_user') or (cmp_adsuser='$chat_user' and `cmp_userid`='$user_id')) and cmp_adsid='$ads' GROUP by cmp_id ORDER BY cmp_id asc\")->result();\n // return $this->db->last_query();\n \n return $query;\n }",
"public static function getAll(){\n $rows = DB::table('clients')\n ->join('client_deals', 'clients.id', '=', 'client_deals.client_id')\n ->join('deal_details', 'client_deals.id', '=', 'deal_details.client_deal_id')\n ->orderby('hour')->get(array('clients.id as cid','client_deals.id as cdid','clients.*','deal_details.*','client_deals.*'));\n return $rows;\n }",
"public function get_profile_details($user_id)\n {\n $sql = \"SELECT u.id as user_id, \n u.profile_code,\n u.bio_info,\n u.created_at as register_date,\n u.email,\n u.last_name,\n u.first_name,\n ub.middlename,\n u.fullname_last_edited,\n uc.address,\n rc.name as country,\n (case u.gender\n when 'N' then CONCAT('Others','',u.gender_custom)\n when 'F' then 'Female'\n when 'M' then 'Male'\n else ''\n end) 'gender',\n u.gender_num_times_edited,\n ub.birthday,\n u.birthyear,\n u.birthdate_num_times_edited,\n ub.politics as political_view,\n ub.religion,\n rb.name as bloodtype,\n uc.contact1,\n uc.contact2,\n uc.contact3,\n uc.webtitle1, \n uc.weblink1, \n uc.webtitle2, \n uc.weblink2,\n uc.webtitle3, \n uc.weblink3,\n coalesce(a.comments,0) + coalesce(b.discussion,0)as total_comments,\n coalesce(m.friends,0) as total_friends,\n coalesce(n.followers,0) as total_followers,\n coalesce(o.following,0) as total_following,\n coalesce(c.post,0) as total_post,\n coalesce(c.image,0) as total_images,\n coalesce(c.poll,0) as total_poll,\n coalesce(c.question,0) as total_question,\n coalesce(c.article,0) as total_article,\n (coalesce(d.yaycontent,0) + coalesce(e.yaycomment,0) + coalesce(f.yayreply,0) + coalesce(g.yayreplyl2,0) + coalesce(h.yayreplyl3,0) + coalesce(i.yaydiscussion,0) + coalesce(j.yaytopicreply,0) + coalesce(k.yaytopicreplyl2,0) + coalesce(l.yaytopicreplyl3,0)) as totalyayreceived,\n (coalesce(d.naycontent,0) + coalesce(e.naycomment,0) + coalesce(f.nayreply,0) + coalesce(g.nayreplyl2,0) + coalesce(h.nayreplyl3,0) + coalesce(i.naydiscussion,0) + coalesce(j.naytopicreply,0) + coalesce(k.naytopicreplyl2,0) + coalesce(l.naytopicreplyl3,0)) as totalnayreceived,\n us.credential_type,\n us.credential_refid,\n (case us.credential_type\n when 1 then ugen.general_info\n when 2 then CONCAT(ucol.course, ', ', ucol.schoolname)\n when 3 then CONCAT(uwork.position, ', ', uwork.companyname,', ',uwork.location)\n end) 'credential',\n\t (coalesce(ugen2.total,0) + coalesce(ucol2.total,0) + coalesce(uwork2.total,0)) as total_credentials\n FROM users u\n LEFT JOIN userbasicinfo ub ON u.id = ub.user_id\n LEFT JOIN usercontactinfo uc ON uc.user_id = u.id\n LEFT JOIN refcountry rc ON rc.id = uc.country \n LEFT JOIN refbloodtype rb ON rb.id = ub.bloodtype\n LEFT OUTER JOIN(SELECT po.user_id, \n count(*) comments\n FROM postopinion po\n WHERE po.deleted_at IS NULL AND po.mask= 0\n GROUP BY po.user_id) as a ON a.user_id = u.id\t\n LEFT OUTER JOIN(SELECT top_o.user_id,\n count(*) discussion\n FROM topicopinion top_o\n WHERE top_o.deleted_at IS NULL AND top_o.mask=0\n GROUP BY top_o.user_id) as b ON b.user_id = u.id \n LEFT OUTER JOIN (select pc.user_id,\n sum(Case when type = 'F' then 1 else 0 end) image,\n sum(Case when type = 'Q' then 1 else 0 end) question,\n sum(Case when type = 'A' then 1 else 0 end) article,\n sum(Case when type = 'P' then 1 else 0 end) poll,\n count(*) post\n FROM postcontent pc\n WHERE pc.deleted_at IS NULL and pc.mask=0\n GROUP BY pc.user_id) as c ON c.user_id = u.id \n LEFT OUTER JOIN (select pca.postcontent_id, pc.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycontent,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naycontent\n FROM postcontentapprovalrate pca\n LEFT JOIN postcontent pc ON pc.id=pca.postcontent_id\n WHERE pc.deleted_at IS NULL AND pc.mask=0\n GROUP BY pc.user_id) as d ON d.user_id = u.id\n LEFT OUTER JOIN (select poa.postopinion_id, po.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaycomment,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naycomment\n FROM postopinionapprovalrate poa\n LEFT JOIN postopinion po ON po.id = poa.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL AND po.mask=0\n GROUP BY po.user_id) as e ON e.user_id = u.id\n LEFT OUTER JOIN (select pra.postreply_id, pra.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreply,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreply\n FROM postreplyapprovalrate pra\n LEFT JOIN postreply pr ON pr.id = pra.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr.mask=0\n GROUP BY pr.user_id) as f ON f.user_id = u.id\n LEFT OUTER JOIN (select pral2.postreplyL2_id, pral2.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreplyl2,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreplyl2\n FROM postreplyL2approvalrate pral2\n LEFT JOIN postreplyL2 pr2 ON pr2.id = pral2.postreplyL2_id\n LEFT JOIN postreply pr ON pr.id = pr2.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr2.deleted_at AND pr2.mask=0\n GROUP BY pr2.user_id) as g ON g.user_id = u.id\n LEFT OUTER JOIN (select pral3.postreplyL3_id, pral3.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yayreplyl3,\n sum(Case when approvalrate = 'N' then 1 else 0 end) nayreplyl3\n FROM postreplyL3approvalrate pral3\n LEFT JOIN postreplyL3 pr3 ON pr3.id = pral3.postreplyL3_id\n LEFT JOIN postreplyL2 pr2 ON pr2.id = pr3.postreplyL2_id\n LEFT JOIN postreply pr ON pr.id = pr2.postreply_id\n LEFT JOIN postopinion po ON po.id = pr.postopinion_id\n LEFT JOIN postcontent pc ON pc.id=po.postcontent_id\n WHERE pc.deleted_at IS NULL AND po.deleted_at IS NULL \n AND pr.deleted_at IS NULL AND pr2.deleted_at \n AND pr3.deleted_at IS NULL AND pr3.mask=0\n GROUP BY pr3.user_id) as h ON h.user_id = u.id\n LEFT OUTER JOIN (select toa.topicopinion_id, ton.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaydiscussion,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naydiscussion\n FROM topicopinionapprovalrate toa\n LEFT JOIN topicopinion ton ON ton.id = toa.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL AND ton.mask=0\n GROUP BY ton.user_id) as i ON i.user_id = u.id\n LEFT OUTER JOIN (select tra.topicreply_id, tra.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreply,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreply\n FROM topicreplyapprovalrate tra\n LEFT JOIN topicreply tr ON tr.id = tra.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr.mask=0\n GROUP BY tr.user_id) as j ON j.user_id = u.id\n LEFT OUTER JOIN (select tral2.topicreplyl2_id, tral2.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreplyl2,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreplyl2\n FROM topicreplyl2approvalrate tral2\n LEFT JOIN topicreplyl2 tr2 ON tr2.id = tral2.topicreplyl2_id\n LEFT JOIN topicreply tr ON tr.id = tr2.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr2.deleted_at IS NULL AND tr2.mask=0\n GROUP BY tr2.user_id) as k ON k.user_id = u.id\n LEFT OUTER JOIN (select tral3.topicreplyl3_id, tral3.user_id,\n sum(Case when approvalrate = 'Y' then 1 else 0 end) yaytopicreplyl3,\n sum(Case when approvalrate = 'N' then 1 else 0 end) naytopicreplyl3\n FROM topicreplyl3approvalrate tral3\n LEFT JOIN topicreplyl3 tr3 ON tr3.id = tral3.topicreplyl3_id\n LEFT JOIN topicreplyl2 tr2 ON tr2.id = tr3.topicreplyl2_id\n LEFT JOIN topicreply tr ON tr.id = tr2.topicreply_id\n LEFT JOIN topicopinion ton ON ton.id = tr.topicopinion_id\n LEFT JOIN topic t ON t.id=ton.topic_id\n WHERE t.deleted_at IS NULL AND ton.deleted_at IS NULL \n AND tr.deleted_at IS NULL AND tr2.deleted_at IS NULL \n AND tr3.deleted_at IS NULL AND tr3.mask=0\n GROUP BY tr3.user_id) as l ON l.user_id = u.id\n LEFT OUTER JOIN(SELECT uf.user_one_id, \n count(*) friends\n FROM userfriends uf\n WHERE uf.status=1\n GROUP BY uf.user_one_id) as m ON m.user_one_id = u.id\t\n LEFT OUTER JOIN(SELECT ua.user_two_id, \n count(*) followers\n FROM useracquiantances ua\n WHERE ua.status=1\n GROUP BY ua.user_two_id) as n ON n.user_two_id = u.id\n LEFT OUTER JOIN(SELECT ua2.user_one_id, \n count(*) following\n FROM useracquiantances ua2\n WHERE ua2.status=1\n GROUP BY ua2.user_one_id) as o ON o.user_one_id = u.id\n LEFT JOIN usersettings us on us.user_id = u.id\n LEFT JOIN usergeneralinfo ugen ON ugen.user_id = us.user_id AND ugen.id = us.credential_refid\n LEFT JOIN usereduccollege ucol ON ucol.user_id = us.user_id AND ucol.id = us.credential_refid\n LEFT JOIN userworkhistory uwork ON uwork.user_id = us.user_id AND uwork.id = us.credential_refid\n LEFT OUTER JOIN (SELECT usergeneralinfo.user_id,\n COUNT(*) total\n FROM usergeneralinfo\n GROUP BY usergeneralinfo.user_id) as ugen2 ON ugen2.user_id = u.id\n LEFT OUTER JOIN (SELECT usereduccollege.user_id,\n COUNT(*) total\n FROM usereduccollege\n GROUP BY usereduccollege.user_id) as ucol2 ON ucol2.user_id = u.id\n LEFT OUTER JOIN (SELECT userworkhistory.user_id,\n COUNT(*) total\n FROM userworkhistory\n GROUP BY userworkhistory.user_id) as uwork2 ON uwork2.user_id = u.id\n WHERE u.id = {$user_id}\";\n \n return DB::select(DB::raw($sql));\n }",
"function get_comments($post_id){\n include('../../common/database/config.php');\n\n $sql = 'SELECT c.id,c.content,c.created_time,u.name FROM comments as c \n LEFT JOIN users as u on c.user_id = u.id\n where c.post_id = \"'.$post_id.'\"';\n $res = mysqli_query($conn,$sql);\n\n $res_array = mysqli_fetch_all($res, MYSQLI_ASSOC);\n\n return $res_array;\n}",
"function afficherclient()\r\n\t{\r\n\t\t$sql=\"SElECT * From user\";\r\n\t\t$db = config::getConnexion();\r\n\t\ttry\r\n\t\t{\r\n\t\t$liste=$db->query($sql);\r\n\t\treturn $liste;\r\n\t\t}\r\n catch (Exception $e)\r\n {\r\n die('Erreur: '.$e->getMessage());\r\n }\r\n\t}",
"public function getUserCustomerById($id) {\r\n\r\n $result = $this->db->select(USERS . '.*, ' . CUSTOMERS . '.group')//,'. CUSTOMERS_BY_PROVIDER . '.since')\r\n ->from(USERS, CUSTOMERS) //, CUSTOMERS_BY_PROVIDER)\r\n ->join(CUSTOMERS, USERS . '.id = ' . CUSTOMERS . '.id', 'LEFT')\r\n ->where(USERS . '.id', $id)\r\n ->limit(1)\r\n ->get()\r\n ->row();\r\n return $result;\r\n }",
"public function getAllDonations(){\n $result=$this->con->query(\"SELECT user.firstname AS firstname, user.lastname AS lastname, station.name AS name, donation.time AS time FROM donation JOIN station ON donation.station_idstation=station.idstation JOIN user ON donation.user_iduser=user.iduser;\");\n\n return $result;\n }",
"public function get_all(){\n $query = $this->db->select('*')\n ->from('tbl_assigned')\n ->join('tbl_customer', 'tbl_assigned.building_permit_number_link = tbl_customer.building_permit_number' ,'inner')\n ->join('tbl_users' , 'tbl_assigned.user_id_link = tbl_users.user_id' ,'inner')\n ->order_by('assigned_id')\n ->get();\n\n return $query->result();\n }",
"public function user()\n {\n return $this->belongsTo(User::class); //, 'client_id', 'id');\n }",
"function getCustAct($db_link){\n\t\t$sql_custact = \"SELECT * FROM customer LEFT JOIN custsex ON custsex.custsex_id = customer.custsex_id WHERE cust_id != 0 AND cust_active = 1 ORDER BY cust_id\";\n\t\t$query_custact = mysqli_query($db_link, $sql_custact);\n\t\tcheckSQL($db_link, $query_custact, $db_link);\n\n\t\treturn $query_custact;\n\t}",
"public function getNewsByClient()\n\t{\n\t\tif(isset($_SESSION['admin'])){\n\n\t\t\t$empresas = $this->empresasRepo->all();\n\t\t\t$dev_path = \"\";\n\t\t\t $js = \"\n\t\t\t \t\t<script src='{$dev_path}/admin/js/jquery.tabledit.js' ></script>\n\t\t\t \t\t<script src='https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.js'></script>\n\t\t\t \t\t\";\n \t\t$this->renderViewAdmin('showNewsSent', 'Asignación - Noticias a Clientes - ',\n \t\t\t\tcompact('empresas'), null, $js \n \t\t);\n\t\t}else{\n header( \"Location: https://{$_SERVER[\"HTTP_HOST\"]}/panel/login\");\n }\n\t}"
] |
[
"0.63426167",
"0.6126229",
"0.60780835",
"0.59694517",
"0.5669499",
"0.56362164",
"0.56293285",
"0.55677277",
"0.5500134",
"0.54802233",
"0.5475881",
"0.5458174",
"0.5456109",
"0.542956",
"0.54190874",
"0.54114085",
"0.54057854",
"0.5385752",
"0.53776294",
"0.5376203",
"0.5337023",
"0.5332865",
"0.5325486",
"0.53021795",
"0.53014886",
"0.5290092",
"0.5289961",
"0.52867615",
"0.527224",
"0.524577"
] |
0.6798409
|
0
|
"SELECT categories.cat_id,subcategories.subc_id,subcategories.subc_name, categories.cat_name, company_info.info_logo, company_info.info_address, users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id right join company_info on company_info.user_id=users.user_id right join categories on categories.cat_id=company_info.cat_id RIGHT JOIN subcategories ON subcategories.cat_id=categories.cat_id"
|
public function get_all_info_cat_sub() {
$query = $this->db->prepare("SELECT categories.cat_id,subcategories.subc_id,subcategories.subc_name, categories.cat_name, company_info.info_logo, company_info.info_address, users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id right join company_info on company_info.user_id=users.user_id right join categories on categories.cat_id=company_info.cat_id LEFT JOIN subcategories ON subcategories.subc_id=company_info.subc_id
");
try{
$query->execute();
$result = $query->fetchAll();
return $result;
}catch(PDOException $e){
die($e->getMessage());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function get_sub_category(){\r\n $this->datatables->select('s.cat_id,s.sub_cat_id,c.cat_name,s.sub_cat_name');\r\n $this->datatables->join( 'o-cakes_category c', 's.cat_id = c.cat_id', 'left' );\r\n $this->datatables->from('o-cakes_sub_cat s');\r\n $this->datatables->where('s.sub_cat_status',1);\r\n $result = $this->datatables->generate();\r\n echo $result;\r\n }",
"function selectSubcategory() {\n\n\tglobal $db;\n\n\tglobal $result;\n\n\t$query = \"SELECT * FROM sub_category \";\n\t$query .= \"LEFT JOIN category ON sub_category.cat_name_id = category.cat_id\";\n\n\t$result = mysqli_query($db, $query);\n\n\tconfirmQuery($result);\n\n\n\n}",
"public function list_subCategory($category_id){\n $sqlQuery=\"select *,sidhus_category.cat_name from sidhus_subcategory inner join sidhus_category on sidhus_category.category_id=sidhus_subcategory.category_id where sidhus_subcategory.category_id = \". $category_id;\n //$sqlQuery= \"select * from make_an_offer INNER JOIN sell_product ON sell_product.sell_id=make_an_offer.product_id where sell_product.customer_id = \". $customer_id;\n $result=$this->con->query($sqlQuery);\n $this->con->close();\n return $result;\n }",
"public function get_all_registerd_cat() {\n\t\t\n\t\t$query = $this->db->prepare(\"SELECT client_cat.client_cat_id, users.user_id,users.user_confirmed,users.admin_confirmed, users.user_name, users.user_email, users.user_comp_name, users.user_number, users.client_cat_id, client_cat.client_cat_id, users.user_time, client_cat.client_cat_name FROM client_cat LEFT JOIN users ON users.client_cat_id = client_cat.client_cat_id\");\n\t\t\t\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\t$query->execute();\n\t\t\t$result = $query->fetchAll();\n\t\t\treturn $result;\n\t\t}catch(PDOException $e){\n\n\t\t\tdie($e->getMessage());\n\t\t}\n\t}",
"function view_categories_sql()\n\t{\n\t\t$view_cat=mysqli_query($this->con,\"SELECT * FROM categories where status=1 order by c_id desc\");\n\t\treturn $view_cat;\n\t}",
"function enquery_view_sql()\n\t{\n\t\t$view_enquery=mysqli_query($this->con,\"SELECT enquery.*,categories.c_name FROM enquery,categories where enquery.c_id=categories.c_id order by enquery.id desc\");\n\t\treturn $view_enquery;\n\t}",
"public function getSubcategoriesOfCategory()\n {\n // recupere id de la sous categorie choisie\n $categoryId=$_GET['categoryID'];\n // var_dump($categoryId);\n // on recupere les données dans la table subcategories selon la categorie\n $resultGetSubcategoriesOfCategory=DB::table('sub_categories')\n ->join('categories', 'sub_categories.category_id', '=', 'categories.id')\n ->select('sub_categories.category_id', 'categories.name_category', 'sub_categories.id', 'sub_categories.name_subcategory')\n ->where('sub_categories.category_id', '=', $categoryId)\n ->get();\n\n return json_encode($resultGetSubcategoriesOfCategory);\n\n // select categories.category_id, categories.name_category, sub_categories.name_subcategory\n // from sub_categories\n // join categories\n // on sub_categories.category_id = categories.category_id\n // where sub_categories.category_id='1';\n\n }",
"function view_categories_sql()\n\t{\n\t\t$view_cat=mysqli_query($this->con,\"SELECT * FROM categories order by c_id desc\");\n\t\treturn $view_cat;\n\t}",
"function detial_view_sql($c_id)\n\t{\n\t\t$view_detial=mysqli_query($this->con,\"select * from categories where c_id='$c_id' and status=1\");\n\t\treturn $view_detial;\n\t}",
"private function getCategoryFullInfo(){\n return Db::select(CATEGORY_TABLE_NAME,\"id='$this->categoryId'\",\"single\");\n }",
"public function getallMainExpCat() \n\t{ \n\t $cid = $this->gasolinereceived_model->getCompanyId();\n\t\t $cid1 = $cid['0']->c_id;\n\t\t \n\t\t $this->db->where('c_id',$cid1);\n\t\t \n\t\t //$this->db->order_by('date_created','DESC');\n\t\t $query = $this->db->get('expcat')->result();\n\t $q=$this->db->last_query($query );\n\t\t// print_r($q); die('err');\n\t return $query;\n\t \n\t}",
"function get_project_by_category_sub_cat($category_id,$sub_cat_id, $approved=0) {\n\n\n\n $this->db->select('projects.id as id,sub_category.price,project_slug,category.id as cat_id, sub_category.id as sub_cat_id, posted_by,budget,title,details,projects.file_path,projects.file_name,category.name as cat_name, sub_category.name as sub_cat_name');\n $this->db->from('projects');\n $this->db->where('category.id', $category_id);\n $this->db->where('sub_category.id', $sub_cat_id);\n $this->db->where('users.deleted', '0');\n if($approved !=0){\n\n $this->db->where('projects.approved', $approved);\n }\n $this->db->join('category', 'category.id = projects.category','left outer');\n $this->db->join('sub_category', 'sub_category.id = projects.sub_category','left outer');\n $this->db->join('users', 'users.id = projects.posted_by');\n\n\n $query = $this->db->get();\n\n\n\n if ($query->num_rows() >= 1){ return $query->result_array(); }\n\n\n\n return false;\n\n }",
"function showSubCategory()\n\t {\n\t\t\n\t\t $prolist=new Actions();\n\t\t $res=$prolist->fetchAll(\"category\");\n\t\t\t\t\t\t\n\t\t $parentdata=mysql_query(\"select * from category where cat_par_id='0'\");\n\t\t while($parent_sub_cat=mysql_fetch_array($parentdata))\n\t\t {\n\t\t\techo '<option value=\"'.$parent_sub_cat['cat_id'].'\"> '.ucfirst($parent_sub_cat['cat_title']).'</option>';\n\t\t \t\t\t\n\t\t\t if(mysql_num_rows(mysql_query(\"select * from category where cat_par_id='\".$parent_sub_cat['cat_id'].\"'\"))>0)\n\t\t\t {\n\t\t\t\tActions::$r++;\n\t\t\t\tActions::viewCategory($parent_sub_cat['cat_id']);\n\t\t\t } \n\t\t\t \n\t\t }\t\t\t\t\t\t\n\t\t \n\t }",
"function get_businessinformation(){\t\t\r\n $this->db->select('bi.id as id, bi.business_name, bi.status, business_categories.business_category_name, bi.phone_number, bi.email, bi.street_address, bi.categories, bi.city, bi.state, bi.zip_code, bi.created_by, users.first_name');\r\n\t\t\t $this->db->from('business_information as bi' );\r\n\t\t\t $this->db->join('users', 'bi.created_by = users.id','left');\r\n\t\t\t $this->db->join('business_categories', 'bi.categories = business_categories.id','left');\r\n\t\t\t\t $this->db->group_by(\"bi.id\"); \r\n\t\t\t\t\r\n\t\t\t\t $menu = $this->session->userdata('admin');\r\n\t\t\t\t\tif($menu!='1'){\t\t\t\t\t\t\r\n\t\t\t\t\t\t$user = $this->session->userdata('id');\r\n\t\t\t\t\t\t$this->db->where('bi.created_by', $user);\r\n\t\t\t\t\t}\r\n\t\t\t \r\n\t\t\t\t $query = $this->db->get();\r\n\t\t\t $result = $query->result();\r\n\t\t\t return $result;\t\t\t\t\r\n }",
"function get_category( $conds = array(), $limit = false, $offset = false )\n\t{\n\t\t$this->db->select('rt_categories.*'); \n\t\t$this->db->from('rt_categories');\n\t\t$this->db->join('rt_products', 'rt_products.cat_id = rt_categories.id');\n\n\t\tif ( isset( $conds['shop_id'] )) {\n\t\t\tif ($conds['shop_id'] != \"\" ) {\n\t\t\t\tif ($conds['shop_id'] != '0') {\n\t\t\t\t\t$this->db->where( 'rt_products.shop_id', $conds['shop_id'] );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\tif ( !isset( $conds['no_publish_filter'] )) {\n\t\t\t$this->db->where( 'rt_categories.status', 1 );\n\t\t}\n\n\t\tif ( $limit ) {\n\t\t// if there is limit, set the limit\n\t\t\t$this->db->limit($limit);\n\t\t}\n\t\t\n\t\tif ( $offset ) {\n\t\t// if there is offset, set the offset,\n\t\t\t$this->db->offset($offset);\n\t\t}\n\n\t\t//$this->db->order_by(\"count(DISTINCT rt_subcategories.id)\", \"DESC\");\n\t\t$this->db->distinct();\n\t\treturn $this->db->get();\n\n \t}",
"function get_sidebar_categories() {\n $get_category = DB::table('categoryname')\n ->join('subcategorytable', 'categoryname.id', '=', 'subcategorytable.category_id')\n ->join('maincategory', 'categoryname.maincategory_id', '=', 'maincategory.id')\n ->select('categoryname.*', 'subcategorytable.*', 'maincategory.*', 'subcategorytable.id')\n ->get();\n return $get_category;\n}",
"function displaySubCategory($subcatid)\n\t{\n\n\n\t\t$id=(int)$_GET['id'];\n\t\t\n\t\tif($_GET['id']!='')\n\t\t{\n\t \t\tif(is_int($id))\n\t\t \t{\n\t\t\t\t$sql = \"SELECT * FROM category_table where category_parent_id=\".$subcatid.\" AND sub_category_parent_id=0 \" ;\n\t\t\t\t\n\t\t\t\t$query = new Bin_Query();\n\t\t\t\t\n\t\t\t\t$query->executeQuery($sql);\n\t\t\t\t\n\t\t\t\treturn Display_DManageProducts::displaySubCategory($query->records,$subcatid);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\n\t\t\t$sqlpro=\"SELECT * FROM products_table WHERE product_id ='\".$_GET['prodid'].\"'\";\n\t\t\t$objpro=new Bin_Query();\n\t\t\t$objpro->executeQuery($sqlpro);\n\t\t\t$subcatid=$objpro->records[0]['category_id'];\n\t\t\t$subselected=$objpro->records[0]['sub_category_id'];\n\t\t\t\t\t\t\n\t\t\t$sql = \"SELECT * FROM category_table where category_parent_id=\".$subcatid.\" AND sub_category_parent_id=0\" ;\n\t\t\t\n\t\t\t$query = new Bin_Query();\n\t\t\t\n\t\t\t$query->executeQuery($sql);\n\t\t\t\n\t\t\treturn Display_DManageProducts::displaySubCategory($query->records,$subselected);\n\t\t}\n\t\t\t\n\t}",
"function showSubcategory() {\n\n\tglobal $db;\n\n\tglobal $cat_id;\n\n\tglobal $select_sub_query;\n\n\t$query = \"SELECT * FROM sub_category WHERE cat_name_id = $cat_id\";\n\n\t$select_sub_query = mysqli_query($db, $query);\n\n\tconfirmQuery($select_sub_query);\n\n\n}",
"function get_all()\n {\n $this->db->select('products.*, company_category.category');\n $this->db->join('company_category', 'company_category.id = products.cat_id');\n return $this->db->get($this->table)->result();\n }",
"function getCategories($parent=0)\n {\n $sql=\"select * from itf_category where parent ='\".$parent.\"' and status='1' order by catname\";\n $res = $this->dbcon->FetchAllResults($sql);\n\n if(count($res) > 0){\n foreach($res as &$r)\n {\n $re = $this->getCategories($r['id']);\n $r[\"subcat\"] = $re;\n\n }\n }\n return $res;\n\n }",
"function get_sub_category() {\r\n if(!isset($_POST['category_id'])){\r\n echo json_encode(array('status'=>false, 'message'=>\"category_id field is required!!\", 'data'=>blank_json()));\r\n die;\r\n }\r\n $category_id=$this->input->post('category_id');\r\n if(isset($_POST['last_count'])){\r\n $last_count = $_POST['last_count'];\r\n }else{\r\n $last_count = 0;\r\n }\r\n if($category_id==1 || $category_id==2 || $category_id==3 || $category_id==4){\r\n if($category_id==1){\r\n $table='fic_category';\r\n }\r\n if($category_id==2){\r\n $table='comm_category';\r\n }\r\n if($category_id==3){\r\n $table='competition_category';\r\n }\r\n if($category_id==4){\r\n $table='opendata_category';\r\n }\r\n $res = $this->CategoriesModel->get_subcategories($category_id,$table,$last_count);\r\n if (!empty($res)) {\r\n $i=0;\r\n foreach($res as $r){\r\n $res[$i]['root_id']=$category_id;\r\n $i++;\r\n }\r\n echo json_encode(array('status'=>true, 'message'=>\"Sub Categories list!\", 'data'=>$res));\r\n die;\r\n }\r\n echo json_encode(array('status'=>false, 'message'=>\"Sub Categories list not found!!\", 'data'=>array()));\r\n die;\r\n \r\n }else{\r\n echo json_encode(array('status'=>false, 'message'=>\"category_id is not valid!!\", 'data'=>blank_json()));\r\n }\r\n }",
"public static function category_listing($category_id,$limit = 15)\n {\n \n \n\n $query = \"SELECT id, category_id,created_by, title,description, url, featured_image, create_time,primary_phone,primary_email,\n\n (SELECT name FROM 9jb_locations WHERE 9jb_listings.city = 9jb_locations.id) AS city_name,\n (SELECT fa_icon FROM 9jb_categories WHERE 9jb_listings.category_id = 9jb_categories.id) AS icon,\n (SELECT color FROM 9jb_categories WHERE 9jb_listings.category_id = 9jb_categories.id) AS color,\n (SELECT title FROM 9jb_categories WHERE 9jb_listings.category_id = 9jb_categories.id) AS category_name,\n (SELECT name FROM 9jb_locations WHERE 9jb_listings.state = 9jb_locations.id) AS state_name,\n (SELECT count(*) FROM 9jb_reviews WHERE 9jb_reviews.listing_id = 9jb_listings.id) AS reviews\n\n FROM 9jb_listings\n WHERE category_id = ? AND status='activated'\n ORDER BY create_time DESC LIMIT $limit \";\n\n return \\DB::select($query,[$category_id]) ;\n }",
"function trainer_view_sql()\n\t{\n\t\t$view_trainer=mysqli_query($this->con,\"SELECT trainer.*,categories.c_name FROM trainer,categories where trainer.c_id=categories.c_id and trainer.status=1 order by trainer.t_id desc\");\n\t\treturn $view_trainer\t;\n\t}",
"function get_sub_category_info( $sub_cate_id, $sub_cate_status = 0 )\n\t{\n\t\t$criteria = $sub_cate_status == 1 ? \"sub_cate_status = 1 AND \" : \"\";\n\t\t$q = \"SELECT * FROM title_dev_sub_categories WHERE \".$criteria.\" sub_cate_id = \".$sub_cate_id;\n\t\t$r = $this -> db -> getSingleRecord( $q );\n\t\tif( $r )\n\t\t\treturn $r;\n\t\telse\n\t\t\treturn false;\n\t}",
"function getAllMainCategories() {\r\n\r\n $sql = \"SELECT * \"\r\n . \"FROM categories \"\r\n . \"WHERE parent_id = 0\";\r\n\r\n include '../config/db.php';\r\n\r\n $rs = mysqli_query($link, $sql);\r\n mysqli_close($link);\r\n\r\n return createSnartyRsArray($rs);\r\n}",
"function portfolio_view_sql()\n\t{\n\t\t$view_port=mysqli_query($this->con,\"SELECT portfolio.*,categories.c_name FROM portfolio,categories where portfolio.c_id=categories.c_id order by portfolio.p_id desc\");\n\t\treturn $view_port;\n\t}",
"public function get_sub_cat_list1($parentid,$subcatid){\n\t\t\n\t\t$parentid= trim($parentid);\n\t\t$subcatid= trim($subcatid);\n\t\t\n\t\treturn $this->db->query(\"select a.*,b.* from subcategory_name as a inner join subcategory as b on a.subcategory_name_id=b.subcategory_name_id where b.subcategory_name_id='$subcatid' and b.ParentCategory='$parentid'\")->result_array();\n\t\n\t\t\n\t}",
"public function cat_select() {\n //formulate select query\n $sql = \"SELECT * FROM categories\"; \n //execute query \n return $this->db_query($sql);\n }",
"function get_equipos_cat($where=null){\n \n if(!is_null($where)){\n $where='WHERE '.$where;\n }else{\n $where='';\n }\n\n $sql=\"select sub4.uni_acad,trim(d.apellido)||', '||trim(d.nombre) as docente_nombre,d.nro_docum,d.legajo,d.fec_nacim,coalesce(d.correo_institucional,'')||' '|| coalesce(d.correo_personal,'') as correo,sub4.id_designacion,sub4.cat_est,sub4.carac,sub4.desde,sub4.hasta,t_mo.descripcion as modulo,carga_horaria,observacion,case when trim(rol)='NE' then 'Aux' else 'Resp' end as rol,p.descripcion as periodo, dep.descripcion as dep,ar.descripcion as area,t_o.descripcion as ori,case when materia_conj is not null then materia_conj else m.desc_materia||'('||pl.cod_carrera||' de '||pl.uni_acad|| ')' end as desc_materia\n from(select sub2.id_designacion,sub2.id_materia,sub2.id_docente,sub2.id_periodo,sub2.modulo,sub2.carga_horaria,sub2.rol,sub2.observacion,cat_est,dedic,carac,desde,hasta,uni_acad,sub2.id_departamento,sub2.id_area,sub2.id_orientacion,string_agg(sub4.materia,'/') as materia_conj \n from (select distinct * from (\n select distinct upper(trim(m.desc_materia)) as desc_materia,a.anio,b.id_designacion,b.id_docente,d.legajo,a.id_periodo,a.modulo,a.carga_horaria,a.rol,a.observacion,a.id_materia,b.uni_acad,cat_estat||dedic as cat_est,dedic,carac,b.desde,b.hasta,b.id_departamento,b.id_area,b.id_orientacion,case when lic.id_novedad is null then 0 else 1 end as licencia\n from asignacion_materia a\n INNER JOIN materia m ON (m.id_materia=a.id_materia)\n INNER JOIN designacion b ON (a.id_designacion=b.id_designacion)\n INNER JOIN docente d ON (b.id_docente=d.id_docente)\n --esto para saber si esta de licencia dentro del periodo y anio en el que esta designado. Entonces con el filtro puedo descartar a los que no estan ejerciendo\n INNER JOIN mocovi_periodo_presupuestario p ON (a.anio=p.anio)\n LEFT OUTER JOIN ( select t_n.*,extract(year from t_n.desde) as anio\n from novedad t_n \n where t_n.tipo_nov in (1,4,2,3,5)\n ) lic ON (lic.id_designacion = a.id_designacion \n and lic.anio=a.anio \n and ((lic.tipo_nov in (2,3,5) and\n ((a.id_periodo=1 and lic.desde<=to_date(cast(p.anio as text)||'-07-01','YYYY-MM-DD')and lic.hasta>=p.fecha_inicio) or\n (a.id_periodo=2 and lic.desde<=p.fecha_fin and lic.hasta>=to_date(cast(p.anio as text)||'-07-01','YYYY-MM-DD')) or\n ((a.id_periodo=3 or a.id_periodo=4) and lic.desde<=p.fecha_fin and lic.hasta>=p.fecha_inicio )\n )\n ) or\n (\n lic.tipo_nov in (1,4) and \n ((a.id_periodo=1 and lic.desde<=to_date(cast(p.anio as text)||'-07-01','YYYY-MM-DD')and lic.desde>=p.fecha_inicio) or\n (a.id_periodo=2 and lic.desde<=p.fecha_fin and lic.desde>=to_date(cast(p.anio as text)||'-07-01','YYYY-MM-DD')) or\n ((a.id_periodo=3 or a.id_periodo=4) and lic.desde<=p.fecha_fin and lic.desde>=p.fecha_inicio )\n )\n ) ) \n )\n where not (b.hasta is not null and b.hasta<=b.desde)\n )sub1\n \".$where.\" ) sub2 \n LEFT OUTER JOIN \n ( select t_c.id_conjunto,t_p.anio,t_c.id_periodo,t_c.ua,t_e.id_materia\n from en_conjunto t_e,conjunto t_c, mocovi_periodo_presupuestario t_p\n WHERE t_e.id_conjunto=t_c.id_conjunto and t_p.id_periodo=t_c.id_periodo_pres \n )sub3 ON (sub3.ua=sub2.uni_acad and sub3.id_periodo=sub2.id_periodo and sub3.anio=sub2.anio and sub3.id_materia=sub2.id_materia)\n LEFT OUTER JOIN \n (select t_e.id_conjunto,t_e.id_materia,t_m.desc_materia||'('||t_p.cod_carrera||' de '||t_p.uni_acad||')' as materia from en_conjunto t_e,materia t_m ,plan_estudio t_p\n where t_e.id_materia=t_m.id_materia\n and t_p.id_plan=t_m.id_plan)sub4 ON sub4.id_conjunto=sub3.id_conjunto\n group by sub2.id_designacion,sub2.id_materia,sub2.id_docente,sub2.id_periodo,sub2.modulo,sub2.carga_horaria,sub2.rol,sub2.observacion,cat_est,dedic,carac,desde,hasta,uni_acad,sub2.id_departamento,sub2.id_area,sub2.id_orientacion)sub4\n LEFT OUTER JOIN docente d ON d.id_docente=sub4.id_docente\n LEFT OUTER JOIN periodo p ON p.id_periodo=sub4.id_periodo\n LEFT OUTER JOIN modulo t_mo ON sub4.modulo=t_mo.id_modulo\n LEFT OUTER JOIN departamento dep ON dep.iddepto=sub4.id_departamento\n LEFT OUTER JOIN area ar ON ar.idarea=sub4.id_area\n LEFT OUTER JOIN orientacion t_o ON (sub4.id_orientacion=t_o.idorient and ar.idarea=t_o.idarea)\n LEFT OUTER JOIN materia m ON m.id_materia=sub4.id_materia\n LEFT OUTER JOIN plan_estudio pl ON pl.id_plan=m.id_plan\n \n order by desc_materia,periodo,modulo,rol\";\n return toba::db('designa')->consultar($sql);\n }",
"public function getCategories()\r\n{\r\n $query_string = \"SELECT categoryid, categoryname, categorydescription \";\r\n $query_string .= \"FROM categories\";\r\n\r\n return $query_string;\r\n}"
] |
[
"0.68906945",
"0.6745963",
"0.66954815",
"0.6516495",
"0.62792915",
"0.6241631",
"0.6115963",
"0.61140394",
"0.60277593",
"0.59525234",
"0.59311825",
"0.59214103",
"0.5913459",
"0.589797",
"0.5895955",
"0.58837724",
"0.58790034",
"0.58629733",
"0.58557755",
"0.585544",
"0.5851821",
"0.5836257",
"0.5834043",
"0.58327574",
"0.5827298",
"0.5826228",
"0.5802579",
"0.5789293",
"0.57804716",
"0.57705295"
] |
0.76472306
|
0
|
funcion para guardar los estados
|
public function GuardarEstado()
{
$query="INSERT INTO estado (idpais,estado,descripcion) VALUES ($this->id_pais,'$this->estado','$this->descripcion')";
$resp=$this->db->consulta($query);
$this->id_estado = $this->db->id_ultimo();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function guardar(){\n\t}",
"function guardar()\n\t{\t\t\n\t\tif ($this->activo) {\n\t\t\t$this->guardar_en_archivo($this->get_nombre_archivo());\n\t\t}\n\t}",
"public function GuardarCambios($model, $modelAvaluo, $modelRegistro)\n {\n $buscar = new ParametroSolicitud($_SESSION['id']);\n\n $nivelAprobacion = $buscar->getParametroSolicitud([\"nivel_aprobacion\"]);\n\n $config = $buscar->getParametroSolicitud([\n 'id_config_solicitud',\n 'tipo_solicitud',\n 'impuesto',\n 'nivel_aprobacion'\n ]);\n $datosContribuyente = self::DatosContribuyente();\n $_SESSION['datosContribuyente']= $datosContribuyente;\n try {\n $tableName1 = 'solicitudes_contribuyente'; \n\n \n\n $arrayDatos1 = [ 'id_contribuyente' => $_SESSION['idContribuyente'],\n 'id_config_solicitud' => $_SESSION['id'],\n 'impuesto' => 2,\n 'id_impuesto' => $_SESSION['datosInmueble']['id_impuesto'],\n 'tipo_solicitud' => $config['tipo_solicitud'],\n 'usuario' => $datosContribuyente['email'],\n 'fecha_hora_creacion' => date('Y-m-d h:i:s'),\n 'nivel_aprobacion' => $nivelAprobacion[\"nivel_aprobacion\"],\n 'nro_control' => 0,\n 'firma_digital' => null,\n 'estatus' => 0,\n 'inactivo' => 0,\n ]; \n \n\n $conn = New ConexionController();\n $conexion = $conn->initConectar('db'); // instancia de la conexion (Connection)\n $conexion->open(); \n $transaccion = $conexion->beginTransaction();\n\n if ( $conn->guardarRegistro($conexion, $tableName1, $arrayDatos1) ){ \n $result = $conexion->getLastInsertID();\n \n $estado_catastro = $model->estado_catastro; \n $municipio_catastro = $model->municipio_catastro; \n $parroquia_catastro = $model->parroquia_catastro; \n $ambito_catastro = $model->ambito_catastro; \n $sector_catastro = $model->sector_catastro; \n $manzana_catastro = $model->manzana_catastro; \n $catastro1 = array(['estado' => $estado_catastro, 'municipio'=> $municipio_catastro, 'parroquia'=>$parroquia_catastro, 'ambito'=>$ambito_catastro, 'sector'=>$sector_catastro, 'manzana' =>$manzana_catastro]);\n $catastro = \"\".$catastro1[0]['estado'].\"-\".$catastro1[0]['municipio'].\"-\".$catastro1[0]['parroquia'].\"-\".$catastro1[0]['ambito'].\"-\".$catastro1[0]['sector'].\"-\".$catastro1[0]['manzana'].\"\";\n\n if($model->propiedad_horizontal == 1){\n $arrayDatos2 = [ 'id_contribuyente' => $_SESSION['idContribuyente'],\n 'id_impuesto' => $_SESSION['datosInmueble']['id_impuesto'],\n 'nro_solicitud' => $result,\n 'estado_catastro' => $model->estado_catastro,\n 'municipio_catastro' => $model->municipio_catastro,\n 'parroquia_catastro' => $model->parroquia_catastro,\n 'ambito_catastro' => $model->ambito_catastro,\n 'sector_catastro' => $model->sector_catastro,\n 'manzana_catastro' => $model->manzana_catastro,\n //catastro\n 'propiedad_horizontal' => $model->propiedad_horizontal,\n 'parcela_catastro' => $model->parcela_catastro,\n 'subparcela_catastro' => $model->subparcela_catastro,\n 'nivel_catastro' => $model->nivel_catastro,\n 'unidad_catastro' => $model->unidad_catastro,\n 'manzana_limite' => $model->manzana_catastro,\n 'catastro' => $catastro,\n 'fecha_creacion' => date('Y-m-d h:i:s'),\n ]; \n\n } else {\n $arrayDatos2 = [ 'id_contribuyente' => $_SESSION['idContribuyente'],\n 'id_impuesto' => $_SESSION['datosInmueble']['id_impuesto'],\n 'nro_solicitud' => $result,\n 'estado_catastro' => $model->estado_catastro,\n 'municipio_catastro' => $model->municipio_catastro,\n 'parroquia_catastro' => $model->parroquia_catastro,\n 'ambito_catastro' => $model->ambito_catastro,\n 'sector_catastro' => $model->sector_catastro,\n 'manzana_catastro' => $model->manzana_catastro,\n //catastro\n 'propiedad_horizontal' => $model->propiedad_horizontal,\n 'parcela_catastro' => $model->parcela_catastro,\n 'subparcela_catastro' => 0,\n 'nivel_catastro' => 0,\n 'unidad_catastro' => 0,\n 'manzana_limite' => $model->manzana_catastro,\n 'catastro' => $catastro,\n 'fecha_creacion' => date('Y-m-d h:i:s'),\n ]; \n\n }\n $tableName2 = 'sl_inmuebles'; \n\n $model->nro_solicitud = $arrayDatos2['nro_solicitud'];\n $resultProceso = self::actionEjecutaProcesoSolicitud($conn, $conexion, $model, $config); \n\n if ( $conn->guardarRegistro($conexion, $tableName2, $arrayDatos2) ){\n\n if ($nivelAprobacion['nivel_aprobacion'] != 1){\n\n $transaccion->commit(); \n $conexion->close(); \n $tipoError = 0; \n return $result; \n\n } else {\n if($model->propiedad_horizontal == 1){\n $arrayDatos3 = [ 'id_contribuyente' => $_SESSION['idContribuyente'],\n 'estado_catastro' => $model->estado_catastro,\n 'municipio_catastro' => $model->municipio_catastro,\n 'parroquia_catastro' => $model->parroquia_catastro,\n 'ambito_catastro' => $model->ambito_catastro,\n 'sector_catastro' => $model->sector_catastro,\n 'manzana_catastro' => $model->manzana_catastro,\n 'propiedad_horizontal' => $model->propiedad_horizontal,\n 'parcela_catastro' => $model->parcela_catastro,\n 'subparcela_catastro' => $model->subparcela_catastro,\n 'nivel_catastro' => $model->nivel_catastro,\n 'unidad_catastro' => $model->unidad_catastro,\n 'manzana_limite' => $model->manzana_catastro,\n //catastro\n 'catastro' => $catastro,\n \n ]; \n } else {\n $arrayDatos3 = [ 'id_contribuyente' => $_SESSION['idContribuyente'],\n 'estado_catastro' => $model->estado_catastro,\n 'municipio_catastro' => $model->municipio_catastro,\n 'parroquia_catastro' => $model->parroquia_catastro,\n 'ambito_catastro' => $model->ambito_catastro,\n 'sector_catastro' => $model->sector_catastro,\n 'manzana_catastro' => $model->manzana_catastro,\n 'propiedad_horizontal' => $model->propiedad_horizontal,\n 'parcela_catastro' => $model->parcela_catastro,\n 'subparcela_catastro' => 0,\n 'nivel_catastro' => 0,\n 'unidad_catastro' => 0,\n 'manzana_limite' => $model->manzana_catastro,\n //catastro\n 'catastro' => $catastro,\n ];\n }\n \n $tableName3 = 'inmuebles';\n $arrayCondition = ['id_impuesto'=>$_SESSION['datosInmueble']['id_impuesto']];\n\n if ( $conn->modificarRegistro($conexion, $tableName3, $arrayDatos3, $arrayCondition) ){\n\n $transaccion->commit(); \n $conexion->close(); \n $tipoError = 0; \n return $result; \n\n } else {\n \n $transaccion->rollBack(); \n $conexion->close(); \n $tipoError = 0; \n return false; \n\n }\n }\n\n\n } else {\n \n $transaccion->rollBack(); \n $conexion->close(); \n $tipoError = 0; \n return false; \n\n }\n\n }else{ \n \n return false;\n } \n \n } catch ( Exception $e ) {\n //echo $e->errorInfo[2];\n } \n \n }",
"public function guardarRastreo($id_flete, $fecha, $evento, $descripcion, $id_detalle_seguimiento, $id_session)\n {\n DB::beginTransaction();\n for ($i = 0; $i < count($fecha); $i++) {\n if ($id_detalle_seguimiento[$i] == null) {\n $query_detalle_seguimiento = new static;\n $query_detalle_seguimiento = DB::insert('INSERT INTO ldci.tb_detalle_seguimiento(\n fecha, evento, detalle, estado, id_flete, usuario_grabacion, fecha_grabacion)\n VALUES (?, ?, ?, ?, ?, ?, now())', [$fecha[$i], $evento[$i], $descripcion[$i], 1, $id_flete, $id_session]);\n\n if (!$query_detalle_seguimiento) {\n DB::rollBack();\n return collect([\n 'mensaje' => 'Hubo un error al guardar el detalle de rastreo',\n 'error' => true\n ]);\n }\n } else {\n $query_detalle_seguimiento_p = new static;\n $query_detalle_seguimiento_p = DB::Update(\"UPDATE ldci.tb_detalle_seguimiento SET\n fecha=?, evento=?, detalle=?, usuario_modificacion=?, fecha_modificacion=now()\n WHERE id_detalle_seguimiento=?\", [$fecha[$i], $evento[$i], $descripcion[$i], $id_session, $id_detalle_seguimiento[$i]]);\n\n if (!$query_detalle_seguimiento_p) {\n DB::rollBack();\n return collect([\n 'mensaje' => 'Hubo un error al guardar el detalle de rastreo',\n 'error' => true\n ]);\n }\n }\n }\n DB::commit();\n return collect([\n 'mensaje' => 'Detalle Rastreo guardada con exito',\n 'error' => false\n ]);\n }",
"public function guardarSalida()\n {\n $data = $this->input->post('data');\n\t\t\t\t$noco = $this->input->post('datosTabla');\n $res = $this->Camiones->guardarSalida($data);\n\n\t\t\t\tif ($res['status']) {\n\n\t\t\t\t\t\t// si hay no consumibles se guardan aca\n\t\t\t\t\t\tif (isset($noco)) {\n\t\t\t\t\t\t\tforeach ($noco as $value) {\n\t\t\t\t\t\t\t\t$codigo[0] = $value['codigo'];\n\t\t\t\t\t\t\t\t$destino = $value['destino'];\n\t\t\t\t\t\t\t\t$depo_id = \"\";\n\t\t\t\t\t\t\t\t$rsp = $this->Noconsumibles->movimientoNoConsumibles($codigo, 'EN_TRANSITO', $depo_id, $destino);\n\t\t\t\t\t\t\t\tif ($rsp == null) {\n\t\t\t\t\t\t\t\t\tlog_message('ERROR','#TRAZA|TRAZASOFT|GENERAL|CAMION|guardarSalida() >> ERROR: no se pudo guardar el movimiento del Noconsumible ');\n\t\t\t\t\t\t\t\t\t$res = false;\n\t\t\t\t\t\t\t\t\tbreak 1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t\tlog_message('ERROR','#TRAZA|TRAZASOFT|CAMION|guardarSalida() >> ERROR: fallo el guardarSalida($data)');\n\t\t\t\t}\n\n echo json_encode($res);\n }",
"function guardarReclamo()\n\t\t{\n\t\t}",
"function persistAll() ;",
"public function guardarPago($status){\n \n \n $status=$status;\n \n $success=$status->success;// devuelve si se pago con exito , de no existir esta variable se considera que no se pudo completar el pago\n $transaccionId=$status->transaction->id;// el id de la transaccion del pago vinculado a braintree\n // aqui\n // logica para guardar en la base de datos ...\n\t\t$c=Cliente::find(1);\n $c->transaccion=$transaccionId;\n $c->save();\n }",
"public function guardar()\n\t{\n\t\t// Crear una instancia de la conexion\n\t\t$conexion = new Conexion;\n\n\t\t// Comprobar si es un registro nuevo o uno ya existente\n\t\tif ($this->update) {\n\n\t\t\t// Preparar la sentencia para actualizar el tipo de rol en la bd\n\t\t\t$sentencia = $conexion->conn->prepare(\"UPDATE \". static::$tablaConsulta . \" SET medio= ? WHERE id= ?\");\n\n\t\t\t// Pasar los campos del objecto a la sentencia\n\t\t\t$sentencia->bind_param(\n\t\t\t\t\t'si',\n\t\t\t\t\t$this->medio,\n\t\t\t\t\t$this->id\n\t\t\t);\n\n\t\t} else {\n\n\t\t\t// Preparar la sentencia para isertar el tipo de rol en la bd\n\t\t\t$sentencia = $conexion->conn->prepare(\"INSERT INTO \". static::$tablaConsulta . \" VALUES (null, ?)\");\n\n\t\t\t// Pasar los campos del objecto a la sentencia\n\t\t\t$sentencia->bind_param(\n\t\t\t\t\t's',\n\t\t\t\t\t$this->medio\n\t\t\t);\n\t\t}\n\n\n // Ejecutar la sentencia\n\t\tif ( $sentencia->execute() ) {\n\n\t\t\t// Devolver un uno si fue un exito\n\t\t\treturn 1;\n\t\t} else {\n\n\t\t\t// Devolver un 0 si ocurrio un error\n\t\t\treturn 0;\n\t\t}\n\t}",
"public function guardarRastreoSImagen($id_flete, $tblRastreo, $id_session)\n {\n DB::beginTransaction();\n foreach ($tblRastreo as $evento) {\n if ($evento->Id_detalle_seguimiento == null) {\n $query_detalle_seguimiento = new static;\n $query_detalle_seguimiento = DB::insert('INSERT INTO ldci.tb_detalle_seguimiento(\n fecha, evento, detalle, estado, id_flete, usuario_grabacion, fecha_grabacion)\n VALUES (?, ?, ?, ?, ?, ?, now())', [$evento->Fecha, $evento->Evento, $evento->Descripcion, 1, $id_flete, $id_session]);\n\n if (!$query_detalle_seguimiento) {\n DB::rollBack();\n return collect([\n 'mensaje' => 'Hubo un error al guardar el detalle de rastreo',\n 'error' => true\n ]);\n }\n } else {\n $query_detalle_seguimiento_p = new static;\n $query_detalle_seguimiento_p = DB::Update(\"UPDATE ldci.tb_detalle_seguimiento SET\n fecha=?, evento=?, detalle=?, usuario_modificacion=?, fecha_modificacion=now()\n WHERE id_detalle_seguimiento=?\", [$evento->Fecha, $evento->Evento, $evento->Descripcion, $id_session, $evento->Id_detalle_seguimiento]);\n\n if (!$query_detalle_seguimiento_p) {\n DB::rollBack();\n return collect([\n 'mensaje' => 'Hubo un error al guardar el detalle de rastreo',\n 'error' => true\n ]);\n }\n }\n }\n DB::commit();\n return collect([\n 'mensaje' => 'Detalle Rastreo guardada con exito',\n 'error' => false\n ]);\n }",
"function persist() ;",
"public function store(EstadoFinancieroRequest $request)\n { \n \n $estados_creados = EstadoFinanciero::where('id_empresa',$request->id_empresa)\n ->where('id_tipo_estado_financiero',$request->id_tipo_estado_financiero)\n ->whereBetween('fecha_inicio',[$request->fecha_inicio,$request->fecha_final])\n ->whereBetween('fecha_final',[$request->fecha_final,$request->fecha_final])->get();\n \n $estado_financiero = new EstadoFinanciero();\n $estado_financiero->id_tipo_estado_financiero = $request->id_tipo_estado_financiero;\n $estado_financiero->id_empresa = $request->id_empresa;\n $estado_financiero->fecha_inicio = $request->fecha_inicio;\n $estado_financiero->fecha_final = $request->fecha_final;\n $fecha_inicio =$request->fecha_inicio;\n $fecha_fin =$request->fecha_final;\n\n\n if($estados_creados)\n { \n return back()->withWarning('Ya se creó un estado financiero para el rango de fechas indicadas, ingrese otro período!');\n \n }\n if($fecha_inicio>$fecha_fin)\n { \n return back()->withWarning('La fecha de inicio debe ser menor a la fecha de fin de período!');\n \n }\n \n $estado_financiero->save();\n \n \n $empresa = Empresa::findOrFail($estado_financiero->id_empresa);\n\n if($estado_financiero->id_tipo_estado_financiero==1)\n {\n $activos = [];\n $pasivos = [];\n $patrimonio = [];\n $catalogo = Catalogo::where('id_empresa', $empresa->id)->get();\n\n foreach($catalogo as $cuenta)\n {\n if($cuenta->cuenta->id_tipo_cuenta == 1)\n {\n $activos[] = $cuenta;\n }\n elseif($cuenta->cuenta->id_tipo_cuenta == 2)\n {\n $pasivos[] = $cuenta;\n }\n elseif($cuenta->cuenta->id_tipo_cuenta == 3)\n {\n $patrimonio[] = $cuenta;\n }\n }\n \n return view('EstadosFinancieros.crear_balance_general', compact('activos', 'pasivos', 'patrimonio','empresa', 'estado_financiero'));\n }\n elseif($estado_financiero->id_tipo_estado_financiero==2)\n {\n $ingresos = [];\n $gastos = [];\n $catalogo = Catalogo::where('id_empresa', $empresa->id)->get();\n\n foreach($catalogo as $cuenta)\n {\n if($cuenta->cuenta->id_tipo_cuenta == 4)\n {\n $gastos[] = $cuenta;\n }\n elseif($cuenta->cuenta->id_tipo_cuenta == 5)\n {\n $ingresos[] = $cuenta;\n }\n \n }\n return view('EstadosFinancieros.crear_estado_resultados', compact('ingresos','gastos','empresa', 'estado_financiero'));\n }\n \n }",
"public function guardar(Request $request)\n { \n\n \n $vc= DetallePrestamo::where([['prestamo_id', '=', $request->prestamo_id],\n ['d_numero_cuota', '=', $request->numero_cuota]])->first();\n\n $saldo = Prestamo::where('idp', '=', $request->prestamo_id)->first();\n $saldop = $saldo->monto_pendiente;\n\n $vcd = $vc->valor_cuota;\n if($request->valor_abono == $saldop){\n \n Pago::create($request->all());\n\n DB::table('detalle_prestamo')\n ->where('prestamo_id', '=', $request->prestamo_id)\n ->update([\n 'estado'=>'T',\n 'updated_at'=> now() \n ]);\n\n $saldoa = Prestamo::where('idp', '=', $request->prestamo_id)->first(); \n \n $cuotasat = $saldoa->cuotas_atrasadas;\n $saldoat = $saldoa->monto_atrasado;\n \n DB::table('prestamo')\n ->where([\n ['idp', '=', $request->prestamo_id]\n ])\n ->update([\n 'monto_atrasado'=> 0,\n 'cuotas_atrasadas'=> 0,\n 'monto_pendiente'=>($saldop - $request->valor_abono),\n 'observacion_prestamo'=>'Cancelado',\n 'estado'=>'P',\n 'updated_at'=> now()\n ]);\n \n return response()->json(['success' => 'total']);\n\n }else if($request->valor_abono == 0 || $request->valor_abono < $vcd){\n \n Pago::create($request->all());\n\n DB::table('detalle_prestamo')\n ->where([['prestamo_id', '=', $request->prestamo_id],\n ['d_numero_cuota', '=', $request->numero_cuota]])\n ->update([\n 'estado'=>'A',\n 'valor_cuota_pagada'=>$request->valor_abono,\n 'updated_at'=> now() \n ]);\n\n $saldoa = Prestamo::where('idp', '=', $request->prestamo_id)->first(); \n \n $cuotasat = $saldoa->cuotas_atrasadas;\n $saldoat = $saldoa->monto_atrasado; \n \n DB::table('prestamo')\n ->where([\n ['idp', '=', $request->prestamo_id]\n ])\n ->update([\n 'monto_atrasado'=>($saldoat + ($request->valor_cuota - $request->valor_abono)),\n 'cuotas_atrasadas'=>($cuotasat + 1),\n 'monto_pendiente'=>($saldop - $request->valor_abono),\n 'updated_at'=> now()\n ]);\n \n\n }else if($request->valor_abono > $vcd && $request->valor_abono < $saldop){\n \n $saldoa = Prestamo::where('idp', '=', $request->prestamo_id)->first(); \n \n $cuotasat = $saldoa->cuotas_atrasadas; //Cuotas atrasadas totales\n $saldoat = $saldoa->monto_atrasado; // Saldo atrasado total\n $abonoat = $request->valor_abono - $vcd; // Abono a saldo atrasado\n $cuotasatdesc = round($abonoat/$vcd,2); // Cuotas a descontar de las atrasadas\n\n //dd($cuotasatdesc)\n \n if($cuotasatdesc <= $cuotasat ){\n \n Pago::create($request->all());\n\n DB::table('detalle_prestamo')\n ->where([['prestamo_id', '=', $request->prestamo_id],\n ['d_numero_cuota', '=', $request->numero_cuota]])\n ->update([\n 'estado'=>'P',\n 'valor_cuota_pagada'=>$request->valor_abono,\n 'updated_at'=> now() \n ]);\n\n \n \n DB::table('prestamo')\n ->where([\n ['idp', '=', $request->prestamo_id]\n ])\n ->update([\n 'monto_atrasado'=>($saldoat - $abonoat),\n 'cuotas_atrasadas'=>($cuotasat - $cuotasatdesc),\n 'monto_pendiente'=>($saldop - $request->valor_abono),\n 'updated_at'=> now()\n ]);\n }else if($cuotasat == 0 ){\n\n DB::table('detalle_prestamo')\n ->where([['prestamo_id', '=', $request->prestamo_id],\n ['d_numero_cuota', '=', $request->numero_cuota]])\n ->update([\n 'estado'=>'P',\n 'valor_cuota_pagada'=>$request->valor_abono,\n 'updated_at'=> now() \n ]);\n\n \n Pago::create($request->all());\n \n DB::table('prestamo')\n ->where([\n ['idp', '=', $request->prestamo_id]\n ])\n ->update([\n 'monto_pendiente'=>($saldop - $request->valor_abono),\n 'longitud'=>($request->valor_abono-$vcd),\n 'updated_at'=> now()\n ]);\n\n }else{\n\n return response()->json(['success' => 'noa']); \n }\n \n\n }else if($vcd == $request->valor_abono){\n \n Pago::create($request->all());\n\n DB::table('detalle_prestamo')\n ->where([['prestamo_id', '=', $request->prestamo_id],\n ['d_numero_cuota', '=', $request->numero_cuota]])\n ->update([\n 'estado'=>'P',\n 'valor_cuota_pagada'=>$request->valor_abono,\n 'updated_at'=> now() \n ]);\n\n \n DB::table('prestamo')\n ->where([\n ['idp', '=', $request->prestamo_id]\n ])\n ->update([\n 'monto_pendiente'=>($saldop - $request->valor_abono),\n 'updated_at'=> now(),\n\n ]);\n \n }\n\n \n\n return response()->json(['success' => 'ok']);\n\n }",
"public function guardar($datosCampos) {\n $guardar = new SqlQuery(); //instancio objeto de la clase sqlQuery\n (string) $tabla = get_class($this); //obtengo el nombre de la clase para poder realizar la consulta\n switch ($datosCampos[\"acceso\"]) {\n case \"total\":\n $datosCampos[\"acceso\"] = 1;\n break;\n case \"restringido\":\n $datosCampos[\"acceso\"] = 2;\n break;\n default:\n $datosCampos[\"acceso\"] = 0;\n break;\n }\n $datosCampos[\"pass\"] = sha1(\"123\"); //agrego la contraseña en sha1 para que solicite el cambio cada vez que se cree un usuario\n $this->refControladorPersistencia->get_conexion()->beginTransaction(); //comienza transaccion\n $rtaVerifUser = $this->refControladorPersistencia->ejecutarSentencia(\n $guardar->verificarExistenciaUsuario($tabla, $datosCampos[\"usuario\"])); //verifico si ya hay un usuario con ese nombre \n $existeUser = $rtaVerifUser->fetch(); //paso a un array\n $this->refControladorPersistencia->get_conexion()->commit(); //cierro\n if ($existeUser[0] == '0') {//solamente si el usuario no existe se comienza con la carga a la BD\n try {\n $this->refControladorPersistencia->get_conexion()->beginTransaction(); //comienza la transacción\n $arrayCabecera = $guardar->meta($tabla); //armo la cabecera del array con los datos de la tabla de BD\n $sentencia = $guardar->armarSentencia($arrayCabecera, $tabla); //armo la sentencia\n $array = $guardar->armarArray($arrayCabecera, $datosCampos); //armo el array con los datos de la vista y los datos que obtuve de la BD \n array_shift($array); //remuevo el primer elemento id si es nuevo se genera automaticamente en la BD\n $this->refControladorPersistencia->ejecutarSentencia($sentencia, $array); //genero la consulta\n $this->refControladorPersistencia->get_conexion()->commit();\n $this->refControladorPersistencia->get_conexion()->beginTransaction();\n $ultimo = $guardar->buscarUltimo($tabla);\n $idUser = $this->refControladorPersistencia->ejecutarSentencia($ultimo); //busco el ultimo usuario para mostrarlo en la vista \n $id = $idUser->fetchColumn(); //array \n $this->refControladorPersistencia->get_conexion()->commit(); //si todo salió bien hace el commit\n } catch (PDOException $excepcionPDO) {\n echo \"<br>Error PDO: \" . $excepcionPDO->getTraceAsString() . '<br>';\n $this->refControladorPersistencia->get_conexion()->rollBack(); //si salio mal hace un rollback\n } catch (Exception $exc) {\n echo $exc->getTraceAsString();\n $this->refControladorPersistencia->get_conexion()->rollBack(); //si hay algún error hace rollback\n }\n $respuesta = $this->getUsuario($id); //busco el usuario\n return $respuesta; //regreso\n } else {\n return $id = [\"incorrecto\" => \"incorrecto\"]; //si hubo un error volvemos a vista y corregimos\n }\n }",
"public function guardarCambios(){\n $cedula = $_POST['cedula'];\n $nombre = $_POST['nombre'];\n $apellido = $_POST['apellido'];\n $edad = $_POST['edad'];\n \n //2. Crear un objeto Estudiante y enviar a actualizar\n $estudiante = new Estudiante($cedula,$nombre,$apellido,$edad); \n \n //3. llamar al modelo para guarde los cambios\n $this->model->actualizar($estudiante);\n \n //4. redirección index. \n header(\"location:index.php\");\n }",
"public function store(Request $request)\n {\n $status = 'error';\n $data = null;\n\n try{ \n \n DB::beginTransaction();\n \n $id=$request->get('idEstacionamiento'); \n if(! empty($id)){ \n $estacionamiento = Estacionamiento::find($id);\n }else{ \n $estacionamiento = new Estacionamiento; \n } \n $estacionamiento->id_tipo_propiedad=$request->get('txt_idTipopropiedad');\n $estacionamiento->id_tipo_estacionamiento=$request->get('txt_idTipoEstacionamiento');\n $estacionamiento->nombre=$request->get('nombre');\n $estacionamiento->direccion=$request->get('direccion'); \n $estacionamiento->latitud=$request->get('latitud');\n $estacionamiento->longitud=$request->get('longitud'); \n $estacionamiento->estado='1'; \n $estacionamiento->id_usuario = $request->get('idUsuario');\n $estacionamiento->save(); \n\n\n //$fechaSeleccionada = Carbon::now('America/Lima');\n $dia=$request->get('dia');\n $fechaSeleccionada=$request->get('fechaSeleccionada'); \n $hora_ingreso=$request->get('h_ingreso');\n $hora_salida=$request->get('h_salida');\n $tarifa=$request->get('tarifa');\n $idEstacionamientoHorario=$request->get('id_estacionamiento_horario');\n\n \n \n $count = 0; \n \n while ($count < count($dia)){\n\n if($idEstacionamientoHorario[$count]!=\"\"){ \n $estacionamientoHorario = EstacionamientoHorario::find($idEstacionamientoHorario[$count]);\n }else{ \n $estacionamientoHorario = new EstacionamientoHorario();\n } \n $estacionamientoHorario->id_estacionamiento= $estacionamiento->id;\n $estacionamientoHorario->dia=$dia[$count];\n $estacionamientoHorario->fecha_calendario=$fechaSeleccionada[$count];\n $estacionamientoHorario->hora_ingreso=$hora_ingreso[$count];\n $estacionamientoHorario->hora_salida=$hora_salida[$count]; \n $estacionamientoHorario->tarifa=$tarifa[$count];\n $estacionamientoHorario->reservado=0; \n $estacionamientoHorario->save();\n\n $count = $count + 1;\n } \n\n \n $status = 'ok';\n $data = $estacionamiento;\n DB::commit();\n\n\n }catch(\\Exception $e){ \n DB::rollback();\n dd('ERROR BASE DATOS : '.$e);\n return \"ERROR AL REGISTRAR\";\n }\n\n \n //return Redirect::to('estacionamiento.create'); \n return response()->json([\n 'status' => $status,\n 'data' => $data\n ]);\n\n }",
"public function guardar_nuevos() {\n $recursos_a_guardar = array();\n $recursos_chequeados = Input::post('check');\n $descripciones = Input::post('descripcion');\n $activos = Input::post('activo');\n if ($recursos_chequeados) {\n foreach ($recursos_chequeados as $valor) {\n if (empty($descripciones[$valor])) {\n Flash::error('Existen Recursos Seleccionados que no tienen especificada una Descripción');\n return FALSE;\n }\n $data = null;\n $data = $this->recursos_nuevos[$valor];\n $data['descripcion'] = $descripciones[$valor];\n $data['activo'] = $activos[$valor];\n $recursos_a_guardar[] = $data;\n }\n } else {\n return FALSE;\n }\n $this->begin();\n foreach ($recursos_a_guardar as $e) {\n if (!$this->save($e)) {\n $this->rollback();\n return FALSE;\n }\n }\n $this->commit();\n return TRUE;\n }",
"function backup ($datos){\n //verificamos si la asignacion ya existe\n //if(!$this->existe($datos)){\n //persistir en asignacion, asignacion_definitiva y asignacion_periodo\n //hay que inferir a que cuatrimestre pertenece la asignacion\n \n \n $datos['nro_doc']=$this->s__nro_doc;\n $datos['tipo_doc']=$this->s__tipo_doc; \n $this->dep('datos')->tabla('asignacion')->nueva_fila($datos);\n $this->dep('datos')->tabla('asignacion')->sincronizar();\n $this->dep('datos')->tabla('asignacion')->resetear();\n $cuatrimestre=$this->obtener_cuatrimestre();\n $fecha= getdate();\n $dato=array(\n \n 'cuatrimestre' => $cuatrimestre,\n 'anio' => $fecha['year'],\n \n );\n $secuencia=recuperar_secuencia('asignacion_id_asignacion_seq');\n if(strcmp($this->s__tipo, 'Definitiva')==0){\n $dato['id_asignacion']=$secuencia;\n $dato['nombre'] = $this->s__dia;\n $this->dep('datos')->tabla('asignacion_definitiva')->nueva_fila($dato);\n $this->dep('datos')->tabla('asignacion_definitiva')->sincronizar();\n $this->dep('datos')->tabla('asignacion_definitiva')->resetear();\n }\n else{ \n $periodo=array(\n 'id_asignacion' => $secuencia,\n 'fecha_inicio' => $datos['fecha_inicio'],\n 'fecha_fin' => $datos['fecha_fin']\n );\n $this->dep('datos')->tabla('asignacion_periodo')->nueva_fila($periodo);\n $this->dep('datos')->tabla('asignacion_periodo')->sincronizar();\n $this->dep('datos')->tabla('asignacion_periodo')->resetear();\n //en esta seccion se guarda informacion en la relacion esta_formada\n $dias=$datos['dias'];\n foreach ($dias as $dia){\n $dato['nombre']=$dia;\n $dato['id_asignacion']=$secuencia;\n $this->dep('datos')->tabla('esta_formada')->nueva_fila($dato);\n $this->dep('datos')->tabla('esta_formada')->sincronizar();\n $this->dep('datos')->tabla('esta_formada')->resetear();\n }\n }\n// }\n// else{\n// toba::notificacion()->agregar(\"No es posible registrar la asignación porque ya existe\", 'error');\n// }\n }",
"public function guardar() {\n\t\t$registro ['vehiculo_id'] = $_POST ['vehiculo_id'];\n\t\t$registro ['usuario_registro'] = $_SESSION['SESSION_USER']['id'];\n\t\t$registro ['numero_ingreso'] = $numero = $_POST ['numero_ingreso'];\n\t\t$registro ['fecha'] = $_POST ['fecha_registro'];\n\t\t$registro ['fecha_registro'] = date('Y-m-d');\n\t\t$tipo = $registro ['tipo'] = $_POST ['tipo'];\n\t\t$modelVehiculo = new VehiculoModelo();\n\t\t$vehiculo = $modelVehiculo->obtenerVehiculo($_POST ['vehiculo_id']);\n\t\t\n\t\t$model = new RegistroModelo();\n\t\ttry {\n\t\t\t$datos = $model->guardarRegistro($registro);\n\t\t\t\n\t\t\tif(($tipo < 4)||($tipo > 8)){ // kilometros\n\t\t\t\t$numero = $numero - $vehiculo['medida_uso'];\n\t\t\t\t\t\n\t\t\t}\n\t\t\t$vehiculo['medida_uso'] = $vehiculo['medida_uso'] + $numero;\n\t\t\t$modelVehiculo->guardarVehiculo($vehiculo);\n\t\t\t\t\n\t\t\t$planes = $model->obtenerPlanesbyTipoVehiculo($vehiculo['tipo_vehiculo_id']);\n\t\t\t$modelVehiculoPlan = new VehiculoPlanModelo();\n\t\t\t\n\n\t\t\tforeach ($planes as $plan) {\n\t\t\t\t$planVehiculo = $model->obtenerVehiculoPlanbyPlanVehiculo($plan['id'], $_POST ['vehiculo_id']);\t\n\n\t\t\t\tif($planVehiculo['id']>0){\n\t\t\t\t\t$numeroInt = $planVehiculo['numero_operacion'] + $numero;\n\t\t\t\t} else {\n\t\t\t\t\t$planVehiculo['fecha_inicio'] = date('Y-m-d');\n\t\t\t\t\t$planVehiculo['vehiculo_id'] = $_POST ['vehiculo_id'];\n\t\t\t\t\t$planVehiculo['plan_mantenimiento_id'] = $plan['id'];\t\n\t\t\t\t\t$numeroInt = $numero;\n\t\t\t\t}\n\t\t\t\t$planVehiculo['fecha_registro'] = date('Y-m-d');\n\t\t\t\t$planVehiculo['numero_operacion'] = $numeroInt;\n\n\t\t\t\t$vpid = $modelVehiculoPlan->guardarVehiculoPlan($planVehiculo);\t\n\n\t\t\t\tif($vpid==0){\n\t\t\t\t\t$vpid = $planVehiculo['id'];\n\t\t\t\t}\n\t\t\t\tif($planVehiculo['numero_operacion'] >= ($plan['unidad_numero']-$plan['alerta_numero'])){\n\t\t\t\t\t$modelOrdenPlan = new OrdenPlanModelo();\n\t\t\t\t\t$ordenPlan = $modelOrdenPlan->obtenerOrdenPlan($vpid, $plan['tecnico_id']);\n\t\t\t\t\t\n\t\t\t\t\tif(count($ordenPlan) == 0){\n\t\t\t\t\t\t$ordenPlan['vehiculo_plan_id'] = $vpid;\n\t\t\t\t\t\t$ordenPlan['fecha_emision'] = date('Y-m-d');\n\t\t\t\t\t\t$ordenPlan['tecnico_asignado'] = $plan['tecnico_id'];\n\n\t\t\t\t\t\t$modelOrdenPlan->guardarOrdenPlan($ordenPlan);\n\t\t\t\t\t}\n\t\t\t\t}\t\n\t\t\t}\n\n\t\t\t$_SESSION ['message'] = \"Datos almacenados correctamente.\";\n\t\t\t//envio email\n\t\t\t/*\n\t\t\t\tif(SENDEMAIL){\n\t\t\t\t$datos = $model->getNovedadById($_POST ['id']);\n\t\t\t\t$email = new Email();\n\t\t\t\t$email->sendNotificacionTecnico($datos->nombres .' '.$datos->apellidos, $datos->email, $datos->maquina, \"http://\" . $_SERVER['HTTP_HOST'] . PATH_BASE);\n\t\t\t\t} */\n\t\t\t\t\n\t\t} catch ( Exception $e ) {\n\t\t\t$_SESSION ['message'] = $e->getMessage ();\n\t\t}\n\t\theader ( \"Location: ../ingreso/\" );\n\t}",
"public function persistAll() {}",
"public static function guardar(){\n // Almacena la cita y devuelve el id\n $cita = new Cita($_POST);\n $resultado = $cita->guardar();\n\n $id = $resultado['id'];// Id de la cita creada\n\n // Almacena la cita y el servicio\n $idServicios = explode(\",\", $_POST['servicios']);\n // Iteramos egun el numero de servicios elegidos y le ponemos la misma citaId\n foreach($idServicios as $idServicio){\n $args = [\n 'citaId' => $id,\n 'servicioId' => $idServicio\n ];\n $citaServicio = new CitaServicio($args); // Creamos el objeto para tabla 'citasservicios'(Pivote)\n $citaServicio->guardar(); // Guardamos en tabla 'citasservicios'\n }\n echo json_encode(['resultado' => $resultado]);\n }",
"public function guardar_agregar(){\n\n\t \t$data = $this->input->post();\n\t \t//dump_exit($data);\n\n\t\t$userdata = $this->session->userdata('user_data');\n $usrId= $userdata[0]['usrId'];\n\n\t if($_POST) {\n\t \t\n\t \t// evento unico '1' evnto repetitivo '2'\n\t \t$event_tipo = $_POST['event_tipo']; \n\n\t \t$id_solicitud = $_POST['id_sol'];\t\t// id predic - correct - back \n\t \t$id_tarea = $_POST['id_tarea'];\n\t \t$hora_progr = $_POST['hora_progr'];\n\n\t \t$fecha_progr = $_POST['fecha_progr'];\n\t \t$fecha_progr = explode('-', $fecha_progr);\n\t\t\t$fec_programacion = $fecha_progr[2].'-'.$fecha_progr[1].'-'.$fecha_progr[0].' '.$hora_progr.':00';\n\t \t\n\t \t$fecha_inicio = $_POST['fecha_inicio'];\n\t \t$descripcion = $_POST['descripcion'];\t// descripcion del predictivo/correc/backlog/etc\n\t \t$tipo = $_POST['tipo'];\t\t\t\t\t// numero de tipo segun tbl_ordentrabajo\n\t \t$equipo = $_POST['ide']; \n\n\t \t$cant_meses = $_POST['cant_meses'];\t\t// cantidad de meses a programar las OT\n\n\t \t// si no es correctivo busca duracion sino pone 60' por defecto\t \t\n\t \tif ($tipo != '2') {\n\t \t\t$duracion = $this->getDurTarea($tipo,$id_solicitud); \n\t \t}\n\t \telse{\n\t \t\t$duracion = 60;\t\n\t \t}\n\n\t \t$datos2 = array(\n\t\t \t\t\t\t'id_tarea'=> $id_tarea,\t\t\t\t\t// id de tarea a realizar(tabla tareas)\n\t\t\t\t \t\t'nro'=> 1,\t\t\t\t\t\t\t\t//por defecto( no se usa)\n\t\t\t\t \t\t'fecha'=> date('Y-m-d'),\t\t\t\t\n\t\t\t\t \t\t'fecha_program'=> $fec_programacion,\n\t\t\t\t \t\t'fecha_inicio'=> $fecha_inicio,\n\t\t\t\t \t\t'descripcion'=> $descripcion,\n\t\t\t\t \t\t'cliId'=> 1,\t\t\t\t\t\t\t//por defecto( no se usa)\n\t\t\t\t \t\t'estado' =>'C',\n\t\t\t\t \t\t'id_usuario' => $usrId,\n\t\t\t\t \t\t'id_usuario_a' => 1,\n\t\t\t\t \t\t'id_usuario_e' => 1,\n\t\t\t\t \t\t'id_sucursal' => 1,\n\t\t\t\t \t\t'id_solicitud' => $id_solicitud,\t\t// id prev-correct-back-predict\n\t\t\t\t \t\t'tipo' => $tipo,\t\t\t\t\t\t// tipo solicitud (prev-correct-back-predict)\n\t\t\t\t \t\t'id_equipo' => $equipo,\n\t\t\t\t \t\t'duracion' => $duracion,\n\t\t\t\t \t\t'id_tareapadre'=> $id_solicitud\t\t\t// solicitud que genera la 1º OT y las repetitivas\n\t\t\t \t\t);\n\t \t\n\t \tif ($event_tipo == '1') {\t\t// si el evento es unico lo guarda\n\t \t\t\n\t \t\t$result = $this->Calendarios->guardar_agregar($datos2);\n\t \t}\n\t \telse{\t\t\t\t\t\t\t// evento repetitivo \n\n\t \t\t// Sumo a la fecha de program la cant de meses p/ sacar fecha limite\n\t\t\t\t$fecha_limite = strtotime ( '+'.$cant_meses.' month' , strtotime ( $fec_programacion ) ) ;\n\t\t\t\t$fecha_limite = date ( 'Y-m-d H:i:s' , $fecha_limite ); /// \"2018-06-16 00:00:00\"\n\n\t\t\t\t//busco la frecuencia de la tarea\n\t \t\t$diasFrecuencia = $this->getPeriodTarea($tipo,$id_solicitud);\t//bien\t \t\t\n\t \t\t//dump_exit($diasFrecuencia);\n\n\t \t\t$this->armar_batch($fecha_limite, $fec_programacion, $diasFrecuencia, $datos2);\n\t \t}\t \t\n\n\t \treturn true;\n\t }\n \t}",
"function __destruct() {\r\n $this -> save();\r\n }",
"public function guardar( Request $request, $id = NULL)\n {\n DB::beginTransaction();\n\n if($id!=''||$id!=null){\n \n try {\n\n $validator= Validator::make($request->all(), tab_requisicion::$validarEditar);\n\n if ($validator->fails()){\n return Redirect::back()->withErrors( $validator)->withInput( $request->all());\n }\n\n if (tab_requisicion::where('id_tab_solicitud', '=', $request->solicitud)->exists()) {\n\n $tab_requisicion = tab_requisicion::where('id_tab_solicitud', $request->solicitud)->first();\n\n $tab_requisicion = tab_requisicion::find($tab_requisicion->id);\n $tab_requisicion->id_tab_ejecutor = $request->ejecutor;\n $tab_requisicion->de_concepto = $request->concepto;\n $tab_requisicion->de_observacion = $request->observacion;\n $tab_requisicion->save();\n\n }else{\n\n $tab_requisicion = new tab_requisicion;\n $tab_requisicion->id_tab_solicitud = $request->solicitud;\n $tab_requisicion->id_tab_ejecutor = $request->ejecutor;\n $tab_requisicion->de_concepto = $request->concepto;\n $tab_requisicion->de_observacion = $request->observacion;\n $tab_requisicion->in_activo = true;\n $tab_requisicion->save();\n\n }\n\n $tab_ruta = tab_ruta::find( $request->ruta);\n $tab_ruta->in_datos = true;\n $tab_ruta->save();\n\n HelperReporte::generarReporte($request->solicitud);\n\n DB::commit();\n \n Session::flash('msg_side_overlay', 'Registro Editado con Exito!');\n return Redirect::to('/proceso/ruta/lista/'.$request->solicitud);\n\n }catch (\\Illuminate\\Database\\QueryException $e){\n\n DB::rollback();\n return Redirect::back()->withErrors([\n 'da_alert_form' => $e->getMessage()\n ])->withInput( $request->all());\n\n }\n \n }else{\n \n try {\n\n $validator = Validator::make($request->all(), tab_requisicion::$validarCrear);\n\n if ($validator->fails()){\n return Redirect::back()->withErrors( $validator)->withInput( $request->all());\n }\n\n if (tab_requisicion::where('id_tab_solicitud', '=', $request->solicitud)->exists()) {\n\n $tab_requisicion = tab_requisicion::where('id_tab_solicitud', $request->solicitud)->first();\n\n $tab_requisicion = tab_requisicion::find($tab_requisicion->id);\n $tab_requisicion->id_tab_ejecutor = $request->ejecutor;\n $tab_requisicion->de_concepto = $request->concepto;\n $tab_requisicion->de_observacion = $request->observacion;\n $tab_requisicion->save();\n\n }else{\n\n $tab_requisicion = new tab_requisicion;\n $tab_requisicion->id_tab_solicitud = $request->solicitud;\n $tab_requisicion->id_tab_ejecutor = $request->ejecutor;\n $tab_requisicion->de_concepto = $request->concepto;\n $tab_requisicion->de_observacion = $request->observacion;\n $tab_requisicion->in_activo = true;\n $tab_requisicion->save();\n\n }\n\n $tab_ruta = tab_ruta::find( $request->ruta);\n $tab_ruta->in_datos = true;\n $tab_ruta->save();\n\n HelperReporte::generarReporte($request->solicitud);\n\n DB::commit();\n\n Session::flash('msg_side_overlay', 'Registro Guardado con Exito!');\n return Redirect::to('/proceso/ruta/lista/'.$request->solicitud);\n\n }catch (\\Illuminate\\Database\\QueryException $e){\n\n DB::rollback();\n return Redirect::back()->withErrors([\n 'da_alert_form' => $e->getMessage()\n ])->withInput( $request->all());\n\n }\n }\n }",
"public function Guardar()\n \t{\n if(!$this->id)\n {\n\n \n \t\tif(empty($this->fv_error_message))\n \t\t{\n\n $this->account_id = $this->account_id?$this->account->id:$this->fv_account_id;\n $this->name =$this->fv_name;\n\n $this->number_branch= $this->fv_number_branch;\n $this->address2 = $this->fv_address2;\n $this->address1 = $this->fv_address1;\n $this->work_phone = $this->fv_workphone;\n $this->city = $this->fv_city;\n $this->state = $this->fv_state;\n $this->deadline = $this->fv_deadline;\n $this->key_dosage = $this->fv_key_dossage;\n $this->economic_activity = $this->fv_economic_activity;\n $this->number_process = $this->fv_number_process;\n $this->number_autho = $this->fv_nummber_autho;\n \n $this->law = $this->fv_law;\n $this->type_third = $this->getType_thrird();\n $this->invoice_number_counter = 1;\n $this->save();\n\n foreach ($this->fv_type_documents_branch as $documento) {\n # code...\n $tipo = new TypeDocumentBranch();\n $tipo->branch_id = $this->id;\n $tipo->type_document_id = $documento;\n $tipo->save();\n }\n\n \t\t\t$this->fv_error_message = \"Registro Existoso\";\n \t\t\treturn true;\n \t}\n }\n $this->fv_error_message = $this->fv_error_message . ' Sucursal '.ERROR_DUPLICADO .'<br>' ;\n\t\treturn false;\n \t}",
"function evt__enviar(){\n if($this->dep('datos')->tabla('mesa')->esta_cargada()){\n $m = $this->dep('datos')->tabla('mesa')->get();\n // print_r($m);\n $m['estado'] = 2;//Cambia el estado de la mesa a Enviado\n $this->dep('datos')->tabla('mesa')->set($m);\n // print_r($m['id_mesa']);\n $this->dep('datos')->tabla('mesa')->sincronizar();\n // $this->dep('datos')->tabla('mesa')->resetear();\n \n $m = $this->dep('datos')->tabla('mesa')->get_listado($m['id_mesa']);\n if($m[0]['estado'] == 2){//Obtengo de la BD y verifico que hizo cambios en la BD\n //Se enviaron correctamente los datos\n toba::notificacion()->agregar(utf8_decode(\"Los datos fueron enviados con éxito\"),\"info\");\n }\n else{\n //Se generó algún error al guardar en la BD\n toba::notificacion()->agregar(utf8_decode(\"Error al enviar la información, verifique su conexión a internet\"),\"info\");\n }\n }\n \n }",
"function guardar($arg) {\n\t\tSessionHandler()->check_session();\n\t\tdate_default_timezone_set('America/Argentina/La_Rioja');\n\n\t\t$ids = explode('@', $arg);\n\t\t$mesa = $ids[0];\n\t\t$bebida = $ids[1];\n\t\t$cantidad = $ids[2];\n\t\t$pedidoId = $ids[3];\n\n\t\t//COMPROBAR STOCK DE BEBIDA.\n\t\t\n\t\tif ($pedidoId != null || $pedidoId != 0 || $pedidoId != \"\") {\n\t\t\t$bp = new BebidaPedido();\n\t\t\t$bp->pedido = $pedidoId;\n\t\t\t$bp->bebida = $bebida;\n\t\t\t$bp->cantidad = $cantidad;\n\t\t\t$bp->save();\n\n\t\t\t$md = new Mesa();\n\t\t\t$md->mesa_id = $mesa;\n\t\t\t$md->get();\n\t\t\t$md->disponible = 2;\n\t\t\t$md->save();\n\t\t\tprint($pedidoId);exit;\n\t\t}\n\n\t\t$this->model->fecha = date('Y-m-d');\t\t\n\t\t$this->model->mesa = $mesa;\t\t\n\t\t$this->model->estado = 1;\t\t\n\t\t$this->model->save();\n\t\t\n\t\t$md = new Mesa();\n\t\t$md->mesa_id = $mesa;\n\t\t$md->get();\n\t\t$md->disponible = 2;\n\t\t$md->save();\n\t\t\n\t\t$pedido_id = $this->model->pedido_id;\n\t\t\n\t\t$bp = new BebidaPedido();\n\t\t$bp->pedido = $pedido_id;\n\t\t$bp->bebida = $bebida;\n\t\t$bp->cantidad = $cantidad;\n\t\t$bp->save();\n\t\tprint($pedido_id);exit;\n\n\t}",
"function guardar($asistencias, $clase, $ese) {\n\t\t\t$cod_clase = $clase['codigo'];\n\t\t\t$db = DB::instance();\n\t\t\tforeach ($asistencias as $cod_interno => $asistencia) {\n\t\t\t\t$data = array('codigo' => \"$cod_clase-$cod_interno\", 'cod_interno' => $cod_interno, 'cod_clase' => $cod_clase, 'updated_by'=>$ese);\n\t\t\t\tif ($asistencia['asiste'] == 't') {\n\t\t\t\t\t$data = array_merge($data, array('asiste' => 't'));\n\t\t\t\t} else {\n\t\t\t\t\t$data = array_merge($data, array('asiste' => 'f', 'cod_motivo' => $asistencia['justificacion']));\n\t\t\t\t}\n\t\t\t\t$sql = \"\";\n\t\t\t\t$reporta = TAsistencia::exists($data['codigo']);\n\t\t\t\tif($reporta)\n\t\t\t\t\t$sql = sql_update_from_array(Config::get(__CLASS__), $data, \"codigo = '${data['codigo']}'\");\n\t\t\t\telse\n\t\t\t\t\t$sql = sql_insert_from_array(Config::get(__CLASS__), $data);\n \n\t\t\t\t$db->query($sql);\n\t\t\t}\n\t\t\treturn !$db->hasError();\n\t\t}",
"public function guardar(Request $request)\n {\n $salon= new salon;\n // $salon->foto=$request->foto;\n $salon->nombre=$request->nombre;\n $salon->descripcion=$request->descripcion;\n $salon->ubicacion=$request->ubicacion;\n $salon->estado=$request->estado;\n $salon->precio=$request->precio;\n\n if($request->foto==null)\n {//si no tiene imagen entonces se le asigna una imagen por defecto\n $salon->foto ='defecto.png';\n }else\n {\n /*guardando la super imagen */\n $explode=explode(',',$request->foto);\n $decoded=\\base64_decode($explode[1]);\n if(str_contains($explode[0],'jpeg')){\n $extension='jpg';\n }else{\n $extension='png';\n }\n $fileName = \\Str::random().'.'.$extension;\n $path= 'img'.'/'.$fileName;\n \\file_put_contents($path,$decoded);\n /*terminando de guardar la superImagen */\n $salon->foto=$fileName; \n }\n\n\n $salon->save();\n\n /*REGISTRA EL MOVIMIENTO EN LA BITACORA */\n $objdate = new DateTime();\n $fechaactual= $objdate->format('Y-m-d');\n $horaactual=$objdate->format('H:i:s');\n $bitacora = new bitacora();\n $bitacora->idEmpleado = session('idemp');\n $bitacora->fecha = $fechaactual;\n $bitacora->hora = $horaactual;\n $bitacora->tabla = 'salon';\n $bitacora->codigoTabla = $salon->id;\n $bitacora->transaccion = 'crear';\n $bitacora->save();\n }",
"function guardar_receta($objeto){\n\t// Anti hack\n\t\tforeach ($objeto as $key => $value) {\n\t\t\t$datos[$key]=$this->escapalog($value);\n\t\t}\n\n\t// Guarda la receta y regresa el ID\n\t\t$sql=\"\tINSERT INTO\n\t\t\t\t\tcom_recetas\n\t\t\t\t\t\t(id, nombre, precio, ganancia, ids_insumos, ids_insumos_preparados, preparacion)\n\t\t\t\tVALUES\n\t\t\t\t\t(\".$datos['id_receta'].\", '\".$datos['nombre'].\"',\".$datos['precio_venta'].\",\n\t\t\t\t\t\t\".$datos['margen_ganancia'].\",\n\t\t\t\t\t\t'\".$datos['ids'].\"','\".$datos['ids_preparados'].\"','\".$datos['preparacion'].\"'\n\t\t\t\t\t)\";\n\t\t// return $sql;\n\t\t$result =$this->insert_id($sql);\n\n\t// Guarda la actividad\n\t\t$fecha=date('Y-m-d H:i:s');\n\n\t\t$texto = ($datos['tipo']==1) ? 'receta' : 'insumo preparado' ;\n\t// Valida que exista el empleado si no agrega un cero como id\n\t\t$usuario = (!empty($_SESSION['accelog_idempleado'])) ?$_SESSION['accelog_idempleado'] : 0 ;\n\t\t$sql=\"\tINSERT INTO\n\t\t\t\t\tcom_actividades\n\t\t\t\t\t\t(id, empleado, accion, fecha)\n\t\t\t\tVALUES\n\t\t\t\t\t('',\".$usuario.\",'Agrega \".$texto.\"', '\".$fecha.\"')\";\n\t\t$actividad=$this->query($sql);\n\n\t\treturn $result;\n\t}"
] |
[
"0.6423522",
"0.6347114",
"0.58957976",
"0.58689606",
"0.5788217",
"0.57860225",
"0.5775495",
"0.5683315",
"0.56542987",
"0.56410116",
"0.55987185",
"0.55708945",
"0.5549027",
"0.5539372",
"0.55267143",
"0.55217487",
"0.5513265",
"0.5507779",
"0.54955566",
"0.5456498",
"0.5420744",
"0.5399409",
"0.53851104",
"0.53822196",
"0.5371576",
"0.536555",
"0.5346774",
"0.5339251",
"0.5331783",
"0.53161734"
] |
0.66774774
|
0
|
funcion para modificar estado
|
public function ModificarEstado()
{
$query="UPDATE estado SET idpais=$this->id_pais, estado='$this->estado' , descripcion='$this->descripcion' WHERE idestado=$this->id_estado";
$resp=$this->db->consulta($query);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function modificarEstado(){\n\t\t$firephp = FirePHP::getInstance(True);\n\t\t$this->load->database();\n\t\t$this->load->model('Estado');\n\t\t//TODO Deshardcodear el idUsuario cuando se da cambia el estado (cuando este listo el manejo de sesions de usuarios).\n\t\t$idUsuario=1;\n\t\t$idBache=$_POST[\"idBache\"];\n\t\t$estado=$_POST[\"estadoBache\"];\n\t\t$firephp->log(\"idBache=\".$idBache.\";idUsuario=\".$idUsuario.\";estado=\".$estado);\n\t\t$this->Estado->cambiarEstado($idBache,$idUsuario,$estado);\n\t\t$firephp->log(\"Se cambio el estado del bache!\");\n\t}",
"public function presupuestoModificado(){\n $this->iPresupuestoModificado = $this->iPresupuestoInicial;\n $this->save();\n }",
"public function actualizar_estado() {\n }",
"public function __ModificaEstado($id){\n\t\t\t$foo = false;\n\t\t\t$objeto = new clsEjecutar();\n\t\t\t\n\t\t\t$estado =\"E\";\n\t\t\t$sql = \"UPDATE lmp_proveedor SET prov_estado='\".$estado.\"'\n\t\t\t\t\t\t WHERE prov_codigo='\".$id.\"'\";\n\t\t\t\t\t\t\t\t\t // echo($sql);\n\t\t\t$resultado=$objeto->insertarRegistro($sql);\n \n echo '<script > document.location=\"../mantenimiento/ConsultaProveedor.php\" </script>';\n\t\t\treturn $resultado;\n \n \n\t\t}",
"public function Modificar(): bool;",
"public function actualizaEstado(){\n $this->estado = 'Completo';\n // $this->cotiza = $this->generarCustomID();\n $this->save();\n }",
"function status($uuid){\n perfil_superior();\n if ($uuid==$this->session->userdata('usuario')[\"uuid\"]) {\n #MENSAJE ERROR\n $this->session->set_flashdata('mensaje_error',\"No puedes cambiar tu propio estado\");\n redirect('usuarios/index','refresh');\n }\n $resultado=$this->Usuario_Model->get_user($uuid);\n if ($resultado[\"status\"]==1) {\n $usuario = [\n \"status\"=> 0,\n \"fecha_modificacion\" => date('Y-m-d H:i:s') \n ];\n $mensaje = \"Desactivado\";\n }else{\n $usuario = [\n \"status\"=> 1,\n \"fecha_modificacion\" => date('Y-m-d H:i:s') \n ];\n $mensaje = \"Activado\";\n }\n $this->Usuario_Model->update($uuid,$usuario);\n\n #MENSAJE EXITO\n $this->session->set_flashdata('mensaje_exito',\"Usuario \".$mensaje);\n redirect('usuarios/index','refresh');\n \n \n }",
"public function Modificar(): bool\n {\n $retorno = false;\n $objetoAccesoDato = AccesoDatos::RetornarObjetoAcceso();\n\n\n $consulta =$objetoAccesoDato->RetornarConsulta(\"UPDATE usuarios SET nombre = :nombre, correo = :correo, clave = :clave, id_perfil = :id_perfil\n WHERE usuarios.id = :id\");\n // $consulta = $objetoAccesoDato->RetornarConsulta(\"UPDATE `usuarios` SET `nombre`='$this->nombre',`correo`='$this->correo',\"\n // . \"`clave`='$this->clave',`id_perfil`='$this->id_perfil' WHERE `id`='$this->id'\");\n\n\n $consulta->bindParam(':correo', $this->correo, PDO::PARAM_STR);\n $consulta->bindParam(':clave', $this->clave, PDO::PARAM_STR);\n $consulta->bindParam(':nombre', $this->nombre, PDO::PARAM_STR);\n $consulta->bindParam(':id_perfil', $this->perfil, PDO::PARAM_INT);\n $consulta->bindParam(':id', $this->id, PDO::PARAM_INT);\n\n $consulta->execute();\n $filasAfectadas = $consulta->rowCount();\n if ($filasAfectadas > 0)\n $retorno = true;\n\n\n return $retorno;\n }",
"public function modificar_visibilidad_archivo() {\n $this->load->model('archivo');\n\n //recuperar el ID\n $idAModificar = intval($this->input->post('idArchivo', TRUE));\n\n // validar el ID y verificar que no este vacio\n if (empty($idAModificar) || !$this->archivo->init($idAModificar)) {\n session_redirect(UI_MESSAGE_ERROR, \"No encontramos el archivo que quiere modificar\", site_url(\"admin\"));\n }\n\n //intentar modificar la visibilidad\n if ($this->archivo->modificar_visibilidad()) {\n session_redirect(UI_MESSAGE_OK, \"Se ha modificado la visibilidad del archivo seleccionado\", site_url(\"admin\"));\n } else {\n session_redirect(UI_MESSAGE_ERROR, \"No se ha podido modificar la visibilidad del archivo seleccionado\", site_url(\"admin\"));\n }\n }",
"public function edit(){\n\n //los numero no van entrecomillas\n \n $sql=\"UPDATE pedidos set estado='{$this->getEstado()}'\";\n \n $sql.=\"where id={$this->getId()};\";\n\n //ahora insertamos una consulta \n $save = $this->db->query($sql);\n\n $result = false; //este es el resultado por defecto\n //si el $save da true (en otras palabras no esta vacio y los datos se llenaron correctamente)\n if($save){\n $result=true;\n }\n return $result;\n }",
"function updateReservationStatus($codigo_reserva) {\r\n\r\n global $connect;\r\n\r\n $sql_update_query = \"UPDATE reserva SET estado=1 WHERE (codigo_reserva = '$codigo_reserva');\";\r\n\r\n // Realizamos la consulta a la tabla \r\n $updated = $connect->executeIDU($sql_update_query);\r\n\r\n if (!$updated) { \r\n echo \"no se pudo acceder a la base\";\r\n return false;\r\n }\r\n\r\n }",
"static function modificanome($id){\n if(!CUtente::verificalogin())header('Location: /Progetto/Utente/homepagedef');\n else{\n session_start();\n if($_SERVER['REQUEST_METHOD'] == \"GET\")header('Location: /Progetto/Utente/homepagedef');\n else{\n\n if(FPersistentManager::exist('id',$id,'FWatchlist')) {\n $w=FPersistentManager::load('id',$id,'FWatchlist');\n\n FPersistentManager::update(\"nome\", $_POST['nome'], \"id\", $id, \"FWatchlist\");\n //$_SESSION['utente']->setPassword($hashPW);\n //$_SESSION['pwedit']=true;\n $pos=array_search($w[0],$_SESSION['watchlist']);\n $_SESSION['watchlist'][$pos]->setNome($_POST['nome']);\n\n }\n // else $_SESSION['pwedit']=false;\n\n header('Location: /Progetto'.$_SESSION['location']);\n }\n }\n}",
"public function modificar()\n {\n $resp = false;\n $base = new BaseDatos();\n $sql = \"UPDATE archivocargado SET acnombre='\" . $this->getAcNombre() . \"', acdescripcion='\" . $this->getAcDescripcion() . \"', acicono='\" . $this->getAcIcono() . \"', idusuario=\" . $this->getObjUsuario()->getIdUsuario() . \", aclinkacceso='\" . $this->getAcLinkAcceso() . \"', accantidaddescarga=\" . $this->getAcCantidadDescarga() . \", accantidadusada=\" . $this->getAcCantidadUsada() . \", acfechainiciocompartir='\" . $this->getAcFechaInicioCompartir() . \"', acefechafincompartir='\" . $this->getAceFechaFinCompartir() . \"', acprotegidoclave='\" . $this->getAcProtegidoClave() . \"' WHERE idarchivocargado=\" . $this->getIdArchivoCargado() ;\n if ($base->Iniciar()) {\n if ($base->Ejecutar($sql)>=0) {\n $resp = true;\n } else {\n $this->setmensajeoperacion(\"ArchivoCargado->modificar: \" . $base->getError());\n }\n } else {\n $this->setmensajeoperacion(\"ArchivoCargado->modificar: \" . $base->getError());\n }\n return $resp;\n }",
"public function edit()\n {\n $sql = \"UPDATE pedidos SET estado = '{$this->getEstado()}' \";\n\n $sql .= \" WHERE id={$this->getId()};\";\n // echo $sql;\n //echo \"<br/>\";\n // echo $this->db->error;\n // die();\n\n $save = $this->db->query($sql);\n \n // echo $sql;\n // echo \"<br/>\";\n // echo $this->db->error;\n // die();\n\n $result = false;\n\n if ($save) {\n $result = true;\n }\n return $result;\n }",
"public function modificacion($param)\r\n {\r\n //echo \"Estoy en modificacion\";\r\n //print_R($param);\r\n $resp = false;\r\n if ($this->seteadosCamposClaves($param)) {\r\n\r\n $objUsuarioRol = $this->cargarObjeto($param);\r\n\r\n if ($objUsuarioRol != null and $objUsuarioRol->modificar()) {\r\n $resp = true;\r\n }\r\n }\r\n return $resp;\r\n }",
"function cambiarEstado(){\n global $conexion, $data;\n $id = $data[\"id\"];\n $estado = $data[\"estado\"];\n $resultado = mysqli_query($conexion,\"UPDATE usuario SET usu_estado='$estado' WHERE usu_id='$id'\");\n echo validarError($conexion, true, $resultado);\n }",
"public function actualizarEstadoModuloHogar($nro_form, $estado){\n\t\t$result = false;\n\t\t$estadoActual = $this->obtenerEstadoModulo($nro_form,\"SEC_HOGAR\");\n\t\tif (($estado==1 || $estado==2) && ($estadoActual < 2)){\n\t\t\t$data = array(\"SEC_HOGAR\" => $estado);\n\t\t\t$this->db->where(\"NRO_ENCUESTA_FORM\", $nro_form);\n\t\t\tif ($this->db->update(\"CNPV_ADMIN_CONTROL\",$data)){\n\t\t\t\t$result = true;\n\t\t\t}\n\t\t}\n\t\treturn $result;\n\t}",
"public function actualizaEstadoProyecto($codigo_proyecto,$estado){\n\t\t $value['alm_proy_estado'] = $estado;\n\t\t //print_r($value);\n\t\t if($this->mysql->update('alm_proyecto', $value,'alm_proy_cod=\"'.$codigo_proyecto.'\"')){\n\t\t\t return true; \n\t\t }else{\n\t\t\t return false;\n\t\t }\n\t}",
"public function modificacion($param){\n \n $resp = false;\n if ($this->seteadosCamposClaves($param)){\n $elObjtMenu = $this->cargarObjeto($param);\n if($elObjtMenu!=null and $elObjtMenu->modificar()){\n $resp = true;\n }\n }\n return $resp;\n }",
"public function update_status();",
"function modificar(){\r\n\t\t\t$mysqli=$this->ConectarBD();\r\n\t\t\t\t$id=$_SESSION['idr'];\r\n\r\n\t\t\t$sql= \"UPDATE reservact SET FECHA ='\".$this->fecha.\"', DNI ='\".$this->dni.\"', COD_ACT='\".$this->codact.\"' WHERE COD_RES = '\".$id.\"'\";\r\n\r\n\r\n\r\n\t\t\t\tif (!($resultado = $mysqli->query($sql))){\r\n\t\t\t\treturn 'ERR_CONS_BD';\r\n\t\t\t\t}else{\r\n\t\t\t \treturn \"CONFIRM_EDIT_RESERVA\";\r\n\t\t\t\t}\r\n\r\n\t\t}",
"function EDIT(){\r\n $stmt = $this->db->prepare(\"UPDATE edificio SET\r\n nombre_edif = ?, telef_edif = ?, agrup_edificio = ?\r\n\t\t\t\t\tWHERE edificio_id = ?\");\r\n $resultado = $stmt->execute(array($this->nombre_edif, $this->telef_edif, $this->agrup_edificio,\r\n $this->edificio_id));\r\n\r\n if($resultado === true){\r\n return true;\r\n }else{\r\n return 'Error inesperado al intentar cumplir su solicitud de modificacion';\r\n }\r\n }",
"public function modificacion($param){\n $resp = false;\n if ($this->seteadosCamposClaves($param)){\n $elObjtinscripcion = $this->cargarObjeto($param);\n if($elObjtinscripcion!=null and $elObjtinscripcion->modificar()){\n $resp = true;\n }\n }\n return $resp;\n }",
"public function actualizar(){\n }",
"public function actualizar(){\n }",
"function saveEditPerfil(){\n\t\t$cont = $this->dper->getContadorPerfilByNombre($this->nombre);\n\t\tif($cont == 0){\n\t\t\t$r = $this->dper->updatePerfil($this->id,$this->nombre);\n\t\t\tif($r=='true'){\n\t\t\t\t$msg = PERFIL_EDITADO;\n\t\t\t}else{\n\t\t\t\t$msg = ERROR_EDIT_PERFIL;\n\t\t\t}\n\t\t}else{\n\t\t\t$msg = ERROR_EDIT_PERFIL;\n\t\t}\n\t\treturn $msg;\n\t}",
"public function actualizar(){\n }",
"public function modificar_proyecto($arrdatos){\n //$id_pro,$nom_pro,$estad\n $flag = false;\n $con = new Conexion();\n $con2 = $con->conectar();\n try{\n // se establece el modo de error PDO a Exception\n $con2->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);\n\n // Se prepara el satetement y se cargan los parametros\n $stmt = $con2->prepare(\"UPDATE proyectos SET nombre_p=:nombre_p,estado=:estado,modificado = now(),responsable=:responsable where id_proyecto=:id_proyecto\");\n $stmt->bindParam(':nombre_p', $np);\n $stmt->bindParam(':estado', $es);\n $stmt->bindParam(':id_proyecto', $arrdatos[0]);\n $stmt->bindParam(':responsable',$res);\n $np = $arrdatos[1];\n $es = $arrdatos[2];\n $res = $arrdatos[3];\n\n if($stmt->execute()){\n $flag = true;\n }\n }\n catch(PDOException $e)\n {\n echo \"Error: \" . $e->getMessage();\n }\n $con2 = null;\n return $flag;\n }",
"public function updateState(){\n $sql='UPDATE comentarios set estado= ? where idComentario=?';\n $params=array($this->estado, $this->id);\n return Database::executeRow($sql, $params);\n }",
"function Boolean_Set_Perfil_Estado_Usuario($id_usuarios,$estado,$id_perfiles)\n{\n\t$query = modificar(sprintf(\"UPDATE `tb_usuarios` SET `estado`='%s', `perfil` ='%d' WHERE id_usuario='%d' \",escape($estado),escape($id_perfiles),escape($id_usuarios)));\n\treturn $query;\n}"
] |
[
"0.6844636",
"0.6752675",
"0.67450947",
"0.6530621",
"0.64697987",
"0.64683545",
"0.64075595",
"0.6403393",
"0.63182086",
"0.6292532",
"0.62883675",
"0.62632245",
"0.6257919",
"0.62459415",
"0.62318504",
"0.61676514",
"0.61552495",
"0.6155",
"0.6139722",
"0.61326534",
"0.6116604",
"0.61107224",
"0.6099703",
"0.6091958",
"0.6091958",
"0.609165",
"0.60814863",
"0.6040682",
"0.6035352",
"0.6026936"
] |
0.70940787
|
0
|
Returns the values to be used to save this model.
|
protected function _get_save_values()
{
// Is this a create or update operation?
$is_create = ! $is_update = $this->loaded();
$values = array();
foreach ($this->_meta->fields as $name => $field)
{
// When creating, primary fields should not be included unless
// they have been changed.
if ($is_create
and $field instanceof Dorm_Field_Key
and $field->primary
and ! $this->changed($name) )
{
continue;
}
// When updating, only changed fields should be included
if ($is_update AND ! $this->changed($name))
{
continue;
}
$value = Arr::get($this->_values, $name);
if ($value !== NULL)
{
$value = $field->save($value);
}
$values[$name] = $value;
}
// @todo: Add "unmapped" values?
return $values;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private function getValuesToSave(): array\n\t{\n\t\t$forSave = [];\n\t\t$tableName = $this->getTableName();\n\t\tif (!$this->getId()) {\n\t\t\t$forSave[$this->getTableName()] = [\n\t\t\t\t'sortorderid' => $this->getNextSeq(),\n\t\t\t\t'presence' => $this->presence,\n\t\t\t];\n\t\t}\n\t\t$fields = $this->getId() ? array_keys($this->changes) : $this->getWritableFields();\n\t\tforeach ($fields as $name) {\n\t\t\t$itemPropertyModel = $this->getFieldInstanceByName($name);\n\t\t\tif ($itemPropertyModel && isset($this->{$name}) && ($this->getId() || (!$this->getId() && '' !== $this->{$name}))) {\n\t\t\t\t$this->validateValue($name, $this->{$name});\n\t\t\t\t$forSave[$itemPropertyModel->getTableName()][$itemPropertyModel->getColumnName()] = $this->{$name};\n\t\t\t} elseif (isset($this->{$name}) && ($this->getId() || (!$this->getId() && '' !== $this->{$name}))) {\n\t\t\t\t$this->validateValue($name, $this->{$name});\n\t\t\t\t$forSave[$tableName][$name] = $this->{$name};\n\t\t\t}\n\t\t}\n\n\t\treturn $forSave;\n\t}",
"public function getModel()\n\t{\n\t\treturn $this->_values;\n\t}",
"function getSaveParameters()\r\n\t\t{\r\n\t\t\treturn $this->_saveParameters;\r\n\t\t}",
"private function get_save_array()\n {\n $save_arr = array();\n\n $table_fields = $this->db->list_fields($this->table);\n $model_properties = get_object_vars($this);\n $exclude_fields = array('id', 'table');\n\n foreach ($model_properties as $prop => $val)\n {\n if (in_array($prop, $table_fields) && !in_array($prop, $exclude_fields))\n {\n $save_arr[$prop] = $val;\n }\n }\n\n return $save_arr;\n }",
"public static function get_saved_values() {\n\t\treturn self::normalize_values(json_decode(get_option(self::OPTION_KEY), true));\n\t}",
"public function values()\n {\n return $this->values;\n }",
"public function values()\n {\n return $this->values;\n }",
"public function values()\n {\n return $this->values;\n }",
"public function values()\n {\n return $this->values;\n }",
"public function get_values(){ return $this->values; }",
"public function Values()\n {\n return $this->values;\n }",
"public function getValues()\n {\n return $this->values;\n }",
"public function getValues()\n {\n return $this->values;\n }",
"public function getValues()\n {\n return $this->values;\n }",
"public function getValues()\n {\n return $this->values;\n }",
"public function getDataForSave()\n {\n $data = array();\n $data[$this->_getResource()->getCustomerIdFieldName()] = $this->getCustomerId();\n $data['shared'] = (int) $this->getShared();\n $data['sharing_code']= $this->getSharingCode();\n return $data;\n }",
"public function getValues()\n {\n return $this->getVal('value', []);\n }",
"public function getSetValues()\n {\n return $this->set_values;\n }",
"public function getValues() {\n return $this->values;\n }",
"public function getValues() {\n return $this->values;\n }",
"public function getModelValues() {\n\t return array (\n\t array ('Civic'),\n\t array ('Leaf'),\n\t array ('Fusion'),\n\t array (2013)\n\t );\n }",
"public function getValues()\n\t\t{\n\t\t\treturn $this->values;\n\t\t}",
"public function getValues()\n {\n return $this->_values;\n }",
"function getValues()\n {\n return $this->type->getValues();\n }",
"public function getValues()\n\t{\n\t\treturn $this->_values;\n\t}",
"public function getFormValues()\n {\n return $this->form->getValues();\n }",
"final public function getValues()\n {\n return $this->values;\n }",
"public function getInputValues()\n {\n return $this->input_values;\n }",
"public static function values()\n {\n return self::$values;\n }",
"function getValuesAttributes(){\n $complete = [];\n \n foreach($this as $attribute => $valor){\n $complete[$attribute] = $valor;\n }\n \n return $complete;\n }"
] |
[
"0.72137254",
"0.70901126",
"0.7041921",
"0.7032967",
"0.6945895",
"0.69269276",
"0.69269276",
"0.69269276",
"0.69269276",
"0.68898356",
"0.6826475",
"0.6812377",
"0.6812377",
"0.6812377",
"0.6812377",
"0.6806602",
"0.6795344",
"0.679496",
"0.67856055",
"0.67856055",
"0.6777049",
"0.673056",
"0.6725514",
"0.66837263",
"0.6660974",
"0.6660479",
"0.66504896",
"0.66101223",
"0.66066337",
"0.6602593"
] |
0.7768483
|
0
|
Validates the current state of the model. Throws a Validation_Exception on any validation errors.
|
public function validate()
{
// Build the validation data
$data = array();
foreach ($this->_meta->fields as $field_name => $field)
{
$data[$field_name] = $this->get($field_name);
}
$data = Validation::factory($data);
// Add rules
foreach ($this->_meta->fields as $field_name => $field)
{
foreach ($field->rules as $rule)
{
$callback = Arr::get($rule, 0);
$params = Arr::get($rule, 1);
$data->rule($field_name, $callback, $params);
}
}
// Bind :model parameters to this model so the validation callback
// can have access to the model
$data->bind(':model', $this);
// If the data does not validate, throw an exception
if ( ! $data->check())
{
throw new DORM_Validation_Exception($this, $data);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function validate() {\n if ($this->fails()) {\n throw new ValidationException($this);\n }\n }",
"public function validate(): void\n {\n $errors = $this->getErrors();\n $this->throwExceptionIfErrors($errors);\n }",
"public function validate()\n {\n $messages = array();\n\n // ID\n if (!Validator::validateField($this->id, 'intVal')) {\n $messages[] = 'ID is invalid.';\n }\n\n // Email\n if (!Validator::validateField($this->email, 'email', array('notEmpty' => array(), 'required' => true))) {\n $messages[] = 'Email address is invalid.';\n }\n\n // Password - no need to validate as it is validated on set and isn't required for an update\n\n // First name\n if (!Validator::validateField($this->first_name, 'stringType', array(\n 'notEmpty' => array(),\n 'length' => array(1, 35),\n 'required' => true\n ))) {\n $messages[] = 'First name is required.';\n }\n\n // Last name\n if (!Validator::validateField($this->last_name, 'stringType', array(\n 'notEmpty' => array(),\n 'length' => array(1, 35),\n 'required' => true\n ))) {\n $messages[] = 'Last name is required.';\n }\n\n // Role\n if (!Validator::validateField($this->role, 'stringType', array(\n 'notEmpty' => array(),\n 'length' => array(1, 35),\n 'required' => true\n ))) {\n $messages[] = 'Role is required.';\n }\n\n // Status\n if (!Validator::validateField($this->status, 'slug', array(\n 'notEmpty' => array(),\n 'length' => array(1, 20),\n 'required' => true\n ))) {\n $messages[] = 'Status is not valid.';\n }\n\n if (!empty($messages)) {\n throw new ValidationException($messages);\n }\n }",
"public function validate()\n {\n parent::validate();\n if ( ! $this->getRelease()\n || in_array($this->getRelease()->getState(), [\n array_search('failed', config('projects.states')),\n array_search('destroyed', config('projects.states'))\n ])\n ) {\n $this->failedValidation($this->getValidatorInstance());\n }\n }",
"public function isValid()\n {\n $rules = $this->getRules();\n $validation = \\Validator::make($this->data,$rules);\n if($validation->fails())\n {\n \\Session::push('form.validation.error', $validation->messages()->all());\n throw new ValidationException('Validation Failed',$validation->messages());\n }\n }",
"public function validate()\n {\n parent::validate();\n if ( ! $this->getProject()->getId()) {\n $this->failedValidation($this->getValidatorInstance());\n }\n }",
"protected function validate()\r\n\t{\r\n\t\tif (!$this->isFetched())\r\n\t\t{\r\n\t\t\treturn;\r\n }\r\n \r\n\t\tif ($this->validationInfo)\r\n\t\t{\r\n\t\t\t$this->validationInfo->validate($this->normalizedValue);\r\n\t\t}\r\n\t\t$this->isValid = true;\r\n\t}",
"public static function validate()\n\t{\n\t\tself::engine()->validate();\n\t}",
"public function validate()\n {\n // TODO implement this\n }",
"public function validate()\n {\n // query for validation information\n // set the validation flag\n // close database\n }",
"public function validate() {\n }",
"public function validate() {\n }",
"protected function _validate() {\n\t}",
"public function validate()\n\t{\n\t\t$this->vars['errors'] = $this->validation_errors();\n\t}",
"public function validate()\n {\n throw new Fdap_Model_Exception(\"This function must be declared and completed in the concrete model class.\");\n }",
"public function validate() {\n\n // Tell ourselves that the client has initiated validation.\n $this->hasRanValidation = true;\n\n // Sanitize and filter all of our field data.\n $this->filterFields();\n\n // Validate each field individually.\n foreach ($this->fields as $field) {\n\n // Skip fields with no rules.\n if (!$field->getGumpRules()) {\n continue;\n }\n\n // Validate this field.\n $fieldError = $field->validate();\n\n // Add any errors to our error log.\n if ($fieldError) {\n $this->addError($field, $fieldError);\n }\n }\n }",
"public function validate()\n {\n $this->obj->validate();\n\n if(! $this->obj->valid)\n {\n $this->_set_error();\n return FALSE;\n }\n return TRUE;\n }",
"public function validate()\n {\n $validator = Validator::make($this->getAttributes(), $this->getValidationRules());\n\n if ($validator->fails()) {\n if (config('validate.dump')) {\n dump($this->rules, $this->getAttributes(), $validator->errors());\n }\n\n throw new ValidationException($validator);\n }\n\n return true;\n }",
"public function valid() {\n\t\tif ($this->_errors === null) {\n\t\t\t$this->_errors = new ErrorCollection;\n\t\t} else {\n\t\t\t$this->_errors->clear();\n\t\t}\n\n\t\t$this->_validate();\n\n\t\tif ($this->_newRecord) {\n\t\t\t$this->_validateOnCreate();\n\t\t} else {\n\t\t\t$this->_validateOnUpdate();\n\t\t}\n\n\t\treturn count($this->_errors) == 0;\n\t}",
"public function validate()\n {\n $this->validateNode($this->tree);\n }",
"public function validate()\n {\n foreach ( $this->rules as $key => $rules ) {\n foreach ( $rules as $type => $rule ) {\n if ( $this->hasErrors( $key ) )\n break;\n $this->validateRule( $key, $type, $rule );\n }\n }\n }",
"protected function validate()\n {\n }",
"public function & validate() {\n\t\t# INitialize\n\t\t$fields =& $this->getFields();\n\t\t$this->validated = true;\n\t\t# Validate fields\n\t\tforeach ($fields as $field) {\n\t\t\t# Any soingle invalid field would cause to return invalid\n\t\t\tif (!$field->validate() && $this->validated) {\n\t\t\t\t# Mark as invalie\n\t\t\t\t$this->validated = false;\n\t\t\t}\n\t\t}\n\t\t# Return vaidation state\n\t\treturn $this->validated;\n\t}",
"public function is_valid()\n {\n }",
"public function is_valid()\n {\n }",
"public function validate() {\r\n // Name - this is required\r\n if ($this->description == '') {\r\n $this->errors[] = 'Description is required';\r\n } \r\n \r\n // Category number - must be a number\r\n if (!is_numeric($this->category)) {\r\n $this->category = 0;\r\n } \r\n \r\n // Item number - must be a number\r\n if (!is_numeric($this->item)) {\r\n $this->item = 0;\r\n } \r\n }",
"public function validate()\n {\n }",
"public function validate()\n {\n }",
"public function assertValid()\n {\n $validator = $this->makeValidator();\n\n if ($validator->fails()) {\n $this->throwValidationException($validator);\n }\n }",
"public function validate()\r\n\t\t{\r\n\t\t\t\r\n\t\t\treturn true;\r\n\r\n\t\t}"
] |
[
"0.7614802",
"0.7352495",
"0.7143108",
"0.7133326",
"0.7107873",
"0.7091977",
"0.70658684",
"0.70311123",
"0.69866866",
"0.69733435",
"0.68785065",
"0.68785065",
"0.6871858",
"0.68368995",
"0.6817764",
"0.6816027",
"0.6803323",
"0.6798365",
"0.67855996",
"0.6784762",
"0.6772881",
"0.6772434",
"0.6765147",
"0.67493945",
"0.6749118",
"0.6731149",
"0.6725517",
"0.6725517",
"0.6707137",
"0.6665365"
] |
0.73888814
|
1
|
sets the gold property
|
public function setGold($gold) {
$this->gold = $gold;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function setGold($value)\n {\n return $this->set(self::GOLD, $value);\n }",
"public function getGold() {\n\t\treturn $this->gold;\n\t}",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function getGold()\n {\n $value = $this->get(self::GOLD);\n return $value === null ? (integer)$value : $value;\n }",
"public function gold(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"function Give_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold + '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_CANNOT_GIVE_GOLD);\r\n\t\t}\r\n\t}",
"public function setMinDamage(){ $this->minDamage = 10; }",
"public function hasGold()\n {\n return $this->get(self::GOLD) !== null;\n }",
"public function addGold($amount) {\n\t\t$this->gold += $amount;\n\n\t\treturn $this->gold;\n\t}",
"function Take_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0 && $amount <= $character['gold']) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold - '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_NOT_ENOUGH_GOLD);\r\n\t\t}\r\n\t}",
"function setGrandtotal($grandtotal)\n {\n $this->grandtotal = $grandtotal;\n }",
"public function setPower()\n {\n $this->_role->power = 200;\n }",
"public function setPower()\n {\n $this->_role->power = 100;\n }",
"public function set_dataGraf(){\n\n }",
"public function setGoal()\n {\n }",
"function setGutter($gutter) {\t \r\n\t $this->gutter = $gutter;\r\n\t}",
"public function useGoldTicket(): M_member\n\t{\n\n\t\t$this->db->set($this->goldTicketField(), $this->goldTicket - 1);\n\t\t$this->db->where($this->idField(), $this->id);\n\t\t$this->db->update($this->tableName());\n\n\t\treturn $this->getData();\n\t}",
"public function setGraded($graded) {\n $this->requirement->graded = $graded;\n return $this;\n }",
"public function resetDpNpc()\n {\n if (is_null($this->mrGoldenKeyObj)\n || !$this->isPresent($this->mrGoldenKeyObj)) {\n // Creates a golden key based on the standard DpObject, moves it\n // here:\n $this->mrGoldenKeyObj = get_current_dpuniverse()->newDpObject(\n DPUNIVERSE_STD_PATH . 'DpObject.php');\n $this->mrGoldenKeyObj->addId(dp_text('key'));\n $this->mrGoldenKeyObj->title = dp_text('golden key');\n $this->mrGoldenKeyObj->titleDefinite = dp_text('the golden key');\n $this->mrGoldenKeyObj->titleIndefinite = dp_text('a golden key');\n $this->mrGoldenKeyObj->titleImg = DPUNIVERSE_IMAGE_URL\n . 'golden_key.png';\n $this->mrGoldenKeyObj->titleImgWidth = 44;\n $this->mrGoldenKeyObj->titleImgHeight = 46;\n $this->mrGoldenKeyObj->body = '<img src=\"' . DPUNIVERSE_IMAGE_URL\n . 'golden_key.png\" width=\"44\" height=\"46\" border=\"0\" '\n . 'alt=\"\" align=\"left\" style=\"margin-right: 15px\" />'\n . dp_text('A golden key.<br />You wonder what it can unlock...');\n $this->mrGoldenKeyObj->value = 180;\n $this->mrGoldenKeyObj->coinherit(DPUNIVERSE_STD_PATH . 'mass.php');\n $this->mrGoldenKeyObj->weight = 1;\n $this->mrGoldenKeyObj->volume = 1;\n $this->mrGoldenKeyObj->isNoStore = new_dp_property(TRUE);\n $this->mrGoldenKeyObj->moveDpObject($this);\n }\n }",
"function setGender($newGender){\n $this->gender = $newGender;\n }",
"public function setAmount()\n {\n $exact = $this->getOriginalPurgeValue('amount_exact');\n $percentage = $this->getOriginalPurgeValue('amount_percentage');\n\n $this->amount = $this->is_percentage\n ? $percentage\n : $exact;\n }",
"function setPrice($new_price)\n {\n $this->price = $new_price;\n }",
"public function setWeight() {\n }",
"public function reset()\n {\n $this->values[self::_GOLD] = null;\n $this->values[self::_DIAMOND] = null;\n }",
"private function goldGain(int $deltaTime) : float\n {\n $gain = $this->buildings['Bank']* 2 * 0.5 ;\n // liczymy zysk na sekunde (godzina/3600)\n $perSecondGain = $gain / 3600;\n //zwracamy zysk w czasie $deltaTime\n return $perSecondGain * $deltaTime;\n }",
"function set_property(){\n }",
"public function takeDamage()\n\t\t{\n\t\t\tif ($this->_illness)\n\t\t\t{\n\t\t\t\t$this->_health -= $this->_damage; \n\t\t\t}\n\t\t}"
] |
[
"0.7120003",
"0.7120003",
"0.7094141",
"0.6832131",
"0.6412341",
"0.6412341",
"0.6120072",
"0.6022688",
"0.59640896",
"0.59199834",
"0.5853599",
"0.5716398",
"0.5711581",
"0.5695432",
"0.56844234",
"0.5546442",
"0.54222804",
"0.5284974",
"0.52389425",
"0.5179174",
"0.5173254",
"0.5133417",
"0.51009816",
"0.50592536",
"0.5042247",
"0.5038843",
"0.5036886",
"0.502522",
"0.5013482",
"0.49903676"
] |
0.8076618
|
0
|
adds an amount to the gold property
|
public function addGold($amount) {
$this->gold += $amount;
return $this->gold;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function Give_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold + '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_CANNOT_GIVE_GOLD);\r\n\t\t}\r\n\t}",
"function Take_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0 && $amount <= $character['gold']) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold - '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_NOT_ENOUGH_GOLD);\r\n\t\t}\r\n\t}",
"public function setGold($gold) {\n\t\t$this->gold = $gold;\n\t}",
"public function getGold() {\n\t\treturn $this->gold;\n\t}",
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function setGold($value)\n {\n return $this->set(self::GOLD, $value);\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function setGrandTotal($amount);",
"public function add(Money $money): self;",
"public function addGoldTicket(int $count): M_member\n\t{\n\t\t$this->db->set($this->goldTicketField(), $this->goldTicket + $count);\n\t\t$this->db->where($this->idField(), $this->id);\n\t\t$this->db->update($this->tableName());\n\n\t\treturn $this->getData();\n\t}",
"public static function sumHealBonusGloves(stdClass $data){\n\t\tif($data->glovesType==TYPE_NONE){\n\t\t\treturn 0;\n\t\t}\n\n\t\t$bonus = 0;\n\t\t$isMw = ($data->glovesEnchant==ENCHANT_MW_NINE OR $data->glovesEnchant==ENCHANT_MW_TWELVE);\n\n\t\t//base (new only)\n\t\tif($data->glovesType==TYPE_NEW AND $data->glovesBonusBase){\n\t\t\t$bonus += ($isMw ? BONUS_GLOVES_NEW : BONUS_GLOVES_NEW_PLAIN);\n\t\t}\n\n\t\t//+0 (old and current only)\n\t\tif($data->glovesType!=TYPE_NEW AND $data->glovesBonusZero){\n\t\t\t$bonus += ($isMw ? BONUS_GLOVES_OLD_BASE : BONUS_GLOVES_OLD_PLAIN);\n\t\t}\n\n\t\t//plus\n\t\tif($data->glovesType==TYPE_NEW AND $data->glovesBonusPlus AND $data->glovesEnchant!=ENCHANT_NONE){\n\t\t\t$bonus += ($isMw ? BONUS_GLOVES_NEW : BONUS_GLOVES_NEW_PLAIN);\n\t\t}\n\t\telseif($data->glovesBonusPlus AND $data->glovesEnchant!=ENCHANT_NONE){\n\t\t\t$bonus += ($isMw ? BONUS_GLOVES_OLD : BONUS_GLOVES_OLD_PLAIN);\n\t\t}\n\n\t\t//mw (current and new only)\n\t\tif($data->glovesType==TYPE_CURRENT AND $data->glovesBonusMw > 0 AND $data->glovesEnchant==ENCHANT_MW_TWELVE){\n\t\t\t$bonus += BONUS_GLOVES_OLD_MW / 3 * $data->glovesBonusMw;\n\t\t}\n\t\telseif($data->glovesType==TYPE_NEW AND $data->glovesBonusMw AND $data->glovesEnchant==ENCHANT_MW_TWELVE){\n\t\t\t$bonus += BONUS_GLOVES_NEW_MW;\n\t\t}\n\n\t\treturn $bonus;\n\t}",
"public function removeGold($amount) {\n\t\t// don't let the level fall below 1!\n\t\t$this->gold = (($this->gold - $amount) >= 0) ? ($this->gold - $amount) : 0;\n\n\t\treturn $this->gold;\n\t}",
"public function gold(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"protected function addDonationToFundraisersTotalRaise()\n {\n $this->fundraiser_profile->addDonation( $this->data['amount'] );\n $this->fundraiser_profile->update();\n }",
"public function add(float $amount)\n {\n $this->balance += $amount;\n }",
"public function getGold()\n {\n $value = $this->get(self::GOLD);\n return $value === null ? (integer)$value : $value;\n }",
"public function setBaseGrandTotal($amount);",
"private function sellTrasactionAddsMoney(){\n\n }",
"public function setAmount()\n {\n $exact = $this->getOriginalPurgeValue('amount_exact');\n $percentage = $this->getOriginalPurgeValue('amount_percentage');\n\n $this->amount = $this->is_percentage\n ? $percentage\n : $exact;\n }",
"public function addExpense($amount)\n {\n $account = Account::findOne([\n 'username' => $this->getCurrentUser()->username,\n ]);\n\n $account->balance -= $amount;\n\n $account->update(true, ['balance']);\n }",
"public function addItemDiscountAmount($amount)\n {\n $this->itemDiscountAmount += $amount;\n }",
"public function addStat(float $amount, string ...$pathToStat): void\n {\n $amount += $this->getStat(...$pathToStat);\n\n $this->setStat($amount, ...$pathToStat);\n }",
"function add_money($account,$total_money,$input_money){\n\t\t$total_money += $input_money;\n\t\tglobal $connection;\n\t\t$query_mn = mysqli_query($connection,\"UPDATE khachhang SET `money`=$total_money WHERE account='$account'\" );\n\t\treturn $total_money;\n\t}",
"public function getGrossTotal(): float;",
"protected function calculateGrandTotal()\n {\n $this->grandTotal = $this->subTotal + $this->gst + $this->unit->securityDeposit;\n }",
"public function addCredits($amount)\n {\n $credit = $this->credit;\n $credit->amount = $credit->amount + $amount;\n $credit->save();\n return $credit;\n }",
"function setScore($amount = 0)\n\t{\n\t\treturn $this->score += $amount;\n\t}",
"public function hasGold()\n {\n return $this->get(self::GOLD) !== null;\n }"
] |
[
"0.73141867",
"0.673802",
"0.6453764",
"0.6422878",
"0.6372934",
"0.6372934",
"0.6355583",
"0.6221611",
"0.6221611",
"0.60949725",
"0.60870916",
"0.5998652",
"0.5942114",
"0.59296036",
"0.59223205",
"0.58614093",
"0.58341765",
"0.5805274",
"0.5716164",
"0.5705222",
"0.5681889",
"0.5660759",
"0.55619025",
"0.55406857",
"0.55401695",
"0.553384",
"0.55064684",
"0.548534",
"0.54604757",
"0.5456431"
] |
0.79625314
|
0
|
removes an amount from the gold property
|
public function removeGold($amount) {
// don't let the level fall below 1!
$this->gold = (($this->gold - $amount) >= 0) ? ($this->gold - $amount) : 0;
return $this->gold;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"function Take_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0 && $amount <= $character['gold']) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold - '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_NOT_ENOUGH_GOLD);\r\n\t\t}\r\n\t}",
"public function decreaseAmount(): void;",
"public function deductPG(Float $amount)\n {\n $this->pg_amount -= $amount;\n if ($this->pg_amount < 0) {\n $this->vg_amount += $this->pg_amount ;\n $this->pg_amount = 0;\n }\n }",
"function removeBalance($dbh, $userID, $amount)\n\t{\n\t\t$sth = $dbh -> prepare(\"Select Balance From Bettors Where BettorID = :userID\");\n\t\t$sth->bindValue(':userID', $userID);\n\t\t\n\t\t$sth->execute();\n\n\t\t$oldBalance = $sth->fetch();\n\t\t$newBalance = $oldBalance[0] - $amount;\n\t\t\n\t\t\n\t\t$sth = $dbh -> prepare(\"Update Bettors Set Balance = :newBalance Where BettorID = :userID\");\n\t\t$sth->bindValue(':newBalance', $newBalance);\n\t\t$sth->bindValue(':userID', $userID);\n\t\t\n\t\t$sth->execute();\n\n\t}",
"public function subtract(Money $money): self;",
"public function deductCredits($amount)\n {\n $credit = $this->credit;\n $credit->amount = $credit->amount - $amount;\n $credit->save();\n return $credit;\n }",
"function Give_Gold($amount = 0) {\r\n\t\tglobal $character, $gameinstance;\r\n\t\tif(isset($amount) && is_numeric($amount) && $amount >= 0) \r\n\t\t{\r\n\t\t\tdbn(__FILE__,__LINE__,\"update ${gameinstance}_characters set gold = gold + '$amount' where login_id = '$character[login_id]'\");\r\n\t\t}\r\n\t\telse \r\n\t\t{\r\n\t\t\tSystemMessage(CHAR_CANNOT_GIVE_GOLD);\r\n\t\t}\r\n\t}",
"public function deductVG(Float $amount)\n {\n $this->vg_amount -= $amount;\n if ($this->vg_amount < 0) {\n $this->pg_amount += $this->vg_amount;\n $this->vg_amount = 0;\n }\n }",
"public function subtract(float $amount)\n {\n $this->balance -= $amount;\n }",
"public function deleteDiscount();",
"public function deleted(HoldAmount $holdAmount)\n {\n //\n }",
"public function remove_promo_code() {\n\t $site_stats_helper = new SiteStatsHelper();\n if (Auth::guest()) {\n $site_stats_helper->promo_code_add_guest_removal($this->promo_code->id);\n } else {\n \t$site_stats_helper->promo_code_add_member_removal($this->promo_code->id);\n }\n\t\t\n\t\t// Revert back to old total\n\t\t$this->cart_total = $this->old_total;\n\n\t\t// Remove promo code\n\t\t$this->promo_code = \"\";\n\n\t\t// Update cart\n\t\t$this->save();\n\t}",
"public function deleteCost($cost) {\n\t\tif($cost == null) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// bootstrap to doctrine\n\t\trequire(__DIR__ . '/../../amfdoctrine/bootstrapper.php');\n\t\t\n\t\t// merge and then remove the entity\n\t\t$cost = $entityManager->merge($cost);\n\t\t$entityManager->remove($cost);\n\t\t$entityManager->flush();\n\t}",
"public function removeQuantity()\n\t{\n\t\tif(isset($this->searchFilters[$this->ref_quantity]))\n\t\t{\n\t\t\tunset($this->searchFilters[$this->ref_quantity]);\n\t\t}\n\t}",
"private function removeItem($id){\n $this->totalQty -= $this->items[$id]['qty'];\n $this->totalPrice -= $this->items[$id]['price'];\n unset($this->items[$id]);\n }",
"public function unsetLoyaltyPref($index)\n {\n unset($this->loyaltyPref[$index]);\n }",
"public function removeTotal($code)\n {\n unset($this->_totals[$code]);\n return $this;\n }",
"public function removeClaimed()\n\t{\n\t\t$items = CreditModel::whereRaw('value = claimed')->get();\n\n\t\tif ($items->count() > 0)\n\t\t{\n\t\t\tforeach ($items as $item)\n\t\t\t{\n\t\t\t\t$item->delete();\n\t\t\t}\n\t\t}\n\t}",
"function removeFromGrocery($userid, $ingredient, $qty, $units){\n\t\tif((userid != NULL) && ($ingredient != NULL) && ($qty != NULL)&& ($units != NULL))\n\t\t{ \n\t\t if($qty <= 0)\n\t\t return;\n\t\t $amt = @mysql_query(\"SELECT Quantity as Quantity FROM GroceryList WHERE (UserID = '$userid' AND IngredientName = '$ingredient' AND Units ='$units')\");\n\t\t $amtdata = mysql_fetch_assoc($amt);\n\t\t if($amtdata['Quantity'] > $qty)\n\t\t\t @mysql_query(\"UPDATE GroceryList SET Quantity = Quantity - '$qty' WHERE (UserID = '$userid' AND IngredientName = '$ingredient' AND Units ='$units')\");\n\t\t else\n\t\t @mysql_query(\"DELETE FROM GroceryList WHERE (UserID = '$userid' AND IngredientName = '$ingredient' AND Units ='$units')\");\n\t\t}\n\t}",
"public function unsetAdditionalGuestAmount($index)\n {\n unset($this->additionalGuestAmount[$index]);\n }",
"public function purgeCoin($symbol)\n {\n $coins = new db_coins;\n\n if (!$coins instanceof CActiveRecord) return;\n\n $coin = $coins->find(array(\n 'condition' => 'symbol=:sym',\n 'params' => array(\n ':sym' => $symbol\n )\n ));\n if ($coin)\n {\n $nbAccounts = getdbocount('db_accounts', \"coinid=\" . $coin->id);\n $coin->deleteDeps();\n\n echo \"coin \" . $coin->symbol . \" purged\\n\";\n if ($nbAccounts)\n {\n $nbAccounts -= getdbocount('db_accounts', \"coinid=\" . $coin->id);\n echo \" $nbAccounts accounts deleted\\n\";\n }\n }\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function deleted(Credit $credit)\n {\n\n }",
"public function getGold() {\n\t\treturn $this->gold;\n\t}",
"public function removePurchaseDetail() { \n\n $result = 0;\n $purchaseDelIds = !empty($_GET['purchaseDelIds']) ? $_GET['purchaseDelIds'] : '';\n $totalss = !empty($_GET['totalss']) ? $_GET['totalss'] : '';\n $totalr = !empty($_GET['totalr']) ? $_GET['totalr'] : '';\n $otherChargess = !empty($_GET['otherChargess']) ? $_GET['otherChargess'] : '';\n $purchaseIds = !empty($_GET['purchaseIds']) ? $_GET['purchaseIds'] : '';\n $grandTotals = !empty($_GET['grandTotals']) ? $_GET['grandTotals'] : '';\n \n \n //if (!empty($purchaseDelIds)) {\n $purhaseModel = new PurhaseModel();\n $result = $purhaseModel->deletePurhaseDetails($purchaseDelIds,$purchaseIds,$totalss,$totalr,$otherChargess,$grandTotals);\n //}\n echo $result;\n\n \n }",
"public function forceDeleted(HoldAmount $holdAmount)\n {\n //\n }",
"function SetAmountSoldOutside ($amount = 0) {\n\t\n}",
"protected function changeGearDown()\n\t{\n\tif ($this->currentGear <= 1){\n\t\t\techo 'Already on the minimum gear.';\n\t\t}\n\t\telse {\n\t\t\t$this->currentGear--;\n\t\t}\n\t}",
"public function chargeFee($amount = false) {\n $this->checkFee($amount);\n\n if(!$amount) {\n $fee = config('games.under_over.entry_fee');\n } else {\n $fee = $amount;\n }\n \n // deduct from the gold of current user\n $this->gold = $this->gold - $fee;\n try {\n $this->saveOrFail();\n } catch(QueryException $ex) {\n throw new PersonalRuntimeException(__('common.errors.invalid_query'));\n }\n }"
] |
[
"0.66146433",
"0.65858614",
"0.62085557",
"0.5950152",
"0.5876341",
"0.58661777",
"0.5848497",
"0.5699289",
"0.56781733",
"0.56759006",
"0.566483",
"0.56076777",
"0.5598755",
"0.5552711",
"0.5529545",
"0.5412047",
"0.53791237",
"0.5373669",
"0.53474915",
"0.53364456",
"0.5327084",
"0.53154635",
"0.53154635",
"0.52928734",
"0.5278838",
"0.52693987",
"0.52690065",
"0.5262548",
"0.5258235",
"0.5240629"
] |
0.78020245
|
0
|
returns the gold property
|
public function getGold() {
return $this->gold;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function getGold()\n {\n return $this->get(self::_GOLD);\n }",
"public function gold(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"public function getGold()\n {\n $value = $this->get(self::GOLD);\n return $value === null ? (integer)$value : $value;\n }",
"public function hasGold()\n {\n return $this->get(self::GOLD) !== null;\n }",
"public function silver(): int\n {\n return $this->pluck('definedTrophies.silver');\n }",
"public function setGold($gold) {\n\t\t$this->gold = $gold;\n\t}",
"public function goldTrophyCount(): int\n {\n return $this->pluck('definedTrophies.gold');\n }",
"public function getDamage()\n {\n return $this->_damage;\n }",
"public function getDamage()\n {\n return $this->get(self::_DAMAGE);\n }",
"public function getDamage()\n {\n return $this->get(self::_DAMAGE);\n }",
"public function getDamage()\n {\n return $this->damage;\n }",
"public function getDamage();",
"public function damage() {\n return $this->damageMultiplier * $this->weapon->damage();\n }",
"public function get_grade() {\n return $this->grade;\n }",
"public function getPropertyRental()\n {\n return $this->propertyRental;\n }",
"public function getLoyaltyPref()\n {\n return $this->loyaltyPref;\n }",
"public function earnedTrophiesGoldCount(): int\n {\n return $this->pluck('earnedTrophies.gold');\n }",
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function setGold($value)\n {\n return $this->set(self::_GOLD, $value);\n }",
"public function getInstanceDamage()\n {\n return $this->get(self::_INSTANCE_DAMAGE);\n }",
"public function getGrossTotal(): float;",
"public function setGold($value)\n {\n return $this->set(self::GOLD, $value);\n }",
"public function addGold($amount) {\n\t\t$this->gold += $amount;\n\n\t\treturn $this->gold;\n\t}",
"public function getPothglpd()\n {\n return $this->pothglpd;\n }",
"function getGrade() {\n return $this->fulfillment['grade_result'];\n }",
"public function getGwPrice() {\n return $this->item->getGwPrice();\n }",
"public function getMemberGoodsPrice()\n {\n return $this->member_goods_price;\n }",
"public function getVarGrade();",
"function getGrandtotal()\n {\n return $this->grandtotal;\n }"
] |
[
"0.81075084",
"0.81075084",
"0.7646857",
"0.7572658",
"0.66036975",
"0.6366727",
"0.6191491",
"0.6167221",
"0.61645997",
"0.60651314",
"0.60651314",
"0.6034638",
"0.5975962",
"0.5966042",
"0.5927742",
"0.5927324",
"0.5916403",
"0.5861163",
"0.5840344",
"0.5840344",
"0.5830047",
"0.58178127",
"0.58138686",
"0.5798009",
"0.579716",
"0.5784524",
"0.5743389",
"0.5742702",
"0.57282794",
"0.57252"
] |
0.8141444
|
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.