IntlListFormatter::__construct

(No version information available, might only be in Git)

IntlListFormatter::__construct β€” Creates a new IntlListFormatter instance

ОписаниС

public function IntlListFormatter::__construct(string $locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)

Creates a new IntlListFormatter instance for the given locale.

Бписок ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€ΠΎΠ²

locale
The locale to use for formatting.
type
The list type. One of the IntlListFormatter::TYPE_* constants: IntlListFormatter::TYPE_AND, IntlListFormatter::TYPE_OR, or IntlListFormatter::TYPE_UNITS.
width
The list width. One of the IntlListFormatter::WIDTH_* constants: IntlListFormatter::WIDTH_WIDE, IntlListFormatter::WIDTH_SHORT, or IntlListFormatter::WIDTH_NARROW.

Ошибки

Throws an IntlException if the formatter cannot be created (e.g. invalid locale or ICU version is below 67).

Бписок измСнСний

ВСрсия ОписаниС
8.5.0 The class was added.

Π‘ΠΌΠΎΡ‚Ρ€ΠΈΡ‚Π΅ Ρ‚Π°ΠΊΠΆΠ΅

οΌ‹Π”ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ

ΠŸΡ€ΠΈΠΌΠ΅Ρ‡Π°Π½ΠΈΡ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Π΅ΠΉ

ΠŸΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΠΈ Π΅Ρ‰Ρ‘ Π½Π΅ добавляли примСчания для страницы