Révision 01f36513
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/webform/views/webform_handler_filter_submission_data.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
/** |
4 |
* @file |
|
5 | 4 |
* Definition of webform_handler_filter_submission_data. |
6 |
*/ |
|
7 |
|
|
8 |
/** |
|
5 |
* |
|
9 | 6 |
* Extended version of the string filter handler specialized for Webform values. |
10 | 7 |
* |
11 | 8 |
* @ingroup views_filter_handlers |
... | ... | |
13 | 10 |
class webform_handler_filter_submission_data extends views_handler_filter_string { |
14 | 11 |
|
15 | 12 |
/** |
16 |
* This kind of construct makes it relatively easy for a child class |
|
17 |
* to add or remove functionality by overriding this function and |
|
18 |
* adding/removing items from this array. |
|
13 |
* Add to the list of operators. |
|
14 |
* |
|
15 |
* This kind of construct makes it relatively easy for a child class to add or |
|
16 |
* remove functionality by overriding this function and adding/removing items |
|
17 |
* from this array. |
|
19 | 18 |
*/ |
20 | 19 |
public function operators() { |
21 | 20 |
$operators = parent::operators(); |
... | ... | |
82 | 81 |
* Provide a simple textfield for equality. |
83 | 82 |
*/ |
84 | 83 |
public function value_form(&$form, &$form_state) { |
85 |
// TODO: Adjust the exposed filter form based on component form.
|
|
84 |
// @todo: Adjust the exposed filter form based on component form.
|
|
86 | 85 |
return parent::value_form($form, $form_state); |
87 | 86 |
} |
88 | 87 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules