function forena_report_block_select_form in Forena Reports 8
Same name and namespace in other branches
- 7.5 forena.report.inc \forena_report_block_select_form()
- 7.4 forena.report.inc \forena_report_block_select_form()
Preview the block
Parameters
unknown $report_name:
unknown $block_name:
string $id:
Return value
multitype:string unknown multitype:string unknown multitype:string multitype:string Ambigous <The, string, A, Optional>
1 string reference to 'forena_report_block_select_form'
- forena_report_block_preview in ./
forena.report.inc - Page to allow selection of a data block with parameters.
File
- ./
forena.report.inc, line 863
Code
function forena_report_block_select_form($form, &$form_state, $report_name, $action, $block_name, $id = '') {
$form['action'] = array(
'#type' => 'value',
'#value' => $action,
);
$form['report_name'] = array(
'#type' => 'value',
'#value' => $report_name,
);
$form['block_name'] = array(
'#type' => 'value',
'#value' => $block_name,
);
$form['id'] = array(
'#type' => 'value',
'#value' => $id,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Select'),
);
return $form;
}