You are here

function rooms_booking_manager_enquiry_page in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Page callback for enquiry search.

1 string reference to 'rooms_booking_manager_enquiry_page'
rooms_booking_manager_menu in modules/rooms_booking_manager/rooms_booking_manager.module
Implements hook_menu().

File

modules/rooms_booking_manager/rooms_booking_manager.module, line 144
Rooms Booking Manager brings together all the pieces required to find a room and book it - including the DrupalCommerce integration

Code

function rooms_booking_manager_enquiry_page($start_date = 0, $end_date = 0, $unit = NULL) {
  $form = drupal_get_form('rooms_booking_manager_enquiry_page_form', $start_date, $end_date, $unit, 0, 1);
  $change_search_form = drupal_get_form('rooms_booking_manager_change_search_form', $start_date, $end_date, $unit, 0, 1);
  return array(
    $change_search_form,
    $form,
  );
}