array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.pspell-config-save-repl.php', 1 => 'pspell_config_save_repl', 2 => 'Determine whether to save a replacement pairs list along with the wordlist', ), 'up' => array ( 0 => 'ref.pspell.php', 1 => 'Pspell Функції', ), 'prev' => array ( 0 => 'function.pspell-config-runtogether.php', 1 => 'pspell_config_runtogether', ), 'next' => array ( 0 => 'function.pspell-new.php', 1 => 'pspell_new', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pspell/functions/pspell-config-save-repl.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

pspell_config_save_repl

(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)

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

Опис

pspell_config_save_repl(PSpell\Config $config, bool $save): bool

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().

Параметри

config

Примірник PSpell\Config.

save

true if replacement pairs should be saved, false otherwise.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

Журнал змін

Версія Опис
8.1.0 Тепер параметр config має бути примірником PSpell\Config; раніше очікувався resource.

Примітки

Зауваження:

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