CakeFest 2024: The Official CakePHP Conference

enchant_broker_get_dict_path

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

enchant_broker_get_dict_pathGet 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_get_dict_path(EnchantBroker $broker, int $type): string|false

Get 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.

Rückgabewerte

Returns the path of the dictionary directory on successBei 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