library/Dot/Geoip.php
Properties
Description
DotBoost Technologies Inc.
DotKernel Application Framework
Classes
Dot_Geoip
Properties
No
No
Description
Geo IP related stuff
Methods
__construct,
getCountryByIp,
__construct(
)
:
dot_Geoip
Description
Constructor
Return value
Type |
Description |
dot_Geoip |
|
Tags
Name |
Description |
access |
public |
getCountryByIp(
string
$ip,
)
:
array
Description
Get the country by IP
Return an array with : short name, like 'us' and long name, like 'United States'
Arguments
Name |
Type |
Description |
Default |
$ip |
string |
|
|
Return value
Tags
Name |
Description |
access |
public |