You are here

function biblio_load_multiple in Bibliography Module 7.3

Same name and namespace in other branches
  1. 7.2 biblio.module \biblio_load_multiple()

Load biblio entities from the database.

This function should be used whenever you need to load more than one biblio from the database. biblios are loaded into memory and will not require database access if loaded again during the same page request.

Parameters

array $bids: An array of biblio IDs.

bool $reset: Whether to reset the internal entity_load cache.

Return value

An array of biblio objects indexed by bid.

See also

entity_load()

1 call to biblio_load_multiple()
biblio_ui_export in modules/biblio_ui/biblio_ui.module
Export a Biblio entity to a file by a given format and array of IDs.

File

./biblio.module, line 691
Maintains bibliographic lists.

Code

function biblio_load_multiple($bids = array(), $reset = FALSE) {
  return entity_load('biblio', $bids, array(), $reset);
}