mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 22:38:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
146 lines
3.4 KiB
XML
146 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<refentry xml:id="function.enchant-broker-list-dicts" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>enchant_broker_list_dicts</refname>
|
|
<refpurpose>Returns a list of available dictionaries</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>enchant_broker_list_dicts</methodname>
|
|
<methodparam><type>resource</type><parameter>broker</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Returns a list of available dictionaries with their details.
|
|
</para>
|
|
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>broker</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Broker resource
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>List all available dictionaries for one broker</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
$r = enchant_broker_init();
|
|
$dicts = enchant_broker_list_dicts($r);
|
|
print_r($dicts);
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
&example.outputs.similar;
|
|
<screen>
|
|
<![CDATA[
|
|
Array
|
|
(
|
|
[0] => Array
|
|
(
|
|
[lang_tag] => de
|
|
[provider_name] => aspell
|
|
[provider_desc] => Aspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
|
|
)
|
|
|
|
[1] => Array
|
|
(
|
|
[lang_tag] => de_DE
|
|
[provider_name] => aspell
|
|
[provider_desc] => Aspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
|
|
)
|
|
|
|
[3] => Array
|
|
(
|
|
[lang_tag] => en
|
|
[provider_name] => aspell
|
|
[provider_desc] => Aspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
|
|
)
|
|
|
|
[4] => Array
|
|
(
|
|
[lang_tag] => en_GB
|
|
[provider_name] => aspell
|
|
[provider_desc] => Aspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
|
|
)
|
|
|
|
[5] => Array
|
|
(
|
|
[lang_tag] => en_US
|
|
[provider_name] => aspell
|
|
[provider_desc] => Aspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_aspell.so
|
|
)
|
|
|
|
[6] => Array
|
|
(
|
|
[lang_tag] => hi_IN
|
|
[provider_name] => myspell
|
|
[provider_desc] => Myspell Provider
|
|
[provider_file] => /usr/lib/enchant/libenchant_myspell.so
|
|
)
|
|
|
|
)
|
|
]]>
|
|
</screen>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>enchant_broker_describe</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|