Revision 76bdcd04
Added by Assos Assos almost 6 years ago
drupal7/sites/all/modules/webform/views/webform_handler_field_submission_data.inc | ||
---|---|---|
10 | 10 |
class webform_handler_field_submission_data extends views_handler_field { |
11 | 11 |
|
12 | 12 |
/** |
13 |
* |
|
13 |
* {@inheritdoc}
|
|
14 | 14 |
*/ |
15 | 15 |
public function construct() { |
16 | 16 |
// We need to set this property before calling the construct() chain |
... | ... | |
20 | 20 |
} |
21 | 21 |
|
22 | 22 |
/** |
23 |
* |
|
23 |
* {@inheritdoc}
|
|
24 | 24 |
*/ |
25 | 25 |
public function option_definition() { |
26 | 26 |
$options = parent::option_definition(); |
... | ... | |
33 | 33 |
} |
34 | 34 |
|
35 | 35 |
/** |
36 |
* |
|
36 |
* {@inheritdoc}
|
|
37 | 37 |
*/ |
38 | 38 |
public function options_form(&$form, &$form_state) { |
39 | 39 |
parent::options_form($form, $form_state); |
... | ... | |
80 | 80 |
} |
81 | 81 |
|
82 | 82 |
/** |
83 |
* |
|
83 |
* {@inheritdoc}
|
|
84 | 84 |
*/ |
85 | 85 |
public function options_validate(&$form, &$form_state) { |
86 | 86 |
parent::options_validate($form, $form_state); |
... | ... | |
90 | 90 |
} |
91 | 91 |
|
92 | 92 |
/** |
93 |
* |
|
93 |
* {@inheritdoc}
|
|
94 | 94 |
*/ |
95 | 95 |
public function options_submit(&$form, &$form_state) { |
96 | 96 |
parent::options_submit($form, $form_state); |
... | ... | |
224 | 224 |
$render['#theme_wrappers'] = array(); |
225 | 225 |
} |
226 | 226 |
else { |
227 |
// Plain text format is generated via invoking the table output to ensure output is sanitised. |
|
227 |
// Plain text format is generated via invoking the table output to |
|
228 |
// ensure output is sanitised. |
|
228 | 229 |
$data = isset($submission->data[$component['cid']]) ? $submission->data[$component['cid']] : NULL; |
229 | 230 |
$render = webform_component_invoke($component['type'], 'table', $component, $data); |
230 | 231 |
} |
Also available in: Unified diff
Weekly update of contrib modules