svn: /phpdoc/ja/trunk/reference/libxml/functions/ libxml-get-last-error.xml libxml-set-external-entity-loader.xml libxml-set-streams-context.xml libxml-use-internal-errors.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 24 Nov 2020 23:03:25 +0000

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

Log:
Generate libxml methodsynopses based on stubs

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

Changed paths:
    U   phpdoc/ja/trunk/reference/libxml/functions/libxml-get-last-error.xml
    U   phpdoc/ja/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml
    U   phpdoc/ja/trunk/reference/libxml/functions/libxml-set-streams-context.xml
    U   phpdoc/ja/trunk/reference/libxml/functions/libxml-use-internal-errors.xml

Modified: phpdoc/ja/trunk/reference/libxml/functions/libxml-get-last-error.xml
===================================================================
--- phpdoc/ja/trunk/reference/libxml/functions/libxml-get-last-error.xml	2020-11-24 22:58:31 UTC (rev 351609)
+++ phpdoc/ja/trunk/reference/libxml/functions/libxml-get-last-error.xml	2020-11-24 23:03:25 UTC (rev 351610)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.libxml-get-last-error" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>libxml_get_last_error</refname>
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>LibXMLError</type><methodname>libxml_get_last_error</methodname>
+   <type class="union"><type>LibXMLError</type><type>false</type></type><methodname>libxml_get_last_error</methodname>
    <void/>
   </methodsynopsis>
   <para>
@@ -37,7 +37,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml
===================================================================
--- phpdoc/ja/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml	2020-11-24 22:58:31 UTC (rev 351609)
+++ phpdoc/ja/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml	2020-11-24 23:03:25 UTC (rev 351610)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343898 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: takagi Status: ready -->

 <refentry xml:id="function.libxml-set-external-entity-loader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -12,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>libxml_set_external_entity_loader</methodname>
-   <methodparam><type>callable</type><parameter>resolver_function</parameter></methodparam>
+   <methodparam><type class="union"><type>callable</type><type>null</type></type><parameter>resolver_function</parameter></methodparam>
   </methodsynopsis>
   <para>
    デフォルトの外部エンティティローダーを変更します。
@@ -107,7 +107,6 @@
  </refsect1>

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

Modified: phpdoc/ja/trunk/reference/libxml/functions/libxml-set-streams-context.xml
===================================================================
--- phpdoc/ja/trunk/reference/libxml/functions/libxml-set-streams-context.xml	2020-11-24 22:58:31 UTC (rev 351609)
+++ phpdoc/ja/trunk/reference/libxml/functions/libxml-set-streams-context.xml	2020-11-24 23:03:25 UTC (rev 351610)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.libxml-set-streams-context" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>libxml_set_streams_context</refname>
@@ -12,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>void</type><methodname>libxml_set_streams_context</methodname>
-   <methodparam><type>resource</type><parameter>streams_context</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>context</parameter></methodparam>
   </methodsynopsis>
   <para>
    次のlibxmlドキュメントの読込/書きこみのためにストリームコンテキストを設定します。
@@ -24,7 +24,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>streams_context</parameter></term>
+     <term><parameter>context</parameter></term>
       <listitem>
        <para>
        ストリームコンテキストリソース(
@@ -80,7 +80,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/libxml/functions/libxml-use-internal-errors.xml
===================================================================
--- phpdoc/ja/trunk/reference/libxml/functions/libxml-use-internal-errors.xml	2020-11-24 22:58:31 UTC (rev 351609)
+++ phpdoc/ja/trunk/reference/libxml/functions/libxml-use-internal-errors.xml	2020-11-24 23:03:25 UTC (rev 351610)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343899 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
 <refentry xml:id="function.libxml-use-internal-errors" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>libxml_use_internal_errors</refname>
@@ -12,7 +13,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>libxml_use_internal_errors</methodname>
-   <methodparam choice="opt"><type>bool</type><parameter>use_errors</parameter><initializer>&false;</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>bool</type><type>null</type></type><parameter>use_errors</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>libxml_use_internal_errors</function> により、
@@ -45,6 +46,29 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>use_errors</parameter> は、nullable になりました。
+       これより前のバージョンでは、デフォルトは &false; でした。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -95,7 +119,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
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.