You are here

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

Checks if a month exists.

Parameters

int $month: The month to check.

int $year: The year to check.

Return value

bool TRUE if the month is defined, FALSE otherwise.

1 method overrides RoomsCalendarInterface::monthDefined()
RoomsCalendar::monthDefined in includes/rooms.calendar.inc
Checks if a month exists.

File

includes/rooms.calendar_interface.inc, line 71

Class

RoomsCalendarInterface
Handles querying and updating the availability information relative to a single bookable unit.

Code

public function monthDefined($month, $year);