本文整理汇总了PHP中country::setCountryId方法的典型用法代码示例。如果您正苦于以下问题:PHP country::setCountryId方法的具体用法?PHP country::setCountryId怎么用?PHP country::setCountryId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类country
的用法示例。
在下文中一共展示了country::setCountryId方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: HotelRoomType
var check_out_date='" . $check_out_date . "';
var room_type_id='" . $room_type_id . "';
var room_bed_type='" . $room_bed_type . "';
var room_meal_type='" . $_SESSION['room_meal_type'] . "';
var num_rooms='" . $no_of_room . "';
</script>
");
$hotel_room_type = new HotelRoomType();
$hotel = new Hotels();
$country = new country();
$hotel->setHotelId($hotels_id);
$hotel->extractor($hotel->getHotelFromId());
$country->setCountryId($_SESSION['country_id']);
$hotel_room_type->setRoomTypeId($room_type_id);
$hotel_room_type->extractor($hotel_room_type->getHotelRoomTypeFromId());
if ($hotels_id != $hotel_room_type->roomTypeHotelId()) {
echo "Error";
die();
}
$villa_type_id = 5;
?>
<!DOCTYPE html><!--[if lt IE 7]>
<html dir="ltr" lang="en-US" class="ie6"> <![endif]--><!--[if IE 7]>
<html dir="ltr" lang="en-US" class="ie7"> <![endif]--><!--[if IE 8]>
示例2: date
$merchantReferenceNo = $session->getMerchantReferenceNo();
$reservations->setReservationId($merchantReferenceNo);
$pay_data = $reservations->getReservationsFromId();
$reservations->extractor($pay_data);
$reservation_link_id = $reservations->reservationFromBookingLink();
$reservations_status = $reservations->reservationPaymentStatus();
$hotels->setHotelId($reservations->reservationHotelId());
$hotels->extractor($hotels->getHotelFromId());
$date = date("Y-m-d");
// current date
$new_date = strtotime(date("Y-m-d", strtotime($date)) . " +3 month");
$expire_date = date("Y-m-d", $new_date);
$bookingclient->setId($reservations->reservationClientId());
$bookingclient->extractor($bookingclient->getClientsFromId());
$country = new country();
$country->setCountryId($bookingclient->country());
$country->extractor($country->getCountryFromId());
$rooms->setRoomTypeId($reservations->reservationHotelRoomTypeId());
$rooms->extractor($rooms->getHotelRoomTypeFromId());
$client_name = $bookingclient->name();
$client_mobile = $bookingclient->contactno();
$client_email = $bookingclient->email();
$client_message = $bookingclient->message();
$hotel_name = $hotels->hotelName();
$hotel_url = $hotels->hotelSeoUrl();
$room_type = $rooms->roomTypeName();
if ($reservations->reservationBedType() == "sgl") {
$bed_type = "Single Bed";
}
if ($reservations->reservationBedType() == "dbl") {
$bed_type = "Double Bed";
示例3: orderCreate
function orderCreate($orderId)
{
$systemSetting = new systemSetting();
$order = new order();
$customer = new customer();
$currency_object = new CurrencyWord();
$currency = new currency();
$orderProduct = new orderProduct();
$payment = new payment();
$country = new country();
$order->setOrderId($orderId);
$order->extractor($order->getOrderById());
$orderProduct->setOrderPOrderId($order->orderId());
$orderProduct_rows = $orderProduct->getProductsByOrderId();
$payment->setPaymentOrderId($order->orderId());
$result = $orderProduct->getTotalDetailByOrderId();
$systemSetting->extractor($systemSetting->getSettings());
$customer->setCustomerId($order->orderCustomerId());
$customer->extractor($customer->getCustomerById());
$currency->setCurrId(1);
$currencyName = $currency->getCurrencyNameById();
$country->setCountryId($order->orderDeliveryCity());
$countryName = $country->getCountryNameById();
$filename = $systemSetting->sySettingDocumentName() . 'Invoice_' . $order->orderInvoiceRefNumber() . '.pdf';
$subject = $systemSetting->sySettingCompanyName() . " - New Order Place....!";
$strContent = '
<table width="800" border="0" style="font-family:Arial, Helvetica, sans-serif; background:#eee; font-size:12px; color:#333333;">
<tr>
<td colspan="3" rowspan="8" align="left" valign="top">
<img src="' . DOC_ROOT . 'uplode-img/company-logo/' . $systemSetting->sySettingCompanyLogo() . '" />
</br>
<div style="padding-left:20px;font-size:16px; font-weight:bold; margin-bottom:8px;margin-top:20px;">' . $systemSetting->sySettingCompanyName() . ' </div>
<div style="padding-left:30px;margin-bottom:5px;font-size:10px;font-size:13px;">' . $systemSetting->sySettingCompanyAddress() . '</div>
<div style="padding-left:30px;margin-bottom:5px;font-size:10px;font-size:13px;">Telephone : ' . $systemSetting->sySettingCompanyPhon() . '</div>
<div style="padding-left:30px;margin-bottom:5px;font-size:10px;font-size:13px;">Email : ' . $systemSetting->sySettingCompanyEmail() . '</div>
</td>
<td colspan="3" bgcolor="#CC0000" style="color:#FFF; font-size:14px; padding:5px; text-align:right; font-weight:700; letter-spacing:1px;">C u s t o m e r I n v o i c e</td>
</tr>
<tr>
<td > </td>
<td colspan="2"> </td>
</tr>
<tr>
<td > </td>
<td colspan="2"> </td>
</tr>
<tr>
<td> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td style="padding:3px; border-bottom:1px #484848 dotted;"><div style=" width:80px;background-color:#ddd; float:left; margin-top:2px; padding:2px 5px;">Date</div></td>
<td colspan="2" style="padding:3px; border-bottom:1px #484848 dotted;text-align:right;">' . date('l jS \of F Y ', strtotime($order->orderCreatedDate())) . '</td>
</tr>
<tr>
<td style="padding:3px; border-bottom:1px #484848 dotted;"><div style=" width:80px;background-color:#ddd; float:left; margin-top:2px; padding:2px 5px;">Invoice No</div></td>
<td colspan="2" style="padding:3px; border-bottom:1px #484848 dotted;text-align:right;">' . $order->orderInvoiceRefNumber() . '</td>
</tr>
<tr>
<td style="padding:3px; border-bottom:1px #484848 dotted;"><div style=" width:80px;background-color:#ddd; float:left; margin-top:2px; padding:2px 5px;">Order No</div></td>
<td colspan="2" style="padding:3px; border-bottom:1px #484848 dotted;text-align:right;">' . $order->orderRefNumber() . '</td>
</tr>
<tr>
<td colspan="3" > </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="6" bgcolor="#333333" style="color:#fff; padding:3px 0 3px 8px; font-weight:bold; font-size:13px;">To</td>
</tr>
<tr>
<td colspan="6" style="padding:3px; border-bottom:1px #484848 dotted;">
<div style="margin-bottom:5px; margin-top:5px; font-weight:700;">' . $customer->customerName() . ' </div>
<div style="font-size:10px;font-size:10px;">' . $customer->customerAddress() . '</div></td>
</tr>
<tr>
<td colspan="6"> </td>
</tr>
<tr>
<td width="19%" align="center" bgcolor="#333333" style="color:#fff; padding:3px 0 3px 8px; font-weight:bold; font-size:13px; width:5%;">No</td>
<td width="11%" align="center" bgcolor="#333333" style="color:#fff; padding:3px 0 3px 8px; font-weight:bold; font-size:13px; width:15%">Item Code</td>
//.........这里部分代码省略.........
示例4: date
$client_name = $client->clientFirstName() . " " . $client->clientLastName();
$client_mobile = $client->clientPhoneMobile();
$client_email = $client->clientEmail();
$client_message = "";
$client_city = $client->clientCity();
$client_country = $client->clientCountry();
$client_address = $client->clientAddress();
}
$hotels->setHotelId($reservations->reservationHotelId());
$hotels->extractor($hotels->getHotelFromId());
$date = date("Y-m-d");
// current date
$new_date = strtotime(date("Y-m-d", strtotime($date)) . " +3 month");
$expire_date = date("Y-m-d", $new_date);
$country = new country();
$country->setCountryId($client_country);
$country->extractor($country->getCountryFromId());
$rooms->setRoomTypeId($reservations->reservationHotelRoomTypeId());
$rooms->extractor($rooms->getHotelRoomTypeFromId());
$hotel_name = $hotels->hotelName();
$hotel_url = $hotels->hotelSeoUrl();
$room_type = $rooms->roomTypeName();
if ($reservations->reservationBedType() == "sgl") {
$bed_type = "Single Bed";
}
if ($reservations->reservationBedType() == "dbl") {
$bed_type = "Double Bed";
}
if ($reservations->reservationBedType() == "tpl") {
$bed_type = "Tripple Bed";
}