function forena_render_report in Forena Reports 6.2
Same name and namespace in other branches
- 8 forena.module \forena_render_report()
- 6 forena.module \forena_render_report()
- 7 forena.module \forena_render_report()
- 7.2 forena.module \forena_render_report()
- 7.3 forena.module \forena_render_report()
- 7.4 forena.module \forena_render_report()
Render report with some data
Parameters
string $report:
string $format:
mixed $data:
Return value
unknown
1 call to forena_render_report()
File
- ./
forena.module, line 600
Code
function forena_render_report($report, $format = '', $data = '', $options = array(), $print = TRUE) {
require_once 'forena.common.inc';
$o = forena_report_object($report, $data);
$output = $o
->render($format);
//If a format was requested render a custom non-drupal document
if ($format && $format != 'web') {
$output = FrxReportGenerator::instance()
->generate_doc($format, $output, $options, $print);
}
return $output;
}