public function FrxTemplate::config_form in Forena Reports 6.2
Same name and namespace in other branches
- 7.2 templates/FrxTemplate.inc \FrxTemplate::config_form()
- 7.3 templates/FrxTemplate.inc \FrxTemplate::config_form()
* Returns the section * Enter description here ...
2 methods override FrxTemplate::config_form()
- FrxEmailMerge::config_form in templates/
FrxEmailMerge.inc - * Returns the section * Enter description here ...
- FrxGraphTemplate::config_form in templates/
FrxGraphTemplate.inc - * Returns the section * Enter description here ...
File
- templates/
FrxTemplate.inc, line 59
Class
Code
public function config_form($config, $xml = '') {
$form_ctl = array();
$form_ctl['heading'] = array(
'#type' => 'textfield',
'#title' => t('Heading'),
'#default_value' => @$config['heading'],
);
$form_ctl['description'] = array(
'#type' => 'textarea',
'#title' => t('Description'),
'#rows' => 2,
'#default_value' => @$config['description'],
);
$form_ctl['include'] = array(
'#type' => 'textfield',
'#title' => 'Include Report (graph/image)',
'#autocomplete_path' => 'forena/reports/autocomplete',
'#default_value' => @$config['include'],
);
return $form_ctl;
}