function _search_api_location_key_map in Search API Location 7
Helper function that returns location key map array
1 call to _search_api_location_key_map()
- search_api_location_entity_struct_info in ./
search_api_location.module - Defines info for the properties of the struct data structure for location.
File
- ./
search_api_location.module, line 91 - Search API Location module author: dolarchik (d.olaresko@madcap.nl)
Code
function _search_api_location_key_map() {
return array(
'lid' => array(
'type' => 'integer',
'label' => t('Lid'),
),
'latitude' => array(
'type' => 'decimal',
'label' => t('Latitude'),
),
'longitude' => array(
'type' => 'decimal',
'label' => t('Longitude'),
),
'name' => array(
'type' => 'text',
'label' => t('Name'),
),
'street' => array(
'type' => 'text',
'label' => t('Street'),
),
'additional' => array(
'type' => 'text',
'label' => t('Additional'),
),
'city' => array(
'type' => 'text',
'label' => t('City'),
),
'province' => array(
'type' => 'text',
'label' => t('Province'),
),
'postal_code' => array(
'type' => 'text',
'label' => t('Postal code'),
),
'country' => array(
'type' => 'text',
'label' => t('Country'),
),
'province_name' => array(
'type' => 'text',
'label' => t('Province name'),
),
'country_name' => array(
'type' => 'text',
'label' => t('Country name'),
),
);
}