You are here

function webform_export_list in Webform 7.4

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

Return a list of exporters suitable for display in a select list.

3 calls to webform_export_list()
webform_admin_settings in includes/webform.admin.inc
Menu callback for admin/config/content/webform.
webform_results_download_form in includes/webform.report.inc
Form to configure the download of CSV files.
webform_variable_get in ./webform.module
Retrieve a Drupal variable with the appropriate default value.

File

includes/webform.export.inc, line 58
Provides several different handlers for exporting webform results.

Code

function webform_export_list() {
  $exporters = webform_export_fetch_definition();
  $list = array();
  foreach ($exporters as $name => $exporter) {
    $list[$name] = $exporter['title'];
  }
  return $list;
}