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

search for in the

pspell_store_replacement> <pspell_new
[edit] Last updated: Fri, 17 May 2013

view this page in

pspell_save_wordlist

(PHP 4 >= 4.0.2, PHP 5)

pspell_save_wordlistСохраняет персональный список слов в файле

Описание

bool pspell_save_wordlist ( int $dictionary_link )

pspell_save_wordlist() сохраняет персональный список слов текущей сессии. Расположение файлов для сохранения указывается с помощью pspell_config_personal() и (необязательно) pspell_config_repl().

Список параметров

dictionary_link

Ссылка на словарь, открытый с помощью pspell_new_personal().

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Примеры

Пример #1 pspell_add_to_personal()

<?php
$pspell_config 
pspell_config_create("en");
pspell_config_personal($pspell_config"/tmp/dicts/newdict");
$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_save_wordlist - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites