function forena_data_preview in Forena Reports 8
Same name and namespace in other branches
- 7.5 forena.data.inc \forena_data_preview()
- 7.4 forena.data.inc \forena_data_preview()
File
- forena_ui/
forena.data.inc, line 81 - forena.data.inc Common files for diplaying and previewing data blocks.
Code
function forena_data_preview() {
$args = func_get_args();
$block_name = implode('/', $args);
$parms = $_GET;
unset($parms['q']);
$content['add_report']['form'] = drupal_get_form('forena_data_quick_report_form', $block_name);
$content['preview'] = forena_data_block_preview($block_name, $parms);
return $content;
}