php8.5
Home/ Manual/ enchant / functions/ enchant_broker_set_dict_path

enchant_broker_set_dict_path

PHP function Deprecated as of PHP 8.0.0 Edit on GitHub ✎

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

Set the directory path for a given backend

Function-8-0-0

Description

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

Set the directory path for a given backend.

Parameters

type

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

path

The path of the dictionary directory.

Return Values

Success

Changelog

VersionDescription
8.0.0This function has been deprecated.

Notes

Note

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

See Also

Source: reference/enchant/functions/enchant-broker-set-dict-path.xml · from the official PHP manual (php/doc-en)