You are here

function casetracker_project_load_multiple in Case Tracker 7.2

Load multiple casetracker_projects based on certain conditions.

Parameters

$pids: An array of project IDs.

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

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

Return value

An array of casetracker_project objects, indexed by pid.

See also

entity_load()

casetracker_project_load()

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

File

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

Code

function casetracker_project_load_multiple($pids = array(), $conditions = array(), $reset = FALSE) {
  return entity_load('casetracker_project', $pids, $conditions, $reset);
}