docs(ru): Updated to English revision

git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@351814 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sergey Panteleev
2020-12-01 09:21:20 +00:00
parent 24413478ad
commit c7257fa82f
21 changed files with 485 additions and 259 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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 @@ Array
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +23,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
&enchant.param.broker;
<varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
@ -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 @@ if (enchant_broker_dict_exists($r,$tag)) {
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 9e4c917c09b4eed089d61074189ef81934a9dd23 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b166dc655ca81c72e549ac64fbdd6bbdc66b921e Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,16 +24,9 @@
&reftitle.parameters;
<para>
<variablelist>
&enchant.param.broker;
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dict_type</parameter></term>
<term><parameter>type</parameter></term>
<listitem>
<para>
Тип словарей, т.е. <constant>ENCHANT_MYSPELL</constant>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7418592d82d6cde8d052effd3607e5761d6c4e67 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: edaff9d6b127d54c5e49c3e49e51910f262155f6 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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 @@ Array
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
&enchant.param.broker;
<varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
@ -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 @@ if (enchant_broker_dict_exists($broker,$tag)) {
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +25,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
&enchant.param.broker;
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b166dc655ca81c72e549ac64fbdd6bbdc66b921e Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,16 +25,9 @@
&reftitle.parameters;
<para>
<variablelist>
&enchant.param.broker;
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>dict_type</parameter></term>
<term><parameter>type</parameter></term>
<listitem>
<para>
Тип словарей, т.е. <constant>ENCHANT_MYSPELL</constant>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +27,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>broker</parameter></term>
<listitem>
<para>
Ресурс брокера
</para>
</listitem>
</varlistentry>
&enchant.param.broker;
<varlistentry>
<term><parameter>tag</parameter></term>
<listitem>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7418592d82d6cde8d052effd3607e5761d6c4e67 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +22,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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 @@ enchant_broker_free($broker);
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7418592d82d6cde8d052effd3607e5761d6c4e67 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +24,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +23,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 30d1020cf55b8f5493f675f306e3d7c162aa101b Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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 @@ Array
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7418592d82d6cde8d052effd3607e5761d6c4e67 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +23,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +25,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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 @@ Array
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,16 +26,9 @@
&reftitle.parameters;
<para>
<variablelist>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>mis</parameter></term>
<term><parameter>misspelled</parameter></term>
<listitem>
<para>
Слово для исправления
@ -44,7 +36,7 @@
</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

View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: rjhdby Status: ready -->
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 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,14 +21,7 @@
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>dict</parameter></term>
<listitem>
<para>
Ресурс словаря
</para>
</listitem>
</varlistentry>
&enchant.param.dictionary;
<varlistentry>
<term><parameter>word</parameter></term>
<listitem>
@ -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 @@ enchant_broker_free($r);
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml