<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.intllistformatter.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'intllistformatter.construct.php',
    1 => 'IntlListFormatter::__construct',
    2 => '新しい IntlListFormatter のインスタンスを作成する',
  ),
  'up' => 
  array (
    0 => 'class.intllistformatter.php',
    1 => 'IntlListFormatter',
  ),
  'prev' => 
  array (
    0 => 'class.intllistformatter.php',
    1 => 'IntlListFormatter',
  ),
  'next' => 
  array (
    0 => 'intllistformatter.format.php',
    1 => 'IntlListFormatter::format',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/intl/intllistformatter/construct.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intllistformatter.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlListFormatter::__construct</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">IntlListFormatter::__construct</span> &mdash; <span class="dc-title">新しい IntlListFormatter のインスタンスを作成する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intllistformatter.construct-description">
  <h3 class="title">説明</h3>
  <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">function</span> <span class="methodname"><strong>IntlListFormatter::__construct</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$locale</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$type</code><span class="initializer"> = <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.type-and">IntlListFormatter::TYPE_AND</a></code></strong></span></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$width</code><span class="initializer"> = <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.width-wide">IntlListFormatter::WIDTH_WIDE</a></code></strong></span></span>)</div>

  <p class="simpara">
   指定したロケール用の新しい <span class="classname"><a href="class.intllistformatter.php" class="classname">IntlListFormatter</a></span> のインスタンスを作成します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intllistformatter.construct-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">locale</code></dt>
    <dd>
     <span class="simpara">
      フォーマットに使用するロケール。
     </span>
    </dd>
   
   
    <dt><code class="parameter">type</code></dt>
    <dd>
     <span class="simpara">
      リストの種類。<strong><code><a href="class.intllistformatter.php#intllistformatter.constants.type-and">IntlListFormatter::TYPE_<span class="replaceable">*</span></a></code></strong> 定数
      (<strong><code><a href="class.intllistformatter.php#intllistformatter.constants.type-and">IntlListFormatter::TYPE_AND</a></code></strong>,
      <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.type-or">IntlListFormatter::TYPE_OR</a></code></strong>,
      <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.type-units">IntlListFormatter::TYPE_UNITS</a></code></strong>) のいずれかです。
     </span>
    </dd>
   
   
    <dt><code class="parameter">width</code></dt>
    <dd>
     <span class="simpara">
      リストの幅。<strong><code><a href="class.intllistformatter.php#intllistformatter.constants.width-wide">IntlListFormatter::WIDTH_<span class="replaceable">*</span></a></code></strong> 定数
      (<strong><code><a href="class.intllistformatter.php#intllistformatter.constants.width-wide">IntlListFormatter::WIDTH_WIDE</a></code></strong>,
      <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.width-short">IntlListFormatter::WIDTH_SHORT</a></code></strong>,
      <strong><code><a href="class.intllistformatter.php#intllistformatter.constants.width-narrow">IntlListFormatter::WIDTH_NARROW</a></code></strong>) のいずれかです。
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 errors" id="refsect1-intllistformatter.construct-errors">
  <h3 class="title">エラー / 例外</h3>
  <p class="simpara">
   フォーマッタを作成できない場合 (ロケールが不正な場合や、ICU のバージョンが 67 未満の場合など)、
   <span class="exceptionname"><a href="class.intlexception.php" class="exceptionname">IntlException</a></span> をスローします。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-intllistformatter.construct-changelog">
  <h3 class="title">変更履歴</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>バージョン</th>
      <th>説明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.5.0</td>
      <td>
       このクラスが追加されました。
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-intllistformatter.construct-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="intllistformatter.format.php" class="methodname" rel="rdfs-seeAlso">IntlListFormatter::format()</a> - 項目のリストをフォーマットする</span></li>
  </ul>
 </div>


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