function spl_reports($params = null, $config = null) { $report = new SPL_Report($params, $config); $report->getReport(); if (!spl_reports_restricted($params, $config)) { if (is_object($report)) { return $report->output(); } else { return 'Uh oh. Error loading report.'; } } else { return '<h4 class="text-danger">Access to this page is restricted.</h4>'; } }
protected function processData($data = null) { return parent::processData($data); }