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

Index of all elements

[ c ] [ d ] [ g ] [ i ] [ l ] [ n ] [ o ] [ s ]

c

close
in file GeoIP.php, method Net_GeoIP::close()
    Closes the geoip database.
top

d

distance
in file Location.php, method Net_GeoIP_Location::distance()
    Calculate the distance in km between two points.
DMA.php
procedural page DMA.php
top

g

GeoIP.php
procedural page GeoIP.php
getDMACode
in file DMA.php, method Net_GeoIP_DMA::getDMACode()
    Reverse lookup of DMA code if [exact] metro region name is known.
getInstance
in file GeoIP.php, method Net_GeoIP::getInstance()
    Singleton method, use this to get an instance and avoid re-parsing the db.
getMetroRegion
in file DMA.php, method Net_GeoIP_DMA::getMetroRegion()
    Lookup the metro region based on the provided DMA code.
getOrg
in file GeoIP.php, method Net_GeoIP::getOrg()
    Seek and return organization (or ISP) name for converted IP addr.
getRecord
in file GeoIP.php, method Net_GeoIP::getRecord()
    Seek and populate Net_GeoIP_Location object for converted IP addr.
getRegion
in file GeoIP.php, method Net_GeoIP::getRegion()
    Seek and return the region info (array containing country code and region name) for converted IP addr.
top

i

initialize
in file DMA.php, method Net_GeoIP_DMA::initialize()
    Holds DMA -> Metro mapping.
top

l

Location.php
procedural page Location.php
loadSharedMemory
in file GeoIP.php, method Net_GeoIP::loadSharedMemory()
    Loads the database file into shared memory.
lookupCountryCode
in file GeoIP.php, method Net_GeoIP::lookupCountryCode()
    Returns 2-letter country code (e.g. 'CA') for specified IP address.
lookupCountryId
in file GeoIP.php, method Net_GeoIP::lookupCountryId()
    Get the country index.
lookupCountryName
in file GeoIP.php, method Net_GeoIP::lookupCountryName()
    Returns full country name for specified IP address.
lookupLocation
in file GeoIP.php, method Net_GeoIP::lookupLocation()
    Lookup the location record for given IP address.
lookupOrg
in file GeoIP.php, method Net_GeoIP::lookupOrg()
    Lookup the organization (or ISP) for given IP address.
lookupRegion
in file GeoIP.php, method Net_GeoIP::lookupRegion()
    Lookup the region for given IP address.
top

n

Net_GeoIP
in file GeoIP.php, class Net_GeoIP
    GeoIP class provides an API for performing geo-location lookups based on IP address.
Net_GeoIP_DMA
in file DMA.php, class Net_GeoIP_DMA
    Static class to handle mapping of DMA codes to metro regions.
Net_GeoIP_Location
in file Location.php, class Net_GeoIP_Location
    This class represents a location record as returned by Net_GeoIP::lookupLocation().
top

o

open
in file GeoIP.php, method Net_GeoIP::open()
    Opens geoip database at filename and with specified flags.
top

s

seekCountry
in file GeoIP.php, method Net_GeoIP::seekCountry()
    Using the record length and appropriate start points, seek to the country that corresponds to the converted IP address integer.
setupSegments
in file GeoIP.php, method Net_GeoIP::setupSegments()
    Parses the database file to determine what kind of database is being used and setup segment sizes and start points that will be used by the seek*() methods later.
top

Documentation generated on Fri, 01 Sep 2006 09:15:04 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.