<!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>Opens persistent connection to the server</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sphinxclient.getlastwarning.html">SphinxClient::getLastWarning</a></div> <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.query.html">SphinxClient::query</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.open" class="refentry"> <div class="refnamediv"> <h1 class="refname">SphinxClient::open</h1> <p class="verinfo">(PECL sphinx >= 1.0.3)</p><p class="refpurpose"><span class="refname">SphinxClient::open</span> — <span class="dc-title">Opens persistent connection to the server</span></p> </div> <div class="refsect1 description" id="refsect1-sphinxclient.open-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>SphinxClient::open</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Opens persistent connection to the server. </p> </div> <div class="refsect1 parameters" id="refsect1-sphinxclient.open-parameters"> <h3 class="title">Parameters</h3> <p class="para">This function has no parameters.</p> </div> <div class="refsect1 changelog" id="refsect1-sphinxclient.open-changelog"> <h3 class="title">Changelog</h3> <p class="para"> <table class="doctable informaltable"> <thead> <tr> <th>PECL/sphinx Version</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>1.0.3</td> <td> Added SphinxClient::open(), available only if compiled with libsphinxclient >= 0.9.9. </td> </tr> </tbody> </table> </p> </div> <div class="refsect1 returnvalues" id="refsect1-sphinxclient.open-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 seealso" id="refsect1-sphinxclient.open-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="sphinxclient.close.html" class="xref">SphinxClient::close</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.getlastwarning.html">SphinxClient::getLastWarning</a></div> <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.query.html">SphinxClient::query</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>