function _webform_table_phone in Webform Phone Number 7.2
Same name and namespace in other branches
- 7 webform_phone.components.inc \_webform_table_phone()
Return the result of a component value for display in a table. The output of this function will be displayed under the "Results" tab then "Table".
Parameters
$component: A Webform component array.
$value: 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
- ./
webform_phone.components.inc, line 334 - Webform Component information for a phone number field type
Code
function _webform_table_phone($component, $value) {
$rendered_value = _webform_phone_render_value($component, $value);
return strip_tags($rendered_value);
}