function uc_coupon_load_multiple in Ubercart Discount Coupons 7.3
Loads one or more coupon entities from the database.
Parameters
$ids: An array of coupon IDs.
$conditions: An array of conditions on the {uc_coupons} table in the form 'field' => $value.
Return value
An array of order objects indexed by order_id.
1 call to uc_coupon_load_multiple()
- uc_coupon_load in ./
uc_coupon.module - Loads one coupon entity from the database.
File
- ./
uc_coupon.module, line 2167 - Provides discount codes and gift certificates for Ubercart.
Code
function uc_coupon_load_multiple($ids, $conditions = array(), $reset = FALSE) {
return entity_load('uc_coupon', $ids, $conditions, $reset);
}