pspell_clear_session(3) php man page | unix.com

Man Page: pspell_clear_session

Operating Environment: php

Section: 3

PSPELL_CLEAR_SESSION(3) 						 1						   PSPELL_CLEAR_SESSION(3)

pspell_clear_session - Clear the current session

SYNOPSIS
bool pspell_clear_session (int $dictionary_link)
DESCRIPTION
pspell_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.
PARAMETERS
o $dictionary_link -
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #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
pspell_save_wordlist(3) - php
pspell_config_create(3) - php
pspell_config_mode(3) - php
pspell_config_personal(3) - php
pspell_config_save_repl(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team