function forena_query_update in Forena Reports 7.3
Function to allow all normal button submits to be for the form.
_state
Parameters
unknown_type $form:
1 string reference to 'forena_query_update'
File
- ./
forena_query.inc, line 493
Code
function forena_query_update($form, &$form_state) {
$form_state['rebuild'] = TRUE;
if ($form_state['storage']['block']['type'] == 'sql') {
switch ($form_state['storage']['step']) {
case 'sql':
forena_query_update_sql($form, $form_state);
break;
case 'builder':
forena_query_update_builder($form, $form_state);
break;
}
}
}