function rooms_booking_type_save in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Saves a booking type to the db.
1 call to rooms_booking_type_save()
- rooms_booking_create_standard_booking_type in modules/
rooms_booking/ rooms_booking.install - Creates the default standard booking type.
File
- modules/
rooms_booking/ rooms_booking.module, line 798 - Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.
Code
function rooms_booking_type_save(RoomsBookingType $type) {
$type
->save();
}