|
IntlListFormatter クラスはじめにロケール固有のルールに従って、項目のリストのフォーマット、順序付け、句読点の付与を行います。 ICU 67 以降が必要です。 クラス概要
IntlListFormatter
/* 定数 */
public
const
int
IntlListFormatter::TYPE_AND;
public
const
int
IntlListFormatter::TYPE_OR;
public
const
int
IntlListFormatter::TYPE_UNITS;
public
const
int
IntlListFormatter::WIDTH_WIDE;
public
const
int
IntlListFormatter::WIDTH_SHORT;
public
const
int
IntlListFormatter::WIDTH_NARROW;
/* メソッド */
public __construct(string
$locale, int $type = IntlListFormatter::TYPE_AND, int $width = IntlListFormatter::WIDTH_WIDE)public stringfalse format(array
$list)定義済み定数
変更履歴
|