Sophie

Sophie

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

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>Get the last error message</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sphinxclient.escapestring.html">SphinxClient::escapeString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.getlastwarning.html">SphinxClient::getLastWarning</a></div>
 <div class="up"><a href="class.sphinxclient.html">SphinxClient</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sphinxclient.getlasterror" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SphinxClient::getLastError</h1>
  <p class="verinfo">(PECL sphinx &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">SphinxClient::getLastError</span> &mdash; <span class="dc-title">Get the last error message</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-sphinxclient.getlasterror-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>SphinxClient::getLastError</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Returns string with the last error message. If there were no errors during
   the previous API call, empty string is returned. This method doesn&#039;t reset
   the error message, so you can safely call it several times.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-sphinxclient.getlasterror-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-sphinxclient.getlasterror-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the last error message or an empty string if there were no errors.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-sphinxclient.getlasterror-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><a href="sphinxclient.getlastwarning.html" class="xref">SphinxClient::getLastWarning</a></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sphinxclient.escapestring.html">SphinxClient::escapeString</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.getlastwarning.html">SphinxClient::getLastWarning</a></div>
 <div class="up"><a href="class.sphinxclient.html">SphinxClient</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>