svn: /phpdoc/ja/trunk/reference/xmlreader/xmlreader/ xml.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Sun, 22 Nov 2020 12:59:50 +0000

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

Log:
Fix methodsynopsis of XMLReader::XML()

Based on a patch contributed by Máté Kocsis <[email protected]>.

Changed paths:
    U   phpdoc/ja/trunk/reference/xmlreader/xmlreader/xml.xml

Modified: phpdoc/ja/trunk/reference/xmlreader/xmlreader/xml.xml
===================================================================
--- phpdoc/ja/trunk/reference/xmlreader/xmlreader/xml.xml	2020-11-22 12:57:39 UTC (rev 351491)
+++ phpdoc/ja/trunk/reference/xmlreader/xmlreader/xml.xml	2020-11-22 12:59:50 UTC (rev 351492)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351468 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351489 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="xmlreader.xml" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,11 +11,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <modifier>public</modifier> <modifier>static</modifier>
-   <type>bool</type>
-   <methodname>XMLReader::xml</methodname>
+   <type class="union"><type>bool</type><type>XMLReader</type></type><methodname>XMLReader::XML</methodname>
    <methodparam><type>string</type><parameter>source</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
@@ -87,7 +85,7 @@
      <row>
       <entry>8.0.0</entry>
       <entry>
-       <methodname>XMLReader::xml</methodname> は、静的メソッドとして宣言されています。
+       <methodname>XMLReader::XML</methodname> は、静的メソッドとして宣言されています。
        しかし、<classname>XMLReader</classname> のインスタンス経由でも呼び出すことができます。
       </entry>
      </row>
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.