You are here

function phpexcel_settings_form in PHPExcel 7.2

Same name and namespace in other branches
  1. 8.3 phpexcel.module \phpexcel_settings_form()
  2. 6.2 phpexcel.module \phpexcel_settings_form()
  3. 6 phpexcel.module \phpexcel_settings_form()
  4. 7.3 phpexcel.module \phpexcel_settings_form()
  5. 7 phpexcel.module \phpexcel_settings_form()

Settings form

1 string reference to 'phpexcel_settings_form'
phpexcel_menu in ./phpexcel.module
Implements hook_menu()

File

./phpexcel.module, line 45
The module file.

Code

function phpexcel_settings_form() {
  $form = array(
    'phpexcel_memcache' => array(
      '#title' => t("Memcache server"),
      '#description' => t("The PHPExcel library can use Memcache for better performance. If you plan on exporting very large Excel files, PHP could run out of memory. By default, phpexcel will gzip all data in memory to increase performance, but if you have Memcache, specify it's location here (usually 'localhost')."),
      '#type' => 'textfield',
      '#default_value' => variable_get('phpexcel_memcache', ''),
    ),
  );
  return system_settings_form($form);
}