| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
IntlCalendar::getKeywordValuesForLocale(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) IntlCalendar::getKeywordValuesForLocale — Get set of locale keyword values 説明オブジェクト指向型
public static Iterator IntlCalendar::getKeywordValuesForLocale
( string
$key
, string $locale
, boolean $commonlyUsed
)手続き型
Iterator intlcal_get_keyword_values_for_locale
( string
$key
, string $locale
, boolean $commonlyUsed
)For a given locale key, get the set of values for that key that would result in a different behavior. For now, only the 'calendar' keyword is supported. This function requires ICU 4.2 or later. パラメータ
返り値
An iterator that yields strings with the locale keyword
values失敗した場合に 例
例1 IntlCalendar::getKeyworkValuesForLocale()
<?php上の例の出力は以下となります。
Array
(
[0] => persian
[1] => gregorian
[2] => islamic
[3] => islamic-civil
)
Array
(
[0] => persian
[1] => gregorian
[2] => islamic
[3] => islamic-civil
[4] => japanese
[5] => buddhist
[6] => roc
[7] => hebrew
[8] => chinese
[9] => indian
[10] => coptic
[11] => ethiopic
[12] => ethiopic-amete-alem
)
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「IntlCalendar::getKeywordValuesForLocale - Get set of locale keyword values」をGoogle検索
|