class pay_handler_filter_handler in Pay 6
Same name and namespace in other branches
- 7 includes/views/pay_handler_filter_handler.inc \pay_handler_filter_handler
Hierarchy
- class \pay_handler_filter_handler extends \views_handler_filter_in_operator
Expanded class hierarchy of pay_handler_filter_handler
1 string reference to 'pay_handler_filter_handler'
- pay_views_data in includes/
views/ pay.views.inc - Implementation of hook_views_data(). TODO
File
- includes/
views/ pay_handler_filter_handler.inc, line 3
View source
class pay_handler_filter_handler extends views_handler_filter_in_operator {
function construct() {
parent::construct();
$this->pay_type = $this->definition['pay_type'];
}
function get_value_options() {
if (!isset($this->value_options)) {
$this->value_options = array();
// Provide a list of available handlers to select from.
foreach (pay_handlers($this->pay_type) as $name => $info) {
$this->value_options[$name] = $info['title'];
}
}
}
}