downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Locale::getDefault> <Locale::filterMatches
[edit] Last updated: Fri, 23 Mar 2012

view this page in

Locale::getAllVariants

locale_get_all_variants

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)

Locale::getAllVariants -- locale_get_all_variantsGirdi yerelindeki tüm lehçeleri döndürür

Açıklama

Nesne yönelimli kullanım

static array Locale::getAllVariants ( string $yerel )

Yordamsal kullanım

array locale_get_all_variants ( string $yerel )

Girdi yerelindeki tüm lehçeleri döndürür.

Değiştirgeler

yerel

Lehçelerin çıkarılacağı yerel.

Dönen Değerler

Varsa girdi yerelindeki tüm lehçeler bir dizi içinde döner, yoksa NULL döner.

Örnekler

Örnek 1 - locale_get_all_variants() örneği

<?php
$arr 
locale_get_all_variants('sl_IT_NEDIS_ROJAZ_1901');
var_export$arr );
?>

Örnek 2 - Nesne yönelimli kullanım örneği

<?php
$arr 
Locale::getAllVariants('sl_IT_NEDIS_ROJAZ_1901');
var_export$arr );
?>

Yukarıdaki örneğin çıktısı:

array (
    0 => 'NEDIS',
    1 => 'ROJAZ',
    2 => '1901',
)

Ayrıca Bakınız



add a note add a note User Contributed Notes Locale::getAllVariants
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites