You are here

function _webform_table_data_email in Webform 6.2

Same name and namespace in other branches
  1. 5.2 components/email.inc \_webform_table_data_email()
  2. 5 components/email.inc \_webform_table_data_email()

Return the result of this component's submission for display in a table. The output of this function will be displayed under the "results" tab then "table".

Parameters

$data: An array of information containing the submission result, directly correlating to the webform_submitted_data database schema

Return value

Textual output formatted for human reading.

File

components/email.inc, line 230
Webform module email component.

Code

function _webform_table_data_email($data) {
  return check_plain(empty($data['value']['0']) ? '' : $data['value']['0']);
}