function _webform_csv_headers_time in Webform 6.2
Same name and namespace in other branches
- 5.2 components/time.inc \_webform_csv_headers_time()
- 5 components/time.inc \_webform_csv_headers_time()
- 6.3 components/time.inc \_webform_csv_headers_time()
- 7.4 components/time.inc \_webform_csv_headers_time()
- 7.3 components/time.inc \_webform_csv_headers_time()
Return the header information for this component to be displayed in a comma seperated value file. The output of this function will be displayed under the "results" tab then "download".
Parameters
$component: An array of information describing the component, directly correlating to the webform_component database schema.
Return value
An array of data to be displayed in the first three rows of a CSV file, not including either prefixed or trailing commas.
File
- components/
time.inc, line 363 - Webform module time component.
Code
function _webform_csv_headers_time($component) {
$header = array();
$header[0] = '';
$header[1] = '';
$header[2] = $component['name'];
return $header;
}