You are here

public function GeoIpHandlerInterface::rawRecord in GeoIP API 7.2

Returns an array of all information related the ip.

!Attention! The array isn't unified in any way. The return will change depending on which DB type / version is used.

Parameters

string $ip: The ip to resolve.

Return value

array Country code or FALSE on failure.

2 methods override GeoIpHandlerInterface::rawRecord()
GeoIpHandlerV1::rawRecord in src/GeoIpHandlerV1.php
Returns an array of all information related the ip.
GeoIpHandlerV2::rawRecord in src/GeoIpHandlerV2.php
Returns an array of all information related the ip.

File

src/GeoIpHandlerInterface.php, line 32
The GeoIP API Interface.

Class

GeoIpHandlerInterface

Namespace

Drupal\geoip

Code

public function rawRecord($ip = NULL);