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

search for in the

pspell_add_to_session> <Fonctions Pspell
[edit] Last updated: Fri, 24 May 2013

view this page in

pspell_add_to_personal

(PHP 4 >= 4.0.2, PHP 5)

pspell_add_to_personalAjoute le mot au dictionnaire personnel

Description

bool pspell_add_to_personal ( int $dictionary_link , string $word )

pspell_add_to_personal() ajoute un mot au dictionnaire personnel. Si vous utilisez pspell_new_config() avec pspell_config_personal() pour ouvrir le dictionnaire, vous pourrez sauver le dictionnaire personnel ultérieurement avec pspell_save_wordlist().

Liste de paramètres

dictionary_link

word

Le Mot ajouté.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Exemples

Exemple #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);
?>

Notes

Note:

Cette fonction ne marchera que si vous avez pspell .11.2 et aspell .32.5 ou ultérieurs.



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

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