You are here

function forena_parameters_report in Forena Reports 7.3

Same name and namespace in other branches
  1. 6.2 forena.module \forena_parameters_report()
  2. 6 forena.module \forena_parameters_report()
  3. 7.5 forena.module \forena_parameters_report()
  4. 7 forena.module \forena_parameters_report()
  5. 7.2 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 439

Code

function forena_parameters_report() {
  require_once 'forena.admin.inc';
  $m = Frx::Menu();
  $name = $m->name;
  $filename = $m->filename;
  $format = $m->format;
  $report = forena_get_report($name);
  if ($report) {
    $r = forena_report_object();
    $o = drupal_get_form('forena_parameters_form');
    return $o;
  }
  else {
    drupal_not_found();
  }
}