You are here

function _webform_csv_headers_multifile in Webform Multiple File Upload 6

Same name and namespace in other branches
  1. 7 multifile.inc \_webform_csv_headers_multifile()

Implementation of _webform_csv_headers_component().

Note: This function is identical to _webform_csv_headers_file().

File

./multifile.inc, line 684
Webform module file component.

Code

function _webform_csv_headers_multifile($component, $export_options) {
  $header = array();

  // Two columns in header.
  $header[0] = array(
    '',
    '',
  );
  $header[1] = array(
    $component['name'],
    '',
  );
  $header[2] = array(
    t('Name'),
    t('Filesize (KB)'),
  );
  return $header;
}