You are here

function webform_webform_exporters in Webform 6.2

Same name and namespace in other branches
  1. 5.2 webform_export.inc \webform_webform_exporters()
  2. 6.3 includes/webform.export.inc \webform_webform_exporters()
  3. 7.4 includes/webform.export.inc \webform_webform_exporters()
  4. 7.3 includes/webform.export.inc \webform_webform_exporters()

Implementation of hook_webform_exporters().

Defines the exporters this module implements.

Return value

An "array of arrays", keyed by content-types. The 'handler' slot should point to the PHP class implementing this flag.

File

./webform_export.inc, line 17
Provides several different handlers for exporting webform results.

Code

function webform_webform_exporters() {
  return array(
    'delimited' => array(
      'title' => t('Delimited text'),
      'description' => t('A plain text file delimited by commas, tabs, or other characters.'),
      'handler' => 'webform_exporter_delimited',
    ),
    'excel' => array(
      'title' => t('Microsoft Excel'),
      'description' => t('A file readable by Microsoft Excel.'),
      'handler' => 'webform_exporter_excel',
    ),
  );
}