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

search for in the

 
Last updated: Fri, 29 Aug 2008

view this page in

Collator::create

collator_create

(No version information available, might be only in CVS)

Collator::create -- collator_createcollator を作成する

説明

オブジェクト指向型

static Collator Collator::create ( string $locale )

手続き型

Collator collator_create ( string $locale )

すでに指定しているオプションを用いて文字列を比較します。

パラメータ

locale

照合規則を使用するロケール。特殊な場合として、 null を渡した場合はデフォルトのロケールの照合規則を使用します。 また、空文字列 ("") や "root" を渡した場合は UCA の規則を使用します。

返り値

新しい Collator オブジェクトのインスタンス、 あるいはエラー時に NULL を返します。

例1 collator_create() の例

<?php
$coll 
collator_create'en_US' );

if( !isset( 
$coll ) ) {
    
printf"Collator creation failed: %s\n"intl_get_error_message() );
    exit( 
);
}
?>



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

 
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites