ENCHANT_BROKER_DESCRIBE(3) 1 ENCHANT_BROKER_DESCRIBE(3)enchant_broker_describe - Enumerates the Enchant providersSYNOPSIS
array enchant_broker_describe (resource $broker)
DESCRIPTION
Enumerates the Enchant providers and tells you some rudimentary information about them. The same info is provided through phpinfo().
PARAMETERS
o $broker
- Broker resource
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
List the backends provided by the given broker
<?php
$r = enchant_broker_init();
$bprovides = enchant_broker_describe($r);
echo "Current broker provides the following backend(s):
";
print_r($bprovides);
?>
The above example will output something similar to:
Current broker provides the following backend(s):
Array
(
[0] => Array
(
[name] => aspell
[desc] => Aspell Provider
[file] => /usr/lib/enchant/libenchant_aspell.so
)
[1] => Array
(
[name] => hspell
[desc] => Hspell Provider
[file] => /usr/lib/enchant/libenchant_hspell.so
)
[2] => Array
(
[name] => ispell
[desc] => Ispell Provider
[file] => /usr/lib/enchant/libenchant_ispell.so
)
[3] => Array
(
[name] => myspell
[desc] => Myspell Provider
[file] => /usr/lib/enchant/libenchant_myspell.so
)
)
PHP Documentation Group ENCHANT_BROKER_DESCRIBE(3)
Check Out this Related Man Page
ENCHANT_BROKER_LIST_DICTS(3) 1 ENCHANT_BROKER_LIST_DICTS(3)enchant_broker_list_dicts - Returns a list of available dictionariesSYNOPSIS
mixed enchant_broker_list_dicts (resource $broker)
DESCRIPTION
Returns a list of available dictionaries with their details.
PARAMETERS
o $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 enchant_broker_describe(3).
PHP Documentation Group ENCHANT_BROKER_LIST_DICTS(3)
i've downloaded php 5 everything seems to be going smoothly except for onething.. i can't seem to locate the files... my question is do i have to manually place the lib in /usr/lib. how do I go about doing this and which other files have to be allocated..
thanx moxxx68 (3 Replies)
Hello...
I've got a problem accessing the Solaris OS using rdesktop on a terminalserver farm with TS Session Broker and W2K8R2 with NLB.
I get the following error message:
user@xxx /h/user/Desktop 150 > rdesktop terminalserver
WARNING: Remote desktop does not support colour depth 24;... (0 Replies)
Hi
Current SCO Unix 5.05
I see that there are filenames with @ at the end of file name for example
in the /usr/lib there is file lpadmin@
what does the @ represent when it is at the end of the file name
Thanks (4 Replies)
Hi, I'm doing my thesis on the NS3 environment. I need to integrate it with mqtt. Mqtt provides a (mosquitto) broker / server, and it expects to have clients connect to it. A client could be a publisher (publishes data on the broker) or a subscriber (receives data from the broker it has subscribed... (4 Replies)
I have a file with two fields seperated by comma
data looks like below with the header
The o/p should look like this
Basically, the req is to replace only the first occuring comma with pipe
can we do this with any commands (2 Replies)
i have a text file consists of different file names like:
line 1: lib/libIMb.so message broker file
line 2: lil/imbdfg.lil message broker file
i need to extract libIMb.so and imbdfg.lil files from those lines and save them in a variable. so that i can search for... (9 Replies)
Hi,
I have a file that contains below information:
provider APESD
APESD Annual Turn $67000
Provider
XXXX Annual Turn $92000
Provider FERHG
FERHG Annual Turn $56700
Provider
ABXX Annual Turn $99000
These are just sample rows out of some 5000. I want to create a tabular report as... (5 Replies)
Hi all,
I have the code as below "
echo "File carried list after 1st loop "${fileStreamAssiagnInit}""
and I have the out put for the above code as below :
Output : File carried list after 1st loop abcInd.csv sdgUS.csv sopSing.csv
Here i want to count the number of elements in... (3 Replies)
Hey everyone. I work for a small colocation data center. We also provide internet to small businesses via upstream providers like level 3. We also have peering agreements with a few places like NYIIX. My main questions are thus..
1. NYIIX, a peering interconnect, has a list of mutually peered... (1 Reply)