Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

enchant_broker_request_dict(3) [php man page]

ENCHANT_BROKER_REQUEST_DICT(3)						 1					    ENCHANT_BROKER_REQUEST_DICT(3)

enchant_broker_request_dict - create a new dictionary using a tag

SYNOPSIS
resource enchant_broker_request_dict (resource $broker, string $tag) DESCRIPTION
create a new dictionary using tag, the non-empty language tag you wish to request a dictionary for ("en_US", "de_DE", ...) PARAMETERS
o $broker - Broker resource o $tag - A tag describing the locale, for example en_US, de_DE RETURN VALUES
Returns a dictionary resource on success or FALSE on failure. EXAMPLES
Example #1 A enchant_broker_request_dict(3) example Check if a dictionary exists using enchant_broker_dict_exists(3) and request it. <?php $tag = 'en_US'; $broker = enchant_broker_init(); if (enchant_broker_dict_exists($broker,$tag)) { $dict = enchant_broker_request_dict($r, $tag); } ?> SEE ALSO
enchant_dict_describe(3), enchant_broker_dict_exists(3), enchant_broker_free_dict(3). PHP Documentation Group ENCHANT_BROKER_REQUEST_DICT(3)

Check Out this Related Man Page

ENCHANT_BROKER_DESCRIBE(3)						 1						ENCHANT_BROKER_DESCRIBE(3)

enchant_broker_describe - Enumerates the Enchant providers

SYNOPSIS
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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Question about the here tag

Hello, Can you tell me why the last command(echo) in this script does not execute? In the command line I have to hit control -d to terminate this tag but I dont know how to do it in a shell script. sqlplus -s <<EOF connect / as sysdba select sysdate from dual; quit; EOF echo... (13 Replies)
Discussion started by: majormark
13 Replies

2. Shell Programming and Scripting

Matching using Regex inside a file

I need scan through some files, then open the file one by one and scan inside the file using perl to see if it contain a start tag and end tag which the end tag is the mirror image of the start tag, the start tag and end tag only have 5 char. And inside the file there is "http://". It is just a... (5 Replies)
Discussion started by: blueblur
5 Replies

3. UNIX for Dummies Questions & Answers

replace characters with spaces between tag

I have a file where in some records are having the <Start> and <End> tag. There is data before the start tag , between the tages and after the End tag. I want to replace everything between the start & end tag with equivalent spaces. Input File afsdfaksddfs<start>12678<end>sgdfgdfsf... (6 Replies)
Discussion started by: varunrbs
6 Replies

4. Shell Programming and Scripting

Search and Append

All, I stuck up for the logic, how to implement the below thing in script. -Search for <a class="string-array"> line and in next line of search string append with <string>java</string> in a xml file The problem here is, <a class="string-array"> occurs multiple places in the xml. I just... (13 Replies)
Discussion started by: vino_hymi
13 Replies

5. Programming

NS3 with MQTT integration. HELP !!!!

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)
Discussion started by: KishIsrael
4 Replies

6. Shell Programming and Scripting

How to remove string inside html tag <a>

Does anybody know how i can remove string from <a> tag? There are several hundred posts in a few forums that need to be cleaned up. The precise situation is ---------- <a href="http://mydomain.com/cgi-bin/anyboard.cgi?fvp=/family/sexuality_and_spirituality/&cmd=rA&cG=43"> ------------- my... (6 Replies)
Discussion started by: georgi58
6 Replies

7. Shell Programming and Scripting

Read a file name from a text file and save it in a variable

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)
Discussion started by: santosh2626
9 Replies

8. Shell Programming and Scripting

Extracting a string from html tag

Hi I am new to string extractions in shell script... I am trying to extract a string such as #1753 from html tag looks like below. <a class="model-link tl-tr" href="lastSuccessfulBuild/">Last successful build (#1753), 40 min ago</a> and want the value as 1753 Could someone help me to... (3 Replies)
Discussion started by: hicharbo
3 Replies

9. Shell Programming and Scripting

Search for a html tag and print the entire tag

I want to print from <fruits> to </fruits> tag which have <fruit> as mango. Also i want both <fruits> and </fruits> in output. Please help eg. <fruits> <fruit id="111">mango<fruit> . another 20 lines . </fruits> (3 Replies)
Discussion started by: Ashik409
3 Replies

10. Shell Programming and Scripting

How to check empty string in an XML tag?

I have an XML tag <abc> which is empty as <abc></abc>.If the the tag is empty I want to flag the file as bad. Please help. Thanks (3 Replies)
Discussion started by: aneeta13
3 Replies

11. AIX

What in the world is openssh\.msg\.en_US?

Upon doing an lslpp -L | grep ssh I notice the following package is missing: openssh\.msg\.en_US - Open Secure Shell Messages I would like to know what exactly does this package do, and is it needed. It does not appear to be necessary as I can connect to my AIX boxes just fine without it. ... (4 Replies)
Discussion started by: busi386
4 Replies

12. Shell Programming and Scripting

XML Parse between to tag with upper tag

Hi Guys Here is my Input : <?xml version="1.0" encoding="UTF-8"?> <xn:MeContext id="01736"> <xn:VsDataContainer id="01736"> <xn:attributes> <xn:vsDataType>vsDataMeContext</xn:vsDataType> ... (12 Replies)
Discussion started by: pareshkp
12 Replies

13. Shell Programming and Scripting

To search for a particular tag in xml and collate all similar tag values and display them count

I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help File: <xml><object1>house</object1><object2>child</object2>... (9 Replies)
Discussion started by: srkmish
9 Replies

14. UNIX for Beginners Questions & Answers

Replacing tag based on condition

Hi All, I am having a file like below. The file will having information about the records.If you see the file the file is header and data. For example it have 1 men tag and the tag id will be come after headers. The change is I want to convert All pets tag from P to X. I did a sed like below... (5 Replies)
Discussion started by: arunkumar_mca
5 Replies

15. What is on Your Mind?

New 'member_project' tag with DarkGreen (was Magenta) Color

Hi wisecracker, Thank you for posting this. Reference: Q: Is SQRT(n) possible in a POSIX... I think I will create a new tag for these kind of "tutorials" or "fun projects" similar to the "solved" tag which changes the color to blue; but the "member_project" tag would turn the color to... (14 Replies)
Discussion started by: Neo
14 Replies