You are here

function views_export_xls_plugin_style_xls::option_definition in Views Excel Export 6

Same name and namespace in other branches
  1. 7 views/views_export_xls_plugin_style_xls.inc \views_export_xls_plugin_style_xls::option_definition()

Set options fields and default values.

Return value

An array of options information.

File

./views_export_xls_plugin_style_xls.inc, line 46
Plugin include file for export style plugin.

Class

views_export_xls_plugin_style_xls
Generalized style plugin for export plugins.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['filename'] = array(
    'default' => 'view-%view.xls',
    'translatable' => FALSE,
  );

  /*$options['encoding'] = array(
    'default' => 'utf-8',
    'translatable' => FALSE,
    );*/
  return $options;
}