function views_handler_filter_string::operator_values 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_values()
- 7.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::operator_values()
2 calls to views_handler_filter_string::operator_values()
- views_handler_filter_string::admin_summary in handlers/
views_handler_filter_string.inc - Display the filter on the administrative summary
- views_handler_filter_string::value_form in handlers/
views_handler_filter_string.inc - Provide a simple textfield for equality
File
- handlers/
views_handler_filter_string.inc, line 158
Class
- views_handler_filter_string
- Basic textfield filter to handle string filtering commands including equality, like, not like, etc.
Code
function operator_values($values = 1) {
$options = array();
foreach ($this
->operators() as $id => $info) {
if (isset($info['values']) && $info['values'] == $values) {
$options[] = $id;
}
}
return $options;
}