mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
95 lines
3.5 KiB
HTML
95 lines
3.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<title>Determine whether to save a replacement pairs list
|
||
along with the wordlist</title>
|
||
</head>
|
||
<body class="docs"></div>
|
||
<div id="layout">
|
||
<div id="layout-content"><div id="function.pspell-config-save-repl" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">pspell_config_save_repl</h1>
|
||
<p class="verinfo">(PHP 4 >= 4.0.2, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">pspell_config_save_repl</span> — <span class="dc-title">Determine whether to save a replacement pairs list
|
||
along with the wordlist</span></p>
|
||
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.pspell-config-save-repl-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>pspell_config_save_repl</strong></span>
|
||
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$dictionary_link</code></span>
|
||
, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$flag</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
<span class="function"><strong>pspell_config_save_repl()</strong></span> determines whether
|
||
<span class="function"><a href="pspell_save_wordlist.html" class="function">pspell_save_wordlist()</a></span> will save the replacement pairs
|
||
along with the wordlist. Usually there is no need to use this function
|
||
because if <span class="function"><a href="pspell_config_repl.html" class="function">pspell_config_repl()</a></span> is used, the
|
||
replacement pairs will be saved by
|
||
<span class="function"><a href="pspell_save_wordlist.html" class="function">pspell_save_wordlist()</a></span> anyway, and if it is not,
|
||
the replacement pairs will not be saved.
|
||
</p>
|
||
<p class="para">
|
||
<span class="function"><strong>pspell_config_save_repl()</strong></span> should be used on a config
|
||
before calling <span class="function"><a href="pspell_new_config.html" class="function">pspell_new_config()</a></span>.
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 parameters" id="refsect1-function.pspell-config-save-repl-parameters">
|
||
<h3 class="title">参数</h3>
|
||
<p class="para">
|
||
<dl>
|
||
|
||
|
||
<dt>
|
||
<code class="parameter">dictionary_link</code></dt>
|
||
|
||
<dd>
|
||
|
||
<p class="para">
|
||
</p>
|
||
</dd>
|
||
|
||
|
||
|
||
<dt>
|
||
<code class="parameter">flag</code></dt>
|
||
|
||
<dd>
|
||
|
||
<p class="para">
|
||
<strong><code>TRUE</code></strong> if replacement pairs should be saved, <strong><code>FALSE</code></strong> otherwise.
|
||
</p>
|
||
</dd>
|
||
|
||
|
||
</dl>
|
||
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 returnvalues" id="refsect1-function.pspell-config-save-repl-returnvalues">
|
||
<h3 class="title">返回值</h3>
|
||
<p class="para">
|
||
成功时返回 <strong><code>TRUE</code></strong>, 或者在失败时返回 <strong><code>FALSE</code></strong>。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 notes" id="refsect1-function.pspell-config-save-repl-notes">
|
||
<h3 class="title">注释</h3>
|
||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||
<p class="para">
|
||
This function will not work unless you have pspell .11.2 and aspell .32.5
|
||
or later.
|
||
</p>
|
||
</p></blockquote>
|
||
</div>
|
||
|
||
|
||
</div></div></div></body></html> |