function views_handler_filter_string::operator_options in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 handlers/views_handler_filter_string.inc \views_handler_filter_string::operator_options()
- 7.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::operator_options()
Build strings from the operators() for 'select' options
Overrides views_handler_filter::operator_options
1 call to views_handler_filter_string::operator_options()
- views_handler_filter_string::admin_summary in handlers/
views_handler_filter_string.inc - Display the filter on the administrative summary
File
- handlers/
views_handler_filter_string.inc, line 126
Class
- views_handler_filter_string
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Code
function operator_options($which = 'title') {
$options = array();
foreach ($this
->operators() as $id => $info) {
$options[$id] = $info[$which];
}
return $options;
}