PHP Australia Conference 2015

The Transliterator class

Introduction

Transliterator provides transliteration of strings.

Class synopsis

Transliterator {
/* Constants */
const integer Transliterator::FORWARD = 0 ;
const integer Transliterator::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 void transliterate ( string $subject [, string $start [, string $end ]] )
}

Properties

id

Predefined Constants

Transliterator Node Types

Transliterator::FORWARD

Transliterator::REVERSE

Table of Contents

add a note add a note

User Contributed Notes 1 note

To Top