constant ROOMS_AVAILABILITY_ADMIN_STYLE in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
@file Manages availability for Bookable Units and displaying dates on the jquery FullCalendar plugin.
3 uses of ROOMS_AVAILABILITY_ADMIN_STYLE
- BookingEvent::formatJson in modules/
rooms_availability/ includes/ rooms_availability.booking_event.inc - Returns event in a format amenable to FullCalendar display or generally sensible JSON.
- rooms_availability_event in modules/
rooms_availability/ rooms_availability.module - Displays the necessary json for the date range provided - needs at least start year and month at which point it will return the entire month.
- rooms_availability_get_style in modules/
rooms_availability/ rooms_availability.module - Helper function to determine the $event style depending on permissions.
File
- modules/
rooms_availability/ rooms_availability.module, line 9 - Manages availability for Bookable Units and displaying dates on the jquery FullCalendar plugin.
Code
define('ROOMS_AVAILABILITY_ADMIN_STYLE', 1);