mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
enchant: fix XML to get remove of useless wrapping para tags
This commit is contained in:
@@ -1,54 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: fernandowobeto Status: ready --><!-- CREDITS: fernandowobeto -->
|
||||
|
||||
<appendix xml:id="enchant.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: fernandowobeto Status: ready -->
|
||||
<!-- CREDITS: fernandowobeto -->
|
||||
<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="enchant.constants">
|
||||
&reftitle.constants;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.libenchant-version">
|
||||
<term>
|
||||
<constant>LIBENCHANT_VERSION</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
A versão do libenchant.
|
||||
Disponível a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.enchant-myspell">
|
||||
<term>
|
||||
<constant>ENCHANT_MYSPELL</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Tipo de dicionário para MySpell. Usado com
|
||||
<function>enchant_broker_get_dict_path</function> e
|
||||
<function>enchant_broker_set_dict_path</function>.
|
||||
Descontinuado a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.enchant-ispell">
|
||||
<term>
|
||||
<constant>ENCHANT_ISPELL</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Tipo de dicionário para Ispell. Usado com
|
||||
<function>enchant_broker_get_dict_path</function> e
|
||||
<function>enchant_broker_set_dict_path</function>.
|
||||
Descontinuado a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry xml:id="constant.libenchant-version">
|
||||
<term>
|
||||
<constant>LIBENCHANT_VERSION</constant>
|
||||
(<type>string</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
A versão do libenchant.
|
||||
Disponível a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.enchant-myspell">
|
||||
<term>
|
||||
<constant>ENCHANT_MYSPELL</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Tipo de dicionário para MySpell. Usado com
|
||||
<function>enchant_broker_get_dict_path</function> e
|
||||
<function>enchant_broker_set_dict_path</function>.
|
||||
Descontinuado a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.enchant-ispell">
|
||||
<term>
|
||||
<constant>ENCHANT_ISPELL</constant>
|
||||
(<type>int</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Tipo de dicionário para Ispell. Usado com
|
||||
<function>enchant_broker_get_dict_path</function> e
|
||||
<function>enchant_broker_set_dict_path</function>.
|
||||
Descontinuado a partir do PHP 8.0.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</appendix>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -69,4 +66,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-describe" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-describe">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_describe</refname>
|
||||
<refpurpose>Enumera os provedores de Enchant</refpurpose>
|
||||
@@ -19,11 +20,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -58,10 +57,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Lista os backends providos pelo broker informado</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>Lista os backends providos pelo broker informado</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$r = enchant_broker_init();
|
||||
@@ -71,9 +69,9 @@ print_r($bprovides);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
O broker atual fornece os seguintes backend(s):
|
||||
Array
|
||||
@@ -108,9 +106,8 @@ Array
|
||||
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-dict-exists" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-dict-exists">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_dict_exists</refname>
|
||||
<refpurpose>Informa se um dicionário existe ou não, usando etiqueta não vazia</refpurpose>
|
||||
@@ -18,19 +19,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Etiqueta não vazia no formato da localidade, por exemplo, us_US, pt_BR, etc.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Etiqueta não vazia no formato da localidade, por exemplo, us_US, pt_BR, etc.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -59,10 +58,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>enchant_broker_dict_exists</function></title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>Um exemplo de <function>enchant_broker_dict_exists</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$tag = 'en_US';
|
||||
@@ -72,19 +70,16 @@ if (enchant_broker_dict_exists($r,$tag)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_describe</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_describe</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-free-dict" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free-dict">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_free_dict</refname>
|
||||
<refpurpose>Libera um recurso de dicionário</refpurpose>
|
||||
@@ -24,11 +25,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -69,12 +68,10 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
<member><function>enchant_broker_request_pwl_dict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
<member><function>enchant_broker_request_pwl_dict</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-free" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_free</refname>
|
||||
<refpurpose>Libera o recurso do broker e seus dicionários</refpurpose>
|
||||
@@ -25,11 +26,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -64,11 +63,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_init</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_init</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-get-dict-path" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-dict-path">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_get_dict_path</refname>
|
||||
<refpurpose>Obtém o caminho do diretório para um determinado back-end</refpurpose>
|
||||
@@ -25,20 +26,18 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O tipo dos dicionários, ou seja <constant>ENCHANT_MYSPELL</constant>
|
||||
ou <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O tipo dos dicionários, ou seja <constant>ENCHANT_MYSPELL</constant>
|
||||
ou <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -83,11 +82,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_set_dict_path</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_set_dict_path</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-get-error" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-error">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_get_error</refname>
|
||||
<refpurpose>Retorna o último erro do broker</refpurpose>
|
||||
@@ -18,11 +19,9 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b362867fced4bb497907b6a2fcd2a78e76384f7e Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-init" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-init">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_init</refname>
|
||||
<refpurpose>Cria um novo objeto broker capaz de fazer solicitação</refpurpose>
|
||||
@@ -50,11 +51,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_free</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_free</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-list-dicts" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-list-dicts">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_list_dicts</refname>
|
||||
<refpurpose>Retorna uma lista de dicionários disponíveis</refpurpose>
|
||||
@@ -18,11 +19,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -57,10 +56,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Lista todos os dicionários disponíveis para um broker</title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>Lista todos os dicionários disponíveis para um broker</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$r = enchant_broker_init();
|
||||
@@ -68,9 +66,9 @@ $dicts = enchant_broker_list_dicts($r);
|
||||
print_r($dicts);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
@@ -124,18 +122,15 @@ Array
|
||||
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_describe</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_describe</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bce2cb849721c70737eb32ce958131e22677770c Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-request-dict" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-dict">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_request_dict</refname>
|
||||
<refpurpose>Cria um novo dicionário usando uma etiqueta</refpurpose>
|
||||
@@ -19,19 +20,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma etiqueta descrevendo a localidade, por exemplo, pt_BR, en_US.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Uma etiqueta descrevendo a localidade, por exemplo, pt_BR, en_US.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -90,13 +89,11 @@ if (enchant_broker_dict_exists($broker,$tag)) {
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_describe</function></member>
|
||||
<member><function>enchant_broker_dict_exists</function></member>
|
||||
<member><function>enchant_broker_free_dict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_describe</function></member>
|
||||
<member><function>enchant_broker_dict_exists</function></member>
|
||||
<member><function>enchant_broker_free_dict</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-request-pwl-dict" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-pwl-dict">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_request_pwl_dict</refname>
|
||||
<refpurpose>Cria um dicionário usando um arquivo PWL</refpurpose>
|
||||
@@ -19,20 +20,18 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho para o arquivo PWL.
|
||||
Se não existir tal arquivo, um novo será criado, se possível.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Caminho para o arquivo PWL.
|
||||
Se não existir tal arquivo, um novo será criado, se possível.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -68,13 +67,11 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_describe</function></member>
|
||||
<member><function>enchant_broker_dict_exists</function></member>
|
||||
<member><function>enchant_broker_free_dict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_describe</function></member>
|
||||
<member><function>enchant_broker_dict_exists</function></member>
|
||||
<member><function>enchant_broker_free_dict</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9b1673cf114a1e10c4563ab9223cb56aed552b89 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-set-dict-path" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-dict-path">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_set_dict_path</refname>
|
||||
<refpurpose>Define o caminho do diretório para um determinado back-end</refpurpose>
|
||||
@@ -26,28 +27,26 @@
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O tipo dos dicionários, ou seja, <constant>ENCHANT_MYSPELL</constant>
|
||||
ou <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>path</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O caminho do diretório do dicionário.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O tipo dos dicionários, ou seja, <constant>ENCHANT_MYSPELL</constant>
|
||||
ou <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>path</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
O caminho do diretório do dicionário.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -91,11 +90,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_get_dict_path</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_get_dict_path</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-broker-set-ordering" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-ordering">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_set_ordering</refname>
|
||||
<refpurpose>Declara uma preferência de dicionários a serem usados para o idioma</refpurpose>
|
||||
@@ -24,29 +25,27 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Etiqueta de idioma. A etiqueta especial "*" pode ser usada como
|
||||
uma etiqueta de idioma para declarar uma ordem padrão para qualquer
|
||||
idioma que não declare explicitamente uma ordem.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ordering</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Lista delimitada por vírgulas de nomes de provedores
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.broker;
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Etiqueta de idioma. A etiqueta especial "*" pode ser usada como
|
||||
uma etiqueta de idioma para declarar uma ordem padrão para qualquer
|
||||
idioma que não declare explicitamente uma ordem.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ordering</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Lista delimitada por vírgulas de nomes de provedores
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-add-to-session" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add-to-session">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_add_to_session</refname>
|
||||
<refpurpose>Adciona uma palavra a esta sessão de verificação de ortografia</refpurpose>
|
||||
@@ -20,19 +21,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser adicionada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser adicionada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
@@ -61,11 +60,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bce2cb849721c70737eb32ce958131e22677770c Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-add" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_add</refname>
|
||||
<refpurpose>Adiciona uma palavra à lista de palavras personalizadas</refpurpose>
|
||||
@@ -18,19 +19,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser adicionada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser adicionada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
@@ -80,12 +79,10 @@ enchant_dict_add($dict, $word);
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_pwl_dict</function></member>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_broker_request_pwl_dict</function></member>
|
||||
<member><function>enchant_broker_request_dict</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-check" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-check">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_check</refname>
|
||||
<refpurpose>Verifica se uma palavra está escrita de forma correta</refpurpose>
|
||||
@@ -19,19 +20,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser verificada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser verificada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bce2cb849721c70737eb32ce958131e22677770c Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-describe" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-describe">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_describe</refname>
|
||||
<refpurpose>Descreve um dicionário individual</refpurpose>
|
||||
@@ -18,11 +19,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-get-error" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-get-error">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_get_error</refname>
|
||||
<refpurpose>Retorna o último erro da sessão de correção ortográfica atual</refpurpose>
|
||||
@@ -18,11 +19,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-is-added" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-is-added">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_is_added</refname>
|
||||
<refpurpose>Informa se uma palavra existe ou não nesta sessão de correção ortográfica</refpurpose>
|
||||
@@ -18,19 +19,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser procurada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser procurada
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
@@ -58,11 +57,9 @@
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_add_to_session</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_add_to_session</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-quick-check" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-quick-check">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_quick_check</refname>
|
||||
<refpurpose>Verifica se a palavra está escrita corretamente e fornece sugestões</refpurpose>
|
||||
@@ -20,28 +21,26 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser verificada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>suggestions</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se a palavra não estiver escrita corretamente, esta variável
|
||||
conterá um array de sugestões.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser verificada.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>suggestions</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Se a palavra não estiver escrita corretamente, esta variável
|
||||
conterá um array de sugestões.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
@@ -69,10 +68,9 @@
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Um exemplo de <function>enchant_dict_quick_check</function></title>
|
||||
<programlisting role="php">
|
||||
<example>
|
||||
<title>Um exemplo de <function>enchant_dict_quick_check</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$tag = 'en_US';
|
||||
@@ -85,9 +83,9 @@ if (enchant_broker_dict_exists($r,$tag)) {
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
@@ -118,19 +116,16 @@ Array
|
||||
[24] => song's
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</screen>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_check</function></member>
|
||||
<member><function>enchant_dict_suggest</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_check</function></member>
|
||||
<member><function>enchant_dict_suggest</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-store-replacement" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-store-replacement">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_store_replacement</refname>
|
||||
<refpurpose>Adiciona uma correção para uma palavra</refpurpose>
|
||||
@@ -22,27 +23,25 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>misspelled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser corrigida
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>correct</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra corrigida
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>misspelled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra a ser corrigida
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>correct</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A palavra corrigida
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: bce2cb849721c70737eb32ce958131e22677770c Maintainer: leonardolara Status: ready --><!-- CREDITS: leonardolara -->
|
||||
<refentry xml:id="function.enchant-dict-suggest" xmlns="http://docbook.org/ns/docbook">
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: leonardolara Status: ready -->
|
||||
<!-- CREDITS: leonardolara -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-suggest">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_suggest</refname>
|
||||
<refpurpose>Retorna uma lista de valores se alguma pré-condição não for atendida</refpurpose>
|
||||
@@ -17,19 +18,17 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Palavra a ser usada para as sugestões.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
&enchant.param.dictionary;
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Palavra a ser usada para as sugestões.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
@@ -83,12 +82,10 @@ if (enchant_broker_dict_exists($r,$tag)) {
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_check</function></member>
|
||||
<member><function>enchant_dict_quick_check</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
<simplelist>
|
||||
<member><function>enchant_dict_check</function></member>
|
||||
<member><function>enchant_dict_quick_check</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
Reference in New Issue
Block a user