function webform_exporter::set_headers in Webform 6.2
Same name and namespace in other branches
- 5.2 webform_export.inc \webform_exporter::set_headers()
- 6.3 includes/webform.export.inc \webform_exporter::set_headers()
- 7.4 includes/exporters/webform_exporter.inc \webform_exporter::set_headers()
- 7.3 includes/webform.export.inc \webform_exporter::set_headers()
1 call to webform_exporter::set_headers()
1 method overrides webform_exporter::set_headers()
File
- ./
webform_export.inc, line 83 - Provides several different handlers for exporting webform results.
Class
Code
function set_headers($filename) {
drupal_set_header('Content-Type: application/force-download');
drupal_set_header('Pragma: public');
drupal_set_header('Cache-Control: max-age=0');
}