public function views_handler_filter_string::operator_values in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter_string.inc \views_handler_filter_string::operator_values()
- 6.2 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 187 - 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
public function operator_values($values = 1) {
$options = array();
foreach ($this
->operators() as $id => $info) {
if (isset($info['values']) && $info['values'] == $values) {
$options[] = $id;
}
}
return $options;
}