public function RoomsEvent::endMonth in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Returns the booking end month.
Parameters
string $format: The format string to return.
Return value
string The month formatted string.
Overrides RoomsEventInterface::endMonth
5 calls to RoomsEvent::endMonth()
- 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.
- 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.
- RoomsEvent::sameMonth in includes/rooms.event.inc 
- Checks if the event starts and ends in the same month.
- 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
- RoomsEvent::transformToYearlyEvents in includes/rooms.event.inc 
- Takes an event that spans several years and transforms it to yearly events
File
- includes/rooms.event.inc, line 56 
Class
Code
public function endMonth($format = 'n') {
  return $this->end_date
    ->format($format);
}