function _webform_csv_data_textfield in Webform 7.4
Same name and namespace in other branches
- 5.2 components/textfield.inc \_webform_csv_data_textfield()
- 5 components/textfield.inc \_webform_csv_data_textfield()
- 6.3 components/textfield.inc \_webform_csv_data_textfield()
- 6.2 components/textfield.inc \_webform_csv_data_textfield()
- 7.3 components/textfield.inc \_webform_csv_data_textfield()
Implements _webform_csv_data_component().
File
- components/
textfield.inc, line 312 - Webform module textfield component.
Code
function _webform_csv_data_textfield($component, $export_options, $value) {
return !isset($value[0]) ? '' : $value[0];
}