public function RoomsCalendarInterface::updateCalendar in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Given an array of RoomEvents the calendar is updated with regards to the events that are relevant to the Unit this calendar refers to
Parameters
RoomsEventInterface[] $events: An array of events to update the calendar with
Return value
array An array of response on whether event updates were successful or not
1 method overrides RoomsCalendarInterface::updateCalendar()
- RoomsCalendar::updateCalendar in includes/
rooms.calendar.inc - Given an array of RoomEvents the calendar is updated with regards to the events that are relevant to the Unit this calendar refers to
File
- includes/
rooms.calendar_interface.inc, line 50
Class
- RoomsCalendarInterface
- Handles querying and updating the availability information relative to a single bookable unit.
Code
public function updateCalendar($events);