|
IntlCalendar::getKeywordValuesForLocaleGet set of locale keyword values DescriptionObject-oriented style
public static IntlIteratorfalse IntlCalendar::getKeywordValuesForLocale(string
$keyword , string $locale , bool $onlyCommon )Procedural style IntlIteratorfalse intlcal_get_keyword_values_for_locale(string
$keyword , string $locale , bool $onlyCommon )
For a given locale key, get the set of values for that key that would result
in a different behavior. For now, only the This function requires ICU 4.2 or later. Parameters
Return Values
An iterator that yields strings with the locale keyword
values or Examples
Example #1 IntlCalendar::getKeyworkValuesForLocale
The above example will output: 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 ) |