enchant_dict_remove

(PHP 8 >= 8.5.0)

enchant_dict_remove — 単語を除外リストに追加し、個人辞書から削除する

説明

function enchant_dict_remove(EnchantDictionary $dictionary, string $word): void

指定した辞書の除外リストに単語を追加します。 追加した単語は、正しいスペルと判定されなくなります。 その単語が個人辞書に追加されている場合は、 個人辞書からも削除されます。

パラメータ

dictionary

enchant_broker_request_dict() または enchant_broker_request_pwl_dict() によって返される Enchant 辞書。

word

除外する単語。

戻り値

値を返しません。

参考

+add a note

User Contributed Notes

There are no user contributed notes for this page.