<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.spoofchecker.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'spoofchecker.setchecks.php',
    1 => 'Spoofchecker::setChecks',
    2 => 'Установить набор проверок',
  ),
  'up' => 
  array (
    0 => 'class.spoofchecker.php',
    1 => 'Spoofchecker',
  ),
  'prev' => 
  array (
    0 => 'spoofchecker.setallowedlocales.php',
    1 => 'Spoofchecker::setAllowedLocales',
  ),
  'next' => 
  array (
    0 => 'spoofchecker.setrestrictionlevel.php',
    1 => 'Spoofchecker::setRestrictionLevel',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/intl/spoofchecker/setchecks.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="spoofchecker.setchecks" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Spoofchecker::setChecks</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.4.0, PHP 7, PHP 8, PECL intl &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">Spoofchecker::setChecks</span> &mdash; <span class="dc-title">Установить набор проверок</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-spoofchecker.setchecks-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Spoofchecker::setChecks</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$checks</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Устанавливает проверки, которые будут выполняться методом <span class="methodname"><a href="spoofchecker.issuspicious.php" class="methodname">SpoofChecker::isSuspicious()</a></span>.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-spoofchecker.setchecks-parameters">
  <h3 class="title">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">checks</code></dt>
    <dd>
     <p class="para">
      Проверки, которые будут выполняться методом <span class="methodname"><a href="spoofchecker.issuspicious.php" class="methodname">SpoofChecker::isSuspicious()</a></span>.
      Битовая маска, состоящая из констант
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.single-script-confusable">Spoofchecker::SINGLE_SCRIPT_CONFUSABLE</a></code></strong>,
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.mixed-script-confusable">Spoofchecker::MIXED_SCRIPT_CONFUSABLE</a></code></strong>,
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.whole-script-confusable">Spoofchecker::WHOLE_SCRIPT_CONFUSABLE</a></code></strong>,
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.any-case">Spoofchecker::ANY_CASE</a></code></strong>,
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.single-script">Spoofchecker::SINGLE_SCRIPT</a></code></strong>,
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.invisible">Spoofchecker::INVISIBLE</a></code></strong> или
      <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.char-limit">Spoofchecker::CHAR_LIMIT</a></code></strong>.
      По умолчанию все проверки, начиная с ICU 58;
      до этой версии константа <strong><code><a href="class.spoofchecker.php#spoofchecker.constants.single-script">Spoofchecker::SINGLE_SCRIPT</a></code></strong> была исключена.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-spoofchecker.setchecks-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="para">
   Функция не возвращает значения после выполнения.
  </p>
 </div>


</div><?php manual_footer($setup); ?>