Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
GeoIp2\ProviderInterface Interface Reference
Inheritance diagram for GeoIp2\ProviderInterface:
GeoIp2\Database\Reader GeoIp2\WebService\Client

Public Member Functions

 city (string $ipAddress)
 
 country (string $ipAddress)
 

Member Function Documentation

◆ city()

GeoIp2\ProviderInterface::city ( string $ipAddress)
Parameters
string$ipAddressan IPv4 or IPv6 address to lookup
Return values
GeoIp2\Model\Citya City model for the requested IP address

Implemented in GeoIp2\Database\Reader, and GeoIp2\WebService\Client.

◆ country()

GeoIp2\ProviderInterface::country ( string $ipAddress)

The documentation for this interface was generated from the following file: