function views_export_xls_plugin_style_xls::options_form in Views Excel Export 6
Same name and namespace in other branches
- 7 views/views_export_xls_plugin_style_xls.inc \views_export_xls_plugin_style_xls::options_form()
Options form mini callback.
Parameters
$form: Form array to add additional fields to.
$form_state: State of the form.
Return value
None.
File
- ./
views_export_xls_plugin_style_xls.inc, line 72 - Plugin include file for export style plugin.
Class
- views_export_xls_plugin_style_xls
- Generalized style plugin for export plugins.
Code
function options_form(&$form, &$form_state) {
$form['filename'] = array(
'#type' => 'textfield',
'#title' => t('XLS filename'),
'#default_value' => $this->options['filename'],
'#description' => t('The filename that will be suggested to the browser for downloading purposes. %view will be replaced with the view name.'),
);
/*$options = array('utf-8' => t('UTF-8'), 'cp1252' => t('Western (Windows 1252)'), 'cp1251' => t('Cirillic (Windows 1251)'), 'iso-8859-1' => t('Western (ISO-8859-1)'));
$form['encoding'] = array(
'#type' => 'radios',
'#title' => t('File encoding'),
'#default_value' => $this->options['encoding'],
'#options' => $options,
);*/
}