public function GeoIpHandlerInterface::continentName in GeoIP API 7.2
Returns the continent name for a given IP.
Defaults to using the current user's IP if not specified.
Parameters
string $ip: The ip to resolve.
Return value
string|FALSE Continent name or FALSE on failure.
2 methods override GeoIpHandlerInterface::continentName()
- GeoIpHandlerV1::continentName in src/
GeoIpHandlerV1.php - Returns the continent name for a given IP.
- GeoIpHandlerV2::continentName in src/
GeoIpHandlerV2.php - Returns the continent name for a given IP.
File
- src/
GeoIpHandlerInterface.php, line 59 - The GeoIP API Interface.
Class
Namespace
Drupal\geoipCode
public function continentName($ip = NULL);