(No version information available, might only be in Git)
IntlListFormatter::__construct — Crée une nouvelle instance de IntlListFormatter
$locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)Crée une nouvelle instance de IntlListFormatter pour les paramètres régionaux fournis.
localetypeIntlListFormatter::TYPE_* :
IntlListFormatter::TYPE_AND,
IntlListFormatter::TYPE_OR, ou
IntlListFormatter::TYPE_UNITS.
widthIntlListFormatter::WIDTH_* :
IntlListFormatter::WIDTH_WIDE,
IntlListFormatter::WIDTH_SHORT, ou
IntlListFormatter::WIDTH_NARROW.
Lance une IntlException si le formateur ne peut pas être créé (par exemple, des paramètres régionaux invalides ou une version d'ICU inférieure à 67).
| Version | Description |
|---|---|
| 8.5.0 | La classe a été ajoutée. |