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
numfmt_get_text_attribute(3) - php
collator_get_sort_key(3) - php
collator_set_strength(3) - php
numfmt_get_attribute(3) - php
pdo.getattribute(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!