Fat-Free Framework: Web\Geo Class Reference

Fat-Free-Framework

Fat-Free Framework  3.1.0 API Reference
Web\Geo Class Reference

Geo plug-in. More...

Inheritance diagram for Web\Geo:
Prefab

Public Member Functions

 tzinfo ($zone)
 
 location ($ip=NULL)
 
 weather ($latitude, $longitude)
 

Additional Inherited Members

- Static Public Member Functions inherited from Prefab
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
$ipstring
Web\Geo::tzinfo (   $zone)

Return information about specified Unix time zone

Returns
array
Parameters
$zonestring
Web\Geo::weather (   $latitude,
  $longitude 
)

Return weather data based on specified latitude/longitude

Returns
array|FALSE
Parameters
$latitudefloat
$longitudefloat

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   doxygen 1.8.4