pspell_add_to_session

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

pspell_add_to_sessionFügt der Wortliste der aktuellen Sitzung ein Wort hinzu

Beschreibung

pspell_add_to_session(PSpell\Dictionary $dictionary, string $word): bool

pspell_add_to_session() fügt der Wortliste, die zur aktuellen Sitzung gehört, ein Wort hinzu. Diese Funktion ist der Funktion pspell_add_to_personal() sehr ähnlich.

Parameter-Liste

dictionary

Eine PSpell\Dictionary-Instanz.

word

Das hinzugefügte Wort

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Changelog

Version Beschreibung
8.1.0 Der Parameter dictionary erwartet nun eine PSpell\Dictionary-Instanz; vorher wurde eine Ressource erwartet.
add a note add a note

User Contributed Notes 1 note

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