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

search for in the

Collator::setStrength> <Collator::getStrength
Last updated: Fri, 14 Nov 2008

view this page in

Collator::setAttribute

collator_set_attribute

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

Collator::setAttribute -- collator_set_attribute照合用の属性を設定する

説明

オブジェクト指向型

bool Collator::setAttribute ( integer $attr , integer $val )

手続き型

bool collator_set_attribute ( Collator $coll , integer $attr , integer $val )

パラメータ

coll

Collator オブジェクト。

attr

属性。

val

属性の値。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 collator_set_attribute() の例

<?php
$coll 
collator_create'en_CA' );
$val  collator_get_attribute$collCollator::NUMERIC_COLLATION );
if (
$val === false) {
    
// エラー処理
} elseif ($val === Collator::ON) {
    
// 何かすてきなこと
}
?>



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

Collator::setStrength> <Collator::getStrength
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites