pspell_config_save_repl Determine whether to save a replacement pairs list along with the wordlist php函数


(PHP 4 >= 4.0.2, PHP 5)

pspell_config_save_replDetermine whether to save a replacement pairs list along with the wordlist


bool pspell_config_save_repl ( int $dictionary_link , bool $flag )

pspell_config_save_repl() determines whether pspell_save_wordlist() will save the replacement pairs along with the wordlist. Usually there is no need to use this function because if pspell_config_repl() is used, the replacement pairs will be saved by pspell_save_wordlist() anyway, and if it is not, the replacement pairs will not be saved.

pspell_config_save_repl() should be used on a config before calling pspell_new_config().




TRUE if replacement pairs should be saved, FALSE otherwise.


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



This function will not work unless you have pspell .11.2 and aspell .32.5 or later.

pspell_new Load a new dictionary
pspell_new_config Load a new dictionary with settings based on a given config
pspell_new_personal Load a new dictionary with personal wordlist
pspell_save_wordlist Save the personal wordlist to a file
pspell_store_replacement Store a replacement pair for a word
pspell_suggest Suggest spellings of a word
putenv Sets the value of an environment variable
quoted_printable_decode Convert a quoted-printable string to an 8 bit string
quoted_printable_encode Convert a 8 bit string to a quoted-printable string
quotemeta Quote meta characters
rad2deg 将弧度数转换为相应的角度数
rand 产生一个随机整数
range 建立一个包含指定范围单元的数组
rawurldecode 对已编码的 URL 字符串进行解码

Copyright © 2016 phpStudy |