php man page for collator_get_attribute

Query: collator_get_attribute

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

COLLATOR_GET_ATTRIBUTE(3)						 1						 COLLATOR_GET_ATTRIBUTE(3)

Collator::getAttribute - Get collation attribute value

	Object oriented style

SYNOPSIS
public int Collator::getAttribute (int $attr)
DESCRIPTION
Procedural style int collator_get_attribute (Collator $coll, int $attr) Get a value of an integer collator attribute.
PARAMETERS
o $coll -Collator object. o $attr - Attribute to get value for.
RETURN VALUES
Attribute value, or boolean FALSE on error.
EXAMPLES
Example #1 collator_get_attribute(3) example <?php $coll = collator_create( 'en_CA' ); $val = collator_get_attribute( $coll, Collator::NUMERIC_COLLATION ); if( $val === false ) { // Handle error. } ?>
SEE ALSO
Collator constants, collator_set_attribute(3), collator_get_strength(3). PHP Documentation Group COLLATOR_GET_ATTRIBUTE(3)
Related Man Pages
collator(3) - php
collator_asort(3) - php
collator_get_locale(3) - php
collator_get_sort_key(3) - php
numfmt_set_attribute(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team