downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<Collator::createCollator::getErrorCode>
Last updated: Thu, 26 Jun 2008

Collator::getAttribute

collator_get_attribute

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

collator_get_attribute — Get collation attribute value

Description

Object oriented style

integer Collator::getAttribute ( integer $attr )

Procedural style

integer collator_get_attribute ( Collator $coll , integer $attr )

Get a value of an integer collator attribute.

Parameters

coll

Collator object.

attr

Attribute to get value for.

Return Values

Attribute value, or boolean FALSE on error.

Examples

Example #1 collator_get_attribute() example

<?php
$coll
= collator_create( 'en_CA' );
$val = collator_get_attribute( $coll, Collator::NUMERIC_COLLATION );
if(
$val === false )
{
  
// Handle error.
}
?>



add a noteadd a note User Contributed Notes
Get collation attribute value
There are no user contributed notes for this page.




<Collator::createCollator::getErrorCode>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs