|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
Public Member Functions | |
| city (string $ipAddress) | |
| country (string $ipAddress) | |
| GeoIp2\ProviderInterface::city | ( | string | $ipAddress | ) |
| string | $ipAddress | an IPv4 or IPv6 address to lookup |
| Model::City | a City model for the requested IP address |
Implemented in GeoIp2\Database\Reader.
| GeoIp2\ProviderInterface::country | ( | string | $ipAddress | ) |
Implemented in GeoIp2\Database\Reader.