You are here

function casetracker_case_load_multiple in Case Tracker 7.2

Load multiple casetracker_cases based on certain conditions.

Parameters

$cids: An array of case IDs.

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

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

Return value

An array of casetracker_case objects, indexed by pid.

See also

entity_load()

casetracker_case_load()

1 call to casetracker_case_load_multiple()
casetracker_case_load in ./casetracker_case.inc
Fetch a casetracker_case object. Make sure that the wildcard you choose in the casetracker_case entity definition fits the function name here.

File

./casetracker_case.inc, line 71
This file concentrates all general functionality related to Cases in Case Tracker, leaving to the other files in /admin the stuff related to CRUD and structural configuration

Code

function casetracker_case_load_multiple($cids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('casetracker_case', $cids, $conditions, $reset);
}