1 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
File
- core/
modules/ views/ handlers/ views_handler_filter_string.inc, line 140 - 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;
}