The Transliterator class

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

Introducere

Transliterator provides transliteration of strings.

Sinopsisul clasei

Transliterator {
/* Constante */
const int FORWARD = 0 ;
const int REVERSE = 1 ;
/* Proprietăți */
public $id ;
/* Metode */
private __construct ( )
public static create ( string $id , int $direction = ? ) : Transliterator
public static createFromRules ( string $rules , string $direction = ? ) : Transliterator
public getErrorCode ( ) : int
public getErrorMessage ( ) : string
public static listIDs ( ) : array|false
public transliterate ( string $subject , int $start = ? , int $end = ? ) : string|false
}

Proprietăți

id

Constante predefinite

Transliterator::FORWARD

Transliterator::REVERSE

Cuprins

add a note add a note

User Contributed Notes 2 notes

To Top