September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool pspell_add_to_session(int dictID, string word)
Adds a word to the active wordlist for a session.
Returns:
TRUE if successful; FALSE otherwise
Description:
This function adds a new word to the session wordlist associated with the dictionary ID given by dictID . If used on a dictionary link opened with pspell_new(), words added in this fashion cannot be saved to disk. To do so you will need to either open or create a personal wordlist; for instance, by using pspell_new_personal().
Example:
$dictid = pspell_new('en');
pspell_add_to_session($dictid, 'Tralfamador');
|
Read now
Unlock full access