Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
Collator::getAttribute
collator_get_attribute
(No version information available, might be only in CVS)
collator_get_attribute — Get collation attribute value
Описание
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.
Список параметров
- coll
-
Collator object.
- attr
-
Attribute to get value for.
Возвращаемые значения
Attribute value, or boolean FALSE on error.
Примеры
Пример #1 collator_get_attribute() example
<?php
$coll = collator_create( 'en_CA' );
$val = collator_get_attribute( $coll, Collator::NUMERIC_COLLATION );
if( $val === false )
{
// Handle error.
}
?>
Смотрите также