Moodle  2.2.1
http://www.collinsharper.com
Net_GeoIP_DMA Class Reference

Static Public Member Functions

static initialize ()
static getMetroRegion ($dmaCode)
static getDMACode ($metro)

Detailed Description

Definition at line 52 of file DMA.php.


Member Function Documentation

static getDMACode ( metro) [static]

Reverse lookup of DMA code if [exact] metro region name is known.

Parameters:
string$metroMetro region name.
Returns:
int DMA code, or false if not found.

Definition at line 307 of file DMA.php.

Here is the call graph for this function:

static getMetroRegion ( dmaCode) [static]

Lookup the metro region based on the provided DMA code.

Parameters:
int$dmaCodeThe DMA code
Returns:
string Metro region name.

Definition at line 289 of file DMA.php.

Here is the call graph for this function:

static initialize ( ) [static]

Initialize

Returns:
void

Definition at line 65 of file DMA.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations