(No version information available, might be only in CVS)
Collator::setAttribute -- collator_set_attribute — Set collation attribute
Object oriented style
Procedural style
Collator object.
Attribute.
Attribute value.
Returns TRUE on success or FALSE on failure.
Example #1 collator_set_attribute() example
<?php$coll = collator_create( 'en_CA' );$val = collator_get_attribute( $coll, Collator::NUMERIC_COLLATION );if ($val === false) { // Handle error.} elseif ($val === Collator::ON) { // Do something useful.}?>