You are here

abstract protected function RoomsCalendar::preparePartialMonthArray in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Given an event it prepares a partial array covering just the days for which the event is involved

Parameters

RoomsEventInterface $event: The event to process.

Return value

array The days of the month states processed array.

1 call to RoomsCalendar::preparePartialMonthArray()
RoomsCalendar::addMonthEvent in includes/rooms.calendar.inc
Adds an event to the calendar
2 methods override RoomsCalendar::preparePartialMonthArray()
UnitCalendar::preparePartialMonthArray in modules/rooms_availability/includes/rooms_availability.unit_calendar.inc
Given an event it prepares a partial array covering just the days for which the event is involved
UnitPricingCalendar::preparePartialMonthArray in modules/rooms_pricing/includes/rooms_pricing.unit_pricing_calendar.inc
Given an event it prepares a partial array covering just the days for which the event is involved

File

includes/rooms.calendar.inc, line 87

Class

RoomsCalendar
Handles querying and updating the availability information relative to a single bookable unit.

Code

protected abstract function preparePartialMonthArray(RoomsEventInterface $event);