From 81e2ca1ac94174307fafcfe641f1df16af602dfe Mon Sep 17 00:00:00 2001 From: Dinis Lage Date: Wed, 21 Jul 2010 18:01:12 +0000 Subject: [PATCH] --- GeoIP/CRN.php | 14 +++++++------- GeoIP/Location.php | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/GeoIP/CRN.php b/GeoIP/CRN.php index a4113ab..d39057a 100644 --- a/GeoIP/CRN.php +++ b/GeoIP/CRN.php @@ -4,7 +4,7 @@ * +----------------------------------------------------------------------+ * | PHP version 5 | * +----------------------------------------------------------------------+ - * | Copyright (C) 2009 MaxMind LLC | + * | Copyright (C) 2010 Dinis Lage | * +----------------------------------------------------------------------+ * | This library is free software; you can redistribute it and/or | * | modify it under the terms of the GNU Lesser General Public | @@ -38,12 +38,11 @@ * $region = GeoIPDMA::getMetroRegion($record->dmaCode); * * - * @category Net + * @category * @package GeoIP - * @author Hans Lellelid - * @author Dmitri Snytkine + * @author Dinis Lage * @license LGPL http://www.gnu.org/licenses/lgpl.txt - * @version $Revision: 296755 $ + * @version * @link http://pear.php.net/package/GeoIP */ class GeoIP_CRN { @@ -4523,9 +4522,10 @@ class GeoIP_CRN { /** * Reverse lookup of DMA code if [exact] metro region name is known. * - * @param string $metro Metro region name. + * @param string $countryCode Country code. + * @param string $regionName Region name. * - * @return int DMA code, or false if not found. + * @return int Region code, or false if not found. */ public static function getRegionCode($regionName, $countryCode=null) { if ($countryCode === null) { diff --git a/GeoIP/Location.php b/GeoIP/Location.php index db1900a..0d26cbc 100644 --- a/GeoIP/Location.php +++ b/GeoIP/Location.php @@ -28,6 +28,7 @@ * @category Net * @package GeoIP * @author Hans Lellelid + * @author Dinis Lage * @license LGPL http://www.gnu.org/licenses/lgpl.txt * @link http://pear.php.net/package/GeoIP * $Id: Location.php 296763 2010-03-25 00:53:44Z clockwerx $