[ a ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ w ]
[ _ ]
_
__call
in file GeoNames.php, method Services_GeoNames::__call() Method interceptor that retrieves the corresponding endpoint and return a json decoded object or throw a Services_GeoNames_Exception.
__construct
in file GeoNames.php, method Services_GeoNames::__construct() Constructor, if you're using a commercial account (optional), you must pass your "username" and "token".
in file GeoNames.php, variable Services_GeoNames::$endpoints Array of supported endpoints (listed alphabetically) and their corresponding root property (if any).
in file GeoNames.php, method Services_GeoNames::formatQueryString() Builds a valid query string (url and utf8 encoded) to pass to the endpoint and returns it.
in file GeoNames.php, variable Services_GeoNames::$request The HTTP_Request2 instance, you can customize the request if you want to (proxy, auth etc...) with the get/setRequest() methods.