function location_get_general_geocoder_list in Location 7.3
Same name and namespace in other branches
- 5.3 location.inc \location_get_general_geocoder_list()
- 5 location.inc \location_get_general_geocoder_list()
- 6.3 location.inc \location_get_general_geocoder_list()
- 7.5 location.inc \location_get_general_geocoder_list()
- 7.4 location.inc \location_get_general_geocoder_list()
Geocoder list.
2 calls to location_get_general_geocoder_list()
- location_geocoding_options_form in ./
location.admin.inc - Options form.
- location_geocoding_options_form_submit in ./
location.admin.inc - Submit callback.
File
- ./
location.inc, line 779 - Public API for the Location module.
Code
function location_get_general_geocoder_list() {
$list =& drupal_static(__FUNCTION__, array());
if (!count($list)) {
$files = file_scan_directory(drupal_get_path('module', 'location') . '/geocoding', '/\\.inc$/', array(
'nomask' => '/(\\.\\.?|CVS|\\.svn)$/',
));
foreach ($files as $full_path_name => $fileinfo) {
$list[] = $fileinfo->name;
}
}
return $list;
}