Index of all elements
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ r ]
[ s ]
[ u ]
[ w ]
[ _ ]
top
top
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
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
top
top
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
top
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
top
top
top
Documentation generated on Mon, 11 Mar 2019 15:43:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|