array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'eventdnsbase.setsearchndots.php', 1 => 'EventDnsBase::setSearchNdots', 2 => 'Set the \'ndots\' parameter for searches', ), 'up' => array ( 0 => 'class.eventdnsbase.php', 1 => 'EventDnsBase', ), 'prev' => array ( 0 => 'eventdnsbase.setoption.php', 1 => 'EventDnsBase::setOption', ), 'next' => array ( 0 => 'class.eventhttp.php', 1 => 'EventHttp', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventdnsbase/setsearchndots.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

EventDnsBase::setSearchNdots

(PECL event >= 1.2.6-beta)

EventDnsBase::setSearchNdotsSet the 'ndots' parameter for searches

Açıklama

public EventDnsBase::setSearchNdots( int $ndots ): bool

Set the 'ndots' parameter for searches. Sets the number of dots which, when found in a name, causes the first query to be without any search domain.

Bağımsız Değişkenler

ndots

The number of dots.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.