You are here

function boxes_load_multiple in Boxes 7.2

Load multiple boxess based on certain conditions.

Parameters

$bids: An array of boxes IDs.

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

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

Return value

An array of boxes objects, indexed by pid.

See also

entity_load()

boxes_load()

5 calls to boxes_load_multiple()
boxes_get_all_boxes in ./boxes.module
Load all boxes
boxes_list in includes/boxes.pages.inc
Render a listing of all Boxes.
boxes_load in ./boxes.module
Fetch a boxes object.
boxes_load_delta in ./boxes.module
Fetch a boxes object by its delta.
BoxTests::testBoxesAPI in ./boxes.test
Test the boxes API

File

./boxes.module, line 463

Code

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