svn: /phpdoc/ja/trunk/ appendices/resources.xml language-snippets.ent reference/enchant/functions/enchant-broker-describe.xml reference/enchant/functions/enchant-broker-dict-exists.xml reference/enchant/functions/enchant-broker-free-dict.xml reference/enchant/functions/enchant-broker-free.xml reference/enchant/functions/enchant-broker-get-error.xml reference/enchant/functions/enchant-broker-init.xml reference/enchant/functions/enchant-broker-list-dicts.xml reference/enchant/functions/enchant-bro
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Tue, 01 Dec 2020 02:20:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351809
Log:
Generate enchant methodsynopses based on stubs
Closes GH-232.
Changed paths:
U phpdoc/ja/trunk/appendices/resources.xml
U phpdoc/ja/trunk/language-snippets.ent
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-describe.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free-dict.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-get-error.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-init.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-dict.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-check.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-describe.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-get-error.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-quick-check.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml
U phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-suggest.xml
U phpdoc/ja/trunk/reference/enchant/setup.xml
svn-diffs-351809.txt
(text/x-diff, 48 KB)
Modified: phpdoc/ja/trunk/appendices/resources.xml
===================================================================
--- phpdoc/ja/trunk/appendices/resources.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/appendices/resources.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351621 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,mumumu -->
<appendix xml:id="resource" xmlns="http://docbook.org/ns/docbook">
<title>リソース型の一覧</title>
@@ -389,6 +389,46 @@
<entry>dbx 結果</entry>
</row>
<row>
+ <entry>enchant_broker</entry>
+ <entry>
+ <function>enchant_broker_init</function>
+ </entry>
+ <entry>
+ <function>enchant_broker_describe</function>,
+ <function>enchant_broker_dict_exists</function>,
+ <function>enchant_broker_get_dict_path</function>,
+ <function>enchant_broker_get_error</function>,
+ <function>enchant_broker_list_dicts</function>,
+ <function>enchant_broker_set_dict_path</function>,
+ <function>enchant_broker_set_ordering</function>
+ </entry>
+ <entry>
+ <function>enchant_broker_free</function>
+ </entry>
+ <entry>Enchant ブローカー (PHP 8.0.0 より前)</entry>
+ </row>
+ <row>
+ <entry>enchant_dict</entry>
+ <entry>
+ <function>enchant_broker_request_dict</function>
+ <function>enchant_broker_request_pwl_dict</function>
+ </entry>
+ <entry>
+ <function>enchant_dict_add_to_personal</function>,
+ <function>enchant_dict_add_to_session</function>,
+ <function>enchant_dict_check</function>,
+ <function>enchant_dict_describe</function>,
+ <function>enchant_dict_get_error</function>,
+ <function>enchant_dict_is_in_session</function>,
+ <function>enchant_dict_store_replacement</function>,
+ <function>enchant_dict_suggest</function>
+ </entry>
+ <entry>
+ <function>enchant_broker_free_dict</function>
+ </entry>
+ <entry>Enchant 辞書 (PHP 8.0.0 より前)</entry>
+ </row>
+ <row>
<entry>fbsql link</entry>
<entry>
<function>fbsql_change_user</function>,
Modified: phpdoc/ja/trunk/language-snippets.ent
===================================================================
--- phpdoc/ja/trunk/language-snippets.ent 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/language-snippets.ent 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351747 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: working -->
<!-- Credits: hirokawa,haruki,shimooka,mumumu -->
<!ENTITY installation.enabled.disable 'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'>
@@ -861,6 +861,45 @@
</itemizedlist>
</para>'>
+<!-- enchant entities -->
+
+<!ENTITY enchant.param.broker '<varlistentry xmlns="http://docbook.org/ns/docbook">
+ <term><parameter>broker</parameter></term>
+ <listitem>
+ <para>
+ <function>enchant_broker_init</function> によって返される Enchant ブローカー。
+ </para>
+ </listitem>
+ </varlistentry>'>
+
+<!ENTITY enchant.param.dictionary '<varlistentry xmlns="http://docbook.org/ns/docbook">
+ <term><parameter>dictionary</parameter></term>
+ <listitem>
+ <para>
+ <function>enchant_broker_request_dict</function>
+ または
+ <function>enchant_broker_request_pwl_dict</function>
+ によって返される Enchant 辞書。
+ </para>
+ </listitem>
+ </varlistentry>'>
+
+<!ENTITY enchant.changelog.broker-param '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>broker</parameter> は、<classname>EnchantBroker</classname> クラスのインスタンスを期待するようになりました。
+ これより前のバージョンでは、&resource; が期待されていました。
+ </entry>
+</row>'>
+
+<!ENTITY enchant.changelog.dictionary-param '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>dictionary</parameter> は、<classname>EnchantDictionary</classname> クラスのインスタンスを期待するようになりました。
+ これより前のバージョンでは、&resource; が期待されていました。
+ </entry>
+</row>'>
+
<!-- IMAP notes -->
<!ENTITY imap.imap-stream.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-describe.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-describe.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-describe.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-describe" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>array</type><type>false</type></type><methodname>enchant_broker_describe</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <type>array</type><methodname>enchant_broker_describe</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
</methodsynopsis>
<para>
Enchant プロバイダを列挙し、その基本情報を通知します。
@@ -23,14 +23,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.broker;
</variablelist>
</para>
</refsect1>
@@ -39,10 +32,32 @@
&reftitle.returnvalues;
<para>
利用可能な Enchant プロバイダの一覧と、その詳細を &array; として返します。
- &return.falseforfailure;
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ このバージョンより前では、この関数は失敗時に &false; を返していました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -116,7 +131,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-dict-exists" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_dict_exists</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_broker_dict_exists</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
</methodsynopsis>
<para>
@@ -21,15 +22,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
<para>
@@ -48,6 +42,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -78,7 +89,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free-dict.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free-dict.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free-dict.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-free-dict" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_free_dict</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_broker_free_dict</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
</methodsynopsis>
<para>
辞書リソースを開放します。
@@ -20,14 +21,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -39,7 +33,30 @@
</para>
</refsect1>
- <refsect1 role="seealso">
+ <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>dictionary</parameter> は、<classname>EnchantDictionary</classname> クラスのインスタンスを期待するようになりました。
+ これより前のバージョンでは、&resource; が期待されていました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
+ <refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
@@ -51,7 +68,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-free.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349709 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-free" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_broker_free</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
</methodsynopsis>
<para>
ブローカーリソースを、その辞書とともに開放します。
@@ -22,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.broker;
</variablelist>
</para>
</refsect1>
@@ -41,6 +34,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -50,7 +60,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-get-error.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-get-error.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-get-error.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-get-error" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_get_error</refname>
@@ -9,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>enchant_broker_get_error</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>enchant_broker_get_error</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
</methodsynopsis>
<para>
このブローカーで発生した直近のエラーを返します。
@@ -21,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.broker;
</variablelist>
</para>
</refsect1>
@@ -40,8 +34,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-init.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-init.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-init.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
<refentry xml:id="function.enchant-broker-init" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_init</refname>
@@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>resource</type><methodname>enchant_broker_init</methodname>
+ <type class="union"><type>EnchantBroker</type><type>false</type></type><methodname>enchant_broker_init</methodname>
<void/>
</methodsynopsis>
@@ -26,6 +26,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>
+ 成功時に、この関数は <classname>EnchantBroker</classname> のインスタンスを返すようになりました。
+ これより前のバージョンでは、&resource; が返されていました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -35,7 +58,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349733 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-list-dicts" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>enchant_broker_list_dicts</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <type>array</type><methodname>enchant_broker_list_dicts</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
</methodsynopsis>
<para>
使用可能な辞書の一覧と、その詳細を返します。
@@ -22,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.broker;
</variablelist>
</para>
</refsect1>
@@ -38,10 +31,32 @@
&reftitle.returnvalues;
<para>
使用可能な辞書の一覧と、その詳細を &array; として返します。
- &return.falseforfailure;
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ このバージョンより前では、この関数は失敗時に &false; を返していました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -126,7 +141,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-dict.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-dict.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-dict.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-request-dict" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_request_dict</refname>
@@ -9,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>resource</type><type>false</type></type><methodname>enchant_broker_request_dict</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <type class="union"><type>EnchantDictionary</type><type>false</type></type><methodname>enchant_broker_request_dict</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
</methodsynopsis>
<para>
@@ -22,15 +23,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
<para>
@@ -49,6 +43,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ 成功時に、この関数は <classname>EnchantDictionary</classname> のインスタンスを返すようになりました。
+ これより前のバージョンでは、&resource; が返されていました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -86,7 +104,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-request-pwl-dict" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_request_pwl_dict</refname>
@@ -9,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>resource</type><type>false</type></type><methodname>enchant_broker_request_pwl_dict</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <type class="union"><type>EnchantDictionary</type><type>false</type></type><methodname>enchant_broker_request_pwl_dict</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
@@ -23,15 +24,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
<para>
@@ -51,6 +45,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ 成功時に、この関数は <classname>EnchantDictionary</classname> のインスタンスを返すようになりました。
+ これより前のバージョンでは、&resource; が返されていました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -62,7 +80,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-broker-set-ordering" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_set_ordering</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_broker_set_ordering</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
<methodparam><type>string</type><parameter>ordering</parameter></methodparam>
</methodsynopsis>
@@ -27,15 +28,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- ブローカーリソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
<para>
@@ -63,8 +57,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-add-to-personal" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_add_to_personal</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>enchant_dict_add_to_personal</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<para>
@@ -21,15 +22,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -47,6 +41,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
<example>
<title>PWL への単語の追加</title>
@@ -80,7 +91,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-add-to-session" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_add_to_session</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>enchant_dict_add_to_session</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<para>
@@ -23,15 +24,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -49,6 +43,24 @@
&return.void;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -58,7 +70,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-check.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-check.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-check.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-check" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_check</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_dict_check</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<para>
@@ -23,15 +24,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -49,8 +43,25 @@
そうでない場合に &false; を返します。
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-describe.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-describe.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-describe.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332336 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-describe" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_describe</refname>
@@ -9,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>enchant_dict_describe</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <type>array</type><methodname>enchant_dict_describe</methodname>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
</methodsynopsis>
<para>
辞書の詳細を返します。
@@ -21,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -40,6 +34,29 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ このバージョンより前では、この関数は失敗時に &false; を返していました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -94,7 +111,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-get-error.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-get-error.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-get-error.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-get-error" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_get_error</refname>
@@ -9,8 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>enchant_dict_get_error</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>enchant_dict_get_error</methodname>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
</methodsynopsis>
<para>
現在のスペリングセッションの、直近のエラーを返します。
@@ -21,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -40,8 +34,24 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-is-in-session" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_is_in_session</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_dict_is_in_session</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<para>
@@ -21,15 +22,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -47,6 +41,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -57,7 +68,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-quick-check.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-quick-check.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-quick-check.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-quick-check" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_quick_check</refname>
@@ -10,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_dict_quick_check</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
- <methodparam choice="opt"><type>array</type><parameter role="reference">suggestions</parameter></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter role="reference">suggestions</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
単語のスペルが正しい場合は &true;、そうでない場合は &false;
@@ -24,15 +25,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -60,6 +54,23 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -126,7 +137,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-store-replacement" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_store_replacement</refname>
@@ -10,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>enchant_dict_store_replacement</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
- <methodparam><type>string</type><parameter>mis</parameter></methodparam>
- <methodparam><type>string</type><parameter>cor</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
+ <methodparam><type>string</type><parameter>misspelled</parameter></methodparam>
+ <methodparam><type>string</type><parameter>correct</parameter></methodparam>
</methodsynopsis>
<para>
'mis' の修正候補として 'cor' を使用します。
@@ -25,24 +26,17 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
+ <term><parameter>misspelled</parameter></term>
<listitem>
<para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>mis</parameter></term>
- <listitem>
- <para>
修正する単語。
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>cor</parameter></term>
+ <term><parameter>correct</parameter></term>
<listitem>
<para>
正しい単語。
@@ -58,8 +52,25 @@
&return.success;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-suggest.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-suggest.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/functions/enchant-dict-suggest.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.enchant-dict-suggest" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_suggest</refname>
@@ -10,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>enchant_dict_suggest</methodname>
- <methodparam><type>resource</type><parameter>dict</parameter></methodparam>
+ <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<para>
@@ -20,15 +21,8 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.dictionary;
<varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- 辞書リソース。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><parameter>word</parameter></term>
<listitem>
<para>
@@ -47,6 +41,23 @@
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &enchant.changelog.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -86,7 +97,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/enchant/setup.xml
===================================================================
--- phpdoc/ja/trunk/reference/enchant/setup.xml 2020-12-01 01:48:38 UTC (rev 351808)
+++ phpdoc/ja/trunk/reference/enchant/setup.xml 2020-12-01 02:20:58 UTC (rev 351809)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343232 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<chapter xml:id="enchant.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -39,6 +40,7 @@
<section xml:id="enchant.resources">
&reftitle.resources;
<para>
+ PHP 8.0.0 より前のバージョンでは、
この拡張モジュールでは二種類のリソースを使用しています。ひとつは
ブローカー (バックエンドマネージャ) で、もうひとつが辞書です。
</para>