PHP Doku:: Get current collation strength - collator.getstrength.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Unterstützung menschlicher Sprache und Zeichenkodierung ≥ Internationalization Functions ≥ The Collator class ≥ Collator::getStrength -- collator_get_strength

Ein Service von Reinhard Neidl - Webprogrammierung.

The Collator class

<<Collator::getSortKey -- collator_get_sort_key

Collator::setAttribute -- collator_set_attribute>>

Collator::getStrength

collator_get_strength

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)

Collator::getStrength -- collator_get_strength — Get current collation strength

Beschreibung

Object oriented style

int Collator::getStrength ( void )

Procedural style

int collator_get_strength ( Collator $coll )

Parameter-Liste

coll

Collator object.

Rückgabewerte

Returns current collation strength, or boolean FALSE on error.

Beispiele

Beispiel #1 collator_get_strength() example

<?php
$coll     
= collator_create( 'en_US' );
$strength = collator_get_strength( $coll );
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)