Home > PHP > Function > Pspell > pspell_config_save_repl()

pspell_config_save_repl()

pspell_config_save_repl - Determine whether to save a replacement pairs list along with the wordlist

Syntax

bool pspell_config_save_repl (int $dictionary_link, bool $flag)

Arguments

  • dictionary_link
  • flag - TRUE if replacement pairs should be saved, FALSE otherwise.

Description

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.

Version

PHP 4.0.2, 5

Return value

Returns TRUE on success or FALSE on failure.