function location_get_general_geocoder_list in Location 7.5
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.3 location.inc \location_get_general_geocoder_list()
- 7.4 location.inc \location_get_general_geocoder_list()
2 calls to location_get_general_geocoder_list()
File
- ./
location.inc, line 643
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;
}