You are here

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

Returns event in a format amenable to FullCalendar display or generally sensible json.

Return value

array The processed event, in JSON ready format.

1 method overrides PricingEventInterface::formatJson()
PricingEvent::formatJson in modules/rooms_pricing/includes/rooms_pricing.pricing_event.inc
Returns event in a format amenable to FullCalendar display or generally sensible json.

File

modules/rooms_pricing/includes/rooms_pricing.pricing_event_interface.inc, line 29
A pricing event represent a price over a set of continuous dates. As soon as the price changes that is a different pricing event

Class

PricingEventInterface
@file A pricing event represent a price over a set of continuous dates. As soon as the price changes that is a different pricing event

Code

public function formatJson();