function commerce_invoice_load_multiple in Commerce Invoice 7
Loads multiple invoices by ID or based on a set of matching conditions.
Parameters
$invoice_ids: An array of invoice IDs.
$conditions: An array of conditions on the {commerce_invoice} table in the form 'field' => $value.
$reset: Whether to reset the internal invoice loading cache.
Return value
An array of invoice objects indexed by invoice_id.
See also
1 call to commerce_invoice_load_multiple()
- commerce_invoice_load in ./
commerce_invoice.module - Loads an invoice by ID.
File
- ./
commerce_invoice.module, line 118 - Generates the invoice and allows you to display an invoice id in views
Code
function commerce_invoice_load_multiple($invoice_ids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('commerce_invoice', $invoice_ids, $conditions, $reset);
}