You are here

public function range_handler_filter_numeric_range::operator_options in Range 7

Provide a list of options for the default operator form.

Should be overridden by classes that don't override operator_form.

Overrides views_handler_filter::operator_options

1 call to range_handler_filter_numeric_range::operator_options()
range_handler_filter_numeric_range::admin_summary in views/range_handler_filter_numeric_range.inc
Display the filter on the administrative summary.

File

views/range_handler_filter_numeric_range.inc, line 53
Contains filter handlers for numeric range filters with views.

Class

range_handler_filter_numeric_range
Filter handler for limiting a view to entities which lies within a range.

Code

public function operator_options() {
  $options = array();
  foreach ($this
    ->operators() as $key => $value) {
    $options[$key] = $value['title'];
  }
  return $options;
}