You are here

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

Takes an event that spans several years and transforms it to yearly events

Return value

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

1 method overrides RoomsEventInterface::transformToYearlyEvents()
RoomsEvent::transformToYearlyEvents in includes/rooms.event.inc
Takes an event that spans several years and transforms it to yearly events

File

includes/rooms.event_interface.inc, line 67

Class

RoomsEventInterface
Class RoomsEventInterface The basic rooms event interface.

Code

public function transformToYearlyEvents();