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

Index of all elements

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ r ] [ s ] [ u ] [ w ] [ _ ]

a

$aData
in file Location.php, variable Net_GeoIP_Location::$aData
top

c

$COUNTRY_CODES
in file GeoIP.php, variable Net_GeoIP::$COUNTRY_CODES
$COUNTRY_CODES3
in file GeoIP.php, variable Net_GeoIP::$COUNTRY_CODES3
$COUNTRY_NAMES
in file GeoIP.php, variable Net_GeoIP::$COUNTRY_NAMES
CANADA_OFFSET
in file GeoIP.php, class constant Net_GeoIP::CANADA_OFFSET
CITY_EDITION_REV0
in file GeoIP.php, class constant Net_GeoIP::CITY_EDITION_REV0
CITY_EDITION_REV1
in file GeoIP.php, class constant Net_GeoIP::CITY_EDITION_REV1
close
in file GeoIP.php, method Net_GeoIP::close()
    Closes the geoip database.
COUNTRY_BEGIN
in file GeoIP.php, class constant Net_GeoIP::COUNTRY_BEGIN
COUNTRY_EDITION
in file GeoIP.php, class constant Net_GeoIP::COUNTRY_EDITION
top

d

DATABASE_INFO_MAX_SIZE
in file GeoIP.php, class constant Net_GeoIP::DATABASE_INFO_MAX_SIZE
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

e

ERR_DB_FORMAT
in file GeoIP.php, class constant Net_GeoIP::ERR_DB_FORMAT
    Exception error code when there is a DB-format-related error.
ERR_INVALID_IP
in file GeoIP.php, class constant Net_GeoIP::ERR_INVALID_IP
    Exception error code used for invalid IP address.
top

f

FIPS_RANGE
in file GeoIP.php, class constant Net_GeoIP::FIPS_RANGE
FULL_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::FULL_RECORD_LENGTH
top

g

getData
in file Location.php, method Net_GeoIP_Location::getData()
    Getter for $this->aData array
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.
GeoIP.php
procedural page GeoIP.php
top

i

initialize
in file DMA.php, method Net_GeoIP_DMA::initialize()
    Initialize
top

l

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.
Location.php
procedural page Location.php
top

m

MAX_ORG_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::MAX_ORG_RECORD_LENGTH
MAX_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::MAX_RECORD_LENGTH
MEMORY_CACHE
in file GeoIP.php, class constant Net_GeoIP::MEMORY_CACHE
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.
ORG_EDITION
in file GeoIP.php, class constant Net_GeoIP::ORG_EDITION
ORG_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::ORG_RECORD_LENGTH
top

r

REGION_EDITION_REV0
in file GeoIP.php, class constant Net_GeoIP::REGION_EDITION_REV0
REGION_EDITION_REV1
in file GeoIP.php, class constant Net_GeoIP::REGION_EDITION_REV1
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.
SEGMENT_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::SEGMENT_RECORD_LENGTH
serialize
in file Location.php, method Net_GeoIP_Location::serialize()
    magic method to make it possible
set
in file Location.php, method Net_GeoIP_Location::set()
    Setter for elements of $this->aData array
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.
SHARED_MEMORY
in file GeoIP.php, class constant Net_GeoIP::SHARED_MEMORY
SHM_KEY
in file GeoIP.php, class constant Net_GeoIP::SHM_KEY
STANDARD
in file GeoIP.php, class constant Net_GeoIP::STANDARD
STANDARD_RECORD_LENGTH
in file GeoIP.php, class constant Net_GeoIP::STANDARD_RECORD_LENGTH
STATE_BEGIN_REV0
in file GeoIP.php, class constant Net_GeoIP::STATE_BEGIN_REV0
STATE_BEGIN_REV1
in file GeoIP.php, class constant Net_GeoIP::STATE_BEGIN_REV1
STRUCTURE_INFO_MAX_SIZE
in file GeoIP.php, class constant Net_GeoIP::STRUCTURE_INFO_MAX_SIZE
top

u

unserialize
in file Location.php, method Net_GeoIP_Location::unserialize()
    unserialize a representation of the object
US_OFFSET
in file GeoIP.php, class constant Net_GeoIP::US_OFFSET
top

w

WORLD_OFFSET
in file GeoIP.php, class constant Net_GeoIP::WORLD_OFFSET
top

_

__construct
in file GeoIP.php, method Net_GeoIP::__construct()
    Construct a Net_GeoIP instance.
__get
in file Location.php, method Net_GeoIP_Location::__get()
    Magic method to get value from $this->aData array
__isset
in file Location.php, method Net_GeoIP_Location::__isset()
    Magic method makes it possible to check if specific record exists and also makes it possible to use empty() on any property
__set
in file Location.php, method Net_GeoIP_Location::__set()
__toString
in file Location.php, method Net_GeoIP_Location::__toString()
    String representation of the object
top

Documentation generated on Thu, 12 May 2011 12:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.