function 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 153
Class
- views_handler_filter_string
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Code
public function operator_options($which = 'title') {
$options = array();
foreach ($this->operators() as $id => $info) {
$options[$id] = $info[$which];
}
return $options;
}