You are here

public function RoomsEventInterface::transformToMonthlyEvents in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Takes a single event that spans several months and transforms it to monthly events - this assumes that the event is contained within a year

Return value

RoomsEventInterface[] The event split if is necessary, a single item array otherwise.

1 method overrides RoomsEventInterface::transformToMonthlyEvents()
RoomsEvent::transformToMonthlyEvents in includes/rooms.event.inc
Takes a single event that spans several months and transforms it to monthly events - this assumes that the event is contained within a year

File

includes/rooms.event_interface.inc, line 59

Class

RoomsEventInterface
Class RoomsEventInterface The basic rooms event interface.

Code

public function transformToMonthlyEvents();