You are here

function getlocations_fields_handler_filter_distance::operator_options in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_fields/handlers/getlocations_fields_handler_filter_distance.inc \getlocations_fields_handler_filter_distance::operator_options()

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

File

modules/getlocations_fields/handlers/getlocations_fields_handler_filter_distance.inc, line 70
getlocations_fields_handler_filter_distance.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Class

getlocations_fields_handler_filter_distance
General proximity filter for location latitude/longitude.

Code

function operator_options() {
  return array(
    'mbr' => t('Proximity (Rectangular)'),
    'dist' => t('Proximity (Circular)'),
  );
}