Warning: file_put_contents(): Only -1 of 60 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
pspell_check pspell_config_create Pspell PHP Manual pspell_clear_session (PHP 4 >= 4.0.2, 5) — Remet à zéro la session courante Description bool ( int $dictionary_link ) pspell_clear_session...
Forum und email

pspell_clear_session

(PHP 4 >= 4.0.2, PHP 5)

pspell_clear_session — Remet à zéro la session courante

Description

bool pspell_clear_session ( int $dictionary_link )

pspell_clear_session() remet à zéro la session courante. Le dictionnaire personnel est vidé et, par exemple, si vous tentez de l'enregistrer avec pspell_save_wordlist(), rien ne se passera.

Example#1 Exemple avec 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_clear_session ($pspell_link);
pspell_save_wordlist ($pspell_link);  //"Vlad" ne sera pas sauvé
?>