The Transliterator class

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

Introduction

Transliterator provides transliteration of strings.

Class synopsis

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 ]] )
}

Properties

id

Predefined Constants

Transliterator::FORWARD

Transliterator::REVERSE

Table of Contents

Коментарии

For more documentation see here: http://userguide.icu-project.org/transforms/general
2014-09-03 00:07:31
http://php5.kiev.ua/manual/ru/class.transliterator.html
Автор:
New location of documentation: https://unicode-org.github.io/icu/userguide/transforms/general/
2021-07-13 12:44:20
http://php5.kiev.ua/manual/ru/class.transliterator.html

    Поддержать сайт на родительском проекте КГБ