svn: /phpdoc/ja/trunk/reference/network/functions/ dns-get-record.xml

[email protected] (Yoshinari Takaoka) Mon, 28 Dec 2020 00:16:45 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 28 Dec 2020 00:16:45 +0000

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

Log:
Update dns_get_record() methodsynopsis

Changed paths:
    U   phpdoc/ja/trunk/reference/network/functions/dns-get-record.xml

Modified: phpdoc/ja/trunk/reference/network/functions/dns-get-record.xml
===================================================================
--- phpdoc/ja/trunk/reference/network/functions/dns-get-record.xml	2020-12-28 00:14:21 UTC (rev 352225)
+++ phpdoc/ja/trunk/reference/network/functions/dns-get-record.xml	2020-12-28 00:16:45 UTC (rev 352226)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 352215 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.dns-get-record" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -13,9 +13,9 @@
   <methodsynopsis>
    <type class="union"><type>array</type><type>false</type></type><methodname>dns_get_record</methodname>
    <methodparam><type>string</type><parameter>hostname</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>DNS_ANY</initializer></methodparam>
-   <methodparam choice="opt"><type>array</type><parameter role="reference">authns</parameter></methodparam>
-   <methodparam choice="opt"><type>array</type><parameter role="reference">addtl</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>DNS_ANY</constant></initializer></methodparam>
+   <methodparam choice="opt"><type>array</type><parameter role="reference">authoritative_name_servers</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>array</type><parameter role="reference">additional_records</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>raw</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>
   <para>
@@ -82,7 +82,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>authns</parameter></term>
+     <term><parameter>authoritative_name_servers</parameter></term>
      <listitem>
       <para>
        参照で渡し、
@@ -92,7 +92,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>addtl</parameter></term>
+     <term><parameter>additional_records</parameter></term>
      <listitem>
       <para>
        参照で渡し、
@@ -368,8 +368,8 @@
     <para>
      MX レコードが解決されれば、たいていはメールサーバーの IP アドレスを
      取得したくなるものです。そのため、<function>dns_get_record</function>
-     は <parameter>addtl</parameter> に関連するレコードを含めて返します。
-     また、<parameter>authns</parameter> には
+     は <parameter>additional_records</parameter> に関連するレコードを含めて返します。
+     また、<parameter>authoritative_name_servers</parameter> には
      権威のあるネームサーバーのリストを含めて返します。
     </para>
     <programlisting role="php">
@@ -532,7 +532,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml