function bat_event_load_multiple in Booking and Availability Management Tools for Drupal 7
Same name and namespace in other branches
- 8 modules/bat_event/bat_event.module \bat_event_load_multiple()
Load multiple events based on certain conditions.
Parameters
array $event_ids: An array of event IDs.
array $conditions: An array of conditions to match against the {bat_events} table.
bool $reset: A boolean indicating that the internal cache should be reset.
Return value
array An array of event objects, indexed by event_id.
See also
2 calls to bat_event_load_multiple()
- bat_event_ids in modules/
bat_event/ bat_event.module - Get a list of Event keyed by id and name in value.
- bat_event_load in modules/
bat_event/ bat_event.module - Fetches an event object.
File
- modules/
bat_event/ bat_event.module, line 879 - Manage Events - Events store the EventValue of a Unit over a period of time.
Code
function bat_event_load_multiple($event_ids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('bat_event', $event_ids, $conditions, $reset);
}