protected function AcquiaLiftLearnReport::getReportData in Acquia Lift Connector 7.2
Retrieves the report data from the data source and stores it locally.
Return value
array An array of report data.
2 calls to AcquiaLiftLearnReport::getReportData()
- AcquiaLiftLearnReport::getAggregateResults in includes/
AcquiaLiftLearnReport.inc - Retrieves the aggregated results for the campaign.
- AcquiaLiftLearnReport::getDailyData in includes/
AcquiaLiftLearnReport.inc - Gets the per-day confidence report from the report data source.
File
- includes/
AcquiaLiftLearnReport.inc, line 95
Class
- AcquiaLiftLearnReport
- Class for Acquia Lift Learn Reports.
Code
protected function getReportData() {
if ($this->reportData === NULL) {
try {
$this->reportData = $this->reportDataSrc
->getReportForDateRange($this->agent
->getMachineName(), date('Y-m-d', $this->start_time), date('Y-m-d', $this->end_time));
} catch (Exception $e) {
drupal_set_message(t('There was a problem retrieving reporting data for this campaign, please try again later.'), 'error');
}
}
return $this->reportData;
}