svn: /phpdoc/ja/trunk/ language-snippets.ent reference/xml/functions/xml-error-string.xml reference/xml/functions/xml-get-current-byte-index.xml reference/xml/functions/xml-get-current-column-number.xml reference/xml/functions/xml-get-current-line-number.xml reference/xml/functions/xml-get-error-code.xml reference/xml/functions/xml-parse-into-struct.xml reference/xml/functions/xml-parse.xml reference/xml/functions/xml-parser-create-ns.xml reference/xml/functions/xml-parser-create.xml reference/x
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sun, 22 Nov 2020 00:08:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351479 Log: Generate xml methodsynopses based on stubs Based on a patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/language-snippets.ent U phpdoc/ja/trunk/reference/xml/functions/xml-error-string.xml U phpdoc/ja/trunk/reference/xml/functions/xml-get-current-byte-index.xml U phpdoc/ja/trunk/reference/xml/functions/xml-get-current-column-number.xml U phpdoc/ja/trunk/reference/xml/functions/xml-get-current-line-number.xml U phpdoc/ja/trunk/reference/xml/functions/xml-get-error-code.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parse-into-struct.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parse.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parser-create-ns.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parser-create.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parser-free.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parser-get-option.xml U phpdoc/ja/trunk/reference/xml/functions/xml-parser-set-option.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-character-data-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-default-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-element-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-end-namespace-decl-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-external-entity-ref-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-notation-decl-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-object.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-processing-instruction-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-start-namespace-decl-handler.xml U phpdoc/ja/trunk/reference/xml/functions/xml-set-unparsed-entity-decl-handler.xml
svn-diffs-351479.txt
(text/x-diff, 48.9 KB)
Modified: phpdoc/ja/trunk/language-snippets.ent
===================================================================
--- phpdoc/ja/trunk/language-snippets.ent 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/language-snippets.ent 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351393 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 351470 Maintainer: takagi Status: working -->
<!-- Credits: hirokawa,haruki,shimooka,mumumu -->
<!ENTITY installation.enabled.disable 'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'>
@@ -3065,6 +3065,17 @@
xmlns="http://docbook.org/ns/docbook"><simpara>この関数は、PECL uopz 5.0.0 で
<emphasis>削除</emphasis> されました。</simpara></warning>'>
+<!-- XML snippets -->
+
+<!ENTITY xml.changelog.parser-param '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+ 引数 <parameter>parser</parameter> は、
+ <classname>XMLParser</classname> インスタンスを期待するようになりました。
+ これより前のバージョンでは、リソースを期待していました。
+ </entry>
+</row>'>
+
<!-- Migration Guide snippets -->
<!ENTITY migration56.openssl.peer-verification '
<para xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-error-string.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-error-string.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-error-string.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.xml-error-string" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_error_string</refname>
@@ -10,11 +11,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>xml_error_string</methodname>
- <methodparam><type>int</type><parameter>code</parameter></methodparam>
+ <type class="union"><type>string</type><type>null</type></type><methodname>xml_error_string</methodname>
+ <methodparam><type>int</type><parameter>error_code</parameter></methodparam>
</methodsynopsis>
<para>
- エラーコード <parameter>code</parameter> の説明を有する文字列を
+ エラーコード <parameter>error_code</parameter> の説明を有する文字列を
返します。
</para>
</refsect1>
@@ -24,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>code</parameter></term>
+ <term><parameter>error_code</parameter></term>
<listitem>
<para>
<function>xml_get_error_code</function> からのエラーコード。
@@ -38,7 +39,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- エラーコード <parameter>code</parameter> の説明を有する文字列を
+ エラーコード <parameter>error_code</parameter> の説明を有する文字列を
返します。説明がない場合には &false; を返します。
</para>
</refsect1>
@@ -53,7 +54,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-get-current-byte-index.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-get-current-byte-index.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-get-current-byte-index.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.xml-get-current-byte-index" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_get_current_byte_index</refname>
@@ -11,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_get_current_byte_index</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
</methodsynopsis>
<para>
指定した XML パーサのカレントのバイトインデックスを取得します。
@@ -54,6 +55,23 @@
</warning>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -65,7 +83,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-get-current-column-number.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-get-current-column-number.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-get-current-column-number.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.xml-get-current-column-number" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_get_current_column_number</refname>
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_get_current_column_number</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
</methodsynopsis>
<para>
指定した XML パーサのカレントのカラム番号を取得します。
@@ -46,6 +46,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -57,7 +74,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-get-current-line-number.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-get-current-line-number.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-get-current-line-number.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.xml-get-current-line-number" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_get_current_line_number</refname>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_get_current_line_number</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
</methodsynopsis>
<para>
指定した XML パーサのカレントの行番号を取得します。
@@ -43,6 +43,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -54,7 +71,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-get-error-code.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-get-error-code.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-get-error-code.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.xml-get-error-code" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_get_error_code</refname>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_get_error_code</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
</methodsynopsis>
<para>
XML パーサのエラーコードを取得します。
@@ -44,6 +44,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -54,7 +71,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parse-into-struct.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parse-into-struct.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parse-into-struct.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347090 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-parse-into-struct" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,10 +12,10 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_parse_into_struct</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam><type>array</type><parameter role="reference">values</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter role="reference">index</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter role="reference">index</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
この関数は、XML 文字列を処理し、2つの配列構造体に代入します。
@@ -74,6 +74,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -279,7 +296,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parse.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parse.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parse.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344608 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-parse" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>xml_parse</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>is_final</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
@@ -81,6 +81,23 @@
</note>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example xml:id="xml_parse.example.chunked">
@@ -110,7 +127,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parser-create-ns.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parser-create-ns.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parser-create-ns.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id='function.xml-parser-create-ns' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,13 +11,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>resource</type><type>false</type></type><methodname>xml_parser_create_ns</methodname>
- <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
+ <type>XmlParser</type><methodname>xml_parser_create_ns</methodname>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>separator</parameter><initializer>":"</initializer></methodparam>
</methodsynopsis>
<para>
<function>xml_parser_create_ns</function> は XML 名前空間をサポートした
- 新しい XML パーサを作成し、他の XML 関数が使用するハンドルを返します。
+ 新しい XML パーサを作成し、他の XML 関数が使用する <classname>XMLParser</classname> インスタンスを返します。
</para>
</refsect1>
@@ -57,11 +57,39 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 新しい XML パーサのリソースハンドルを返します。
- &return.falseforfailure;
+ 新しい <classname>XMLParser</classname> のインスタンスを返します。
</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>
+ この関数は <classname>XMLParser</classname> のインスタンスを返すようになりました。
+ これより前のバージョンでは、リソースが返され、失敗した場合は &false; が返されていました。
+ </entry>
+ </row>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>encoding</parameter> は、 nullable になりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -72,7 +100,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parser-create.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parser-create.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parser-create.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-parser-create" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,12 +11,12 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>resource</type><type>false</type></type><methodname>xml_parser_create</methodname>
- <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
+ <type>XmlParser</type><methodname>xml_parser_create</methodname>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>xml_parser_create</function> は新しい XML パーサを作成し、
- 他の XML 関数が使用するハンドルを返します。
+ 他の XML 関数が使用する <classname>XMLParser</classname> のインスタンスを返します。
</para>
</refsect1>
@@ -49,11 +49,39 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 新しい XML パーサのリソースハンドルを返します。
- &return.falseforfailure;
+ 新しい <classname>XMLParser</classname> のインスタンスを返します。
</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>
+ この関数は <classname>XMLParser</classname> のインスタンスを返すようになりました。
+ これより前のバージョンでは、リソースが返され、失敗した場合は &false; が返っていました。
+ </entry>
+ </row>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>encoding</parameter> は、nullable になりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -65,7 +93,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parser-free.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parser-free.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parser-free.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345634 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-parser-free" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_parser_free</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
</methodsynopsis>
<para>
指定した XML パーサ <parameter>parser</parameter> を解放します。
@@ -21,7 +21,7 @@
<para>
パースが終了した際、
<function>xml_parser_free</function> 関数を呼び出すのに加えて、
- PHP 7.0.0 以降では
+ PHP 8.0.0 より前のバージョンでは
オブジェクトがパーサのリソースを参照している場合に、
メモリリークを避けるために <parameter>parser</parameter> の参照を
明示的に unset することも必要になっています。
@@ -48,11 +48,27 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- この関数は、<parameter>parser</parameter> が有効なパーサを
- 参照しない場合に &false;、それ以外の場合にパーサを解放し、&true; を返します。
+ &return.success;
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parser-get-option.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parser-get-option.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parser-get-option.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345822 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-parser-get-option" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,8 +11,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>xml_parser_get_option</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <type class="union"><type>string</type><type>int</type></type><methodname>xml_parser_get_option</methodname>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
</methodsynopsis>
<para>
@@ -68,6 +68,7 @@
</row>
</thead>
<tbody>
+ &xml.changelog.parser-param;
<row>
<entry>7.1.24, 7.2.12, 7.3.0</entry>
<entry>
@@ -82,7 +83,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-parser-set-option.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-parser-set-option.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-parser-set-option.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.xml-parser-set-option" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_parser_set_option</refname>
@@ -11,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_parser_set_option</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
- <methodparam><type>mixed</type><parameter>value</parameter></methodparam>
+ <methodparam><type class="union"><type>string</type><type>int</type></type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
XML パーサのオプションを設定します。
@@ -113,8 +113,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-character-data-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-character-data-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-character-data-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xml:id="function.xml-set-character-data-handler" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_character_data_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -43,7 +43,7 @@
<parameter>handler</parameter> という名前の関数は、次の 2 つのパラメータをとります。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<variablelist>
@@ -89,8 +89,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-default-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-default-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-default-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xml:id="function.xml-set-default-handler" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_default_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -45,7 +45,7 @@
次の 2 つのパラメータをとる必要があります。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<variablelist>
@@ -84,6 +84,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
@@ -92,7 +109,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-element-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-element-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-element-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
<refentry xml:id="function.xml-set-element-handler" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_set_element_handler</refname>
@@ -12,14 +12,14 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_element_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
- <methodparam><type>callable</type><parameter>start_element_handler</parameter></methodparam>
- <methodparam><type>callable</type><parameter>end_element_handler</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>start_handler</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>end_handler</parameter></methodparam>
</methodsynopsis>
<para>
XML パーサ <parameter>parser</parameter> の要素ハンドラ関数を設定します。
- <parameter>start_element_handler</parameter> および
- <parameter>end_element_handler</parameter> は、
+ <parameter>start_handler</parameter> および
+ <parameter>end_handler</parameter> は、
<function>xml_parse</function> が <parameter>parser</parameter> を
コールした際に存在している必要がある関数の名前を有する文字列です。
</para>
@@ -38,14 +38,14 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>start_element_handler</parameter></term>
+ <term><parameter>start_handler</parameter></term>
<listitem>
<para>
- <parameter>start_element_handler</parameter> という名前の関数は、
+ <parameter>start_handler</parameter> という名前の関数は、
次の 3 つのパラメータをとる必要があります。
<methodsynopsis>
<methodname><replaceable>start_element_handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XMLParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>array</type><parameter>attribs</parameter></methodparam>
</methodsynopsis>
@@ -94,14 +94,14 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>end_element_handler</parameter></term>
+ <term><parameter>end_handler</parameter></term>
<listitem>
<para>
- <parameter>end_element_handler</parameter>という名前の関数は、
+ <parameter>end_handler</parameter>という名前の関数は、
2 つのパラメータをとる必要があります。
<methodsynopsis>
<methodname><replaceable>end_element_handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XMLParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<variablelist>
@@ -143,8 +143,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-end-namespace-decl-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-end-namespace-decl-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-end-namespace-decl-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 341634 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id='function.xml-set-end-namespace-decl-handler'>
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_end_namespace_decl_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -57,7 +57,7 @@
<constant>XML_ERROR_EXTERNAL_ENTITY_HANDLING</constant> を返します。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
</methodsynopsis>
<variablelist>
@@ -98,6 +98,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -108,7 +125,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-external-entity-ref-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-external-entity-ref-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-external-entity-ref-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348570 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,mumumu -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.xml-set-external-entity-ref-handler">
<refnamediv>
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_external_entity_ref_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -49,7 +49,7 @@
を返します。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>open_entity_names</parameter></methodparam>
<methodparam><type>string</type><parameter>base</parameter></methodparam>
<methodparam><type>string</type><parameter>system_id</parameter></methodparam>
@@ -137,6 +137,7 @@
</row>
</thead>
<tbody>
+ &xml.changelog.parser-param;
<row>
<entry>7.3.0</entry>
<entry>
@@ -176,7 +177,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-notation-decl-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-notation-decl-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-notation-decl-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xml:id="function.xml-set-notation-decl-handler" 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>xml_set_notation_decl_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -57,7 +57,7 @@
<parameter>handler</parameter> という名前の関数は、5つのパラメータをとる必要があります。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>notation_name</parameter></methodparam>
<methodparam><type>string</type><parameter>base</parameter></methodparam>
<methodparam><type>string</type><parameter>system_id</parameter></methodparam>
@@ -134,8 +134,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-object.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-object.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-object.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345634 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.xml-set-object" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_object</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
- <methodparam><type>object</type><parameter role="reference">object</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>object</type><parameter>object</parameter></methodparam>
</methodsynopsis>
<para>
この関数は、<parameter>object</parameter> の内部から
@@ -55,6 +55,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -125,7 +142,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-processing-instruction-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-processing-instruction-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-processing-instruction-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
<refentry xml:id="function.xml-set-processing-instruction-handler" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>xml_set_processing_instruction_handler</refname>
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_processing_instruction_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -24,7 +24,7 @@
処理命令は、次のフォーマットを有しています。
<informalexample>
<programlisting><?<replaceable>target</replaceable>
- <replaceable>data</replaceable>?>
+ <replaceable>data</replaceable>?>
</programlisting>
</informalexample>
このようなタグに PHP コードを入れることが可能ですが、一つの制約に
@@ -62,7 +62,7 @@
次の 3 つのパラメータを引数とする必要があります。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>target</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
@@ -113,8 +113,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-start-namespace-decl-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-start-namespace-decl-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-start-namespace-decl-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id='function.xml-set-start-namespace-decl-handler'>
<refnamediv>
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_start_namespace_decl_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -54,7 +54,7 @@
<constant>XML_ERROR_EXTERNAL_ENTITY_HANDLING</constant> を返します。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
</methodsynopsis>
@@ -102,6 +102,24 @@
&return.success;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/ja/trunk/reference/xml/functions/xml-set-unparsed-entity-decl-handler.xml
===================================================================
--- phpdoc/ja/trunk/reference/xml/functions/xml-set-unparsed-entity-decl-handler.xml 2020-11-21 22:56:27 UTC (rev 351478)
+++ phpdoc/ja/trunk/reference/xml/functions/xml-set-unparsed-entity-decl-handler.xml 2020-11-22 00:08:08 UTC (rev 351479)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351469 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa -->
<refentry xml:id="function.xml-set-unparsed-entity-decl-handler" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>xml_set_unparsed_entity_decl_handler</methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>callable</type><parameter>handler</parameter></methodparam>
</methodsynopsis>
<para>
@@ -63,7 +63,7 @@
6 つのパラメータをとる必要があります。
<methodsynopsis>
<methodname><replaceable>handler</replaceable></methodname>
- <methodparam><type>resource</type><parameter>parser</parameter></methodparam>
+ <methodparam><type>XmlParser</type><parameter>parser</parameter></methodparam>
<methodparam><type>string</type><parameter>entity_name</parameter></methodparam>
<methodparam><type>string</type><parameter>base</parameter></methodparam>
<methodparam><type>string</type><parameter>system_id</parameter></methodparam>
@@ -143,8 +143,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &xml.changelog.parser-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml