Please wait while we load your page...
 

Announcements

PHP Manual :: The Transliterator class



Spoofchecker::setChecks || Transliterator::__construct || intl || PHP Manual

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

Transliterator provides transliteration of strings.

Transliterator {
/* Constants */
const integer FORWARD = 0 ;
const integer REVERSE = 1 ;
/* Properties */
public $id ;
/* Methods */
__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 ]] )
}
id

Transliterator::FORWARD

Transliterator::REVERSE



Spoofchecker::setChecks || Transliterator::__construct || intl || PHP Manual
Live Chat Not Available