You are here

function bat_type_load_multiple in Booking and Availability Management Tools for Drupal 7

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

Loads multiple Bat Types based on certain conditions.

Parameters

array $type_ids: An array of type IDs.

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

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

Return value

array An array of type objects, indexed by type_id.

See also

entity_load()

bat_type_load()

1 call to bat_type_load_multiple()
bat_type_load in modules/bat_unit/bat_unit.module
Fetches a Bat Type object.

File

modules/bat_unit/bat_unit.module, line 1549

Code

function bat_type_load_multiple($type_ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('bat_type', $type_ids, $conditions, $reset);
}