You are here

function asset_load_multiple in Asset 7

Load multiple assets based on certain conditions.

Parameters

$aids: An array of asset IDs or FALSE to load all assets.

$conditions: An array of conditions to match against the {asset} table.

$reset: A boolean indicating that the internal cache should be reset.

Return value

An array of asset objects, indexed by aid.

See also

entity_load()

asset_load()

asset_load_by_type()

1 call to asset_load_multiple()
asset_load in ./asset.module
Fetch an asset object.

File

./asset.module, line 487
Asset module.

Code

function asset_load_multiple($aids = FALSE, $conditions = array(), $reset = FALSE) {
  return entity_load('asset', $aids, $conditions, $reset);
}