function forena_report_preview in Forena Reports 7.5
Same name and namespace in other branches
- 8 forena.report.inc \forena_report_preview()
- 7.4 forena.report.inc \forena_report_preview()
1 string reference to 'forena_report_preview'
- forena_menu in ./
forena.module - Implementation of hook_menu.
File
- ./
forena.report.inc, line 253
Code
function forena_report_preview($report_name) {
$r = Frx::Editor($report_name, TRUE);
drupal_set_title($r->title);
$content['save'] = drupal_get_form('forena_report_save_form', $report_name);
$content['preview'] = $r
->preview();
return $content;
}