Fat-Free Framework
3.1.0 API Reference
|
Web\Geo Class Reference
Geo plug-in. More...
Inheritance diagram for Web\Geo:

Public Member Functions | |
tzinfo ($zone) | |
location ($ip=NULL) | |
weather ($latitude, $longitude) | |
Additional Inherited Members | |
![]() | |
static | instance () |
Detailed Description
Geo plug-in.
Member Function Documentation
Web\Geo::location | ( | $ip = NULL ) |
Return geolocation data based on specified/auto-detected IP address
- Returns
- array|FALSE
- Parameters
-
$ip string
Web\Geo::tzinfo | ( | $zone) |
Return information about specified Unix time zone
- Returns
- array
- Parameters
-
$zone string
Web\Geo::weather | ( | $latitude, | |
$longitude | |||
) |
Return weather data based on specified latitude/longitude
- Returns
- array|FALSE
- Parameters
-
$latitude float $longitude float
The documentation for this class was generated from the following file:
- web/geo.php
Generated on Mon Aug 19 2013 21:28:04 for Fat-Free Framework by
