[ Pobierz całość w formacie PDF ]
.pspell_config_personalPodręcznik PHPPoprzedniNastępnypspell_config_personal (PHP 4 >= 4.2)pspell_config_personal -- Set a file that contains personal wordlistDescriptionint pspell_config_personal (int dictionary_link, string file)
pspell_config_personal() should be used on a configbefore calling pspell_new_config().The personalwordlist will be loaded and used in addition to the standard one afteryou call pspell_new_config().If the file does notexist, it will be created.The file is also the file wherepspell_save_wordlist() will save personal wordlist to.The file should be writable by whoever php runs as (e.g.nobody).Please,note that this function will not work unless you have pspell.11.2 andaspell.32.5 or later.
Przykład 1.pspell_config_personal()$pspell_config = pspell_config_create ("en");pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws");$pspell_link = pspell_new_config ($pspell_config);pspell_check ($pspell_link, "thecat");PoprzedniSpis treściNastępnypspell_config_modePoczątek rozdziałupspell_config_repl
[ Pobierz całość w formacie PDF ]