Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

The Transliterator class

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

Introducere

Transliterator provides transliteration of strings.

Sinopsisul clasei

Transliterator {
/* Constante */
const integer FORWARD = 0 ;
const integer REVERSE = 1 ;
/* Proprietăți */
public $id ;
/* Metode */
__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 ]] )
}

Proprietăți

id

Constante predefinite

Transliterator::FORWARD

Transliterator::REVERSE

Cuprins

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top