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

Class: Dot_Geoip

Source Location: /library/Dot/Geoip.php

Class Overview


Geo IP related stuff


Author(s):

Methods


Child classes:

Dot_Geoip_Api
Geo IP API - connect to Geoip.

Class Details

[line 21]
Geo IP related stuff

Geo IP related stuff




Tags:

author:  DotKernel Team <team@dotkernel.com>


[ Top ]


Class Methods


constructor __construct [line 29]

dot_Geoip __construct( )

Constructor

Constructor Return an array with : short name, like 'us' and long name, like 'United States'




Tags:

access:  public


Overridden in child classes as:

Dot_Geoip_Api::__construct()
Constructor

[ Top ]

method getCountryByIp [line 40]

array getCountryByIp( string $ip)

Get the country by IP

Get the country by IP Return an array with : short name, like 'us' and long name, like 'United States'




Tags:

access:  public


Parameters:

string   $ip  

[ Top ]


Documentation generated on Wed, 21 Jul 2010 07:34:40 +0000 by phpDocumentor 1.4.3