PHP 8.3.4 Released!

enchant_broker_set_dict_path

(PHP 5 >= 5.3.1, PHP 7, PHP 8, PECL enchant >= 1.0.1)

enchant_broker_set_dict_pathSet the directory path for a given backend

Warnung

Diese Funktion ist seit PHP 8.0.0 als DEPRECATED (veraltet) markiert. Von der Verwendung dieser Funktion wird dringend abgeraten.

Beschreibung

enchant_broker_set_dict_path(EnchantBroker $broker, int $type, string $path): bool

Set the directory path for a given backend.

Parameter-Liste

broker

Ein Enchant-Broker, der von enchant_broker_init() zurückgegeben wird.

type

The type of the dictionaries, i.e. ENCHANT_MYSPELL or ENCHANT_ISPELL.

path

The path of the dictionary directory.

Rückgabewerte

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

Changelog

Version Beschreibung
8.0.0 Der Parameter broker erwartet nun eine EnchantBroker-Instanz; vorher wurde eine Ressource erwartet.

Anmerkungen

Hinweis:

This function is only available if the extension has been compiled with Enchant v1.

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top