svn: /phpdoc/ja/trunk/reference/geoip/ functions/geoip-asnum-by-name.xml functions/geoip-domain-by-name.xml functions/geoip-netspeedcell-by-name.xml functions/geoip-setup-custom-directory.xml ini.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Fri, 24 Jan 2020 12:32:43 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=348999

Log:
updated geoip missing doc translations

Changed paths:
    A   phpdoc/ja/trunk/reference/geoip/functions/geoip-asnum-by-name.xml
    A   phpdoc/ja/trunk/reference/geoip/functions/geoip-domain-by-name.xml
    A   phpdoc/ja/trunk/reference/geoip/functions/geoip-netspeedcell-by-name.xml
    A   phpdoc/ja/trunk/reference/geoip/functions/geoip-setup-custom-directory.xml
    A   phpdoc/ja/trunk/reference/geoip/ini.xml
svn-diffs-348999.txt (text/x-diff, 15.5 KB)
Added: phpdoc/ja/trunk/reference/geoip/functions/geoip-asnum-by-name.xml
===================================================================
--- phpdoc/ja/trunk/reference/geoip/functions/geoip-asnum-by-name.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/geoip/functions/geoip-asnum-by-name.xml	2020-01-24 12:32:43 UTC (rev 348999)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 344977 Maintainer: mumumu Status: ready -->
+<refentry xml:id="function.geoip-asnum-by-name" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>geoip_asnum_by_name</refname>
+  <refpurpose>AS番号(ASN) を取得する</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>geoip_asnum_by_name</methodname>
+   <methodparam><type>string</type><parameter>hostname</parameter></methodparam>
+  </methodsynopsis>
+
+  <para>
+   <function>geoip_asnum_by_name</function> 関数は、
+   IPアドレスに関連付けられたAS番号(ASN)を返します。
+  </para>
+
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>hostname</parameter></term>
+     <listitem>
+      <para>
+       ホスト名またはIPアドレス
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   成功時にはAS番号を返します。
+   アドレスがデータベースに見つからなかった場合は &false; を返します。
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>geoip_asnum_by_name</function> の例</title>
+    <para>
+     この例は、www.example.com のAS番号を出力します。
+    </para>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$asn = geoip_asnum_by_name('www.example.com');
+
+if ($asn) {
+    echo 'The ASN is: ' . $asn;
+}
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+The ASN is: AS15133 EdgeCast Networks, Inc
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ja/trunk/reference/geoip/functions/geoip-asnum-by-name.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ja/trunk/reference/geoip/functions/geoip-domain-by-name.xml
===================================================================
--- phpdoc/ja/trunk/reference/geoip/functions/geoip-domain-by-name.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/geoip/functions/geoip-domain-by-name.xml	2020-01-24 12:32:43 UTC (rev 348999)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: mumumu Status: ready -->
+<refentry xml:id="function.geoip-domain-by-name" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>geoip_domain_by_name</refname>
+  <refpurpose>セカンドレベルドメインの名前を取得する</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>geoip_domain_by_name</methodname>
+   <methodparam><type>string</type><parameter>hostname</parameter></methodparam>
+  </methodsynopsis>
+
+  <para>
+   <function>geoip_domain_by_name</function> 関数は ホスト名またはIPアドレスに関連付けられた
+   セカンドレベルドメイン名を返します。
+  </para>
+  <para>
+   この関数は、商用の GeoIP Domain Edition を購入したユーザーだけが利用可能です。
+   適切にデータベースが配置されていない場合は、警告が発生します。
+  </para>
+
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>hostname</parameter></term>
+     <listitem>
+      <para>
+       ホスト名またはIPアドレス
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   成功時にはドメイン名を返します。
+   アドレスがデータベースに存在しない場合は &false; を返します。
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>geoip_domain_by_name</function> の例</title>
+    <para>
+     この例は、IPアドレス 61.106.139.1 に関連付けられているドメインを出力します。
+    </para>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$domain = geoip_domain_by_name('61.106.139.1');
+
+if ($domain) {
+    echo 'The domain is: '. $domain;
+}
+
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+The domain is: von.co.kr
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ja/trunk/reference/geoip/functions/geoip-domain-by-name.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ja/trunk/reference/geoip/functions/geoip-netspeedcell-by-name.xml
===================================================================
--- phpdoc/ja/trunk/reference/geoip/functions/geoip-netspeedcell-by-name.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/geoip/functions/geoip-netspeedcell-by-name.xml	2020-01-24 12:32:43 UTC (rev 348999)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: mumumu Status: ready -->
+<refentry xml:id="function.geoip-netspeedcell-by-name" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>geoip_netspeedcell_by_name</refname>
+  <refpurpose>インターネットへの接続速度を取得する</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>geoip_netspeedcell_by_name</methodname>
+   <methodparam><type>string</type><parameter>hostname</parameter></methodparam>
+  </methodsynopsis>
+
+  <para>
+   <function>geoip_netspeedcell_by_name</function> 関数は、
+   ホスト名またはIPアドレスに対応するインターネットへの接続タイプと接続速度を返します。
+  </para>
+  <para>
+   この関数は、GeoIP Library 1.4.8 以降でのみ利用可能です。
+  </para>
+  <para>
+   この関数は、商用の GeoIP NetSpeedCell Edition を購入したユーザーのみが利用可能です。
+   適切にデータベースが配置されていない場合は、警告が発生します。
+  </para>
+  <para>
+   この関数の返り値は文字列です。共通の値は以下の通りです:
+  </para>
+  <para>
+   <itemizedlist>
+    <listitem>
+     <simpara>
+      Cable/DSL
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      Dialup
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      Cellular
+     </simpara>
+    </listitem>
+    <listitem>
+     <simpara>
+      Corporate
+     </simpara>
+    </listitem>
+   </itemizedlist>
+  </para>
+
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>hostname</parameter></term>
+     <listitem>
+      <para>
+       ホスト名またはIPアドレス
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   成功時には接続スピードを返します。
+   アドレスがデータベースに存在しない場合は、&false; を返します。
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>geoip_netspeedcell_by_name</function> の例</title>
+    <para>
+     この例は、ホスト example.com の接続速度を出力します。
+    </para>
+    <programlisting role="php">
+<![CDATA[
+<?php
+$netspeed = geoip_netspeedcell_by_name('www.example.com');
+
+if ($netspeed) {
+    echo 'The connection type is: '. $netspeed;
+}
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+The connection type is: Corporate
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ja/trunk/reference/geoip/functions/geoip-netspeedcell-by-name.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ja/trunk/reference/geoip/functions/geoip-setup-custom-directory.xml
===================================================================
--- phpdoc/ja/trunk/reference/geoip/functions/geoip-setup-custom-directory.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/geoip/functions/geoip-setup-custom-directory.xml	2020-01-24 12:32:43 UTC (rev 348999)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 343888 Maintainer: mumumu Status: ready -->
+<refentry xml:id="function.geoip-setup-custom-directory" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>geoip_setup_custom_directory</refname>
+  <refpurpose>GeoIP データベースのカスタムディレクトリを設定する</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>void</type><methodname>geoip_setup_custom_directory</methodname>
+   <methodparam><type>string</type><parameter>path</parameter></methodparam>
+  </methodsynopsis>
+
+  <para>
+   <function>geoip_setup_custom_directory</function> 関数は、
+   GeoIPデータベースのデフォルトディレクトリを変更します。
+   これは <link linkend="ini.geoip.custom-directory">geoip.custom_directory</link> を変更することと同等です。
+  </para>
+
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>path</parameter></term>
+     <listitem>
+      <para>
+       ディスク上に置くGeoIP データベースのフルパス。
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.void;
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>geoip_setup_custom_directory</function> の例</title>
+    <para>
+     この例は、GeoIP のデータベースパスを変更します。
+    </para>
+    <programlisting role="php">
+<![CDATA[
+<?php
+
+geoip_setup_custom_directory('/some/other/path');
+
+print geoip_db_filename(GEOIP_COUNTRY_EDITION);
+
+?>
+]]>
+    </programlisting>
+    &example.outputs;
+    <screen>
+<![CDATA[
+/some/other/path/GeoIP.dat
+]]>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->


Property changes on: phpdoc/ja/trunk/reference/geoip/functions/geoip-setup-custom-directory.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ja/trunk/reference/geoip/ini.xml
===================================================================
--- phpdoc/ja/trunk/reference/geoip/ini.xml	                        (rev 0)
+++ phpdoc/ja/trunk/reference/geoip/ini.xml	2020-01-24 12:32:43 UTC (rev 348999)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: mumumu Status: ready -->
+
+<section xml:id="geoip.configuration" xmlns="http://docbook.org/ns/docbook">
+  &reftitle.runtime;
+  &extension.runtime;
+  <para>
+    <table>
+      <title>GeoIP &ConfigureOptions;</title>
+      <tgroup cols="4">
+        <thead>
+          <row>
+            <entry>&Name;</entry>
+            <entry>&Default;</entry>
+            <entry>&Changeable;</entry>
+            <entry>&Changelog;</entry>
+          </row>
+        </thead>
+        <tbody>
+          <row>
+            <entry><link linkend="ini.geoip.custom-directory">geoip.custom_directory</link></entry>
+            <entry>""</entry>
+            <entry>PHP_INI_ALL</entry>
+            <entry><!-- leave empty, this will be filled by an automatic script --></entry>
+          </row>
+        </tbody>
+      </tgroup>
+    </table>
+  </para>
+
+  &ini.descriptions.title;
+
+  <para>
+    <variablelist>
+      <varlistentry xml:id="ini.geoip.custom-directory">
+        <term>
+          <parameter>geoip.custom_directory</parameter>
+          <type>string</type>
+        </term>
+        <listitem>
+          <para>
+            デフォルトは空ですが、
+            ライブラリ中にコンパイルされているパスとは異なるパスに強制的に変更可能です。
+          </para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </para>
+</section>


Property changes on: phpdoc/ja/trunk/reference/geoip/ini.xml
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.