function views_handler_filter_in_operator::operator_options in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter_in_operator.inc \views_handler_filter_in_operator::operator_options()
- 7.3 handlers/views_handler_filter_in_operator.inc \views_handler_filter_in_operator::operator_options()
Build strings from the operators() for 'select' options
Overrides views_handler_filter::operator_options
1 method overrides views_handler_filter_in_operator::operator_options()
- views_handler_filter_term_node_tid_depth::operator_options in modules/
taxonomy/ views_handler_filter_term_node_tid_depth.inc - Build strings from the operators() for 'select' options
File
- handlers/
views_handler_filter_in_operator.inc, line 109
Class
- views_handler_filter_in_operator
- Simple filter to handle matching of multiple options selectable via checkboxes
Code
function operator_options($which = 'title') {
$options = array();
foreach ($this
->operators() as $id => $info) {
$options[$id] = $info[$which];
}
return $options;
}