Class NetGeoIp
NetGeoIP component that wraps Maxmind's GeoIP system. Requires mbstring extension to be enabled with PHP (due to poor coding standards on MaxMind's part).
Package: blesta\components\net\net\geo\ip
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/net/net_geo_ip/net_geo_ip.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/net/net_geo_ip/net_geo_ip.php
Methods summary
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
array
|
#
getLocation( string $ip = null )
Fetches an array of information about the location of the IP address, including longitude and latitude. |
public
string
|
|
public
string
|
#
getOrg( string $ip = null )
Get the organization or ISP that owns the IP address. Requires a premium database. |
private
string
|
Magic methods summary
Properties summary
private
GeoIP
|
$database |
#
The GeoIP database object |