root / drupal7 / sites / all / modules / webform / views / webform_handler_filter_webform_status.inc @ 7b2d1845
1 |
<?php |
---|---|
2 |
|
3 |
/** |
4 |
* Views handler to filter webforms by open or closed status. |
5 |
*/ |
6 |
class webform_handler_filter_webform_status extends views_handler_filter_boolean_operator { |
7 |
|
8 |
/** |
9 |
* |
10 |
*/ |
11 |
public function get_value_options() { |
12 |
if (!isset($this->value_options)) { |
13 |
$this->value_title = t('Status'); |
14 |
$options = array('1' => t('Open'), '0' => t('Closed')); |
15 |
$this->value_options = $options; |
16 |
} |
17 |
} |
18 |
|
19 |
} |