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 styleSYNOPSISpublic int Collator::getAttribute (int $attr)DESCRIPTIONProcedural style int collator_get_attribute (Collator $coll, int $attr) Get a value of an integer collator attribute.PARAMETERSo $coll -Collator object. o $attr - Attribute to get value for.RETURN VALUESAttribute value, or boolean FALSE on error.EXAMPLESExample #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 ALSOCollator 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 |