From 51210b616fb346ef263e75d022ace51983496e68 Mon Sep 17 00:00:00 2001 From: Olivier Hill Date: Fri, 19 Dec 2008 14:21:04 +0000 Subject: [PATCH] Adding missing documentation for geoip_continent_code_by_name() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271606 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../geoip-continent-code-by-name.xml | 102 ++++++++++++++++++ reference/geoip/versions.xml | 3 +- 2 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 reference/geoip/functions/geoip-continent-code-by-name.xml diff --git a/reference/geoip/functions/geoip-continent-code-by-name.xml b/reference/geoip/functions/geoip-continent-code-by-name.xml new file mode 100644 index 0000000000..fe43a146e7 --- /dev/null +++ b/reference/geoip/functions/geoip-continent-code-by-name.xml @@ -0,0 +1,102 @@ + + + + + geoip_continent_code_by_name + Get the two letter continent code + + + &reftitle.description; + + stringgeoip_continent_code_by_name + stringhostname + + + + The geoip_continent_code_by_name function will return + the two letter continent code corresponding to a hostname or an IP address. + + + + + &reftitle.parameters; + + + + hostname + + + The hostname or IP address whose location is to be looked-up. + + + + + + + + &reftitle.returnvalues; + + Returns the two letter continent code on success, or &false; if the + address cannot be found in the database. + + + + + &reftitle.examples; + + + A <function>geoip_continent_code_by_name</function> example + + This will print where the host example.com is located. + + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + geoip_country_code_by_name + + + + + + + diff --git a/reference/geoip/versions.xml b/reference/geoip/versions.xml index 1a0bf979a5..d983b2a3c8 100644 --- a/reference/geoip/versions.xml +++ b/reference/geoip/versions.xml @@ -1,9 +1,10 @@ - + +