You are here

function farm_asset_load_multiple in farmOS 7

Load multiple assets based on certain conditions.

Parameters

array $ids: An array of farm asset ids.

array $conditions: An array of entity load conditions.

bool $reset: Whether or not to reset the entity cache.

Return value

array Returns an array of farm assets.

7 calls to farm_asset_load_multiple()
farm_asset_load in modules/farm/farm_asset/farm_asset.module
Load an asset.
farm_group_asset_form_submit in modules/farm/farm_group/farm_group.module
Submit handler for processing the asset group field.
farm_group_asset_membership_action_submit in modules/farm/farm_group/farm_group.module
Submit handler for farm_group_asset_membership action configuration form.
farm_group_options in modules/farm/farm_group/farm_group.module
Build a list of group options for use in form select fields.
farm_livestock_birth_form_submit in modules/farm/farm_livestock/farm_livestock.farm_quick.birth.inc
Submit callback for birth quick form.

... See full list

File

modules/farm/farm_asset/farm_asset.module, line 807
Farm asset - A farm asset entity type.

Code

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