« enchant_dict_quick_check
enchant_dict_remove_from_session »

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

除外する単語。

戻り値

値を返しません。

参考

関連キーワード:
単語   enchant   dict   辞書   除外   個人   remove   session   Enchant   dictionary   broker   request   セッション   quick   check   EnchantDictionary   スペル   判定   参考   added
関連する関数・ページ:
function.enchant-dict-remove-from-session   function.enchant-dict-add   function.enchant-dict-is-added   function.enchant-dict-add-to-session   ref.enchant   function.enchant-dict-check