Query: pspell_clear_session
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PSPELL_CLEAR_SESSION(3) 1 PSPELL_CLEAR_SESSION(3) pspell_clear_session - Clear the current sessionSYNOPSISbool pspell_clear_session (int $dictionary_link)DESCRIPTIONpspell_clear_session(3) clears the current session. The current wordlist becomes blank, and, for example, if you try to save it with pspell_save_wordlist(3), nothing happens.PARAMETERSo $dictionary_link -RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 pspell_add_to_personal(3) Example <?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" will not be saved ?> PHP Documentation Group PSPELL_CLEAR_SESSION(3)
Related Man Pages |
---|
session_destroy(3) - php |
pspell_save_wordlist(3) - php |
pspell_store_replacement(3) - php |
pspell_add_to_personal(3) - php |
pspell_new_config(3) - php |