svn: /phpdoc/ru/trunk/reference/enchant/functions/ enchant-broker-describe.xml enchant-broker-dict-exists.xml enchant-broker-free-dict.xml enchant-broker-free.xml enchant-broker-get-dict-path.xml enchant-broker-get-error.xml enchant-broker-init.xml enchant-broker-list-dicts.xml enchant-broker-request-dict.xml enchant-broker-request-pwl-dict.xml enchant-broker-set-dict-path.xml enchant-broker-set-ordering.xml enchant-dict-add-to-personal.xml enchant-dict-add-to-session.xml enchant-dict-check.xml
[email protected] (Sergey Panteleev) Tue, 01 Dec 2020 09:21:20 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 01 Dec 2020 09:21:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351814
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free-dict.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-dict-path.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-error.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-init.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-dict.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-dict-path.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-check.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-describe.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-get-error.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-quick-check.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml
U phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-suggest.xml
svn-diffs-351814.txt
(text/x-diff, 48.7 KB)
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-describe.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-broker-describe" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,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 и возвращает минимальную информацию
@@ -24,14 +24,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,33 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает массив (&array;) доступных провайдеров Enchant с их данными &return.falseforfailure;.
+ Возвращает массив (&array;) доступных провайдеров Enchant с их данными.
</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 +132,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-dict-exists.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-broker-dict-exists" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,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>
@@ -23,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>
@@ -50,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>
+ &enchant.changelog.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -80,7 +90,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free-dict.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free-dict.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free-dict.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-free-dict" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_free_dict</refname>
@@ -12,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>
Освобождает ресурс словаря.
@@ -22,14 +21,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- Ресурс словаря.
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -41,6 +33,29 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>dictionary</parameter> ожидает <classname>EnchantDictionary</classname>;
+ Ранее ожидался ресурс (&resource;).
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -53,7 +68,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-free.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349709 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-free" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_free</refname>
@@ -12,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>
Освобождает ресурс брокера и его словари.
@@ -23,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>broker</parameter></term>
- <listitem>
- <para>
- Ресурс брокера
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.broker;
</variablelist>
</para>
</refsect1>
@@ -42,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>
@@ -51,7 +60,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-dict-path.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-dict-path.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-dict-path.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337544 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-get-dict-path" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_get_dict_path</refname>
@@ -12,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>enchant_broker_get_dict_path</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
- <methodparam><type>int</type><parameter>dict_type</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>enchant_broker_get_dict_path</methodname>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
+ <methodparam><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
Возвращает путь словаря для заданного бэкенда.
@@ -25,18 +24,11 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
+ <term><parameter>type</parameter></term>
<listitem>
<para>
- Ресурс брокера
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>dict_type</parameter></term>
- <listitem>
- <para>
Тип словарей, т.е. <constant>ENCHANT_MYSPELL</constant>
или <constant>ENCHANT_ISPELL</constant>.
</para>
@@ -53,6 +45,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>
@@ -63,7 +72,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-error.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-error.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-get-error.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-get-error" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_get_error</refname>
@@ -11,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>
Возвращает последнюю ошибку, возникшую на брокере.
@@ -23,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,8 +33,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>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-init.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-init.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-init.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-init" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_init</refname>
@@ -11,7 +10,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>
@@ -28,6 +27,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>
@@ -37,7 +59,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-list-dicts.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349733 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-list-dicts" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_list_dicts</refname>
@@ -11,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>
Возвращает список доступных словарей.
@@ -23,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 +30,33 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает массив (&array;) доступных словарей с их данными &return.falseforfailure;.
+ Возвращает массив (&array;) доступных словарей с их данными.
</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/ru/trunk/reference/enchant/functions/enchant-broker-request-dict.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-dict.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-dict.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-request-dict" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_request_dict</refname>
@@ -11,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>
@@ -23,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>
@@ -50,6 +42,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 +102,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-request-pwl-dict.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-broker-request-pwl-dict" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,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>
@@ -25,15 +25,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>
@@ -53,6 +46,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>
@@ -64,7 +81,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-dict-path.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-dict-path.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-dict-path.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337544 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-set-dict-path" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_set_dict_path</refname>
@@ -13,9 +12,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>enchant_broker_set_dict_path</methodname>
- <methodparam><type>resource</type><parameter>broker</parameter></methodparam>
- <methodparam><type>int</type><parameter>dict_type</parameter></methodparam>
- <methodparam><type>string</type><parameter>value</parameter></methodparam>
+ <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
+ <methodparam><type>int</type><parameter>type</parameter></methodparam>
+ <methodparam><type>string</type><parameter>path</parameter></methodparam>
</methodsynopsis>
<para>
Установить путь для заданного бэкенда.
@@ -26,18 +25,11 @@
&reftitle.parameters;
<para>
<variablelist>
+ &enchant.param.broker;
<varlistentry>
- <term><parameter>broker</parameter></term>
+ <term><parameter>type</parameter></term>
<listitem>
<para>
- Ресурс брокера
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>dict_type</parameter></term>
- <listitem>
- <para>
Тип словарей, т.е. <constant>ENCHANT_MYSPELL</constant>
или <constant>ENCHANT_ISPELL</constant>.
</para>
@@ -44,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>value</parameter></term>
+ <term><parameter>path</parameter></term>
<listitem>
<para>
Путь к директории со словарями.
@@ -62,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.broker-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -72,7 +81,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-broker-set-ordering.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-broker-set-ordering" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_broker_set_ordering</refname>
@@ -12,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>
@@ -28,15 +27,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 +55,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/ru/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-personal.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-add-to-personal" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_add_to_personal</refname>
@@ -12,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>
@@ -23,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>
@@ -49,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>
@@ -82,7 +91,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-add-to-session.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-add-to-session" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_add_to_session</refname>
@@ -12,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>
@@ -25,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>
@@ -51,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>
@@ -60,7 +70,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-check.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-check.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-check.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-check" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_check</refname>
@@ -12,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>
@@ -24,15 +23,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 +41,25 @@
Возвращает &true;, если слово написано без ошибок или &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/ru/trunk/reference/enchant/functions/enchant-dict-describe.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-describe.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-describe.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332336 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-describe" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_describe</refname>
@@ -11,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>
Возвращает информацию о словаре.
@@ -23,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- Ресурс словаря
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -42,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>
@@ -95,7 +110,6 @@
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-get-error.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-get-error.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-get-error.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-dict-get-error" xmlns="http://docbook.org/ns/docbook">
@@ -11,8 +11,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>
Возвращает последнюю ошибку текущей сессии проверки.
@@ -23,14 +23,7 @@
&reftitle.parameters;
<para>
<variablelist>
- <varlistentry>
- <term><parameter>dict</parameter></term>
- <listitem>
- <para>
- Ресурс словаря
- </para>
- </listitem>
- </varlistentry>
+ &enchant.param.dictionary;
</variablelist>
</para>
</refsect1>
@@ -41,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/ru/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-is-in-session.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343887 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-dict-is-in-session" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,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>
@@ -23,15 +23,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 +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.dictionary-param;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -59,7 +69,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-quick-check.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-quick-check.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-quick-check.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.enchant-dict-quick-check" xmlns="http://docbook.org/ns/docbook">
@@ -12,9 +12,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;. Если задан параметр
@@ -25,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 +53,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 +136,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-store-replacement.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-store-replacement" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_store_replacement</refname>
@@ -12,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>
Добавить исправление 'cor' для 'mis'.
@@ -27,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>
Корректное слово
@@ -60,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/ru/trunk/reference/enchant/functions/enchant-dict-suggest.xml
===================================================================
--- phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-suggest.xml 2020-12-01 08:35:04 UTC (rev 351813)
+++ phpdoc/ru/trunk/reference/enchant/functions/enchant-dict-suggest.xml 2020-12-01 09:21:20 UTC (rev 351814)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351794 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.enchant-dict-suggest" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>enchant_dict_suggest</refname>
@@ -12,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>
@@ -22,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>
@@ -48,6 +40,22 @@
</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;
@@ -88,7 +96,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml