IT. Expert System.

PHP

Returns a list of available dictionaries


enchant_broker_list_dicts

(PHP 5 >= 5.3.0, PECL enchant >= 1.0.1)

enchant_broker_list_dictsReturns a list of available dictionaries

Description

mixed enchant_broker_list_dicts ( resource $broker )

Returns a list of available dictionaries with their details.

Parameters

broker

Broker resource

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example #1 List all available dictionaries for one broker

<?php
$r 
enchant_broker_init();
$dicts enchant_broker_list_dicts($r);
print_r($dicts);
?>

The above example will output something similar to:

 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   ) ) 

See Also



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2629 / . Delta: 0.02754 с