function views_handler_filter_string::operator_options
3.x views_handler_filter_string.inc | views_handler_filter_string::operator_options($which = 'title') |
2.x views_handler_filter_string.inc | views_handler_filter_string::operator_options($which = 'title') |
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 141 - Definition of views_handler_filter_string.
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;
}