You are here

function merci_reservation_load_multiple in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Loads multiple line items by ID or based on a set of matching conditions.

Parameters

$line_item_ids: An array of line item IDs.

$conditions: An array of conditions on the {commerce_line_item} table in the form 'field' => $value.

$reset: Whether to reset the internal line item loading cache.

Return value

An array of line item objects indexed by line_item_id.

See also

entity_load()

1 call to merci_reservation_load_multiple()
merci_reservation_load in merci_reservation/merci_reservation.module

File

merci_reservation/merci_reservation.module, line 321

Code

function merci_reservation_load_multiple($line_item_ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('merci_reservation', $line_item_ids, $conditions, $reset);
}