enchant_broker_get_dict_path
(PHP 5 >= 5.3.1, PHP 7, PHP 8, PECL enchant >= 1.0.1)
enchant_broker_get_dict_path — Get the directory path for a given backend
警告
本函式已自 PHP 8.0.0 起被廢棄。強烈建議不要依賴本函式。
說明
Get the directory path for a given backend.
參數
-
broker
-
An Enchant broker returned by enchant_broker_init().
-
type
-
The type of the dictionaries, i.e.
ENCHANT_MYSPELL
orENCHANT_ISPELL
.
返回值
Returns the path of the dictionary directory on
success 或者在失敗時返回 false
.
更新日誌
版本 | 說明 |
---|---|
8.0.0 |
broker expects an EnchantBroker instance now;
previoulsy, a 資源(resource) was expected.
|
註釋
注意:
This function is only available if the extension has been compiled with Enchant v1.