function rooms_booking_type_create in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Create a booking object.
File
- modules/
rooms_booking/ rooms_booking.module, line 791 - Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.
Code
function rooms_booking_type_create($values = array()) {
return entity_get_controller('rooms_booking_type')
->create($values);
}