enchant_broker_set_dict_path

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

enchant_broker_set_dict_pathSet the directory path for a given backend

说明

enchant_broker_set_dict_path ( resource $broker , int $dict_type , string $value ) : bool

Set the directory path for a given backend.

参数

broker

Broker resource.

dict_type

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

value

The path of the dictionary directory.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

相关文章
php bbcode 函数 parse a string following a given rule setphp cubrid mysql 兼容性函数 return the type of the column corresponding to the given field offsetphp cubrid 函数 set a read lock on the given oidphp cubrid 函数 set a write lock on the given oidphp ibm db2 函数 returns an array indexed by column name representing a row in a result setphp db++ 函数 get/set database virtual current directoryphp enchant 函数 get the directory path for a given backendphp enchant 函数 set the directory path for a given backendphp ftp 函数 returns a list of files in the given directoryphp ldap 函数 set the value of the given optionphp ncurses 函数 set given attributesphp ncurses 函数 set given attributes for soft function key labelsphp socket 函数 queries the remote side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp socket 函数 queries the local side of the given socket which may either result in host/port or in a unix filesystem path dependent on its typephp stream 函数 set read file buffering on the given streamphp svn 函数 determines what kind of item lives at path in a given repository fsrootphp svn 函数 enumerates the directory entries under path; returns a hash of dir names to file typephp svn 函数 return true if the path points to a directory false otherwisephp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance documentphp swish 函数 set current seek pointer to the given position
关注编程学问公众号