constant ROOMS_PER_NIGHT in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
@file Manages pricing for Bookable Units and displaying dates on the jquery FullCalendar plugin.
8 uses of ROOMS_PER_NIGHT
- AvailabilityAgent::getUnitsByPriceType in modules/
rooms_booking/ includes/ rooms_booking.availability_agent.inc - Returns the units array in a specific format based on price.
- book_units_per_type_form in modules/
rooms_booking_manager/ rooms_booking_manager.module - Book units per type booking form callback.
- book_unit_form_builder in modules/
rooms_booking_manager/ rooms_booking_manager.module - The form builder builds the form (where visible is simply the purchase button) for individual bookable units.
- rooms_booking_edit_form in modules/
rooms_booking/ rooms_booking.admin.inc - Form callback: create or edit a booking.
- rooms_booking_edit_form_get_rooms in modules/
rooms_booking/ rooms_booking.admin.inc - Returns a set of available units given a unit type, start and end dates.
File
- modules/
rooms_pricing/ rooms_pricing.module, line 9 - Manages pricing for Bookable Units and displaying dates on the jquery FullCalendar plugin.
Code
define('ROOMS_PER_NIGHT', 'rooms_per_night');