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

search for in the

Collator::getErrorCode> <Collator::create
Last updated: Fri, 13 Nov 2009

view this page in

Collator::getAttribute

collator_get_attribute

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

Collator::getAttribute -- collator_get_attribute照合用の属性の値を取得する

説明

オブジェクト指向型

int Collator::getAttribute ( int $attr )

手続き型

int collator_get_attribute ( Collator $coll , int $attr )

collator の属性の値を取得します。

パラメータ

coll

Collator オブジェクト。

attr

値を取得したい属性。

返り値

属性の値、あるいはエラー時に boolean FALSE を返します。

例1 collator_get_attribute() の例

<?php
$coll 
collator_create'en_CA' );
$val collator_get_attribute$collCollator::NUMERIC_COLLATION );
if( 
$val === false )
{
    
// エラー処理
}
?>

参考



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

Collator::getErrorCode> <Collator::create
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites