[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
+----------------------------------------------------------------------+ | PHP version 5 | +----------------------------------------------------------------------+ | Copyright (C) 2004 MaxMind LLC | +----------------------------------------------------------------------+ | This library is free software; you can redistribute it and/or | | modify it under the terms of the GNU Lesser General Public | | License as published by the Free Software Foundation; either | | version 2.1 of the License, or (at your option) any later version. | | | | This library is distributed in the hope that it will be useful, | | but WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | Lesser General Public License for more details. | | | | You should have received a copy of the GNU Lesser General Public | | License along with this library; if not, write to the Free Software | | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | | USA, or view it online at http://www.gnu.org/licenses/lgpl.txt. | +----------------------------------------------------------------------+ | Authors: Jim Winstead <jimw@apache.org> (original Maxmind version) | | Hans Lellelid <hans@xmpl.org> | +----------------------------------------------------------------------+
Author: | Hans Lellelid <hans@xmpl.org> |
License: | LGPL http://www.gnu.org/licenses/lgpl.txt |
File Size: | 315 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Net_GeoIP_DMA:: (3 methods):
initialize()
getMetroRegion()
getDMACode()
Class: Net_GeoIP_DMA - X-Ref
Static class to handle mapping of DMA codes to metro regions.initialize() X-Ref |
Initialize return: void |
getMetroRegion($dmaCode) X-Ref |
Lookup the metro region based on the provided DMA code. param: int $dmaCode The DMA code return: string Metro region name. |
getDMACode($metro) X-Ref |
Reverse lookup of DMA code if [exact] metro region name is known. param: string $metro Metro region name. return: int DMA code, or false if not found. |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |