You are here

function bat_booking_load_multiple in Booking and Availability Management Tools for Drupal 7

Same name and namespace in other branches
  1. 8 modules/bat_booking/bat_booking.module \bat_booking_load_multiple()

Loads multiple bookings based on certain conditions.

Parameters

array $booking_ids: An array of booking IDs.

array $conditions: An array of conditions to match against the {bat_bookings} table.

bool $reset: A boolean indicating that the internal cache should be reset.

Return value

array An array of booking objects, indexed by booking_id.

See also

entity_load()

bat_booking_load()

1 call to bat_booking_load_multiple()
bat_booking_load in modules/bat_booking/bat_booking.module
Fetches a booking object.

File

modules/bat_booking/bat_booking.module, line 490

Code

function bat_booking_load_multiple($booking_ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('bat_booking', $booking_ids, $conditions, $reset);
}