public function getGeoSelectableFields() {
		$all = $this->owner->getSelectableFields(null, false);
		$listTypes = $this->owner->searchableTypes('Page');
		$geoFields = array();
		
		foreach ($listTypes as $classType) {
			$db = Config::inst()->get($classType, 'db');
			foreach ($db as $name => $type) {
				if (is_subclass_of($type, 'SolrGeoPoint') || $type == 'SolrGeoPoint') {
					$geoFields[$name] = $name;
				}
			}
		}

		ksort($geoFields);
		return $geoFields;
	}
public function getGeoSelectableFields() {
		$all = $this->owner->getSelectableFields(null, false);
		$listTypes = $this->owner->searchableTypes('Page');
		$geoFields = array();
		
		foreach ($listTypes as $classType) {
			$db = Config::inst()->get($classType, 'db');
			foreach ($db as $name => $type) {
				if (is_subclass_of($type, 'SolrGeoPoint') || $type == 'SolrGeoPoint') {
					$geoFields[$name] = $name;
				}
			}
		}

		ksort($geoFields);
		return $geoFields;
	}
public function getGeoSelectableFields ( ) { $ all = $ this -> owner -> getSelectableFields ( null , false ) ; $ listTypes = $ this -> owner -> searchableTypes ( 'Page' ) ; $ geoFields = array ( ) ; foreach ( $ listTypes as $ classType ) { $ db = Config :: inst ( ) -> get ( $ classType , 'db' ) ; foreach ( $ db as $ name => $ type ) { if ( is_subclass_of ( $ type , 'SolrGeoPoint' ) || $ type == 'SolrGeoPoint' ) { $ geoFields [ $ name ] = $ name ; } } } ksort ( $ geoFields ) ; return $ geoFields ; }
Get a list of geopoint fields that are selectable
Get a list of geopoint fields that are selectable