function commerce_option_load_multiple in Commerce Product Option 7
Same name and namespace in other branches
- 7.2 commerce_option.module \commerce_option_load_multiple()
Load multiple test entities based on certain conditions.
Parameters
$pids: An array of entity IDs.
$conditions: An array of conditions to match against the {entity} table.
$reset: A boolean indicating that the internal cache should be reset.
Return value
An array of test entity objects, indexed by pid.
2 calls to commerce_option_load_multiple()
- commerce_option_load in ./
commerce_option.module - Fetch a option object.
- commerce_option_load_by_line_item in ./
commerce_option.module - Load all options associated with the line item.
File
- ./
commerce_option.module, line 149
Code
function commerce_option_load_multiple($pids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('commerce_option', $pids, $conditions, $reset);
}