<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'intllistformatter.construct.php',
    1 => 'IntlListFormatter::__construct',
    2 => 'Cr&eacute;e une nouvelle instance de 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' => 'fr',
    '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">Crée une nouvelle instance de IntlListFormatter</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intllistformatter.construct-description">
  <h3 class="title">Description</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">
   Crée une nouvelle instance de <span class="classname"><a href="class.intllistformatter.php" class="classname">IntlListFormatter</a></span> pour les
   paramètres régionaux fournis.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intllistformatter.construct-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">locale</code></dt>
    <dd>
     <span class="simpara">
      Les paramètres régionaux à utiliser pour le formatage.
     </span>
    </dd>
   
   
    <dt><code class="parameter">type</code></dt>
    <dd>
     <span class="simpara">
      Le type de liste. Une des constantes <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>, ou
      <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">
      La largeur de la liste. Une des constantes <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>, ou
      <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">Erreurs / Exceptions</h3>
  <p class="simpara">
   Lance une <span class="exceptionname"><a href="class.intlexception.php" class="exceptionname">IntlException</a></span> si le formateur ne peut pas
   être créé (par exemple, des paramètres régionaux invalides ou une version d&#039;ICU
   inférieure à 67).
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-intllistformatter.construct-changelog">
  <h3 class="title">Historique</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.5.0</td>
      <td>
       La classe a été ajoutée.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-intllistformatter.construct-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="intllistformatter.format.php" class="methodname" rel="rdfs-seeAlso">IntlListFormatter::format()</a> - Formate une liste d'&eacute;l&eacute;ments</span></li>
  </ul>
 </div>


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