pspell_add_to_session()
(PHP 4 >= 4.0.2, PHP 5, PHP 7)
Add the word to the wordlist in the current session
说明
pspell_add_to_session(int $dictionary_link,string $word): bool
pspell_add_to_session() adds a word to the wordlist associated with the current session. It is very similar to pspell_add_to_personal()
参数
- $dictionary_link
- $word
The added word.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
This function does not accept hyphenated words, which is kind of annoying.