[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ w ] [ _ ]

a

AUTHORIZATION_EXCEPTION
in file GeoNames.php, class constant Services_GeoNames::AUTHORIZATION_EXCEPTION
    Exception codes constants from:
top

d

DAILY_LIMIT_OF_CREDITS_EXCEEDED
in file GeoNames.php, class constant Services_GeoNames::DAILY_LIMIT_OF_CREDITS_EXCEEDED
    Exception codes constants from:
DATABASE_TIMEOUT
in file GeoNames.php, class constant Services_GeoNames::DATABASE_TIMEOUT
    Exception codes constants from:
DUPLICATE_EXCEPTION
in file GeoNames.php, class constant Services_GeoNames::DUPLICATE_EXCEPTION
    Exception codes constants from:
top

e

$endpoints
in file GeoNames.php, variable Services_GeoNames::$endpoints
    Array of supported endpoints (listed alphabetically) and their corresponding root property (if any). You can retrieve the list of endpoints (only the keys of this array) with the Services_GeoNames::getSupportedEndpoints() method.
examples1.php
procedural page examples1.php
Exception.php
procedural page Exception.php
top

f

$failoverServers
in file GeoNames.php, variable Services_GeoNames::$failoverServers
    Array of failover servers.
formatQueryString
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.
top

g

getRequest
in file GeoNames.php, method Services_GeoNames::getRequest()
    Returns the HTTP_Request2 instance, if it's not yet set it is instanciated on the fly.
getSupportedEndpoints
in file GeoNames.php, method Services_GeoNames::getSupportedEndpoints()
    Returns an array of supported services endpoints.
GeoNames.php
procedural page GeoNames.php
top

h

HOURLY_LIMIT_OF_CREDITS_EXCEEDED
in file GeoNames.php, class constant Services_GeoNames::HOURLY_LIMIT_OF_CREDITS_EXCEEDED
    Exception codes constants from:
top

i

INVALID_PARAMETER
in file GeoNames.php, class constant Services_GeoNames::INVALID_PARAMETER
    Exception codes constants from:
isUtf8
in file GeoNames.php, method Services_GeoNames::isUtf8()
    Check if the given string is a UTF-8 string or an iso-8859-1 one.
top

n

NO_RESULT_FOUND
in file GeoNames.php, class constant Services_GeoNames::NO_RESULT_FOUND
    Exception codes constants from:
top

o

OTHER_ERROR
in file GeoNames.php, class constant Services_GeoNames::OTHER_ERROR
    Exception codes constants from:
top

p

POSTAL_CODE_NOT_FOUND
in file GeoNames.php, class constant Services_GeoNames::POSTAL_CODE_NOT_FOUND
    Exception codes constants from:
top

r

$request
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.
$response
in file Exception.php, variable Services_GeoNames_HTTPException::$response
    HTTP_Request2_Response instance.
RECORD_DOES_NOT_EXIST
in file GeoNames.php, class constant Services_GeoNames::RECORD_DOES_NOT_EXIST
    Exception codes constants from:
top

s

sendRequest
in file GeoNames.php, method Services_GeoNames::sendRequest()
    Sends the request to the server using HTTP_Request2.
Services_GeoNames
in file GeoNames.php, class Services_GeoNames
    Main interface to the GeoNames API: http://www.geonames.org/export/web-services.html
Services_GeoNames_Exception
in file Exception.php, class Services_GeoNames_Exception
    Base class for exceptions raised by the Services_GeoNames package.
Services_GeoNames_HTTPException
in file Exception.php, class Services_GeoNames_HTTPException
    Class for HTTP exceptions raised by the Services_GeoNames package.
setRequest
in file GeoNames.php, method Services_GeoNames::setRequest()
    Sets the HTTP_Request2 instance.
top

t

$token
in file GeoNames.php, variable Services_GeoNames::$token
    Auth token, only relevant for the geonames commercial web services: http://www.geonames.org/commercial-webservices.html
top

u

$url
in file GeoNames.php, variable Services_GeoNames::$url
    Url of the GeoNames web service.
$username
in file GeoNames.php, variable Services_GeoNames::$username
    Auth username, only relevant for the geonames commercial web services: http://www.geonames.org/commercial-webservices.html
UNSUPPORTED_ENDPOINT
in file GeoNames.php, class constant Services_GeoNames::UNSUPPORTED_ENDPOINT
    Exception code constant defined by this package.
top

w

WEEKLY_LIMIT_OF_CREDITS_EXCEEDED
in file GeoNames.php, class constant Services_GeoNames::WEEKLY_LIMIT_OF_CREDITS_EXCEEDED
    Exception codes constants from:
top

_

__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".
__construct
in file Exception.php, method Services_GeoNames_HTTPException::__construct()
    Constructor.
top

Documentation generated on Fri, 01 Oct 2010 11:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.