function _geocoder_cache_cid in Geocoder 7
Create a unified cache id from relevant cache data.
2 calls to _geocoder_cache_cid()
- geocoder_cache_get in ./
geocoder.module - Retrieve a cached geocoded location.
- geocoder_cache_set in ./
geocoder.module - Cache a geocoded result.
File
- ./
geocoder.module, line 340
Code
function _geocoder_cache_cid($data) {
ksort($data);
return sha1(serialize($data));
}