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
)
手続き型
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
例
例1 collator_set_attribute() の例
<?php
$coll = collator_create( 'en_CA' );
$val = collator_get_attribute( $coll, Collator::NUMERIC_COLLATION );
if ($val === false) {
// エラー処理
} elseif ($val === Collator::ON) {
// 何かすてきなこと
}
?>
Collator::setAttribute
There are no user contributed notes for this page.
