<!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>Add the word to the wordlist in the current session</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.pspell-add-to-personal.html">pspell_add_to_personal</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.pspell-check.html">pspell_check</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-add-to-session" class="refentry"> <div class="refnamediv"> <h1 class="refname">pspell_add_to_session</h1> <p class="verinfo">(PHP 4 >= 4.0.2, PHP 5)</p><p class="refpurpose"><span class="refname">pspell_add_to_session</span> — <span class="dc-title">Add the word to the wordlist in the current session</span></p> </div> <div class="refsect1 description" id="refsect1-function.pspell-add-to-session-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>pspell_add_to_session</strong></span> ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$dictionary_link</code></span> , <span class="methodparam"><span class="type">string</span> <code class="parameter">$word</code></span> )</div> <p class="simpara"> <span class="function"><strong>pspell_add_to_session()</strong></span> adds a word to the wordlist associated with the current session. It is very similar to <span class="function"><a href="function.pspell-add-to-personal.html" class="function">pspell_add_to_personal()</a></span> </p> </div> <div class="refsect1 parameters" id="refsect1-function.pspell-add-to-session-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">word</code></em></span> <dd> <p class="para"> The added word. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.pspell-add-to-session-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><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.pspell-add-to-personal.html">pspell_add_to_personal</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.pspell-check.html">pspell_check</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>