You are here

function merci_line_item_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()

3 calls to merci_line_item_load_multiple()
merci_line_item_entity_insert in merci_line_item/merci_line_item.module
merci_line_item_handler_area_line_item_summary::render in merci_line_item/includes/views/handlers/merci_line_item_handler_area_line_item_summary.inc
Render the area.
merci_line_item_load in merci_line_item/merci_line_item.module
Loads a line item by ID.

File

merci_line_item/merci_line_item.module, line 571
Defines the core MERCI line item entity and API functions interact with line items.

Code

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