You are here

function field_collection_item_load_multiple in Field collection 7

Loads field collection items.

Parameters

$ids: An array of entity IDs, or FALSE to load all entities.

$conditions: (deprecated) An associative array of conditions on the base table, where the keys are the database fields and the values are the values those fields must have. Instead, it is preferable to use EntityFieldQuery to retrieve a list of entity IDs loadable by this function.

$reset: Whether to reset the internal cache for the requested entity type.

Return value

An array of field collection item entities.

3 calls to field_collection_item_load_multiple()
field_collection_entity_preload in ./field_collection.module
field_collection_field_update in ./field_collection.module
Implements hook_field_update().
field_collection_item_load in ./field_collection.module
Loads a field collection item.

File

./field_collection.module, line 213
Module implementing field collection field type.

Code

function field_collection_item_load_multiple($ids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('field_collection_item', $ids, $conditions, $reset);
}