You are here

function google_analytics_reports_handler_filter::operator_options in Google Analytics Reports 7.3

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

2 calls to google_analytics_reports_handler_filter::operator_options()
google_analytics_reports_handler_filter_numeric::admin_summary in handlers/google_analytics_reports_handler_filter_numeric.inc
Display the filter on the administrative summary.
google_analytics_reports_handler_filter_string::admin_summary in handlers/google_analytics_reports_handler_filter_string.inc
Display the filter on the administrative summary.

File

handlers/google_analytics_reports_handler_filter.inc, line 70
Definition of google_analytics_reports_handler_filter.

Class

google_analytics_reports_handler_filter
Provides base filter functionality for Google Analytics fields.

Code

function operator_options($which = 'title') {
  $options = array();
  foreach ($this
    ->operators() as $id => $info) {
    $options[$id] = $info[$which];
  }
  return $options;
}