La classe Transliterator

(PHP >= 5.4.0, PECL intl >= 2.0.0)

Introduction

La classe Transliterator fournit la translittération des chaînes de caractères.

Synopsis de la classe

Transliterator {
/* Constantes */
const integer FORWARD = 0 ;
const integer REVERSE = 1 ;
/* Propriétés */
public $id ;
/* Méthodes */
__construct ( void )
public static Transliterator create ( string $id [, int $direction ] )
public static Transliterator createFromRules ( string $rules [, string $direction ] )
public Transliterator createInverse ( void )
public int getErrorCode ( void )
public string getErrorMessage ( void )
public static array listIDs ( void )
public string transliterate ( string $subject [, int $start [, int $end ]] )
}

Propriétés

id

Constantes pré-définies

Transliterator::FORWARD

Transliterator::REVERSE

Sommaire

add a note add a note

User Contributed Notes 1 note

To Top