Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
Public Member Functions | |
city (string $ipAddress) | |
country (string $ipAddress) | |
GeoIp2\ProviderInterface::city | ( | string | $ipAddress | ) |
string | $ipAddress | an IPv4 or IPv6 address to lookup |
GeoIp2\Model\City | a City model for the requested IP address |
Implemented in GeoIp2\Database\Reader, and GeoIp2\WebService\Client.
GeoIp2\ProviderInterface::country | ( | string | $ipAddress | ) |
Implemented in GeoIp2\Database\Reader, and GeoIp2\WebService\Client.