You are here

function commerce_option_set_load_multiple in Commerce Product Option 7.2

Load multiple commerce option sets.

Parameters

$option_set_ids: An array of entity IDs or FALSE to return all entities.

$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 option_id.

6 calls to commerce_option_set_load_multiple()
commerce_option_commerce_cart_product_comparison_properties_alter in ./commerce_option.module
Implements hook_commerce_cart_product_comparison_properties_alter().
commerce_option_entity_info_alter in ./commerce_option.module
Implements hook_entity_info_alter().
commerce_option_entity_property_info_alter in ./commerce_option.module
Implements hook_entity_property_info_alter().
commerce_option_form in ./commerce_option.admin.inc
Commerce Option create/edit form
commerce_option_new in ./commerce_option.module
Initialize a new commerce option.

... See full list

File

./commerce_option.module, line 359

Code

function commerce_option_set_load_multiple($option_set_ids, $conditions = array(), $reset = FALSE) {
  return entity_load('commerce_option_set', $option_set_ids, $conditions, $reset);
}