You are here

function google_analytics_reports_handler_filter_string::operator_values in Google Analytics Reports 7.3

2 calls to google_analytics_reports_handler_filter_string::operator_values()
google_analytics_reports_handler_filter_string::admin_summary in handlers/google_analytics_reports_handler_filter_string.inc
Display the filter on the administrative summary.
google_analytics_reports_handler_filter_string::value_form in handlers/google_analytics_reports_handler_filter_string.inc
Provide a simple textfield for equality.

File

handlers/google_analytics_reports_handler_filter_string.inc, line 87
Definition of google_analytics_reports_handler_filter_string.

Class

google_analytics_reports_handler_filter_string
Basic textfield filter to handle string filtering commands.

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;
}