|
Fat-Free Framework
3.4.0
|
Geo plug-in. More...
Inheritance diagram for Web\Geo:Public Member Functions | |
| tzinfo ($zone) | |
| location ($ip=NULL) | |
| weather ($latitude, $longitude) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Prefab | |
| static | instance () |
Geo plug-in.
| Web\Geo::location | ( | $ip = NULL | ) |
Return geolocation data based on specified/auto-detected IP address
| $ip | string |
| Web\Geo::tzinfo | ( | $zone | ) |
Return information about specified Unix time zone
| $zone | string |
| Web\Geo::weather | ( | $latitude, | |
| $longitude | |||
| ) |
Return weather data based on specified latitude/longitude
| $latitude | float |
| $longitude | float |