public static function WebServiceUtilityInterface::getGeolocation in Smart IP 8.3
Same name and namespace in other branches
- 8.4 src/WebServiceUtilityInterface.php \Drupal\smart_ip\WebServiceUtilityInterface::getGeolocation()
- 8.2 src/WebServiceUtilityInterface.php \Drupal\smart_ip\WebServiceUtilityInterface::getGeolocation()
Perform HTTP request and decoding the raw Geolocation data returned by Smart IP's data source module web service.
Parameters
string $ipAddress: IP address to query for geolocation.
Return value
array Geolocation data returned by Smart IP's data source module web service.
3 methods override WebServiceUtilityInterface::getGeolocation()
- WebServiceUtility::getGeolocation in modules/
smart_ip_ipinfodb_web_service/ src/ WebServiceUtility.php - Perform HTTP request and decoding the raw Geolocation data returned by Smart IP's data source module web service.
- WebServiceUtility::getGeolocation in modules/
smart_ip_abstract_web_service/ src/ WebServiceUtility.php - Perform HTTP request and decoding the raw Geolocation data returned by Smart IP's data source module web service.
- WebServiceUtility::getGeolocation in modules/
smart_ip_maxmind_geoip2_web_service/ src/ WebServiceUtility.php - Perform HTTP request and decoding the raw Geolocation data returned by Smart IP's data source module web service.
File
- src/
WebServiceUtilityInterface.php, line 48 - Contains \Drupal\smart_ip\WebServiceUtilityInterface.
Class
- WebServiceUtilityInterface
- Provides an interface for Smart IP's data source modules for its web service.
Namespace
Drupal\smart_ipCode
public static function getGeolocation($ipAddress);