You are here

public function Forena::report in Forena Reports 8

Run a report with a particular format.

@parms array $parms Parameter values to pass to report

Parameters

$machine_name: Name of report.

Return value

array|string

Overrides FrxAPI::report

File

src/Forena.php, line 26

Class

Forena

Namespace

Drupal\forena

Code

public function report($report, $parms = []) {
  $content = ReportManager::instance()
    ->report($report, $parms);
  return $content;
}