pspell_add_to_session

(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)

pspell_add_to_sessionAdd the word to the wordlist in the current session

Açıklama

pspell_add_to_session(PSpell\Dictionary $dictionary, 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()

Bağımsız Değişkenler

dictionary

PSpell\Dictionary örneği.

word

The added word.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.

Sürüm Bilgisi

Sürüm: Açıklama
8.1.0 The dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.
add a note add a note

User Contributed Notes 1 note

up
-2
admin at codefisher dot org
17 years ago
This function does not accept hyphenated words, which is kind of annoying.
To Top