function views_handler_filter_string_compare::operator_options in Amazon Product Advertisement API 7
Same name and namespace in other branches
- 6 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::operator_options()
- 7.2 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::operator_options()
Build strings from the operators() for 'select' options
Overrides views_handler_filter::operator_options
1 call to views_handler_filter_string_compare::operator_options()
- views_handler_filter_string_compare::admin_summary in includes/
views_handler_filter_string_compare.inc - Display the filter on the administrative summary.
File
- includes/
views_handler_filter_string_compare.inc, line 111
Class
- views_handler_filter_string_compare
- 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;
}