You are here

function bean_load_multiple in Bean (for Drupal 7) 7

Load multiple beans based on certain conditions.

Parameters

$bids: An array of bean IDs.

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

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

Return value

An array of bean objects, indexed by pid.

See also

entity_load()

bean_load()

5 calls to bean_load_multiple()
BeanTests::testBeanAPI in tests/BeanTests.test
Test the bean API.
bean_get_all_beans in ./bean.module
Load all beans
bean_list in includes/bean.pages.inc
bean_load in ./bean.module
Fetch a bean object.
bean_load_revision in ./bean.module
Fetch a bean revision

File

./bean.module, line 616
Block Entity

Code

function bean_load_multiple($bids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('bean', $bids, $conditions, $reset);
}