Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 5551

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pspell-config-runtogether.html">pspell_config_runtogether</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pspell-new-config.html">pspell_new_config</a></div>
 <div class="up"><a href="ref.pspell.html">Pspell Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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 &gt;= 4.0.2, PHP 5)</p><p class="refpurpose"><span class="refname">pspell_config_save_repl</span> &mdash; <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">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <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>
   )</div>

  <p class="para rdfs-comment">
    <span class="function"><strong>pspell_config_save_repl()</strong></span> determines whether
    <span class="function"><a href="function.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="function.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="function.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="function.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">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">dictionary_link</code></em></span>
     <dd>

      <p class="para">
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">flag</code></em></span>
     <dd>

      <p class="para">
       <strong><code>TRUE</code></strong> if replacement pairs should be saved, <strong><code>FALSE</code></strong> otherwise.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.pspell-config-save-repl-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.pspell-config-save-repl-notes">
  <h3 class="title">Notes</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><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.pspell-config-runtogether.html">pspell_config_runtogether</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.pspell-new-config.html">pspell_new_config</a></div>
 <div class="up"><a href="ref.pspell.html">Pspell Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>