| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ResourceBundle::getLocalesresourcebundle_locales(PHP >= 5.3.2, PECL intl >= 2.0.0) ResourceBundle::getLocales -- resourcebundle_locales — サポートするロケールを取得する 説明オブジェクト指向型
public
array
ResourceBundle::getLocales
( string
$bundlename
)手続き型
array
resourcebundle_locales
( string
$bundlename
)ResourceBundle 名を指定して、サポートするロケールを取得します。 パラメータ
返り値このバンドルがサポートするロケールの一覧を返します。 例例1 resourcebundle_locales() の例
<?php 上の例の出力は、 たとえば以下のようになります。 es root 例2 オブジェクト指向の例
<?php 上の例の出力は、 たとえば以下のようになります。 es root |
![]() |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ResourceBundle::getLocales - サポートするロケールを取得する」をGoogle検索
|