You are here

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

Locks event - updates the rooms_booking_locks table to indicate that this event is locked.

Return value

bool TRUE if the event is locked successfully, FALSE if was already blocked.

1 method overrides BookingEventInterface::lock()
BookingEvent::lock in modules/rooms_availability/includes/rooms_availability.booking_event.inc
Locks event - updates the rooms_booking_locks table to indicate that this event is locked.

File

modules/rooms_availability/includes/rooms_availability.booking_event_interface.inc, line 17
Interface BookingEventInterface

Class

BookingEventInterface
@file Interface BookingEventInterface

Code

public function lock();