Home > PHP > Function > Pspell > pspell_config_personal()

pspell_config_personal()

pspell_config_personal - Set a file that contains personal wordlist

Syntax

bool pspell_config_personal (int $dictionary_link, string $file)

Arguments

  • dictionary_link
  • file - The personal wordlist. If the file does not exist, it will be created. The file should be writable by whoever PHP runs as (e.g. nobody).

Description

Set a file that contains personal wordlist. The personal wordlist will be loaded and used in addition to the standard one after you call pspell_new_config(). The file is also the file where pspell_save_wordlist() will save personal wordlist to.

Version

PHP 4.0.2, 5

Return value

Returns TRUE on success or FALSE on failure.