Sophie

Sophie

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

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>Set the 'ndots' parameter for searches</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventdnsbase.setoption.html">EventDnsBase::setOption</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.eventhttp.html">EventHttp</a></div>
 <div class="up"><a href="class.eventdnsbase.html">EventDnsBase</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="eventdnsbase.setsearchndots" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">EventDnsBase::setSearchNdots</h1>
  <p class="verinfo">(PECL event &gt;= 1.2.6-beta)</p><p class="refpurpose"><span class="refname">EventDnsBase::setSearchNdots</span> &mdash; <span class="dc-title">Set the &#039;ndots&#039; parameter for searches</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-eventdnsbase.setsearchndots-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>EventDnsBase::setSearchNdots</strong></span>
    ( <span class="methodparam">
    <span class="type">int</span>
     <code class="parameter">$ndots</code>
   </span>
   )</div>

  <p class="para rdfs-comment">
   Set the
   <strong><code>&#039;ndots&#039;</code></strong>
   parameter for searches. Sets the number of dots which, when found in a
   name, causes the first query to be without any search domain.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-eventdnsbase.setsearchndots-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   <dt>

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

     <p class="para">
      The number of dots.
     </p>
    </dd>

   </dt>

  </dl>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-eventdnsbase.setsearchndots-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success. Otherwise <strong><code>FALSE</code></strong>.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="eventdnsbase.setoption.html">EventDnsBase::setOption</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.eventhttp.html">EventHttp</a></div>
 <div class="up"><a href="class.eventdnsbase.html">EventDnsBase</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>