function webform_export_fetch_definition in Webform 6.3
Same name and namespace in other branches
- 5.2 webform_export.inc \webform_export_fetch_definition()
- 6.2 webform_export.inc \webform_export_fetch_definition()
- 7.4 includes/webform.export.inc \webform_export_fetch_definition()
- 7.3 includes/webform.export.inc \webform_export_fetch_definition()
Returns a Webform exporter definition.
2 calls to webform_export_fetch_definition()
- webform_export_create_handler in includes/
webform.export.inc - Instantiates a new Webform handler based on the format.
- webform_export_list in includes/
webform.export.inc - Return a list of exporters suitable for display in a select list.
File
- includes/
webform.export.inc, line 47 - Provides several different handlers for exporting webform results.
Code
function webform_export_fetch_definition($format = NULL) {
static $cache;
if (!isset($cache)) {
$cache = module_invoke_all('webform_exporters');
}
if (isset($format)) {
if (isset($cache[$format])) {
return $cache[$format];
}
}
else {
return $cache;
}
}