You are here

function insight_report_load in Insight 7

File

./insight.module, line 188

Code

function insight_report_load($irid) {
  $report = db_select('insight_report', 'r')
    ->fields('r')
    ->condition('r.irid', $irid)
    ->execute()
    ->fetchAssoc();

  // Otherwise the set was not found.
  return $report;
}