function uc_order_product_load_multiple in Ubercart 7.3
Load multiple ordered product entities.
Parameters
array $opids: Array of ordered product IDs of products to load. Default is the empty array, which loads all ordered products.
bool $reset: Whether to reset the internal cache for ordered product IDs. Defaults to FALSE.
Return value
array An array of ordered product entities matching $opids, indexed by ID.
2 calls to uc_order_product_load_multiple()
- UcOrderController::attachLoad in uc_order/
uc_order.controller.inc - Attaches data to entities upon loading.
- uc_order_product_load in uc_order/
uc_order.module - Load a single ordered product entity.
File
- uc_order/
uc_order.module, line 1159
Code
function uc_order_product_load_multiple($opids = array(), $reset = FALSE) {
return entity_load('uc_order_product', $opids, array(), $reset);
}