downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

pspell_add_to_session> <Pspell 関数
Last updated: Fri, 13 Nov 2009

view this page in

pspell_add_to_personal

(PHP 4 >= 4.0.2, PHP 5)

pspell_add_to_personalユーザの単語リストに単語を追加する

説明

bool pspell_add_to_personal ( int $dictionary_link , string $word )

pspell_add_to_personal() はユーザの単語リスト に単語を追加します。ディレクトリをオープンするために pspell_new_config()pspell_config_personal() とともに使用した場合、 pspell_save_wordlist() で単語リストを保存することが可能です。

パラメータ

dictionary_link

word

追加する単語。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 pspell_add_to_personal()

<?php
$pspell_config 
pspell_config_create("en");
pspell_config_personal($pspell_config"/var/dictionaries/custom.pws");
$pspell_link pspell_new_config($pspell_config);

pspell_add_to_personal($pspell_link"Vlad");
pspell_save_wordlist($pspell_link);
?>

注意

注意: この関数は、pspell .11.2 と aspell .32.5 以降でない限り動作しないことに注意してください。



add a note add a note User Contributed Notes
pspell_add_to_personal
There are no user contributed notes for this page.

pspell_add_to_session> <Pspell 関数
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites