From 80087987a2f841dabe17ae8e46bac1d3643c6754 Mon Sep 17 00:00:00 2001 From: Olivier Hill Date: Fri, 19 Dec 2008 15:23:04 +0000 Subject: [PATCH] Documenting new fields available with recent releases git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271610 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../geoip/functions/geoip-record-by-name.xml | 57 ++++++++++++++++++- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/reference/geoip/functions/geoip-record-by-name.xml b/reference/geoip/functions/geoip-record-by-name.xml index d95762a418..6a73308b59 100644 --- a/reference/geoip/functions/geoip-record-by-name.xml +++ b/reference/geoip/functions/geoip-record-by-name.xml @@ -1,5 +1,5 @@ - + geoip_record_by_name @@ -26,12 +26,30 @@ + + + "continent_code" -- Two letter continent code (as of version 1.0.4 with + libgeoip 1.4.3 or newer) + + "country_code" -- Two letter country code (see geoip_country_code_by_name) + + + "country_code3" -- Three letter country code (see + geoip_country_code3_by_name) + + + + + "country_name" -- The country name (see + geoip_country_name_by_name) + + "region" -- The region code (ex: CA for California) @@ -59,7 +77,7 @@ - "dma_code" + "dma_code" -- Designated Market Area code (USA and Canada only) @@ -69,8 +87,8 @@ - + &reftitle.parameters; @@ -94,6 +112,36 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 1.0.4 + + Adding the continent_code with GeoIP Library 1.4.3 or newer only + + + + 1.0.3 + + Adding country_code3 and country_name + + + + + + + + &reftitle.examples; @@ -117,7 +165,10 @@ if ($record) { NA [country_code] => US + [country_code3] => USA + [country_name] => United States [region] => CA [city] => Marina Del Rey [postal_code] =>