You are here

function forena_parameters_report in Forena Reports 6.2

Same name and namespace in other branches
  1. 6 forena.module \forena_parameters_report()
  2. 7.5 forena.module \forena_parameters_report()
  3. 7 forena.module \forena_parameters_report()
  4. 7.2 forena.module \forena_parameters_report()
  5. 7.3 forena.module \forena_parameters_report()
  6. 7.4 forena.module \forena_parameters_report()

Calls forena_parameter_form in forena.common.inc

File

./forena.module, line 419

Code

function forena_parameters_report() {
  require_once 'forena.admin.inc';
  $desc = forena_report_desc();
  $name = $desc['name'];
  $filename = $desc['filename'];
  $format = $desc['format'];
  $report = forena_get_report($name);
  if ($report) {
    $r = forena_report_object();
    return drupal_get_form('forena_parameters_form');
  }
  else {
    drupal_not_found();
  }
}