abstract protected function RoomsCalendar::prepareFullMonthArray in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Given an event it prepares the entire month array for it assuming no other events in the month and days where there is no event get set to the default state.
Parameters
RoomsEventInterface $event: The event to process.
Return value
array The days of the month states processed array.
1 call to RoomsCalendar::prepareFullMonthArray()
- RoomsCalendar::addMonthEvent in includes/
rooms.calendar.inc - Adds an event to the calendar
2 methods override RoomsCalendar::prepareFullMonthArray()
- UnitCalendar::prepareFullMonthArray in modules/
rooms_availability/ includes/ rooms_availability.unit_calendar.inc - Given an event it prepares the entire month array for it assuming no other events in the month and days where there is no event get set to the default state.
- UnitPricingCalendar::prepareFullMonthArray in modules/
rooms_pricing/ includes/ rooms_pricing.unit_pricing_calendar.inc - Given an event it prepares the entire month array for it assuming no other events in the month and days where there is no event get set to the default state.
File
- includes/
rooms.calendar.inc, line 75
Class
- RoomsCalendar
- Handles querying and updating the availability information relative to a single bookable unit.
Code
protected abstract function prepareFullMonthArray(RoomsEventInterface $event);